/* public/assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --deep-navy: #000b21;
    --ocean-blue: #003f82;
    --aqua-teal: #4ca2b5;
    --white: #ffffff;
    --gray-light: #f4f7f6;
    --text-color: #333333;
    
    /* Theme Variables */
    --bg-primary: #f4f7f6;
    --bg-secondary: #ffffff;
    --text-primary: #333333;
    --text-secondary: #64748b;
    --heading-color: var(--deep-navy);
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-heavy: rgba(0, 0, 0, 0.1);

    --gradient-primary: linear-gradient(135deg, var(--deep-navy) 0%, var(--ocean-blue) 50%, var(--aqua-teal) 100%);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Detailed Theme Variables */
    --nav-bg: rgba(0, 11, 33, 0.98);
    --dropdown-bg: #ffffff;
    --dropdown-hover-bg: #f4f7f6;
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --input-text: #333333;
    --hover-bg: #f4f7f6;
    --modal-bg: #ffffff;
}

[data-theme="dark"] {
    --bg-primary: #020617; /* Very dark slate */
    --bg-secondary: #0f172a; /* Dark slate for panels */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --heading-color: #f8fafc;
    --card-bg: #0f172a;
    --border-color: #1e293b;
    --shadow-light: rgba(0, 0, 0, 0.5);
    --shadow-heavy: rgba(0, 0, 0, 0.8);
    --gray-light: #020617; /* Some sections use this for background */

    /* Detailed Theme Variables for Dark Mode */
    --nav-bg: rgba(2, 6, 23, 0.98);
    --dropdown-bg: #0f172a;
    --dropdown-hover-bg: #1e293b;
    --input-bg: #1e293b;
    --input-border: #334155;
    --input-text: #f8fafc;
    --hover-bg: #1e293b;
    --modal-bg: #0f172a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--deep-navy) !important;
    line-height: 1.6;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-heading); 
    font-weight: normal; 
    letter-spacing: 1px; 
    color: var(--heading-color); 
    transition: color 0.3s ease;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 63, 130, 0.4);
    color: var(--white);
}

/* Header */
header {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.solid-header {
    background: var(--deep-navy) !important;
    position: relative !important;
    border-bottom: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001; /* Above overlay */
    position: relative;
}

/* Hamburger icon - visible everywhere */
.hamburger {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001; /* Above overlay */
    position: relative;
    padding: 10px;
}
.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: all 0.4s ease;
    border-radius: 3px;
}
header.sticky .hamburger span { background: var(--deep-navy); }
.hamburger.active span { background: var(--white) !important; }

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-links a { white-space: nowrap;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 550;
    letter-spacing: 0.3px;
    text-transform: none;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--aqua-teal);
    transition: width 0.3s ease, left 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.nav-links a.btn {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 10px 20px !important;
}
.nav-links a.btn::after { display: none; }

/* Hide hamburger on desktop */
.hamburger { display: none; }

html.menu-open, body.menu-open {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none !important;
    position: relative !important;
}

/* Fullscreen Overlay Menu for Mobile */
@media (max-width: 1100px) {
    .hamburger {
        display: flex;
        z-index: 100000 !important;
        position: relative;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 11, 33, 0.98) !important;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 28px !important;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease !important;
        z-index: 99999 !important;
        margin: 0 !important;
        padding: 40px 20px !important;
        list-style: none !important;
    }

    .nav-links.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: all !important;
    }

    .nav-links li {
        transform: translateY(20px);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .nav-links.active li {
        transform: translateY(0);
        opacity: 1;
    }

    /* Delay for stagger effect */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-links.active li:nth-child(7) { transition-delay: 0.4s; }

    .nav-links a {
        white-space: nowrap;
        font-family: var(--font-heading);
        font-size: 26px !important;
        font-weight: 600 !important;
        letter-spacing: 1px !important;
        color: #ffffff !important;
        text-transform: none !important;
        opacity: 0.9;
    }
    .nav-links a:hover {
        opacity: 1;
        color: var(--aqua-teal) !important;
    }
    .nav-links a.btn {
        background: var(--aqua-teal) !important;
        color: #fff !important;
        border: none !important;
        padding: 14px 35px !important;
        border-radius: 50px !important;
        font-size: 18px !important;
        font-weight: 600 !important;
    }
}

/* Language Switcher Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1001;
}
.lang-dropbtn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
    transition: background 0.3s;
}
.lang-dropbtn:hover {
    background: rgba(255, 255, 255, 0.2);
}
.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    padding-top: 5px; /* using padding instead of margin to prevent hover loss gap */
    background-color: var(--dropdown-bg);
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    z-index: 1;
}
.lang-dropdown-content a {
    color: var(--heading-color);
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}
.lang-dropdown-content a:hover, .lang-dropdown-content a.active {
    background-color: var(--dropdown-hover-bg);
    color: var(--aqua-teal);
}
.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}
.solid-header .lang-dropbtn {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}
.solid-header .lang-dropdown-content {
    background: var(--dropdown-bg);
}
.solid-header .lang-dropdown-content a {
    color: var(--heading-color);
}
.solid-header .lang-dropdown-content a:hover, .solid-header .lang-dropdown-content a.active {
    background: var(--dropdown-hover-bg);
    color: var(--aqua-teal);
}


