/* Self-hosted fonts (previously loaded from Google Fonts CDN) — both are the
   variable-font builds, one file covers the whole weight range used on this site. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/assets/fonts/inter-var.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('/assets/fonts/montserrat-var.woff2') format('woff2');
}

:root {
    --primary-color: #ff5a19;
    --primary-hover: #e0480e;
    --secondary-color: #111111;
    --text-color: #333333;
    --text-light: #555555;
    --text-lighter: #777777;
    --bg-white: #ffffff;
    --bg-light: #fdfdfd;
    --bg-offwhite: #f4f6f8;
    --border-color: #eeeeee;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
    --shadow-hover: 0 25px 50px rgba(0,0,0,0.12);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --section-spacing: 100px;
    --border-radius-lg: 16px;
}

/* Base & Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text-color); line-height: 1.7; background-color: var(--bg-white); -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; }
a { text-decoration: none; transition: 0.3s ease; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--secondary-color); font-weight: 700; line-height: 1.25; margin-bottom: 0.75rem; }
h1 { font-size: 3.5rem; letter-spacing: -1.5px; }
h2 { font-size: 2.5rem; letter-spacing: -0.5px; }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1.2rem; color: var(--text-light); }
.highlight { color: var(--primary-color); }
.text-center { text-align: center; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.badge { background-color: rgba(255, 90, 25, 0.08); color: var(--primary-color); padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 20px; }
.section-title { margin-bottom: 15px; position: relative; display: inline-block; }
.section-subtitle { max-width: 650px; margin: 0 auto 60px auto; font-size: 1.1rem; color: var(--text-lighter); }

/* Buttons */
.btn { display: inline-block; padding: 14px 34px; font-weight: 600; border-radius: 50px; font-size: 1rem; cursor: pointer; font-family: var(--font-heading); transition: all 0.3s ease; border: none; }
.btn-primary { background-color: var(--primary-color); color: #fff !important; border: 2px solid var(--primary-color); box-shadow: 0 4px 15px rgba(255, 90, 25, 0.3); }
.btn-primary:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 90, 25, 0.4); }
.btn-outline { background-color: transparent; color: var(--secondary-color); border: 2px solid #e0e0e0; }
.btn-outline:hover { border-color: var(--secondary-color); background: var(--secondary-color); color: #fff; transform: translateY(-3px); }
.btn-white { background-color: #fff; color: var(--primary-color); font-weight: 800; }
.btn-white:hover { background-color: #f8f8f8; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.shadow-hover { transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.shadow-hover:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }

/* Header */
header { background: rgba(255, 255, 255, 0.98); 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; padding: 20px 0; transition: padding 0.3s ease; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { display: block; max-height: 55px; width: auto; }
.main-nav ul { display: flex; align-items: center; gap: 40px; }
.main-nav a { color: var(--secondary-color); font-weight: 600; font-size: 1.05rem; position: relative; letter-spacing: 0.3px; }
.main-nav a:not(.btn)::after { content: ''; position: absolute; width: 0; height: 3px; bottom: -6px; left: 0; background-color: var(--primary-color); transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); border-radius: 2px; }
.main-nav a:not(.btn):hover::after, .main-nav a:not(.btn).active::after { width: 100%; }
.main-nav a.active { color: var(--primary-color); font-weight: 700; }
.hamburger-menu { display: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 1002; }
.hamburger-menu span { width: 28px; height: 3px; background-color: var(--secondary-color); border-radius: 2px; transition: 0.3s; }

/* Internal Page Header */
.page-header { background-color: var(--bg-offwhite); padding: 80px 0; text-align: center; border-bottom: 1px solid #eee; }
.page-header h1 { margin-bottom: 10px; font-size: 2.5rem; }
.breadcrumb { font-size: 0.9rem; color: var(--text-light); }
.breadcrumb a { color: var(--primary-color); font-weight: 500; }

/* Styles for Specific Sections (Consolidated) */

/* Hero */
.hero { padding: 80px 0 180px 0; background: linear-gradient(135deg, #FFF9F5 0%, #FFFFFF 100%); position: relative; overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 25px; font-size: 0.95rem; font-weight: 600; color: var(--secondary-color); }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.image-frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); transition: transform 0.5s ease; }
.floating-badge { position: absolute; bottom: 40px; left: -30px; background: #fff; padding: 12px 24px; border-radius: 50px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 15px; z-index: 3; animation: float 4s ease-in-out infinite; }
.floating-badge span:last-child { font-weight: 700; color: var(--secondary-color); font-family: var(--font-heading); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.custom-shape-divider-bottom { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.custom-shape-divider-bottom svg { position: relative; display: block; width: calc(137% + 1.3px); height: 140px; transform: rotateY(180deg); }
.custom-shape-divider-bottom .shape-fill { fill: #FFFFFF; }

/* Stats */
.stats-section { padding: 0 0 60px 0; margin-top: -80px; position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 30px 20px; background: #fff; border-radius: var(--border-radius-lg); box-shadow: 0 15px 35px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.02); height: 100%; display: flex; flex-direction: column; justify-content: center; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary-color); font-family: var(--font-heading); line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: 0.9rem; font-weight: 600; color: var(--text-light); line-height: 1.4; }

/* Methodology */
.methodology-section { padding: var(--section-spacing) 0; background-color: var(--bg-offwhite); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.process-step { text-align: center; padding: 30px 20px; background: white; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-sm); transition: transform 0.4s ease; border: 1px solid transparent; height: 100%; }
.process-step:hover { transform: translateY(-10px); border-color: rgba(255, 90, 25, 0.1); box-shadow: var(--shadow-md); }
.step-icon { width: 80px; height: 80px; background: #FFF5EB; color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; position: relative; }
.step-icon span { position: absolute; top: -5px; right: -5px; background: var(--secondary-color); color: white; width: 28px; height: 28px; border-radius: 50%; font-size: 0.85rem; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.process-step:not(:last-child)::after { content: '→'; position: absolute; right: -18px; top: 50%; transform: translateY(-50%); font-size: 2rem; color: #ddd; font-weight: 300; z-index: 1; }

/* Advantage/Programs */
.advantage-section, .programs-section { padding: var(--section-spacing) 0; background-color: #fff; }
.advantage-card { position: relative; overflow: hidden; border-radius: var(--border-radius-lg); height: 400px; box-shadow: var(--shadow-md); transition: transform 0.4s ease; cursor: pointer; }
.advantage-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.advantage-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.advantage-card:hover img { transform: scale(1.1); }
.card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px 25px; color: white; z-index: 2; transition: padding 0.3s ease; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.15); }
.advantage-card:hover .card-overlay { padding-bottom: 40px; }
.card-overlay h3 { color: #fff; margin-bottom: 10px; font-size: 1.5rem; }
.card-overlay p { color: rgba(255,255,255,0.9); font-size: 1rem; margin: 0; }

/* Program List Specifics */
.program-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; background: white; border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 60px; border: 1px solid var(--border-color); transition: 0.3s; }
.program-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.program-card.reverse { direction: rtl; }
.program-card.reverse > * { direction: ltr; }
.program-img { position: relative; overflow: hidden; min-height: 300px; }
.program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.program-card:hover .program-img img { transform: scale(1.05); }
.program-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.program-features li { margin-bottom: 10px; position: relative; padding-left: 25px; font-weight: 500; color: var(--text-color); }
.program-features li::before { content: '✓'; color: var(--primary-color); position: absolute; left: 0; font-weight: 800; }

/* Pricing */
.pricing-section { padding: var(--section-spacing) 0; background: var(--bg-offwhite); }
.pricing-card { background: #fff; padding: 50px 30px; border-radius: var(--border-radius-lg); text-align: center; box-shadow: var(--shadow-md); border-top: 5px solid var(--primary-color); max-width: 600px; margin: 0 auto; }
.price-tag { font-size: 3.5rem; font-weight: 800; color: var(--primary-color); margin: 20px 0; font-family: var(--font-heading); }

/* Subjects */
.subjects-section { padding: var(--section-spacing) 0; background-color: var(--bg-offwhite); }
.subject-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.subject-card-visual { background-size: cover; background-position: center; height: 280px; border-radius: var(--border-radius-lg); display: flex; align-items: flex-end; overflow: hidden; position: relative; cursor: pointer; box-shadow: var(--shadow-md); transition: transform 0.4s ease; }
.subject-card-visual:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.subject-content { width: 100%; padding: 25px; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 100%); color: white; text-align: center; transition: all 0.3s ease; }
.subject-card-visual:hover .subject-content { background: linear-gradient(to top, var(--primary-color) 0%, rgba(255, 90, 25, 0.4) 100%); }

/* About & Values */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: var(--section-spacing) 0; }
.about-img { border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.values-section { padding: var(--section-spacing) 0; background: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-card { background: var(--bg-offwhite); padding: 40px 30px; border-radius: var(--border-radius-lg); text-align: center; transition: 0.3s; border: 1px solid transparent; }
.value-card:hover { border-color: var(--primary-color); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-icon { font-size: 2.5rem; margin-bottom: 20px; display: inline-block; background: #fff; width: 80px; height: 80px; line-height: 80px; border-radius: 50%; box-shadow: var(--shadow-sm); color: var(--primary-color); }

/* Faculty */
.faculty-section { padding: var(--section-spacing) 0; background: var(--bg-offwhite); }
.faculty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.faculty-card { background: #fff; border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: 0.3s; text-align: center; height: 100%; }
.faculty-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.faculty-img { width: 100%; height: 280px; object-fit: cover; object-position: top; }
.faculty-info { padding: 25px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; padding: var(--section-spacing) 0; }
.contact-info-list { display: flex; flex-direction: column; gap: 30px; }
.info-card { display: flex; align-items: flex-start; gap: 20px; background: #fff; padding: 25px; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-sm); transition: 0.3s; border: 1px solid var(--border-color); }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-color); }
.info-icon { width: 50px; height: 50px; background: rgba(255, 90, 25, 0.1); color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-form-wrapper { background: #fff; padding: 50px; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); }
.form-group { margin-bottom: 25px; }
.form-control { width: 100%; padding: 15px; border: 2px solid #eee; background: #fdfdfd; border-radius: 10px; font-size: 1rem; transition: 0.3s; font-family: inherit; }
.form-control:focus { outline: none; border-color: var(--primary-color); background: #fff; box-shadow: 0 0 0 4px rgba(255, 90, 25, 0.1); }

/* Honeypot — off-screen but not display:none/visibility:hidden (some bots specifically skip
   filling fields hidden that way). Real visitors never tab into or see this. */
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Inline AJAX form feedback (success/error), replaces navigating to a separate "thank you" state */
.form-feedback { margin-top: 16px; font-size: 0.95rem; font-weight: 600; min-height: 1.2em; }
.form-feedback-success { color: #1a7f37; }
.form-feedback-error { color: #c0392b; }
.map-section { height: 450px; width: 100%; filter: grayscale(100%); transition: 0.5s; }
.map-section:hover { filter: grayscale(0%); }

/* Toppers */
.toppers-section { padding: var(--section-spacing) 0; background-color: var(--bg-white); }
.student-card { background: white; border-radius: var(--border-radius-lg); padding: 35px 25px; text-align: center; border: 1px solid var(--border-color); transition: all 0.3s ease; height: 100%; }
.student-card:hover { border-color: var(--primary-color); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.img-wrapper { width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%; padding: 5px; border: 2px dashed var(--primary-color); }
.img-wrapper img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.student-badge { background: var(--primary-color); color: white; display: inline-block; padding: 6px 18px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; box-shadow: 0 4px 12px rgba(255, 90, 25, 0.3); }

/* Director */
.director-section { padding: var(--section-spacing) 0; background-color: #fff; border-top: 1px solid #f0f0f0; }
.director-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.director-img-container { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.director-badge { position: absolute; bottom: 25px; right: 25px; background: rgba(255,255,255,0.95); backdrop-filter: blur(5px); padding: 10px 25px; border-radius: 50px; font-weight: 700; color: var(--primary-color); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }

/* Testimonials */
.testimonials { padding: var(--section-spacing) 0; background: var(--bg-offwhite); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.testimonial-card { background: #fff; padding: 50px 40px; border-radius: 20px; position: relative; box-shadow: var(--shadow-sm); transition: 0.3s ease; height: 100%; }
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.quote-icon { font-size: 5rem; color: #f0f0f0; position: absolute; top: 20px; left: 30px; font-family: serif; z-index: 1; }
.testimonial-card p { position: relative; z-index: 2; font-style: italic; font-size: 1.15rem; color: var(--text-color); margin-bottom: 30px; line-height: 1.8; }
.user-info { display: flex; align-items: center; gap: 20px; position: relative; z-index: 2; }
.user-info img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid #f8f8f8; }

/* FAQ */
.faq-section { padding: var(--section-spacing) 0; background-color: var(--bg-light); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); overflow: hidden; border: 1px solid var(--border-color); }
.faq-question { padding: 25px 30px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: #fff; transition: 0.3s; }
.faq-question:hover { background: #fcfcfc; }
.faq-question h3 { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--text-color); }
.faq-toggle { font-size: 1.5rem; color: var(--primary-color); font-weight: 300; transition: transform 0.3s; }
.faq-answer { padding: 0 30px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; background: #fff; border-top: 1px solid transparent; }
.faq-answer p { margin-bottom: 25px; color: var(--text-light); }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 10px; border-top-color: #f5f5f5; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }

/* CTA */
.cta-strip { background: linear-gradient(135deg, rgba(255, 90, 25, 0.95), rgba(200, 60, 20, 0.95)); padding: 100px 0; color: #fff; text-align: center; }
.cta-strip h2 { color: #fff; font-size: 2.5rem; margin-bottom: 15px; }
.cta-strip p { color: rgba(255,255,255,0.95); font-size: 1.2rem; margin-bottom: 40px; }

/* Footer */
footer { background-color: #111; color: #fff; padding: 80px 0 40px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 70px; }
.footer-col h4 { color: #fff; font-size: 1.25rem; margin-bottom: 30px; letter-spacing: 0.5px; }
.footer-col p { color: #aaa; line-height: 1.8; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col a { color: #aaa; transition: 0.3s; }
.footer-col a:hover { color: var(--primary-color); padding-left: 5px; }
.footer-bottom { border-top: 1px solid #222; padding-top: 30px; text-align: center; color: #666; font-size: 0.85rem; }

/* Floating & Sticky */
.floating-container { position: fixed; bottom: 30px; right: 30px; z-index: 1000; display: flex; flex-direction: column; gap: 15px; }
.float-btn { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.3s; cursor: pointer; border: none; color: #fff; text-decoration: none; }
.float-btn:hover { transform: scale(1.1); }
.whatsapp-btn-float { background-color: #25d366; }
.enroll-btn-float { background-color: var(--primary-color); font-size: 1.8rem; }
.mobile-sticky-bar { display: none; }

/* Animations */
.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; transform: translateY(30px); }
.delay-100 { animation-delay: 0.1s; } .delay-200 { animation-delay: 0.2s; } .delay-300 { animation-delay: 0.3s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* YouTube facade — replaces an always-loaded autoplay iframe. Shows a local
   thumbnail + play button; the real iframe (and YouTube's JS/CSS payload)
   only loads after a click. This was the single biggest LCP/TBT cost on the
   homepage (autoplaying embed loading on initial paint). */
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: none; cursor: pointer; padding: 0; background: #000 center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.yt-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.yt-facade-play { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; background: var(--primary-color); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.35); transition: transform 0.25s ease; }
.yt-facade:hover .yt-facade-play { transform: scale(1.08); }
.yt-facade-play svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }

/* Local CSS "initial avatars" — replaces 13 external ui-avatars.com requests
   with zero-network-request colored circles, same visual language (initials
   on a solid color) the placeholder service used. */
.avatar-initials { display: flex; align-items: center; justify-content: center; background: #0D8ABC; color: #fff; font-family: var(--font-heading); font-weight: 700; user-select: none; }
.img-wrapper .avatar-initials { width: 100%; height: 100%; border-radius: 50%; font-size: 2.2rem; }
.faculty-img.avatar-initials { width: 100%; height: 280px; font-size: 3rem; }

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero-layout { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .hero-text { order: 1; }
    .hero-image { order: 2; margin-top: 20px; max-width: 600px; margin: 0 auto; }
    .stats-grid, .testimonial-grid, .director-layout, .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .subject-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step:not(:last-child)::after { display: none; }
    .about-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-img { order: -1; }
    .program-card { grid-template-columns: 1fr; gap: 0; }
    .program-img { height: 250px; }
    .program-card.reverse { direction: ltr; }
    .contact-layout { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 768px) {
    .logo img { max-height: 40px; }
    .hamburger-menu { display: flex; z-index: 1001; }
    .main-nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; pointer-events: none; transition: 0.3s ease; z-index: 1000; }
    .main-nav.active { opacity: 1; visibility: visible; pointer-events: all; }
    .main-nav ul { flex-direction: column; align-items: center; gap: 30px; width: 100%; }
    .main-nav a { font-size: 1.5rem; display: block; text-align: center; }
    .desktop-only { display: none; }
    .stats-grid, .subject-grid, .process-grid, .values-grid, .faculty-grid, .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .advantage-section div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    h1 { font-size: 2rem; } h2 { font-size: 1.8rem; }
    .hero { padding: 40px 0 100px; }
    .section-spacing { padding: 60px 0; }
    .container { padding: 0 20px; }
    .floating-container { bottom: 20px; right: 20px; }
    .float-btn { width: 55px; height: 55px; }
    footer { padding-bottom: 40px; }
}
