/* =========================================================
   RSC MAHAVIDHYALYA
   MAIN STYLESHEET
   CLEAN / MERGED VERSION
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --navy: #123247;
    --navy-dark: #0b2638;

    --green: #168447;
    --green-dark: #0c6836;

    --orange: #ef7d22;
    --orange-dark: #d8610b;

    --cream: #fffaf3;
    --light: #f5f8fa;

    --text: #263b49;
    --muted: #71818d;

    --border: #e4ebef;
    --white: #ffffff;

    --shadow: 0 15px 45px rgba(18, 50, 71, .10);

    --radius: 14px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    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(1180px, 92%);
    margin: auto;
}

.container1 {
    width: min(1730px, 92%);
    margin: auto;
}

section {
    scroll-margin-top: 95px;
}


/* =========================================================
   TOP BAR
========================================================= */

.topbar {
    background: var(--navy-dark);
    color: #d9e5eb;
    font-size: 13px;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-right {
    display: flex;
    gap: 22px;
}

.top-right a {
    transition: .3s;
}

.top-right a:hover {
    color: var(--orange);
}


/* =========================================================
   HEADER
========================================================= */

.header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 20px rgba(0, 0, 0, .04);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.brand-text {
    min-width: 0;
}

.brand-text h1 {
    font-family: Georgia, serif;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.15;
    max-width: 350px;
}

.brand-text h1 span {
    color: var(--green);
    display: block;
}

.brand-text p {
    font-size: 11px;
    color: var(--orange-dark);
    font-weight: 700;
    margin-top: 3px;
    letter-spacing: .5px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navigation {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navigation > a {
    padding: 10px 13px;
    font-size: 14px;
    font-weight: 700;
    color: #536674;
    border-radius: 6px;
    transition: .3s;
}

.navigation > a:hover,
.navigation > a.active {
    color: var(--green);
    background: #eef8f1;
}

.navigation .nav-admission {
    background: var(--orange);
    color: #fff;
    margin-left: 5px;
    padding-left: 16px;
    padding-right: 16px;
}

.navigation .nav-admission:hover {
    color: #fff;
    background: var(--orange-dark);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: var(--navy);
    border-radius: 7px;
    padding: 10px;
}

.menu-btn span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 5px 0;
}


/* =========================================================
   NOTICE BAR
========================================================= */

.notice-bar {
    background: var(--orange);
    color: #fff;
}

.notice-inner {
    height: 43px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.notice-label strong {
    font-size: 13px;
    letter-spacing: .7px;
}

.notice-icon {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--orange);
    border-radius: 50%;
    font-weight: 900;
}

.notice-window {
    overflow: hidden;
    flex: 1;
}

.notice-track {
    display: inline-flex;
    gap: 80px;
    white-space: nowrap;
    font-size: 13px;
    animation: noticeMove 22s linear infinite;
}

@keyframes noticeMove {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.notice-more {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
    border-left: 1px solid rgba(255, 255, 255, .35);
    padding-left: 15px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    height: 620px;
    position: relative;
    overflow: hidden;
    background: var(--navy);
}

.hero-slider,
.hero-slide {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition:
        opacity .8s ease,
        transform 6s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(6, 29, 43, .90) 0%,
            rgba(6, 29, 43, .70) 45%,
            rgba(6, 29, 43, .20) 100%
        );
}

.hero-content {
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1180px;
}

.hero-badge {
    color: #ffcf9f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-content h2 {
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    max-width: 750px;
    letter-spacing: -1.5px;
}

.hero-content h2 span {
    color: #f69a4c;
}

.hero-content p {
    color: #d7e3e9;
    font-size: 17px;
    max-width: 600px;
    line-height: 1.8;
    margin-top: 20px;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    margin-top: 27px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    transition: .3s;
}

.btn-orange {
    color: #fff;
    background: var(--orange);
}

.btn-orange:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.btn-outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .06);
}

.btn-outline:hover {
    background: #fff;
    color: var(--navy);
}


