﻿/*==================================================
            ABOUT PAGE CSS - PART 3A
            Hero • Breadcrumb • About
            At Glance • Why GDPS
==================================================*/

:root {
    --primary: #0d47a1;
    --secondary: #1565c0;
    --accent: #ffc107;
    --green: #2e7d32;
    --light: #f8fafc;
    --white: #ffffff;
    --dark: #1f2937;
    --text: #555;
    --border: #e8edf5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins',sans-serif;
    color: var(--text);
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/*=====================================
            SECTION HEADING
=====================================*/

.section-heading {
    text-align: center;
    margin-bottom: 70px;
}

    .section-heading span {
        display: inline-block;
        color: var(--secondary);
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 12px;
    }

    .section-heading h2 {
        font-size: 46px;
        color: var(--dark);
        margin-bottom: 20px;
    }

    .section-heading p {
        width: 70%;
        margin: auto;
        line-height: 1.9;
        color: #666;
        font-size: 17px;
    }

/*=====================================
            HERO
=====================================*/

.page-banner {
    position: relative;
    height: 450px;
    background: linear-gradient(rgba(8,35,82,.72), rgba(8,35,82,.72)), url('../images/page-banner.jpeg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-overlay {
    position: absolute;
    inset: 0;
}

.page-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
}

    .page-content span {
        display: inline-block;
        background: rgba(255,255,255,.15);
        padding: 8px 22px;
        border-radius: 40px;
        margin-bottom: 22px;
        font-size: 15px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .page-content h1 {
        font-size: 60px;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .page-content p {
        font-size: 20px;
        opacity: .95;
    }

/*=====================================
        BREADCRUMB
=====================================*/

.breadcrumb-section {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 18px 0;
}

    .breadcrumb-section a {
        text-decoration: none;
        color: #1565c0;
        font-weight: 600;
    }

    .breadcrumb-section span {
        margin: 0 10px;
    }

    .breadcrumb-section strong {
        color: #555;
    }

/*=====================================
            ABOUT
=====================================*/

.about-school {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

    .about-image img {
        border-radius: 20px;
        box-shadow: 0 20px 50px rgba(0,0,0,.15);
    }

.experience-box {
    position: absolute;
    right: -30px;
    bottom: 30px;
    background: #0d47a1;
    color: #fff;
    padding: 28px;
    border-radius: 18px;
    width: 230px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

    .experience-box h2 {
        font-size: 48px;
        margin-bottom: 5px;
    }

    .experience-box span {
        line-height: 1.6;
        font-size: 15px;
    }

.section-tag {
    color: var(--green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 48px;
    line-height: 1.3;
    color: #222;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 17px;
    line-height: 2;
    text-align: justify;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin-top: 35px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 10px;
    transition: .35s;
}

    .highlight:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 30px rgba(0,0,0,.10);
    }

    .highlight i {
        color: #2e7d32;
        font-size: 20px;
    }

/*=====================================
            GLANCE
=====================================*/

.glance-section {
    background: #f8fafc;
    padding: 100px 0;
}

.glance-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.glance-card {
    background: #fff;
    text-align: center;
    padding: 45px 25px;
    border-radius: 18px;
    transition: .4s;
    border: 1px solid #edf1f6;
}

    .glance-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 40px rgba(0,0,0,.10);
    }

    .glance-card .icon {
        width: 80px;
        height: 80px;
        margin: auto;
        border-radius: 50%;
        background: #e8f0ff;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 22px;
    }

        .glance-card .icon i {
            font-size: 34px;
            color: #0d47a1;
        }

    .glance-card h3 {
        font-size: 34px;
        color: #0d47a1;
        margin-bottom: 10px;
    }

    .glance-card p {
        font-size: 16px;
        color: #666;
    }

/*=====================================
        WHY GDPS
=====================================*/

.why-gdps {
    padding: 100px 0;
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.why-card {
    background: #fff;
    border: 1px solid #edf1f6;
    border-radius: 18px;
    padding: 40px 30px;
    transition: .35s;
}

    .why-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 40px rgba(0,0,0,.10);
    }

.why-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #0d47a1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

    .why-icon i {
        font-size: 30px;
    }

.why-card h3 {
    font-size: 25px;
    color: #222;
    margin-bottom: 15px;
}

.why-card p {
    line-height: 1.9;
    color: #666;
    font-size: 16px;
}
/*=====================================
        CAMPUS PREVIEW
=====================================*/

.campus-preview {
    padding: 100px 0;
    background: #f8fafc;
}

.campus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.campus-content h2 {
    font-size: 46px;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

.campus-content p {
    font-size: 17px;
    line-height: 2;
    color: #666;
    margin-bottom: 35px;
    text-align: justify;
}

.campus-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin-bottom: 40px;
}

    .campus-list div {
        background: #fff;
        border-radius: 10px;
        padding: 15px 18px;
        border: 1px solid #e9edf3;
        transition: .35s;
    }

        .campus-list div:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,.08);
        }

    .campus-list i {
        color: var(--green);
        margin-right: 10px;
    }

.campus-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

/*=====================================
        BUTTON
=====================================*/

.theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg,#0d47a1,#1565c0);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: .35s;
}

    .theme-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 30px rgba(13,71,161,.25);
    }

