/* =================================
   TELNET INTERNATIONAL SCHOOLS
   WEBSITE REDESIGN
================================= */


/* Google Fonts are loaded from index.html with early preconnect hints. */




/* CSS RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* BRAND COLOURS */
:root {
    --navy: #0B1F3A;
    --white: #FFFFFF;
--red: #c62828;
    --light-bg: #F4F5F7;
    --text-dark: #202B3C;
    --text-light: #687386;
}


/* GENERAL STYLING */
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}


/* HEADINGS */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}


/* LINKS */
a {
    text-decoration: none;
    color: inherit;
}


/* IMAGES */
img {
    max-width: 100%;
    display: block;
}
/* =================================
   HEADER & NAVIGATION
================================= */

.header {
    width: 100%;
    background: var(--white);
    padding: 18px 6%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* LOGO */

.logo img {
    width: 210px;
    height: 90px;
    object-fit: contain;
}

/* NAVIGATION */

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--red);
}

/* ADMISSION BUTTON */

.header-btn {
    background: var(--red);
    color: var(--white);
    padding: 13px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.header-btn:hover {
    background: var(--navy);
}

/* =================================
   HERO SECTION
================================= */

.hero {
    padding: 90px 6%;
    background: var(--light-bg);
}

.hero-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
}

/* HERO TEXT */

.hero-tag {
    display: inline-block;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.hero-content h1 {
    color: var(--navy);
    font-size: clamp(32px, 2.8vw, 42px);
    line-height: 1.2;
    margin-bottom: 25px;
   white-space: normal;
}

.hero-content h1 span {
    display: block;
    color: var(--red);
}

.hero-content p {
    max-width: 540px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 32px;
}

/* HERO BUTTONS */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 15px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.primary-btn {
    background: var(--navy);
    color: var(--white);
}

.primary-btn:hover {
    background: var(--red);
}

.secondary-btn {
    border: 1px solid var(--navy);
    color: var(--navy);
}

.secondary-btn:hover {
    background: var(--navy);
    color: var(--white);
}

/* HERO IMAGE */

.hero-image {
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 8px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =================================
   ABOUT SECTION
================================= */

.about {
    padding: 100px 6%;
    background: var(--white);
}

.about-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
gap: 70px;
}

/* ABOUT CONTENT */

.section-tag {
    display: inline-block;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-content h2 {
    color: var(--navy);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-content h2 span {
    display: block;
    color: var(--red);
}

.about-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 24px;
    background: var(--navy);
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.about-btn:hover {
    background: var(--red);
}

/* ABOUT HIGHLIGHTS */

.about-highlight {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ABOUT HIGHLIGHT CARDS */

.highlight-box {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e8edf2;
    border-left: 5px solid var(--red);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(11, 31, 58, 0.07);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 28px rgba(11, 31, 58, 0.12);
}

.highlight-box h3 {
    color: var(--navy);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
}

.highlight-box p {
    color: #344054;
    font-size: 16px;
    line-height: 1.7;
}
/* =================================
   ACADEMICS SECTION
================================= */

.academics {
    padding: 100px 6%;
    background: var(--light-bg);
}

.academics-container {
    max-width: 1400px;
    margin: auto;
}

/* SECTION HEADING */

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    color: var(--navy);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-heading h2 span {
    display: block;
    color: var(--red);
}

.section-heading > p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;
}

/* ACADEMIC CARDS */

.academic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ACADEMIC PROGRAMME CARDS */

.academic-card {
    background: #ffffff;
    padding: 38px 32px;
    min-height: 230px;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    border-bottom: 4px solid transparent;
    box-shadow: 0 6px 24px rgba(11, 31, 58, 0.06);
    transition: all 0.3s ease;
}

.academic-card:hover {
    transform: translateY(-7px);
    border-bottom-color: var(--red);
    box-shadow: 0 12px 30px rgba(11, 31, 58, 0.12);
}

.academic-number {
    display: inline-block;
    color: var(--red);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 22px;
}

.academic-card h3 {
    color: var(--navy);
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 14px;
}

.academic-card p {
    color: #344054;
    font-size: 16px;
    line-height: 1.8;
}

/* =================================
   ADMISSIONS SECTION
================================= */

.admissions {
    padding: 100px 6%;
    background: var(--navy);
}

.admissions-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 70px;
}

/* ADMISSIONS CONTENT */

.admissions-content .section-tag {
    color: var(--red);
}

.admissions-content h2 {
    color: var(--white);
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.2;
    margin-bottom: 24px;
}

.admissions-content h2 span {
    display: block;
    color: var(--red);
}

.admissions-content > p {
    max-width: 580px;
    color: #F0F2F6;
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 32px;
}

.admissions-btn {
    display: inline-block;
    padding: 15px 25px;
    background: var(--red);
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.admissions-btn:hover {
    background: var(--white);
    color: var(--navy);
}

/* ADMISSIONS NOTE */

.admissions-note {
    padding: 45px;
    background: #ffffff;
    border-radius: 10px;
    border-top: 5px solid var(--red);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.admissions-note h3 {
    color: var(--navy);
    font-size: 27px;
    margin-bottom: 18px;
}

.admissions-note p {
    color: #344054;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 22px;
}

.admissions-note span {
    color: var(--red);
    font-size: 15px;
    font-weight: 700;
}
/* =================================
   FACILITIES SECTION
================================= */

.facilities {
    padding: 100px 6%;
    background: var(--white);
}

.facilities-container {
    max-width: 1400px;
    margin: auto;
}

/* FACILITIES GRID */

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.facility-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8edf2;
    box-shadow: 0 6px 24px rgba(11, 31, 58, 0.06);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 32px rgba(11, 31, 58, 0.12);
}

.facility-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.05);
}

/* KEEP STUDENT FACES VISIBLE */

.facility-card:nth-child(2) .facility-image img,
.facility-card:nth-child(6) .facility-image img {
    object-position: center top;
}

.facility-content {
    padding: 28px;
}

.facility-number {
    display: inline-block;
    color: var(--red);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 15px;
}

.facility-card h3 {
    color: var(--navy);
    font-size: 21px;
    margin-bottom: 12px;
}

.facility-card p {
    color: #344054;
    font-size: 15px;
    line-height: 1.8;
}

/* =================================
   CONTACT SECTION
================================= */

.contact {
    padding: 100px 6%;
    background: var(--light-bg);
}

.contact-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
}

