:root {
  --ink: #18222f;
  --muted: #5f6b7a;
  --line: #e4e8ee;
  --paper: #ffffff;
  --soft: #f3f7f6;
  --brand: #096b68;
  --brand-2: #d96532;
  --brand-3: #f5b84b;
  --dark: #10242c;
  --shadow: 0 18px 55px rgba(16, 36, 44, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  padding-bottom: 82px;
}
body.popup-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(16, 36, 44, 0.08); }
.top-strip { background: var(--dark); color: #fff; font-size: 13px; }
.top-strip__inner { display: flex; gap: 22px; align-items: center; justify-content: flex-end; min-height: 36px; }
.top-strip__inner span { margin-right: auto; color: #d9f1ef; }
.nav { min-height: 92px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand__logo { width: 270px; height: 84px; object-fit: contain; object-position: left center; }
.brand__logo--footer { width: 300px; height: auto; background: #fff; border-radius: 8px; padding: 10px; }
.brand--footer { color: #fff; margin-bottom: 16px; }
.nav-menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 700; margin-left: 10px; }
.nav-links > a, .dropdown > a { padding: 25px 0; color: #263849; }
.nav-links a.active, .nav-links a:hover, .dropdown:hover > a { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-action { display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 8px 12px; border-radius: 8px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.nav-action__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.18); font-size: 13px; font-weight: 800; }
.nav-action__icon svg { width: 22px; height: 22px; fill: currentColor; }
.nav-action__icon--phone svg { width: 20px; height: 20px; }
.nav-action__icon--whatsapp { border-radius: 50%; }
.nav-action small { display: block; margin-bottom: 3px; font-size: 11px; opacity: .82; }
.nav-action strong { display: block; font-size: 13px; }
.nav-action--call { background: #0b2f6b; color: #fff; }
.nav-action--whatsapp { background: #1faa59; color: #fff; }
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; left: 50%; top: 100%; width: min(760px, 90vw); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 8px; padding: 18px; opacity: 0; visibility: hidden; transform: translate(-42%, 8px); transition: .2s ease;
}
.dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translate(-42%, 0); }
.dropdown-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.dropdown-panel__head a { color: var(--brand); font-weight: 700; }
.dropdown-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.dropdown-grid a { padding: 9px 10px; border-radius: 7px; color: #314354; font-weight: 500; }
.dropdown-grid a:hover { background: var(--soft); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.nav-toggle span { display: block; height: 2px; width: 20px; margin: 5px auto; background: var(--dark); }
.hero { position: relative; min-height: 660px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; background: #10242c; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,36,44,.74), rgba(16,36,44,.34), rgba(16,36,44,.08)); }
.hero__content { position: relative; padding: 82px 0 110px; max-width: 1180px; }
.hero__grid, .page-hero__grid, .college-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 42px; align-items: center; }
.hero-form { align-self: start; }
.hero-form .enquiry-form { padding: 22px; box-shadow: 0 22px 60px rgba(0, 0, 0, .24); }
.hero-form .enquiry-form h3 { font-size: 24px; }
.hero-form .form-subtitle { color: #355061; background: #f6fbfb; border-color: #dcefed; }
.hero-form .enquiry-form input, .hero-form .enquiry-form textarea, .hero-form .enquiry-form select { min-height: 48px; padding: 11px 13px; }
.hero-form .enquiry-form textarea { min-height: 88px; }
.hero h1, .page-hero h1, .college-hero h1 { margin: 12px 0 16px; line-height: 1.08; letter-spacing: 0; }
.hero h1 { max-width: 780px; font-size: clamp(42px, 7vw, 78px); }
.hero p { max-width: 670px; font-size: 18px; color: #edf8f6; }
.hero-trust { display: inline-flex; max-width: none; margin: 4px 0 0; padding: 9px 13px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 14px; font-weight: 800; backdrop-filter: blur(10px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-2); text-transform: uppercase; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; }
.hero .eyebrow, .college-hero .eyebrow { color: var(--brand-3); }
.hero__actions, .footer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border-radius: 8px; font-weight: 700; border: 1px solid transparent; cursor: pointer; text-align: center; }
.btn--primary { background: var(--brand-2); color: #fff; }
.btn--secondary { background: var(--brand); color: #fff; }
.btn--outline { color: #fff; border-color: rgba(255,255,255,.65); }
.btn--light { color: var(--dark); background: #fff; }
.btn--whatsapp { background: #1faa59; color: #fff; }
.stats-band { margin-top: -42px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.stats-grid div { padding: 24px; border-right: 1px solid var(--line); }
.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { display: block; font-size: 34px; color: var(--brand); line-height: 1; }
.stats-grid span { color: var(--muted); font-size: 14px; }
.section { padding: 86px 0; }
.section--soft { background: var(--soft); }
.section--split { background: linear-gradient(180deg, #fff, #f8fbfb); }
.section-head { margin-bottom: 34px; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head.section-head--center h2, .section-head.section-head--center p { margin-left: auto; margin-right: auto; }
.section-head h2, .split-grid h2, .about-band h2, .faq-grid h2, .text-page h2, .content-main h2 { margin: 8px 0 12px; line-height: 1.18; letter-spacing: 0; }
.section-head h2, .split-grid h2, .about-band h2, .faq-grid h2 { font-size: clamp(30px, 4vw, 48px); max-width: 820px; }
.section-head p, .split-grid p, .about-band p { max-width: 760px; color: var(--muted); }
.split-grid { display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: start; }
.form-panel, .sidebar-card, .contact-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px; box-shadow: 0 14px 36px rgba(16, 36, 44, 0.08); }
.form-panel > h3, .form-panel > h2, .sidebar-card > h3 { margin-top: 0; }
.form-panel:has(.enquiry-form), .sidebar-card:has(.enquiry-form) { padding: 0; border: 0; box-shadow: none; background: transparent; }
.enquiry-form { position: relative; display: grid; grid-template-columns: 1fr; gap: 12px; background: linear-gradient(180deg, #ffffff, #f8fbff); border-radius: 12px; padding: 28px; box-shadow: 0 18px 48px rgba(16,36,44,.12); border: 1px solid #dde8f4; overflow: hidden; }
.enquiry-form::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #0b2f6b, #096b68, #18b85d); }
.enquiry-form h3 { margin: 0; color: #082a66; font-size: 27px; line-height: 1.12; letter-spacing: 0; }
.form-subtitle { margin: -2px 0 6px; color: #355061; font-size: 13px; font-weight: 600; line-height: 1.45; background: #f6fbfb; border: 1px solid #dcefed; border-left: 4px solid #6ab8ae; border-radius: 8px; padding: 9px 10px; }
.form-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 13px; color: #001b3f; }
.form-top span { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px; border-radius: 999px; background: #eef7f6; color: #096b68; font-weight: 800; }
.form-top a { color: #0b2f6b; font-weight: 800; white-space: nowrap; }
.enquiry-form label { display: grid; gap: 0; font-weight: 600; font-size: 0; color: #314354; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.enquiry-form input, .enquiry-form textarea, .enquiry-form select {
  width: 100%; border: 1px solid #d7e0ea; border-radius: 9px; min-height: 53px; padding: 13px 14px; font: inherit; color: #071a36; background: #fff; font-size: 15px; transition: border-color .18s ease, box-shadow .18s ease;
}
.enquiry-form input:focus, .enquiry-form textarea:focus, .enquiry-form select:focus { outline: none; border-color: #096b68; box-shadow: 0 0 0 4px rgba(9,107,104,.12); }
.enquiry-form select { appearance: auto; }
.enquiry-form textarea { resize: vertical; }
.enquiry-form button { min-height: 54px; background: linear-gradient(135deg, #0b2f6b, #096b68); box-shadow: 0 12px 24px rgba(9, 107, 104, .22); font-size: 17px; }
.form-safe { margin: 2px 0 0; color: #008b92; font-weight: 800; font-size: 14px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.feature-list span, .check-list li { position: relative; padding-left: 28px; color: #314354; }
.feature-list span::before, .check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.course-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.fee-note { margin: 18px 0 8px; padding: 18px; border: 1px solid #dcebed; border-left: 5px solid var(--brand); border-radius: 8px; background: #f8fbff; }
.fee-note strong { display: block; color: #082a66; font-size: 18px; margin-bottom: 6px; }
.fee-note p { margin: 0; }
.official-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; }
.official-links a { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 12px; border-radius: 8px; background: var(--soft); color: var(--brand); font-weight: 800; border: 1px solid #dcebed; }
.official-links a:hover { background: #e7f3f1; }
.college-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.college-grid--compact { grid-template-columns: repeat(4, 1fr); }
.college-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 12px 28px rgba(16,36,44,.08); transition: transform .2s ease, box-shadow .2s ease; }
.college-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.college-card picture { display: block; background: #dfe8e9; }
.college-card img { width: 100%; height: 220px; object-fit: cover; background: #dfe8e9; }
.college-card__body { padding: 18px; }
.college-card__body span { color: var(--brand); font-size: 13px; font-weight: 700; }
.college-card h3 { margin: 7px 0 8px; line-height: 1.25; }
.college-card p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.college-card--compact img { height: 150px; }
.college-card--compact p { display: none; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row small { background: var(--soft); color: #31515a; padding: 5px 8px; border-radius: 999px; font-weight: 600; }
.center-action { text-align: center; margin-top: 32px; }
.about-story { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
.about-story h2, .about-disclaimer h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.18; margin: 8px 0 14px; }
.about-story p, .about-disclaimer p { color: var(--muted); }
.about-card { position: sticky; top: 116px; display: grid; gap: 14px; background: linear-gradient(180deg, #0b2f6b, #096b68); color: #fff; border-radius: 8px; padding: 28px; box-shadow: var(--shadow); }
.about-card strong { font-size: 28px; line-height: 1.15; }
.about-card p { color: #e7f6f4; margin: 0; }
.about-card .btn { margin-top: 8px; }
.about-card--light { position: static; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(16, 36, 44, 0.08); }
.about-card--light p { color: var(--muted); }
.about-card--light .hero__actions { margin-top: 8px; }
.about-disclaimer { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: center; }
.section--why { background: linear-gradient(135deg, #eef7f6 0%, #f8fbff 52%, #ffffff 100%); }
.why-shell { position: relative; border: 1px solid #dcebed; border-radius: 8px; padding: 42px; background: rgba(255,255,255,.74); box-shadow: 0 18px 48px rgba(16,36,44,.08); overflow: hidden; }
.why-shell::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #0b2f6b, #096b68, #18b85d); }
.why-shell .section-head { position: relative; margin-bottom: 26px; }
.why-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-grid article { background: #fff; border: 1px solid #dce8ee; border-radius: 8px; padding: 22px; box-shadow: 0 12px 28px rgba(16,36,44,.06); }
.why-grid article > span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #eef7f6; color: #096b68; font-weight: 900; margin-bottom: 16px; }
.why-grid strong { display: block; color: #082a66; font-size: 19px; line-height: 1.22; margin-bottom: 10px; }
.why-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.about-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-points { display: grid; gap: 14px; }
.about-points article, .info-card, .process-grid article, .highlight-grid div, .highlight-grid article { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.about-points strong, .highlight-grid strong { display: block; color: var(--brand); font-size: 22px; }
.about-points span, .highlight-grid span { color: var(--muted); }
.info-grid, .process-grid, .highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-grid { grid-template-columns: repeat(4, 1fr); margin: 22px 0; }
.process-grid span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.testimonial-marquee { position: relative; overflow: hidden; width: min(100% - 48px, 1180px); margin: 8px auto 0; padding: 10px 34px 18px; }
.testimonial-marquee::before, .testimonial-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: 110px; pointer-events: none; }
.testimonial-marquee::before { left: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,0) 100%); }
.testimonial-marquee::after { right: 0; background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,0) 100%); }
.testimonial-track { display: flex; width: max-content; gap: 18px; padding-left: 72px; animation: testimonialMarquee 36s linear infinite; will-change: transform; }
.testimonial-marquee:hover .testimonial-track { animation-play-state: paused; }
.testimonial-card { width: 360px; min-height: 218px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, #fff, #f8fbff); border: 1px solid #dce8ee; border-left: 5px solid var(--brand-2); border-radius: 8px; padding: 22px; box-shadow: 0 12px 30px rgba(16,36,44,.08); }
.testimonial-card p { margin: 0 0 20px; color: var(--muted); line-height: 1.65; }
.testimonial-card strong { display: block; color: #082a66; font-size: 18px; }
.testimonial-card span { color: #096b68; font-weight: 800; font-size: 13px; }
@keyframes testimonialMarquee {
  from { transform: translateX(calc(-50% - 9px)); }
  to { transform: translateX(0); }
}
.faq-grid { display: grid; grid-template-columns: 380px 1fr; gap: 44px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; padding: 0 18px; }
.accordion summary { cursor: pointer; font-weight: 700; padding: 18px 0; }
.accordion p { margin-top: 0; color: var(--muted); }
.page-hero { background: linear-gradient(120deg, rgba(16,36,44,.72), rgba(9,107,104,.42)), url("../images/engineering-colleges-cover-fallback.jpg") center/cover; color: #fff; padding: 86px 0; }
.page-hero h1 { max-width: 820px; font-size: clamp(38px, 6vw, 66px); }
.page-hero p { color: #edf8f6; max-width: 740px; font-size: 18px; }
.college-hero { position: relative; min-height: 560px; display: flex; align-items: end; color: #fff; overflow: hidden; }
.college-hero__picture { position: absolute; inset: 0; display: block; }
.college-hero__picture img { width: 100%; height: 100%; object-fit: cover; }
.college-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,36,44,.9), rgba(16,36,44,.38)); }
.college-hero__content { position: relative; padding: 84px 0; }
.college-hero h1 { font-size: clamp(36px, 6vw, 66px); max-width: 900px; }
.college-hero p { color: #edf8f6; max-width: 760px; font-size: 18px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 42px; align-items: start; }
.content-main { min-width: 0; }
.content-main p { color: var(--muted); }
.content-main h2 { font-size: 32px; margin-top: 36px; }
.check-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.sidebar { position: sticky; top: 116px; display: grid; gap: 18px; }
.sidebar .enquiry-form { grid-template-columns: 1fr; padding: 22px; }
.sidebar .enquiry-form h3 { font-size: 24px; }
.related-links { display: grid; gap: 10px; }
.related-links a { color: var(--brand); font-weight: 700; }
.text-page { max-width: 860px; }
.text-page p { color: var(--muted); }
.contact-shell { display: grid; gap: 28px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { position: relative; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 24px; border: 1px solid #dce8ee; border-radius: 8px; background: linear-gradient(180deg, #fff, #f8fbff); box-shadow: 0 14px 36px rgba(16, 36, 44, .08); overflow: hidden; color: var(--ink); }
.contact-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #0b2f6b, #096b68); }
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(16, 36, 44, .13); }
.contact-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; background: #eef7f6; color: #096b68; font-weight: 900; font-size: 22px; }
.contact-card__icon svg { width: 25px; height: 25px; fill: currentColor; }
.contact-card small { color: #096b68; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.contact-card strong { color: #082a66; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.15; word-break: break-word; }
.contact-card em { color: var(--muted); font-style: normal; line-height: 1.45; }
.contact-card--primary { background: linear-gradient(135deg, #0b2f6b, #096b68); color: #fff; border-color: transparent; }
.contact-card--primary::before, .contact-card--whatsapp::before { background: rgba(255,255,255,.24); }
.contact-card--primary small, .contact-card--primary strong, .contact-card--primary em { color: #fff; }
.contact-card--primary .contact-card__icon { background: rgba(255,255,255,.16); color: #fff; }
.contact-card--whatsapp { background: linear-gradient(135deg, #0f8f52, #18b85d); color: #fff; border-color: transparent; }
.contact-card--whatsapp small, .contact-card--whatsapp strong, .contact-card--whatsapp em { color: #fff; }
.contact-card--whatsapp .contact-card__icon { background: rgba(255,255,255,.18); color: #fff; }
.contact-info-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 22px; align-items: stretch; }
.contact-panel { min-height: 100%; }
.contact-panel h3 { margin: 8px 0 12px; color: #082a66; font-size: clamp(25px, 3vw, 34px); line-height: 1.16; }
.contact-panel p { color: var(--muted); }
.contact-panel a { color: var(--brand); font-weight: 700; }
.contact-panel--dark { background: linear-gradient(135deg, #071a36, #0b2f6b); color: #fff; border-color: transparent; }
.contact-panel--dark h3, .contact-panel--dark .eyebrow { color: #fff; }
.contact-panel--dark .check-list li { color: #edf8f6; }
.contact-panel--dark .check-list li::before { color: #64e09e; }
.contact-meta { display: grid; gap: 12px; margin-top: 18px; }
.contact-meta span { display: block; padding: 14px 16px; border: 1px solid #dce8ee; border-radius: 8px; background: #f8fbff; color: #314354; line-height: 1.45; }
.contact-meta strong { color: #082a66; }
.footer { background: var(--dark); color: #dce6e8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1fr; gap: 36px; padding: 62px 0; }
.footer h3 { color: #fff; margin-top: 0; }
.footer p { color: #b8c8cc; }
.footer a { display: block; color: #dce6e8; margin: 9px 0; }
.footer-actions a { display: inline-flex; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; color: #a9bbc0; font-size: 14px; }
.floating-contact { position: fixed; right: 0; top: 50%; z-index: 60; transform: translateY(-50%); display: flex; align-items: stretch; pointer-events: none; }
.floating-contact__rail { width: 64px; display: grid; gap: 10px; pointer-events: auto; }
.floating-contact__tab, .floating-contact__whatsapp { border: 0; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 36px rgba(16, 36, 44, .22); }
.floating-contact__tab { min-height: 178px; border-radius: 16px 0 0 16px; background: linear-gradient(180deg, #0b2f6b, #063f5c); padding: 0; grid-template-rows: 48px 1fr; overflow: hidden; opacity: 0; visibility: hidden; transform: translateX(82px); pointer-events: none; transition: opacity .22s ease, visibility .22s ease, transform .22s ease; }
.floating-contact.is-visible .floating-contact__tab { opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; }
.floating-contact__arrow { display: grid; place-items: center; width: 100%; height: 48px; background: rgba(255,255,255,.12); font-size: 28px; line-height: 1; transition: transform .2s ease; }
.floating-contact.is-open .floating-contact__arrow { transform: rotate(180deg); }
.floating-contact__text { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.floating-contact__whatsapp { width: 64px; height: 64px; border-radius: 16px 0 0 16px; background: #18b85d; }
.floating-contact svg { width: 30px; height: 30px; fill: currentColor; }
.floating-contact__panel { position: absolute; right: 76px; top: 50%; width: min(372px, calc(100vw - 102px)); overflow: visible; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.98); box-shadow: 0 22px 70px rgba(16, 36, 44, .26); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(18px, -50%) scale(.98); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.floating-contact.is-visible.is-open .floating-contact__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(0, -50%) scale(1); }
.floating-contact__close { position: absolute; top: 16px; right: 16px; z-index: 1; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #314354; font-size: 22px; line-height: 1; cursor: pointer; }
.floating-contact .enquiry-form { gap: 8px; padding: 14px; box-shadow: none; border-color: #e4eaf2; }
.floating-contact .enquiry-form::before { height: 4px; }
.floating-contact .form-top { font-size: 12px; gap: 8px; padding-right: 38px; }
.floating-contact .form-top span { min-height: 24px; padding: 4px 8px; }
.floating-contact .form-top a { font-size: 11px; }
.floating-contact .enquiry-form h3 { font-size: 19px; padding-right: 32px; }
.floating-contact .form-subtitle { padding: 6px 8px; padding-right: 24px; margin: -2px 0 2px; font-size: 11px; line-height: 1.3; border-left-width: 3px; }
.floating-contact .enquiry-form input, .floating-contact .enquiry-form textarea, .floating-contact .enquiry-form select { min-height: 36px; padding: 8px 10px; font-size: 13px; border-radius: 7px; }
.floating-contact .enquiry-form textarea { min-height: 54px; }
.floating-contact .enquiry-form button { min-height: 40px; font-size: 14px; }
.floating-contact .form-safe { font-size: 12px; margin: 0; }
.bottom-contact-bar { position: fixed; left: 50%; bottom: 14px; z-index: 68; width: min(720px, calc(100% - 28px)); min-height: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; transform: translateX(-50%); border: 1px solid rgba(220,232,238,.9); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 18px 48px rgba(16,36,44,.22); backdrop-filter: blur(14px); }
.bottom-contact-bar__item { min-width: 0; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 900; color: #fff; cursor: pointer; box-shadow: 0 10px 22px rgba(16,36,44,.14); }
.bottom-contact-bar__item span { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.16); color: #fff; font-weight: 900; }
.bottom-contact-bar__item svg { width: 20px; height: 20px; fill: currentColor; }
.bottom-contact-bar__item strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bottom-contact-bar__item--call { background: linear-gradient(135deg, #0b2f6b, #096b68); }
.bottom-contact-bar__item--whatsapp { background: linear-gradient(135deg, #0f8f52, #18b85d); }
.bottom-contact-bar__item--enquiry { background: linear-gradient(135deg, #071a36, #0b2f6b); }
.form-status { position: fixed; left: 50%; bottom: 96px; z-index: 120; width: min(520px, calc(100vw - 28px)); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 14px 18px; border-radius: 8px; box-shadow: 0 18px 42px rgba(16, 36, 44, .2); font-weight: 800; text-align: center; transition: opacity .2s ease, transform .2s ease; }
.form-status.is-visible { opacity: 1; transform: translate(-50%, 0); }
.form-status--error { background: #fff3f0; color: #8f1d12; border: 1px solid #ffd2c7; }
.popup { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 18px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.popup.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(16,36,44,.62); }
.popup__card { position: relative; width: min(620px, 100%); max-height: min(90vh, 760px); overflow: auto; background: #fff; border-radius: 8px; padding: 28px; box-shadow: var(--shadow); transform: translateY(14px) scale(.98); transition: transform .2s ease; }
.popup.is-open .popup__card { transform: translateY(0) scale(1); }
.popup__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 26px; cursor: pointer; }

@media (max-width: 980px) {
  .top-strip__inner { justify-content: center; flex-wrap: wrap; padding: 8px 0; }
  .top-strip__inner span { margin-right: 0; width: 100%; text-align: center; }
  .nav { min-height: 78px; }
  .brand__logo { width: 220px; height: 70px; }
  .nav-toggle { display: block; }
  .nav { justify-content: space-between; }
  .nav-menu { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); display: none; max-width: calc(100vw - 32px); max-height: calc(100vh - 104px); overflow-x: hidden; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; box-shadow: var(--shadow); align-items: stretch; flex-direction: column; gap: 12px; }
  .nav-menu.is-open { display: flex; }
  .nav-links { align-items: stretch; flex-direction: column; gap: 0; margin-left: 0; }
  .dropdown { width: 100%; min-width: 0; }
  .nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav-action { justify-content: center; }
  .nav-links > a, .dropdown > a { display: flex; width: 100%; padding: 13px 8px; }
  .dropdown-panel { position: static; left: auto; right: auto; width: 100%; max-width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin-top: 6px; padding: 12px; overflow: hidden; display: none; }
  .dropdown:hover .dropdown-panel { display: none; transform: none; }
  .dropdown.is-open .dropdown-panel { display: block; }
  .dropdown-grid { grid-template-columns: 1fr; }
  .dropdown-grid a { white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
  .stats-grid, .college-grid, .college-grid--compact, .info-grid, .highlight-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid, .about-story, .about-disclaimer, .about-band, .faq-grid, .content-layout, .hero__grid, .page-hero__grid, .college-hero__grid { grid-template-columns: 1fr; }
  .hero-form { width: min(520px, 100%); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-card { position: static; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .floating-contact { top: 58%; display: flex; }
  .floating-contact__rail { width: 56px; gap: 8px; }
  .floating-contact__tab { min-height: 150px; border-radius: 14px 0 0 14px; grid-template-rows: 42px 1fr; }
  .floating-contact__arrow { height: 42px; font-size: 24px; }
  .floating-contact__text { font-size: 13px; }
  .floating-contact__whatsapp { width: 56px; height: 56px; border-radius: 14px 0 0 14px; }
  .floating-contact svg { width: 27px; height: 27px; }
  .floating-contact__panel { right: 64px; width: min(348px, calc(100vw - 76px)); padding: 8px; }
}

@media (max-width: 760px) {
  .hero__grid, .page-hero__grid, .college-hero__grid { gap: 24px; }
  .hero-form .enquiry-form { padding: 20px; }
  .enquiry-form h3 { font-size: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 42px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .container { width: min(100% - 24px, 1180px); }
  .brand__logo { width: 188px; height: 60px; }
  .brand__logo--footer { width: 240px; }
  .nav-actions { grid-template-columns: 1fr; }
  .nav-action { justify-content: flex-start; }
  .hero { min-height: 600px; }
  .hero h1 { font-size: 40px; }
  .section { padding: 62px 0; }
  .why-shell { padding: 28px 18px; }
  .testimonial-marquee { width: min(100% - 24px, 1180px); padding-inline: 18px; }
  .testimonial-marquee::before, .testimonial-marquee::after { width: 46px; }
  .testimonial-track { padding-left: 24px; }
  .testimonial-card { width: min(320px, calc(100vw - 48px)); min-height: 236px; }
  .stats-grid, .college-grid, .college-grid--compact, .info-grid, .process-grid, .highlight-grid, .why-grid, .footer-grid, .feature-list, .course-list, .enquiry-form, .form-row, .contact-cards, .contact-info-grid { grid-template-columns: 1fr; }
  .stats-band { margin-top: 0; }
  .stats-grid { border-radius: 0; }
  .stats-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .enquiry-form { padding: 22px 18px; }
  .enquiry-form h3 { font-size: 24px; }
  .form-top { align-items: flex-start; flex-direction: column; gap: 4px; }
  .form-subtitle { font-size: 12px; }
  .hero__content, .college-hero__content { padding: 54px 0; }
  .page-hero { padding: 54px 0; }
  .hero-form { width: 100%; }
  .college-hero { min-height: 600px; }
  .popup { padding: 12px; align-items: flex-start; overflow-y: auto; }
  .popup__card { margin: 12px 0; padding: 22px 18px; max-height: none; }
}

@media (max-width: 430px) {
  .top-strip { display: none; }
  .brand__logo { width: 164px; height: 52px; }
  .nav { min-height: 66px; }
  .hero h1, .page-hero h1, .college-hero h1 { font-size: 34px; }
  .hero p, .page-hero p, .college-hero p { font-size: 15px; }
  .hero__actions { gap: 8px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .enquiry-form { padding: 18px 14px; gap: 10px; }
  .enquiry-form h3 { font-size: 22px; }
  .enquiry-form input, .enquiry-form textarea, .enquiry-form select { min-height: 48px; font-size: 14px; }
  .floating-contact { top: 60%; }
  .floating-contact__rail { width: 48px; gap: 7px; }
  .floating-contact__tab { min-height: 132px; border-radius: 12px 0 0 12px; grid-template-rows: 38px 1fr; }
  .floating-contact__arrow { height: 38px; font-size: 22px; }
  .floating-contact__text { font-size: 12px; letter-spacing: .04em; }
  .floating-contact__whatsapp { width: 48px; height: 48px; border-radius: 12px 0 0 12px; }
  .floating-contact svg { width: 24px; height: 24px; }
  .floating-contact__panel { right: 54px; width: min(310px, calc(100vw - 64px)); padding: 6px; }
  .floating-contact__close { top: 12px; right: 12px; width: 28px; height: 28px; }
  .floating-contact .enquiry-form { gap: 6px; padding: 12px 10px; }
  .floating-contact .form-top { font-size: 11px; padding-right: 30px; }
  .floating-contact .form-top span { min-height: 22px; padding: 3px 7px; }
  .floating-contact .enquiry-form h3 { font-size: 17px; padding-right: 28px; }
  .floating-contact .form-subtitle { display: none; }
  .floating-contact .enquiry-form input, .floating-contact .enquiry-form textarea, .floating-contact .enquiry-form select { min-height: 34px; padding: 7px 9px; font-size: 12px; }
  .floating-contact .enquiry-form textarea { min-height: 44px; }
  .floating-contact .enquiry-form button { min-height: 36px; font-size: 13px; }
  .floating-contact .form-safe { font-size: 11px; }
  .bottom-contact-bar { bottom: 8px; width: calc(100% - 16px); min-height: 58px; padding: 6px; gap: 6px; border-radius: 12px; }
  .bottom-contact-bar__item { min-height: 46px; gap: 6px; padding: 8px 6px; border-radius: 9px; }
  .bottom-contact-bar__item span { width: 24px; height: 24px; border-radius: 7px; }
  .bottom-contact-bar__item svg { width: 18px; height: 18px; }
  .bottom-contact-bar__item strong { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track { animation: none; transform: none; width: auto; overflow-x: auto; }
}