/* =========================================================
   GLOBAL
========================================================= */

:root {
    --primary: #0b4f9c;
    --primary-dark: #06366d;
    --secondary: #f6a800;
    --accent: #e94b35;
    --dark: #182433;
    --text: #555;
    --light: #f5f8fc;
    --white: #ffffff;
    --border: #e5e9ef;

    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    background: var(--primary-dark);
    color: #fff;
    font-size: 13px;
}

.top-bar-content {
    min-height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar i {
    color: var(--secondary);
    margin-right: 6px;
}

.top-contact {
    display: flex;
    gap: 25px;
}

.top-contact a {
    transition: 0.3s;
}

.top-contact a:hover {
    color: var(--secondary);
}


/* =========================================================
   HEADER
========================================================= */

.main-header {
    background: #fff;
    padding: 18px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.school-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.school-logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

.school-name h1 {
    color: var(--primary);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
}

.school-name p {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.header-info {
    display: flex;
    gap: 30px;
}

.header-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-info-item > i {
    width: 44px;
    height: 44px;
    background: #eef5ff;
    color: var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.header-info-item span {
    display: block;
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
}

.header-info-item strong {
    display: block;
    color: var(--dark);
    font-size: 13px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    flex: 1;
}

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

.nav-menu > li > a {
    color: #fff;
    display: block;
    padding: 17px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--secondary);
}

.nav-menu i {
    font-size: 10px;
    margin-left: 4px;
}


/* =========================================================
   DROPDOWN
========================================================= */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: #fff;
    list-style: none;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--secondary);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: 0.3s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    color: var(--dark);
    padding: 11px 17px;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}

.dropdown-menu li a:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 22px;
}


/* =========================================================
   ADMISSION NAV BUTTON
========================================================= */

.nav-admission-btn {
    background: var(--secondary);
    color: #222;
    padding: 10px 18px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.3s;
}

.nav-admission-btn:hover {
    background: #fff;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
}


/* =========================================================
   THOUGHT OF THE DAY
   IMPORTANT:
   - This section should be ABOVE HERO SLIDER in HTML
   - Icon LEFT
   - Thought RIGHT
========================================================= */

.thought-section {
    background:
        linear-gradient(
            135deg,
            #fffaf0,
            #fff4d7
        );

    border-bottom: 1px solid #f0dfb5;
    padding: 20px 0;
}


/* Main thought box */

.thought-box {
    background: #fff;
    border-left: 5px solid var(--secondary);

    border-radius: var(--radius);

    padding: 10px 25px;

    display: flex;
    align-items: center;

    gap: 20px;

    box-shadow: var(--shadow);

    position: relative;
    overflow: hidden;
}


/* Decorative background */

.thought-box::after {
    content: "";
    position: absolute;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background: rgba(246, 168, 0, 0.06);

    right: -35px;
    top: -45px;

    pointer-events: none;
}


/* =========================================================
   THOUGHT ICON
   LEFT SIDE
========================================================= */

.thought-icon {
    width: 58px;
    height: 58px;

    min-width: 58px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: var(--secondary);

    color: #fff;

    border-radius: 50%;

    font-size: 23px;

    box-shadow:
        0 6px 18px rgba(246, 168, 0, 0.30);

    position: relative;
    z-index: 2;
}


/* =========================================================
   THOUGHT CONTENT
   RIGHT OF ICON
========================================================= */

.thought-details {
    flex: 1;
    min-width: 0;

    position: relative;
    z-index: 2;
}

.thought-label {
    display: block;

    color: var(--accent);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 4px;
}

.thought-details h3 {
    color: var(--dark);

    font-size: 16px;

    font-weight: 600;

    line-height: 1.55;

    margin: 0;
}

.thought-details p {
    color: #888;

    font-size: 11px;

    margin-top: 6px;
}


/* =========================================================
   TODAY + UPCOMING EVENTS
   IMPORTANT:
   This section should be BELOW HERO SLIDER
========================================================= */

.event-section {
    background: #f8fbff;

    padding: 25px 0;

    border-bottom: 1px solid var(--border);
}