/* CONTACT CONTENT */

.contact-content h2 {
    color: var(--navy);
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.2;
    margin-bottom: 22px;
}

.contact-content h2 span {
    display: block;
    color: var(--red);
}

.contact-content > p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 35px;
}

/* CONTACT DETAILS */

.contact-details {
    display: grid;
    gap: 22px;
}

.contact-item {
    padding-left: 18px;
    border-left: 3px solid var(--red);
}

.contact-item h3 {
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* CONTACT CARD */

.contact-card {
    padding: 45px 35px;
    background: var(--navy);
    border-radius: 6px;
    text-align: center;
}

.contact-card h3 {
    color: var(--white);
    font-size: 27px;
    margin-bottom: 18px;
}

.contact-card p {
    color: #D5DBE5;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.contact-btn {
    display: inline-block;
    padding: 14px 22px;
    background: var(--red);
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.contact-btn:hover {
    background: var(--white);
    color: var(--navy);
}

/* =================================
   FOOTER
================================= */

.footer {
    background: #0A162C;
    color: var(--white);
    padding: 70px 6% 0;
}

.footer-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

/* FOOTER HEADINGS */

.footer h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    margin-bottom: 22px;
}

/* FOOTER BRAND */

.footer-brand h3 {
    font-size: 22px;
}

.footer-brand p,
.footer-contact p {
    color: #B9C3D2;
    font-size: 14px;
    line-height: 1.9;
    max-width: 350px;
}

/* FOOTER LINKS */

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-links h3 {
    margin-bottom: 10px;
}

.footer-links a {
    color: #B9C3D2;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: var(--red);
}

/* FOOTER BOTTOM */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p {
    color: #B9C3D2;
    font-size: 13px;
}

/* =================================
   TELNET SIGNATURE HERO REDESIGN
================================= */

.hero {
    position: relative;
    background: var(--navy);
    padding: 110px 7%;
    overflow: hidden;
    color: var(--white);
}

.hero::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -250px;
    right: -100px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(224, 68, 78, 0.25);
    border-radius: 50%;
    bottom: -220px;
    left: -100px;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 65px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: none;
}

