/* =====================================================
   PAGE HERO
===================================================== */

.page-hero {

    padding: 120px 0 34px;

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color: white;

    text-align: center;
}

.page-hero h1 {

    font-size: 3.5rem;

    margin-bottom: 20px;
}

.page-hero p {

    max-width: 700px;

    margin: auto;

    font-size: 1.1rem;

    opacity: .9;
}

/* =====================================================
   APPLICATION SECTION
===================================================== */

.application-section {

    padding: 34px 0;

    background: #f8fafc;
}

/* =====================================================
   FORM PROGRESS
===================================================== */

.form-progress {

    margin-bottom: 60px;

    position: relative;
}

.progress-line {

    height: 6px;

    background: #dbe3ea;

    border-radius: 100px;

    overflow: hidden;

    position: relative;

    margin-bottom: 40px;
}

.progress-fill {

    width: 20%;

    height: 100%;

    background:
    linear-gradient(
        90deg,
        var(--secondary),
        #ffc531
    );

    transition: .4s ease;
}

.progress-steps {

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.step {

    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: white;

    border: 2px solid #dbe3ea;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-direction: column;

    font-weight: 700;

    position: relative;

    transition: .3s ease;
}

.step span {

    position: absolute;

    top: 68px;

    white-space: nowrap;

    font-size: 1rem;

    font-weight: 600;

    color: var(--text);
}

.step.active {

    background: var(--primary);

    color: white;

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

.step.completed {

    background: #16a34a;

    color: white;

    border-color: #16a34a;
}

.step:not(.active):not(.completed) {

    background: white;

    color: #ef4444;

    border-color: #ef4444;
}

/* =====================================================
   FORM STEPS
===================================================== */

.form-step {

    display: none;
}

.active-step {

    display: block;
}

/* =====================================================
   FORM CARD
===================================================== */

.form-card {

    background: white;

    padding: 40px;

    border-radius: 20px;

    box-shadow: 0 10px 40px rgba(0,0,0,.08);
}

.form-card h2 {

    margin-bottom: 30px;

    color: var(--primary);
}

/* =====================================================
   FORM GRID
===================================================== */

.form-grid {

    display: grid;

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

    gap: 25px;
}

.full-width {

    grid-column: 1 / -1;
}

/* =====================================================
   FORM GROUP
===================================================== */

.form-group {

    display: flex;

    flex-direction: column;
}

.form-group label {

    margin-bottom: 8px;

    font-weight: 600;

    color: var(--text);
}

/* =====================================================
   INPUTS
===================================================== */

.form-group input,
.form-group select,
.form-group textarea {

    padding: 14px 16px;

    border: 1px solid #dbe3ea;

    border-radius: 12px;

    font-size: .95rem;

    transition: .3s ease;

    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    outline: none;

    border-color: var(--primary);

    box-shadow:
    0 0 0 4px rgba(16,49,107,.08);
}

.form-group textarea {

    resize: vertical;
}

/* =====================================================
   FILE INPUT
===================================================== */

input[type="file"] {

    padding: 12px;

    background: #f8fafc;

    cursor: pointer;
}
/* =====================================================
   REVIEW SECTION
===================================================== */

.review-note {

    margin-bottom: 30px;

    color: #64748b;

    line-height: 1.7;
}

.review-container {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 25px;

    margin-bottom: 30px;
}

.review-section {

    margin-bottom: 25px;
}

.review-section:last-child {

    margin-bottom: 0;
}

.review-section h3 {

    color: var(--primary);

    margin-bottom: 15px;

    padding-bottom: 10px;

    border-bottom: 1px solid #e2e8f0;
}

.review-row {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 12px;

    padding: 10px 0;

    border-bottom: 1px dashed #e2e8f0;
}

.review-label {

    font-weight: 600;

    color: #475569;
}

.review-value {

    text-align: right;

    color: var(--text);
}

/* =====================================================
   DECLARATION
===================================================== */

.declaration-box {

    background: #fff8e6;

    border-left: 5px solid var(--secondary);

    padding: 20px;

    border-radius: 10px;
}

.checkbox-container {

    display: flex;

    gap: 12px;

    align-items: flex-start;

    cursor: pointer;
}

.checkbox-container input {

    margin-top: 4px;

    width: 18px;
    height: 18px;
}

.checkbox-container span {

    line-height: 1.7;
}

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

.form-navigation {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 40px;
}

#submitBtn {

    display: none;
}

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

.admission-help {

    padding: 34px 0;

    background: white;
}

.help-card {

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color: white;

    padding: 60px;

    border-radius: 24px;

    text-align: center;
}

.help-card h2 {

    margin-bottom: 20px;

    font-size: 2rem;
}

.help-card p {

    max-width: 700px;

    margin: 0 auto 30px;
}

.help-grid {

    display: grid;

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

    gap: 25px;

    margin-top: 40px;
}

.help-grid div {

    background:
    rgba(255,255,255,.08);

    padding: 20px;

    border-radius: 16px;
}

.help-grid strong {

    display: block;

    margin-bottom: 10px;

    color: var(--secondary);
}

/* =====================================================
   APPLICATION PREVIEW PAGE
===================================================== */

.preview-section {

    padding: 34px 0;

    background: #f8fafc;
}

.preview-card {

    background: white;

    padding: 40px;

    border-radius: 20px;

    box-shadow: 0 10px 40px rgba(0,0,0,.08);
}

.preview-card h2 {

    color: var(--primary);

    margin-bottom: 30px;
}

.preview-actions {

    display: flex;

    justify-content: center;

    gap: 20px;

    margin-top: 40px;

    flex-wrap: wrap;
}

/* =====================================================
   SUCCESS PAGE
===================================================== */

.success-section {

    padding: 34px 0;

    background: #f8fafc;
}

.success-card {

    background: white;

    max-width: 800px;

    margin: auto;

    padding: 60px;

    border-radius: 24px;

    text-align: center;

    box-shadow: 0 15px 50px rgba(0,0,0,.08);
}

.success-icon {

    width: 100px;
    height: 100px;

    margin: auto auto 25px;

    border-radius: 50%;

    background: #22c55e;

    color: white;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 3rem;
}

.success-card h2 {

    color: var(--primary);

    margin-bottom: 20px;
}

.application-id {

    display: inline-block;

    background: #f1f5f9;

    padding: 15px 25px;

    border-radius: 12px;

    margin: 25px 0;

    font-size: 1.2rem;

    font-weight: 700;

    color: var(--primary);
}

.success-actions {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-top: 35px;

    flex-wrap: wrap;
}

/* =====================================================
   ADMISSION PROCESS PAGE
===================================================== */

.process-grid {

    display: grid;

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

    gap: 25px;

    margin-top: 50px;
}

.process-card{

    position:relative;

    overflow:hidden;

    cursor:pointer;

    transition:
    transform .4s ease,
    box-shadow .4s ease,
    background .4s ease,
    color .4s ease;
}

.process-card:hover {

    transform:
    translateY(-12px)
    scale(1.04);

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow:
    0 20px 40px rgba(0,0,0,.18);
}

.step-number {

    width: 70px;
    height: 70px;

    margin: auto auto 20px;

    border-radius: 50%;

    background: var(--primary);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

    font-weight: 700;

    transition:
    transform .4s ease,
    background .4s ease,
    color .4s ease;
}

.process-card:hover .step-number{

    transform:
    scale(1.2)
    rotate(8deg);

    background:white;

    color:var(--primary);
}

.process-card h3,
.process-card p{

    transition:
    color .4s ease;
}

.process-card:hover h3,
.process-card:hover p{

    color:white;
}

.process-card::before{

    content:"";

    position:absolute;

    top:0;
    left:-120%;

    width:100%;
    height:100%;

    background:
    linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.25),
        transparent
    );

    transition:.6s ease;

    z-index:1;
}

