/* =====================================================
                GLOBAL ABOUT PAGE
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    color: #1d2939;
    background: #ffffff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.section-padding {
    padding: 90px 0;
}



/* =====================================================
                    SECTION HEADING
===================================================== */

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 55px;
}

.section-heading span {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0b7fab;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 38px;
    line-height: 1.2;
    color: #102a43;
    margin-bottom: 18px;
}

.section-heading p {
    color: #667085;
    line-height: 1.8;
}

.heading-line {
    width: 65px;
    height: 4px;
    background: #0b7fab;
    margin: 0 auto 20px;
    border-radius: 20px;
}



/* =====================================================
                    NAVBAR
===================================================== */

.main-header {
    position: relative;
    z-index: 1000;
}

.navbar {
    min-height: 78px;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #0b7fab;
    color: white;
    font-size: 21px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span {
    font-size: 17px;
    font-weight: 700;
    color: #102a43;
}

.logo-text small {
    font-size: 10px;
    color: #667085;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #344054;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0b7fab;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: #0b7fab;
}

.menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #102a43;
}



/* =====================================================
                    HERO
===================================================== */

.about-hero {
    min-height: 480px;
    position: relative;
    display: flex;
    align-items: center;
    background:
        url("../images/classroom.jpg")
        center/cover no-repeat;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 35, 54, 0.90),
            rgba(3, 35, 54, 0.55),
            rgba(3, 35, 54, 0.20)
        );
}

.about-hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, 92%);
    margin: auto;
    color: white;
}

.hero-small-title {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #7ed7f7;
}

.about-hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.12;
    max-width: 750px;
    margin-bottom: 20px;
}

.about-hero p {
    max-width: 650px;
    font-size: 17px;
    line-height: 1.8;
    color: #e6f4f8;
}



/* =====================================================
                ABOUT INSTITUTE
===================================================== */

.about-institute {
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.established {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #e8f7fb;
    color: #08779d;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.about-content h3 {
    font-size: 34px;
    line-height: 1.3;
    color: #102a43;
    margin-bottom: 20px;
}

.about-content > p {
    color: #667085;
    line-height: 1.9;
    margin-bottom: 15px;
}

.about-content strong {
    color: #102a43;
}

.about-image {
    position: relative;
}

.image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(16, 42, 67, 0.18);
}

.image-card img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px 22px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.image-badge strong {
    font-size: 28px;
    color: #0b7fab;
}

.image-badge span {
    font-size: 12px;
    color: #667085;
}



/* =====================================================
                    FEATURES
===================================================== */

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.feature-box {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e6edf2;
    border-radius: 14px;
    transition: 0.3s;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.feature-icon {
    min-width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #e9f7fb;
    color: #0b7fab;
    border-radius: 10px;
}

.feature-box h4 {
    color: #102a43;
    font-size: 14px;
    margin-bottom: 4px;
}

.feature-box p {
    font-size: 11px;
    line-height: 1.5;
    color: #667085;
}



/* =====================================================
                    FACILITIES
===================================================== */

.facilities-section {
    background: #f5fafc;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.facility-card {
    background: white;
    padding: 30px 22px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid #e5edf2;
    transition: 0.3s;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.facility-icon {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: #e9f7fb;
    color: #0b7fab;
    font-size: 25px;
}

.facility-card h3 {
    color: #102a43;
    margin-bottom: 12px;
    font-size: 19px;
}

.facility-card p {
    color: #667085;
    font-size: 13px;
    line-height: 1.7;
}



/* =====================================================
                HOSPITAL SECTION
===================================================== */

.hospital-section {
    background: white;
}

.hospital-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.hospital-image {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.hospital-image img {
    width: 100%;
    height: 470px;
    object-fit: cover;
}

.hospital-content > span {
    color: #0b7fab;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
}

.hospital-content h2 {
    font-size: 38px;
    line-height: 1.25;
    color: #102a43;
    margin: 14px 0 20px;
}

.hospital-content p {
    color: #667085;
    line-height: 1.8;
    margin-bottom: 15px;
}

.hospital-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin-top: 25px;
}

.hospital-points div {
    font-size: 13px;
    color: #344054;
}

.hospital-points i {
    color: #0b9b70;
    margin-right: 7px;
}



/* =====================================================
                UNIVERSITIES
===================================================== */

.association-section {
    background: #f8fbfd;
}

.university-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.university-card {
    padding: 35px 25px;
    text-align: center;
    background: white;
    border-radius: 20px;
    border: 1px solid #e5edf2;
    transition: 0.3s;
}

.university-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

.university-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e9f7fb;
    color: #0b7fab;
    font-size: 25px;
}

.university-card h3 {
    font-size: 18px;
    color: #102a43;
    margin-bottom: 10px;
}

.university-card p {
    color: #667085;
    font-size: 13px;
    line-height: 1.7;
}



/* =====================================================
                    IMAGE SLIDER
===================================================== */

.gallery-section {
    background: white;
}

.slider-wrapper {
    position: relative;
    max-width: 1050px;
    margin: auto;
}

.image-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.6s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            transparent 45%,
            rgba(0, 0, 0, 0.75)
        );
}

.slide-caption {
    position: absolute;
    bottom: 35px;
    left: 40px;
    right: 40px;
    z-index: 2;
    color: white;
}

