/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Premium Color Palette */
    --primary: #4f46e5;      /* Indigo */
    --primary-hover: #4338ca;
    --secondary: #0f172a;    /* Slate 900 */
    --accent: #0ea5e9;       /* Light Blue */
    --bg-color: #f8fafc;     /* Slate 50 */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    
    /* Modern Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base for REM */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.75rem;
    color: var(--secondary);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background-color: #f1f5f9;
}

/* ==========================================================================
   Glassmorphism & Utilities
   ========================================================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

.badge-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* ==========================================================================
   Navbar & Mobile Menu
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9); /* Dark translucent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar.scrolled .logo-text {
    color: var(--white);
}

.navbar.scrolled .nav-links a {
    color: #cbd5e1;
}

.navbar.scrolled .nav-links a:hover {
    color: var(--accent);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 1.05rem;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: var(--transition-normal);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ==========================================================================
   Mobile Bottom Navigation
   ========================================================================== */
.bottom-nav {
    display: none; /* Hidden by default on desktop */
}

/* ==========================================================================
   Hero Section (Split Layout)
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Offset navbar */
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
}

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

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 12s infinite alternate ease-in-out;
}

.shape-1 {
    width: 450px; height: 450px;
    background: #c7d2fe; /* Indigo tint */
    top: -100px; left: -100px;
}

.shape-2 {
    width: 350px; height: 350px;
    background: #bae6fd; /* Light blue tint */
    bottom: -50px; right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px; height: 250px;
    background: #fdf4ff; /* Fuchsia tint */
    top: 30%; right: 20%;
    animation-duration: 15s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.05); }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    color: var(--secondary);
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hero-text .highlight {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    padding: 10px;
    border-radius: 30px;
    background: rgba(255,255,255,0.4);
}

.hero-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.stat-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 6s infinite alternate ease-in-out;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.about-card {
    padding: 50px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.about-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.styled-list {
    list-style: none;
}

.styled-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.styled-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ==========================================================================
   Bento Box Gallery Section
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 24px;
}

.bento-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.bento-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.bento-item:hover .bento-image {
    transform: scale(1.05);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.bento-wide {
    grid-column: span 2;
}

.bento-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    flex-grow: 1;
    min-height: 350px;
    background: #000;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

.bento-text {
    margin-top: 25px;
}

.bento-text h3 {
    font-size: 1.6rem;
    color: var(--secondary);
    margin: 5px 0 10px;
}

.bento-text p {
    color: var(--text-muted);
}

.bento-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: var(--white);
    margin-top: 0;
}

.bento-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
}

.bento-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--white);
    padding: 80px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.footer-info p {
    color: var(--text-muted);
    max-width: 400px;
}

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

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-color);
    border-radius: 50%;
    color: var(--text-muted);
}

.footer-socials a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 0.95rem;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
}

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

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

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3.5rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-large { grid-column: span 2; grid-row: span 1; }
    .bento-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* Space for bottom nav */
    }
    
    .section-padding { padding: 80px 0; }
    .section-title h2 { font-size: 2.2rem; }
    
    /* Navbar */
    .navbar { display: none; }
    
    /* Floating App-like Bottom Navigation */
    .bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        height: 70px;
        background: rgba(15, 23, 42, 0.85); /* Dark premium background */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 40px rgba(15, 23, 42, 0.4);
        z-index: 1000;
        border-radius: 40px;
        padding: 0 15px;
    }
    
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #94a3b8; /* Lighter gray for dark background */
        flex: 1;
        height: 100%;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }
    
    .bottom-nav-item svg {
        margin-bottom: 4px;
        width: 24px;
        height: 24px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .bottom-nav-item span {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.3px;
        opacity: 0.8;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Active State (App-like Highlight) */
    .bottom-nav-item.active {
        color: var(--accent); /* Light blue pops on dark bg */
    }
    
    .bottom-nav-item.active svg {
        transform: translateY(-4px);
        stroke-width: 2.5;
    }
    
    .bottom-nav-item.active span {
        opacity: 1;
        transform: translateY(-2px);
    }
    
    /* Active Dot Indicator */
    .bottom-nav-item::after {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%) scale(0);
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background-color: var(--accent);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .bottom-nav-item.active::after {
        transform: translateX(-50%) scale(1);
    }
    
    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-text p { margin: 0 auto; }
    .hero-image { height: 350px; }
    .stat-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }
    .stat-card:hover { transform: translateX(-50%) translateY(-5px); }
    
    /* About */
    .about-grid { grid-template-columns: 1fr; }
    
    /* Bento Gallery */
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large, .bento-wide { grid-column: span 1; }
    .video-container { min-height: 250px; }
    
    /* Footer */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2.8rem; }
    .hero-image { height: 280px; }
    .section-title h2 { font-size: 1.8rem; }
    .about-card { padding: 30px; }
    .bento-large { padding: 20px; }
}