.process-card:hover::before{

    left:120%;
}

/* =====================================================
   DOCUMENTS
===================================================== */

.document-list {

    display: grid;

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

    gap: 20px;

    margin-top: 50px;
}

.document-item {

    background: white;

    padding: 20px;

    border-radius: 14px;

    box-shadow: 0 8px 25px rgba(0,0,0,.05);
}

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

.admission-cta{

    text-align:center;

    padding:34px 0;
}

.admission-cta h2{

    font-size:4rem;

    font-weight:800;

    color:var(--primary);

    margin-bottom:20px;
}

.admission-cta p{

    font-size:1.3rem;

    margin-bottom:35px;

    color:var(--text-light);
}

.admission-cta .btn{

    padding:18px 45px;

    font-size:1.3rem;

    font-weight:700;

    border-radius:50px;

    display:inline-block;

    animation:pulseApply 2s infinite;
}

@keyframes pulseApply{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.08);
    }

    100%{
        transform:scale(1);
    }
}

@media(max-width:768px){

    .admission-cta h2{

        font-size:2.5rem;
    }

    .admission-cta p{

        font-size:1rem;
    }

    .admission-cta .btn{

        padding:15px 35px;

        font-size:1.1rem;
    }
}

/* =====================================================
   FAQ
===================================================== */