/* Auth Icon in Top Nav */
.auth-top {
    display: flex;
    align-items: center;
    z-index: 1001;
    position: relative;
}
.auth-top a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
}
.auth-top a:hover {
    color: var(--white);
    transform: scale(1.1);
}


/* Fix logo in overlay mode */
body.menu-open header .header-logo { filter: brightness(0) invert(1) !important; }
body.menu-open { overflow: hidden; }

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 150px;
}

.hero h1 {
    color: var(--white);
    font-size: 5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Sections */
.section { padding: 80px 0; }
.section-title { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 50px; 
    position: relative; 
}
.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--aqua-teal);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
    text-align: left;
}
.footer-title {
    font-size: 1.2rem;
    color: var(--aqua-teal);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
}
.footer-links li, .footer-contact li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #cbd5e1;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}
.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.95rem;
}
.footer-contact svg {
    color: var(--aqua-teal);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .brand-col {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .nav-links a { white-space: nowrap; font-size: 28px; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-contact li {
        justify-content: center;
    }
    footer .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    h1[style] { font-size: 2.2rem !important; }
    h2[style] { font-size: 1.8rem !important; }
    .section-title { font-size: 1.8rem !important; }
}

/* Premium Preloader */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, #001633 0%, var(--deep-navy) 100%); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.8s cubic-bezier(0.8, 0, 0.2, 1), visibility 0.8s ease; overflow: hidden; }
#preloader::before { content:''; position:absolute; width:500px; height:500px; background:var(--aqua-teal); filter:blur(200px); opacity:0.12; border-radius:50%; animation: floatGlow 6s ease-in-out infinite; }
.preloader-content { display: flex; flex-direction: column; align-items: center; gap: 15px; position: relative; z-index: 2; }
.pulse-logo-text { font-family: var(--font-heading); font-size: 3.5rem; color: #fff; letter-spacing: 12px; margin: 0; animation: smoothPulseText 3s ease-in-out infinite; font-weight: 800; }
.loading-bar-container { width: 260px; height: 3px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; position: relative; box-shadow: inset 0 1px 3px rgba(0,0,0,0.5); }
.loading-bar { width: 0%; height: 100%; background: linear-gradient(90deg, var(--ocean-blue), var(--aqua-teal), #87e0f5, var(--aqua-teal)); background-size: 200% 100%; transition: width 0.2s ease-out; animation: shineBar 2s linear infinite; box-shadow: 0 0 15px rgba(76,162,181,0.6); border-radius: 4px; }
.loading-text { color: #fff; font-family: var(--font-heading); letter-spacing: 4px; font-size: 0.85rem; font-weight: 600; opacity: 0.7; animation: pulseText 2s ease-in-out infinite; text-transform: uppercase; }

@keyframes smoothPulseText { 0% { transform: scale(1) translateY(0); text-shadow: 0 0 0 rgba(76,162,181,0); } 50% { transform: scale(1.03) translateY(-3px); text-shadow: 0 10px 25px rgba(76,162,181,0.4); } 100% { transform: scale(1) translateY(0); text-shadow: 0 0 0 rgba(76,162,181,0); } }
@keyframes shineBar { 0% { background-position: 200% 0; } 100% { background-position: 0% 0; } }
@keyframes floatGlow { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -60px) scale(1.1); } 66% { transform: translate(-30px, 30px) scale(0.9); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes pulseText { 0%, 100% { opacity: 0.6; letter-spacing: 4px; } 50% { opacity: 1; letter-spacing: 7px; color: var(--aqua-teal); } }

/* AI Chat Icon */
.ai-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 63, 130, 0.4);
    cursor: pointer;
    z-index: 1000;
    animation: pulseChat 2s infinite;
    transition: transform 0.3s ease;
}
.ai-chat-btn:hover { transform: scale(1.1); }
.ai-chat-btn svg { width: 30px; height: 30px; fill: #fff; }

@keyframes pulseChat {
    0% { box-shadow: 0 0 0 0 rgba(0, 63, 130, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 63, 130, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 63, 130, 0); }
}

.ai-chat-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}
.ai-chat-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    left: 50%;
    right: auto;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0, 11, 33, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.scroll-top-btn:hover {
    background: var(--aqua-teal);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 14px 35px rgba(76, 162, 181, 0.4);
}

/* Futuristic / Glassmorphism UI additions */
.glass-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 11, 33, 0.6);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.glass-form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 60%);
    z-index: -1;
    animation: rotateGlow 15s linear infinite;
}
@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.glass-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}
.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--aqua-teal);
    box-shadow: 0 0 10px rgba(76, 162, 181, 0.4);
}

