/* ---------------------------------- */
/* Hero Section Component Styles      */
/* ---------------------------------- */

.hero-section {
    position: relative;
    min-height: 85vh; /* Increased to fit form nicely */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 40px; /* Reduced to pull Trusted By section closer */
    z-index: 20;
}

/* Background video absolute structure */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark contrast overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.65) 100%);
}

/* Header overlay styles */
.hero-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 6px 0;
    text-decoration: none;
    position: relative;
}

.nav-link:hover {
    color: var(--color-gold-start);
}

.nav-link.active {
    color: var(--color-gold-start);
}

/* Underline indicator for active item */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold-start);
}

/* Book A Consult Navbar Button - Gold outline pill */
.btn-book-consult {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-gold-start);
    background-color: transparent;
    border: 1px solid var(--color-gold-start);
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-book-consult:hover {
    background-color: var(--color-gold-start);
    color: var(--color-black);
}

.btn-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.btn-book-consult:hover .btn-arrow {
    transform: translateX(4px);
}

/* Scrolled Light Navbar Transitions */
.hero-header.scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-header.scrolled .nav-link {
    color: #2e3033;
}

.hero-header.scrolled .nav-link:hover,
.hero-header.scrolled .nav-link.active {
    color: var(--color-gold-end);
}

.hero-header.scrolled .nav-link.active::after {
    background-color: var(--color-gold-end);
}

.hero-header.scrolled .btn-book-consult {
    border-color: #0b2240;
    color: #0b2240;
}

.hero-header.scrolled .btn-book-consult:hover {
    background-color: #0b2240;
    color: var(--color-white);
    border-color: #0b2240;
}

/* Grid layout with top margin space */
.hero-container {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    margin-top: 80px; /* Reduced to pull layout up */
    padding: 0 60px;
}

/* Left side content */
.hero-left-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Glowing Badge tag styling */
.badge-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    background-color: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.55); /* Distinct gold border */
    color: var(--color-text-white);
    padding: 6px 14px;
    border-radius: var(--border-radius-pill);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: var(--transition-smooth);
}

/* No outer animation - border is static */
.glow-badge {
    box-shadow: none;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-gold-start);
    border-radius: 50%;
    display: inline-block;
    animation: dot-blink 1.4s infinite ease-in-out;
}

@keyframes dot-blink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 6px var(--color-gold-start);
    }
    50% {
        opacity: 0.2;
        transform: scale(0.8);
        box-shadow: 0 0 0px transparent;
    }
}

/* Title styling */
.hero-title {
    font-size: clamp(2.4rem, 4.2vw, 3.5rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.highlight-gold-gradient {
    color: var(--color-gold-start);
}

.hero-desc {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 580px;
    line-height: 1.6;
    font-weight: 300;
}

/* Left Buttons (Proposal & Showcase) */
.hero-btn-group {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* Proposal CTA button - Gold Pill */
.btn-proposal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to right, var(--color-gold-start), var(--color-gold-end));
    color: var(--color-black);
    font-weight: 800;
    padding: 16px 32px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    border-radius: var(--border-radius-pill);
    transition: var(--transition-smooth);
    text-decoration: none;
    box-shadow: none;
}

.btn-proposal:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.2);
}

.btn-proposal:hover .btn-arrow {
    transform: translateX(4px);
}

/* View Showcase with Play Icon Wrapper */
.link-showcase-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.play-btn-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.play-btn-circle svg {
    width: 12px;
    height: 12px;
    margin-left: 2px; /* Center align play triangle visually */
}

.link-showcase {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-white);
    border-bottom: 2px solid var(--color-white); /* Changed underline to white */
    padding-bottom: 2px;
    transition: var(--transition-smooth);
}

.link-showcase-wrapper:hover .play-btn-circle {
    border-color: var(--color-gold-start);
    color: var(--color-gold-start);
}

.link-showcase-wrapper:hover .link-showcase {
    color: var(--color-gold-start);
    border-bottom-color: var(--color-gold-start); /* Transitions to gold on hover */
}

/* Stats Glass Card Layout - Centered text-only */
.stats-card-wrapper {
    max-width: 440px;
    margin-top: 10px;
}

.stats-glass-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.stat-col {
    padding: 12px 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-col:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-value {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
}

.stat-tag {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

/* Right side - Lead Capture Form Card */
.hero-right-content {
    display: flex;
    justify-content: flex-end;
}

.dark-form-card {
    width: 100%;
    max-width: 480px; /* Increased from 440px */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px 36px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.9);
}

.form-header {
    margin-bottom: 20px;
}

.form-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 4px;
}

