
:root {
    --brand-blue: #2e3b8f;
    --accent-red: #d6343b;
    --muted: #6b768d;
    --text: #0b2345;
    --max-width: 1440px;
    --main-title-size-lg: 56px;
    --main-title-size-md: 40px;
    --main-title-size-sm: 20px;
}

/* ---------- Reset & Base ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html,
body {
    height: 100%;
    font-family: Inter, Segoe UI, system-ui, -apple-system, Roboto, Arial;
    color: var(--text);
    background: #fff
}

.img-card{
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-origin: center;
    will-change: transform;
}

.img-card:hover {
    transform: scale(1.5);
    z-index: 500;
    box-shadow: 0 18px 40px rgba(6,18,60,0.18);
}

.img-card.right:hover{
    transform: scale(1.5) translateX(-100px); 
}

.img-card.left:hover{
    transform: scale(1.5) translateX(100px); 
}

.img-card img {
    transition: transform 0.35s ease;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 18px
}

.section {
    padding: 20px 0
}
.section-title {
    font-size: var(--main-title-size-md);
    font-weight: 700;
    color: #2F3E8F;
}

.section-title.center,.section-subtitle.center {
    text-align: center;
}

@media (max-width: 768px) {
    .section-title {
        font-size: var(--main-title-size-sm);
    }
    .img-card.right:hover{
        transform: scale(1.5); 
    }

    .img-card.left:hover{
        transform: scale(1.5); 
    }
}

/* ---------- Header: centered white container on blue bar ---------- */
.site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 18px;
    display: flex;
    justify-content: center;
    z-index: 120
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(6, 18, 60, 0.12);
    padding: 12px 36px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.brand-logo {
    height: 56px
}

.nav-spacer {
    flex: 1
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 22px
}

.main-nav {
    display: flex;
    gap: 20px;
    align-items: center
}

.main-nav a  {
    color: var(--accent-red);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
}

.main-nav .nav-actions a{
    color: white;
}

.main-nav a:hover {
    color: #b71c1c
}

.main-nav a.active,
.main-nav a:focus {
    background: #fff5f6;
    color: #b71c1c;
    box-shadow: 0 6px 5px rgba(12,12,13,0.05);
    outline: none;
}

.nav-actions {
    margin-left: 10px
}

.nav-actions {
    margin-right: 20px;
    
}

.nav-actions a {
    text-decoration: none;
    color: white;
}

.btn-login {
    display: inline-block;
    background: var(--accent-red);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    border: 0;
    font-weight: 700
}

/* Hamburger */
#nav-toggle.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(11, 35, 69, 0.2);
    background: transparent;
    cursor: pointer;
    margin-left: auto;
}

#nav-toggle.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: #c62828;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#nav-toggle.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#nav-toggle.hamburger[aria-expanded="true"] span:nth-child(2) {
   opacity: 0;
}

#nav-toggle.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile: collapse nav into dropdown panel using .header-menu.is-open */
@media (max-width:900px) {
    .site-header {
        top: 12px;
    }

    .nav-container {
        padding: 10px 14px;
    }

    .main-nav {
        display: none
    }

    .brand { 
        align-items: center; 
    }

    .brand-logo {
        height: 48px;
    }

    #nav-toggle.hamburger {
        display: flex
    }

    .header-menu {
        position: relative
    }

    .header-menu.is-open {
        position: absolute;
        top: 76px;
        right: 16px;
        width: min(340px, calc(100vw - 32px));
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 24px 48px rgba(6, 18, 60, 0.18);
        flex-direction: column;
        align-items: stretch;
        z-index: 130
    }

    .header-menu.is-open .main-nav {
        display: flex;
        flex-direction: column
    }

    .header-menu.is-open .main-nav a {
        padding: 14px 18px;
        border-bottom: 1px solid rgba(11, 35, 69, 0.06);
        color: var(--text);
        border-radius: 0
    }

    .header-menu.is-open .main-nav .nav-actions {
        display: flex;
        justify-content: center;
        padding: 12px 16px;
    }

    .header-menu.is-open .main-nav .nav-actions a {
        border-bottom: none;
        padding: 8px 12px;
        border-radius: 8px;
        color: white;
    }
}

