/* =========================================================
   DAYANAND PUBLIC SCHOOL
   MAIN WEBSITE STYLESHEET
   style.css
   ========================================================= */


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {

    --primary: #123b72;
    --primary-dark: #09294f;
    --primary-light: #1d5ca8;

    --secondary: #e6b325;
    --secondary-dark: #c99408;
    --secondary-light: #f7d56b;

    --white: #ffffff;
    --black: #101828;

    --text: #344054;
    --text-dark: #1d2939;
    --muted: #667085;

    --light: #f5f8fc;
    --lighter: #fbfcfe;

    --border: #e4e7ec;

    --success: #12b76a;
    --danger: #f04438;

    --shadow-small:
        0 4px 14px rgba(16, 24, 40, 0.08);

    --shadow:
        0 12px 35px rgba(16, 24, 40, 0.10);

    --shadow-large:
        0 25px 70px rgba(16, 24, 40, 0.16);

    --radius-small: 8px;
    --radius: 14px;
    --radius-large: 22px;

    --transition:
        all 0.3s ease;

    --container:
        1180px;

}


/* =========================================================
   RESET
   ========================================================= */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background:
        var(--white);

    line-height: 1.6;

    overflow-x: hidden;

}


body.menu-open {

    overflow: hidden;

}


img {

    max-width: 100%;

    display: block;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input,
select,
textarea {

    font: inherit;

}


button {

    cursor: pointer;

}


ul {

    list-style: none;

}


/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;

}


.section-padding {

    padding:
        100px 0;

}


.section-heading {

    max-width: 760px;

    margin:
        0 auto 55px;

    text-align: center;

}


