:root {
    --navy: #033E80;
    --navy-deep: #0f194f;
    --orange: #E4731E;
    --yellow: #F4B41A;
    --paper: #F7F5F0;
    --ink: #101828;
    --ink-soft: #4A5468;
    --line: rgba(15, 25, 79, 0.12);
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 20px 40px -20px rgba(15, 25, 79, 0.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; 
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--navy-deep);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 1.5px;
    background: var(--orange);
    display: inline-block;
}

.tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(228, 115, 30, 0.55);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-navy {
    background: var(--navy-deep);
    color: #fff;
}

.btn-navy:hover {
    transform: translateY(-2px);
}

/* ===== Top bar ===== */
.topbar {
    background: var(--navy-deep);
    color: #fff;
    font-size: 13.5px;
    padding: 9px 0;
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar strong {
    color: var(--yellow);
}

.topbar a {
    text-decoration: none;
    opacity: 0.9;
}

.topbar a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ===== Header ===== */
header.site {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

header.site .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand img {
    height: 44px;
    width: auto;
}

.brand-fallback {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.brand-fallback span {
    color: var(--orange);
}

nav.main-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

nav.main-nav a {
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    position: relative;
    padding: 4px 0;
}

nav.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width .2s ease;
}

nav.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-cta .btn {
    padding: 11px 20px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--navy-deep);
    margin: 5px 0;
    border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(228, 115, 30, 0.18),
            transparent 45%
        ),
        linear-gradient(to right, #C3DDFF, white);

    color: #fff;
    padding: 30px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.hero-grid {
    display: flex;
    gap: 56px;
    justify-content: center; 
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 180, 26, 0.14);
    border: 1px solid rgba(244, 180, 26, 0.4);
    color: var(--yellow);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(32px, 4.2vw, 50px);
    color: #fff;
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    color: var(--yellow);
}

.hero p.lead {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
    margin-bottom: 14px;
}

.hero-subhead {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    margin-bottom: 26px;
}

.hero-subhead strong {
    color: #fff;
}

.highlight-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-bottom: 32px;
    max-width: 540px;
}

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
}

.highlight-list .tick svg {
    width: 100%;
    height: 100%;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero form card */
.form-card {
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    padding: 30px 28px 28px;
    box-shadow: var(--shadow);
    position: relative;
}

.form-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 24px;
    right: 24px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--yellow));
    border-radius: 0 0 6px 6px;
}

.form-card h3 {
    font-size: 22px;
    margin-bottom: 4px;
    color: var(--navy-deep);
}

.form-card .form-sub {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--navy-deep);
    margin-bottom: 6px;
}

.field input,
.field select {
    width: 100%;
    padding: 12px 13px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: var(--ink);
    background: #fdfcfa;
    transition: border-color .15s ease;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--orange);
}

.mode-toggle {
    display: flex;
    gap: 10px;
}

.mode-toggle label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 10px 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    color: var(--ink-soft);
    text-transform: none;
    margin-bottom: 0;
}

.mode-toggle input {
    width: auto;
    margin: 0;
}

.mode-toggle input:checked+span {
    color: var(--navy-deep);
}

.form-card .btn {
    width: 100%;
    margin-top: 6px;
    padding: 14px;
}

.form-note {
    font-size: 12px;
    color: var(--ink-soft);
    text-align: center;
    margin-top: 12px;
}

/* Thank-you overlay inside form card */
.thank-you {
    display: none;
    text-align: center;
    padding: 20px 6px 4px;
}

.thank-you.active {
    display: block;
}

.form-fields.hidden {
    display: none;
}

.thank-you .tick-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(228, 115, 30, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.thank-you h4 {
    font-size: 19px;
    color: var(--navy-deep);
    margin-bottom: 8px;
}

.thank-you p {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 18px;
}

/* ===== Section basics ===== */
section {
    padding: 88px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 48px;
} 

.section-head.why p {
    font-size: 20px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(26px, 3vw, 36px);
}

.section-head p {
    color: var(--ink-soft);
    font-size: 16px;
    margin-top: 14px;
}

.bg-alt {
    background: #fff;
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-copy p {
    color: var(--ink-soft);
    margin-bottom: 16px;
    font-size: 15.5px;
}

.about-copy p strong {
    color: var(--navy-deep);
}

.about-stats {
    /* background: var(--navy-deep);
    border-radius: var(--radius);
    padding: 32px 28px; */
    color: #fff;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.stat b {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 28px;
    color: var(--yellow);
    margin-bottom: 2px;
}

.stat span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.about-stats p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 18px;
} 

.about-img {
    border-radius: var(--radius);
    overflow: hidden;
}

/* ===== Why choose us ===== */
/* Two-column layout: card grid on the left, about.png image on the right (desktop) */
.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: start;
}

