/* Fonts loaded efficiently in header.php */
:root {
    /* Brand Colors */
    --primary-navy: #143c5a;
    --primary-navy-dark: #0b2233;
    --primary-cream: #fafae6;
    
    /* Neobank Concept Accents */
    --accent-gold: #E5C365; 
    --accent-gold-light: #FBEFCD;
    --accent-emerald: #059669; 
    --whatsapp-green: #25D366;
    
    /* Neutrals */
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    
    /* Shadows & Transitions */
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.04);
    --shadow-neo: 0 10px 40px rgba(20, 60, 90, 0.08);
    --shadow-hover: 0 20px 40px rgba(20, 60, 90, 0.15);
    --shadow-glass: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-navy);
    transition: var(--transition-smooth);
}

ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* --- Base Animations --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-soft {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-navy), #1e5c8a);
    color: #fff;
    box-shadow: 0 4px 15px rgba(20, 60, 90, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 60, 90, 0.4);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-navy);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid rgba(20,60,90,0.1);
}

.btn-secondary:hover {
    background-color: var(--primary-cream);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.btn-whatsapp-navbar {
    background-color: var(--whatsapp-green);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    animation: pulse-soft 2s infinite;
}

.btn-whatsapp-navbar:hover {
    background-color: #1ebc5a;
    color: #fff;
    transform: scale(1.05);
}

/* --- Navigation --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.brand-logo img {
    height: 55px; /* Slightly larger log */
    width: auto;
    transition: var(--transition-smooth);
}
.brand-logo:hover img { transform: scale(1.02); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a:not(.btn) {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-links a:not(.btn):hover { color: var(--primary-navy); }
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-gold));
    transition: var(--transition-smooth);
    border-radius: 3px;
}

.nav-links a:not(.btn):hover::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    background: rgba(20,60,90,0.05);
    border: none;
    font-size: 1.5rem;
    color: var(--primary-navy);
    cursor: pointer;
    width: 45px; height: 45px;
    border-radius: 10px;
    align-items: center; justify-content: center;
}

/* --- Hero Section with Neobank Aesthetic --- */
.hero {
    padding: 140px 0 100px;
    position: relative;
    background-color: var(--bg-white);
    background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.95)), url('../images/hero_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

/* Abstract Background Shapes */
.hero::before {
    content: ''; position: absolute;
    top: -10%; right: -5%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(20,60,90,0.08) 0%, rgba(20,60,90,0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.hero::after {
    content: ''; position: absolute;
    bottom: -10%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(229,195,101,0.15) 0%, rgba(229,195,101,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 4.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--primary-navy);
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--accent-gold), #b89a42);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-text h1 span::after {
    content: ''; position: absolute;
    width: 100%; height: 12px;
    background-color: var(--accent-gold-light);
    bottom: 10px; left: 0; z-index: -1;
    transform: rotate(-1deg);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons { display: flex; gap: 20px; }

/* Premium Bill Animation in Hero */
.hero-image {
    position: relative;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

/* --- Bill Showcase Container --- */
.bill-showcase {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* --- Shimmer Orbs --- */
.bill-shimmer {
    position: absolute;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(229,195,101,0.25) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: shimmer-pulse 4s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}
.bill-shimmer-2 {
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(20,60,90,0.1) 0%, transparent 70%);
    animation: shimmer-pulse 5s ease-in-out infinite reverse;
    animation-delay: 1s;
}

@keyframes shimmer-pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}

/* --- Bill Stage (3D perspective container) --- */
.bill-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 2.2 / 1;
    perspective: 1200px;
    z-index: 2;
}

.bill-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* --- Individual Bill Images --- */
.bill-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2)) drop-shadow(0 5px 15px rgba(0,0,0,0.1));
    
    /* Hidden by default */
    opacity: 0;
    transform: translateY(30px) rotateX(8deg) rotateY(-15deg) rotateZ(2deg) scale(0.85);
    transition: none;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Active bill: visible + floating animation */
.bill-img.active {
    opacity: 1;
    transform: translateY(0) rotateX(0) rotateY(0) rotateZ(0) scale(1);
    animation: bill-float 6s ease-in-out infinite;
    pointer-events: auto;
}

