/* ========================================
   MASTER STYLESHEET - m-tech
   Theme: Navy Blue, #A7B1BE, Cyan, neutral colors
   Fully Responsive - All Screen Sizes
   ======================================== */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --navy: #1a2a3a;
    --navy-light: #2c3e50;
    --navy-dark: #0f1a26;
    --accent: #A7B1BE;
    --accent-light: #c5cdd8;
    
    /* Cyan Theme Colors */
    --cyan: #00bcd4;
    --cyan-light: #4dd0e1;
    --cyan-dark: #00838f;
    --cyan-gradient: linear-gradient(135deg, #00bcd4, #00838f);
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f4f6f8;
    --mid-gray: #b0b8c4;
    --dark-gray: #2d3436;
    
    /* Shadows & Transitions */
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --shadow-cyan: 0 4px 20px rgba(0, 188, 212, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- UTILITY CLASSES ---------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--cyan);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--cyan-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-cyan);
}

.btn-secondary {
    background: var(--navy);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--cyan);
    border: 2px solid var(--cyan);
}

.btn-outline:hover {
    background: var(--cyan);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-cyan);
}

/* ---------- SCROLLBAR STYLING ---------- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--cyan);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyan-dark);
}

/* ---------- STICKY HEADER ---------- */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navy);
    padding: 12px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.sticky-header.scrolled {
    padding: 8px 0;
    background: rgba(26, 42, 58, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.brand-name {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-name span {
    color: var(--cyan-light);
}

/* ---------- NAVIGATION ---------- */
.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-list li a {
    color: var(--accent);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-list li a:hover::after {
    width: 60%;
}

.nav-list li a:hover {
    color: var(--white);
    background: rgba(0, 188, 212, 0.1);
}

.nav-list li a.active::after {
    width: 60%;
}

.dark-toggle {
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.dark-toggle:hover {
    background: var(--cyan);
    color: var(--white);
}

.mobile-hamburger {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-hamburger:hover {
    color: var(--cyan-light);
}

/* ---------- HERO SECTION ---------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 64px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 42, 58, 0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    color: var(--white);
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content h1 .highlight {
    color: var(--cyan-light);
}

.hero-content .mission-brief {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--accent-light);
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- STATS SECTION ---------- */
.stats-section {
    background: var(--navy);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1), transparent);
    border-radius: 50%;
}

.stat-item {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--cyan-light);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--accent-light);
    margin-top: 8px;
}

/* ---------- SECTION COMMON ---------- */
section {
    padding: 80px 20px;
}

section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--navy);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--cyan);
    margin: 12px auto 0;
    border-radius: 2px;
}

section h2 .highlight {
    color: var(--cyan);
}

/* ---------- ABOUT SECTION ---------- */
.about-section {
    background: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.about-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--cyan);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.05), transparent);
    border-radius: 50%;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-card h3 {
    color: var(--navy);
    margin-bottom: 12px;
}

.about-card h3 i {
    color: var(--cyan);
    margin-right: 8px;
}

.about-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- PROGRAMS SECTION ---------- */
.programs-section {
    background: var(--white);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.program-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-gray);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cyan-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.program-card i {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 16px;
    transition: var(--transition);
}

.program-card:hover i {
    transform: scale(1.1) rotate(-5deg);
}

.program-card h4 {
    color: var(--navy);
    margin-bottom: 10px;
}

