﻿/*=========================================================
        GYANDEEP SR. SEC. PUBLIC SCHOOL
                LEADERSHIP.CSS
        Patron | Founder | Principal
        PART - 1
=========================================================*/


/*==============================
        ROOT VARIABLES
==============================*/

:root {
    --primary: #0B5ED7;
    --secondary: #1E3A8A;
    --accent: #F4B400;
    --green: #0E7A45;
    --white: #ffffff;
    --light: #f8fafc;
    --gray: #64748b;
    --dark: #1f2937;
    --border: #e5e7eb;
}


/*==============================
        RESET
==============================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins',sans-serif;
    color: var(--gray);
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1320px;
    margin: auto;
}


/*==============================
        SECTION HEADING
==============================*/

.section-heading {
    text-align: center;
    margin-bottom: 70px;
}

    .section-heading span {
        display: inline-block;
        color: var(--green);
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 15px;
    }

    .section-heading h2 {
        font-size: 48px;
        color: var(--dark);
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .section-heading p {
        width: 70%;
        margin: auto;
        line-height: 1.9;
        font-size: 17px;
    }


/*==============================
        PAGE HERO
==============================*/

.page-banner {
    position: relative;
    height: 430px;
    background: linear-gradient(rgba(5,38,87,.75), rgba(5,38,87,.75)), url('../images/page-banner.jpeg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .page-banner .overlay {
        position: absolute;
        inset: 0;
    }

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.banner-subtitle {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255,255,255,.18);
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.banner-content h1 {
    font-size: 60px;
    margin-bottom: 18px;
}

.banner-content p {
    font-size: 20px;
    width: 70%;
    margin: auto;
    line-height: 1.8;
}


/*==============================
        BREADCRUMB
==============================*/

.breadcrumb {
    padding: 18px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

    .breadcrumb a {
        text-decoration: none;
        color: var(--primary);
        font-weight: 600;
    }

    .breadcrumb span {
        margin: 0 10px;
        color: #777;
    }


/*==============================
        INTRO SECTION
==============================*/

.patron-intro {
    padding: 100px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 70px;
    align-items: center;
}


/*==============================
        IMAGE CARD
==============================*/

.image-frame {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0,0,0,.08);
    overflow: hidden;
}

    .image-frame::before {
        content: "";
        position: absolute;
        width: 140px;
        height: 140px;
        background: var(--accent);
        border-radius: 50%;
        top: -50px;
        right: -50px;
        opacity: .15;
    }

    .image-frame img {
        width: 100%;
        border-radius: 18px;
        transition: .45s;
    }

    .image-frame:hover img {
        transform: scale(1.04);
    }


/*==============================
        NAME CARD
==============================*/

.patron-name {
    text-align: center;
    background: #fff;
    margin-top: 25px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
}

    .patron-name h3 {
        font-size: 30px;
        color: var(--dark);
        margin-bottom: 8px;
    }

    .patron-name span {
        color: var(--primary);
        font-weight: 600;
    }


/*==============================
        CONTENT
==============================*/

.section-tag {
    color: var(--green);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.patron-content h2 {
    font-size: 46px;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 25px;
}

.patron-content p {
    font-size: 17px;
    line-height: 2;
    margin-bottom: 22px;
    text-align: justify;
}


/*==============================
        QUOTE BOX
==============================*/

blockquote {
    position: relative;
    margin-top: 40px;
    background: #f8fafc;
    padding: 35px;
    border-left: 5px solid var(--green);
    border-radius: 16px;
    font-size: 19px;
    line-height: 1.8;
    color: #374151;
    font-style: italic;
}

    blockquote i {
        color: var(--accent);
        font-size: 34px;
        margin-bottom: 15px;
        display: block;
    }


/*==============================
        MESSAGE
==============================*/

.patron-message {
    background: #f8fafc;
    padding: 100px 0;
}

.message-card {
    background: #fff;
    max-width: 1050px;
    margin: auto;
    padding: 55px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

    .message-card p {
        font-size: 17px;
        line-height: 2.1;
        margin-bottom: 22px;
        text-align: justify;
    }

        .message-card p:last-child {
            margin-bottom: 0;
        }


/*==============================
        HOVER EFFECTS
==============================*/

.image-frame,
.message-card,
blockquote {
    transition: .35s;
}

    .image-frame:hover,
    .message-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 55px rgba(0,0,0,.12);
    }
/*=========================================================
            LEADERSHIP.CSS
                PART - 2
        Timeline • Philosophy
        Gallery • Core Values
=========================================================*/


/*=================================
            TIMELINE
=================================*/

.journey-section {
    padding: 100px 0;
    background: #ffffff;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

    .timeline::before {
        content: "";
        position: absolute;
        left: 50px;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(var(--primary),var(--green));
    }

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

    .timeline-item:last-child {
        margin-bottom: 0;
    }

.timeline .year {
    width: 100px;
    height: 100px;
    min-width: 100px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    transition: .35s;
}

.timeline-item:hover .year {
    background: var(--green);
    transform: scale(1.08);
}

.timeline .content {
    flex: 1;
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    border-left: 6px solid var(--primary);
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: .35s;
}

    .timeline .content:hover {
        transform: translateX(8px);
    }

    .timeline .content h4 {
        color: var(--dark);
        font-size: 28px;
        margin-bottom: 15px;
    }

    .timeline .content p {
        font-size: 17px;
        line-height: 1.9;
    }



/*=================================
        PHILOSOPHY
=================================*/

.philosophy-section {
    padding: 100px 0;
    background: #f8fafc;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.philosophy-image {
    position: relative;
}

    .philosophy-image img {
        border-radius: 22px;
        box-shadow: 0 18px 45px rgba(0,0,0,.10);
    }

.philosophy-content h2 {
    font-size: 44px;
    color: var(--dark);
    margin-bottom: 25px;
}

.philosophy-content p {
    line-height: 2;
    font-size: 17px;
    margin-bottom: 30px;
}

.philosophy-points {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

    .philosophy-points div {
        background: #fff;
        padding: 18px 20px;
        border-radius: 12px;
        border: 1px solid var(--border);
        transition: .35s;
    }

        .philosophy-points div:hover {
            background: var(--green);
            color: #fff;
            transform: translateY(-6px);
        }

            .philosophy-points div:hover i {
                color: #fff;
            }

    .philosophy-points i {
        color: var(--green);
        margin-right: 10px;
    }



/*=================================
            GALLERY
=================================*/

.legacy-gallery {
    padding: 100px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

    .gallery-item img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        transition: .45s;
    }

    .gallery-item:hover img {
        transform: scale(1.08);
    }

    .gallery-item::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(transparent, rgba(0,0,0,.45));
        opacity: 0;
        transition: .35s;
    }

    .gallery-item:hover::after {
        opacity: 1;
    }



/*=================================
        VALUES
=================================*/

.values-section {
    padding: 100px 0;
    background: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    text-align: center;
    padding: 45px 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: .35s;
}

    .value-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 40px rgba(0,0,0,.10);
    }

    .value-card i {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        background: #e9f2ff;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 25px;
        font-size: 34px;
        transition: .35s;
    }

    .value-card:hover i {
        background: var(--primary);
        color: #fff;
    }

    .value-card h4 {
        color: var(--dark);
        font-size: 25px;
        margin-bottom: 15px;
    }

    .value-card p {
        line-height: 1.9;
        color: #666;
    }



/*=================================
        COMMON HOVER
=================================*/

.timeline .content,
.gallery-item,
.value-card,
.philosophy-points div {
    transition: all .35s ease;
}
/*=========================================================
            LEADERSHIP.CSS
                PART - 3
        Quote • Stats • CTA • Signature
        Responsive
=========================================================*/


/*=================================
        QUOTE SECTION
=================================*/

.quote-section {
    padding: 110px 0;
    background: linear-gradient(rgba(8,38,84,.88), rgba(8,38,84,.88)), url('../images/page-banner.jpeg') center center/cover no-repeat;
}

.quote-box {
    max-width: 950px;
    margin: auto;
    text-align: center;
    color: #fff;
}

    .quote-box i {
        font-size: 65px;
        color: var(--accent);
        margin-bottom: 30px;
    }

    .quote-box h2 {
        font-size: 42px;
        line-height: 1.7;
        font-weight: 500;
        margin-bottom: 25px;
    }

    .quote-box span {
        font-size: 17px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #f5f5f5;
    }



/*=================================
        STATISTICS
=================================*/

.stats-section {
    padding: 90px 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.stat-card {
    background: #fff;
    text-align: center;
    padding: 45px 20px;
    border-radius: 18px;
    border: 1px solid var(--border);
    transition: .35s;
}

    .stat-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 40px rgba(0,0,0,.10);
    }

    .stat-card h2 {
        font-size: 55px;
        color: var(--primary);
        margin-bottom: 15px;
    }

    .stat-card span {
        color: #666;
        font-size: 18px;
    }



/*=================================
            CTA
=================================*/

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.cta-content {
    text-align: center;
    color: #fff;
}

    .cta-content .section-tag {
        color: #fff;
        margin-bottom: 20px;
    }

    .cta-content h2 {
        font-size: 48px;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .cta-content p {
        width: 70%;
        margin: auto;
        font-size: 18px;
        line-height: 2;
        margin-bottom: 40px;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


/*=================================
        BUTTONS
=================================*/

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent);
    color: #222;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: .35s;
}

    .btn-primary:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(0,0,0,.20);
    }

.btn-outline {
    display: inline-block;
    padding: 16px 40px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: .35s;
}

    .btn-outline:hover {
        background: #fff;
        color: var(--primary);
    }



/*=================================
        SIGNATURE
=================================*/

.signature-section {
    padding: 80px 0;
    background: #f8fafc;
}

.signature-card {
    max-width: 450px;
    margin: auto;
    text-align: center;
}

.signature-img {
    width: 180px;
    margin: auto;
    margin-bottom: 20px;
}

.signature-card h3 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 8px;
}

.signature-card span {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.signature-card p {
    color: #777;
}



/*=================================
        RESPONSIVE
=================================*/

@media(max-width:1200px) {

    .intro-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .banner-content p {
        width: 90%;
    }
}



@media(max-width:992px) {

    .values-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .section-heading p,
    .cta-content p {
        width: 90%;
    }

    .banner-content h1 {
        font-size: 46px;
    }

    .patron-content h2,
    .philosophy-content h2 {
        font-size: 38px;
    }

    .quote-box h2 {
        font-size: 34px;
    }
}



@media(max-width:768px) {

    .timeline::before {
        left: 35px;
    }

    .timeline-item {
        gap: 20px;
    }

    .timeline .year {
        width: 70px;
        height: 70px;
        min-width: 70px;
        font-size: 18px;
    }

    .timeline .content {
        padding: 25px;
    }

    .values-grid,
    .gallery-grid,
    .stats-grid,
    .philosophy-points {
        grid-template-columns: 1fr;
    }

    .banner-content h1 {
        font-size: 34px;
    }

    .banner-content p {
        font-size: 17px;
        width: 100%;
    }

    .section-heading h2,
    .patron-content h2,
    .philosophy-content h2 {
        font-size: 30px;
    }

    .quote-box h2 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 34px;
    }
}



@media(max-width:576px) {

    .container {
        width: 94%;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline::before {
        display: none;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    .quote-section,
    .patron-message,
    .journey-section,
    .philosophy-section,
    .legacy-gallery,
    .values-section,
    .stats-section,
    .cta-section {
        padding: 70px 0;
    }

    .page-banner {
        height: 320px;
    }

    .signature-img {
        width: 140px;
    }
}



/*=================================
        ANIMATIONS
=================================*/

.image-frame,
.message-card,
.timeline .content,
.value-card,
.gallery-item,
.stat-card,
.btn-primary,
.btn-outline {
    transition: all .35s ease;
}



/*=================================
            END
=================================*/