/* =========================================================
   SLIDER ARROWS
========================================================= */

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(0, 0, 0, .18);

    color: #fff;
    font-size: 30px;
    line-height: 1;
    border-radius: 50%;

    transition: .3s;
}

.slider-prev {
    left: 25px;
}

.slider-next {
    right: 25px;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--orange);
    border-color: var(--orange);
}


/* =========================================================
   SLIDER DOTS
========================================================= */

.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 7px;

    z-index: 5;
}

.slider-dot {
    width: 25px;
    height: 4px;

    border: 0;
    border-radius: 10px;

    background: rgba(255, 255, 255, .45);

    transition: .3s;
}

.slider-dot.active {
    background: var(--orange);
    width: 40px;
}


/* =========================================================
   QUICK INFO
========================================================= */

.quick-info {
    position: relative;
    margin-top: -38px;
    z-index: 20;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: #fff;

    border-radius: 12px;

    box-shadow: var(--shadow);

    overflow: hidden;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 20px;

    border-right: 1px solid var(--border);
}

.quick-card:last-child {
    border-right: 0;
}

.quick-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: #eef8f1;
    color: var(--green);

    font-size: 14px;
    font-weight: 900;

    border-radius: 8px;
}

.quick-card small {
    display: block;
    font-size: 10px;
    color: #94a1aa;
    font-weight: 800;
    letter-spacing: 1px;
}

.quick-card strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
    margin-top: 2px;
}


/* =========================================================
   COMMON SECTIONS
========================================================= */

.about-section,
.courses-section,
.campus-section,
.gallery-section,
.enquiry-section,
.contact-section {
    padding: 100px 0;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-label {
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 11px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
    margin-bottom: 38px;
}

.section-heading h2,
.about-content h2,
.enquiry-info h2 {
    font-family: Georgia, serif;
    color: var(--navy);

    font-size: clamp(36px, 4vw, 50px);

    line-height: 1.12;
    letter-spacing: -.8px;
}

.section-heading h2 span,
.about-content h2 span,
.enquiry-info h2 span {
    color: var(--green);
    display: inline;
}

.section-heading > p,
.heading-description {
    max-width: 480px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.section-heading.center {
    display: block;
    text-align: center;
    max-width: 700px;

    margin-left: auto;
    margin-right: auto;
}

.section-heading.center p {
    margin: 12px auto 0;
}


/* =========================================================
   ABOUT - MAIN
========================================================= */

.about-section {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 75px;

    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.image-caption {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 20px;

    padding: 16px;

    border-radius: 10px;

    background: rgba(8, 33, 47, .9);

    color: #fff;
}

.image-caption strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 20px;
}

.image-caption span {
    color: #bdd0da;
    font-size: 12px;
}

.about-content p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
    margin-top: 17px;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin: 25px 0;
}

.about-points div {
    color: #4d6370;
    font-size: 14px;
    font-weight: 700;
}

.about-points span {
    color: var(--green);
    margin-right: 6px;
}

.text-btn {
    color: var(--orange-dark);
    font-size: 14px;
    font-weight: 900;
}


/* =========================================================
   ABOUT - PERSONS
========================================================= */

.about-container {
    max-width: 1100px;
}

.about-top-persons,
.about-bottom-persons {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 80px;

    align-items: start;
}

.about-person {
    display: flex;
    align-items: center;
    gap: 22px;
}

.person-photo {
    height: 170px;

    flex-shrink: 0;

    overflow: hidden;

    background: #f1f1f1;

    border: 1px solid #ddd;

    padding: 5px;
}

.person-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}

.person-details {
    flex: 1;
}

.person-details h3 {
    margin: 0 0 8px;

    font-size: 20px;
    line-height: 1.35;

    color: #173548;
}

.person-details p {
    margin: 0 0 7px;

    color: #666;

    font-size: 14px;

    line-height: 1.5;
}

.person-details span {
    display: block;

    font-size: 15px;
    font-weight: 700;

    color: #b56827;
}

