/* ====== Reusable Card Styles ====== */
.rd {
    background: rgba(255, 255, 255, 0%);
    color: #fff;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

.rdp {
    background: rgba(255, 255, 255, 0%);
    color: #fff;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s ease-in-out;
}

.rd h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rd h3 a:hover {
    color: #4b5a61;
}

.rd p {
    margin: 5px 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.rd:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ====== Buttons ====== */
.btn-view {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    color: #fff;
    border: 1px solid #4b5a61;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-view:hover {
    background: linear-gradient(to right, #47555c, #2f2f2f);
    color: #fff;
}

/* ====== Team Card Hover ====== */
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* ====== Brochure Popup ====== */
.brochure-popup {
    display: none;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 15px;
    backdrop-filter: blur(3px);
    transition: opacity 0.3s ease;
}

.brochure-popup.open {
    display: flex;
    opacity: 1;
}

/* ====== Brochure Modal ====== */
.brochure-modal {
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    padding: 32px 28px;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    animation: popupScale 0.3s ease;
}

@keyframes popupScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.brochure-modal h3 {
    margin: 0 0 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4b5a61; /* primary color */
    text-align: center;
}

.brochure-modal .close-btn {
    position: absolute;
    right: 16px;
    top: 14px;
    font-size: 24px;
    color: #4b5a61;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* ====== Form Styles ====== */
.form-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1 1 48%;
}

.form-group.full {
    flex: 1 1 100%;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #c8c8c8;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #4b5a61;
    box-shadow: 0 0 0 3px rgba(75, 90, 97, 0.15);
    outline: none;
}
