/* 
==========================================================================
   ELITE FINANCIAL SERVICES - STYLING
   Luxury, Corporate, Bespoke Wealth Management Branding
========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
    /* Color System (Extracted from Logo & Dark Space Premium Theme) */
    --color-primary: #00357A;       /* Deep Navy Blue */
    --color-primary-rgb: 0, 53, 122;
    --color-accent: #00BF63;        /* Emerald Green Accent */
    --color-accent-rgb: 0, 191, 99;
    --color-dark: #050811;          /* Deep Space Dark Background */
    --color-dark-rgb: 5, 8, 17;
    --color-light-bg: rgba(255, 255, 255, 0.03); /* Glass card background */
    --color-border: rgba(255, 255, 255, 0.08);   /* Translucent Glass border */
    --color-silver: #94A3B8;        /* Muted Silver text */
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Layout & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 10px 40px -10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(255, 255, 255, 0.02);
    --shadow-lg: 0 20px 50px -15px rgba(0, 0, 0, 0.7), 0 4px 12px rgba(255, 255, 255, 0.03);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --- BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark);
    color: #E2E8F0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-weight: 600;
    line-height: 1.25;
}

p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-silver);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

/* --- CONTAINER & UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-bg-light {
    background-image: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.4) 0%, var(--color-dark) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-bg-dark {
    background-color: #020409;
    color: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-bg-dark h2, 
.section-bg-dark h3, 
.section-bg-dark p {
    color: var(--color-white);
}

.text-center {
    text-center: center;
    text-align: center;
}

.max-w-700 {
    max-width: 700px;
    margin: 0 auto;
}

.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

/* Section Header Typography */
.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

/* --- BUTTONS & CTAS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.03em;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(0, 191, 99, 0.25);
}

.btn-primary:hover {
    background-color: #009e51;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 99, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: rgba(5, 8, 17, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    background-color: rgba(5, 8, 17, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

/* Specific scrolling page nav changes if page has white background at top */
.header.scrolled.light-nav {
    background-color: rgba(5, 8, 17, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    transition: var(--transition-smooth);
    max-width: 100% !important;
    padding: 0 48px;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 24px;
    }
}

.header.scrolled .nav-container {
    height: 75px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.logo-text-sub {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.65rem;
    color: var(--color-accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition-smooth);
    filter: none; /* Show original logo in its true colors */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

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

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

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* Dark links for pages with light top backgrounds */
.light-nav .nav-link {
    color: rgba(7, 13, 25, 0.7);
}
.light-nav .nav-link:hover,
.light-nav .nav-link.active {
    color: var(--color-primary);
}

.nav-cta .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hamburger Menu button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.light-nav .nav-toggle span {
    background-color: var(--color-white);
}

@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: rgba(7, 13, 25, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 120px 40px 40px 40px;
        gap: 24px;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.25);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1.1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 12px;
    }
    
    .nav-cta {
        width: 100%;
        margin-top: 20px;
    }
    
    .nav-cta .btn {
        width: 100%;
        padding: 14px;
    }
    
    /* Toggle active animation */
    .nav-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--color-white) !important;
    }
    
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--color-white) !important;
    }
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-dark);
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 30%, rgba(0, 53, 122, 0.3) 0%, rgba(7, 13, 25, 0.95) 80%);
    z-index: 2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Interest Registration Form Card */
.form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-card-title {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-card-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 28px;
    font-weight: 300;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 300;
    transition: var(--transition-fast);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(0, 191, 99, 0.15);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    padding-right: 40px;
}

.form-select option {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.form-textarea {
    resize: none;
    height: 90px;
}

.form-badge-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}

.form-badge svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Success Messages */
.form-success-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 13, 25, 0.95);
    z-index: 10;
    border-radius: var(--radius-md);
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background-color: rgba(0, 191, 99, 0.1);
    border: 1px solid rgba(0, 191, 99, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.success-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.success-title {
    font-size: 1.6rem;
    color: var(--color-white);
    margin-bottom: 12px;
}

.success-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 300px;
}

@media (max-width: 991px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-content p {
        font-size: 1.05rem;
    }
}

/* --- TRUST INDICATORS (STATS) --- */
.stats-bar {
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Overlaps hero slightly for agency design feel */
}

.stats-container {
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.08);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-silver);
}