.about-description {
    max-width: 950px;

    margin: 55px auto;

    text-align: justify;
}

.about-description .section-label {
    display: block;

    text-align: center;

    margin-bottom: 10px;
}

.about-description h2 {
    margin: 0 0 35px;

    text-align: center;

    color: #173548;

    font-size: 34px;

    line-height: 1.3;
}

.about-description h2 span {
    color: #356a4e;
}

.about-description p {
    margin: 0 0 18px;

    color: #444;

    font-size: 16px;

    line-height: 1.9;
}

.about-bottom-persons {
    margin-top: 55px;
}

.bottom-person {
    justify-content: center;
}


/* =========================================================
   COURSES
========================================================= */

.courses-section {
    background: #f5f8fa;
}

.course-tabs {
    display: flex;

    justify-content: center;

    gap: 7px;

    flex-wrap: wrap;

    margin-bottom: 30px;
}

.course-tab {
    border: 1px solid var(--border);

    background: #fff;

    color: #657985;

    border-radius: 50px;

    padding: 9px 17px;

    font-size: 13px;

    font-weight: 800;

    transition: .3s;
}

.course-tab:hover {
    color: var(--orange-dark);
    border-color: var(--orange);
}

.course-tab.active {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.courses-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.course-card {
    background: #fff;

    border: 1px solid var(--border);

    border-radius: 14px;

    padding: 25px;

    transition: .35s;

    position: relative;
}

.course-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow);

    border-color: transparent;
}

.course-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;
}

.course-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    font-size: 13px;
    font-weight: 900;
}

.course-icon.arts {
    color: var(--green);
    background: #e9f6ed;
}

.course-icon.commerce {
    color: var(--orange-dark);
    background: #fff1e4;
}

.course-icon.science {
    color: var(--navy);
    background: #eaf1f7;
}

.course-icon.education {
    color: #70459a;
    background: #f1eafa;
    font-size: 10px;
}

.course-top > span {
    background: #fff4e8;

    color: var(--orange-dark);

    border-radius: 50px;

    padding: 5px 9px;

    font-size: 10px;

    font-weight: 900;
}

.course-card h3 {
    color: var(--navy);

    font-family: Georgia, serif;

    font-size: 23px;

    line-height: 1.25;

    margin-bottom: 10px;
}

.course-card > p {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

    min-height: 60px;
}

.subject-list {
    display: flex;

    flex-wrap: wrap;

    gap: 5px;

    margin-top: 18px;
}

.subject-list span {
    padding: 5px 7px;

    background: #f1f5f7;

    color: #536b79;

    border-radius: 4px;

    font-size: 11px;

    font-weight: 700;
}

.feature-list {
    display: grid;

    gap: 8px;

    margin: 19px 0;
}

.feature-list div {
    color: #607480;

    font-size: 13px;
}

.feature-list b {
    color: var(--green);

    margin-right: 5px;
}

.course-footer {
    display: flex;

    justify-content: space-between;

    align-items: center;

    border-top: 1px solid #edf1f3;

    margin-top: 19px;

    padding-top: 15px;
}

.course-footer small {
    color: #8997a0;

    font-size: 11px;

    font-weight: 700;
}

.course-footer a {
    color: var(--orange-dark);

    font-size: 13px;

    font-weight: 900;
}


/* =========================================================
   CAMPUS
========================================================= */

.campus-section {
    background: #fff;
}

.campus-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    grid-template-rows: 250px 250px;

    gap: 15px;
}

.campus-card {
    position: relative;

    border-radius: 12px;

    overflow: hidden;

    background: var(--navy);
}

.campus-card.large {
    grid-row: span 1;
}

.campus-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .6s;
}

.campus-card:hover img {
    transform: scale(1.06);
}

.campus-card:after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 30%,
            rgba(5, 27, 40, .9)
        );
}