@media(max-width:560px) {

    .brand-logo {
        height: 42px
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 90vh;
    min-height: 520px;
    display: flex;
    align-items: center
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(46, 59, 143, 0.75), rgba(46, 59, 143, 0.75))
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 960px;
    margin: 0 auto;
    padding: 36px 18px;
    text-align: center
}

.hero-title {
    font-size: 44px;
    line-height: 1.02;
    margin-bottom: 12px
}

.hero-sub {
    font-size: 18px;
    opacity: .95;
    margin-bottom: 18px;
    width: 70%;
    margin:auto;
}

.hero .cta {
    display: inline-flex;
    gap: 12px
}

@media(max-width:900px) {

    .hero-title {
        font-size: 34px;
    }

    .hero-sub {
        width: 90%;
    }
}

@media(max-width:560px) {
    .hero {
        min-height: 60vh
    }

    .hero-title {
        font-size: 28px
    }
}

/* ---------- About & cards ---------- */
.about-section .about-top-row {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 36px;
    align-items: center;
    margin-bottom: 28px
}

.about-section .about-top-left .section-title{
    font-size: 40px;
    color: #2F3E8F;
    margin-bottom: 18px;
}

.about-lead{
    color: #364153;
    line-height: 1.8;
    max-width: 680px;
    margin-bottom: 26px;
    font-size: 17.6px;
}

.about-photo-wrap {
    position: relative;
    border-radius: 14px;
    overflow: visible
}

.about-photo {
    border-radius: 14px;
    box-shadow: 0 22px 50px rgba(8, 24, 56, 0.18)
}

.photo-glow {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(214, 52, 59, 0.14), rgba(214, 52, 59, 0.06) 45%, transparent 60%);
    filter: blur(28px);
    z-index: 1
}

.about-cards-row{
    margin-top: 55px;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 36px;
}

.about-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 8px 6px;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 48px;
}

.card-icon.blue {
    background: #2F3E8F;
}

.card-icon.red {
    background: #C62828
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px
}

.card-body p {
    color: var(--muted);
    line-height: 1.7
}

.core-values {
    margin: 6px 0 0 0;
    padding-left: 20px;
    color: #42566f;
    list-style-type: disc;
    line-height: 1.8;
}

.core-values li {
    margin-bottom: 6px;
    font-size: 14px;
}

.welcome-block {
    text-align: center;
    padding: 56px 20px;
}

.welcome-stars {
    margin-bottom: 18px;
}

.welcome-stars .star {
    color: #d6343b;
    font-size: 18px;
    margin: 0 6px;
}

.welcome-stars .star-center {
    color: #113e8a;
}

.welcome-text p {
    max-width: 780px;
    margin: 0 auto;
    color: #0b2345;
    line-height: 1.8;
    font-size: 24px;
}

.principal-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
}

.principal-label {
    color: #d6343b;
    font-size: 12px;
}
.principal-label span{
    color: black;
}

.principal-logo img {
    display: block;
}

/* Divider between principal note and logo */
.principal-note {
    padding-right: 20px;
    border-right: 1px solid black;
    display: flex;
    align-items: center;
}

.principal-logo {
    display: flex;
    align-items: center;
}

