/* =========================================================
   RK ENGLISH MEDIUM SCHOOL - CLEAN PREMIUM STYLE
   ========================================================= */

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #06264f;
    --blue: #0d3f7b;
    --orange: #ff7a00;
    --gold: #ffb13b;
    --cream: #fff7ed;
    --white: #ffffff;
    --text: #12213a;
    --muted: #66758b;
    --soft-bg: #f7f9ff;
    --glass: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 255, 255, 0.86);
    --shadow: 0 24px 70px rgba(6, 38, 79, 0.16);
    --shadow-soft: 0 16px 42px rgba(6, 38, 79, 0.10);
    --radius: 30px;
    --radius-lg: 42px;
    --transition: 0.35s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 122, 0, 0.10), transparent 28%),
        radial-gradient(circle at top right, rgba(13, 63, 123, 0.10), transparent 30%),
        var(--soft-bg);
    overflow-x: hidden;
    font-size: 15.5px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(92%, 1200px);
    margin: auto;
}

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 12px 35px rgba(6, 38, 79, 0.12);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    background: #ffffff;
    padding: 4px;
    box-shadow: 0 10px 24px rgba(6, 38, 79, 0.14);
}

.brand-logo h1 {
    color: var(--navy);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
}

.brand-logo p {
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-top: 3px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
}

.desktop-nav a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    padding: 10px 15px;
    border-radius: 999px;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(255, 122, 0, 0.25);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(255, 122, 0, 0.30);
}

.menu-toggle span {
    display: block;
    width: 23px;
    height: 3px;
    background: #ffffff;
    margin: 5px auto;
    border-radius: 20px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    padding: 12px 5%;
    background: rgba(6, 38, 79, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mobile-nav.active {
    display: grid;
    gap: 8px;
}

.mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    padding: 14px 18px;
    border-radius: 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.mobile-nav a:hover {
    background: linear-gradient(135deg, var(--orange), var(--gold));
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 900;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    box-shadow: 0 18px 38px rgba(255, 122, 0, 0.32);
}

.btn-light {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.btn:hover {
    transform: translateY(-5px);
}

/* =========================================================
   HOME HERO
   ========================================================= */

.hero {
    min-height: 760px;
    padding: 72px 0 105px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(255, 88, 6, 0.70), rgba(13, 63, 123, 0.92), rgba(255, 122, 0, 0.68)),
        url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 130px;
    background: linear-gradient(to top, var(--soft-bg), transparent);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    opacity: 0.75;
    animation: floatGlow 8s ease-in-out infinite;
}

.hero-glow-one {
    width: 360px;
    height: 360px;
    top: 85px;
    right: 8%;
    background: rgba(255, 122, 0, 0.28);
}

.hero-glow-two {
    width: 230px;
    height: 230px;
    left: 7%;
    bottom: 110px;
    background: rgba(255, 255, 255, 0.14);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 58px;
}

.badge,
.section-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.94);
    color: var(--orange);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5.4vw, 66px);
    line-height: 1.04;
    margin-bottom: 22px;
    letter-spacing: -0.8px;
}

.hero-content p {
    font-size: 16px;
    line-height: 1.85;
    max-width: 650px;
    color: #edf5ff;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 32px 0;
}

.hero-mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hero-mini-cards div {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-mini-cards strong,
.hero-mini-cards span {
    display: block;
}

.hero-mini-cards strong {
    font-size: 16px;
}

.hero-mini-cards span {
    margin-top: 4px;
    color: #dce8ff;
    font-size: 12px;
}

.hero-image-wrap {
    position: relative;
}

.hero-image-card {
    padding: 10px;
    border-radius: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.34);
}

.hero-image-card img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 40px;
}