/*=====================================
        STATISTICS
=====================================*/

.stats-section {
    background: #0d47a1;
    padding: 90px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    color: #fff;
}

    .stat-box h2 {
        font-size: 58px;
        margin-bottom: 10px;
        color: #ffc107;
    }

    .stat-box p {
        font-size: 18px;
        letter-spacing: 1px;
    }

/*=====================================
        EXPLORE MORE
=====================================*/

.explore-section {
    padding: 100px 0;
    background: #fff;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
}

.explore-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #edf1f6;
    padding: 45px 35px;
    transition: .35s;
}

    .explore-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 45px rgba(0,0,0,.10);
    }

.explore-icon {
    width: 85px;
    height: 85px;
    background: #e8f0ff;
    color: #0d47a1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

    .explore-icon i {
        font-size: 34px;
    }

.explore-card h3 {
    font-size: 28px;
    margin-bottom: 18px;
    color: #222;
}

.explore-card p {
    line-height: 1.9;
    color: #666;
    margin-bottom: 30px;
}

.explore-card a {
    color: #0d47a1;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

    .explore-card a:hover {
        color: #2e7d32;
    }

/*=====================================
        CALL TO ACTION
=====================================*/

.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg,#0d47a1,#1565c0);
}

.cta-box {
    text-align: center;
    color: #fff;
}

    .cta-box h2 {
        font-size: 48px;
        margin-bottom: 18px;
    }

    .cta-box p {
        width: 70%;
        margin: auto;
        font-size: 18px;
        line-height: 1.9;
        margin-bottom: 35px;
    }

    .cta-box .theme-btn {
        background: #fff;
        color: #0d47a1;
    }

        .cta-box .theme-btn:hover {
            background: #ffc107;
            color: #222;
        }

/*=====================================
        ANIMATION
=====================================*/

.glance-card,
.why-card,
.explore-card,
.highlight,
.campus-list div {
    transition: all .35s ease;
}

    .glance-card:hover,
    .why-card:hover,
    .explore-card:hover {
        border-color: #1565c0;
    }

/*=====================================
        RESPONSIVE
=====================================*/

@media(max-width:1200px) {

    .about-grid,
    .campus-grid {
        grid-template-columns: 1fr;
    }

    .experience-box {
        right: 20px;
        bottom: 20px;
    }
}

@media(max-width:992px) {

    .glance-grid,
    .why-grid,
    .explore-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .campus-list {
        grid-template-columns: 1fr;
    }

    .section-heading p {
        width: 90%;
    }

    .page-content h1 {
        font-size: 45px;
    }

    .about-content h2,
    .campus-content h2 {
        font-size: 38px;
    }
}

@media(max-width:768px) {

    .glance-grid,
    .why-grid,
    .explore-grid,
    .stats-grid,
    .about-highlights {
        grid-template-columns: 1fr;
    }

    .page-banner {
        height: 320px;
    }

    .page-content h1 {
        font-size: 34px;
    }

    .page-content p {
        font-size: 17px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .about-content h2,
    .campus-content h2 {
        font-size: 30px;
    }

    .cta-box h2 {
        font-size: 34px;
    }

    .cta-box p {
        width: 100%;
    }

    .experience-box {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 20px;
        width: 100%;
    }

    .container {
        width: 94%;
    }
}

@media(max-width:576px) {

    .theme-btn {
        width: 100%;
        justify-content: center;
    }

    .section-heading {
        margin-bottom: 50px;
    }

    .about-school,
    .glance-section,
    .why-gdps,
    .campus-preview,
    .explore-section {
        padding: 70px 0;
    }

    .stats-section,
    .cta-section {
        padding: 60px 0;
    }
}

/*=====================================
        END
=====================================*/