.section-label {

    display: inline-block;

    margin-bottom: 12px;

    color:
        var(--secondary-dark);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.section-title {

    color:
        var(--primary-dark);

    font-size:
        clamp(32px, 5vw, 48px);

    line-height: 1.15;

    margin-bottom: 18px;

    font-weight: 800;

}


.section-heading p {

    color:
        var(--muted);

    font-size: 17px;

}

/* =========================================================
   TOP BAR
   ========================================================= */

.top-bar {

    background:
        var(--primary-dark);

    color:
        var(--white);

    font-size: 13px;

}


.top-bar-inner {

    min-height: 42px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.top-bar-left span {

    color:
        rgba(255, 255, 255, 0.9);

}


.top-bar-right {

    display: flex;

    align-items: center;

    gap: 22px;

}


.top-bar-right a {

    color:
        rgba(255, 255, 255, 0.8);

    transition:
        var(--transition);

}


.top-bar-right a:hover {

    color:
        var(--secondary-light);

}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.main-header {

    position: sticky;

    top: 0;

    z-index: 5000;

    background:
        rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid
        var(--border);

    backdrop-filter:
        blur(15px);

}


.navbar {

    min-height: 88px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   SCHOOL BRAND
   ========================================================= */

.school-brand {

    display: flex;

    align-items: center;

    gap: 13px;

    flex-shrink: 0;

}


.brand-logo-box {

    width: 62px;

    height: 62px;

    padding: 5px;

    border-radius: 50%;

    border:
        2px solid
        var(--secondary);

    background:
        var(--white);

}


.brand-logo {

    width: 100%;

    height: 100%;

    object-fit: contain;

    border-radius: 50%;

}


.brand-information h1 {

    color:
        var(--primary-dark);

    font-size: 20px;

    line-height: 1.2;

    font-weight: 800;

}


.brand-information span {

    display: block;

    margin-top: 3px;

    color:
        var(--muted);

    font-size: 11px;

    letter-spacing: 1px;

}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.desktop-navigation ul {

    display: flex;

    align-items: center;

    gap: 5px;

}


.desktop-navigation a {

    position: relative;

    display: block;

    padding:
        32px 11px;

    color:
        var(--text-dark);

    font-size: 14px;

    font-weight: 700;

    transition:
        var(--transition);

}


.desktop-navigation a::after {

    content: "";

    position: absolute;

    left: 10px;

    right: 10px;

    bottom: 21px;

    height: 2px;

    transform:
        scaleX(0);

    transform-origin:
        center;

    background:
        var(--secondary);

    transition:
        var(--transition);

}


.desktop-navigation a:hover,
.desktop-navigation a.active {

    color:
        var(--primary);

}


.desktop-navigation a:hover::after,
.desktop-navigation a.active::after {

    transform:
        scaleX(1);

}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-button {

    width: 45px;

    height: 45px;

    display: none;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    border: none;

    border-radius: 8px;

    background:
        var(--primary);

}


.mobile-menu-button span {

    width: 22px;

    height: 2px;

    background:
        var(--white);

    transition:
        var(--transition);

}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.mobile-navigation {

    display: none;

    padding:
        10px 20px 20px;

    background:
        var(--white);

    border-top:
        1px solid
        var(--border);

}


.mobile-navigation a {

    display: block;

    padding: 13px 10px;

    border-bottom:
        1px solid
        var(--border);

    color:
        var(--text-dark);

    font-weight: 700;

}


.mobile-navigation a:hover {

    color:
        var(--primary);

}


.mobile-navigation.open {

    display: block;

}


/* =========================================================
   HERO
   ========================================================= */

.hero-section {

    position: relative;

    min-height:
        calc(100vh - 130px);

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        var(--primary-dark);

}


.hero-background {

    position: absolute;

    inset: 0;

    background-image:
        url("images/school-building.jpg");

    background-size: cover;

    background-position: center;

    transform:
        scale(1.03);

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 24, 48, 0.94) 0%,
            rgba(9, 41, 79, 0.82) 48%,
            rgba(9, 41, 79, 0.35) 100%
        );

}


.hero-container {

    position: relative;

    z-index: 2;

}


.hero-content {

    width:
        min(100%, 750px);

    padding:
        100px 0;

    color:
        var(--white);

}


.hero-badge {

    display: inline-block;

    margin-bottom: 20px;

    padding:
        8px 15px;

    border:
        1px solid
        rgba(255, 255, 255, 0.3);

    border-radius: 50px;

    background:
        rgba(255, 255, 255, 0.08);

    color:
        var(--secondary-light);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

}


.hero-content h2 {

    max-width: 760px;

    font-size:
        clamp(42px, 7vw, 76px);

    line-height: 1.02;

    letter-spacing: -2px;

    margin-bottom: 25px;

}


.hero-content h2 span {

    color:
        var(--secondary);

}


.hero-content > p {

    max-width: 650px;

    color:
        rgba(255, 255, 255, 0.82);

    font-size:
        clamp(16px, 2vw, 19px);

    margin-bottom: 32px;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

}


.primary-button,
.secondary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding:
        13px 24px;

    border-radius:
        var(--radius-small);

    font-size: 14px;

    font-weight: 800;

    transition:
        var(--transition);

}


.primary-button {

    border:
        1px solid
        var(--secondary);

    background:
        var(--secondary);

    color:
        var(--primary-dark);

}


.primary-button:hover {

    background:
        var(--secondary-light);

    border-color:
        var(--secondary-light);

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 25px
        rgba(230, 179, 37, 0.25);

}


.secondary-button {

    border:
        1px solid
        rgba(255, 255, 255, 0.35);

    background:
        rgba(255, 255, 255, 0.08);

    color:
        var(--white);

}


.secondary-button:hover {

    background:
        var(--white);

    color:
        var(--primary-dark);

    transform:
        translateY(-3px);

}


.hero-information {

    display: flex;

    flex-wrap: wrap;

    gap: 30px;

    margin-top: 60px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.2);

}


.hero-information-item {

    display: flex;

    align-items: center;

    gap: 10px;

}


.hero-information-item strong {

    color:
        var(--secondary);

    font-size: 18px;

}


.hero-information-item span {

    color:
        rgba(255, 255, 255, 0.75);

    font-size: 13px;

}