/* Bill entering: swoops in with a paper flutter */
.bill-img.entering {
    animation: bill-enter 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Bill leaving: flutters out */
.bill-img.leaving {
    animation: bill-leave 0.8s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

/* --- KEYFRAMES: Organic paper-like floating --- */
@keyframes bill-float {
    0% {
        transform: translateY(0px) rotateX(2deg) rotateY(-3deg) rotateZ(0.5deg);
    }
    15% {
        transform: translateY(-8px) rotateX(-1deg) rotateY(2deg) rotateZ(-0.8deg);
    }
    30% {
        transform: translateY(-14px) rotateX(3deg) rotateY(-1deg) rotateZ(1.2deg);
    }
    50% {
        transform: translateY(-10px) rotateX(-2deg) rotateY(4deg) rotateZ(-0.5deg);
    }
    65% {
        transform: translateY(-16px) rotateX(1.5deg) rotateY(-2deg) rotateZ(0.8deg);
    }
    80% {
        transform: translateY(-6px) rotateX(-1deg) rotateY(1deg) rotateZ(-1deg);
    }
    100% {
        transform: translateY(0px) rotateX(2deg) rotateY(-3deg) rotateZ(0.5deg);
    }
}

/* --- KEYFRAMES: Bill enters with paper flutter --- */
@keyframes bill-enter {
    0% {
        opacity: 0;
        transform: translateX(80px) translateY(40px) rotateX(15deg) rotateY(-25deg) rotateZ(8deg) scale(0.7);
    }
    30% {
        opacity: 0.7;
        transform: translateX(-10px) translateY(-10px) rotateX(-5deg) rotateY(10deg) rotateZ(-3deg) scale(1.02);
    }
    60% {
        opacity: 1;
        transform: translateX(5px) translateY(-5px) rotateX(3deg) rotateY(-4deg) rotateZ(1.5deg) scale(0.98);
    }
    80% {
        transform: translateX(-2px) translateY(2px) rotateX(-1deg) rotateY(2deg) rotateZ(-0.5deg) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotateX(2deg) rotateY(-3deg) rotateZ(0.5deg) scale(1);
    }
}

/* --- KEYFRAMES: Bill leaves with paper flutter --- */
@keyframes bill-leave {
    0% {
        opacity: 1;
        transform: translateY(0) rotateX(2deg) rotateY(-3deg) rotateZ(0.5deg) scale(1);
    }
    30% {
        opacity: 0.8;
        transform: translateY(-10px) rotateX(-5deg) rotateY(8deg) rotateZ(-3deg) scale(1.03);
    }
    60% {
        opacity: 0.4;
        transform: translateX(-60px) translateY(20px) rotateX(10deg) rotateY(-20deg) rotateZ(6deg) scale(0.85);
    }
    100% {
        opacity: 0;
        transform: translateX(-120px) translateY(50px) rotateX(15deg) rotateY(-30deg) rotateZ(10deg) scale(0.6);
    }
}

/* --- Currency Label --- */
.bill-label {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.bill-currency-code {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary-navy);
    letter-spacing: 2px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bill-currency-name {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bill-label.transitioning .bill-currency-code,
.bill-label.transitioning .bill-currency-name {
    opacity: 0;
    transform: translateY(10px);
}

/* --- Progress Dots --- */
.bill-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    position: relative;
    z-index: 2;
}

.bill-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(20,60,90,0.15);
    transition: all 0.4s ease;
    cursor: pointer;
}
.bill-dot.active {
    background: var(--accent-gold);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(229,195,101,0.4);
}

.snippet-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(20,60,90,0.1);
    padding-bottom: 15px;
}

.snippet-header h3 {
    font-size: 1.5rem;
    display: flex; align-items: center; gap: 10px;
}

.pulse-indicator {
    background-color: rgba(5, 150, 105, 0.1);
    color: var(--accent-emerald);
    padding: 6px 14px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem; font-weight: 800;
    display: flex; align-items: center; gap: 6px;
}
.pulse-indicator::before {
    content: ''; width: 8px; height: 8px; 
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
    animation: pulse-soft 2s infinite;
}

.snippet-body {
    display: flex; justify-content: space-between;
    position: relative;
}

.snippet-body::after {
    content: ''; position: absolute;
    width: 1px; height: 100%;
    background: rgba(20,60,90,0.1);
    left: 50%; top: 0;
}

.rate-col { display: flex; flex-direction: column; width: 45%; }
.rate-col small { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.rate-col strong { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--primary-navy); }

/* --- Section Titles --- */
.section-title { margin-bottom: 70px; }
.section-title h2 { font-size: 3rem; margin-bottom: 20px; letter-spacing: -1px; }
.section-title p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

/* --- Rates Dashboard Section --- */
.rates-section { padding: 120px 0; background-color: var(--bg-light); position: relative; overflow: hidden;}
.rates-section::before {
    content: ''; position: absolute;
    top: 50%; left: -10%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(229,195,101,0.08) 0%, rgba(229,195,101,0) 70%);
    border-radius: 50%; z-index: 0; pointer-events: none;
}