@media (max-width: 991px) {
    .stats-bar {
        margin-top: 40px;
    }
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .stat-item:nth-child(3)::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
        padding: 24px 16px;
    }
    .stat-item::after {
        display: none !important;
    }
    .stat-item {
        padding-bottom: 0;
        border-bottom: none;
    }
    .stat-item:nth-child(even) {
        border-left: 1px solid var(--color-border);
    }
    .stat-item:last-child {
        grid-column: span 2;
        border-top: 1px solid var(--color-border);
        padding-top: 16px;
        border-left: none;
    }
}

/* --- ABOUT PREVIEW SECTION --- */
.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-card-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-preview-img {
    width: 100%;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.image-card-wrapper:hover .about-preview-img {
    transform: scale(1.03);
}

.floating-experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-accent);
}

.floating-exp-num {
    display: block;
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.floating-exp-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- SERVICES CARD SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 40px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 191, 99, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 191, 99, 0.15), 0 0 30px rgba(0, 191, 99, 0.03);
    background-color: rgba(255, 255, 255, 0.05);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 0 20px rgba(0, 191, 99, 0.3);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    font-weight: 550;
}

.service-card p {
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link svg {
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    color: var(--color-accent);
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* --- WHY CHOOSE US GRID --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 191, 99, 0.25);
    background-color: rgba(255, 255, 255, 0.04);
}

.why-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: rgba(0, 191, 99, 0.1);
    border: 1px solid rgba(0, 191, 99, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.why-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 600;
    font-family: var(--font-body); /* Subtle design: Use body font for subheaders */
}

.why-card p {
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* --- PROCESS TIMELINE SECTION --- */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--color-border);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    width: 100%;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-card {
    width: 44%;
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
}

.process-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 191, 99, 0.25);
    background-color: rgba(255, 255, 255, 0.05);
}

.process-number-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.process-step:nth-child(even) .process-card .process-number-badge {
    left: auto;
    right: 30px;
}

.process-dot {
    width: 16px;
    height: 16px;
    background-color: var(--color-dark);
    border: 4px solid var(--color-accent);
    border-radius: var(--radius-full);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.process-empty {
    width: 44%;
}

.process-card h4 {
    font-size: 1.25rem;
    margin-top: 8px;
    margin-bottom: 12px;
}

.process-card p {
    font-size: 0.88rem;
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 20px;
    }
    
    .process-step {
        flex-direction: row !important;
        margin-bottom: 40px;
    }
    
    .process-dot {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .process-card {
        width: calc(100% - 50px);
        margin-left: 50px;
    }
    
    .process-empty {
        display: none;
    }
    
    .process-number-badge {
        left: 20px !important;
        right: auto !important;
    }
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 191, 99, 0.25);
    background-color: rgba(255, 255, 255, 0.05);
}

.quote-icon {
    color: rgba(0, 191, 99, 0.15);
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 28px;
    flex-grow: 1;
    color: #475569;
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.client-info h5 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.75rem;
    color: var(--color-silver);
}

@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* --- FAQ ACCORDION --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: rgba(0, 191, 99, 0.25);
    background-color: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-sm);
}

.faq-header {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    background: transparent;
    transition: var(--transition-fast);
}

.faq-header:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.faq-question {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-white);
    padding-right: 20px;
}

.faq-toggle-icon {
    width: 20px;
    height: 20px;
    color: var(--color-white);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-content {
    padding: 0 30px 24px 30px;
    font-size: 0.9rem;
    color: var(--color-silver);
    line-height: 1.6;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-body {
    max-height: 500px; /* Arbitrary height limit that is larger than the content */
}

/* --- CTA SECTION --- */
.cta-section {
    position: relative;
    background-color: var(--color-primary);
    overflow: hidden;
    padding: 80px 0;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(7, 13, 25, 0.9) 0%, rgba(0, 53, 122, 0.8) 100%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-content {
    max-width: 650px;
}

.cta-title {
    color: var(--color-white);
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    font-weight: 300;
}

.cta-actions {
    flex-shrink: 0;
}

.cta-actions .btn {
    padding: 16px 36px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .cta-title {
        font-size: 1.8rem;
    }
    .cta-text {
        font-size: 0.95rem;
    }
}

/* --- PAGES COMMON: INNER PAGES HERO --- */
.inner-hero {
    position: relative;
    padding: 180px 0 100px 0;
    background-color: var(--color-dark);
    text-align: center;
    overflow: hidden;
}

.inner-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.25;
    background-size: cover;
    background-position: center;
}

.inner-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(7, 13, 25, 1) 0%, rgba(0, 53, 122, 0.4) 100%);
    z-index: 2;
}