/* =========================================================
   QUICK ACCESS
   ========================================================= */

.quick-access-section {

    position: relative;

    z-index: 5;

    margin-top: -45px;

}


.quick-access-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

}


.quick-access-card {

    min-height: 105px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    background:
        var(--white);

    box-shadow:
        var(--shadow);

    transition:
        var(--transition);

}


.quick-access-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(18, 59, 114, 0.2);

}


.quick-access-icon {

    width: 46px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    background:
        rgba(18, 59, 114, 0.08);

    color:
        var(--primary);

    font-size: 13px;

    font-weight: 900;

}


.quick-access-card h3 {

    margin-bottom: 2px;

    color:
        var(--primary-dark);

    font-size: 16px;

}


.quick-access-card p {

    color:
        var(--muted);

    font-size: 12px;

}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {

    background:
        var(--white);

}


.about-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 80px;

}


.about-image-area {

    position: relative;

    padding:
        0 25px 30px 0;

}


.about-image-wrapper {

    overflow: hidden;

    border-radius:
        var(--radius-large);

    box-shadow:
        var(--shadow-large);

}


.school-building-image {

    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    transition:
        transform 0.6s ease;

}


.about-image-wrapper:hover
.school-building-image {

    transform:
        scale(1.05);

}


.experience-card {

    position: absolute;

    right: 0;

    bottom: 0;

    width: 190px;

    padding: 22px;

    border-radius:
        var(--radius);

    background:
        var(--primary);

    color:
        var(--white);

    box-shadow:
        var(--shadow-large);

}


.experience-card strong {

    display: block;

    color:
        var(--secondary);

    font-size: 38px;

    line-height: 1;

}


.experience-card span {

    display: block;

    margin-top: 7px;

    color:
        rgba(255, 255, 255, 0.8);

    font-size: 12px;

}


.about-content .section-title {

    max-width: 600px;

}


.about-content > p {

    margin-bottom: 18px;

    color:
        var(--muted);

    font-size: 16px;

}


.about-points {

    display: grid;

    gap: 12px;

    margin:
        25px 0 30px;

}


.about-points li {

    display: flex;

    align-items: center;

    gap: 12px;

    color:
        var(--text-dark);

    font-weight: 600;

}


.point-check {

    width: 23px;

    height: 23px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(18, 59, 114, 0.1);

    color:
        var(--primary);

    font-size: 12px;

    font-weight: 900;

}


.dark-button {

    background:
        var(--primary);

    border-color:
        var(--primary);

    color:
        var(--white);

}


.dark-button:hover {

    background:
        var(--primary-light);

    border-color:
        var(--primary-light);

}


/* =========================================================
   VISION
   ========================================================= */

.vision-section {

    background:
        var(--light);

}


.vision-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


.vision-card {

    position: relative;

    padding: 35px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-large);

    background:
        var(--white);

    transition:
        var(--transition);

}


.vision-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        var(--shadow);

}


.card-number {

    display: block;

    margin-bottom: 30px;

    color:
        var(--secondary-dark);

    font-size: 14px;

    font-weight: 900;

}


.vision-card h3 {

    margin-bottom: 12px;

    color:
        var(--primary-dark);

    font-size: 24px;

}


.vision-card p {

    color:
        var(--muted);

    font-size: 15px;

}


/* =========================================================
   PRINCIPAL
   ========================================================= */

.principal-section {

    background:
        var(--white);

}


.principal-grid {

    display: grid;

    grid-template-columns:
        400px 1fr;

    align-items: center;

    gap: 80px;

}


.principal-image-area {

    position: relative;

}


.principal-image-area::before {

    content: "";

    position: absolute;

    top: -15px;

    left: -15px;

    width: 80px;

    height: 80px;

    border-top:
        5px solid
        var(--secondary);

    border-left:
        5px solid
        var(--secondary);

    border-radius:
        12px 0 0 0;

}


.principal-image {

    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    border-radius:
        var(--radius-large);

    box-shadow:
        var(--shadow-large);

}