/* ---------- FEATURED PROJECTS & TESTIMONIALS ---------- */
.featured-section {
    background: var(--light-gray);
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.projects-carousel {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.projects-carousel h3,
.testimonials-panel h3 {
    color: var(--navy);
    margin-bottom: 16px;
}

.projects-carousel h3 i,
.testimonials-panel h3 i {
    color: var(--cyan);
    margin-right: 8px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.project-item {
    min-width: 100%;
    padding: 10px;
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.project-item p {
    padding: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--navy);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 188, 212, 0.8);
    color: var(--white);
    border: none;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--cyan-dark);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.left {
    left: 10px;
}

.carousel-btn.right {
    right: 10px;
}

.testimonials-panel {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial-slider {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 1s ease;
    padding: 10px;
    font-style: italic;
    color: var(--dark-gray);
}

.testimonial.active {
    opacity: 1;
}

.testimonial::before {
    content: '"';
    font-size: 2rem;
    color: var(--cyan);
    margin-right: 6px;
}

.testimonial .client-name {
    font-weight: 600;
    color: var(--navy);
    font-style: normal;
}

/* ---------- BLOG SECTION ---------- */
.blog-section {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-item {
    background: var(--light-gray);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--cyan);
}

.blog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-item:hover img {
    transform: scale(1.05);
}

.blog-item h4 {
    padding: 16px 16px 8px;
    color: var(--navy);
}

.blog-item p {
    padding: 0 16px 16px;
    color: var(--dark-gray);
}

.blog-item small {
    display: block;
    padding: 0 16px 16px;
    color: var(--mid-gray);
}

/* ---------- FAQ SECTION ---------- */
.faq-section {
    background: var(--light-gray);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.accordion-item.active {
    border-left-color: var(--cyan);
}

.accordion-header {
    width: 100%;
    padding: 16px 20px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--light-gray);
}

.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--cyan);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
}

.accordion-item.active .accordion-body {
    max-height: 200px;
    padding: 0 20px 20px;
}

/* ---------- CONTACT SECTION ---------- */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border: 2px solid var(--mid-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--cyan);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.contact-details i {
    width: 24px;
    color: var(--cyan);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    width: fit-content;
    transition: var(--transition);
}

.whatsapp-link:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--cyan);
    transform: translateY(-3px);
    box-shadow: var(--shadow-cyan);
}

.map-placeholder {
    background: var(--light-gray);
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    color: var(--mid-gray);
    margin-top: 12px;
}

/* ---------- NEWSLETTER SECTION ---------- */
.newsletter-section {
    background: var(--navy);
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1), transparent);
    border-radius: 50%;
}

.newsletter-section h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.newsletter-section h3 i {
    color: var(--cyan-light);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.3);
}

.newsletter-form .btn {
    border-radius: 50px;
    white-space: nowrap;
}

/* ---------- BOT FLOAT ---------- */
.bot-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
}

.bot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cyan-gradient);
    color: var(--white);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-cyan);
    transition: var(--transition);
}

.bot-toggle:hover {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 6px 30px rgba(0, 188, 212, 0.4);
}

.bot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: none;
    overflow: hidden;
}

.bot-window.open {
    display: block;
}

.bot-header {
    background: var(--cyan-gradient);
    color: var(--white);
    padding: 12px 16px;
    font-weight: 600;
}

.bot-messages {
    height: 200px;
    overflow-y: auto;
    padding: 16px;
    background: var(--light-gray);
}

.bot-messages p {
    background: var(--white);
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.bot-window input {
    width: calc(100% - 80px);
    padding: 10px 14px;
    border: 2px solid var(--mid-gray);
    border-radius: 0;
    font-size: 0.9rem;
}

.bot-window input:focus {
    outline: none;
    border-color: var(--cyan);
}

.bot-window button {
    width: 80px;
    padding: 10px;
    background: var(--cyan);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.bot-window button:hover {
    background: var(--cyan-dark);
}

/* ---------- RETURN TO TOP ---------- */
.return-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cyan-gradient);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-cyan);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.return-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.return-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 188, 212, 0.4);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--navy-dark);
    color: var(--accent-light);
    padding: 50px 20px 20px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-grid h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-grid h4 i {
    color: var(--cyan);
    margin-right: 8px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    padding: 4px 0;
    color: var(--accent);
    transition: var(--transition);
    cursor: pointer;
}

.footer-grid ul li:hover {
    color: var(--cyan-light);
    padding-left: 4px;
}

.social-footer li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-footer li i {
    color: var(--cyan);
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(167, 177, 190, 0.2);
    color: var(--mid-gray);
    font-size: 0.9rem;
}

.copyright span {
    color: var(--cyan-light);
}

/* ========================================
   DARK MODE
   ======================================== */
body.dark-mode {
    background: #0f0f1a;
    color: #e0e0e0;
}

body.dark-mode .sticky-header {
    background: #0a0a15;
}

body.dark-mode .sticky-header.scrolled {
    background: rgba(10, 10, 21, 0.95);
}

body.dark-mode section {
    background: #0f0f1a;
}

body.dark-mode .about-section,
body.dark-mode .featured-section,
body.dark-mode .faq-section {
    background: #141425;
}