.faq-container {

    max-width: 900px;

    margin: auto;
}

.faq-item {

    background: white;

    margin-bottom: 15px;

    border-radius: 14px;

    overflow: hidden;

    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.faq-question {

    width: 100%;

    padding: 20px;

    text-align: left;

    background: white;

    cursor: pointer;

    font-weight: 600;
}

.faq-answer {

    display: none;

    padding: 20px;

    border-top: 1px solid #e2e8f0;

    color: #64748b;
}

.faq-item.active .faq-answer {

    display: block;
}

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

@media(max-width:992px){

    .form-grid,
    .process-grid,
    .criteria-grid,
    .why-grid,
    .help-grid {

        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:768px){

    .form-grid,
    .process-grid,
    .criteria-grid,
    .document-list,
    .why-grid,
    .help-grid {

        grid-template-columns: 1fr;
    }

    .form-card,
    .preview-card,
    .success-card {

        padding: 25px;
    }

    .form-navigation {

        flex-direction: column;

        gap: 15px;
    }

    .form-navigation .btn {

        width: 100%;
    }

    .progress-steps {

        overflow-x: auto;

        gap: 30px;

        padding-bottom: 15px;
    }

    .step {

        min-width: 60px;
    }

    .review-row {

        flex-direction: column;
    }

    .review-value {

        text-align: left;
    }

    .page-hero h1 {

        font-size: 2.5rem;
    }

    /* On mobile: header is 78px, add ~30px breathing room = 108px */
    .page-hero {
        padding-top: 108px;
    }

    .help-card {

        padding: 35px 20px;
    }
}
/* =====================================
   GALLERY PAGE
===================================== */

.gallery-filter-section{
    padding:34px 0;
    background:#fff;
}

.gallery-filters{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.gallery-filter{
    padding:12px 22px;
    border:none;
    border-radius:50px;
    cursor:pointer;
    background:#eef2f7;
    transition:.3s;
}

.gallery-filter.active,
.gallery-filter:hover{
    background:var(--primary);
    color:#fff;
}

.gallery-section{
    padding:34px 0;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
    gap:20px;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:18px;
    cursor:pointer;
    aspect-ratio:4/3;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.4s;
}

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

.gallery-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    display:flex;
    align-items:flex-end;
    padding:20px;
    color:white;
    opacity:0;
    transition:.3s;
}

.gallery-item:hover .gallery-overlay{
    opacity:1;
}

.gallery-event-label{
    grid-column:1 / -1;
    aspect-ratio:unset;
    overflow:visible;
    cursor:default;
}

/* ── Phone-gallery Month/Year section header ──────────────────────────
   Spans full grid width. Styled to match the school brand colour.
   Visibility follows the same show/hide logic as .gallery-item so
   category filters work correctly on month headers too.
──────────────────────────────────────────────────────────────────── */
.gallery-month-header{
    grid-column:1 / -1;
    aspect-ratio:unset;
    overflow:visible;
    cursor:default;
    background: linear-gradient(90deg, rgba(16,49,107,.06) 0%, transparent 80%);
    border-radius: 6px 0 0 0;
    /* Inline styles from JS handle spacing/colour; this keeps layout correct */
}

/* When a filter hides all gallery-items in a month, also hide its header.
   We handle this in JS (applyGalleryFilter) — the class is here for reference. */
.gallery-month-header.hidden{
    display:none !important;
}


.gallery-lightbox{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    z-index:9999;
    justify-content:center;
    align-items:center;
}

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

.gallery-lightbox img{
    max-width:90%;
    max-height:85vh;
    border-radius:10px;
}

.lightbox-close{
    position:absolute;
    top:20px;
    right:35px;
    font-size:40px;
    color:white;
    cursor:pointer;
    z-index:2;
    line-height:1;
    user-select:none;
}

.lightbox-spinner{
    width:48px;
    height:48px;
    border:5px solid rgba(255,255,255,.25);
    border-top-color:#fff;
    border-radius:50%;
    animation:lb-spin .7s linear infinite;
}

@keyframes lb-spin{
    to{ transform:rotate(360deg); }
}

.lightbox-caption{
    position:absolute;
    bottom:20px;
    left:0;right:0;
    text-align:center;
    color:#fff;
    font-size:1rem;
    font-weight:600;
    text-shadow:0 1px 4px rgba(0,0,0,.6);
    padding:0 20px;
    display:none;
}

/* =====================================
   FACILITIES PAGE
===================================== */

.facilities-section {
    padding: 34px 0;
    background: #f8fafc;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.facility-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
}

.facility-card:hover {
    transform: translateY(-10px);
}

.facility-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.facility-card h3 {
    color: #10316b;
    margin-bottom: 15px;
}

.facility-card p {
    color: #64748b;
    line-height: 1.7;
}

/* =====================================
   VIRTUAL TOUR PAGE
===================================== */

.tour-video-section,
.tour-highlights-section,
.walkthrough-section,
.tour-experience-section,
.campus-visit-section{
    padding:34px 0;
}

.video-tour-card{
    max-width:1000px;
    margin:auto;
}

.video-placeholder{
    background:linear-gradient(
        135deg,
        #10316b,
        #0a2540
    );
    color:white;
    text-align:center;
    padding:120px 30px;
    border-radius:25px;
}

.play-button{
    width:90px;
    height:90px;
    margin:auto;
    border-radius:50%;
    background:#f2b705;
    color:#10316b;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2rem;
    margin-bottom:20px;
    cursor:pointer;
}

.tour-highlights-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.tour-highlight-card{
    background:white;
    padding:35px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.tour-highlight-card:hover{
    transform:translateY(-10px);
}

.tour-icon{
    font-size:3rem;
    margin-bottom:20px;
}

.walkthrough-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.walkthrough-card{
    overflow:hidden;
    border-radius:20px;
    background:white;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.walkthrough-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.walkthrough-content{
    padding:25px;
}

.experience-card{
    background:white;
    padding:50px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.experience-features{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:40px;
}

.experience-item{
    background:#f8fafc;
    padding:20px;
    border-radius:15px;
    font-weight:600;
}

.experience-item span{
    color:#16a34a;
    margin-right:8px;
}

.campus-visit-card{
    background:linear-gradient(
        135deg,
        #10316b,
        #0a2540
    );
    color:white;
    text-align:center;
    padding:70px 30px;
    border-radius:25px;
}

.campus-visit-card h2{
    margin-bottom:15px;
}

.campus-visit-card p{
    max-width:700px;
    margin:0 auto 30px;
}

.btn-primary{
    display:inline-block;
    background:#f2b705;
    color:#10316b;
    text-decoration:none;
    padding:14px 28px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

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

@media(max-width:768px){

    .video-placeholder{
        padding:80px 20px;
    }

    .experience-card{
        padding:30px 20px;
    }

}
/* =====================================
   NEWS PAGE
===================================== */
.news-wall-card{

    overflow:hidden;

    border-radius:24px;

    position:relative;

    cursor:pointer;
}

.news-wall-card img{

    width:100%;

    height:350px;

    object-fit:cover;

    transition:.6s ease;
}

.news-wall-card:hover img{

    transform:scale(1.1);
}

.news-wall-overlay{

    position:absolute;

    bottom:0;

    width:100%;

    padding:30px;

    background:
    linear-gradient(
        transparent,
        rgba(0,0,0,.9)
    );

    color:white;
}

/* =====================================
   NEWS & EVENTS HERO TAG (shared)
===================================== */

.news-hero,
.events-hero{

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:white;
    text-align:center;
    padding-top:180px;
}

.hero-tag{

    display:inline-block;

    padding:8px 20px;

    border-radius:50px;

    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.3);

    color:var(--secondary);
    font-weight:700;
    font-size:.8rem;
    letter-spacing:2px;
    text-transform:uppercase;

    margin-bottom:18px;
}

.news-hero h1,
.events-hero h1{

    font-size:3rem;
    font-weight:800;
    margin-bottom:14px;
}

.news-hero p,
.events-hero p{

    max-width:600px;
    margin:0 auto;
    opacity:.9;
}

/* =====================================
   BREAKING NEWS CARD
===================================== */

.breaking-news-card{

    background:var(--white);
    border-left:6px solid var(--secondary);
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-md);

    padding:30px 40px;
}

.breaking-badge{

    display:inline-block;

    padding:6px 16px;

    border-radius:50px;

    background:var(--secondary);
    color:white;

    font-weight:700;
    font-size:.75rem;
    letter-spacing:1px;
    text-transform:uppercase;

    margin-bottom:14px;

    animation:pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge{

    0%, 100%{
        box-shadow:0 0 0 0 rgba(229,169,59,.5);
    }

    50%{
        box-shadow:0 0 0 8px rgba(229,169,59,0);
    }

}

.breaking-news-card h2{

    color:var(--primary);
    font-size:1.5rem;
    margin-bottom:10px;
}

.breaking-news-card p{

    color:var(--text-light);
    line-height:1.7;
}

/* =====================================
   FEATURED NEWS CARD
===================================== */

.featured-news-card{

    display:grid;
    grid-template-columns:1.1fr 1fr;

    background:var(--white);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-md);
    overflow:hidden;
}

.featured-news-image{

    overflow:hidden;
}

.featured-news-image img{

    width:100%;
    height:100%;
    object-fit:cover;

    transition:.6s ease;
}

.featured-news-card:hover .featured-news-image img{

    transform:scale(1.06);
}

.featured-news-content{

    padding:45px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.featured-news-content span{

    color:var(--secondary);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:.8rem;
    margin-bottom:10px;
}

.featured-news-content h2{

    color:var(--primary);
    font-size:1.9rem;
    margin:6px 0 12px;
}

.featured-news-content p{

    color:var(--text-light);
    margin-bottom:18px;
}

.featured-news-content a{

    color:var(--primary);
    font-weight:700;

    transition:var(--transition);
}

.featured-news-content a:hover{

    color:var(--secondary);
    transform:translateX(4px);
    display:inline-block;
}

@media(max-width:768px){

    .featured-news-card{
        grid-template-columns:1fr;
    }

    .featured-news-image{
        height:260px;
    }

}

/* =====================================
   ACHIEVEMENTS TIMELINE
===================================== */

.timeline{

    position:relative;

    max-width:800px;
    margin:0 auto;

    padding-left:30px;

    border-left:3px solid var(--border);
}

.timeline-item{

    position:relative;

    margin-bottom:36px;

    padding-left:30px;
}

.timeline-item:last-child{

    margin-bottom:0;
}

.timeline-dot{

    position:absolute;

    left:-44px;
    top:4px;

    width:16px;
    height:16px;

    border-radius:50%;

    background:var(--secondary);
    border:3px solid var(--white);
    box-shadow:0 0 0 3px var(--secondary);
}

.timeline-content h3{

    color:var(--primary);
    font-size:1.15rem;
    margin-bottom:8px;
}

.timeline-content p{

    color:var(--text-light);
    line-height:1.7;
}

/* =====================================
   NEWSLETTER CARD
===================================== */

.newsletter-card{

    text-align:center;

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:white;

    border-radius:var(--radius-lg);

    padding:55px 40px;
}

.newsletter-card h2{

    font-size:2rem;
    margin-bottom:12px;
}

.newsletter-card p{

    max-width:500px;
    margin:0 auto 28px;
    opacity:.9;
}

.newsletter-form{

    display:flex;
    justify-content:center;
    gap:12px;
    max-width:480px;
    margin:0 auto;
    flex-wrap:wrap;
}

.newsletter-form input{

    flex:1;
    min-width:220px;

    padding:14px 20px;

    border-radius:50px;

    font-size:.95rem;
}

.newsletter-form button{

    padding:14px 28px;

    border-radius:50px;

    background:var(--secondary);
    color:white;

    font-weight:700;

    transition:var(--transition);
}

.newsletter-form button:hover{

    background:var(--secondary-dark);
    transform:translateY(-3px);
    box-shadow:var(--shadow-md);
}

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

.event-spotlight-card{

    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;

    background:var(--white);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-md);
    overflow:hidden;
}

.event-spotlight-card img{

    width:100%;
    height:100%;
    min-height:320px;
    object-fit:cover;

    transition:.6s ease;
}

.event-spotlight-card:hover img{

    transform:scale(1.05);
}

.event-spotlight-content{

    padding:40px;
}

.event-spotlight-content h2{

    color:var(--primary);
    font-size:1.9rem;
    margin-bottom:10px;
}

.event-spotlight-content p{

    color:var(--text-light);
}

@media(max-width:768px){

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

    .event-spotlight-card img{
        height:240px;
        min-height:0;
    }

}

/* =====================================
   EVENTS PAGE GALLERY HOVER EFFECT
===================================== */

.event-gallery-grid{

    display:grid;

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

    gap:20px;
}

.event-gallery-item{

    overflow:hidden;

    border-radius:20px;
}

.event-gallery-item img{

    width:100%;

    height:300px;

    object-fit:cover;

    transition:.7s ease;
}

.event-gallery-item:hover img{

    transform:
    scale(1.12)
    rotate(2deg);
}
/* =====================================
   news and events page
===================================== */
.news-wall-card,
.event-gallery-item,
.event-card,
.reveal{

    opacity:0;

    transform:
    translateY(50px);

    transition:.7s ease;
}

.show{

    opacity:1;

    transform:
    translateY(0);
}

/* =====================================
   CONTACT PAGE
===================================== */

.contact-info-section,
.contact-form-section,
.map-section,
.admission-help-section,
.department-contact-section,
.social-section,
.emergency-contact-section{
    padding:34px 0;
}

.contact-grid,
.helpdesk-grid,
.directory-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.contact-card,
.helpdesk-card,
.directory-card{
    background:#fff;
    padding:35px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.contact-card:hover,
.helpdesk-card:hover,
.directory-card:hover{
    transform:translateY(-8px);
}

.contact-icon,
.help-icon{
    font-size:3rem;
    margin-bottom:15px;
}

.contact-form-wrapper{
    background:#fff;
    padding:50px;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.contact-form{
    margin-top:30px;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-bottom:20px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    border:1px solid #dbe3ec;
    border-radius:12px;
}

.map-container{
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.map-container iframe{
    width:100%;
    height:450px;
    border:none;
}

.social-card{
    background:#10316b;
    color:white;
    text-align:center;
    padding:60px;
    border-radius:25px;
}

.social-links{
    margin-top:25px;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

.social-links a{
    background:white;
    color:#10316b;
    text-decoration:none;
    padding:12px 22px;
    border-radius:50px;
    font-weight:600;
}

.emergency-card{
    background:linear-gradient(
        135deg,
        #dc2626,
        #991b1b
    );
    color:white;
    text-align:center;
    padding:60px;
    border-radius:25px;
}

.emergency-card h3{
    margin-top:15px;
    font-size:2rem;
}

.directory-card span{
    display:block;
    margin-top:10px;
    color:#10316b;
    font-weight:700;
}

@media(max-width:768px){

    .form-row{
        grid-template-columns:1fr;
    }

    .contact-form-wrapper,
    .social-card,
    .emergency-card{
        padding:30px 20px;
    }

}
/* =====================================
   ACHIEVEMENTS PAGE
===================================== */

.achievement-stats-section,
.achievement-category-section,
.achievement-timeline-section,
.hall-of-fame-section,
.success-stories-section,
.excellence-banner-section{
    padding:34px 0;
}

.alt-bg{
    background:#f8fafc;
}

.achievement-grid,
.hall-grid,
.success-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.achievement-card,
.hall-card,
.success-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.achievement-card:hover,
.hall-card:hover,
.success-card:hover{
    transform:translateY(-10px);
}

.achievement-card img,
.hall-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.achievement-content,
.success-card{
    padding:25px;
}

.hall-card{
    text-align:center;
}

.hall-card h3{
    margin-top:20px;
}

.hall-card p{
    padding:0 20px 20px;
}

.excellence-banner{
    background:linear-gradient(
        135deg,
        #10316b,
        #0a2540
    );
    color:white;
    text-align:center;
    padding:80px 40px;
    border-radius:25px;
}

.excellence-banner h2{
    margin-bottom:20px;
}

.excellence-banner p{
    max-width:700px;
    margin:0 auto 30px;
}

@media(max-width:768px){

    .excellence-banner{
        padding:50px 20px;
    }

}

/* =====================================================
   WHY VSPS — DETAIL PAGE (image left / text right)
===================================================== */

.why-detail-card{

    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:stretch;
    gap:50px;

    background:var(--white);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-md);
    overflow:hidden;
}

.why-detail-image{

    position:relative;
    min-height:420px;
}

.why-detail-image img{

    width:100%;
    height:100%;
    object-fit:cover;
}

.why-detail-content{

    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:50px 50px 50px 0;
}

.why-detail-content h2{

    font-size:2.2rem;
    font-weight:800;
    color:var(--primary);
    margin:14px 0 18px;
}

.why-detail-content p{

    color:var(--text-light);
    line-height:1.8;
    margin-bottom:24px;
}

.why-detail-points{

    list-style:none;
    margin-bottom:30px;
}

.why-detail-points li{

    position:relative;
    padding-left:28px;
    margin-bottom:12px;
    color:var(--text);
    font-weight:500;
}

.why-detail-points li::before{

    content:"✓";
    position:absolute;
    left:0;
    top:0;
    color:var(--secondary);
    font-weight:800;
}

.why-detail-related{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-top:30px;
}

.why-detail-related-item{

    display:flex;
    flex-direction:column;
    gap:6px;

    padding:18px;
    border-radius:var(--radius-md);
    background:var(--off-white);
    border:1px solid var(--border);

    transition:var(--transition);
}

.why-detail-related-item:hover{

    transform:translateY(-4px);
    border-color:var(--secondary);
    box-shadow:var(--shadow-sm);
}

.why-detail-related-item strong{

    color:var(--primary);
    font-size:1rem;
}

.why-detail-related-item span{

    color:var(--text-light);
    font-size:.8rem;
    text-transform:uppercase;
    letter-spacing:1px;
}

@media(max-width:900px){

    .why-detail-card{
        grid-template-columns:1fr;
    }

    .why-detail-image{
        min-height:280px;
    }

    .why-detail-content{
        padding:40px;
    }

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

}

/* =====================================================
   LEADER MESSAGE — DETAIL PAGE (image top / text below)
===================================================== */

.leader-message-card{

    max-width:780px;
    margin:0 auto;

    background:var(--white);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-md);
    overflow:hidden;
}

.leader-message-image{

    width:100%;
    height:380px;
}

.leader-message-image img{

    width:100%;
    height:100%;
    object-fit:cover;
}

.leader-message-content{

    padding:45px 50px 50px;
    text-align:center;
}

.leader-message-content h2{

    font-size:2rem;
    font-weight:800;
    color:var(--primary);
    margin:6px 0 4px;
}

.leader-message-content .leader-role{

    display:inline-block;
    color:var(--secondary);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:.85rem;
    margin-bottom:14px;
}

.leader-message-content p{

    color:var(--text-light);
    line-height:1.85;
    text-align:left;
    margin-bottom:18px;
}

.leader-message-content .btn{

    margin-top:10px;
}

.leader-message-switch{

    display:flex;
    justify-content:center;
    gap:14px;
    margin-bottom:40px;
    flex-wrap:wrap;
}

.leader-message-switch a{

    padding:10px 20px;
    border-radius:50px;
    border:2px solid var(--border);
    color:var(--text);
    font-weight:600;
    font-size:.9rem;
    transition:var(--transition);
}

.leader-message-switch a.active,
.leader-message-switch a:hover{

    border-color:var(--secondary);
    color:var(--primary);
    background:var(--off-white);
}

@media(max-width:600px){

    .leader-message-image{
        height:260px;
    }

    .leader-message-content{
        padding:35px 25px 40px;
    }

}

/* =====================================================
   SECTION SPACING (universal, ~1.8cm / 68px max gap)
   Every top-level <section> gets 34px top + 34px bottom
   padding here (overriding any per-page padding values
   elsewhere), so two stacked sections always sum to a
   consistent 68px (~1.8cm) visible gap, site-wide, with
   zero per-page maintenance required. Sections that need
   more internal breathing room around their own content
   (hero banners, etc.) add it on an inner wrapper, not on
   the <section> element itself, so the gap stays exact.
===================================================== */

section{
    padding-top:34px;
    padding-bottom:34px;
    margin-top:0;
}