.quote-mark {

    color:
        var(--secondary);

    font-family:
        Georgia,
        serif;

    font-size: 80px;

    line-height: 0.7;

    margin:
        15px 0;

}


.principal-content p {

    margin-bottom: 15px;

    color:
        var(--muted);

    font-size: 16px;

}


.principal-name {

    margin-top: 25px;

    color:
        var(--primary-dark);

    font-size: 19px;

    font-weight: 800;

}


.principal-role {

    color:
        var(--secondary-dark);

    font-size: 13px;

    font-weight: 700;

}


/* =========================================================
   ACADEMICS
   ========================================================= */

.academics-section {

    background:
        var(--light);

}


.academics-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.academic-card {

    position: relative;

    min-height: 260px;

    padding: 30px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    background:
        var(--white);

    transition:
        var(--transition);

}


.academic-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background:
        var(--primary);

    transform:
        scaleX(0);

    transform-origin:
        left;

    transition:
        var(--transition);

}


.academic-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow);

}


.academic-card:hover::before {

    transform:
        scaleX(1);

}


.academic-card > span {

    color:
        var(--secondary-dark);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1.5px;

}


.academic-card h3 {

    margin:
        15px 0 12px;

    color:
        var(--primary-dark);

    font-size: 23px;

}


.academic-card p {

    color:
        var(--muted);

    font-size: 14px;

}


.academic-card a {

    position: absolute;

    left: 30px;

    bottom: 25px;

    color:
        var(--primary);

    font-size: 13px;

    font-weight: 800;

}


.academic-card a::after {

    content: " →";

}


/* =========================================================
   FACILITIES
   ========================================================= */

.facilities-section {

    background:
        var(--white);

}


.facilities-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.facility-card {

    padding: 30px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    background:
        var(--lighter);

    transition:
        var(--transition);

}


.facility-card:hover {

    background:
        var(--white);

    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow);

}


.facility-number {

    margin-bottom: 25px;

    color:
        var(--secondary-dark);

    font-size: 13px;

    font-weight: 900;

}


.facility-card h3 {

    margin-bottom: 10px;

    color:
        var(--primary-dark);

    font-size: 20px;

}


.facility-card p {

    color:
        var(--muted);

    font-size: 14px;

}


/* =========================================================
   ADMISSION
   ========================================================= */

.admission-section {

    background:
        var(--light);

}


.admission-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: start;

}


.admission-information > p {

    max-width: 600px;

    margin-bottom: 35px;

    color:
        var(--muted);

}


.admission-process {

    display: grid;

    gap: 20px;

}


.process-item {

    display: flex;

    gap: 15px;

}


.process-number {

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        var(--primary);

    color:
        var(--white);

    font-size: 14px;

    font-weight: 800;

}


.process-item h3 {

    margin-bottom: 3px;

    color:
        var(--primary-dark);

    font-size: 17px;

}


.process-item p {

    color:
        var(--muted);

    font-size: 13px;

}


.admission-form-wrapper {

    padding: 35px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-large);

    background:
        var(--white);

    box-shadow:
        var(--shadow);

}


.admission-form h3 {

    color:
        var(--primary-dark);

    font-size: 27px;

}


.admission-form > p {

    margin-bottom: 25px;

    color:
        var(--muted);

    font-size: 14px;

}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;

}


.form-group {

    margin-bottom: 18px;

}


.form-group label {

    display: block;

    margin-bottom: 7px;

    color:
        var(--text-dark);

    font-size: 13px;

    font-weight: 700;

}


.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    padding:
        13px 14px;

    border:
        1px solid
        var(--border);

    border-radius:
        8px;

    outline: none;

    background:
        var(--white);

    color:
        var(--text-dark);

    transition:
        var(--transition);

}


.form-group textarea {

    resize: vertical;

}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color:
        var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(18, 59, 114, 0.08);

}


.form-submit-button {

    width: 100%;

    border: none;

}


/* =========================================================
   NOTICE SECTION
   ========================================================= */