.floating-box {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    font-weight: 900;
    padding: 15px 20px;
    border-radius: 24px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-box span {
    font-size: 24px;
}

.floating-box p {
    margin: 0;
    white-space: nowrap;
    font-size: 13.5px;
}

.floating-top {
    top: 70px;
    left: -40px;
}

.floating-bottom {
    right: -30px;
    bottom: 80px;
}

/* =========================================================
   QUICK INFO
   ========================================================= */

.quick-info {
    position: relative;
    z-index: 3;
    margin-top: -72px;
    padding-bottom: 40px;
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.quick-card {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.quick-card:hover {
    transform: translateY(-8px);
}

.quick-card span {
    color: var(--orange);
    font-size: 28px;
    font-weight: 900;
}

.quick-card h3 {
    color: var(--navy);
    margin: 12px 0 8px;
    font-size: 19px;
}

.quick-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

/* =========================================================
   COMMON SECTIONS
   ========================================================= */

.section {
    padding: 76px 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.content-panel h2,
.section-heading h2,
.admission-card h2,
.final-cta-box h2,
.contact-left h2,
.map-glass-card h2 {
    color: var(--navy);
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.18;
}

.content-panel p,
.section-heading p,
.contact-left > p,
.map-glass-card p,
.contact-form-card > p {
    color: var(--muted);
    line-height: 1.85;
    font-size: 15.5px;
    margin: 18px 0;
}

.section-heading {
    max-width: 820px;
    text-align: center;
    margin: 0 auto 52px;
}

.section-heading span {
    color: var(--orange);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.image-panel {
    position: relative;
}

.image-panel img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.image-caption {
    position: absolute;
    left: 28px;
    bottom: 28px;
    padding: 13px 22px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
    border-radius: 999px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.dark-caption {
    background: rgba(6, 38, 79, 0.90);
    color: #ffffff;
}

.tick-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0;
}

.tick-list p {
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 14px 30px rgba(6, 38, 79, 0.08);
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
}

.tick-list p::before {
    content: "✓";
    color: var(--orange);
    margin-right: 8px;
    font-weight: 900;
}

/* =========================================================
   WHY / FEATURE CARDS
   ========================================================= */

.why-section {
    background:
        radial-gradient(circle at top left, rgba(255, 122, 0, 0.13), transparent 26%),
        linear-gradient(135deg, #fff7ed, #eef6ff);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.feature-card {
    position: relative;
    padding: 32px;
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -64px;
    top: -64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.25), rgba(13, 63, 123, 0.12));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 80px rgba(6, 38, 79, 0.22);
}

.icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff1df, #eaf3ff);
    font-size: 30px;
    margin-bottom: 22px;
}

.feature-card h3 {
    color: var(--navy);
    font-size: 19px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 14px;
}

/* =========================================================
   LEARNING SECTION
   ========================================================= */

.learning-section {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(6, 38, 79, 0.94), rgba(13, 63, 123, 0.88)),
        url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.light-content h2,
.light-content p {
    color: #ffffff;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.approach-grid div {
    padding: 19px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.approach-grid strong,
.approach-grid span {
    display: block;
}

.approach-grid strong {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 6px;
}

.approach-grid span {
    color: #edf5ff;
    line-height: 1.6;
    font-size: 13.5px;
}

/* =========================================================
   ADMISSIONS HIGHLIGHT / PROCESS
   ========================================================= */

.admissions-highlight {
    padding: 62px 0;
}

.admission-card {
    padding: 48px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 122, 0, 0.45), transparent 32%),
        linear-gradient(135deg, var(--navy), var(--blue));
    box-shadow: 0 34px 80px rgba(6, 38, 79, 0.28);
}

.admission-card span {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.admission-card h2 {
    color: #ffffff;
    margin: 8px 0;
}

.admission-card p {
    color: #dfe9f8;
    line-height: 1.8;
    font-size: 15px;
}

.admission-form-card {
    padding: 38px;
    border-radius: 34px;
    background: var(--glass);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.admission-form-card h3 {
    color: var(--navy);
    font-size: 26px;
    margin-bottom: 18px;
}

.admission-form-card p {
    color: var(--muted);
    line-height: 1.8;
    padding: 13px 0;
    border-bottom: 1px solid rgba(6, 38, 79, 0.10);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-card {
    padding: 30px;
    border-radius: 30px;
    background: var(--glass);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-8px);
}

.process-card b {
    color: var(--orange);
    font-size: 28px;
}

.process-card h3 {
    color: var(--navy);
    margin: 12px 0;
    font-size: 18px;
}

.process-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 14px;
}

/* =========================================================
   PROGRAMS
   ========================================================= */

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.program-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover img {
    transform: scale(1.04);
}

.program-card h3 {
    color: var(--navy);
    font-size: 19px;
    padding: 24px 24px 8px;
}

.program-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 14px;
    padding: 0 24px 28px;
}

/* =========================================================
   FACILITIES
   ========================================================= */

.facilities-section {
    background:
        radial-gradient(circle at top right, rgba(255, 122, 0, 0.12), transparent 30%),
        linear-gradient(135deg, #fffaf3, #eef6ff);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.facility-card {
    position: relative;
    padding: 26px;
    border-radius: 26px;
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.90);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    overflow: hidden;
}

.facility-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 60px rgba(6, 38, 79, 0.16);
}

.facility-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff1df, #eaf3ff);
    font-size: 27px;
    margin-bottom: 18px;
}

