.wide-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px 20px;
}

/* Our Team Page Styles */
.our-team-banner {
    padding-top: 40px;
}

.our-team-hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.our-team-hero-text {
    flex: 1;
}

.our-team-hero-text .swi-sub-page-h1 {
    text-align: left;
    color: #000;
    font-family: 'Poppins';
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 10px;
}

.our-team-hero-text .swi-sub-page-h1 .swi-sub-page-usp-header-highlight {
    font-size: 80px;
}

.our-team-hero-text p {
    font-size: 18px;
    margin: 0;
}

.our-team-hero-image {
    flex: 1;
    text-align: right;
    padding-right: 20px;
}

.our-team-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(5deg);
}

.our-core-team-section {
    padding: 100px 0 90px;
}

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

.team-member-card {
    background: transparent;
    border: 0;
    padding: 0;
    text-align: center;
    max-width: 200px;
    cursor: pointer;
    height: 100%;
}

.team-member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-member-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
}

.team-member-role {
    font-size: 14px;
    margin: 0;
}

.team-member-card:focus {
    outline: none;
}

.team-member-card:focus-visible {
    outline: 2px solid #f1c6d6;
    outline-offset: 6px;
    border-radius: 16px;
}

.team-modal-dialog {
    max-width: 1050px;
    margin: 20px auto;
}

.team-modal-content {
    border: 0;
    border-radius: 28px;
    padding: 70px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

.team-modal-close {
    position: absolute;
    top: 22px;
    right: 25px;
    font-size: 34px;
    color: #7b7b7b;
    opacity: 1;
    line-height: 1;
}

.team-modal-close:hover {
    color: #4f4f4f;
}

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

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

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

.team-modal-name {
    font-size: 20px;
    margin-bottom: 4px;
    font-weight: 600;
    color: #000;
}

.team-modal-role {
    font-size: 15px;
    color: #b2b2b2;
    margin: 0;
}

.team-modal-description p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #6f6f6f;
}

.our-founder-wrapper {
    padding-bottom: 70px;
    column-gap: 40px;
}

.our-founder-section .right-side img {
    max-width: 300px;
}

.our-founder-section .swi-info-pages-p {
    margin-bottom: 40px;
}

.our-founder-section .swi-btn-purple {
    width: fit-content;
}

.our-founder-section .swi-h2 {
    font-size: 34px;
    margin-bottom: 0;
    line-height: 1.2;
}

.our-founder-section .left-side .swi-h2 {
    font-size: 30px;
}

.our-founder-section .swi-h2-highlight {
    padding-left: 0;
}

.our-founder-section .swi-info-pages-p {
    margin-top: 30px;
}

.our-founder-section .swi-h2 .swi-h2-highlight {
    padding-left: 0;
    margin-bottom: 20px;
}

.our-founder-section .swi-btn-purple {
    width: fit-content;
}

.our-founder-section img {
    max-height: 300px;
}

.swi-location-map img {
    width: 100%;
    height: auto;
}

/* Responsive Design */

/* Large Desktop (1200px and above) */
/* @media screen and (min-width: 1200px) {
    .wide-container {
        padding: 40px;
    }
} */

/* Desktop to Tablet (1080px and below) */
@media screen and (max-width: 1080px) {
    .our-team-hero-text .swi-sub-page-h1 {
        font-size: 48px;
    }

    .our-team-hero-text .swi-sub-page-h1 .swi-sub-page-usp-header-highlight {
        font-size: 80px;
    }

    .section-three-wrapper {
        flex-direction: column;
        row-gap: 20px;
    }

    .our-founder-wrapper {
        flex-direction: column;
        row-gap: 30px;
    }

    .our-founder-wrapper .right-side {
        text-align: center;
    }

    .our-founder-wrapper .left-side {
        text-align: center;
        align-items: center;
    }

    .team-members-grid {
        gap: 35px;
    }
}