@media (max-width:800px) {
    .about-section .about-top-row {
        grid-template-columns: 1fr
    }

    .about-cards {
        grid-template-columns: 1fr;
        gap: 18px 0;
    }

    .principal-note {
        border-right: none;
        padding-right: 0;
    }

    .principal-row {
        gap: 10px;
        flex-direction: column;
    }

    .principal-logo {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .about-section .about-top-left .section-title{
        font-size: 20px;
    }

    .about-lead {
        font-size: 14px;
    }

    .welcome-text p {
        font-size: 17px;
    }
}

/* ---------- Programs / grids ---------- */
.programs-section {
    background: #F9FAFB;
}

.program-intro{
    width: 80%;
    margin: auto;
}

.programs-section .container .section-title {
    font-size: 40px;
    font-weight: 700;
    color: #2F3E8F;
    margin-bottom: 18px;
}

.programs-section .container .section-subtitle{
    color: #4A5565;
    font-size: 17.6px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.programs-grid {
    margin-top: 32px;
    display: block;
    --prog-h: 320px;
}

.program-tile {
    width: 48%;
    height: var(--prog-h);
    clear: both;
    margin-bottom: 20px;
    background: #f3f6fb;
    overflow: hidden;
    border: 1px solid black;
}

.program-tile:nth-child(1) { margin-left: 0; }
.program-tile:nth-child(2) { margin-left: 50%; margin-top: calc(var(--prog-h) / -2); }
.program-tile:nth-child(3) { margin-left: 0; margin-top: calc(var(--prog-h) / -2); }


.tile-image {
    height: calc(var(--prog-h) - 70px);
    position: relative;
    background: white;
}

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

.tile-caption {
    background: #fff;
    font-weight: 700;
    height: 70px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.caption-blue { color: #13428a; }
.caption-red { color: #c62828; }

@media (max-width: 900px) {
    .program-tile {
        width: 100%;
        margin-left: 0 !important;
        height: auto;
    }

    .program-tile + .program-tile {
        margin-top: 28px;
    }
}

@media (max-width: 768px) {

    .programs-grid .program-tile {
        width: 100%;
        margin-left: 0 !important;
    }
}

@media (max-width: 480px) {
    .program-intro{
        width: 100%;
        margin: auto;
    }

    .programs-section .container .section-title {
        font-size: 20px;
    }

    .programs-section .container .section-subtitle{
        font-size: 14px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-tile {
        background: #fff;
        border: 1px solid #c9ced9;
        border-radius: 6px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .tile-caption {
        font-weight: 600;
        font-size: 14px;
    }

    .caption-red {
        color: #c62828
    }
}

/* ---------- Curriculum ---------- */

.curriculum-section {
    background: #F9FAFB;
}

.curriculum-section .container .section-title {
    font-size: 40px;
    font-weight: 700;
    color: #2F3E8F;
    margin-bottom: 18px;
}

.curriculum-framework {
    margin-bottom: 50px;
}

.curriculum-lead {
    color: #364153;
    margin: 12px 0 20px;
    line-height: 1.7;
    font-size: 17.6px;
}

.subjects-list {
    margin-left: 20px;
    color: #33475b;
    line-height: 1.8;
}

.subheading {
    font-size: 20px;
    color: #d6343b;
    margin: 22px 0 12px;
}

.teaching-approach {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.two-col-title {
    font-size: 28px;
    color: #2e4bd6;
    margin-bottom: 16px;
}

.approach-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.approach-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 8px 14px rgba(11, 35, 69, 0.1);
}

.approach-card .card-body{
    line-height: 1.5;
    font-size: 17.6px;
    font-weight: 600;
}

.approach-card .card-body.red{
    color: #C62828;
}

.approach-card .card-body.blue{
    color: #2F3E8F;
}

.assessment{
    margin-bottom: 20px;
}

.assessment p{
    font-size: 17.6px;
    line-height: 1.5;
    color: #364153;
    font-weight: 400;
}

@media (max-width: 900px) {
    .teaching-approach {
        grid-template-columns: 1fr;
    }

    .approach-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .two-col-title{
        font-size: 20px;
    }
    .curriculum-section .container .section-title {
        font-size: 20px;
    }
}

/* =========================================================
   07. ADMISSIONS SECTION
========================================================= */
.admissions-hero {
    background: #2e3b8f;
    color: #fff;
    padding: 64px 0 80px;
}
.admissions-hero .container .admissions-title {
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 18px;
}

.admissions-process {
    background: #2e3b8f;
    color: #fff;
    padding-bottom: 40px;
}

.process-title {
    color: #fff;
    font-size: 56px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
}

.timeline-web {
    position: relative;
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-mobile{
    display: none;
}

.timeline-web-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
}

.timeline-web-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-web-item {
    position: relative;
    flex: 1;
    text-align: center;
}

.timeline-web-item .dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    margin: 0 auto;
}

.timeline-web-step {
    width: 240px;
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
}

.timeline-web-item:nth-child(2n) .timeline-web-step { bottom: 40px; }
.timeline-web-item:nth-child(2n+1) .timeline-web-step { top: 40px; }

/* Timeline container */
.timeline-mobile {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

/* Vertical line in the center */
.timeline-mobile-line {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

/* Items container */
.timeline-mobile-items {
    display: flex;
    flex-direction: column;
}

/* Each timeline item */
.timeline-mobile-item {
    position: relative;
    width: 50%;
    padding: 20px 10px;
    box-sizing: border-box;
}

/* Left side items */
.timeline-mobile-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 40px;
}

/* Right side items */
.timeline-mobile-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 40px;
}

/* Dot */
.timeline-mobile-item .dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    z-index: 1;
}

/* Dot position for left/right */
.timeline-mobile-item:nth-child(odd) .dot {
    right: -10px;
}

.timeline-mobile-item:nth-child(even) .dot {
    left: -10px;
}

/* Step content box */
.timeline-mobile-step {
    color: #fff;
    padding: 0px 15px;
    width: 240px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .timeline-web{
        display: none;
    }
    .timeline-mobile{
        display: block;
    }
    
}

@media (max-width: 768px) {

    .admissions-hero .container .admissions-title,.process-title {
        font-size: 20px;
    }
}
/* Mobile responsive: stack vertically */
@media (max-width: 480px) {
    .timeline-mobile-line {
        left: 10px;
    }

    .timeline-mobile-item,
    .timeline-mobile-item:nth-child(odd),
    .timeline-mobile-item:nth-child(even) {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding: 10px 20px;
    }

    .timeline-mobile-item .dot {
        left: -20px !important;
        right: auto;
    }

    .timeline-mobile-step {
        max-width: 100%;
        padding-top: 10px;
        padding-left: 0;
    }
}


.admissions-cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-top: 56px;
}

.admission-card {
    width: 260px;
    min-height: 360px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    padding: 28px 22px;
    box-shadow: 0 10px 30px rgba(11, 20, 40, 0.12);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admission-card .card-body .title{
    margin-bottom: 10px;
    font-size: 20px;
}

.admission-card .card-body .title.red{
    color: #C62828;
}

.admission-card .card-body .title.blue{
    color: #2F3E8F;
}

@media (max-width: 900px) {
    .admissions-cards {
        flex-direction: column;
        gap: 18px;
    }

    .admission-card {
        width: 100%;
    }
}
/* =========================================================
   08. FACULTY SECTION
========================================================= */

.faculty-section {
    padding-top: 30px;
    background-color: white;
}

.faculty-staff {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 40px;
    align-items: start;
}

.faculty-lead {
    color: #334155;
    margin: 20px 0;
}

.faculty-block {
    padding-left: 12px;
    margin-bottom: 24px;
    margin-top: 5px;
}

.faculty-block.border{
    border-left: 1px solid rgba(198, 40, 40, 1);
}
.image-placeholder {
    background: #e6e6e6;
    overflow: hidden;
}

@media (max-width: 900px) {
    .faculty-staff {
        grid-template-columns: 1fr;
    }

    .image-placeholder {
        height: 260px;
    }
}
/* =========================================================
   09. STUDENT LIFE SECTION
========================================================= */
.student-life-section {
    padding: 64px 0 80px;
}

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

.student-card {
    position: relative;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
}

.student-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    min-height: 72px;
    z-index: 3;
}

.card-overlay h4 {
    color: #fff;
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
}
.subheading {
    font-size: 24px;
    color: #2F3E8F;
    margin: 22px 0 12px;
}

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

    .student-card {
        height: 180px;
    }

    .card-overlay {
        justify-content: center;
        text-align: center;
        padding: 12px 14px;
    }

    .card-overlay h4 {
        font-size: 16px;
    }
}
/* =========================================================
   10. STUDENT DEVELOPMENT HERO
========================================================= */
.student-development-hero {
    padding: 0;
}

.student-development-bg {
    background: url('../images/student-development-bg.png') center/cover no-repeat;
    position: relative;
    padding: 96px 0;
}

.student-development-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(6, 9, 30, 0.45), rgba(6, 9, 30, 0.45));
}

.student-development-inner {
    display: flex;
    min-height: 260px;
    gap: 40px;
    align-items: center;
}

.sd-left{
    white-space: nowrap;
}

.sd-left .section-title {
    color: #fff;
}

.sd-left ,.sd-right {
    z-index: 30;
}

.sd-lead {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.student-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.15));
    z-index: 0;
}