.form-subtitle {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* Form inputs & select overrides */
.space-y-4>*+* {
    margin-top: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    font-weight: 700;
}

.form-input {
    width: 100%;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0 16px;
    font-size: 0.85rem;
    color: var(--color-white);
    outline: none;
    transition: var(--transition-smooth);
}

.form-textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--color-white);
    outline: none;
    transition: var(--transition-smooth);
    resize: none;
    height: 80px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #4b5563;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-gold-start);
    background-color: rgba(255, 255, 255, 0.06);
}

/* Custom Dropdown select wrapper */
.select-wrapper {
    position: relative;
    width: 100%;
    height: 48px;
}

.form-select {
    width: 100%;
    height: 100%;
    background-color: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0 40px 0 16px;
    font-size: 0.85rem;
    color: var(--color-text-grey);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.form-select:focus {
    border-color: var(--color-gold-start);
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
}

.select-arrow svg {
    width: 16px;
    height: 16px;
}

/* Submit Button - Gold Pill with arrow */
.btn-submit {
    width: 100%;
    margin-top: 10px;
    background: linear-gradient(to right, var(--color-gold-start), var(--color-gold-end));
    color: var(--color-black);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px;
    border-radius: var(--border-radius-pill);
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-submit:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.15);
}

.btn-submit:hover .btn-arrow {
    transform: translateX(4px);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-family: var(--font-primary);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* ---------------------------------- */
/* Responsive Media Queries       */
/* ---------------------------------- */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-left-content {
        align-items: center;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto;
    }

    .stats-card-wrapper {
        margin: 0 auto;
        width: 100%;
    }

    .hero-right-content {
        justify-content: center;
    }
}

/* Mobile nav toggle button */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 150;
    padding: 0;
}

.burger-bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Scrolled header burger bar color */
.hero-header.scrolled .burger-bar {
    background-color: #0A0A0A;
}

/* Open states */
.mobile-nav-toggle.open .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #ffffff !important;
}

.mobile-nav-toggle.open .burger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #ffffff !important;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 24px;
    }
    
    .logo-img {
        height: 58px;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(12, 12, 13, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 120;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.25rem !important;
        color: #ffffff !important;
    }

    .btn-book-consult {
        display: none !important;
    }

    /* Mobile Hero Styling Sync */
    .hero-section {
        padding-top: 115px;
        padding-bottom: 75px; /* Increased to give form card breathing room at bottom */
        min-height: auto;
    }

    .hero-container {
        margin-top: 10px !important;
        padding: 0 20px !important;
        grid-template-columns: 1fr;
        gap: 36px !important; /* Spacing between content and form */
    }

    .hero-left-content {
        align-items: flex-start;
        text-align: left;
        gap: 14px !important; /* Extremely tight gap */
    }

    .hero-left-content .badge-tag {
        align-self: flex-start !important;
        margin-bottom: 0 !important;
    }

    .hero-title {
        font-size: 2.2rem !important;
        text-align: left;
        margin-bottom: 0 !important;
        line-height: 1.1;
    }

    .hero-desc {
        font-size: 0.85rem !important;
        text-align: left;
        max-width: 100%;
        margin: 0 !important;
        line-height: 1.45;
        color: rgba(255, 255, 255, 0.7);
    }

    .hero-btn-group {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 14px;
        width: 100%;
        margin-bottom: 10px !important;
        margin-top: 5px;
    }

    .btn-proposal {
        padding: 10px 18px !important;
        font-size: 0.70rem !important;
        text-align: center;
        justify-content: center;
        line-height: 1.25;
        max-width: 145px;
        border-radius: 30px !important;
        gap: 4px;
    }

    .btn-proposal .btn-arrow {
        width: 8px;
        height: 8px;
    }

    .link-showcase-wrapper {
        gap: 6px !important;
    }

    .play-btn-circle {
        width: 32px !important;
        height: 32px !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
    }

    .play-btn-circle svg {
        width: 8px !important;
        height: 8px !important;
    }

    .link-showcase {
        font-size: 0.70rem !important;
        text-decoration: underline !important;
        text-underline-offset: 3px;
    }

    /* Hide stats card wrapper on mobile to keep layout clean and prevent text overlapping */
    .stats-card-wrapper {
        display: none !important;
    }

    /* Compact form submit button on mobile */
    .btn-submit {
        padding: 12px 20px !important;
        font-size: 0.78rem !important;
        margin-top: 12px !important;
    }
}