.slide-caption h3 {
    font-size: 28px;
    margin-bottom: 5px;
}

.slide-caption p {
    font-size: 14px;
    color: #e9eef2;
}

.slider-btn {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #0b7fab;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.slider-btn:hover {
    background: #0b7fab;
    color: white;
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: #c9d6dc;
    cursor: pointer;
}

.slider-dot.active {
    width: 25px;
    border-radius: 20px;
    background: #0b7fab;
}



/* =====================================================
                    VIDEO
===================================================== */

.video-section {
    background: #f5fafc;
}

.video-container {
    max-width: 950px;
    height: 530px;
    margin: auto;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    background: #071c2b;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 85px;
    height: 85px;
    border: none;
    border-radius: 50%;
    background: #0b7fab;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 3;
    box-shadow: 0 0 0 15px rgba(11, 127, 171, 0.18);
    transition: 0.3s;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.video-overlay-text {
    position: absolute;
    bottom: 30px;
    left: 35px;
    color: white;
    z-index: 2;
    pointer-events: none;
}

.video-overlay-text h3 {
    font-size: 24px;
}

.video-overlay-text p {
    font-size: 13px;
    color: #e2edf2;
}



/* =====================================================
            DIRECTORS / FOUNDERS
===================================================== */

.leadership-section {
    background: white;
}

.director-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.director-card {
    background: white;
    border: 1px solid #e3ebef;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: 0.35s;
}

.director-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.director-image {
    background: #eef7fa;
    padding-top: 25px;
}

.director-image img {
    width: 145px;
    height: 175px;
    object-fit: cover;
    margin: auto;
    border-radius: 12px;
    border: 5px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.director-info {
    padding: 23px 20px 28px;
}

.director-info h3 {
    color: #102a43;
    font-size: 19px;
    margin-bottom: 7px;
}

.director-info span {
    display: block;
    color: #0b7fab;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 13px;
}

.director-info p {
    color: #667085;
    font-size: 12px;
    line-height: 1.7;
}



/* =====================================================
                    CTA
===================================================== */

.about-cta {
    padding: 85px 0;
    background:
        linear-gradient(
            135deg,
            #063b52,
            #0b7fab
        );
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: auto;
}

.cta-content > span {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #9be5fa;
}

.cta-content h2 {
    font-size: 40px;
    margin: 12px 0;
}

.cta-content p {
    color: #e2f2f6;
    line-height: 1.8;
    margin-bottom: 25px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #08779d;
    padding: 13px 23px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
}



/* =====================================================
                    FOOTER
===================================================== */

.footer {
    background: #071c2b;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 45px;
    padding: 70px 0 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    color: #5fd0ef;
}

.footer-col > p {
    color: #9bb0bb;
    font-size: 13px;
    line-height: 1.8;
}

.footer-col h3 {
    font-size: 17px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    color: #9bb0bb;
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-col li a {
    color: #9bb0bb;
    transition: 0.3s;
}

.footer-col li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transition: 0.3s;
}

.social-links a:hover {
    background: #0b7fab;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: #9bb0bb;
    font-size: 12px;
    line-height: 1.6;
}

.contact-item i {
    color: #5fd0ef;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 20px;
}

.footer-bottom p {
    color: #8da2ad;
    font-size: 12px;
}



/* =====================================================
                MOBILE RESPONSIVE
===================================================== */

@media (max-width: 992px) {

    .about-grid,
    .hospital-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image {
        max-width: 700px;
        margin: auto;
    }

    .facility-grid {
        grid-template-columns: 1fr 1fr;
    }

    .director-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .image-slider {
        height: 480px;
    }

}


@media (max-width: 768px) {

    .navbar {
        position: relative;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        gap: 0;
        background: white;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px;
    }

    .nav-links a.active::after {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .about-hero {
        min-height: 420px;
    }

    .about-hero h1 {
        font-size: 40px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .about-content h3 {
        font-size: 28px;
    }

    .facility-grid,
    .university-grid,
    .director-grid {
        grid-template-columns: 1fr;
    }

    .hospital-points {
        grid-template-columns: 1fr;
    }

    .image-slider {
        height: 400px;
        border-radius: 18px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: 12px;
    }

    .next-btn {
        right: 12px;
    }

    .slide-caption {
        left: 25px;
        right: 25px;
        bottom: 25px;
    }

    .slide-caption h3 {
        font-size: 22px;
    }

    .video-container {
        height: 400px;
        border-radius: 18px;
    }

    .video-play-btn {
        width: 70px;
        height: 70px;
        font-size: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}


@media (max-width: 480px) {

    .section-padding {
        padding: 65px 0;
    }

    .logo-text span {
        font-size: 14px;
    }

    .logo-text small {
        font-size: 8px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .about-hero {
        min-height: 390px;
    }

    .about-hero h1 {
        font-size: 32px;
    }

    .about-hero p {
        font-size: 14px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .image-card img {
        height: 400px;
    }

    .hospital-image img {
        height: 350px;
    }

    .image-slider {
        height: 320px;
    }

    .video-container {
        height: 300px;
    }

    .video-overlay-text {
        left: 20px;
        bottom: 20px;
    }

    .video-overlay-text h3 {
        font-size: 18px;
    }

    .cta-content h2 {
        font-size: 30px;
    }

}