﻿
/* ==========================================
   PERSONALITIES
========================================== */
:root {
    --primary: #E21D1F;
    --secondary: #FF6B35;
    --light: #FFF5F3;
    --text: #222;
    --text-light: #666;
}

/* Hide left arrow (remove if both arrows needed) */
.left.carousel-control {
    display: none;
}

/* ==========================================
   DESKTOP / COMMON
========================================== */

.leader-box {
    background: linear-gradient(135deg,#ffffff 0%,#fff8f6 100%);
    border-radius: 24px;
    overflow: hidden;
    margin: 20px 0 80px;
    display: flex;
    align-items: stretch;
    box-shadow: 0 15px 40px rgba(0,0,0,.05);
}

.leader-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.leader-content {
    padding: 20px 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .leader-content h2 {
        font-size: 42px;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .leader-content h4 {
        color: var(--primary);
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .leader-content p {
        color: var(--text-light);
        font-size: 16px;
        line-height: 2;
        margin-bottom: 0;
    }

.designation-badge {
    display: inline-block;
    background: var(--light);
    color: #000;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(226,29,31,.12);
    margin-bottom: 15px;
}

.social-icons {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

    .social-icons a {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #fff;
        color: #878787;
        font-size: 20px;
        text-decoration: none;
        border: 1px solid #ececec;
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
        transition: all .35s ease;
    }

        .social-icons a:hover {
            background: linear-gradient(135deg,var(--primary),var(--secondary));
            color: #fff;
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(226,29,31,.25);
        }

.btn-profile {
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    color: #fff !important;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    margin-top: 15px;
    text-decoration: none;
    display: inline-block;
    transition: .3s;
}

    .btn-profile:hover {
        color: #fff;
        text-decoration: none;
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(226,29,31,.25);
    }

/* ==========================================
   INDICATORS
========================================== */

.carousel-indicators {
    bottom: 20px;
}

    .carousel-indicators li {
        width: 12px;
        height: 12px;
        margin: 0 5px;
        border: none;
        border-radius: 50%;
        background: #d6d6d6;
    }

    .carousel-indicators .active {
        width: 35px;
        height: 12px;
        border-radius: 30px;
        background: var(--primary);
    }

/* ==========================================
   NAVIGATION ARROWS
========================================== */

.carousel-control.left,
.carousel-control.right {
    background: none !important;
    opacity: 1;
    width: 80px;
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    background: linear-gradient(135deg,#B8860B,#E21D1F);
    color: #fff;
    box-shadow: 0 12px 30px rgba(184,134,11,.25);
    transition: all .35s ease;
}

.carousel-control:hover .glyphicon-chevron-left,
.carousel-control:hover .glyphicon-chevron-right {
    transform: scale(1.08);
}

.carousel-control .glyphicon-chevron-left {
    left: 10px;
}

.carousel-control .glyphicon-chevron-right {
    right: 10px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width:991px) {

    .leader-content {
        padding: 35px;
    }

        .leader-content h2 {
            font-size: 34px;
        }

        .leader-content h4 {
            font-size: 18px;
        }

        .leader-content p {
            font-size: 15px;
            line-height: 1.9;
        }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px) {

    .leader-box {
        display: block;
        position: relative;
    }

    .leader-img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        /*object-fit: contain;*/
        display: block;
        background: #fff;
    }

    .leader-content {
        padding: 25px 20px;
        text-align: center;
    }

        .leader-content h2 {
            font-size: 28px;
        }

        .leader-content h4 {
            font-size: 16px;
            margin-bottom: 15px;
        }

        .leader-content p {
            font-size: 14px;
            line-height: 1.8;
        }

    .social-icons {
        justify-content: center;
        margin-top: 20px;
    }

        .social-icons a {
            width: 45px;
            height: 45px;
            font-size: 18px;
        }

    .carousel-indicators {
        bottom: 10px;
    }

    .carousel-control.left,
    .carousel-control.right {
        width: 50px;
        top: 108px;
        bottom: auto;
        z-index: 999;
    }

    .carousel-control.left {
        left: 10px;
    }

    .carousel-control.right {
        right: 10px;
    }

    .carousel-control .glyphicon-chevron-left,
    .carousel-control .glyphicon-chevron-right {
        width: 42px;
        height: 42px;
        font-size: 16px;
        position: static;
        margin-top: 0;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width:480px) {

    .leader-img {
        height: 220px;
    }

    .leader-content {
        padding: 20px 15px;
    }

        .leader-content h2 {
            font-size: 24px;
        }

        .leader-content h4 {
            font-size: 15px;
        }

        .leader-content p {
            font-size: 13px;
            line-height: 1.7;
        }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* END PERSONALITIES */