.notice-section {

    background:
        var(--primary-dark);

}


.light-heading .section-title {

    color:
        var(--white);

}


.light-heading p {

    color:
        rgba(255, 255, 255, 0.7);

}


.light-heading .section-label {

    color:
        var(--secondary);

}


.notice-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

}


.notice-card {

    display: flex;

    gap: 20px;

    padding: 25px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius:
        var(--radius);

    background:
        rgba(255, 255, 255, 0.06);

    transition:
        var(--transition);

}


.notice-card:hover {

    transform:
        translateY(-5px);

    background:
        rgba(255, 255, 255, 0.09);

}


.notice-date {

    width: 58px;

    height: 65px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius:
        10px;

    background:
        var(--secondary);

    color:
        var(--primary-dark);

}


.notice-date strong {

    font-size: 22px;

    line-height: 1;

}


.notice-date span {

    font-size: 10px;

    font-weight: 900;

}


.notice-content > span {

    color:
        var(--secondary);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.5px;

}


.notice-content h3 {

    margin:
        5px 0;

    color:
        var(--white);

    font-size: 19px;

}


.notice-content p {

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 13px;

}


/* =========================================================
   EVENTS
   ========================================================= */

.events-section {

    background:
        var(--white);

}


.events-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


.event-card {

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-large);

    background:
        var(--white);

    box-shadow:
        var(--shadow-small);

    transition:
        var(--transition);

}


.event-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow);

}


.event-image {

    overflow: hidden;

}


.event-image img {

    width: 100%;

    aspect-ratio: 16 / 10;

    object-fit: cover;

    transition:
        transform 0.5s ease;

}


.event-card:hover .event-image img {

    transform:
        scale(1.06);

}


.event-content {

    padding: 25px;

}


.event-content > span {

    color:
        var(--secondary-dark);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1.5px;

}


.event-content h3 {

    margin:
        8px 0;

    color:
        var(--primary-dark);

    font-size: 22px;

}


.event-content p {

    color:
        var(--muted);

    font-size: 14px;

}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery-section {

    background:
        var(--light);

}


.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

}


.gallery-item {

    position: relative;

    overflow: hidden;

    aspect-ratio: 1 / 1;

    border-radius:
        var(--radius);

    background:
        var(--primary);

    cursor: pointer;

}


.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;

}


.gallery-item:hover img {

    transform:
        scale(1.1);

}


.gallery-overlay {

    position: absolute;

    inset: auto 0 0;

    padding:
        40px 15px 15px;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.75)
        );

    color:
        var(--white);

    font-size: 13px;

    font-weight: 700;

    opacity: 0;

    transform:
        translateY(10px);

    transition:
        var(--transition);

}


.gallery-item:hover .gallery-overlay {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.highlights-section {

    background:
        var(--white);

}


.highlights-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-large);

    overflow: hidden;

}


.highlight-card {

    padding:
        45px 20px;

    text-align: center;

    border-right:
        1px solid
        var(--border);

}


.highlight-card:last-child {

    border-right: none;

}


.highlight-card strong {

    display: block;

    color:
        var(--primary);

    font-size:
        clamp(35px, 5vw, 52px);

    line-height: 1;

    margin-bottom: 8px;

}


.highlight-card span {

    color:
        var(--muted);

    font-size: 13px;

    font-weight: 700;

}


/* =========================================================
   PORTAL SECTION
   ========================================================= */

.portal-section {

    background:
        var(--light);

}


.portal-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 25px;

}


.portal-card {

    padding: 35px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-large);

    background:
        var(--white);

}


.portal-card h3 {

    color:
        var(--primary-dark);

    font-size: 25px;

}


.portal-card > p {

    margin:
        8px 0 25px;

    color:
        var(--muted);

    font-size: 14px;

}


.portal-links {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

}


.portal-links a {

    padding:
        13px 15px;

    border:
        1px solid
        var(--border);

    border-radius:
        8px;

    background:
        var(--lighter);

    color:
        var(--primary);

    font-size: 13px;

    font-weight: 700;

    transition:
        var(--transition);

}