body.dark-mode .about-card,
body.dark-mode .testimonials-panel,
body.dark-mode .projects-carousel,
body.dark-mode .accordion-item,
body.dark-mode .program-card,
body.dark-mode .blog-item {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.dark-mode .about-card h3,
body.dark-mode .program-card h4,
body.dark-mode .blog-item h4,
body.dark-mode .projects-carousel h3,
body.dark-mode .testimonials-panel h3 {
    color: var(--cyan-light);
}

body.dark-mode .contact-section {
    background: #0f0f1a;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background: #1a1a2e;
    color: #e0e0e0;
    border-color: #2a2a4a;
}

body.dark-mode .contact-details p {
    border-color: #1a1a2e;
}

body.dark-mode section h2 {
    color: #e0e0e0;
}

body.dark-mode .btn-outline {
    color: var(--cyan-light);
    border-color: var(--cyan-light);
}

body.dark-mode .btn-outline:hover {
    background: var(--cyan);
    color: var(--white);
}

body.dark-mode .bot-window {
    background: #1a1a2e;
}

body.dark-mode .bot-messages {
    background: #0f0f1a;
}

body.dark-mode .bot-messages p {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.dark-mode .accordion-header {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.dark-mode .accordion-header:hover {
    background: #0f0f1a;
}

body.dark-mode .stat-number {
    color: var(--cyan-light);
}

body.dark-mode .stats-section {
    background: #0a0a15;
}

body.dark-mode .footer {
    background: #0a0a15;
}

body.dark-mode .newsletter-section {
    background: #0a0a15;
}

body.dark-mode .map-placeholder {
    background: #1a1a2e;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* ---------- LARGE DESKTOP ---------- */
@media (min-width: 1400px) {
    .header-container,
    .container,
    .featured-container {
        max-width: 1320px;
    }
}

/* ---------- TABLETS ---------- */
@media (max-width: 992px) {
    .featured-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-panel {
        margin-top: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-section {
        gap: 40px;
        padding: 50px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 20px;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
    /* Header */
    .mobile-hamburger {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        display: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    
    .nav-list.open {
        display: flex;
    }
    
    .nav-list li a {
        display: block;
        padding: 10px 16px;
        width: 100%;
        text-align: center;
    }
    
    .nav-list li a::after {
        display: none;
    }
    
    .dark-toggle {
        width: 100%;
        padding: 10px;
    }
    
    /* Hero */
    .hero-section {
        min-height: 500px;
        margin-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Stats */
    .stats-section {
        gap: 30px;
        padding: 40px 20px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    /* Sections */
    section {
        padding: 50px 16px;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    /* FAQ */
    .accordion-header {
        font-size: 0.9rem;
        padding: 14px 16px;
    }
    
    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
        padding: 0 16px;
    }
    
    .newsletter-form .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Bot */
    .bot-float {
        bottom: 80px;
        right: 16px;
    }
    
    .bot-window {
        width: 280px;
        right: -10px;
    }
    
    /* Return to top */
    .return-top {
        bottom: 20px;
        left: 16px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* ---------- SMALL MOBILE ---------- */
@media (max-width: 480px) {
    .brand-name {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .hero-section {
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .stats-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-grid,
    .program-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .bot-window {
        width: 260px;
        right: -20px;
    }
    
    .contact-details {
        padding: 0 10px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .whatsapp-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* ---------- EXTRA SMALL MOBILE ---------- */
@media (max-width: 360px) {
    .brand-name {
        font-size: 0.9rem;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .hero-content h1 {
        font-size: 1.2rem;
    }
    
    .hero-content .mission-brief {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .bot-window {
        width: 240px;
        right: -30px;
    }
}

/* ---------- TOUCH DEVICE OPTIMIZATIONS ---------- */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-list li a,
    .carousel-btn,
    .bot-toggle,
    .return-top,
    .social-links a {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-list li a {
        padding: 12px 16px;
    }
    
    .btn {
        padding: 14px 30px;
    }
    
    input,
    select,
    textarea {
        font-size: 16px !important; /* Prevents iOS zoom */
    }
}

/* ---------- PRINT STYLES ---------- */
@media print {
    .sticky-header,
    .hero-slider,
    .bot-float,
    .return-top,
    .newsletter-section,
    .mobile-hamburger,
    .dark-toggle {
        display: none !important;
    }
    
    .hero-section {
        margin-top: 0 !important;
        min-height: auto !important;
        padding: 40px 0 !important;
    }
    
    .hero-slide::after {
        display: none !important;
    }
    
    .hero-content {
        color: #000 !important;
    }
    
    .hero-content h1 {
        color: #000 !important;
    }
    
    section {
        padding: 30px 20px !important;
        page-break-inside: avoid;
    }
    
    .about-card,
    .program-card,
    .blog-item {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

/* ========================================
   END OF STYLESHEET
   ======================================== */