.campus-card-content {
    position: absolute;

    z-index: 2;

    bottom: 20px;

    left: 20px;
    right: 20px;

    color: #fff;
}

.campus-card-content span {
    color: #ffb777;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.5px;
}

.campus-card-content h3 {
    font-family: Georgia, serif;

    font-size: 23px;

    margin-top: 4px;
}

.campus-card-content p {
    color: #ccd9df;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    background: var(--cream);
}

.gallery-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    grid-template-rows: 230px 230px;

    gap: 12px;
}

.gallery-item {
    position: relative;

    overflow: hidden;

    border-radius: 10px;

    background: #ddd;
}

.gallery-large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background: rgba(7, 34, 48, .55);

    color: #fff;

    font-size: 13px;

    font-weight: 800;

    opacity: 0;

    transition: .3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}


/* =========================================================
   ENQUIRY
========================================================= */

.enquiry-section {
    background: var(--navy);

    color: #fff;
}

.enquiry-grid {
    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 70px;

    align-items: center;
}

.enquiry-info .section-label {
    color: #ffae70;
}

.enquiry-info h2 {
    color: #fff;
}

.enquiry-info p {
    color: #bdccd4;

    font-size: 16px;

    line-height: 1.8;

    margin-top: 18px;

    max-width: 500px;
}

.contact-mini {
    display: grid;

    gap: 10px;

    margin-top: 28px;
}

.contact-mini > div {
    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, .12);

    border-radius: 8px;

    background: rgba(255, 255, 255, .04);
}

.contact-mini strong {
    display: block;

    color: #fff;

    font-size: 14px;
}

.contact-mini span {
    color: #9db0bc;

    font-size: 11px;
}


/* =========================================================
   FORM
========================================================= */

.enquiry-form {
    background: #fff;

    padding: 30px;

    border-radius: 15px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;

    color: var(--navy);

    font-size: 12px;

    font-weight: 800;

    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border: 1px solid #dce5e9;

    background: #f9fbfc;

    color: var(--text);

    border-radius: 6px;

    outline: none;

    padding: 12px 13px;

    font-size: 14px;

    transition: .3s;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);

    background: #fff;

    box-shadow: 0 0 0 3px rgba(22, 132, 71, .08);
}

.submit-btn {
    width: 100%;

    border: 0;

    min-height: 45px;

    border-radius: 6px;

    color: #fff;

    background: var(--orange);

    font-size: 14px;

    font-weight: 900;

    transition: .3s;
}

.submit-btn:hover {
    background: var(--orange-dark);

    transform: translateY(-2px);
}

.form-message {
    display: none;

    margin-top: 12px;

    padding: 10px;

    background: #eaf7ee;

    color: var(--green-dark);

    border-radius: 5px;

    font-size: 12px;

    text-align: center;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background: #f6f9fb;
}

.contact-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.contact-card {
    background: #fff;

    padding: 23px;

    border: 1px solid var(--border);

    border-radius: 11px;

    transition: .3s;
}

.contact-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.contact-icon {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 8px;

    background: #eaf6ed;

    color: var(--green);

    font-size: 11px;

    font-weight: 900;

    margin-bottom: 17px;
}

.contact-card > span {
    color: #94a0a8;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.3px;
}

.contact-card h3 {
    color: var(--navy);

    font-family: Georgia, serif;

    font-size: 19px;

    line-height: 1.3;

    margin-top: 5px;
}

.contact-card p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;

    margin-top: 8px;
}

.contact-card a {
    color: var(--green-dark);

    font-weight: 700;
}


/* =========================================================
   MAP
========================================================= */