.hero-tag {
    display: inline-block;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.hero-content h1 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: clamp(46px, 5.5vw, 76px);
    line-height: 1.12;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero-content h1 span {
    display: block;
    color: var(--red);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.9;
    max-width: 520px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.primary-btn {
    background: var(--red);
    color: var(--white);
    padding: 16px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s ease;
}

.primary-btn:hover {
    background: #A50D25;
    transform: translateY(-3px);
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 16px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s ease;
}

.secondary-btn:hover {
    background: var(--white);
    color: var(--navy);
}

/* HERO VISUAL PLACEHOLDER */

.hero-image-placeholder {
    position: relative;
    min-height: 520px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    background:
    linear-gradient(145deg, #0B1F3A 0%, #081A33 55%, #061426 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 25px 25px 0 rgba(224, 68, 78, 0.15);
}

.hero-image-placeholder::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: -100px;
    right: -80px;
}

.hero-image-placeholder::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(224, 68, 78, 0.12);
    border-radius: 50%;
    bottom: -80px;
    left: -60px;
}

.image-placeholder-content {
    position: relative;
    z-index: 1;
    padding: 35px;
    text-align: center;
}

.image-placeholder-content span {
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
}

.image-placeholder-content h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.3;
    margin: 22px 0;
}

.image-placeholder-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 1px;
}

.hero-image-number {
    position: absolute;
    z-index: 2;
    right: 25px;
    bottom: 25px;
    color: var(--white);
    font-size: 12px;
    letter-spacing: 2px;
}

/* =================================
   TELNET SCHOOL HERO COMPOSITION
================================= */

.school-hero-visual {
    position: relative;
    height: 580px;
    min-height: 580px;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.school-photo-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 95%;
    height: 82%;
    background: linear-gradient(145deg, #263B57, #0B1F3A);
    border: 5px solid var(--white);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 20%, rgba(200, 16, 46, 0.2), transparent 35%),
        linear-gradient(145deg, #263B57, #0B1F3A);
}

.photo-placeholder span {
    color: #F3A2AB;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.photo-placeholder h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 35px;
    line-height: 1.3;
    margin-bottom: 18px;
}

.photo-placeholder p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.school-photo-small {
    position: absolute;
    width: 43%;
    height: 35%;
    left: 0;
    bottom: 5%;
    border: 5px solid var(--white);
    background: #14243A;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 2;
}

.school-photo-small .photo-placeholder span {
    font-size: 9px;
}

.school-photo-small .photo-placeholder p {
    font-size: 11px;
}

.hero-value-card {
    position: absolute;
    right: -15px;
    bottom: 0;
    width: 58%;
    padding: 22px;
    background: var(--red);
    color: var(--white);
    z-index: 3;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.hero-value-card span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-value-card h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    margin: 10px 0;
}

.hero-value-card p {
    color: var(--white);
    font-size: 11px;
}

.hero-image-number {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--white);
    font-size: 11px;
    letter-spacing: 2px;
}

/* =================================
   TELNET HEADER REDESIGN
================================= */

.header {
    background: var(--white);
    padding: 15px 6%;
    box-shadow: 0 4px 20px rgba(11, 31, 58, 0.06);
    border-bottom: 3px solid var(--red);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    color: var(--navy);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-text small {
    color: var(--red);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 10px 14px;
    font-size: 25px;
    border-radius: 5px;
    cursor: pointer;
}

.nav-links a {
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--red);
}

.header-btn {
    background: var(--red);
    color: var(--white);
    padding: 14px 23px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
    transition: 0.3s ease;
}

.header-btn:hover {
    background: #A50D25;
    transform: translateY(-2px);
}

