/* ===== HERO SECTION ===== */
.hero-section {
    background: center center/cover no-repeat;
    height: 50vh;
    position: relative;
    color: white;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
}

/* ===== FORM CONTAINER ===== */
.form-container {
    background-color: #fdfdfd;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.form-container h4 {
    font-weight: 600;
    color: #2c3e50;
}

.form-container img {
    border-radius: 50%;
    border: 3px solid #007bff;
    padding: 5px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.form-container label {
    font-weight: 500;
    color: #495057;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.02);
}

.form-row-two {
    display: flex;
    gap: 10px;
}

.form-row-two > div {
    flex: 1;
}

.hidden {
    display: none !important;
}

.fade-out {
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* ===== LEADER CARD STYLING (OVERLAY & COMPACT) ===== */
section .row .col .card.leader-card {
    max-width: 220px;
    height: 180px; /* total card height */
    position: relative;
    margin: auto;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

section .row .col .card.leader-card .leader-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section .row .col .card.leader-card .leader-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section .row .col .card.leader-card .leader-name {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

section .row .col .card.leader-card .leader-position {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

section .row .col .card.leader-card .btn {
    padding: 3px 6px;
    font-size: 0.7rem;
}