/* Event heading */

.event-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 15px;
}

.event-section-heading .event-icon {
    width: 45px;
    height: 45px;

    min-width: 45px;

    display: grid;
    place-items: center;

    background: #eef5ff;

    color: var(--primary);

    border-radius: 50%;

    font-size: 19px;
}

.event-section-heading span {
    display: block;

    color: var(--secondary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.event-section-heading h3 {
    color: var(--dark);

    font-size: 18px;

    line-height: 1.3;

    margin-top: 1px;
}


/* =========================================================
   EVENT LIST
========================================================= */

.event-list {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


/* =========================================================
   EVENT CARD
========================================================= */

.event-card {
    display: flex;

    align-items: center;

    gap: 16px;

    padding: 15px;

    background: #fff;

    border-radius: var(--radius);

    border: 1px solid #e5ebf3;

    min-height: 100px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);

    transition: 0.3s;
}

.event-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   EVENT DATE
========================================================= */

.event-date {
    width: 65px;
    min-width: 65px;

    height: 70px;

    background: var(--primary);

    color: #fff;

    border-radius: 9px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    line-height: 1.1;

    box-shadow: 0 5px 12px rgba(11, 79, 156, 0.18);
}

.event-date strong {
    font-size: 25px;

    font-weight: 800;
}

.event-date span {
    font-size: 10px;

    text-transform: uppercase;

    font-weight: 700;

    margin-top: 4px;
}


/* Today's date */

.today-event .event-date {
    background: var(--secondary);

    color: #222;

    box-shadow:
        0 5px 12px rgba(246, 168, 0, 0.20);
}


/* =========================================================
   EVENT INFO
========================================================= */

.event-info {
    min-width: 0;

    flex: 1;
}

.event-status {
    display: inline-block;

    color: var(--accent);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 3px;
}

.upcoming-label {
    color: var(--primary);
}

.event-info h4 {
    color: var(--dark);

    font-size: 14px;

    line-height: 1.35;

    margin: 0 0 4px;
}

.event-info p {
    color: #777;

    font-size: 11px;

    line-height: 1.4;

    margin: 0;
}


/* =========================================================
   NO EVENT
========================================================= */

.event-card.no-event {
    opacity: 0.75;
}

.event-card.no-event .event-date {
    background: #9da8b5;

    box-shadow: none;
}


/* =========================================================
   HERO SLIDER
========================================================= */

.hero-slider {
    position: relative;

    height: 620px;

    overflow: hidden;

    background: #111;
}

.slides {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;

    inset: 0;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;

    visibility: visible;
}

.slide img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}

.slide-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 25, 55, 0.8),
            rgba(0, 25, 55, 0.15)
        );
}


/* =========================================================
   HERO CAPTION
========================================================= */

.hero-caption {
    position: absolute;

    top: 50%;

    left: max(
        4%,
        calc((100% - 1200px) / 2)
    );

    transform: translateY(-50%);

    color: #fff;

    max-width: 650px;
}

.hero-caption span {
    color: var(--secondary);

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero-caption h2 {
    font-size: clamp(35px, 5vw, 68px);

    line-height: 1.1;

    margin: 10px 0;

    font-weight: 800;
}

.hero-caption p {
    font-size: 20px;

    margin-bottom: 25px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 25px;

    border-radius: 5px;

    font-weight: 600;

    transition: 0.3s;
}

.btn-primary {
    background: var(--secondary);

    color: #222;
}

.btn-primary:hover {
    background: #fff;
}


/* =========================================================
   HERO ARROWS
========================================================= */

.slider-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 50px;

    height: 50px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.5);

    background: rgba(0, 0, 0, 0.3);

    color: #fff;

    cursor: pointer;

    font-size: 17px;

    transition: 0.3s;
}

.slider-arrow:hover {
    background: var(--secondary);

    color: #222;
}

.slider-arrow.prev {
    left: 25px;
}

.slider-arrow.next {
    right: 25px;
}


/* =========================================================
   HERO DOTS
========================================================= */

