/* --- SECTION STYLES --- */
.bg-grey {
    background-color: #f2f4f6; /* Matching the light grey background from image */
    padding: 80px 0;
    position: relative;
}


.swiper-nav-btn {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #002244;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.swiper-nav-btn:hover {
    background-color: #002244;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 34, 68, 0.2);
}

/* --- SWIPER CONTAINER FIX --- */
.agent-swiper {
    /* CRITICAL: Space for shadow AND pagination dots at the bottom */
    padding-bottom: 70px !important;
    padding-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    overflow: hidden;
}

/* --- AGENT CARD STYLING --- */
.agent-card {
    background: #fff;
    border-radius: 20px; /* Matches image */
    padding: 40px 30px;
    text-align: center;
    /* Soft, spread-out shadow */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* --- IMAGE (Circle with border) --- */
.agent-img-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    padding: 4px;
    background: #fff;
    /* Inner shadow/border effect */
    box-shadow: 0 0 0 1px #e0e0e0;
}

.agent-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* --- TEXT CONTENT --- */
.agent-name {
    color: #002244;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.agent-role {
    color: #3b5998; /* Brand Blue */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 20px;
}

.agent-bio {
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* --- SOCIAL ICONS --- */
.agent-social {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #f0f2f5; /* Light grey circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555; /* Dark grey icon */
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
}

.social-link:hover {
    background-color: #002244; /* Dark Blue on hover */
    color: #fff;
    transform: translateY(-3px);
}

/* --- PAGINATION DOTS (FIXED VISIBILITY) --- */
.swiper-pagination {
    bottom: 10px !important; /* Positioned clearly within the padding area */
    width: 100%;
    text-align: center;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1; /* Light grey inactive */
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #3b5998; /* Brand Blue active */
    width: 30px; /* Elongated active dot */
    border-radius: 5px;
}

/* Wrapper Alignment */
.swiper-wrapper {
    align-items: stretch;
}
.swiper-slide {
    height: auto;
}