.currency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.currency-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(20,60,90,0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.currency-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--primary-navy), var(--accent-gold));
    transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s ease;
}

.currency-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(229,195,101,0.3);
}

.currency-card:hover::before { transform: scaleY(1); }

.currency-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(20,60,90,0.08);
}

.currency-flag-img {
    width: 45px; height: 34px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.currency-title {
    display: flex;
    flex-direction: column;
}

.currency-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-navy);
    line-height: 1.2;
}

.currency-code {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-top: 3px;
}

.currency-rates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
}

.currency-rates::after {
    content: ''; position: absolute;
    width: 1px; height: 80%;
    background: rgba(20,60,90,0.08);
    left: 50%; top: 10%;
}

.rate-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rate-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rate-box.buy .rate-label i { color: var(--accent-emerald); }
.rate-box.sell .rate-label i { color: var(--accent-gold); }

.rate-value {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
}

.rate-box.buy .rate-value { color: var(--accent-emerald); }
.rate-box.sell .rate-value { color: var(--primary-navy); }

.rates-disclaimer {
    padding: 20px; text-align: center;
    font-size: 0.9rem; color: var(--text-muted);
    background-color: transparent; margin-top: 40px;
    position: relative; z-index: 1;
}

.rates-disclaimer a { text-decoration: underline; color: var(--primary-navy); font-weight: 600; }

/* --- Services Section --- */
.services-section { padding: 120px 0; background: var(--bg-white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 24px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.5);
    position: relative; overflow: hidden;
}

.service-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-gold));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: var(--bg-white);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, rgba(20,60,90,0.1), rgba(20,60,90,0.02));
    color: var(--primary-navy);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--primary-navy); color: var(--primary-cream);
    transform: rotate(5deg) scale(1.1);
}

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

/* --- WhatsApp Sticky --- */
.whatsapp-sticky {
    position: fixed; bottom: 40px; right: 40px;
    background-color: var(--whatsapp-green); color: white;
    width: 65px; height: 65px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 35px; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000; transition: var(--transition-smooth);
    animation: float 4s ease-in-out infinite;
}

.whatsapp-sticky:hover {
    transform: scale(1.15) translateY(-5px);
    background-color: #1DA851; animation-play-state: paused;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--primary-navy-dark); color: #cbd5e1;
    padding-top: 100px; position: relative; overflow: hidden;
}

.footer-container {
    display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px;
    margin-bottom: 60px; position: relative; z-index: 1;
}

.footer-logo { height: 70px; width: auto; margin-bottom: 25px; filter: brightness(0) invert(1); }
.footer-about p { margin-bottom: 25px; font-size: 1.05rem; line-height: 1.8; color: #94a3b8; }

.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; background-color: rgba(255,255,255,0.05); color: #fff;
    border-radius: 12px; margin-right: 12px; transition: var(--transition-smooth);
}
.social-links a:hover { background-color: var(--accent-gold); transform: translateY(-3px); }

.footer-links h3, .footer-contact h3 {
    color: #fff; margin-bottom: 30px; font-size: 1.3rem; letter-spacing: 0.5px;
}