.slider-dots {
    position: absolute;

    bottom: 25px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;

    z-index: 20;
}

.slider-dot {
    width: 10px;

    height: 10px;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.6);

    cursor: pointer;

    transition: 0.3s;
}

.slider-dot.active {
    width: 28px;

    border-radius: 10px;

    background: var(--secondary);
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section-padding {
    padding: 80px 0;
}

.light-bg {
    background: var(--light);
}

.section-heading {
    text-align: center;

    margin-bottom: 45px;
}

.section-heading.left {
    text-align: left;

    margin-bottom: 25px;
}

.section-heading span {
    color: var(--secondary);

    text-transform: uppercase;

    font-size: 12px;

    letter-spacing: 2px;

    font-weight: 800;
}

.section-heading h2 {
    color: var(--dark);

    font-size: clamp(27px, 4vw, 38px);

    line-height: 1.25;

    margin-top: 7px;

    font-weight: 800;
}

.section-heading p {
    margin: 10px auto 0;

    max-width: 650px;
}

.section-heading.white h2,
.section-heading.white p {
    color: #fff;
}


/* =========================================================
   TWO COLUMN
========================================================= */

.two-column {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;
}

.message-card,
.about-card {
    padding: 35px;

    background: #fff;

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.message-body {
    display: flex;

    gap: 25px;
}

.message-thumb {
    width: 150px;

    height: 190px;

    object-fit: cover;

    border-radius: 10px;

    flex-shrink: 0;
}

.message-body h3 {
    color: var(--primary);

    margin-bottom: 10px;
}

.message-body p,
.about-card p {
    font-size: 14px;

    margin-bottom: 13px;
}

.read-more {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 10px;

    color: var(--primary);

    font-weight: 700;

    font-size: 13px;

    transition: 0.3s;
}

.read-more:hover {
    color: var(--accent);
}


/* =========================================================
   ABOUT STATS
========================================================= */

.about-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 25px;
}

.about-stats div {
    padding: 15px 8px;

    background: #eef5ff;

    border-radius: 8px;

    text-align: center;
}

.about-stats strong {
    display: block;

    color: var(--primary);

    font-size: 25px;
}

.about-stats span {
    color: #777;

    font-size: 10px;
}


/* =========================================================
   FOUR LEADERS
========================================================= */

.four-column {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.leader-card {
    background: #fff;

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: 0.3s;

    display: flex;
    flex-direction: column;
}

.leader-card:hover {
    transform: translateY(-7px);
}

.leader-image {
    height: 270px;

    overflow: hidden;

    flex-shrink: 0;
}

.leader-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

.leader-content {
    padding: 25px;

    display: flex;
    flex-direction: column;

    flex: 1;
}

.leader-content > span {
    color: var(--secondary);

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;
}

.leader-content h3 {
    color: var(--dark);

    font-size: 19px;

    margin: 5px 0 10px;
}

.leader-content p {
    font-size: 13px;

    line-height: 1.6;

    margin-bottom: 15px;
}

.leader-content .read-more {
    margin-top: auto;
}

/* =========================================================
   RESPONSIVE LEADERS
========================================================= */

@media (max-width: 1100px) {

    .four-column {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .four-column {
        grid-template-columns: 1fr;
    }

    .leader-image {
        height: 300px;
    }

}

/* =========================================================
   TOPPERS
========================================================= */

.topper-section {
    background:
        linear-gradient(
            135deg,
            #06366d,
            #0b4f9c
        );

    padding: 80px 0;
}

.topper-section.class-xii {
    background:
        linear-gradient(
            135deg,
            #8c3b0a,
            #d36c10
        );
}

.sub-heading {
    text-align: center;

    margin: -15px 0 30px;
}

.sub-heading h3 {
    color: var(--secondary);

    letter-spacing: 2px;

    font-size: 20px;
}

.topper-slider-wrapper {
    position: relative;

    padding: 0 55px;
}

.topper-slider {
    display: flex;

    gap: 18px;

    overflow-x: auto;

    scroll-behavior: smooth;

    scrollbar-width: none;
}

.topper-slider::-webkit-scrollbar {
    display: none;
}

.topper-card {
    width: 250px;

    min-width: 250px;

    background: #fff;

    padding: 8px 8px 18px;

    border-radius: 8px;

    text-align: center;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.topper-card img {
    width: 250px;

    height: 318px;

    max-width: 100%;

    object-fit: cover;

    border-radius: 5px;
}

.topper-card h4 {
    color: var(--dark);

    margin-top: 10px;
}

.topper-card span {
    color: var(--primary);

    font-size: 22px;

    font-weight: 800;
}

.gallery-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 45px;

    height: 45px;

    border: 0;

    border-radius: 50%;

    background: var(--secondary);

    color: #222;

    z-index: 3;

    cursor: pointer;
}

.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}


/* =========================================================
   VIDEO
========================================================= */

.video-section {
    background: #fff;
}

.video-grid {
    align-items: start;
}

.video-card {
    background: #fff;

    border-radius: 10px;

    overflow: hidden;

    box-shadow: var(--shadow);
}

.video-wrapper {
    position: relative;

    height: 320px;
}

.video-wrapper iframe {
    width: 100%;

    height: 100%;

    border: 0;
}

.video-card h3 {
    padding: 20px;

    color: var(--dark);
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonial-section {
    padding: 80px 0;

    background: var(--primary-dark);
}

.testimonial-slider {
    max-width: 850px;

    margin: auto;

    position: relative;

    min-height: 190px;
}

.testimonial {
    display: none;

    align-items: center;

    gap: 30px;

    padding: 35px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 12px;

    color: #fff;
}

.testimonial.active {
    display: flex;
}

.testimonial > img {
    width: 110px;

    height: 110px;

    border-radius: 50%;

    object-fit: cover;

    border: 4px solid var(--secondary);

    flex-shrink: 0;
}

.testimonial p {
    font-size: 15px;

    font-style: italic;
}

.testimonial h4 {
    color: var(--secondary);

    margin-top: 10px;
}

.testimonial span {
    font-size: 11px;

    color: #ccc;
}

.stars {
    color: var(--secondary);

    margin-bottom: 8px;
}

.alumni-heading {
    margin-top: 80px;
}


/* =========================================================
   PRINCIPAL MESSAGE - TWO 50% BLOCKS
========================================================= */

#principal .principal-message {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px;
    width: 100%;
    align-items: stretch;
}

#principal .principal-block {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    background: #f7f9fc;
    padding: 25px;
    border-radius: 15px;
}

#principal .principal-image {
    width: 150px;
    height: 220px;
    min-width: 150px;
    overflow: hidden;
    border-radius: 12px;
}