.map-box {
    margin-top: 25px;

    background: var(--navy);

    color: #fff;

    border-radius: 13px;

    padding: 25px 28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.map-box .section-label {
    color: #ffae70;

    margin-bottom: 4px;
}

.map-box h3 {
    font-family: Georgia, serif;

    font-size: 22px;
}

.map-box p {
    color: #b9cbd4;

    font-size: 13px;

    margin-top: 3px;
}

.map-btn {
    flex-shrink: 0;

    background: var(--orange);

    color: #fff;

    padding: 11px 17px;

    border-radius: 6px;

    font-size: 13px;

    font-weight: 900;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #081f2d;

    color: #aebfc9;
}

.footer-grid {
    padding: 65px 0;

    display: grid;

    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;

    gap: 50px;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-brand img {
    width: 55px;
    height: 55px;

    object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand strong {
    color: #fff;

    font-family: Georgia, serif;

    font-size: 16px;
}

.footer-brand span {
    color: #72c38d;

    font-size: 12px;
}

.footer-about > p {
    color: #8fa4af;

    font-size: 13px;

    line-height: 1.8;

    max-width: 300px;

    margin-top: 17px;
}

.footer-social {
    display: flex;

    gap: 7px;

    margin-top: 18px;
}

.footer-social a {
    width: 30px;
    height: 30px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(255, 255, 255, .12);

    border-radius: 50%;

    color: #fff;

    font-size: 11px;
}

.footer h4 {
    color: #fff;

    font-family: Georgia, serif;

    font-size: 17px;

    margin-bottom: 17px;
}

.footer-links a {
    display: block;

    color: #8fa4af;

    font-size: 13px;

    margin: 8px 0;

    transition: .3s;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-contact p {
    color: #8fa4af;

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 10px;
}

.footer-contact > a {
    display: block;

    color: #c8d7de;

    font-size: 13px;

    margin: 6px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.footer-bottom .container {
    min-height: 55px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}

.footer-bottom p {
    color: #718995;

    font-size: 12px;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .9);

    z-index: 5000;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 30px;
}

.lightbox.show {
    display: flex;
}

.lightbox-image {
    max-width: 90vw;

    max-height: 85vh;

    object-fit: contain;

    border-radius: 5px;
}

.lightbox-close {
    position: absolute;

    top: 20px;
    right: 25px;

    border: 0;

    background: transparent;

    color: #fff;

    font-size: 42px;

    line-height: 1;
}


/* =========================================================
   BACK TO TOP
========================================================= */

#noticeBackTop {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 999;

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 50%;

    background: #168447;

    color: #fff;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition: .3s;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
}

#noticeBackTop.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

#noticeBackTop:hover {
    background: #ef7d22;
}


/* =========================================================
   TABLET - 1050px
========================================================= */

@media (max-width: 1050px) {

    .navigation > a {
        padding-left: 8px;
        padding-right: 8px;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   TABLET - 900px
========================================================= */

@media (max-width: 900px) {

    .about-section {
        padding: 70px 0;
    }

    .about-top-persons,
    .about-bottom-persons {
        gap: 35px;
    }

    .about-person {
        gap: 15px;
    }

    .person-photo {
        width: 120px;
        height: 145px;
    }

    .person-details h3 {
        font-size: 17px;
    }
}


/* =========================================================
   MOBILE NAV - 850px
========================================================= */

@media (max-width: 850px) {

    .topbar-inner {
        justify-content: center;
    }

    .top-left {
        display: none;
    }

    .header-inner {
        min-height: 72px;
    }

    .brand img {
        width: 50px;
        height: 50px;
    }

    .brand-text h1 {
        font-size: 18px;
        max-width: 240px;
    }

    .brand-text p {
        font-size: 10px;
    }

    .menu-btn {
        display: block;
    }

    .navigation {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        background: #fff;

        padding: 12px 4% 18px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        box-shadow: 0 15px 25px rgba(0, 0, 0, .10);
    }

    .navigation.open {
        display: flex;
    }

    .navigation > a {
        padding: 12px;

        border-bottom: 1px solid #edf1f3;

        border-radius: 0;

        font-size: 15px;
    }

    .navigation .nav-admission {
        margin: 8px 0 0;
    }

    .hero {
        height: 570px;
    }

    .hero-content {
        padding: 0 5%;
    }

    .hero-content p {
        font-size: 16px;
    }

    .slider-prev,
    .slider-next {
        display: none;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-card:nth-child(2) {
        border-right: 0;
    }

    .quick-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-image img {
        height: 400px;
    }

    .campus-grid {
        grid-template-columns: 1fr 1fr;

        grid-template-rows: 260px 200px 200px;
    }

    .campus-card.large {
        grid-column: span 2;

        grid-row: auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;

        grid-template-rows: 220px 180px 180px;
    }

    .gallery-large {
        grid-column: span 2;

        grid-row: auto;
    }

    .enquiry-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   MOBILE - 650px
========================================================= */

@media (max-width: 650px) {

    .about-section {
        padding: 55px 0;
    }

    .about-top-persons,
    .about-bottom-persons {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .about-person {
        justify-content: flex-start;
    }

    .bottom-person {
        justify-content: flex-start;
    }

    .person-photo {
        width: 105px;
        height: 125px;
    }

    .person-details h3 {
        font-size: 16px;
    }

    .person-details p {
        font-size: 13px;
    }

    .about-description {
        margin: 45px auto;
    }

    .about-description h2 {
        font-size: 27px;

        margin-bottom: 25px;
    }

    .about-description p {
        text-align: left;

        font-size: 14px;

        line-height: 1.8;
    }
}


/* =========================================================
   MOBILE - 600px
========================================================= */

@media (max-width: 600px) {

    body {
        font-size: 15px;
    }

    .container {
        width: 90%;
    }

    .topbar {
        font-size: 11px;
    }

    .top-right {
        width: 100%;

        justify-content: space-between;

        gap: 10px;
    }

    .notice-inner {
        gap: 8px;
    }

    .notice-more {
        display: none;
    }

    .notice-label strong {
        font-size: 11px;
    }

    .notice-track {
        font-size: 12px;
    }

    .brand-text h1 {
        font-size: 16px;
    }

    .brand-text p {
        font-size: 9px;
    }

    .hero {
        height: 540px;
    }

    .hero-content h2 {
        font-size: 40px;

        line-height: 1.1;

        letter-spacing: -.5px;
    }

    .hero-content p {
        font-size: 15px;

        max-width: 95%;

        line-height: 1.7;
    }

    .hero-badge {
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;

        align-items: flex-start;
    }

    .hero-buttons .btn {
        min-width: 180px;
    }

    .btn {
        font-size: 13px;
    }

    .slider-dots {
        bottom: 18px;
    }

    .quick-info {
        margin-top: -25px;
    }

    .quick-card {
        padding: 15px 12px;

        gap: 8px;
    }

    .quick-card small {
        font-size: 9px;
    }

    .quick-card strong {
        font-size: 12px;
    }

    .quick-icon {
        width: 35px;
        height: 35px;
    }

    .about-section,
    .courses-section,
    .campus-section,
    .gallery-section,
    .enquiry-section,
    .contact-section {
        padding: 70px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading .btn {
        margin-top: 18px;
    }

    .section-heading h2,
    .about-content h2,
    .enquiry-info h2 {
        font-size: 34px;
    }

    .section-heading > p,
    .heading-description {
        font-size: 15px;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

    .about-points div {
        font-size: 14px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-tabs {
        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 7px;
    }

    .course-tab {
        flex-shrink: 0;

        font-size: 13px;
    }

    .course-card h3 {
        font-size: 22px;
    }

    .course-card > p {
        font-size: 15px;
    }

    .subject-list span {
        font-size: 11px;
    }

    .feature-list div {
        font-size: 13px;
    }

    .campus-grid {
        grid-template-columns: 1fr;

        grid-template-rows:
            280px
            210px
            210px
            210px
            210px;
    }

    .campus-card.large {
        grid-column: auto;
    }

    .campus-card-content span {
        font-size: 10px;
    }

    .campus-card-content h3 {
        font-size: 22px;
    }

    .campus-card-content p {
        font-size: 14px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;

        grid-template-rows:
            260px
            190px
            190px
            190px
            190px;
    }

    .gallery-large {
        grid-column: auto;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .enquiry-form {
        padding: 20px;
    }

    .enquiry-info p {
        font-size: 15px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card h3 {
        font-size: 19px;
    }

    .contact-card p {
        font-size: 14px;
    }

    .map-box {
        display: block;

        padding: 22px;
    }

    .map-box h3 {
        font-size: 22px;
    }

    .map-box p {
        font-size: 13px;
    }

    .map-btn {
        display: inline-flex;

        margin-top: 17px;

        font-size: 13px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 50px 0;
    }

    .footer-about > p,
    .footer-links a,
    .footer-contact p,
    .footer-contact > a {
        font-size: 13px;
    }

    .footer-bottom .container {
        display: block;

        padding: 16px 0;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-bottom p + p {
        margin-top: 5px;
    }
}


/* =========================================================
   EXTRA SMALL - 380px
========================================================= */

@media (max-width: 380px) {

    .brand-text h1 {
        font-size: 14px;

        max-width: 190px;
    }

    .brand img {
        width: 43px;
        height: 43px;
    }

    .hero-content h2 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .section-heading h2,
    .about-content h2,
    .enquiry-info h2 {
        font-size: 30px;
    }

    .course-card h3 {
        font-size: 20px;
    }

    .quick-card {
        display: block;

        text-align: center;
    }

    .quick-icon {
        margin: 0 auto 7px;
    }
}


/* =========================================================
   CAMPUS CARD CLICK
========================================================= */

.campus-card {
    cursor: pointer;
}

.campus-card.large {
    cursor: pointer;
}

.campus-view-btn {
    margin-top: 15px;
    padding: 0;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.campus-view-btn i {
    transition: transform 0.3s ease;
}

.campus-card:hover .campus-view-btn i {
    transform: translateX(5px);
}


/* =========================================================
   CAMPUS GALLERY POPUP
========================================================= */

.campus-gallery-popup {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(8, 20, 30, 0.88);

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

}


.campus-gallery-popup.show {

    opacity: 1;
    visibility: visible;

}


/* =========================================================
   POPUP BOX
========================================================= */

.campus-gallery-box {

    position: relative;

    width: 100%;
    max-width: 1100px;

    max-height: 90vh;

    background: #ffffff;

    border-radius: 12px;

    padding: 45px 35px 35px;

    overflow-y: auto;

    transform: translateY(30px);

    transition: transform 0.3s ease;

}


.campus-gallery-popup.show .campus-gallery-box {

    transform: translateY(0);

}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.campus-popup-close {

    position: absolute;

    top: 15px;
    right: 18px;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background: #f1f1f1;

    color: #123247;

    font-size: 20px;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: 0.3s ease;

}


.campus-popup-close:hover {

    background: #f58220;

    color: #ffffff;

}


/* =========================================================
   POPUP HEADER
========================================================= */

.campus-popup-header {

    text-align: center;

    margin-bottom: 30px;

}


.campus-popup-header h2 {

    margin: 8px 0 0;

    color: #123247;

    font-size: 30px;

}


/* =========================================================
   POPUP IMAGE GRID
========================================================= */

.campus-popup-gallery {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

}


.campus-popup-gallery-item {

    position: relative;

    height: 230px;

    overflow: hidden;

    border-radius: 8px;

    cursor: pointer;

    background: #eeeeee;

}


.campus-popup-gallery-item img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;

}


.campus-popup-gallery-item:hover img {

    transform: scale(1.08);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .campus-popup-gallery {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .campus-gallery-popup {

        padding: 12px;

    }


    .campus-gallery-box {

        padding:
            45px 15px 20px;

        max-height: 92vh;

    }


    .campus-popup-gallery {

        grid-template-columns: 1fr;

        gap: 12px;

    }


    .campus-popup-gallery-item {

        height: 220px;

    }


    .campus-popup-header h2 {

        font-size: 24px;

    }

}