.why-image {
    /* border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow); */ 
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.why-image img {
    /* width: 100%;
    height: 100%; */
    /* object-fit: cover; */
    display: block; 
    border-radius: var(--radius);
}

.why-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.why-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.why-card h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 14px;
    color: var(--ink-soft);
}

/* ===== Faculty ===== */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.faculty-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.faculty-photo {
    aspect-ratio: 4 / 5;
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
} 

.faculty-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.faculty-photo .initials {
    font-family: 'Fraunces', serif;
    font-size: 44px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.faculty-photo .placeholder-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.faculty-body {
    padding: 18px 18px 22px;
}

.faculty-body h4 {
    font-size: 17px;
    margin-bottom: 2px;
}

.faculty-subject {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.faculty-body p {
    font-size: 13.5px;
    color: var(--ink-soft);
} 

/* Years-of-experience chip shown under the faculty blurb */
.faculty-exp {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-deep);
    background: rgba(3, 62, 128, 0.08);
    border-radius: 999px;
    padding: 5px 12px;
}

/* Bullet list of teaching highlights under each faculty card */
.faculty-points {
    list-style: none;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.faculty-points li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.faculty-points li:last-child {
    margin-bottom: 0;
}

.faculty-points .pin {
    flex-shrink: 0;
    font-size: 12px;
    line-height: 1.5;
}

/* ===== Batch details ===== */
.batch-panel {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: var(--radius);
    color: #fff;
    padding: 44px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
}

.batch-panel h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 14px;
}

.batch-panel p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
}

.batch-list {
    list-style: none;
    margin-top: 22px;
}

.batch-list li {
    display: flex;
    justify-content: space-between; 
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 14.5px;
} 

.batch-list li:last-child {
    border-bottom: none;
}

.batch-list b {
    font-weight: 700;
    color: var(--yellow); 
    text-align: end;
}

.batch-list span:first-child {
    color: rgba(255, 255, 255, 0.7);
}

.mode-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mode-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
}

.mode-card .tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--orange);
    background: rgba(228, 115, 30, 0.1);
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.mode-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.mode-card p {
    font-size: 14px;
    color: var(--ink-soft);
}

/* ===== Structured prep strip ===== */
.prep-strip {
    background: var(--yellow);
    border-radius: var(--radius);
    padding: 44px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.prep-strip h2 {
    font-size: 26px;
    margin-bottom: 14px;
}

.prep-strip p {
    color: #40331a;
    font-size: 14.5px;
    margin-bottom: 12px;
}

.prep-steps {
    list-style: none;
}

.prep-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-deep);
}

/* ===== Testimonials ===== */
.testimonial-carousel {
    max-width: 100%;
}

.carousel-viewport {
    overflow: hidden;
    padding: 4px 2px 14px;
}