.portal-links a:hover {

    border-color:
        var(--primary);

    background:
        var(--primary);

    color:
        var(--white);

}


/* =========================================================
   INFORMATION TABLE
   ========================================================= */

.information-section {

    background:
        var(--white);

}


.table-wrapper {

    overflow-x: auto;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

}


.school-information-table {

    width: 100%;

    min-width: 650px;

    border-collapse:
        collapse;

}


.school-information-table th,
.school-information-table td {

    padding:
        18px 20px;

    text-align: left;

    border-bottom:
        1px solid
        var(--border);

}


.school-information-table th {

    background:
        var(--primary);

    color:
        var(--white);

    font-size: 13px;

    text-transform:
        uppercase;

    letter-spacing: 1px;

}


.school-information-table td {

    color:
        var(--text);

    font-size: 14px;

}


.school-information-table tbody tr:hover {

    background:
        var(--light);

}


.school-information-table tbody tr:last-child td {

    border-bottom: none;

}


/* =========================================================
   FAQ
   ========================================================= */

/* FAQ */

.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e1e6ee;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: none;
    background: transparent;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 17px;
    font-weight: 700;
    color: #123b72;
    cursor: pointer;
}

.faq-icon {
    font-size: 25px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 0 22px 20px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: #5f6b7a;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
/* =========================================================
   AI HOMEWORK HELPER
   ========================================================= */

.ai-homework-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 1x;
    margin: 30px auto;
    padding: 24px 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    text-decoration: none;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(18, 59, 114, 0.22);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ai-homework-link span {
    font-size: 23px;
    font-weight: 800;
}

.ai-homework-link small {
    font-size: 14px;
    opacity: 0.9;
}

.ai-homework-link b {
    margin-top: 8px;
    padding: 11px 20px;
    background: var(--secondary);
    color: var(--primary-dark);
    border-radius: 8px;
    font-size: 14px;
}

.ai-homework-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(18, 59, 114, 0.3);
}

.ai-homework-link:active {
    transform: translateY(-1px);
}
/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {

    background:
        var(--white);

}


.contact-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: stretch;

}


.contact-information > p {

    max-width: 580px;

    margin-bottom: 35px;

    color:
        var(--muted);

}


.contact-list {

    display: grid;

    gap: 20px;

}


.contact-item {

    display: flex;

    gap: 15px;

    align-items: flex-start;

}


.contact-icon {

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius:
        10px;

    background:
        rgba(18, 59, 114, 0.08);

    color:
        var(--primary);

    font-size: 14px;

    font-weight: 900;

}


.contact-item h3 {

    margin-bottom: 2px;

    color:
        var(--primary-dark);

    font-size: 16px;

}


.contact-item p {

    color:
        var(--muted);

    font-size: 13px;

}


.map-card {

    min-height: 420px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px;

    border-radius:
        var(--radius-large);

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    box-shadow:
        var(--shadow-large);

    text-align: center;

}


.map-card-content {

    max-width: 420px;

}


.map-card-content > span {

    color:
        var(--secondary);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

}


.map-card h3 {

    margin:
        12px 0;

    color:
        var(--white);

    font-size:
        clamp(30px, 5vw, 42px);

    line-height: 1.1;

}


.map-card p {

    margin-bottom: 25px;

    color:
        rgba(255, 255, 255, 0.7);

    font-size: 14px;

}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.image-lightbox {

    position: fixed;

    inset: 0;

    z-index: 10000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background:
        rgba(0, 0, 0, 0.92);

    opacity: 0;

    visibility: hidden;

    transition:
        var(--transition);

}


.image-lightbox.active {

    opacity: 1;

    visibility: visible;

}


.image-lightbox img {

    max-width:
        min(1000px, 95vw);

    max-height:
        85vh;

    object-fit: contain;

    border-radius:
        10px;

    box-shadow:
        0 20px 80px
        rgba(0, 0, 0, 0.5);

}