#principal .principal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

#principal .principal-content {
    min-width: 0;
}

#principal .principal-content > span {
    color: var(--secondary);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 800;
}

#principal .principal-content h2 {
    color: var(--dark);
    font-size: 24px;
    line-height: 1.25;
    margin: 5px 0 15px;
}

#principal .principal-content p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
}

#principal .principal-content h4 {
    color: var(--dark);
    margin-top: 12px;
    font-size: 14px;
}

#principal .principal-content strong {
    color: var(--primary);
    font-size: 13px;
}

/* =========================================================
   ADMISSION
========================================================= */

.admission-section {
    padding: 80px 0;

    background:
        linear-gradient(
            120deg,
            #0b4f9c,
            #052f5f
        );
}

.admission-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 40px;

    align-items: center;
}

.admission-content {
    color: #fff;
}

.admission-content > span {
    color: var(--secondary);

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 12px;

    font-weight: 800;
}

.admission-content h2 {
    font-size: clamp(35px, 5vw, 60px);

    line-height: 1.1;

    margin: 10px 0 20px;
}

.admission-content h2 strong {
    color: var(--secondary);
}

.admission-content p {
    max-width: 600px;

    margin-bottom: 25px;
}

.admission-animation {
    display: inline-block;

    animation: pulseText 1.5s infinite;
}