@media screen and (max-width: 900px) {
    .team-modal-body {
        flex-direction: column;
        text-align: center;
    }

    .team-modal-content {
        padding: 28px 28px 32px;
    }

    .team-modal-profile {
        min-width: 0;
    }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .wide-container {
        padding: 15px 15px;
    }

    .our-team-banner {
        padding-top: 30px;
        margin-bottom: 40px;
    }

    .our-team-hero-content {
        flex-direction: column;
        gap: 30px;
    }

    .our-team-hero-text {
        text-align: center;
    }

    .our-team-hero-text .swi-sub-page-h1 {
        font-size: 36px;
        text-align: center;
        margin-bottom: 20px;
    }

    .our-team-hero-text .swi-sub-page-h1 .swi-sub-page-usp-header-highlight {
        font-size: 60px;
    }

    .our-team-hero-text p {
        font-size: 14px;
    }

    .our-team-hero-image {
        text-align: center;
        padding-right: 0;
    }

    .our-team-hero-image img {
        max-width: 90%;
        transform: rotate(3deg);
    }

    .our-core-team-section {
        padding: 40px 0;
    }

    .our-core-team-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .team-members-grid {
        gap: 30px;
    }

    .team-member-card {
        max-width: 150px;
    }

    .team-member-photo {
        width: 150px;
        height: 150px;
    }

    .team-member-name {
        font-size: 16px;
    }

    .team-member-role {
        font-size: 13px;
    }

    .our-founder-wrapper {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .our-founder-section .swi-h2 {
        font-size: 28px;
        text-align: center;
    }

    .our-founder-wrapper .right-side img {
        max-width: 250px;
    }

    .swi-contact-us-section {
        margin-top: 60px !important;
    }

    .swi-contact-us-form-container {
        flex-direction: column;
    }

    .swi-contact-us-addresses {
        flex-direction: column;
        gap: 20px;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .our-team-banner {
        padding-top: 20px;
        margin-bottom: 30px;
    }

    .our-team-hero-text .swi-sub-page-h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .our-team-hero-text .swi-sub-page-h1 .swi-sub-page-usp-header-highlight {
        font-size: 48px;
    }

    .our-team-hero-text p {
        font-size: 13px;
    }

    .our-team-hero-image img {
        max-width: 100%;
        border-radius: 15px;
    }

    .our-core-team-section {
        padding: 30px 0;
    }

    .our-core-team-section h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .team-members-grid {
        gap: 25px;
    }

    .team-member-card {
        max-width: 130px;
    }

    .team-member-photo {
        width: 130px;
        height: 130px;
        margin-bottom: 15px;
    }

    .team-member-name {
        font-size: 15px;
        margin-bottom: 3px;
    }

    .team-member-role {
        font-size: 12px;
    }

    .our-founder-section .swi-h2 {
        font-size: 24px;
    }

    .our-founder-wrapper {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .our-founder-wrapper .right-side img {
        max-width: 200px;
    }

    .our-founder-wrapper .swi-info-pages-p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .swi-contact-us-section {
        margin-top: 40px !important;
    }

    .team-modal-dialog {
        margin: 15px auto;
    }

    .team-modal-content {
        padding: 24px 20px 28px;
        border-radius: 22px;
    }

    .team-modal-description p {
        font-size: 14px;
    }
}

/* Extra Small Mobile (400px and below) */
@media (max-width: 400px) {
    .our-team-hero-text .swi-sub-page-h1 {
        font-size: 24px;
    }

    .our-team-hero-text .swi-sub-page-h1 .swi-sub-page-usp-header-highlight {
        font-size: 40px;
    }

    .team-member-card {
        max-width: 110px;
    }

    .team-member-photo {
        width: 110px;
        height: 110px;
    }

    .team-member-name {
        font-size: 14px;
    }

    .team-member-role {
        font-size: 11px;
    }

    .our-core-team-section h2 {
        font-size: 20px;
    }

    .our-founder-section .swi-h2 {
        font-size: 20px;
    }
}