.facility-card h3 {
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 8px;
}

.facility-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.facility-card span {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.facility-card.available span {
    color: #0f7a3b;
    background: rgba(15, 122, 59, 0.12);
}

.facility-card.not-available span {
    color: #b42318;
    background: rgba(180, 35, 24, 0.12);
}

/* =========================================================
   GALLERY PREVIEW
   ========================================================= */

.gallery-preview {
    background: linear-gradient(135deg, #fff7ed, #eef6ff);
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-auto-rows: 245px;
    gap: 20px;
}

.gallery-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-mosaic img:hover {
    transform: scale(1.035);
}

.large-img {
    grid-row: span 2;
}

/* =========================================================
   INNER HERO PAGES
   ========================================================= */

.inner-hero {
    position: relative;
    padding: 78px 0;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.inner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 122, 0, 0.34), transparent 30%),
        linear-gradient(135deg, rgba(6, 38, 79, 0.92), rgba(13, 63, 123, 0.82), rgba(255, 122, 0, 0.55));
    z-index: 1;
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.inner-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4.5vw, 54px);
    line-height: 1.10;
    margin-bottom: 20px;
}

.inner-hero p {
    color: #edf5ff;
    font-size: 16px;
    line-height: 1.8;
    max-width: 760px;
    margin: auto;
}

.about-hero,
.gallery-hero {
    background-image: url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1800&q=80");
}

.academics-hero {
    background-image: url("https://images.unsplash.com/photo-1497633762265-9d179a990aa6?auto=format&fit=crop&w=1800&q=80");
}

.admissions-hero,
.contact-hero {
    background-image: url("https://images.unsplash.com/photo-1577896851231-70ef18881754?auto=format&fit=crop&w=1800&q=80");
}

/* =========================================================
   GALLERY PAGE
   ========================================================= */

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: auto 18px 18px 18px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(15px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--navy);
    margin-bottom: 5px;
    font-size: 18px;
}