.footer-links ul li { margin-bottom: 16px; }
.footer-links ul li a { color: #94a3b8; font-family: 'Outfit', sans-serif; font-size: 1.05rem; }
.footer-links ul li a:hover { color: var(--accent-gold); padding-left: 8px; }

.footer-contact ul li { margin-bottom: 20px; display: flex; gap: 15px; color: #94a3b8; font-size: 1.05rem; }
.footer-contact ul li i { color: var(--accent-gold); margin-top: 5px; font-size: 1.2rem; }

.map-container { border-top: 1px solid rgba(255,255,255,0.05); }

.footer-bottom {
    background-color: #041018; padding: 30px 0; text-align: center; color: #94a3b8; font-size: 0.95rem; font-family: 'Outfit', sans-serif;
}
.footer-bottom a { text-decoration: underline; color: #cbd5e1; }

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3.5rem; }
    .hero-content { gap: 40px; }
}

@media (max-width: 900px) {
    .nav-links {
        display: none; position: absolute; top: 90px; left: 0; width: 100%;
        background-color: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
        flex-direction: column; padding: 30px; box-shadow: var(--shadow-neo); text-align: center;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: flex; }
    
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-text p { margin: 0 auto 40px; }
    .hero-image { margin-top: 50px; }
    .bill-showcase { max-width: 340px; }
    .bill-stage { aspect-ratio: 2 / 1; }
    
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .whatsapp-sticky { bottom: 20px; right: 20px; width: 55px; height: 55px; font-size: 30px; }
}

@media (max-width: 600px) {
    .hero-text h1 { font-size: 2.8rem; }
    .rates-table-container { padding: 0; border-radius: 12px; }
    .rates-table th { display: none; /* Hide headers on very small screens, keep card layout */ }
    .rates-table tbody tr { display: flex; flex-direction: column; border-bottom: 1px solid #eee; border-radius: 0; box-shadow: none; margin-bottom: 15px;}
    .rates-table td { padding: 15px; text-align: right; display: flex; justify-content: space-between; align-items: center; }
    .rates-table td::before { content: attr(data-label); font-weight: 600; color: var(--text-muted); font-family: 'Outfit', sans-serif; text-transform: uppercase; font-size: 0.8rem; }
    .rates-table td:first-child { justify-content: flex-end; }
    .rates-table td:first-child::before { display: none; }
    
    /* Mobile Form and Buttons */
    .form-row { flex-direction: column; gap: 10px; }
    .btn { padding: 12px 20px; font-size: 0.95rem; }
    .radio-group { flex-direction: column; }
}

/* --- Modal Styles --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 34, 51, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 2000; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: var(--transition-smooth);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-overlay .modal-content {
    background: var(--bg-white); border-radius: 24px; width: 90%; max-width: 500px;
    padding: 0; transform: scale(0.95) translateY(20px); transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.8); box-shadow: var(--shadow-neo); overflow: hidden;
}

.modal-overlay.active .modal-content { transform: scale(1) translateY(0); }

.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 25px 30px; border-bottom: 1px solid rgba(20,60,90,0.05); background: var(--bg-light);
}

.modal-header h3 { font-size: 1.4rem; display: flex; align-items: center; gap: 10px; color: var(--primary-navy); margin: 0; }
.close-btn { 
    background: none; border: none; font-size: 1.5rem; color: var(--text-muted); 
    cursor: pointer; transition: var(--transition-smooth); width: 35px; height: 35px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.close-btn:hover { background: rgba(0,0,0,0.05); color: var(--text-dark); transform: rotate(90deg); }

.modal-body { padding: 30px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--primary-navy); margin-bottom: 10px; font-size: 0.95rem; }

.form-row { display: flex; gap: 15px; }
.half-width { flex: 1; }

.form-control {
    width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(20,60,90,0.15);
    font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--text-dark); background: var(--bg-white);
    transition: var(--transition-smooth);
}
.form-control:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(229,195,101,0.2); }

@keyframes attention-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); opacity: 0.9; }
    100% { transform: scale(1); }
}

.radio-group { display: flex; gap: 10px; }
.radio-group.needs-attention .radio-btn {
    animation: attention-pulse 2s infinite;
}

.radio-btn {
    flex: 1; border: 1px solid rgba(20,60,90,0.15); border-radius: 10px; padding: 12px;
    cursor: pointer; transition: var(--transition-smooth); text-align: center;
    font-weight: 500; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.radio-btn input { display: none; }
.radio-btn:has(input:checked) {
    background: rgba(20,60,90,0.05); border-color: var(--primary-navy); color: var(--primary-navy); font-weight: 600;
}

.modal-help-text { text-align: center; margin-top: 15px; font-size: 0.85rem; color: var(--text-muted); }