@keyframes pulseText {

    0%,
    100% {
        transform: scale(1);

        color: #fff;
    }

    50% {
        transform: scale(1.05);

        color: var(--secondary);
    }
}

.admission-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

.btn-light {
    background: #fff;

    color: var(--primary);
}

.btn-outline-light {
    border: 2px solid #fff;

    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;

    color: var(--primary);
}


/* =========================================================
   MAP
========================================================= */

.map-box {
    position: relative;

    height: 400px;

    border-radius: 12px;

    overflow: hidden;

    background: #ddd;
}

.map-box iframe {
    width: 100%;

    height: 100%;

    border: 0;
}

.map-button {
    position: absolute;

    left: 15px;

    bottom: 15px;

    background: var(--secondary);

    color: #222;

    padding: 10px 16px;

    border-radius: 5px;

    font-size: 12px;

    font-weight: 700;
}


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

.footer {
    background: #111c2a;

    color: #aeb7c4;

    padding-top: 65px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.2fr;

    gap: 45px;

    padding-bottom: 45px;
}

.footer-logo {
    width: 70px;

    height: 70px;

    object-fit: contain;

    margin-bottom: 10px;
}

.footer h3 {
    color: #fff;

    margin-bottom: 18px;
}

.footer-about h3 {
    color: #fff;
}

.footer-about p {
    font-size: 13px;

    margin-bottom: 10px;
}

.footer-links {
    display: flex;

    flex-direction: column;
}

.footer-links a {
    font-size: 13px;

    margin-bottom: 8px;

    transition: 0.3s;
}

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

    padding-left: 5px;
}

.footer-contact p {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-size: 13px;

    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--secondary);

    width: 15px;

    margin-top: 5px;
}

.footer-contact a:hover {
    color: var(--secondary);
}


/* =========================================================
   SOCIAL LINKS
========================================================= */

.social-links {
    display: flex;

    gap: 10px;

    margin-top: 20px;
}

.social-links a {
    width: 36px;

    height: 36px;

    border: 1px solid #455363;

    display: grid;

    place-items: center;

    border-radius: 50%;

    transition: 0.3s;
}

.social-links a:hover {
    background: var(--secondary);

    color: #222;

    border-color: var(--secondary);
}


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

.footer-bottom {
    border-top: 1px solid #2c3847;

    padding: 20px 0;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    font-size: 12px;
}

.footer-bottom a {
    color: var(--secondary);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    bottom: 25px;

    right: 25px;

    width: 45px;

    height: 45px;

    border: 0;

    border-radius: 50%;

    background: var(--secondary);

    color: #222;

    cursor: pointer;

    z-index: 100;

    opacity: 0;

    visibility: hidden;

    transition: 0.3s;
}

.back-to-top.show {
    opacity: 1;

    visibility: visible;
}


/* =========================================================
   RESPONSIVE - 1100px
========================================================= */

@media (max-width: 1100px) {

    .nav-menu > li > a {
        padding: 15px 9px;

        font-size: 12px;
    }

    .header-info {
        gap: 15px;
    }

    .header-info-item strong {
        font-size: 11px;
    }

}


/* =========================================================
   RESPONSIVE - 900px
========================================================= */

