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

/* CSS Variables */
:root {
    --primary-color: #007BFF;
    --primary-dark: #0056b3;
    --secondary-color: #6c63ff;
    --accent-color: #00d4ff;
    --dark-bg: #252552;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #495057;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #007BFF 0%, #00d4ff 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Variables for the Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: 1px solid rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    --glass-blur: blur(12px);

    --shadow-sm: 0 2px 8px rgba(31, 38, 135, 0.1);
    --shadow-md: 0 4px 16px rgba(31, 38, 135, 0.15);
    --shadow-lg: 0 8px 32px rgba(31, 38, 135, 0.2);

    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
/* Force navbar to stay fixed */
nav.navbar {
    position: fixed !important;
    top: 0 !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(145deg, #0f172a 0%, #1a1f2e 100%);
    position: relative;
    min-height: 100vh;
    transition: var(--transition);
}

@keyframes softGradientShift {
  0% {
    background-position: 0% 50%;
    background: linear-gradient(145deg, #0f172a, #1a1f2e);
  }
  50% {
    background-position: 100% 50%;
    background: linear-gradient(145deg, #1a2742, #2f3c5c);
  }
  100% {
    background-position: 0% 50%;
    background: linear-gradient(145deg, #0f172a, #1a1f2e);
  }
}


body {
    animation: softGradientShift 10s ease-in-out infinite;
    background-size: 400% 400%; /* enhances wave flow */
}



/* Ensure content is above background but footer stays normal */
body > *:not(#vanta-background):not(.footer):not(.navbar) {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
/* Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    box-shadow: none;
    z-index: 99999 !important;
    transition: var(--transition);
    pointer-events: auto !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    opacity: 0.8;
}

.nav-links a:not(.apply-btn):hover,
.nav-links a.active {
    color: var(--white);
    opacity: 1;
}

.nav-links a:not(.apply-btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

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

.apply-btn {
    background: var(--gradient-2);
    color: var(--white) !important;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    opacity: 1 !important;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    color: var(--white);
    position: relative;
}

/* Remove any dark overlays from hero */
.hero::before {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.hero-content {
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Button Styles */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* Glass Card - Reusable class */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
    background: rgba(255, 255, 255, 0.2);
}

/* Sections */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--white);
    opacity: 0.8;
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: transparent;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-icon { font-size: 3rem; margin-bottom: 1rem; }
.stat-number { font-size: 3.5rem; font-weight: 700; font-family: 'Inter', sans-serif; }
.stat-number::after { content: '+'; }
.stat-label { font-size: 1.1rem; margin-top: 0.5rem; }

.stat-icon, .stat-number { color: var(--white); text-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.stat-label { color: rgba(255, 255, 255, 0.8); }

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
}

.feature-icon { font-size: 3rem; margin-bottom: 1rem; color: var(--white); }
.feature-card h3 { margin-bottom: 1rem; font-size: 1.5rem; color: var(--white); }
.feature-card p { color: rgba(255, 255, 255, 0.85); line-height: 1.7; }

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: rgba(10, 10, 30, 0.3);
    position: relative;
    overflow: hidden;
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.cta-content { text-align: center; color: var(--white); position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; color: var(--white); }
.cta-content p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.95; }

/* Process Section */
.process-section { padding: 6rem 0; background: transparent; }

.process-timeline { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2rem; 
    position: relative; 
}

.process-step { 
    text-align: center; 
    padding: 2rem; 
}

.step-number { 
    width: 80px; 
    height: 80px; 
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    color: var(--white); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 2rem; 
    font-weight: 700; 
    margin: 0 auto 1.5rem; 
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.process-step h3 { margin-bottom: 1rem; color: var(--white); }
.process-step p { color: rgba(255, 255, 255, 0.8); }

/* Testimonial Section */
.testimonial-preview { padding: 6rem 0; background: transparent; }

.testimonial-card { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 3rem; 
    text-align: center; 
}

.testimonial-text { 
    font-size: 1.3rem; 
    font-style: italic; 
    color: var(--white); 
    margin-bottom: 2rem; 
    line-height: 1.8; 
}

.testimonial-author { 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
}

.testimonial-author strong { 
    color: var(--white); 
    font-size: 1.1rem; 
    opacity: 0.9; 
}

.testimonial-author span { 
    color: rgba(255, 255, 255, 0.7); 
}

/* Final CTA */
.final-cta { padding: 6rem 0; background: transparent; }

.cta-box { 
    text-align: center; 
    padding: 4rem 2rem; 
    max-width: 800px; 
    margin: 0 auto; 
}

.cta-box h2 { 
    font-size: clamp(2rem, 4vw, 2.5rem); 
    margin-bottom: 1rem; 
    color: var(--white); 
}

.cta-box p { 
    font-size: 1.2rem; 
    color: rgba(255, 255, 255, 0.85); 
    margin-bottom: 2rem; 
}

/* Footer */
.footer {
    background: rgba(21, 25, 60, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: var(--glass-border);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3, .footer-section h4 { margin-bottom: 1.5rem; color: var(--white); }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.8rem; }
.footer-section ul li a { color: rgba(255, 255, 255, 0.7); transition: var(--transition); }
.footer-section ul li a:hover { color: var(--white); padding-left: 5px; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Page Hero (for sub-pages) */
.page-hero {
    padding: 120px 0 80px;
    background: transparent;
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Animations */
.fade-in { animation: fadeIn 1s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
[data-scroll-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-scroll-animate].animated { opacity: 1; transform: translateY(0); }
.text-center { text-align: center; }


@media (max-width: 768px) {
    .mobile-toggle { 
        display: flex; 
        z-index: 99999 !important; 
        position: relative; 
    }
    .nav-links {
        position: fixed !important;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(21, 25, 60, 0.98) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        padding: 2rem; 
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        border-bottom-left-radius: var(--radius-lg);
        border-bottom-right-radius: var(--radius-lg);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 99998 !important;
    }
    .nav-links.active { 
        transform: translateX(0); 
        pointer-events: auto !important;
    }
    .nav-links li {
        z-index: 99999 !important;
        position: relative;
        pointer-events: auto !important;
    }
    .nav-links a {
        display: block !important;
        position: relative !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
        padding: 0.75rem 1rem !important;
        width: 100%;
        text-align: left;
    }
    .nav-links a:active {
        background: rgba(255, 255, 255, 0.1);
    }

    .container { padding: 0 1.5rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .stats-grid, .features-grid, .process-timeline { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .navbar, .navbar * {
        pointer-events: auto !important;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .btn { padding: 0.8rem 1.5rem; }
}