.btn-glow {
    background: linear-gradient(90deg, var(--ocean-blue), #8a2be2);
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
}

/* Premium Hero Styles */
.premium-hero {
    position: relative;
    background: var(--deep-navy);
    color: #fff;
    padding-top: 180px;
    padding-bottom: 100px;
    overflow: hidden;
}

.premium-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
}
.premium-hero-bg-abstract {
    background-image: radial-gradient(circle at 15% 50%, var(--aqua-teal), transparent 25%), radial-gradient(circle at 85% 30%, #fff, transparent 25%);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(76, 162, 181, 0.2);
    border: 1px solid var(--aqua-teal);
    border-radius: 30px;
    color: var(--aqua-teal);
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.premium-hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
@media (max-width: 1024px) {
    .premium-hero h1 { font-size: 3.5rem; }
}
@media (max-width: 768px) {
    .premium-hero h1 { font-size: 2.5rem; }
}

.premium-hero p.hero-desc {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.premium-hero.center {
    text-align: center;
}
.premium-hero.center p.hero-desc {
    margin-left: auto;
    margin-right: auto;
}

/* Modern Card Layouts */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.modern-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}
.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-heavy);
}

/* Feature Cards (Why Choose Us) */
.feature-card {
    flex: 1;
    min-width: 250px;
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--aqua-teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,11,33,0.1);
}
.feature-card:hover::before {
    transform: scaleX(1);
}
.fc-icon {
    font-size: 45px;
    color: var(--aqua-teal);
    margin-bottom: 25px;
    transition: transform 0.4s ease;
    display: inline-block;
}
.feature-card:hover .fc-icon {
    transform: scale(1.1) rotate(-5deg);
}
.fc-title {
    color: var(--ocean-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Stat Cards */
.stat-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 20px;
}
.stat-card:hover {
    transform: translateY(-15px) scale(1.05);
}


.header-logo { height: 130px; width: auto; max-width: 70vw; transition: all 0.3s ease; }
@media (max-width: 1100px) { .header-logo { height: 90px !important; } }

body.menu-open .logo { opacity: 0; pointer-events: none; }

/* ---------------------------------------------------- */
/* Tablet Specific Responsive Design (768px - 1024px)   */
/* ---------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Layout */
    .container { width: 94%; }
    .section { padding: 70px 0; }
    .section-title { font-size: 2.2rem !important; margin-bottom: 40px; }
    
    /* Hero */
    .hero, .premium-hero { padding-top: 150px; padding-bottom: 80px; }
    .hero h1, .premium-hero h1 { font-size: 3.2rem !important; margin-bottom: 20px; }
    .hero p, .premium-hero p.hero-desc { font-size: 1.15rem !important; margin-bottom: 30px; padding: 0 15px; }
    
    /* Buttons */
    .btn, .btn-glow { padding: 12px 35px !important; font-size: 1rem !important; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .brand-col { grid-column: 1 / -1; text-align: center; }
    .brand-col .social-icon { display: inline-flex !important; }
    
    /* Stats Section */
    .stat-card { padding: 15px; flex: 1 1 30%; }
    .stat-card h2 { font-size: 3.2rem !important; }
    .stat-card p { font-size: 0.95rem !important; }
    
    /* Cards (Categories, Features) */
    .category-card, .feature-card, .modern-card {
        padding: 30px 25px !important;
    }
    .category-card h3, .feature-card h3, .mc-title { font-size: 1.3rem !important; }
    .category-card p, .mc-desc { font-size: 0.95rem !important; }
    
    /* Nav & Lang */
    .header-logo { height: 90px !important; }
    
    /* Form */
    .glass-form-container { padding: 30px; }
}

/* Global Rich Text Formatting & Lists */
.rich-text-content ul, .course-content ul, .page-content ul {
    list-style-type: disc !important;
    margin: 15px 0 20px 28px !important;
    padding-left: 6px !important;
}
.rich-text-content ol, .course-content ol, .page-content ol {
    list-style-type: decimal !important;
    margin: 15px 0 20px 28px !important;
    padding-left: 6px !important;
}
.rich-text-content li, .course-content li, .page-content li {
    display: list-item !important;
    margin-bottom: 8px !important;
    line-height: 1.75 !important;
}
.rich-text-content ul ul, .course-content ul ul, .page-content ul ul {
    list-style-type: circle !important;
    margin: 6px 0 8px 22px !important;
}
.rich-text-content ul ul ul, .course-content ul ul ul, .page-content ul ul ul {
    list-style-type: square !important;
}
.rich-text-content ol ol, .course-content ol ol, .page-content ol ol {
    list-style-type: lower-alpha !important;
    margin: 6px 0 8px 22px !important;
}

