﻿.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
}

    .team-card img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        transition: transform 0.5s ease;
        border-radius: 20px;
    }

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: #fff;
    transition: all 0.4s ease;
}

    .team-overlay h5 {
        font-weight: 600;
        margin-bottom: 5px;
    }

    .team-overlay p {
        margin: 0;
        font-size: 14px;
        opacity: 0.9;
    }


.team-card:hover img {
    transform: scale(1.08);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
/* Wrapper */
.ceo-wrapper {
    background: linear-gradient(135deg, #f8f9fb, #eef1f5);
    padding: 80px 70px;
    border-radius: 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

/* Image */
.ceo-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

    .ceo-image img {
        border-radius: 30px;
        transition: transform 0.6s ease;
    }

    .ceo-image:hover img {
        transform: scale(1.08);
    }

/* Content */
.ceo-content {
    padding-left: 50px;
}

/* Badge */
.ceo-badge {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b89b5e;
    margin-bottom: 10px;
}

/* Big Name */
.ceo-name {
    font-family: 'Playfair Display', serif !important;
    font-size: 70px !important;
    font-weight: 500 !important;
    color: #1f1f1f;
    margin-bottom: 10px;
}

/* Gold Accent Line */
.gold-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #c6a75e, #e5c88c);
    margin: 20px 0 30px 0;
    border-radius: 5px;
}

/* Subtitle */
.ceo-subtitle {
    font-size: 20px;
    font-weight: 500 !important;
    margin-bottom: 25px;
    color: #333;
    line-height:1.3;
}

/* Paragraph */
.ceo-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 991px) {

    .ceo-wrapper {
        padding: 50px 25px;
    }

    .ceo-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .ceo-name {
        font-size: 42px;
    }
}
@media (max-width: 768px) {
    .ceo-name {
        font-size: 45px !important;
    }
}