.inner-hero .container {
    position: relative;
    z-index: 3;
}

.inner-hero h1 {
    color: var(--color-white);
    font-size: 3.2rem;
    margin-bottom: 16px;
}

.inner-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .inner-hero {
        padding: 140px 0 70px 0;
    }
    .inner-hero h1 {
        font-size: 2.2rem;
    }
    .inner-hero p {
        font-size: 0.95rem;
    }
}

/* --- ABOUT PAGE SPECIFICS --- */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1.10fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.philosophy-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.philosophy-content p {
    margin-bottom: 20px;
    font-size: 0.98rem;
    line-height: 1.7;
}

.philosophy-image-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.values-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card-detailed {
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.value-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 191, 99, 0.25);
    background-color: rgba(255, 255, 255, 0.05);
}

.value-card-detailed h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--color-white);
}

.value-card-detailed p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-silver);
}

@media (max-width: 991px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .values-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* --- OUR TEAM PAGE SPECIFICS --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 191, 99, 0.25);
    background-color: rgba(255, 255, 255, 0.05);
}

.team-img-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    background-color: var(--color-light-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.04) 100%);
    color: var(--color-accent);
}

.team-avatar-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
    opacity: 0.8;
    color: var(--color-accent);
}

.team-card:hover .team-avatar-placeholder svg {
    transform: scale(1.1);
    transition: var(--transition-smooth);
}

.team-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.team-experience {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-silver);
    margin-bottom: 14px;
}

.team-bio {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    color: var(--color-silver);
}

.team-social {
    display: flex;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.team-social-link {
    color: var(--color-white);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.team-social-link:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 0 15px rgba(0, 191, 99, 0.35);
    border-color: var(--color-accent);
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* --- CONTACT PAGE SPECIFICS --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info-block {
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    height: 100%;
}

.contact-info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: rgba(0, 191, 99, 0.1);
    border: 1px solid rgba(0, 191, 99, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-detail-text h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-detail-text p,
.contact-detail-text a {
    font-size: 0.9rem;
    color: var(--color-silver);
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background-color: rgba(15, 23, 42, 0.4);
    border-radius: var(--radius-sm);
    margin-top: 40px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.map-svg-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.map-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 0 15px rgba(0, 191, 99, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Contact Form Styling */
.contact-form-card {
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
}

.contact-form-group {
    margin-bottom: 24px;
}

.contact-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-silver);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.contact-input,
.contact-textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 300;
    transition: var(--transition-fast);
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 191, 99, 0.15);
}

.contact-textarea {
    height: 140px;
    resize: none;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- TERMS & CONDITIONS PAGE --- */
.legal-wrapper {
    max-width: 850px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-sm);
    color: var(--color-silver);
}

.legal-content h3 {
    font-size: 1.4rem;
    margin-top: 36px;
    margin-bottom: 16px;
}

.legal-content p,
.legal-content li {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content ul {
    list-style: disc;
    margin-left: 24px;
    margin-bottom: 24px;
}

.legal-meta {
    font-size: 0.8rem;
    color: var(--color-silver);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .legal-wrapper {
        padding: 30px 20px;
    }
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo-img {
    margin-bottom: 20px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social-link:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    margin-bottom: 30px;
}

.footer-disclaimer p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.35);
    text-align: justify;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a:hover {
    color: var(--color-accent);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 550px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column-reverse;
        gap: 16px;
        text-align: center;
    }
    .footer-legal-links {
        justify-content: center;
    }
}

/* --- ANIMATIONS & UTILITY INTERACTION --- */

/* Floating CTA button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background-color: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 191, 99, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

.floating-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.floating-cta:hover {
    transform: scale(1.1);
    background-color: #009e51;
}

.floating-cta svg {
    width: 24px;
    height: 24px;
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Alert banner for form invalidation states (js injection) */
.form-error-msg {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
}
.form-group.error .form-error-msg {
    display: block;
}
.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea,
.form-group.error .contact-input,
.form-group.error .contact-textarea {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.02);
}

/* --- MOBILE TWEAKS --- */
@media (max-width: 480px) {
    .form-card {
        padding: 24px 20px;
    }
    .form-badge-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .section-subtitle {
        font-size: 0.78rem;
    }
}