.gallery-overlay p {
    color: var(--muted);
    line-height: 1.5;
    font-size: 13.5px;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-section {
    background:
        radial-gradient(circle at top left, rgba(255, 122, 0, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(13, 63, 123, 0.12), transparent 28%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 44px;
    align-items: start;
}

.contact-info-list {
    display: grid;
    gap: 18px;
}

.contact-info-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    border-radius: 26px;
    background: var(--glass);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.contact-info-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.contact-icon {
    min-width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff1df, #eaf3ff);
    font-size: 26px;
}

.contact-info-box h3 {
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 18px;
}

.contact-info-box p,
.contact-info-box a {
    color: var(--muted);
    line-height: 1.7;
    text-decoration: none;
    font-size: 14px;
}

.contact-info-box a {
    color: var(--orange);
    font-weight: 900;
    font-size: 18px;
}

.contact-form-card {
    padding: 36px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -110px;
    top: -110px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.22), rgba(13, 63, 123, 0.12));
}

.contact-form-card h3 {
    position: relative;
    color: var(--navy);
    font-size: 25px;
    margin-bottom: 8px;
}

.contact-form-card form {
    position: relative;
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    border: 1px solid rgba(6, 38, 79, 0.12);
    border-radius: 18px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    background: rgba(255, 255, 255, 0.94);
    transition: var(--transition);
}

.contact-form-card textarea {
    min-height: 135px;
    resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    border-color: rgba(255, 122, 0, 0.75);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
}

.contact-form-card button {
    border: none;
    padding: 14px 22px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    font-family: inherit;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(255, 122, 0, 0.28);
    transition: var(--transition);
}

.contact-form-card button:hover {
    transform: translateY(-4px);
}

.map-section {
    padding-top: 20px;
}

.map-glass-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 34px;
    align-items: center;
    padding: 36px;
    border-radius: 38px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.map-placeholder {
    min-height: 340px;
    border-radius: 30px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(6, 38, 79, 0.88), rgba(255, 122, 0, 0.66)),
        url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1200&q=80");
    background-size: cover;
    background-position: center;
}

.map-placeholder h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.map-placeholder p {
    color: #edf5ff;
    margin: 0;
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
    padding: 92px 0;
    color: #ffffff;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(6, 38, 79, 0.90), rgba(255, 122, 0, 0.72)),
        url("https://images.unsplash.com/photo-1577896851231-70ef18881754?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
}

.final-cta-box {
    max-width: 900px;
    margin: auto;
}

.final-cta-box span {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.final-cta-box h2 {
    color: #ffffff;
    margin: 12px 0;
}

.final-cta-box p {
    color: #edf5ff;
    font-size: 16px;
    line-height: 1.8;
}

.center-buttons {
    justify-content: center;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    color: #ffffff;
    background:
        radial-gradient(circle at top left, rgba(255, 122, 0, 0.18), transparent 30%),
        linear-gradient(135deg, #031326, #061f42);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 42px;
}

.footer-about img {
    width: 105px;
    height: 105px;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 10px 24px rgba(6, 38, 79, 0.14);
    margin-bottom: 18px;
}

.footer h3,
.footer h4 {
    color: var(--gold);
    margin-bottom: 16px;
}

.footer h3 {
    font-size: 20px;
}

.footer h4 {
    font-size: 16px;
}

.footer p,
.footer a {
    color: #dce7f8;
    line-height: 1.8;
    font-size: 14px;
}

.footer a {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding: 18px;
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.28);
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes floatGlow {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-24px) rotate(8deg);
    }
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .desktop-nav a {
        font-size: 14px;
        padding: 10px 12px;
    }

    .brand-logo h1 {
        font-size: 18px;
    }
}

@media (max-width: 950px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 72px 0 110px;
    }

    .hero-grid,
    .split-grid,
    .contact-layout,
    .map-glass-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p,
    .content-panel p,
    .contact-left > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-mini-cards,
    .quick-info-grid,
    .feature-grid,
    .program-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-image-card img,
    .image-panel img {
        height: 430px;
    }

    .floating-box {
        display: none;
    }

    .admission-card {
        flex-direction: column;
        text-align: center;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr 1fr;
    }

    .large-img {
        grid-row: auto;
    }

    .gallery-page-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.large,
    .gallery-item.wide {
        grid-column: auto;
        grid-row: auto;
    }

    .contact-info-box {
        text-align: left;
    }
}

