/* =========================================
   1. CSS VARIABLES (Theme Colors)
   ========================================= */
:root {
    --bg-dark-green: #0a2e1f;        
    --bg-dark-green-scroll: #051c12; 
    --accent-copper: #d59654;        
    --accent-copper-hover: rgba(213, 150, 84, 0.9); 
    --text-light: #e2e8f0;
    --white: #ffffff;
}

/* =========================================
   2. GLOBAL RESETS & TYPOGRAPHY
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Space Mono', monospace; 
    background-color: var(--bg-dark-green); 
}

/* =========================================
   3. HEADER / NAVBAR LAYOUT
   ========================================= */
header { 
    background-color: var(--bg-dark-green); 
    padding: 0 4%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 100px; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}
header.scrolled-color {
    background-color: var(--bg-dark-green-scroll);
    border-bottom: 1px solid rgba(213, 150, 84, 0.2); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    height: 80px; 
}
.logo { display: flex; align-items: center; cursor: pointer; z-index: 1001; }
.logo-img { height: 95px; width: auto; transition: transform 0.3s ease; }
.logo:hover .logo-img { transform: scale(1.05); }

.nav-container { flex: 1; display: flex; align-items: center; }
.nav-links { 
    display: flex; gap: 25px; list-style: none; 
    position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a { 
    color: var(--text-light); font-size: 14px; text-decoration: none; 
    transition: color 0.3s; display: flex; align-items: center; gap: 8px;
}
.nav-links a:hover { color: var(--accent-copper); }
.nav-links a {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--accent-copper);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.header-action { margin-left: auto; }
.nav-btn {
    background-color: transparent; color: var(--accent-copper);   
    font-family: 'Space Mono', monospace; font-size: 14px; font-weight: 700;
    padding: 12px 24px; text-decoration: none; border: 1px solid var(--accent-copper);
    position: relative; overflow: hidden; z-index: 1; transition: color 0.5s ease; 
}
.nav-btn::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0%; 
    background-color: var(--accent-copper-hover); z-index: -1; 
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
}
.nav-btn:hover { color: var(--white); }
.nav-btn:hover::before { height: 100%; }

.hamburger { display: none; color: var(--accent-copper); font-size: 26px; cursor: pointer; transition: 0.3s ease; margin-left: 20px; }
.hamburger:hover { color: var(--white); }

@media (max-width: 1250px) {
    .nav-links { position: static; transform: none; margin: 0 auto; gap: 15px; }
    .nav-links a { font-size: 12px; gap: 6px; }
    .nav-btn { padding: 10px 18px; font-size: 12px; }
}

@media (max-width: 980px) {
    .hamburger { display: block; z-index: 1002; position: relative; }
    .nav-container {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background-color: rgba(10, 46, 31, 0.98); backdrop-filter: blur(10px);
        display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 1000;
        clip-path: circle(0px at calc(100% - 40px) 50px);
        transition: clip-path 0.7s cubic-bezier(0.86, 0, 0.07, 1); 
    }
    .nav-container.active { clip-path: circle(150vh at calc(100% - 40px) 50px); }
    .nav-links { flex-direction: column; align-items: center; width: 100%; gap: 35px; margin: 0 0 40px 0; }
    .nav-links a { font-size: 20px; letter-spacing: 1px; }
    .nav-links li { opacity: 0; transform: translateY(30px); transition: all 0.4s ease; }
    .nav-container.active .nav-links li:nth-child(1) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
    .nav-container.active .nav-links li:nth-child(2) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
    .nav-container.active .nav-links li:nth-child(3) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
    .nav-container.active .nav-links li:nth-child(4) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
    .nav-container.active .nav-links li:nth-child(5) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
    .nav-container.active .nav-links li:nth-child(6) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
    .header-action { margin: 0; opacity: 0; transform: translateY(30px); transition: all 0.4s ease; }
    .nav-container.active .header-action { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .logo-img { height: 55px; } 
    .nav-links a { font-size: 18px; }
}

/* =========================================
   HERO SECTION
   ========================================= */
/* =========================================
   MODERN HERO SECTION STYLES
   ========================================= */

.hero { 
    height: 80vh; 
    min-height: 550px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0 5%; 
    position: relative; 
    overflow: hidden; 
    background-color: #061c13; 
}

.hero-bg-container { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    z-index: 1; 
}

.bg-slide { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background-size: cover; 
    background-position: center; 
    opacity: 0; 
    transition: opacity 1.2s ease-in-out; 
    transform: scale(1.08); /* Stronger scale for dynamic feel */
}

.bg-slide.active { 
    opacity: 1; 
    transform: scale(1);
    transition: opacity 1.2s ease-in-out, transform 8s ease-out; /* Slow zoom out */
}

/* Lighter overlay and less blur so the image is much clearer */
.bg-overlay { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: linear-gradient(135deg, rgba(6, 28, 19, 0.9) 0%, rgba(10, 46, 31, 0.7) 100%); 
    backdrop-filter: blur(3px); /* Subtle glass effect */
    z-index: 2; 
}

.hero-content { 
    max-width: 750px; 
    z-index: 3; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    animation: cleanReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1); 
}

@keyframes cleanReveal { 
    from { opacity: 0; transform: translateY(40px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Badge Styling */
.subtitle-badge { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    background: rgba(213, 150, 84, 0.15); 
    border: 1px solid rgba(213, 150, 84, 0.4); 
    padding: 8px 18px; 
    border-radius: 100px; 
    font-family: 'Space Mono', monospace; 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #ffd8a8; 
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.pulse-dot { 
    width: 8px; height: 8px; 
    background-color: #d59654; 
    border-radius: 50%; 
    box-shadow: 0 0 0 0 rgba(213, 150, 84, 0.7); 
    animation: badgePulse 2s infinite; 
}

@keyframes badgePulse { 
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(213, 150, 84, 0.7); } 
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(213, 150, 84, 0); } 
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(213, 150, 84, 0); } 
}

/* Attractive Typography with Text Shadows */
.hero-content h1 { 
    font-family: 'Poppins', sans-serif; 
    font-size: 56px; 
    line-height: 1.15; 
    color: #ffffff; 
    margin-bottom: 20px; 
    letter-spacing: -1.5px; 
    font-weight: 700; 
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7); 
}

