/* ═══════════════════════════════════════════════════════
   MRI ROYAL INTERNATIONAL — Website Styles
   ═══════════════════════════════════════════════════════
   Design tokens from MRI theme:
   - Fonts : Manrope (body), IBM Plex Sans (headings)
   - Gold  : #F9D548 → #ECB92E gradient
   - Dark  : #0a0a0f base, glassmorphism cards
   - Cards : rgba(255,255,255,.04) + blur(12px)
   ═══════════════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Manrope', sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ── Typography ─────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'IBM Plex Sans', sans-serif;
    color: #fff;
    line-height: 1.2;
}

/* ── Container ──────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section Base ───────────────────────────────── */
.section {
    padding: 100px 0;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: rgba(249, 213, 72, 0.1);
    border: 1px solid rgba(249, 213, 72, 0.25);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #F9D548;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #F9D548, #ECB92E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #888;
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #F9D548, #ECB92E);
    border-radius: 3px;
    margin: 20px auto 0;
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    white-space: nowrap;
}

.nav-logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-logo-text {
    line-height: 1.2;
    white-space: nowrap;
}

.brand-main {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #F9D548, #ECB92E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.3px;
    display: block;
    margin-bottom: 4px;
}

.brand-sub {
    font-size: 0.5rem;
    font-weight: 600;
    color: #aaa;
    letter-spacing: 0.2px;
    display: block;
}

