﻿/*==========================================
    LEADERSHIP PAGE
==========================================*/

body {
    background: #f8f9fc;
}

/* Section */

.about-section-two {
    padding: 80px 0;
}

    .about-section-two:nth-child(even) {
        background: #f8f9fc;
    }

/* Leader Card */

.leader-card {
    background: #fff;
    border-radius: 15px;
    padding: 45px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: .4s;
    overflow: hidden;
}

    .leader-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(0,0,0,.12);
    }

/* Image */

.bio-image {
    text-align: center;
}

    .bio-image img {
        width: 100%;
        max-width: 320px;
        border-radius: 15px;
        border: 6px solid #fff;
        box-shadow: 0 12px 35px rgba(0,0,0,.15);
        transition: .4s;
    }

        .bio-image img:hover {
            transform: scale(1.03);
        }

/* Name */

.my_page_title,
.name {
    font-size: 34px;
    font-weight: 700;
    color: #002147;
    margin-bottom: 8px;
    line-height: 1.3;
}

.chaip {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
}

    .chaip span {
        color: #d4af37;
        border-bottom: 2px solid #d4af37;
        padding-bottom: 5px;
    }

/* Paragraph */

.bio-content p,
.leader-card p {
    color: #555;
    line-height: 1.95;
    font-size: 16px;
    text-align: justify;
    margin-bottom: 20px;
}

/* Heading */

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

    .section-heading h2 {
        font-size: 42px;
        font-weight: 700;
        color: #002147;
    }

    .section-heading p {
        max-width: 700px;
        margin: auto;
        color: #666;
    }

/* Quote */

.quote-box {
    margin-top: 30px;
    background: #002147;
    color: #fff;
    padding: 25px;
    border-left: 6px solid #d4af37;
    border-radius: 10px;
    font-style: italic;
    font-size: 17px;
}

    .quote-box i {
        color: #d4af37;
        margin-right: 10px;
        font-size: 24px;
    }

/* Divider */

.section-divider {
    width: 90px;
    height: 4px;
    background: #d4af37;
    margin: 50px auto;
    border-radius: 10px;
}

/* Button */

.read-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    background: #002147;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: .3s;
}

    .read-btn:hover {
        background: #d4af37;
        color: #fff;
        text-decoration: none;
    }

/* Hover Animation */

.leader-card:hover .name,
.leader-card:hover .my_page_title {
    color: #d4af37;
}

/* Image Background */

.image-box {
    position: relative;
    text-align: center;
}

    .image-box::before {
        content: "";
        position: absolute;
        width: 90%;
        height: 90%;
        background: #d4af37;
        opacity: .08;
        left: 5%;
        top: 5%;
        border-radius: 18px;
        z-index: 0;
    }

    .image-box img {
        position: relative;
        z-index: 2;
    }

/* Responsive */

@media(max-width:991px) {

    .my_page_title,
    .name {
        font-size: 28px;
        text-align: center;
    }

    .chaip {
        text-align: center;
    }

    .bio-content {
        margin-top: 30px;
    }

    .bio-image {
        margin-bottom: 30px;
    }

    .leader-card {
        padding: 25px;
    }
}

@media(max-width:576px) {

    .about-section-two {
        padding: 50px 0;
    }

    .bio-image img {
        max-width: 250px;
    }

    .my_page_title,
    .name {
        font-size: 24px;
    }

    .bio-content p {
        font-size: 15px;
    }
}

/*==================================================
            RESPONSIVE DESIGN
==================================================*/

/* Extra Large Desktop (1600px+) */
@media (min-width:1600px) {

    .leader-card {
        max-width: 1500px;
        margin: auto;
        padding: 60px;
    }

    .bio-image img {
        max-width: 380px;
    }

    .my_page_title,
    .name {
        font-size: 42px;
    }

    .chaip {
        font-size: 22px;
    }

    .bio-content p,
    .leader-card p {
        font-size: 18px;
        line-height: 2.1;
    }

    .section-heading h2 {
        font-size: 50px;
    }

    .quote-box {
        font-size: 20px;
        padding: 30px;
    }
}