.highlight-text { 
    font-weight: 800; 
    color: #e6a765; 
    background: linear-gradient(90deg, #e6a765, #ffdaa8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none; 
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.hero-content p { 
    font-family: 'Inter', sans-serif; 
    font-size: 17px; 
    line-height: 1.7; 
    color: #e8f0e9; 
    margin-bottom: 40px; 
    max-width: 680px; 
    font-weight: 400;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); 
}
.hero-content p strong {
    color: #ffffff;
    font-weight: 600;
}

/* =========================================
   BUTTON STYLES (BASE)
   ========================================= */
.btn-group { 
    display: flex; 
    justify-content: center; 
    gap: 16px; 
    animation: fadeInUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    padding: 16px 32px; 
    font-family: 'Inter', sans-serif;
    font-size: 14px; 
    font-weight: 600; 
    text-transform: uppercase; 
    text-decoration: none; 
    letter-spacing: 1px; 
    cursor: pointer; 
    border-radius: 8px; /* Modern rounded square */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Explicit base size for button icons to allow scaling in media queries */
.btn svg { 
    width: 18px;
    height: 18px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* Primary Button */
.btn-primary { 
    border: 2px solid #d59654; 
    color: #e6a765; 
    background: rgba(213, 150, 84, 0.15); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 100%;
    background-color: #ffffff; /* Hover color */
    z-index: -1;
    transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary:hover { 
    color: #061c13; 
    border-color: #ffffff;
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.35); 
}

.btn-primary:hover::before {
    width: 100%; 
}

.btn-primary:hover svg { 
    transform: scale(1.1) rotate(-5deg); 
}

/* Secondary Button Update */
.btn-dark { 
    border: 2px solid rgba(255, 255, 255, 0.5); 
    color: #ffffff; 
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(5px);
}

.btn-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 100%;
    background-color: #d59654; /* Hover color */
    z-index: -1;
    transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-dark:hover { 
    color: #0a2e1f; 
    border-color: #d59654;
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(213, 150, 84, 0.3); 
}

.btn-dark:hover::before {
    width: 100%;
}

.btn-dark:hover svg { 
    transform: translateX(5px); 
}

/* Navigation Slider Arrows */
.nav-arrow { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 10; 
    background: rgba(10, 46, 31, 0.6); 
    border: 1px solid rgba(213, 150, 84, 0.4); 
    color: #d59654; 
    width: 55px; 
    height: 55px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
    backdrop-filter: blur(8px); 
}

.nav-arrow svg { 
    width: 24px; height: 24px; 
    stroke-width: 2; 
}

.nav-arrow:hover { 
    background: #d59654;
    color: #0a2e1f; 
    border-color: #d59654; 
    transform: translateY(-50%) scale(1.1); 
    box-shadow: 0 8px 20px rgba(213, 150, 84, 0.4); 
}

.prev-arrow { left: 4%; }
.next-arrow { right: 4%; }

/* =========================================
   COMPREHENSIVE MEDIA QUERIES (Scaling Down)
   ========================================= */

/* Extra Large Screens / 4K */
@media (min-width: 1400px) { 
    .hero-content h1 { font-size: 64px; } 
    .hero-content { max-width: 950px; } 
    .hero-content p { font-size: 18px; }
}

/* Standard Desktops */
@media (max-width: 1200px) { 
    .hero-content h1 { font-size: 50px; } 
    /* Slightly decrease padding */
    .btn { padding: 15px 28px; font-size: 13px; gap: 8px; }
    .btn svg { width: 17px; height: 17px; }
}

/* Tablets (Landscape) & Small Laptops */
@media (max-width: 992px) { 
    .hero-content h1 { font-size: 42px; letter-spacing: -1px; } 
    .hero-content p { font-size: 16px; } 
    /* Decrease padding again */
    .btn { padding: 14px 24px; font-size: 12px; gap: 8px; }
    .btn svg { width: 16px; height: 16px; }
    
    .nav-arrow { width: 45px; height: 45px; } 
    .nav-arrow svg { width: 20px; height: 20px; }
}

/* Tablets (Portrait) - FIXING THE MOBILE WIDTH ISSUE */
@media (max-width: 768px) { 
    .hero { height: auto; padding: 140px 5% 100px 5%; } 
    .hero-content h1 { font-size: 38px; margin-bottom: 16px; } 
    
    /* Center the buttons instead of stretching them */
    .btn-group { flex-direction: column; align-items: center; width: 100%; gap: 14px; } 
    
    /* Removed width: 100% and added a neat min-width so they match perfectly */
    .btn { width: auto; min-width: 260px; padding: 14px 20px; font-size: 13px; gap: 8px; } 
    .btn svg { width: 16px; height: 16px; }
    
    .nav-arrow { display: none; } 
}

/* Mobile Phones (Standard) */
@media (max-width: 480px) { 
    .hero-content h1 { font-size: 32px; } 
    .hero-content p { font-size: 15px; margin-bottom: 30px; } 
    .subtitle-badge { font-size: 10px; padding: 6px 14px; }
    
    /* Shrink the minimum width further for mobile */
    .btn { min-width: 240px; padding: 12px 18px; font-size: 12px; gap: 6px; border-radius: 6px; }
    .btn svg { width: 15px; height: 15px; }
}

/* Small Mobile Phones (e.g. older iPhones) */
@media (max-width: 360px) { 
    .hero-content h1 { font-size: 28px; letter-spacing: -0.5px; } 
    .hero-content p { font-size: 14px; } 
    
    /* Smallest Button Size */
    .btn { min-width: 210px; padding: 10px 14px; font-size: 11px; gap: 5px; border-radius: 4px; }
    .btn svg { width: 14px; height: 14px; }
}

/* Short viewports (Landscape phones) */
@media (max-height: 600px) { 
    .hero { min-height: auto; padding: 100px 5% 80px 5%; } 
    .hero-content h1 { font-size: 32px; margin-bottom: 12px; } 
    .hero-content p { margin-bottom: 20px; } 
    
    /* Ensure they stay inline on short landscape screens */
    .btn-group { flex-direction: row; }
    .btn { min-width: auto; padding: 12px 24px; font-size: 12px; }
    .btn svg { width: 15px; height: 15px; }
}

/* =========================================
   ABOUT SECTION
   ========================================= */
/* =========================================
   ABOUT SECTION STYLES
   ========================================= */
.about-section { 
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../images/about-background.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    padding: clamp(20px, 4vw, 40px) 5% clamp(60px, 8vw, 100px) 5%; 
    font-family: 'Inter', system-ui, sans-serif; 
    overflow: hidden; 
}

.about-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: clamp(40px, 6vw, 70px); }
.about-content { flex: 1.2; }

.section-subtitle { color: #d59654; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 4px; display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.section-subtitle::before { content: ''; display: block; width: 40px; height: 2px; background: linear-gradient(90deg, #d59654, #f4c28d); border-radius: 2px; }

.about-content h2 { font-size: clamp(36px, 4.5vw, 52px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }

.gradient-text { background: linear-gradient(135deg, #0a2e1f 0%, #176342 50%, #208a5b 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.lead-text { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.8; color: #4a5c54; margin-bottom: 25px; font-weight: 400; }

.expandable-content { max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-10px); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.expandable-content p { font-size: clamp(15px, 1.2vw, 16px); line-height: 1.7; color: #596a63; margin-bottom: 15px; padding-left: 15px; border-left: 2px solid #eef2f0; }
.expandable-content.open { max-height: 800px; opacity: 1; transform: translateY(0); margin-bottom: 35px; }

/* Square Button Style */
.btn-expand { 
    display: inline-flex; align-items: center; gap: 12px; 
    background: transparent; border: 2px solid #0a2e1f; 
    color: #0a2e1f; padding: 14px 32px; font-size: 14px; 
    font-weight: 700; border-radius: 0; cursor: pointer; 
    position: relative; overflow: hidden; z-index: 1; 
    transition: color 0.4s ease, border-color 0.4s ease; 
    letter-spacing: 1px; 
}
.btn-expand::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #0a2e1f; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.btn-expand:hover::before, .btn-expand.active::before { transform: scaleX(1); }
.btn-expand:hover, .btn-expand.active { color: #ffffff; box-shadow: 0 10px 20px -5px rgba(10, 46, 31, 0.3); }
.btn-expand i { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.btn-expand.active i { transform: rotate(180deg); }

/* =========================================
   DUAL IMAGE COMPOSITION & ANIMATIONS
   ========================================= */

/* Two opposing floating animations for a dynamic feel */
@keyframes floatMain {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
@keyframes floatSecondary {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(15px); }
}

.about-image { 
    flex: 0.9; 
    position: relative; 
    width: 100%; 
    max-width: 480px; 
    margin: 0 auto; 
}

.about-img-wrapper { 
    position: relative; 
    border: 8px solid #ffffff; 
    overflow: hidden; 
    box-shadow: 0 30px 60px -15px rgba(10, 46, 31, 0.25); 
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-img-wrapper img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1); 
}
.about-img-wrapper:hover img { transform: scale(1.15); }

/* The Main Large Image */
.main-img {
    width: 85%;
    aspect-ratio: 4/5;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: floatMain 6s ease-in-out infinite;
    z-index: 1;
}
.main-img:hover {
    border-radius: 24px;
    box-shadow: 0 40px 70px -10px rgba(10, 46, 31, 0.35); 
}

/* The Secondary Smaller Overlapping Image */
.secondary-img {
    position: absolute;
    width: 55%;
    aspect-ratio: 1/1; /* Square shape */
    right: -5%;
    bottom: 5%;
    border-width: 6px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; /* Different organic shape */
    animation: floatSecondary 7s ease-in-out infinite;
    z-index: 2;
}
.secondary-img:hover {
    border-radius: 16px;
    z-index: 3; /* Pops in front of main image on hover */
    box-shadow: 0 30px 50px -10px rgba(10, 46, 31, 0.4); 
}

/* The Experience Badge */
.exp-badge { 
    position: absolute; left: -30px; bottom: -20px; 
    background: linear-gradient(135deg, #d59654, #b87c40); color: #ffffff; 
    padding: 15px 24px; font-family: 'Inter', sans-serif; 
    box-shadow: 0 15px 35px -5px rgba(184, 124, 64, 0.4); 
    z-index: 4; /* Stays above both images */
    border-radius: 12px; display: flex; align-items: center; gap: 15px; 
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); 
}
.badge-icon { background: rgba(255, 255, 255, 0.2); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 18px; }
.badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.badge-text strong { font-size: 15px; font-weight: 800; letter-spacing: 0.5px; }
.badge-text span { font-size: 12px; font-weight: 500; opacity: 0.9; }

.about-image:hover .exp-badge { transform: translateY(-5px) scale(1.02); }

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-image { margin-top: 20px; max-width: 420px; }
    .secondary-img { right: 0; width: 50%; }
}

@media (max-width: 860px) {
    .about-container { flex-direction: column; text-align: center; }
    .about-content { display: flex; flex-direction: column; align-items: center; }
    .section-subtitle { justify-content: center; }
    .section-subtitle::before { display: none; }
    
    .about-image { max-width: 380px; margin-top: 40px; margin-bottom: 40px; }
    .main-img, .secondary-img { animation: none; /* Disable float on mobile for visual stability */ }
    
    .exp-badge { left: 50%; bottom: -40px; transform: translateX(-50%); width: max-content; }
    .about-image:hover .exp-badge { transform: translateX(-50%) translateY(-5px) scale(1.02); }
}

/* =========================================
   OUR EXPERTS SECTION
   ========================================= */
/* =========================================
   OUR EXPERTS SECTION STYLES
   ========================================= */
.experts-section { 
    background: linear-gradient(135deg, rgba(10, 46, 31, 0.95) 0%, rgba(5, 28, 18, 0.90) 100%), url('assets/images/meeting.jpg') center/cover no-repeat; 
    background-attachment: fixed; 
    padding: 100px 5%; 
    font-family: 'Space Mono', monospace; 
    color: #ffffff; 
}

.experts-container { max-width: 1400px; margin: 0 auto; }
.experts-header { text-align: center; margin-bottom: 70px; }

.experts-header .section-subtitle { 
    display: inline-block; 
    font-size: 11px; 
    letter-spacing: 3px; 
    color: #d59654; 
    margin-bottom: 12px; 
    text-transform: uppercase; 
    background: rgba(213, 150, 84, 0.1); 
    padding: 5px 14px; 
    border-radius: 50px; 
    border: 1px solid rgba(213, 150, 84, 0.2); 
}

.experts-header .section-title { 
    font-size: 46px; 
    line-height: 1.2; 
    font-weight: 400; 
    letter-spacing: -1px; 
}

.experts-header .highlight-text { color: #d59654; font-weight: 700; }

/* -----------------------------------------
   EQUAL LAYOUT STRUCTURE (WIDTH & HEIGHT)
   ----------------------------------------- */
.experts-flow-layout { 
    display: flex; 
    align-items: flex-start; /* Ensures cards expand independently downward */
    justify-content: space-between; 
    gap: 20px; 
}

.flow-arrow { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding-top: 180px; /* Aligns visually with the center of the cards */
    font-size: 32px; 
    color: #d59654; 
    animation: pulseRight 2s infinite ease-in-out; 
}

@keyframes pulseRight { 
    0%, 100% { transform: translateX(0); } 
    50% { transform: translateX(10px); } 
}

/* -----------------------------------------
   FLOWING GRADIENT BORDER HOVER ANIMATION
   ----------------------------------------- */
.expert-card-wrapper { 
    /* Ensures exactly equal 1/3 width minus the gap */
    width: calc(33.333% - 20px); 
    display: flex;
    flex-direction: column;
    padding: 2px; /* Border thickness */
    border-radius: 12px; 
    background: rgba(213, 150, 84, 0.15); 
    position: relative;
    overflow: hidden; 
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease; 
}

.expert-card-wrapper::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: transparent;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.expert-card-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.expert-card-wrapper:hover::before {
    background: conic-gradient(from 0deg, transparent 0%, #d59654 20%, #ffffff 40%, #d59654 60%, transparent 80%);
    animation: spinGradient 2.5s linear infinite;
}

@keyframes spinGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* -----------------------------------------
   INNER CARD CONTENT
   ----------------------------------------- */
.expert-card { 
    background: #061c13; 
    border-radius: 10px; 
    padding: 40px 35px; 
    display: flex; 
    flex-direction: column; 
    z-index: 2;
    height: 100%;
}

/* 
   STRICT HEIGHTS 
   These exact heights prevent the cards from misaligning due to text differences 
*/
.expert-header { 
    height: 140px; /* Strict height for all headers */
    margin-bottom: 10px;
}
.expert-header h3 { font-size: 26px; margin-bottom: 5px; color: #ffffff; }
.expert-title { font-size: 13px; color: #d59654; font-weight: 700; text-transform: uppercase; line-height: 1.4;}

/* -----------------------------------------
   DROP DOWN & BACK ANIMATION (HEIGHT)
   ----------------------------------------- */
.expert-bio-container { 
    position: relative; 
    height: 220px; /* Strict base height for all text boxes */
    overflow: hidden; 
    transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
    margin-bottom: auto; 
}

/* Fade out effect at the bottom when closed */
.expert-bio-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #061c13);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Expanded state */
.expert-bio-container.expanded { 
    height: 600px; /* Expands smoothly */
    overflow-y: auto; 
    padding-right: 10px; 
}

/* Hide the fade out effect when opened */
.expert-bio-container.expanded::after {
    opacity: 0;
}

.expert-bio-container p { 
    font-family: 'Inter', sans-serif; 
    font-size: 14px; 
    color: #a0aec0; 
    line-height: 1.8; 
    margin-bottom: 15px; 
}
.expert-bio-container p strong { color: #ffffff; }

.read-more-btn { 
    background: none; 
    border: none; 
    color: #d59654; 
    cursor: pointer; 
    font-family: 'Space Mono', monospace; 
    font-size: 13px;
    font-weight: 700; 
    text-transform: uppercase; 
    margin-top: 15px; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    transition: color 0.3s ease;
    align-self: flex-start;
}

.read-more-btn:hover { color: #ffffff; }
.read-more-btn i { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.read-more-btn.open i { transform: rotate(180deg); }

/* -----------------------------------------
   MEDIA QUERIES
   ----------------------------------------- */
@media (max-width: 1024px) { 
    .experts-flow-layout { flex-direction: column; align-items: stretch; } 
    .expert-card-wrapper { flex: none; width: 100%; }
    .expert-bio-container { height: 180px; } 
    .flow-arrow { transform: rotate(90deg); padding: 20px 0; } 
    @keyframes pulseRight { 
        0%, 100% { transform: translateY(0) rotate(90deg); } 
        50% { transform: translateY(10px) rotate(90deg); } 
    }
}

@media (max-width: 768px) { 
    .experts-section { padding: 80px 5%; background-attachment: scroll; } 
    .experts-header .section-title { font-size: 34px; } 
    .expert-card { padding: 30px 20px; }
    .expert-header { height: auto; margin-bottom: 20px; } /* Release strict height on mobile */
}
/* =========================================
   HOW IT WORKS SECTION
   ========================================= */
/* =========================================
   HOW IT WORKS - BALANCED 3-COLUMN LAYOUT
   ========================================= */
.system-section { 
    background: linear-gradient(135deg, #051a11 0%, #0a2e1f 50%, #061f14 100%); 
    /* Reduced padding to remove extra space top and bottom */
    padding: clamp(40px, 5vw, 60px) 5%; 
    text-align: center; 
    color: #ffffff; 
    overflow: hidden; 
    position: relative; 
}

.system-container { 
    max-width: 1300px; 
    margin: 0 auto; 
    position: relative; 
}

.system-section .section-subtitle { 
    color: #ffffff; 
    font-size: 13px; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    /* Reduced margin below subtitle */
    margin-bottom: 15px; 
    opacity: 0.8; 
}

.system-section .section-subtitle::before, 
.system-section .section-subtitle::after { 
    content: ''; 
    display: block; 
    width: 30px; 
    height: 1px; 
    background: rgba(255, 255, 255, 0.4); 
}

.system-section h2 { 
    font-size: clamp(34px, 4.5vw, 48px); 
    font-weight: 800; 
    /* Reduced margin below main heading */
    margin-bottom: clamp(25px, 4vw, 40px); 
    color: #ffffff; 
    letter-spacing: -0.5px; 
}

.system-section .highlight-text { color: #d59654; }

/* -----------------------------------------
   EQUAL 3-COLUMN GRID SETUP
   ----------------------------------------- */
.system-grid { 
    display: grid; 
    grid-template-columns: 1fr 280px 1fr; /* Equal left and right columns with a fixed center space */
    gap: 30px; 
    align-items: center; 
}

.feature-column { 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
}

/* -----------------------------------------
   VISIBLE CENTER ORB & ICON
   ----------------------------------------- */
.system-center { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 2; 
}

.glass-orb { 
    width: 240px; 
    height: 240px; 
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 60%); 
    border-radius: 50%; 
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.15), 
                0 20px 50px rgba(0, 0, 0, 0.6), 
                0 0 60px rgba(213, 150, 84, 0.25); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    animation: floatOrb 5s ease-in-out infinite; 
    position: relative; 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
}

.orb-glow { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    border-radius: 50%; 
    box-shadow: inset 0 -20px 40px rgba(213, 150, 84, 0.3); 
    pointer-events: none; 
}

.glass-orb i { 
    font-size: 80px; 
    color: #d59654; 
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5)); 
    z-index: 2; 
}

@keyframes floatOrb { 
    0%, 100% { transform: translateY(0) scale(1); } 
    50% { transform: translateY(-18px) scale(1.03); } 
}

/* -----------------------------------------
   UNIFORM SIDE-BY-SIDE STEP CARDS
   ----------------------------------------- */
.system-feature { 
    display: flex; 
    align-items: flex-start; 
    gap: 20px; 
    text-align: left; 
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    padding: 28px 26px; 
    border-radius: 18px; 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3); 
}

/* Standardizes the right-side cards to match left side perfectly */
.system-feature.right { 
    flex-direction: row; 
    text-align: left; 
}

.system-feature:hover { 
    background: rgba(255, 255, 255, 0.06); 
    border-color: rgba(213, 150, 84, 0.4); 
    transform: translateY(-6px); 
    box-shadow: 0 18px 35px -10px rgba(0, 0, 0, 0.4); 
}

.feature-text { flex: 1; }
.system-feature h4 { color: #ffffff; font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: 0.5px; }
.system-feature p { font-size: 14px; color: #a9b8b0; line-height: 1.6; margin: 0; }

.icon-wrapper { 
    background: rgba(213, 150, 84, 0.1); 
    width: 60px; 
    height: 60px; 
    border-radius: 14px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 22px; 
    color: #d59654; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    flex-shrink: 0; 
    border: 1px solid rgba(213, 150, 84, 0.2); 
}

.system-feature:hover .icon-wrapper { 
    background: #d59654; 
    color: #0a2e1f; 
    transform: scale(1.08) rotate(8deg); 
    border-color: #d59654; 
    box-shadow: 0 8px 20px rgba(213, 150, 84, 0.35); 
}

/* -----------------------------------------
   MEDIA QUERIES
   ----------------------------------------- */
@media (max-width: 1100px) { 
    .system-grid { grid-template-columns: 1fr 220px 1fr; gap: 20px; } 
    .glass-orb { width: 200px; height: 200px; } 
    .glass-orb i { font-size: 65px; } 
}

@media (max-width: 992px) { 
    .system-grid { grid-template-columns: 1fr; gap: 30px; } 
    .system-center { margin-bottom: 10px; } 
    .system-feature { max-width: 650px; margin: 0 auto; width: 100%; } 
}

@media (max-width: 576px) { 
    .system-section { padding: 40px 5%; } 
    .system-feature, .system-feature.right { flex-direction: column; text-align: left; padding: 24px 20px; } 
    .glass-orb { width: 170px; height: 170px; } 
    .glass-orb i { font-size: 55px; } 
}

/* =========================================
   FEES SECTION
   ========================================= */
/* =========================================
   FEES SECTION STYLES & ANIMATIONS
   ========================================= */
.fees-section { 
    background-color: #051c12; 
    /* Reduced spacing top and bottom */
    padding: clamp(40px, 5vw, 60px) 5%; 
    color: #ffffff; 
    font-family: 'Space Mono', monospace; 
    position: relative; 
    overflow: hidden; 
}

/* Subtle glowing background orb */
.fees-section::before { 
    content: ''; 
    position: absolute; 
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%); 
    width: 60vw; height: 60vh; 
    background: radial-gradient(circle, rgba(213, 150, 84, 0.08) 0%, transparent 70%); 
    z-index: 0; 
    pointer-events: none; 
}

.fees-container { 
    max-width: 1000px; 
    margin: 0 auto; 
    position: relative; 
    z-index: 1; 
}

/* --- Matched Header Styles (Typography from Screenshot) --- */
.fees-header { 
    text-align: center; 
    margin-bottom: 40px; 
    animation: fadeDown 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-30px); filter: blur(5px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Subtitle with side lines like '— FEES —' */
.fees-header .section-subtitle { 
    color: #ffffff; 
    font-size: 12px; 
    font-weight: 700; 
    font-family: 'Space Mono', monospace;
    text-transform: uppercase; 
    letter-spacing: 4px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 18px; 
    opacity: 0.8; 
    background: none; 
    border: none;
    padding: 0;
}

.fees-header .section-subtitle::before, 
.fees-header .section-subtitle::after { 
    content: ''; 
    display: block; 
    width: 30px; 
    height: 1px; 
    background: rgba(255, 255, 255, 0.4); 
}

/* Main Heading matched to Space Mono typography */
.fees-header .section-title { 
    font-family: 'Space Mono', monospace; 
    font-size: 42px; 
    line-height: 1.2; 
    font-weight: 700; 
    color: #ffffff;
    letter-spacing: -0.5px; 
    margin-bottom: 16px;
}

.fees-header .highlight-text { 
    color: #d59654; 
    font-family: 'Space Mono', monospace;
    font-weight: 700; 
    text-shadow: 0 0 20px rgba(213, 150, 84, 0.3);
}

.fees-header .section-desc { 
    font-family: 'Space Mono', monospace;
    font-size: 15px; 
    color: #a0aec0; 
    max-width: 650px; 
    margin: 0 auto; 
    line-height: 1.6; 
}

/* --- Pricing Cards & Entrance Animations --- */
.pricing-cards { 
    display: flex; 
    gap: 30px; 
    margin-bottom: 30px; 
}

.pricing-card { 
    flex: 1; 
    background: linear-gradient(145deg, rgba(10, 46, 31, 0.8) 0%, rgba(5, 28, 18, 0.95) 100%); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05); 
    border-radius: 16px; 
    padding: 40px 35px; 
    position: relative; 
    overflow: hidden; 
    opacity: 0; 
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Staggered load in */
.pricing-card:nth-child(1) { animation: cardEntrance 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards; }
.pricing-card:nth-child(2) { animation: cardEntrance 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards; }

@keyframes cardEntrance { 
    from { opacity: 0; transform: translateY(50px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Top Accent Line - Expands from center on hover */
.pricing-card::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 50%; 
    transform: translateX(-50%);
    width: 0%; 
    height: 4px; 
    background: linear-gradient(90deg, transparent, #d59654, transparent); 
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* Glassmorphic Shine/Glare Effect */
.pricing-card::after {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: left 0.7s ease;
    z-index: 1;
    pointer-events: none;
}

/* --- Card Hover Effects --- */
.pricing-card:hover { 
    transform: translateY(-12px) scale(1.02); 
    border-color: rgba(213, 150, 84, 0.4); 
    background: linear-gradient(145deg, rgba(14, 56, 38, 0.9) 0%, rgba(5, 28, 18, 0.95) 100%);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(213, 150, 84, 0.15); 
    z-index: 10; 
}

.pricing-card:hover::before { width: 100%; }
.pricing-card:hover::after { left: 200%; }
.pricing-card:hover .pricing-header { transform: translateX(8px); }

/* --- Card Content Styles --- */
.pricing-header { 
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
    padding-bottom: 25px; 
    margin-bottom: 25px; 
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
    position: relative;
    z-index: 2;
}

.pricing-header .duration { 
    font-size: 18px; 
    color: #d59654; 
    margin-bottom: 10px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    transition: color 0.4s ease;
}

/* Animated Gradient Price Text */
.pricing-header .price { 
    font-size: 56px; 
    font-weight: 700; 
    display: flex; 
    align-items: baseline; 
    gap: 8px; 
    background: linear-gradient(to right, #ffffff 0%, #d59654 50%, #ffffff 100%); 
    background-size: 200% auto;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    transition: background-position 0.6s ease;
}

.pricing-card:hover .pricing-header .price {
    background-position: right center;
}

.pricing-header .price span { 
    font-size: 14px; 
    font-weight: 400; 
    color: #a0aec0; 
    -webkit-text-fill-color: #a0aec0; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

.pricing-body { position: relative; z-index: 2; }

.pricing-body .best-for { 
    color: #d59654; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 12px; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.pricing-body .best-for::before { 
    content: ''; 
    display: inline-block; 
    width: 20px; 
    height: 1px; 
    background-color: #d59654; 
    transition: width 0.4s ease;
}

.pricing-card:hover .pricing-body .best-for::before {
    width: 35px;
}

.pricing-body .plan-desc { 
    font-family: 'Inter', sans-serif;
    font-size: 15px; 
    color: #a0aec0; 
    line-height: 1.7; 
    transition: color 0.4s ease;
}

.pricing-card:hover .pricing-body .plan-desc {
    color: #ffffff;
}

/* --- Footer & Terms --- */
.fees-footer { 
    background: linear-gradient(to right, rgba(10, 46, 31, 0.8), rgba(5, 28, 18, 0.4)); 
    border-top: 1px solid rgba(213, 150, 84, 0.2); 
    border-left: 4px solid #d59654; 
    padding: 30px 40px; 
    border-radius: 0 16px 16px 0; 
    opacity: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: cardEntrance 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.fees-footer:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.payment-methods { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    padding-bottom: 20px; 
    margin-bottom: 20px; 
}

.payment-methods p { 
    font-size: 14px; 
    color: #ffffff; 
}

.payment-methods strong { 
    color: #d59654; 
    font-weight: 700; 
}

.payment-icons { 
    display: flex; 
    gap: 20px; 
    font-size: 32px; 
    color: #6a8275; 
}

/* Payment Icons bounce animation */
.payment-icons i {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.payment-icons i:hover { 
    color: #d59654; 
    transform: scale(1.2) translateY(-5px);
    filter: drop-shadow(0 5px 10px rgba(213, 150, 84, 0.4));
}

.disclaimer { 
    font-family: 'Inter', sans-serif;
    font-size: 14px; 
    color: #a0aec0; 
    line-height: 1.8; 
}

/* --- Responsive Design --- */
@media (max-width: 900px) { 
    .pricing-cards { flex-direction: column; } 
    .payment-methods { flex-direction: column; align-items: flex-start; gap: 15px; } 
}

@media (max-width: 768px) { 
    .fees-section { padding: 40px 5%; } 
    .fees-header .section-title { font-size: 34px; } 
    .pricing-card { padding: 35px 25px; } 
    .fees-footer { padding: 25px 20px; border-radius: 0 12px 12px 0; } 
}

/* =========================================
   TRUST / CREDIBILITY SECTION
   ========================================= */
/* =========================================
   TRUST / CREDIBILITY SECTION STYLES
   ========================================= */
.trust-section { 
    background: linear-gradient(135deg, rgba(10, 46, 31, 0.92) 0%, rgba(5, 28, 18, 0.85) 100%), url('../images/TRUST-CREDIBILITY.jpg') center/cover no-repeat; 
    background-attachment: fixed; 
    padding: clamp(60px, 8vw, 100px) 5%; 
    font-family: 'Space Mono', monospace; 
    position: relative; 
    overflow: hidden; 
}

.trust-container { 
    max-width: 1250px; 
    margin: 0 auto; 
    position: relative; 
    z-index: 2; 
}

/* --- Matched Header Styles --- */
.trust-header { 
    text-align: center; 
    margin-bottom: 50px; 
    animation: fadeDown 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Sleek Subtitle with lines */
.trust-header .section-subtitle { 
    color: #ffffff; 
    font-size: 12px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 18px; 
    opacity: 0.8; 
}

.trust-header .section-subtitle::before, 
.trust-header .section-subtitle::after { 
    content: ''; 
    display: block; 
    width: 30px; 
    height: 1px; 
    background: rgba(255, 255, 255, 0.4); 
}

.trust-header .section-title { 
    font-size: 42px; 
    line-height: 1.2; 
    font-weight: 700; 
    color: #ffffff;
    letter-spacing: -0.5px; 
}

.trust-header .highlight-text { 
    color: #d59654; 
    font-weight: 700; 
    text-shadow: 0 0 20px rgba(213, 150, 84, 0.3);
}

/* --- 3D Grid & Card Setup --- */
.trust-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px; 
}

.flip-card { 
    background-color: transparent; 
    height: 280px; 
    perspective: 1500px; /* Increased perspective for a deeper 3D effect */
    opacity: 0; 
}

/* Staggered Pop-In Entrance */
.flip-card:nth-child(1) { animation: popInCard 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.1s; }
.flip-card:nth-child(2) { animation: popInCard 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.2s; }
.flip-card:nth-child(3) { animation: popInCard 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.3s; }
.flip-card:nth-child(4) { animation: popInCard 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.4s; }

@keyframes popInCard { 
    0% { opacity: 0; transform: translateY(40px) scale(0.9); } 
    100% { opacity: 1; transform: translateY(0) scale(1); } 
}

/* --- Inner Card & Spring Animation --- */
.flip-card-inner { 
    position: relative; 
    width: 100%; 
    height: 100%; 
    text-align: center; 
    /* Spring-like cubic bezier makes the flip feel incredibly smooth and tactile */
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); 
    transform-style: preserve-3d; 
}

/* Floats up slightly while flipping */
.flip-card:hover .flip-card-inner { 
    transform: rotateY(180deg) scale(1.05); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.flip-card-front, .flip-card-back { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden; 
    border-radius: 16px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    padding: 25px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* --- Premium Glassmorphic Front --- */
.flip-card-front { 
    background: rgba(10, 46, 31, 0.3); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05); 
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* Top light reflection */
    border-bottom: 3px solid #d59654; /* Gold accent line at the bottom */
}

.flip-card-front i { 
    font-size: 38px; 
    color: #d59654; 
    margin-bottom: 18px; 
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.5s ease; 
}

.flip-card-front h3 { 
    font-size: 16px; 
    color: #ffffff; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    line-height: 1.5; 
    font-weight: 700;
}

.flip-card:hover .flip-card-front i { 
    transform: translateY(-10px) scale(1.15); 
    filter: drop-shadow(0 10px 15px rgba(213, 150, 84, 0.5));
}

/* --- Metallic Gradient Back --- */
.flip-card-back { 
    background: linear-gradient(135deg, #d59654 0%, #a87238 100%); /* Rich metallic gradient */
    color: #051c12; 
    transform: rotateY(180deg); 
    border: 1px solid #ffcca3; 
}

.flip-card-back p { 
    font-family: 'Inter', sans-serif;
    font-size: 14px; 
    line-height: 1.7; 
    font-weight: 600; 
    margin: 0;
}

.flip-card-back p strong {
    font-weight: 800;
    font-size: 15px;
    color: #000000;
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) { 
    .trust-grid { grid-template-columns: repeat(2, 1fr); } 
}

@media (max-width: 600px) { 
    .trust-section { padding: 60px 5%; background-attachment: scroll; } 
    .trust-header .section-title { font-size: 32px; } 
    .trust-grid { grid-template-columns: 1fr; } 
    .flip-card { height: 240px; } 
    /* Ensures the card flips on mobile tap */
    .flip-card:active .flip-card-inner { transform: rotateY(180deg) scale(1.02); }
}

/* =========================================
   CTA BANNER
   ========================================= */
/* =========================================
   CALL TO ACTION BANNER STYLES & ANIMATIONS
   ========================================= */
.callback-section-full { 
    width: 100%; 
    background-color: #051c12; 
    overflow: hidden;
}

.callback-wrapper-full { 
    display: flex; 
    width: 100%; 
    min-height: 500px; 
}

/* --- Image Column & Hover Zoom --- */
.image-column { 
    flex: 0 0 50%; 
    position: relative;
    overflow: hidden;
}

/* Gradient overlay to blend the image seamlessly into the right column */
.image-column::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(10, 46, 31, 0.1), #0a2e1f);
    pointer-events: none;
    z-index: 1;
}

.image-column img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    /* Smooth, cinematic transition for the zoom */
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* Image scales up smoothly when the user hovers anywhere over the section */
.callback-wrapper-full:hover .image-column img {
    transform: scale(1.08);
}

/* --- Content Column --- */
.form-column { 
    flex: 0 0 50%; 
    background: #0a2e1f; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 80px 10%; 
    color: #ffffff; 
    position: relative;
    z-index: 2;
}

/* Entrance Animation for the text */
.form-content { 
    width: 100%; 
    max-width: 600px; 
    animation: slideInRight 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.cta-headline { 
    font-size: clamp(34px, 4vw, 46px); 
    line-height: 1.2; 
    margin-bottom: 20px; 
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cta-headline .highlight-text {
    color: #d59654;
    text-shadow: 0 0 20px rgba(213, 150, 84, 0.3);
}

.form-content p { 
    font-size: 16px; 
    color: #a0aec0; 
    margin-bottom: 40px; 
    font-family: 'Space Mono', monospace; 
    line-height: 1.7;
}

/* --- Premium Animated Button --- */
.btn-primary { 
    background: #d59654; 
    color: #051c12; 
    padding: 18px 45px; 
    text-decoration: none; 
    font-weight: 700; 
    border-radius: 6px; 
    display: inline-flex; 
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
    font-family: 'Space Mono', monospace; 
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: 2px solid #d59654;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Shiny sweep effect inside the button */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.6s ease;
}

/* Hover state turns the button transparent with a gold glow */
.btn-primary:hover { 
    background: transparent; 
    color: #d59654; 
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(213, 150, 84, 0.25);
}

/* Triggers the shiny sweep */
.btn-primary:hover::before {
    left: 100%;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) { 
    .callback-wrapper-full { flex-direction: column; } 
    .image-column { flex: none; height: 350px; width: 100%; } 
    
    /* Change gradient direction so it fades into the bottom section */
    .image-column::after {
        background: linear-gradient(to bottom, transparent, #0a2e1f);
    }

    .form-column { flex: none; width: 100%; padding: 60px 5%; text-align: center; } 
    .form-content { margin: 0 auto; }
}
/* =========================================
   INTAKE FORM
   ========================================= */
/* =========================================
   CONSULTATION INQUIRY - PREMIUM GLASSMORPHISM
   ========================================= */
/* ========================================================
   PREMIUM INTAKE SECTION (Animations & Modern Form)
   ======================================================== */
.split-intake-section { 
    padding: clamp(80px, 8vw, 120px) 5%; 
    background: linear-gradient(135deg, rgba(5, 26, 17, 0.95), rgba(3, 14, 9, 0.98)), url('../images/fee.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    color: #ffffff; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-family: 'Inter', sans-serif; 
    position: relative;
    overflow: hidden;
}

/* Ambient Ambient Glow */
.split-intake-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(213, 150, 84, 0.12) 0%, transparent 65%);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

.split-intake-container { 
    width: 100%; 
    max-width: 1250px; 
    margin: 0 auto; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 60px; 
    position: relative;
    z-index: 1;
}

/* --- Left Side Typography --- */
.intake-text-side { 
    flex: 1; 
    max-width: 500px; 
    animation: slideInLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

.sub-heading { 
    color: #d59654; 
    font-weight: 700; 
    font-size: 12px; 
    letter-spacing: 4px; 
    text-transform: uppercase; 
    margin-bottom: 20px; 
    font-family: 'Space Mono', monospace; 
    display: flex; 
    align-items: center;
    gap: 15px;
}

.sub-heading::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: rgba(213, 150, 84, 0.5);
}

.intake-text-side h2 { 
    font-size: clamp(38px, 4.5vw, 52px); 
    line-height: 1.15;
    margin: 0 0 20px 0; 
    font-family: 'Space Mono', monospace; 
    font-weight: 700;
    letter-spacing: -1px;
}

.intro-text { 
    color: #a0aec0; 
    line-height: 1.8; 
    font-size: 16px; 
    margin-bottom: 25px; 
}

/* --- Right Side: Hover-Animated Glass Card --- */
.intake-form-side { 
    flex: 1.2; 
    max-width: 600px; 
    width: 100%; 
    animation: slideInRight 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    perspective: 1000px; /* Enables 3D tilt space */
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-glass-card { 
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%); 
    backdrop-filter: blur(24px); 
    -webkit-backdrop-filter: blur(24px);
    padding: 45px 40px; 
    border-radius: 20px; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(213, 150, 84, 0.05); 
    width: 100%; 
    box-sizing: border-box;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

/* Premium 3D Hover Lift Effect */
.form-glass-card:hover {
    transform: translateY(-8px) scale(1.01) rotateX(2deg) rotateY(-2deg);
    box-shadow: 20px 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(213, 150, 84, 0.1); 
    border: 1px solid rgba(213, 150, 84, 0.3);
}

/* --- Form Fields: Floating Labels & Animated Borders --- */
.form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-bottom: 25px; 
}

.input-group { 
    position: relative; 
    margin-bottom: 25px; 
    width: 100%;
}
.input-group.full-width { margin-bottom: 30px; }

/* Base Input Styling */
.input-group input, 
.input-group select, 
.input-group textarea { 
    background: rgba(0, 0, 0, 0.25); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 24px 18px 10px 18px; /* Extra top padding for the floating label */
    border-radius: 10px; 
    color: #ffffff; 
    width: 100%; 
    font-size: 14px; 
    transition: all 0.3s ease; 
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Select specific tweaks */
.select-group select { padding: 17px 18px; color: #a0aec0; }
.select-group select:focus, .select-group select:valid { color: #ffffff; }
.input-group select option { background: #061c13; color: #ffffff; padding: 10px; }

/* Focus Background States */
.input-group input:hover, .input-group textarea:hover, .input-group select:hover {
    background: rgba(0, 0, 0, 0.4);
}
.input-group input:focus, .input-group textarea:focus, .input-group select:focus { 
    background: rgba(0, 0, 0, 0.6);
    outline: none; 
}

/* --- Floating Label Magic --- */
.input-group label { 
    position: absolute;
    top: 17px;
    left: 18px;
    font-size: 13px; 
    color: #a0aec0; 
    font-family: 'Space Mono', monospace;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* When input is focused, or NOT empty (placeholder hidden), float the label up */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: 6px;
    font-size: 9px;
    color: #d59654;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Animated Focus Bottom Border --- */
.input-glow-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d59654;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(213, 150, 84, 0.5);
    border-radius: 0 0 10px 10px;
}

.input-group input:focus ~ .input-glow-line,
.input-group textarea:focus ~ .input-glow-line,
.input-group select:focus ~ .input-glow-line {
    width: 100%;
}

/* --- Liquid Gradient Submit Button --- */
.submit-btn { 
    position: relative; 
    background: linear-gradient(90deg, #d59654, #f3b97b, #d59654); 
    background-size: 200% auto;
    color: #030e09; 
    border: none; 
    padding: 18px; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    width: 100%; 
    border-radius: 10px;
    cursor: pointer; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
    margin-top: 10px; 
    font-family: 'Space Mono', monospace; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn:hover { 
    background-position: right center;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(213, 150, 84, 0.4);
    color: #000;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(8px);
}

.form-note {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #718096;
    text-align: center;
    margin-top: 15px;
    opacity: 0.8;
}

.success-icon-glow {
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0% { filter: drop-shadow(0 0 10px rgba(213, 150, 84, 0.2)); }
    50% { filter: drop-shadow(0 0 25px rgba(213, 150, 84, 0.7)); }
    100% { filter: drop-shadow(0 0 10px rgba(213, 150, 84, 0.2)); }
}

/* --- Responsive Design --- */
@media (max-width: 992px) { 
    .split-intake-container { 
        flex-direction: column; 
        text-align: left; 
        gap: 50px; 
    } 
    .intake-text-side { 
        max-width: 100%; 
        text-align: center;
    } 
    .sub-heading { justify-content: center; }
    .sub-heading::before { display: none; }
    .intro-text { margin: 0 auto 25px auto; }
    .intake-form-side { max-width: 100%; } 
}

@media (max-width: 650px) { 
    .split-intake-section { padding: 60px 5%; } 
    .form-glass-card { padding: 35px 25px; border-radius: 16px; } 
    .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; } 
    .intake-text-side h2 { font-size: 32px; } 
    .form-glass-card:hover { transform: none; /* Disable 3D tilt on mobile for UX */ }
}




/* =========================================
   CONTACT SECTION
   ========================================= */
/* ==========================================================================
   UNIFIED GLASSMORPHIC CONTACT SECTION
   ========================================================================== */
.unified-contact-section {
    position: relative;
    background: linear-gradient(rgba(5, 28, 18, 0.9), rgba(2, 14, 8, 0.95)), url(../images/contact.jpg) center/cover no-repeat;
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    min-height: 90vh;
}

/* --- Animated Ambient Orbs --- */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 8s ease-in-out infinite alternate;
}
.orb-top-right { width: 450px; height: 450px; background: #10b981; top: -100px; right: -50px; }
.orb-bottom-left { width: 400px; height: 400px; background: #d59654; bottom: -100px; left: -100px; animation-delay: -3s; }

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 40px) scale(1.05); }
}

/* --- Main Unified Glass Card --- */
.unified-glass-card {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px; 
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* --- Left Column: Dark Inset Panel --- */
.contact-info-panel {
    flex: 0 0 40%;
    background: #030e09; 
    border-radius: 16px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.highlight-heading {
    font-size: clamp(34px, 4vw, 44px); 
    font-weight: 800; 
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
    
    background: linear-gradient(135deg, #ffffff 0%, #d59654 50%, #f3b97b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 10px 20px rgba(213, 150, 84, 0.3));
}

.intro-paragraph {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}

/* --- Right Column: Minimal Underline Form --- */
.contact-form-panel {
    flex: 1;
    padding: 50px 40px 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.underline-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Minimal Line Inputs */
.input-wrap {
    display: flex;
    flex-direction: column;
    position: relative;
}

.input-wrap label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 5px;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 14px;
    padding: 5px 0 10px 0;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

/* Option styling for dropdown */
.input-wrap select option { background: #051c12; color: #ffffff; }
.input-wrap select:invalid { color: rgba(255, 255, 255, 0.5); }

/* Message box slightly taller */
.input-wrap textarea {
    resize: none;
    min-height: 30px;
}

/* Focus Highlight */
.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
    border-bottom: 1px solid #d59654;
}

/* --- Submit Button (Right Aligned) --- */
.submit-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.gold-submit-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gold-submit-btn:hover {
    background: #d59654;
    border-color: #d59654;
    color: #030e09;
    box-shadow: 0 10px 20px rgba(213, 150, 84, 0.3);
    transform: translateY(-2px);
}

/* --- Entry Animations --- */
.fade-in-up { opacity: 0; transform: translateY(40px); animation: fadeInUpGlass 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeInUpGlass { to { opacity: 1; transform: translateY(0); } }

/* --- Responsive Design --- */
@media (max-width: 850px) {
    .unified-glass-card {
        flex-direction: column;
        padding: 0;
        overflow: hidden;
    }
    
    .contact-info-panel {
        border-radius: 20px 20px 0 0;
        padding: 50px 40px;
        text-align: center;
    }
    
    .contact-form-panel {
        padding: 40px;
    }
    
    .form-row-split {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .unified-contact-section { padding: 80px 5%; }
    .contact-info-panel, .contact-form-panel { padding: 30px 20px; }
    .highlight-heading { font-size: 32px; }
}

/* =========================================
   FOOTER
   ========================================= */
/* ==========================================================================
   PAPRSKY ADVISORY FOOTER STYLES
   ========================================================================== */
.paprsky-footer { 
    position: relative; 
    /* Background image with deep dark green gradient overlay */
    background: linear-gradient(rgba(3, 11, 7, 0.95), rgba(2, 6, 4, 0.98)), url(../images/footer.jpg) center/cover no-repeat; 
    color: #ffffff; 
    font-family: 'Inter', sans-serif; 
    width: 100%; 
    overflow: hidden;
}

.footer-container { 
    position: relative; 
    z-index: 1; 
    width: 85%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 70px 0 20px; 
}

.footer-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    flex-wrap: wrap; 
    gap: 50px; 
}

.footer-header-align { 
    min-height: 40px; 
    display: flex; 
    align-items: center; 
    margin: 0 0 20px 0; 
}

/* --- Brand Section --- */
.footer-brand { 
    flex: 1.5 1 300px; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
}

/* Exact Image Logo Styling */
.footer-logo-img {
    max-width: 220px; 
    height: auto;
    max-height: 70px;
    display: block;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3)); 
    transition: transform 0.4s ease;
}

.footer-logo-img:hover {
    transform: scale(1.03); 
}

.footer-tagline { 
    color: #cbd5e1; 
    font-size: 15px; 
    line-height: 1.7; 
    margin: 0; 
    font-weight: 300; 
}

/* --- Link Columns --- */
.footer-links { 
    flex: 1 1 200px; 
}

.footer-links h4.footer-header-align { 
    gap: 10px; 
    color: #d59654; /* Gold accent color */
    font-size: 14px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: 700; 
}

.footer-links h4 i {
    font-size: 16px;
}

.footer-links ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.footer-links a { 
    color: #94a3b8; 
    text-decoration: none; 
    font-size: 14px; 
    font-weight: 400; 
    transition: all 0.3s ease; 
    display: inline-flex; 
    align-items: center; 
}

/* Custom FontAwesome angle-right arrow for links */
.footer-links a::before { 
    content: '\f105'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px; 
    color: #d59654; 
    margin-right: 12px; 
    transition: transform 0.3s ease; 
}

.footer-links a:hover { 
    color: #ffffff; 
    transform: translateX(6px); 
}

/* --- Bottom Copyright Bar --- */
.footer-bottom { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding-top: 30px; 
    margin-top: 50px; 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    text-align: center; 
}

.footer-bottom p { 
    color: #64748b; 
    font-size: 13px; 
    margin: 0; 
    font-weight: 400; 
    letter-spacing: 0.5px; 
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries for all screens)
   ========================================================================== */

/* Tablets / Smaller Desktops */
@media (max-width: 992px) { 
    .footer-container { 
        width: 90%; 
        padding: 60px 0 20px; 
    } 
    .footer-content { 
        gap: 40px; 
    } 
}

/* Mobile Devices */
@media (max-width: 768px) { 
    .footer-content { 
        flex-direction: column; 
        gap: 35px; 
    } 
    .footer-brand { 
        width: 100%; 
        flex: none; 
    } 
    .footer-header-align { 
        margin-bottom: 12px; 
        min-height: auto; 
    } 
}

/* Small Mobile Devices */
@media (max-width: 480px) { 
    .footer-container { 
        padding: 50px 0 20px; 
    } 
    .footer-logo-img {
        max-width: 160px; /* Shrinks the logo on small phones */
    }
    .footer-tagline {
        font-size: 14px;
    }
    .footer-links h4.footer-header-align {
        font-size: 13px;
    }
    .footer-bottom p {
        font-size: 12px;
    }
}