/* Our Team Page Styles */

:root {
    --primary-color: #1f2933;
    --secondary-color: #5b7c99;
    --accent-color: #8247FF;
    --light-bg: #f4f7fa;
    --border-color: #e0e6ed;
    --padding: 40px;
}

.our-team-section {
    gap: 60px;
}

.team-header {
    gap: 20px;
    text-align: center;
    position: relative;
    overflow: visible;
    width: 100%;
    padding-bottom: 0;
}

.team-header-content {
    max-width: 700px;
    margin: 0px auto 50px;
}

main.main-content {
    padding-top: 0;
}

.page-bg {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.team-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin: 0;
}

.team-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
    margin-bottom: 20px;
}

.team-subtitle {
    font-size: 16px;
    color: var(--secondary-color);
    line-height: 1.6;
    margin: 0;
}

.team-members {
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.team-member {
    gap: 10px;
    max-width: 350px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.member-image {
    max-width: 100%;
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-bg);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Montserrat-Regular';
    margin: 0;
    text-align: left;
    margin-right: auto;
}

.member-role {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.60);
    font-family: 'Montserrat-Regular';
    margin: 0;
    text-align: left;
    margin-right: auto;
}

.member-desc {
    font-family: 'Montserrat-Regular';
    font-size: 14px;
    line-height: 24px;
}

.team-modal .modal-dialog {
    max-width: 980px;
}

.team-modal .modal-content {
    border: none;
    border-radius: 28px;
    padding: 32px 44px;
    position: relative;
    box-shadow: 0 24px 60px rgba(31, 41, 51, 0.18);
}

.team-modal-close {
    position: absolute;
    top: 20px;
    right: 22px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #7a7a7a;
    cursor: pointer;
}

.team-modal-body {
    display: flex;
    gap: 36px;
    align-items: center;
}

.team-modal-profile {
    min-width: 220px;
    text-align: center;
}

.team-modal-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    overflow: hidden;
}

.team-modal-avatar img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

.team-modal-profile h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 6px;
}

.team-modal-profile p {
    font-size: 14px;
    color: #a6a6a6;
    margin: 0;
    font-family: 'Montserrat-SemiBold';
}

.team-modal-text {
    font-size: 18px;
    color: #7c7c7c;
    line-height: 1.7;
}

.team-modal-text p {
    margin: 0;
}

/* Contact Section Styles */
.contact-section {
    padding: 80px var(--padding);
}

.contact-wrapper {
    gap: 40px;
}

.contact-wrapper h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-align: left;
}

.contact-details {
    gap: 20px;
    align-items: flex-start;
}

.contact-details .dl-h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 16px;
    color: var(--primary-color);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-color);
}

.social-icons {
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--light-bg);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent-color);
}

.social-icons svg {
    width: 24px;
    height: 24px;
}

.contact-section .contact-wrapper {
    row-gap: 15px;
}

.contact-section .contact-form p {
    font-family: 'Montserrat-Regular';
    font-size: 40px;
    color: #1F2933;
    line-height: 2;
}

.contact-section .submit-contact {
    background-color: #1F2933;
    border: 2px solid #1F2933;
    color: #F4F7FA !important;
    margin-top: 30px;
}

.contact-section .submit-contact:hover {
    background-color: transparent;
    color: #1F2933 !important;
}

.contact-section .social-links {
    column-gap: 10px;
}

.contact-section .contact-details {
    row-gap: 10px;
}

.contact-section .contact-form input,
.contact-section .contact-form select {
    border: none;
    border-bottom: 1px solid #1F2933;
    background-color: transparent;
    outline: none !important;
    color: #1F2933;
    font-family: 'OpenSans-SemiBold';
    font-size: 20px;
}

.contact-section .contact-form input::placeholder {
    font-family: 'OpenSans-SemiBold';
    font-size: 20px;
    color: #BEBCCE;
    text-align: center;
}

.contact-section .contact-form .checkbox-container {
    margin-top: 15px;
    position: relative;
}

.contact-section .contact-form .checkbox-container input {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
}

.contact-section .checkbox-container label {
    font-family: 'OpenSans-Light';
    font-size: 20px;
    color: #1F2933;
    padding-left: 40px;
    position: relative;
    cursor: pointer;
}

.contact-section .checkbox-container label::before {
    content: '';
    border: 1px solid #1F2933;
    border-radius: 5px;
    background-color: transparent;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    width: 20px;
    height: 20px;
}

.contact-section .checkbox-container input:checked~label::before {
    content: '\2713';
    font-size: 13px;
    text-align: center;
    color: #1F2933;
}

.contact-section #no-physical-location {
    cursor: pointer;
}

.contact-section #no-physical-location:hover {
    color: #8247FF;
}

.modal-content #thankyou {
    max-width: 750px;
    margin: auto;
    row-gap: 17px;
}

#thankyou * {
    text-align: center;
}

#thankyou img {
    width: 200px;
}

#thankyou .dl-button {
    border-radius: 15px;
    max-width: 100%;
    width: 400px;
}

.modal {
    backdrop-filter: blur(10px);
    z-index: 9999;
}

@media screen and (max-width: 1080px) {

    .contact-section .contact-form p,
    .contact-section .contact-form input,
    .contact-section .contact-form select {
        font-size: 20px;
    }

    .contact-section .checkbox-container label {
        font-size: 15px;
    }

    .contact-section .contact-form input::placeholder {
        font-size: 15px;
    }

    .contact-section .contact-wrapper>.flex {
        flex-direction: column;
        row-gap: 10px;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .our-team-section {
        padding: 40px var(--padding);
        gap: 40px;
    }

    .team-title {
        font-size: 32px;
    }

    .team-subtitle {
        font-size: 14px;
    }

    .team-members {
        gap: 20px;
    }

    .team-member {
        max-width: 100%;
    }

    .contact-section {
        padding: 40px var(--padding);
    }

    .contact-wrapper h2 {
        font-size: 28px;
    }

    .contact-form p {
        font-size: 14px;
    }

    .team-modal .modal-content {
        padding: 26px 24px 30px;
    }

    .team-modal-body {
        flex-direction: column;
        text-align: center;
    }

    .team-modal-text {
        font-size: 16px;
    }
}