@media (max-width: 900px) {
    .student-development-bg {
        padding: 48px 0;
    }

    .student-development-inner {
        display: flex;
        flex-direction: column;
        min-height: 260px;
        gap: 40px;
    }

    .sd-left .section-title {
        font-size: 20px;
    }
}


/* =========================================================
   11. FACILITIES SECTION
========================================================= */
.facilities-section {
    background: #2e3b8f;
    color: #fff;
    padding: 88px 0 110px;
}

.facilities-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.fac-left h2.section-title {
    color: #fff;
    font-size: var(--main-title-size-md);
}

.fac-left h2.section-title, .fac-left p, .fac-left h3 {
    margin-bottom: 10px;
}

.fac-left p,
.fac-left li {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.facilities-list {
    margin: 18px 20px 22px;
}

.fac-right {
    display: flex;
    justify-content: center;
}

.fac-video-placeholder {
    width: 560px;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(11, 20, 40, 0.12);
}

.fac-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .facilities-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fac-video-placeholder {
        width: 100%;
        height: 320px;
    }

    .fac-left h2.section-title {
        font-size: 36px;
    }
}
@media (max-width: 480px){
    .fac-left h2.section-title {
        font-size: var(--main-title-size-sm);
    }
}

/* =========================================================
   12. GALLERY AND NEWS SECTION
========================================================= */
.gallery-section,.news-section {
    background: #F9FAFB;
}
.news-section {
    padding-bottom: 50px;
}