@media (max-width: 650px) {
    .container {
        width: 91%;
    }

    .header-inner {
        min-height: 78px;
    }

    .brand-logo img {
        width: 58px;
        height: 58px;
    }

    .brand-logo h1 {
        font-size: 15px;
    }

    .brand-logo p {
        display: none;
    }

    .hero {
        padding: 54px 0 86px;
    }

    .hero-content h1 {
        font-size: 33px;
    }

    .hero-content p {
        font-size: 14.5px;
    }

    .inner-hero {
        padding: 72px 0;
    }

    .inner-hero h1 {
        font-size: 30px;
    }

    .inner-hero p {
        font-size: 14.5px;
    }

    .section {
        padding: 58px 0;
    }

    .content-panel h2,
    .section-heading h2,
    .admission-card h2,
    .final-cta-box h2,
    .contact-left h2,
    .map-glass-card h2 {
        font-size: 25px;
    }

    .hero-mini-cards,
    .quick-info-grid,
    .feature-grid,
    .program-grid,
    .footer-grid,
    .tick-list,
    .approach-grid,
    .gallery-mosaic,
    .facilities-grid,
    .process-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .quick-info {
        margin-top: -48px;
    }

    .quick-card,
    .feature-card,
    .process-card,
    .facility-card {
        padding: 25px;
    }

    .hero-image-card {
        border-radius: 30px;
        padding: 7px;
    }

    .hero-image-card img,
    .image-panel img {
        height: 320px;
        border-radius: 24px;
    }

    .image-caption {
        left: 18px;
        bottom: 18px;
        padding: 11px 18px;
    }

    .admission-card {
        padding: 32px;
        border-radius: 30px;
    }

    .program-card img {
        height: 220px;
    }

    .gallery-mosaic {
        grid-auto-rows: 230px;
    }

    .gallery-page-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .gallery-item.tall {
        grid-row: auto;
    }

    .gallery-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .contact-form-card,
    .map-glass-card {
        padding: 26px;
        border-radius: 28px;
    }

    .contact-info-box {
        flex-direction: column;
    }

    .map-placeholder {
        min-height: 280px;
    }

    .final-cta {
        padding: 72px 0;
    }

    .footer {
        padding-top: 55px;
    }
}