.school-motto {
   color: #000000;
    font-family: 'Playfair Display', serif;
    font-size: 12px;
    font-weight: 600;
    font-style: italic;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

/* TABLET RESPONSIVENESS */
@media (max-width: 1024px) {

    .header {
        padding: 15px 4%;
    }

    .header-container {
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero {
        padding: 80px 5%;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .school-hero-visual {
    height: 540px;
    min-height: 540px;
}

.school-photo-main {
    height: 75%;
}

.school-photo-small {
    bottom: 8%;
    height: 30%;
}

.hero-value-card {
    right: 0;
    bottom: 0;
    width: 55%;
}

    .hero-content h1 {
        font-size: 42px;
    }

    .about {
        padding-left: 5%;
        padding-right: 5%;
    }

}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {

    .header-container {
        flex-wrap: nowrap;
        align-items: center;
    }

    .navbar {
        width: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
        position: relative;
    }

    .menu-toggle {
        display: block;
        margin: 0;
        align-self: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: 260px;
        max-width: calc(100vw - 30px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0;
        background: #ffffff;
        box-shadow: 0 8px 25px rgba(11, 31, 58, 0.15);
        border-radius: 8px;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
    }

    .nav-links a,
    .nav-links summary {
        display: block;
        padding: 12px 18px;
    }
    .header-btn {
        display: none;
    }

    .hero {
        padding: 65px 6%;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .school-hero-visual {
    height: 460px;
    min-height: 460px;
    margin-top: 35px;
}

.school-photo-main {
    width: 90%;
    height: 68%;
}

.school-photo-small {
    width: 43%;
    height: 28%;
    left: 0;
    bottom: 28%;
}

.hero-value-card {
    right: 0;
    bottom: 0;
    width: 75%;
    padding: 16px;
}
}

/* SMALL PHONE RESPONSIVENESS */
@media (max-width: 480px) {

    .logo img {
        width: 45px;
        height: 45px;
    }

    .logo-text strong {
        font-size: 19px;
    }

    .logo-text small {
        font-size: 8px;
    }

    .school-motto {
        font-size: 11px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .school-hero-visual {
    height: 440px;
    min-height: 440px;
}

    .photo-placeholder h3 {
        font-size: 25px;
    }

    .hero-value-card {
        width: 75%;
        padding: 15px;
    }

    .hero-value-card h3 {
        font-size: 17px;
    }

}

/* PREVENT HORIZONTAL OVERFLOW */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

* {
    box-sizing: border-box;
}

/* LOGO SIZE ADJUSTMENT */

.header .logo img {
    width: 100px;
    height: 100px;
    max-width: 100%;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

/* SCHOOL ENTRANCE PHOTOGRAPH */

.school-photo-main img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

/* =========================================
   TELNET — PREMIUM DESIGN REFINEMENT
========================================= */

/* GLOBAL REFINEMENTS */

:root {
    --navy: #0B1F3A;
    --red: #c62828;
    --light-bg: #F5F7FA;
    --text-dark: #202B3C;
    --text-light: #657286;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    overflow-x: clip;
}

section {
    scroll-margin-top: 110px;
}

/* HERO REFINEMENTS */

.hero-content h1 {
    white-space: normal;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
 color: var(--red);
}

.hero-tag {
    color: var(--red);
}

.hero-value-card {
    border-radius: 3px;
}

.hero-value-card h3 {
    line-height: 1.3;
}

/* SECTION SPACING AND HEADINGS */

.about,
.academics,
.admissions,
.facilities,
.contact {
    padding-top: 110px;
    padding-bottom: 110px;
}

.section-tag {
    letter-spacing: 2.5px;
}

.section-heading {
    margin-bottom: 65px;
}

.section-heading h2,
.about-content h2,
.contact-content h2 {
    letter-spacing: -1px;
}

/* ABOUT SECTION */

.about-container {
    gap: 65px;
}

.highlight-box {
    padding: 32px;
    border-radius: 3px;
    background: #F5F7FA;
    box-shadow: 0 8px 25px rgba(11, 31, 58, 0.04);
}

.highlight-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.08);
}

/* ACADEMICS SECTION */

.academics {
    background: #F3F5F8;
}

.academic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.academic-card {
    padding: 38px 32px;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(11, 31, 58, 0.06);
}

.academic-card h3 {
    line-height: 1.35;
}

.academic-card:hover {
    box-shadow: 0 18px 35px rgba(11, 31, 58, 0.10);
}

/* ADMISSIONS SECTION */

.admissions {
    background: var(--navy);
}

.admissions-content .section-tag {
    color: var(--red);
}

.admissions-content h2 span {
    color: var(--red);
}

.admissions-note {
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* FACILITIES SECTION */

.facilities-grid {
    gap: 28px;
}

.facility-card {
    padding: 42px 32px;
    background: #F5F7FA;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(11, 31, 58, 0.04);
}

.facility-icon {
    width: 54px;
    height: 54px;
    border-radius: 3px;
}

.facility-card:hover {
    background: var(--white);
    box-shadow: 0 15px 35px rgba(11, 31, 58, 0.09);
}

/* CONTACT SECTION - PREMIUM STYLING */

.contact {
    background: #F3F5F8;
}

.contact-container {
    gap: 65px;
}

.contact-content h2 {
    color: var(--navy);
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 22px;
}

.contact-content h2 span {
    color: var(--red);
    display: block;
}

.contact-content > p {
    color: #344054;
    font-size: 17px;
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 35px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    color: var(--navy);
    font-size: 19px;
    margin-bottom: 9px;
}

.contact-item p,
.contact-item a {
    color: #344054;
    font-size: 16px;
    line-height: 1.8;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--red);
}

.contact-card {
    padding: 50px 40px;
    background: #ffffff;
    border-radius: 10px;
    border-top: 5px solid var(--red);
    box-shadow: 0 15px 35px rgba(11, 31, 58, 0.12);
}

.contact-card h3 {
    color: var(--navy);
    font-size: 27px;
    margin-bottom: 18px;
}

.contact-card p {
    color: #344054;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.contact-btn {
    display: inline-block;
    padding: 15px 25px;
    background: var(--red);
    color: #ffffff;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-btn:hover {
    background: var(--navy);
    transform: translateY(-3px);
}

/* FOOTER */

.footer {
    background: #08172B;
}

.footer-container {
    gap: 50px;
}

.footer-links a:hover {
    color: var(--red);
}

/* TABLET */

@media (max-width: 1024px) {

    .about,
    .academics,
    .admissions,
    .facilities,
    .contact {
        padding: 85px 5%;
    }

    .about-container,
    .contact-container {
        gap: 40px;
    }

    .admissions-container {
        gap: 40px;
    }

    .academic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .facilities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-container {
        gap: 30px;
    }
}

/* MOBILE */

@media (max-width: 768px) {

    .about,
    .academics,
    .admissions,
    .facilities,
    .contact {
        padding: 70px 6%;
    }

    .about-container,
    .admissions-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content h2,
    .contact-content h2 {
        font-size: 36px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 36px;
    }

    .academic-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .academic-card {
    padding: 30px 25px;
}

    .admissions-note {
        padding: 32px 25px;
    }

    .contact-card {
        padding: 40px 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer {
        padding-top: 55px;
    }
}

/* SMALL PHONES */

@media (max-width: 480px) {

    .about,
    .academics,
    .admissions,
    .facilities,
    .contact {
        padding: 60px 5%;
    }

    .about-content h2,
    .contact-content h2,
    .section-heading h2 {
        font-size: 31px;
    }

    .about-content p,
    .contact-content > p {
        font-size: 14px;
    }

    .highlight-box {
        padding: 25px 22px;
    }

    .academic-card {
    padding: 28px 22px;
}
    .footer-container {
        padding-bottom: 35px;
    }

    .footer-bottom p {
        font-size: 11px;
    }
}

@media (min-width: 1025px) {
    .hero-content h1 {
        font-size: clamp(38px, 4.5vw, 62px);
        line-height: 1.12;
        letter-spacing: -1.5px;
    }

    .hero-content {
        align-self: center;
        transform: translateY(-90px);
    }

   .hero-tag {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.8px;
}
}

/* ABOUT SECTION TEXT ENHANCEMENT */

.about-content p {
    font-size: 17px;
    color: #263445;
    line-height: 1.8;
}

.about-highlight .highlight-box h3 {
    font-size: 20px;
    color: #0B1F3A;
}

.about-highlight .highlight-box p {
    font-size: 16px;
    color: #344054;
    line-height: 1.7;
}

/* ADMISSIONS CONTACT NUMBERS */

.admission-contacts {
    margin: 25px 0;
}

.admission-contacts p {
    color: #344054;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
}

.admission-contacts a {
    display: block;
    width: fit-content;
    margin-bottom: 12px;
    padding: 12px 18px;
    background: #f1f4f8;
    border-left: 4px solid var(--red);
    border-radius: 5px;
    color: var(--navy);
    font-family: Arial, sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: 0.3s ease;
}

.admission-contacts a:hover {
    background: var(--navy);
    color: #ffffff;
    transform: translateX(5px);
}

/* PREMIUM FACILITY PLACEHOLDERS */

.facility-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0B1F3A, #183D63);
}

.facility-placeholder::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}

.facility-placeholder::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
}

.facility-placeholder span {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    padding: 20px;
}

/* INDIVIDUAL FACILITY STYLES */

.classroom-placeholder {
    background: linear-gradient(135deg, #0B1F3A, #244C70);
}

.science-placeholder {
    background: linear-gradient(135deg, #142D46, #315C70);
}

.library-placeholder {
    background: linear-gradient(135deg, #172A40, #3C5269);
}

.sports-placeholder {
    background: linear-gradient(135deg, #0B1F3A, #762D3B);
}

/* FOOTER ENHANCEMENTS */

/* SCHOOL MOTTO */
.footer-motto {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 18px;
}

/* FOOTER CONTACT LINKS */
.footer-contact a {
    display: block;
    width: fit-content;
    color: #B9C3D2;
    font-size: 15px;
    margin-top: 12px;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-contact a:hover {
    color: var(--red);
    transform: translateX(4px);
}

/* FOOTER LINK CLEANUP */
.footer-links a {
    text-decoration: none;
}

/* =================================
   VISION, MISSION & VALUES
================================= */

.vision-mission {
    padding: 100px 6%;
    background: #F3F5F8;
}

.vision-mission-container {
    max-width: 1400px;
    margin: auto;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 55px;
}

.vm-card {
    background: #ffffff;
    padding: 38px 32px;
    min-height: 300px;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    border-bottom: 4px solid transparent;
    box-shadow: 0 6px 24px rgba(11, 31, 58, 0.06);
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-7px);
    border-bottom-color: var(--red);
    box-shadow: 0 12px 30px rgba(11, 31, 58, 0.12);
}

.vm-number {
    display: inline-block;
    color: var(--red);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 22px;
}

.vm-card h3 {
    color: var(--navy);
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 18px;
}

.vm-card p {
    color: #344054;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.vm-card ul {
    padding-left: 20px;
    margin-bottom: 18px;
}

.vm-card li {
    color: #344054;
    font-size: 16px;
    line-height: 2;
}

/* TABLET */

@media (max-width: 1024px) {
    .vm-grid {
        gap: 18px;
    }

    .vm-card {
        padding: 30px 24px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }

    .vm-card {
        min-height: auto;
    }
}

/* =================================
   PREMIUM DROPDOWN NAVIGATION
================================= */

/* NAVIGATION ITEMS */

.nav-links > li {
    position: relative;
}

.nav-links details {
    position: relative;
}

/* DROPDOWN HEADINGS */

.nav-links summary {
    list-style: none;
    cursor: pointer;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links summary::-webkit-details-marker {
    display: none;
}

.nav-links summary::after {
    content: "⌄";
    display: inline-block;
    margin-left: 6px;
    color: var(--red);
    transition: transform 0.3s ease;
}

.nav-links details[open] summary::after {
    transform: rotate(180deg);
}

.nav-links summary:hover,
.nav-links details[open] summary {
    color: var(--red);
}

/* DROPDOWN PANEL */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    min-width: 225px;
    padding: 12px 0;
    background: #ffffff;
    border-top: 3px solid var(--red);
    border-radius: 6px;
    box-shadow: 0 12px 35px rgba(11, 31, 58, 0.15);
    list-style: none;
    z-index: 999;
    animation: dropdownAppear 0.25s ease;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 11px 20px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    color: var(--red);
    background: #F3F5F8;
    padding-left: 26px;
}

/* DROPDOWN ANIMATION */

@keyframes dropdownAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET NAVIGATION */

@media (max-width: 1024px) {
    .nav-links summary {
        font-size: 12px;
    }

    .dropdown-menu {
        min-width: 210px;
    }
}

/* MOBILE NAVIGATION */

@media (max-width: 768px) {

    .nav-links {
        align-items: flex-start;
    }

    .nav-links > li {
        text-align: left;
    }

    .nav-links details {
        position: static;
    }

    .dropdown-menu {
        position: static;
        min-width: 220px;
        margin-top: 10px;
        box-shadow: none;
        border: 1px solid #e8edf2;
        border-top: 3px solid var(--red);
        border-radius: 5px;
    }

    .nav-links summary {
        font-size: 13px;
    }

}

/* SMALL PHONES */

@media (max-width: 480px) {

    .nav-links summary {
        font-size: 11px;
    }

    .dropdown-menu a {
        font-size: 12px;
    }

}

/* FACILITY PLACEHOLDER ACCENTS */

.classroom-placeholder {
    background: linear-gradient(135deg, #0B1F3A, #183D63);
}

.science-placeholder {
    background: linear-gradient(135deg, #122B4A, #254E70);
}

.library-placeholder {
    background: linear-gradient(135deg, #0B1F3A, #263F5D);
}

.sports-placeholder {
    background: linear-gradient(135deg, #183D63, #0B1F3A);
}

.facility-placeholder span {
    border-bottom: 3px solid var(--red);
    padding-bottom: 12px;
}

/* =================================
   SCHOOL LIFE GALLERY
================================= */

.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5, 18, 38, 0.92);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
}

.gallery-modal-content h2 {
    color: #0b1f3a;
    font-size: 26px;
    margin-bottom: 25px;
}

.gallery-image-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-close {
    position: absolute;
    top: 12px;
    right: 18px;
    border: none;
    background: none;
    color: #0b1f3a;
    font-size: 35px;
    cursor: pointer;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 31, 58, 0.85);
    color: #ffffff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
}

.gallery-nav:hover {
    background: #c62828;
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

#gallery-caption {
    color: #555555;
    margin-top: 18px;
    font-size: 15px;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 600px) {

    .gallery-modal-content {
        padding: 25px 15px;
    }

    .gallery-modal-content h2 {
        font-size: 21px;
        margin-top: 15px;
    }

    .gallery-image-container {
        height: 300px;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

}

/* =================================
   VIEW GALLERY BUTTONS
================================= */

.view-gallery-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 11px 22px;
    background: #0b1f3a;
    color: #ffffff;
    border: 2px solid #0b1f3a;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-gallery-btn:hover {
    background: #c62828;
    border-color: #c62828;
    transform: translateY(-2px);
}

.view-gallery-btn:focus-visible {
    outline: 3px solid #c62828;
    outline-offset: 3px;
}

/* =================================
   NEWS & ANNOUNCEMENTS
================================= */

.announcements {
    padding: 90px 6%;
    background: #f5f7fa;
}

.announcements-container {
    max-width: 1200px;
    margin: auto;
}

.announcement-slider {
    max-width: 950px;
    margin: 45px auto 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(11, 31, 58, 0.08);
}

.announcement-track {
    min-height: 220px;
}

.announcement-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
}

.announcement-controls button {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #0b1f3a;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease;
}

.announcement-controls button:hover {
    background: #c62828;
}

.announcement-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ANNOUNCEMENT CARD */

.announcement-card {
    display: none;
    animation: announcementFade 0.5s ease;
}


/* ANNOUNCEMENT IMAGES */

.announcement-image {
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.announcement-card.active {
    display: block;
}

.announcement-date {
    display: inline-block;
    color: #c62828;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.announcement-card h3 {
    color: #0b1f3a;
    font-size: 25px;
    margin-bottom: 15px;
}

.announcement-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

@keyframes announcementFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ANNOUNCEMENT INDICATORS */

.announcement-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: #cbd2dc;
    cursor: pointer;
    padding: 0;
}

.announcement-dot.active {
    background: #c62828;
    transform: scale(1.2);
}

/* ANNOUNCEMENTS MOBILE RESPONSIVENESS */

@media (max-width: 600px) {

    .announcements {
        padding: 60px 5%;
    }

    .announcement-slider {
        padding: 22px 18px;
        margin-top: 30px;
    }

    .announcement-track {
        min-height: 250px;
    }

    .announcement-card h3 {
        font-size: 21px;
    }

    .announcement-card p {
        font-size: 14px;
        line-height: 1.7;
    }

    .announcement-controls {
        gap: 18px;
    }

}

/* FIX PAGE LEFT-EDGE ALIGNMENT */
html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    position: relative;
    left: 0;
}