@media (max-width: 900px) {

    .header-info {
        display: none;
    }

    .mobile-menu-btn {
        display: block;

        padding: 13px;
    }

    .nav-container {
        justify-content: space-between;
    }

    .nav-menu {
        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        background: var(--primary-dark);

        display: none;

        flex-direction: column;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu > li > a {
        padding: 13px 20px;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.08);
    }

    .dropdown-menu {
        position: static;

        width: 100%;

        opacity: 1;

        visibility: visible;

        transform: none;

        display: none;

        box-shadow: none;

        border-top: 0;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding-left: 40px;
    }


    /* General layout */

    .two-column,
    .admission-grid {
        grid-template-columns: 1fr;
    }

    .three-column {
        grid-template-columns: repeat(2, 1fr);
    }

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


    /* Hero */

    .hero-slider {
        height: 550px;
    }


    /* Events */

    .event-list {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   RESPONSIVE - 650px
========================================================= */

@media (max-width: 650px) {

    /* Top bar */

    .top-bar-content {
        justify-content: center;

        text-align: center;

        padding: 8px 0;
    }

    .top-contact {
        display: none;
    }


    /* Header */

    .school-name h1 {
        font-size: 20px;
    }

    .school-name p {
        font-size: 9px;
    }

    .school-logo {
        width: 60px;

        height: 60px;
    }

    .nav-admission-btn {
        font-size: 10px;

        padding: 8px 10px;
    }


    /* =====================================================
       THOUGHT MOBILE
    ===================================================== */

    .thought-section {
        padding: 12px 0;
    }

    .thought-box {
        padding: 16px;

        gap: 14px;

        align-items: center;

        border-left-width: 4px;
    }

    .thought-icon {
        width: 46px;

        height: 46px;

        min-width: 46px;

        font-size: 18px;
    }

    .thought-label {
        font-size: 9px;

        letter-spacing: 1px;
    }

    .thought-details h3 {
        font-size: 13px;

        line-height: 1.45;
    }

    .thought-details p {
        font-size: 9px;

        margin-top: 4px;
    }


    /* =====================================================
       EVENTS MOBILE
    ===================================================== */

    .event-section {
        padding: 18px 0;
    }

    .event-section-heading {
        gap: 9px;

        margin-bottom: 12px;
    }

    .event-section-heading .event-icon {
        width: 40px;

        height: 40px;

        min-width: 40px;

        font-size: 16px;
    }

    .event-section-heading span {
        font-size: 8px;
    }

    .event-section-heading h3 {
        font-size: 15px;
    }

    .event-list {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .event-card {
        min-height: 82px;

        padding: 11px;

        gap: 12px;
    }

    .event-date {
        width: 55px;

        min-width: 55px;

        height: 62px;
    }

    .event-date strong {
        font-size: 22px;
    }

    .event-date span {
        font-size: 9px;
    }

    .event-info h4 {
        font-size: 12px;
    }

    .event-info p {
        font-size: 9px;
    }


    /* Hero */

    .hero-slider {
        height: 500px;
    }

    .hero-caption {
        left: 7%;

        right: 7%;
    }

    .hero-caption h2 {
        font-size: 36px;
    }

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

    .slider-arrow {
        width: 40px;

        height: 40px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }


    /* General sections */

    .section-padding,
    .topper-section,
    .testimonial-section,
    .admission-section {
        padding: 55px 0;
    }


    /* About */

    .message-card,
    .about-card {
        padding: 22px;
    }

    .message-body {
        flex-direction: column;
    }

    .message-thumb {
        width: 130px;

        height: 150px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }


    /* Leadership */

    .three-column {
        grid-template-columns: 1fr;
    }


    /* Toppers */

    .topper-slider-wrapper {
        padding: 0 35px;
    }

    .topper-card,
    .topper-card img {
        width: 220px;
    }

    .topper-card img {
        height: 280px;
    }


    /* Testimonials */

    .testimonial {
        flex-direction: column;

        text-align: center;
    }


    /* Principal */

    #principal .principal-message {
        grid-template-columns: 1fr !important;
    }

    #principal .principal-block {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 18px;
        padding: 20px;
    }

    #principal .principal-image {
        width: 130px;
        min-width: 130px;
        height: 200px;
    }

    #principal .principal-content h2 {
        font-size: 22px;
    }


    /* Video */

    .video-wrapper {
        height: 250px;
    }


    /* Footer */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 400px) {

    .thought-box {
        gap: 11px;

        padding: 13px;
    }

    .thought-icon {
        width: 42px;

        height: 42px;

        min-width: 42px;

        font-size: 17px;
    }

    .thought-details h3 {
        font-size: 12px;
    }

    .event-card {
        padding: 9px;
    }

    .event-date {
        width: 50px;

        min-width: 50px;

        height: 58px;
    }

    .event-info h4 {
        font-size: 11px;
    }

    .event-info p {
        font-size: 8.5px;
    }

}