@media (max-width: 500px) {
    .brand-main {
        font-size: 0.9rem;
    }

    .brand-sub {
        font-size: 0.45rem;
    }

    .nav-logo-icon {
        width: 32px;
        height: 32px;
    }
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: #aaa;
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #F9D548, #ECB92E);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #F9D548;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #F9D548, #ECB92E) !important;
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(249, 213, 72, 0.35) !important;
    color: #000 !important;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-hamburger span {
    width: 26px;
    height: 2px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
/* Mobile Nav & Intermediate Screens */
@media (max-width: 1100px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 24px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Animated background */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 213, 72, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -150px;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 185, 46, 0.05) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

/* Grid pattern overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 213, 72, 0.08);
    border: 1px solid rgba(249, 213, 72, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #F9D548;
    margin-bottom: 28px;
    animation: fadeDown 0.7s ease-out;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #F9D548;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    animation: fadeUp 0.7s ease-out 0.1s both;
}

.hero h1 .gold {
    background: linear-gradient(135deg, #F9D548, #ECB92E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.05rem;
    color: #999;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 600px;
    animation: fadeUp 0.7s ease-out 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.7s ease-out 0.3s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #F9D548, #ECB92E);
    color: #000;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(249, 213, 72, 0.35);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
}

.btn-primary:hover::after {
    animation: shimmer 0.8s ease forwards;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 1px solid rgba(249, 213, 72, 0.35);
    border-radius: 12px;
    background: transparent;
    color: #F9D548;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline:hover {
    background: rgba(249, 213, 72, 0.08);
    border-color: rgba(249, 213, 72, 0.6);
    transform: translateY(-3px);
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    animation: fadeUp 0.7s ease-out 0.4s both;
}

.hero-stat h3 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #F9D548, #ECB92E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat p {
    font-size: 0.82rem;
    color: #777;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        justify-content: center;
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
}

.about-text p {
    margin-bottom: 20px;
    color: #999;
    font-size: 0.95rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.about-highlight {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-highlight:hover {
    border-color: rgba(249, 213, 72, 0.3);
    box-shadow: 0 0 20px rgba(249, 213, 72, 0.06);
}

.about-highlight-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
    display: block;
}

.about-highlight h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-highlight p {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
}

/* About visual / card */
.about-visual {
    position: relative;
}

.about-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 32px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 213, 72, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-card-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-card-item:last-child {
    border-bottom: none;
}

.about-card-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(249, 213, 72, 0.15), rgba(236, 185, 46, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-card-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-card-item p {
    font-size: 0.83rem;
    color: #888;
    margin: 0;
}

@media (max-width: 800px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ═══════════════════════════════════════════════════════
   GLASSMORPHISM CARDS (shared)
   ═══════════════════════════════════════════════════════ */
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.glass-card:hover {
    border-color: rgba(249, 213, 72, 0.35);
    box-shadow: 0 8px 40px rgba(249, 213, 72, 0.1);
    transform: translateY(-6px);
}

/* ═══════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(249, 213, 72, 0.12), rgba(236, 185, 46, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.glass-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.88rem;
    color: #888;
    line-height: 1.65;
}

.service-card .card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: #F9D548;
    font-size: 0.82rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.glass-card:hover .card-arrow {
    gap: 10px;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   TRADING PORTFOLIO SECTION
   ═══════════════════════════════════════════════════════ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    text-align: center;
    padding: 36px 24px;
}

.portfolio-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(249, 213, 72, 0.1), rgba(236, 185, 46, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover .portfolio-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 0 30px rgba(249, 213, 72, 0.15);
}

.portfolio-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-card p {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   INDUSTRIES SECTION
   ═══════════════════════════════════════════════════════ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.industry-card {
    text-align: center;
    padding: 32px 16px;
}

.industry-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
    display: block;
    transition: transform 0.3s ease;
}

.glass-card:hover .industry-icon {
    transform: scale(1.15);
}

.industry-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════════════════
   MARKETS SECTION
   ═══════════════════════════════════════════════════════ */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.market-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
}

.market-flag {
    font-size: 2.4rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.glass-card:hover .market-flag {
    transform: scale(1.15);
}

.market-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.market-info p {
    font-size: 0.82rem;
    color: #888;
}

@media (max-width: 900px) {
    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .markets-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   WHY CHOOSE US SECTION
   ═══════════════════════════════════════════════════════ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
}

.why-check {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F9D548, #ECB92E);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.glass-card:hover .why-check {
    transform: scale(1.1);
}

.why-check svg {
    width: 18px;
    height: 18px;
    stroke: #000;
    stroke-width: 3;
    fill: none;
}

.why-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.why-text p {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 700px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   PARTNERSHIP CTA SECTION
   ═══════════════════════════════════════════════════════ */
.partnership {
    background: linear-gradient(135deg, rgba(249, 213, 72, 0.06), rgba(236, 185, 46, 0.02));
    border-top: 1px solid rgba(249, 213, 72, 0.12);
    border-bottom: 1px solid rgba(249, 213, 72, 0.12);
}

.partnership-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.partnership-content .section-title {
    margin-bottom: 16px;
}

.partnership-content>p {
    color: #999;
    font-size: 1rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.partnership-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.partnership-card {
    text-align: center;
    padding: 28px 20px;
}

.partnership-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.partnership-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.partnership-card p {
    font-size: 0.82rem;
    color: #888;
}

@media (max-width: 600px) {
    .partnership-cards {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Contact Info */
.contact-info-card {
    padding: 36px 32px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(249, 213, 72, 0.12), rgba(236, 185, 46, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 0.85rem;
    color: #888;
}

.contact-info-text a {
    color: #F9D548;
    transition: opacity 0.2s;
}

.contact-info-text a:hover {
    opacity: 0.8;
}

/* Contact Form */
.contact-form-card {
    padding: 36px 32px;
}

.contact-form-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: #f0f0f0;
    font-family: 'Manrope', sans-serif;
    font-size: 0.93rem;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #F9D548;
    box-shadow: 0 0 0 3px rgba(249, 213, 72, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    margin-top: 20px;
}

.form-submit .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px;
}

@media (max-width: 800px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: #888;
    margin-top: 16px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #F9D548;
    margin-bottom: 18px;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 0.88rem;
    color: #888;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: #F9D548;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: #666;
}

.footer-bottom a {
    color: #F9D548;
}

@media (max-width: 800px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    to {
        transform: translateX(100%);
    }
}

@keyframes heroGlow {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.2) translate(30px, -20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Scroll-triggered fade-in */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-children .animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children .animate-on-scroll:nth-child(3) {
    transition-delay: 0.15s;
}

.stagger-children .animate-on-scroll:nth-child(4) {
    transition-delay: 0.2s;
}

.stagger-children .animate-on-scroll:nth-child(5) {
    transition-delay: 0.25s;
}

.stagger-children .animate-on-scroll:nth-child(6) {
    transition-delay: 0.3s;
}

.stagger-children .animate-on-scroll:nth-child(7) {
    transition-delay: 0.35s;
}

.stagger-children .animate-on-scroll:nth-child(8) {
    transition-delay: 0.4s;
}

.stagger-children .animate-on-scroll:nth-child(9) {
    transition-delay: 0.45s;
}

.stagger-children .animate-on-scroll:nth-child(10) {
    transition-delay: 0.5s;
}

/* ── Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
    background: rgba(249, 213, 72, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(249, 213, 72, 0.35);
}

/* ═══════════════════════════════════════════════════════
   INNER PAGE HERO BANNER
   ═══════════════════════════════════════════════════════ */
.page-hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 213, 72, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 185, 46, 0.04) 0%, transparent 70%);
    bottom: -80px;
    left: -80px;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #F9D548, #ECB92E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    animation: fadeDown 0.7s ease-out;
}

.page-hero p {
    font-size: 1rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeUp 0.7s ease-out 0.1s both;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    animation: fadeDown 0.6s ease-out;
}

.breadcrumb a {
    color: #777;
    transition: color 0.25s;
}

.breadcrumb a:hover {
    color: #F9D548;
}

.breadcrumb span {
    color: #555;
}

.breadcrumb .current {
    color: #F9D548;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   DETAIL SECTION (inner pages expanded content)
   ═══════════════════════════════════════════════════════ */
.detail-card {
    padding: 36px 32px;
    margin-bottom: 24px;
}

.detail-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-card h3 .detail-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F9D548, #ECB92E);
    color: #000;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.detail-card p {
    color: #999;
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 12px;
}

.detail-card p:last-child {
    margin-bottom: 0;
}

.detail-card ul {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.detail-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.6;
}

.detail-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F9D548, #ECB92E);
}

/* Management Profile Cards */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.profile-card {
    text-align: center;
    padding: 40px 28px;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(249, 213, 72, 0.15), rgba(236, 185, 46, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 16px;
    border: 2px solid rgba(249, 213, 72, 0.25);
}

.profile-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-card .profile-role {
    font-size: 0.82rem;
    color: #F9D548;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.profile-card p {
    font-size: 0.88rem;
    color: #888;
}

/* Two-column detail layout */
.detail-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 700px) {
    .detail-two-col {
        grid-template-columns: 1fr;
    }
}

/* CTA Banner */
.page-cta-banner {
    text-align: center;
    padding: 60px 24px;
    background: linear-gradient(135deg, rgba(249, 213, 72, 0.06), rgba(236, 185, 46, 0.02));
    border: 1px solid rgba(249, 213, 72, 0.12);
    border-radius: 20px;
    margin-top: 40px;
}

.page-cta-banner h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-cta-banner p {
    color: #888;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Service detail expanded */
.service-detail-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
}

.service-detail-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(249, 213, 72, 0.12), rgba(236, 185, 46, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.service-detail-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-detail-info p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .service-detail-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* ═══════════════════════════════════════════════════════
   PREMIUM SERVICE PAGE (Redesigned)
   ═══════════════════════════════════════════════════════ */
.svc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.svc-card {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(249, 213, 72, 0), rgba(249, 213, 72, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.5s ease;
    pointer-events: none;
}

.svc-card:hover::before {
    background: linear-gradient(135deg, rgba(249, 213, 72, 0.4), rgba(236, 185, 46, 0.15));
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(249, 213, 72, 0.08);
    border-color: rgba(249, 213, 72, 0.2);
}

.svc-card-inner {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0;
    min-height: 200px;
}

.svc-card-num {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, rgba(249, 213, 72, 0.08) 0%, rgba(249, 213, 72, 0.02) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.svc-card-num span {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #F9D548, #ECB92E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.svc-card:hover .svc-card-num span {
    opacity: 1;
}

.svc-card-body {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.svc-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.svc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(249, 213, 72, 0.15), rgba(236, 185, 46, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-card:hover .svc-card-icon {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 0 20px rgba(249, 213, 72, 0.2);
}

.svc-card-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.svc-card-body>p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.75;
}

.svc-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.svc-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(249, 213, 72, 0.06);
    border: 1px solid rgba(249, 213, 72, 0.12);
    font-size: 0.78rem;
    color: #ccc;
    font-weight: 500;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.svc-feature-tag::before {
    content: '✦';
    color: #F9D548;
    font-size: 0.6rem;
}

.svc-card:hover .svc-feature-tag {
    background: rgba(249, 213, 72, 0.1);
    border-color: rgba(249, 213, 72, 0.2);
    color: #e0e0e0;
}

@media (max-width: 700px) {
    .svc-card-inner {
        grid-template-columns: 1fr;
    }

    .svc-card-num {
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        justify-content: flex-start;
    }

    .svc-card-num span {
        font-size: 2rem;
    }

    .svc-card-body {
        padding: 24px;
    }
}

/* ═══════════════════════════════════════════════════════
   PREMIUM PORTFOLIO PAGE (Redesigned)
   ═══════════════════════════════════════════════════════ */
.port-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.port-grid .port-card:first-child {
    grid-column: 1 / -1;
}

.port-card {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    padding: 36px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.port-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(249, 213, 72, 0.04) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s;
    opacity: 0;
}

.port-card:hover::after {
    opacity: 1;
}

.port-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(249, 213, 72, 0.08);
    border-color: rgba(249, 213, 72, 0.2);
}

.port-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.port-card-emoji {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(249, 213, 72, 0.15), rgba(236, 185, 46, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(249, 213, 72, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.port-card:hover .port-card-emoji {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 0 25px rgba(249, 213, 72, 0.15);
}

.port-card-top h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.port-card-top .port-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #F9D548;
    background: rgba(249, 213, 72, 0.08);
    border: 1px solid rgba(249, 213, 72, 0.15);
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 4px;
}

.port-card>p {
    font-size: 0.88rem;
    color: #999;
    line-height: 1.7;
    margin-bottom: 16px;
}

.port-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.port-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #bbb;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.25s, border-color 0.25s;
}

.port-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F9D548, #ECB92E);
    flex-shrink: 0;
}

.port-card:hover .port-item {
    background: rgba(249, 213, 72, 0.04);
    border-color: rgba(249, 213, 72, 0.08);
}

@media (max-width: 800px) {
    .port-grid {
        grid-template-columns: 1fr;
    }

    .port-grid .port-card:first-child {
        grid-column: 1;
    }

    .port-items {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   PREMIUM INDUSTRIES PAGE (Redesigned)
   ═══════════════════════════════════════════════════════ */
.ind-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ind-grid .ind-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.ind-card {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.ind-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(249, 213, 72, 0.08);
    border-color: rgba(249, 213, 72, 0.2);
}

.ind-card-banner {
    height: 6px;
    background: linear-gradient(90deg, #F9D548, #ECB92E, #F9D548);
    background-size: 200% 100%;
    animation: shimmerBanner 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.ind-card:hover .ind-card-banner {
    opacity: 1;
}

@keyframes shimmerBanner {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.ind-card-content {
    padding: 32px;
}

.ind-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ind-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(249, 213, 72, 0.12), rgba(236, 185, 46, 0.05));
    border: 2px solid rgba(249, 213, 72, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ind-card:hover .ind-card-icon {
    transform: scale(1.1);
    border-color: rgba(249, 213, 72, 0.4);
    box-shadow: 0 0 30px rgba(249, 213, 72, 0.15);
}

.ind-card-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.ind-card-content>p {
    font-size: 0.88rem;
    color: #999;
    line-height: 1.7;
    margin-bottom: 18px;
}

.ind-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ind-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    color: #bbb;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.ind-highlight:hover {
    background: rgba(249, 213, 72, 0.06);
    border-color: rgba(249, 213, 72, 0.15);
    transform: translateX(4px);
}

.ind-highlight-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F9D548, #ECB92E);
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .ind-grid {
        grid-template-columns: 1fr;
    }

    .ind-grid .ind-card:last-child:nth-child(odd) {
        max-width: none;
    }

    .ind-highlights {
        grid-template-columns: 1fr;
    }
}