@media (max-width: 420px) {
    .brand-logo h1 {
        font-size: 14px;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-mini-cards div {
        padding: 16px;
    }
}
/* SCROLL ANIMATION EFFECTS */

.quick-card,
.feature-card,
.program-card,
.facility-card,
.process-card,
.admission-form-card,
.contact-info-box,
.gallery-item,
.tick-list p,
.approach-grid div {
    opacity: 0;
    transform: translateY(45px);
    animation: fadeUpCard 0.9s ease forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
}

.quick-card:nth-child(1),
.feature-card:nth-child(1),
.program-card:nth-child(1),
.facility-card:nth-child(1),
.process-card:nth-child(1),
.contact-info-box:nth-child(1),
.gallery-item:nth-child(1),
.tick-list p:nth-child(1),
.approach-grid div:nth-child(1) {
    animation-delay: 0.1s;
}

.quick-card:nth-child(2),
.feature-card:nth-child(2),
.program-card:nth-child(2),
.facility-card:nth-child(2),
.process-card:nth-child(2),
.contact-info-box:nth-child(2),
.gallery-item:nth-child(2),
.tick-list p:nth-child(2),
.approach-grid div:nth-child(2) {
    animation-delay: 0.2s;
}

.quick-card:nth-child(3),
.feature-card:nth-child(3),
.program-card:nth-child(3),
.facility-card:nth-child(3),
.process-card:nth-child(3),
.contact-info-box:nth-child(3),
.gallery-item:nth-child(3),
.tick-list p:nth-child(3),
.approach-grid div:nth-child(3) {
    animation-delay: 0.3s;
}

.quick-card:nth-child(4),
.feature-card:nth-child(4),
.program-card:nth-child(4),
.facility-card:nth-child(4),
.process-card:nth-child(4),
.contact-info-box:nth-child(4),
.gallery-item:nth-child(4),
.tick-list p:nth-child(4),
.approach-grid div:nth-child(4) {
    animation-delay: 0.4s;
}

.quick-card:nth-child(5),
.feature-card:nth-child(5),
.program-card:nth-child(5),
.facility-card:nth-child(5),
.gallery-item:nth-child(5),
.tick-list p:nth-child(5),
.approach-grid div:nth-child(5) {
    animation-delay: 0.5s;
}

.quick-card:nth-child(6),
.feature-card:nth-child(6),
.program-card:nth-child(6),
.facility-card:nth-child(6),
.gallery-item:nth-child(6),
.tick-list p:nth-child(6),
.approach-grid div:nth-child(6) {
    animation-delay: 0.6s;
}

.quick-card:nth-child(7),
.feature-card:nth-child(7),
.facility-card:nth-child(7),
.gallery-item:nth-child(7) {
    animation-delay: 0.7s;
}

@keyframes fadeUpCard {
    from {
        opacity: 0;
        transform: translateY(45px) scale(0.96);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* LEFT IMAGE COMES FROM LEFT */

.image-panel {
    opacity: 0;
    transform: translateX(-60px);
    animation: slideFromLeft 1s ease forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 32%;
}

/* RIGHT CONTENT COMES FROM RIGHT */

.content-panel {
    opacity: 0;
    transform: translateX(60px);
    animation: slideFromRight 1s ease forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 32%;
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(60px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

/* SECTION HEADINGS ANIMATION */

.section-heading {
    opacity: 0;
    transform: translateY(35px);
    animation: headingFade 0.9s ease forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

@keyframes headingFade {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BUTTON SOFT PULSE */

.btn-primary {
    animation: softPulse 2.8s ease-in-out infinite;
}

@keyframes softPulse {
    0%,
    100% {
        box-shadow: 0 18px 38px rgba(255, 122, 0, 0.32);
    }

    50% {
        box-shadow: 0 22px 55px rgba(255, 122, 0, 0.48);
    }
}

/* REDUCE ANIMATION FOR USERS WHO DISABLE MOTION */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* CENTER ALIGN ALL CARDS */

.quick-card,
.feature-card,
.program-card,
.facility-card,
.process-card,
.admission-form-card {
    text-align: center;
}

.icon,
.facility-icon {
    margin-left: auto;
    margin-right: auto;
}

.program-card img {
    margin-left: auto;
    margin-right: auto;
}

/* CARD ENTRY ANIMATION */

.quick-card,
.feature-card,
.program-card,
.facility-card,
.process-card {
    opacity: 0;
    transform: translateY(60px) scale(0.92);
    animation-name: cardPopIn;
    animation-duration: 0.8s;
    animation-timing-function: ease;
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
}

.quick-card:nth-child(1),
.feature-card:nth-child(1),
.program-card:nth-child(1),
.facility-card:nth-child(1),
.process-card:nth-child(1) {
    animation-delay: 0.1s;
}

.quick-card:nth-child(2),
.feature-card:nth-child(2),
.program-card:nth-child(2),
.facility-card:nth-child(2),
.process-card:nth-child(2) {
    animation-delay: 0.25s;
}

.quick-card:nth-child(3),
.feature-card:nth-child(3),
.program-card:nth-child(3),
.facility-card:nth-child(3),
.process-card:nth-child(3) {
    animation-delay: 0.4s;
}

.quick-card:nth-child(4),
.feature-card:nth-child(4),
.facility-card:nth-child(4),
.process-card:nth-child(4) {
    animation-delay: 0.55s;
}

.quick-card:nth-child(5),
.feature-card:nth-child(5),
.facility-card:nth-child(5) {
    animation-delay: 0.7s;
}

.quick-card:nth-child(6),
.feature-card:nth-child(6),
.facility-card:nth-child(6) {
    animation-delay: 0.85s;
}

.quick-card:nth-child(7),
.feature-card:nth-child(7),
.facility-card:nth-child(7) {
    animation-delay: 1s;
}

@keyframes cardPopIn {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.92);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* CARD HOVER ANIMATION */

.quick-card:hover,
.feature-card:hover,
.program-card:hover,
.facility-card:hover,
.process-card:hover {
    transform: translateY(-10px) scale(1.02);
}