.lightbox-close {

    position: absolute;

    top: 20px;

    right: 25px;

    width: 45px;

    height: 45px;

    border: none;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.1);

    color:
        var(--white);

    font-size: 30px;

    line-height: 1;

    transition:
        var(--transition);

}


.lightbox-close:hover {

    background:
        var(--secondary);

    color:
        var(--primary-dark);

}


/* =========================================================
   TOAST
   ========================================================= */

.toast-message {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 20000;

    max-width: 350px;

    padding:
        14px 20px;

    border-radius:
        10px;

    background:
        var(--primary-dark);

    color:
        var(--white);

    box-shadow:
        var(--shadow-large);

    transform:
        translateY(100px);

    opacity: 0;

    visibility: hidden;

    transition:
        var(--transition);

}


.toast-message.show {

    transform:
        translateY(0);

    opacity: 1;

    visibility: visible;

}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {

    position: fixed;

    right: 22px;

    bottom: 22px;

    z-index: 4000;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    background:
        var(--white);

    color:
        var(--primary);

    box-shadow:
        var(--shadow);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(15px);

    transition:
        var(--transition);

}


.back-to-top.visible {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}


.back-to-top:hover {

    background:
        var(--primary);

    color:
        var(--white);

}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {

    background:
        #061b35;

    color:
        var(--white);

}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;

    padding:
        75px 0;

}


.footer-brand img {

    width: 65px;

    height: 65px;

    margin-bottom: 18px;

    padding: 5px;

    border-radius: 50%;

    background:
        var(--white);

    object-fit: contain;

}


.footer-brand h3 {

    margin-bottom: 10px;

    font-size: 21px;

}


.footer-brand p {

    max-width: 360px;

    color:
        rgba(255, 255, 255, 0.6);

    font-size: 13px;

}


.footer-column h4 {

    margin-bottom: 18px;

    color:
        var(--secondary);

    font-size: 15px;

}


.footer-column ul {

    display: grid;

    gap: 9px;

}


.footer-column a {

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 13px;

    transition:
        var(--transition);

}


.footer-column a:hover {

    color:
        var(--white);

    padding-left: 4px;

}


.footer-bottom {

    border-top:
        1px solid
        rgba(255, 255, 255, 0.1);

}


.footer-bottom-inner {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.footer-bottom p {

    color:
        rgba(255, 255, 255, 0.5);

    font-size: 12px;

}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

}


.reveal.visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   SELECTION
   ========================================================= */

::selection {

    background:
        var(--secondary);

    color:
        var(--primary-dark);

}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {

    width: 9px;

}


::-webkit-scrollbar-track {

    background:
        #eef2f7;

}


::-webkit-scrollbar-thumb {

    background:
        var(--primary);

    border-radius:
        20px;

}


::-webkit-scrollbar-thumb:hover {

    background:
        var(--primary-light);

}


/* =========================================================
   RESPONSIVE - 1100px
   ========================================================= */

@media (max-width: 1100px) {

    .desktop-navigation {

        display: none;

    }


    .mobile-menu-button {

        display: flex;

    }


    .navbar {

        min-height: 78px;

    }


    .quick-access-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .about-grid {

        gap: 50px;

    }


    .principal-grid {

        grid-template-columns:
            330px 1fr;

        gap: 50px;

    }


    .academics-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .facilities-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .events-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .gallery-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .footer-grid {

        grid-template-columns:
            2fr 1fr 1fr;

    }

}


/* =========================================================
   RESPONSIVE - 850px
   ========================================================= */