.gallery-section .container .section-title,.gallery-section .container .section-subtitle{
    width: 50%;
    margin: 30px 0;
} 

.news-section .container .section-title,.news-section .container .section-subtitle{
    width: 50%;
    margin: 30px 0;
} 

.gallery-slider-wrap,.news-slider-wrap {
    position: relative;
    margin-top: 24px;
    overflow: hidden;
    padding-top: 50px;
}

.gallery-slider-wrap:hover,.news-slider-wrap:hover{
    /* overflow: visible; */
}

.gallery-track,.news-track {
    display: flex;
    gap: 18px;
    transition: transform 0.5s cubic-bezier(.22,.9,.36,1);
    will-change: transform;
    padding-bottom: 6px;
}

.gallery-item,.news-item {
    flex: 0 0 280px;
    min-width: 380px;
    /* min-width: 280px; */
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-item img,.news-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover img,.news-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay,.news-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    color: #fff;
}

.gallery-controls,.news-controls  {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.gallery-dots,.news-dots {
    display: flex;
    gap: 8px;
}

.gallery-dots .dot,.news-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d4de;
}

.gallery-dots .dot.active,.news-dots .dot.active {
    background: #2e3b8f;
}

.gallery-btn,.news-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(11, 35, 69, 0.12);
    /* box-shadow: 0 6px 18px rgba(11, 35, 69, 0.06); */
    color: #0b2345;
}