.carousel-track {
    display: flex;
    gap: 22px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testi-card {
    box-sizing: border-box;
    flex: 0 0 calc((100% - 44px) / 3);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 8px;
}

.carousel-prev,
.carousel-next {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid rgba(15, 25, 79, 0.16);
    background: #fff;
    color: var(--navy-deep);
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: translateY(-2px);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-dots button {
    width: 8px;
    height: 8px;
    border: none;
    padding: 0;
    background: rgba(15, 25, 79, 0.24);
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.carousel-dots button.active,
.carousel-dots button:hover {
    background: var(--orange);
    transform: scale(1.35);
} 

.enq-wrapper {
    display: flex; 
    justify-content: center;
}

.enquire-btn {
    margin-top: 18px;
}

@media (max-width: 980px) {
    .testi-card {
        flex-basis: calc((100% - 22px) / 2);
    }
} 

@media (max-width: 640px) {
    .testi-card {
        flex-basis: 100%;
    }
}

.testi-card {
    background: white; 
    border: 1px solid var(--line);
    color: #fff;
    border-radius: var(--radius);
    padding: 26px 24px;
    position: relative;
}

.testi-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testi-name {
    font-size: 14.5px;
    font-weight: 700; 
    color: var(--navy-deep);
}

.testi-meta {
    font-size: 12px;
    /* color: rgba(255, 255, 255, 0.55); */ 
    color: var(--navy-deep);
}

.stars {
    color: var(--yellow);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.testi-card p.quote {
    font-size: 14px;
    /* color: rgba(255, 255, 255, 0.85); */ 
    color: var(--navy-deep);
    line-height: 1.65;
}

/* ===== Enquiry section ===== */
.enquiry {
    background: var(--navy-deep);
    color: #fff;
}

.enquiry-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 56px;
    align-items: start;
}

.enquiry h2 {
    color: #fff;
}

.enquiry .section-head p {
    color: rgba(255, 255, 255, 0.75);
}

.enquiry-form-wrap {
    background: #fff;
    border-radius: var(--radius);
    /* padding: 30px 28px; */ 
    overflow: hidden;
    color: var(--ink);
}

.speak-box {
    /* margin-top: 34px; */
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.speak-box h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.speak-box p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    margin-bottom: 16px;
}

.call-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.call-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
}

.call-chip:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* ===== Final CTA ===== */
.final-cta {
    background:
        radial-gradient(circle at 15% 30%, rgba(244, 180, 26, 0.16), transparent 45%),
        linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #fff;
    text-align: center;
    padding: 90px 0;
}

.final-cta h2 {
    color: #fff;
    font-size: clamp(26px, 3.4vw, 38px);
    max-width: 700px;
    margin: 0 auto 16px;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 30px;
    font-size: 15.5px;
}

.final-cta .btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
footer {
    background: #0b1338;
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 24px;
    font-size: 13.5px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
} 

.footer-grid p {
    font-size: 18px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-brand img {
    height: 36px;
}

.footer-brand .brand-fallback {
    color: #fff;
    font-size: 19px;
}

footer h3 {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 9px; 
    font-size: 16px;
}

footer a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
} 

/* ===== Social links (footer) ===== */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.social-icon svg {
    width: 17px;
    height: 17px;
}

.social-icon:hover {
    transform: translateY(-2px);
    border-color: transparent;
}

.social-icon.icon-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.icon-facebook:hover {
    background: #1877F2;
}

.social-icon.icon-youtube:hover {
    background: #FF0000;
}

/* ===== Testimonial video ===== */
.testi-video {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.testi-video h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.testi-video-frame {
    position: relative;
    width: 260px;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000;
}

.testi-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Address / Map ===== */
.address-box {
    /* margin-top: 34px; */
    /* padding-top: 28px; */
    /* border-top: 1px solid rgba(255, 255, 255, 0.15); */ 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column;
}

.address-box h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.address-box .address-text {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    margin-bottom: 16px;
}

.address-box .address-text svg {
    flex-shrink: 0;
    margin-top: 2px; 
} 

.contact-box {
    display: flex; 
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px; 
    height: 100%;
}

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18); 
    flex-grow: 1;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Persistent Call / WhatsApp buttons ===== */
.floating-contact {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fab {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}

.fab:hover {
    transform: translateY(-3px) scale(1.05);
}

.fab-call {
    background: var(--navy-deep);
}

.fab-whatsapp {
    background: #25D366;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
    nav.main-nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero-grid {
        flex-direction: column;
        gap: 40px; 
    } 

    .form-card {
        margin: 0 30px;
    }

    .highlight-list {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .batch-panel {
        grid-template-columns: 1fr;
    }

    .mode-cards {
        grid-template-columns: 1fr;
    }

    /* Why Aldine: stack the image above the cards, cards stay two-up */
    .why-layout {
        grid-template-columns: 1fr;
    }

    .why-image {
        order: -1;
        max-height: 320px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .prep-strip {
        grid-template-columns: 1fr;
    }

    .testi-grid {
        grid-template-columns: 1fr;
    }

    .enquiry-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    section {
        padding: 60px 0;
    }

    .wrap {
        padding: 0 20px;
    }

    .faculty-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .highlight-list {
        grid-template-columns: 1fr;
    }

    .header-cta .btn span.long {
        display: none;
    }

    .header-cta .btn span.short {
        display: inline !important;
    }
    
    .floating-contact {
        right: 16px;
        bottom: 16px;
    }

    .fab {
        width: 48px;
        height: 48px;
    }
}