/* Large Desktop (1400px - 1599px) */
@media (max-width:1599px) {

    .leader-card {
        padding: 50px;
    }

    .bio-image img {
        max-width: 340px;
    }
}

/* Desktop/Laptop (1200px - 1399px) */
@media (max-width:1399px) {

    .leader-card {
        padding: 40px;
    }

    .my_page_title,
    .name {
        font-size: 32px;
    }

    .section-heading h2 {
        font-size: 38px;
    }
}

/* Laptop (992px - 1199px) */
@media (max-width:1199px) {

    .leader-card {
        padding: 35px;
    }

    .bio-image img {
        max-width: 300px;
    }

    .bio-content p,
    .leader-card p {
        font-size: 15px;
        line-height: 1.9;
    }

    .quote-box {
        font-size: 16px;
    }
}

/* Tablet Landscape */
@media (max-width:991px) {

    .about-section-two {
        padding: 60px 0;
    }

    .leader-card {
        padding: 30px;
        text-align: center;
    }

    .bio-image {
        margin-bottom: 30px;
    }

        .bio-image img {
            max-width: 280px;
        }

    .bio-content {
        margin-top: 20px;
    }

    .my_page_title,
    .name {
        font-size: 28px;
    }

    .chaip {
        font-size: 17px;
        text-align: center;
    }

    .bio-content p,
    .leader-card p {
        text-align: justify;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .section-divider {
        margin: 35px auto;
    }
}

/* Tablet Portrait */
@media (max-width:767px) {

    .about-section-two {
        padding: 50px 0;
    }

    .leader-card {
        padding: 25px;
    }

    .bio-image img {
        max-width: 240px;
    }

    .my_page_title,
    .name {
        font-size: 26px;
    }

    .chaip {
        font-size: 16px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading p {
        font-size: 15px;
    }

    .quote-box {
        padding: 20px;
        font-size: 15px;
    }

    .read-btn {
        padding: 10px 22px;
        font-size: 14px;
    }
}

/* Large Mobile */
@media (max-width:575px) {

    .about-section-two {
        padding: 40px 0;
    }

    .leader-card {
        padding: 20px;
        border-radius: 12px;
    }

    .bio-image img {
        max-width: 220px;
    }

    .my_page_title,
    .name {
        font-size: 24px;
    }

    .chaip {
        font-size: 15px;
    }

    .bio-content p,
    .leader-card p {
        font-size: 14px;
        line-height: 1.8;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading p {
        font-size: 14px;
    }

    .quote-box {
        font-size: 14px;
        padding: 18px;
    }

        .quote-box i {
            font-size: 20px;
        }

    .read-btn {
        width: 100%;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width:480px) {

    .leader-card {
        padding: 18px;
    }

    .bio-image img {
        max-width: 200px;
    }

    .my_page_title,
    .name {
        font-size: 22px;
    }

    .chaip {
        font-size: 14px;
    }

    .bio-content p,
    .leader-card p {
        font-size: 14px;
        line-height: 1.7;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .section-divider {
        width: 60px;
        margin: 25px auto;
    }

    .quote-box {
        padding: 15px;
    }
}

/* Extra Small Devices */
@media (max-width:360px) {

    .leader-card {
        padding: 15px;
    }

    .bio-image img {
        max-width: 170px;
    }

    .my_page_title,
    .name {
        font-size: 20px;
    }

    .chaip {
        font-size: 13px;
    }

    .bio-content p,
    .leader-card p {
        font-size: 13px;
        line-height: 1.6;
    }

    .section-heading h2 {
        font-size: 22px;
    }

    .quote-box {
        font-size: 13px;
        padding: 12px;
    }

    .read-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}