@media (max-width: 850px) {

    .section-padding {

        padding:
            75px 0;

    }


    .top-bar-right {

        display: none;

    }


    .top-bar-inner {

        justify-content: center;

    }


    .hero-section {

        min-height:
            700px;

    }


    .hero-content {

        padding:
            80px 0;

    }


    .about-grid {

        grid-template-columns:
            1fr;

        gap: 50px;

    }


    .about-content {

        max-width:
            700px;

    }


    .principal-grid {

        grid-template-columns:
            1fr;

        gap: 45px;

    }


    .principal-image-area {

        width:
            min(100%, 420px);

        margin-inline:
            auto;

    }


    .admission-grid {

        grid-template-columns:
            1fr;

        gap: 45px;

    }


    .contact-grid {

        grid-template-columns:
            1fr;

        gap: 45px;

    }


    .portal-grid {

        grid-template-columns:
            1fr;

    }


    .highlights-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .highlight-card:nth-child(2) {

        border-right: none;

    }


    .highlight-card:nth-child(1),
    .highlight-card:nth-child(2) {

        border-bottom:
            1px solid
            var(--border);

    }


    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .footer-brand {

        grid-column:
            1 / -1;

    }

}


/* =========================================================
   RESPONSIVE - 650px
   ========================================================= */

@media (max-width: 650px) {

    .container {

        width:
            min(
                calc(100% - 28px),
                var(--container)
            );

    }


    .section-padding {

        padding:
            60px 0;

    }


    .brand-logo-box {

        width: 50px;

        height: 50px;

    }


    .brand-information h1 {

        font-size: 15px;

    }


    .brand-information span {

        font-size: 9px;

    }


    .navbar {

        min-height: 70px;

    }


    .hero-section {

        min-height:
            650px;

    }


    .hero-content {

        padding:
            65px 0;

    }


    .hero-content h2 {

        font-size:
            clamp(38px, 12vw, 58px);

        letter-spacing:
            -1px;

    }


    .hero-information {

        display: grid;

        gap: 15px;

        margin-top: 40px;

    }


    .quick-access-section {

        margin-top: -25px;

    }


    .quick-access-grid {

        grid-template-columns:
            1fr;

    }


    .experience-card {

        width: 160px;

        padding: 17px;

    }


    .experience-card strong {

        font-size: 30px;

    }


    .vision-grid {

        grid-template-columns:
            1fr;

    }


    .academics-grid {

        grid-template-columns:
            1fr;

    }


    .facilities-grid {

        grid-template-columns:
            1fr;

    }


    .notice-grid {

        grid-template-columns:
            1fr;

    }


    .events-grid {

        grid-template-columns:
            1fr;

    }


    .gallery-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .highlights-grid {

        grid-template-columns:
            1fr;

    }


    .highlight-card {

        border-right:
            none;

        border-bottom:
            1px solid
            var(--border);

    }


    .highlight-card:last-child {

        border-bottom:
            none;

    }


    .portal-links {

        grid-template-columns:
            1fr;

    }


    .form-row {

        grid-template-columns:
            1fr;

        gap: 0;

    }


    .admission-form-wrapper {

        padding:
            22px;

    }


    .map-card {

        min-height:
            340px;

        padding:
            30px;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap: 35px;

    }


    .footer-brand {

        grid-column:
            auto;

    }


    .footer-bottom-inner {

        flex-direction:
            column;

        justify-content:
            center;

        padding:
            18px 0;

        text-align:
            center;

    }

}


/* =========================================================
   RESPONSIVE - 450px
   ========================================================= */

@media (max-width: 450px) {

    .top-bar {

        font-size: 11px;

    }


    .hero-buttons {

        flex-direction:
            column;

        align-items:
            stretch;

    }


    .hero-buttons a {

        width: 100%;

    }


    .hero-content h2 {

        font-size:
            40px;

    }


    .gallery-grid {

        grid-template-columns:
            1fr;

    }


    .notice-card {

        flex-direction:
            column;

    }


    .notice-date {

        width: 55px;

    }


    .experience-card {

        position:
            relative;

        right:
            auto;

        bottom:
            auto;

        width:
            100%;

        margin-top:
            10px;

    }


    .about-image-area {

        padding:
            0;

    }


    .principal-image-area::before {

        display:
            none;

    }


    .footer-grid {

        padding:
            55px 0;

    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    * {

        scroll-behavior:
            auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

    }

}