@media (max-width: 900px) {
    .gallery-item,.news-item {
        flex: 0 0 220px;
        min-width: 220px;
        height: 160px;
    }

    .gallery-btn,.news-btn {
        width: 40px;
        height: 40px;
    }

    .gallery-controls,.news-controls {
        margin-top: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .gallery-section .container .section-title,.gallery-section .container .section-subtitle{
        width: 100%;
        margin: 30px 0;
    } 
    .news-section .container .section-title,.news-section .container .section-subtitle{
        width: 100%;
        margin: 30px 0;
    }
}

/* =========================================================
   13. GET IN TOUCH & CONTACT
========================================================= */
.get-in-touch-section {
    padding: 60px 0 80px;
}

.campus-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.campus-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(11, 35, 69, 0.08);
    height: 220px;
}

.campus-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;  
    z-index: 1;
}
.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
.campus-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: #fff;
    z-index: 2; 
}

.contact-panel {
    width: 640px;
    margin: 28px auto 0;
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(11, 35, 69, 0.06);
}

.contact-item {
    display: flex;
    gap: 12px;
    padding: 18px 0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.contact-icon.blue { 
    background: #2F3E8F; 
}
.contact-body .blue{
    color: #2F3E8F; 
}
.contact-icon.red { 
    background: #C62828; 
}
.contact-body .red{
    color: #C62828; 
}

.contact-note {
    margin-top: 18px;
    color: #4A5565;
    font-size: 16px;
}

.contact-socials {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 18px;
}

.social-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}
.social-icon:hover {
    transform: scale(1.2) translateY(-4px);
    background: linear-gradient(135deg, #d4d4df, #bac2cf);
    box-shadow: 
        0 10px 25px rgba(99, 102, 241, 0.35),
        0 0 0 6px rgba(99, 102, 241, 0.15);
}

@media (max-width: 900px) {
    .campus-cards {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 786px){
    .social-icon {
        width: 32px;
        height: 32px;
    }
}
@media (max-width: 480px){
    .contact-item{
        flex-direction: column;
    }
}

/* =========================================================
   14. FOOTER
========================================================= */
.site-footer {
    background: #2e3b8f;
    color: #fff;
    padding: 40px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
    align-items: start;
    padding: 30px 0;
}

.footer-logo-bg{
    background-color: white;
    width: fit-content;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(11, 35, 69, 0.12);
    padding: 3px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    height: 80px;
}

.footer-desc {
    margin-top: 16px;
    color: white;
    max-width: 280px;
    font-size: 14.4px;
    font-weight: 400;
}

.footer-links h4,
.footer-connect h4 {
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 17.6px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

.footer-links ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffffff;
}

.footer-links ul li a:hover::after {
    width: 100%;
}

.footer-social-small {
    display: flex;
    gap: 12px;
}

.social-small {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 28px;
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
}

.copyright,.footer-legal {
    font-size: 14px;
    font-weight: 400;
}

.footer-bottom-inner a {
    color: rgba(255, 255, 255, 0.85);
    margin-left: 18px;
    text-decoration: none;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
    }
    .footer-col{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .copyright{
        margin-bottom: 20px;
    }
}
@media (max-width: 480px) {
    .footer-bottom-inner{
        padding: 5px;
    }
    .copyright{
        text-align: center;
    }
    .footer-legal{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
}


/* =========================================================
   Privacy and Policies
========================================================= */
.policies-section {
    padding: 60px 0 80px;
    background: #fff;
}

.policies-section .container .section-title{
    margin-top: 100px;
    color: black;
    font-weight: 700;
    font-size: var(--main-title-size-lg);
}

.policies-bg {
    background: url('../images/app-logo.png') center/cover no-repeat;
    background-size: contain;
    position: relative;
    /* padding: 96px 0; */
    z-index: 1;
}

.policies-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.8));
    z-index: 1;
}

.policies-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;  
    z-index: 2;  
}
.policy-item {
    margin: 32px 0;
}
.policy-title {
    color: #2F3E8F;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
}
.policy-item p{
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.policies-section .section-title {
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .policies-section .container .section-title{
        margin-top: 30px;
        font-size: var(--main-title-size-md);
    }
    .policy-title {
        font-size: 20px;
    }
    .policy-item p{
        font-size: 14px;
    }
}
