/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    height: 400px;
    background-size: cover;
    background-position: 50% 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    padding-top: 100px;
    min-height: auto;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section-content {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1600px;
}

.hero-section h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    margin: 0;
    white-space: nowrap;
}

.divider-line {
    width: 100%;
    height: 1px;
    background: rgb(255 255 255 /50%);
}

.content-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================
   INTRO SECTION (Glassmorphism)
   ========================================= */
.intro-section {
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.intro-section .container {
    display: flex;
    gap: 30px;
}

.glass-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px;
    /* EXACT GLASS STYLES FROM SOURCE */
    background: #07070708;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #454545;
    max-width: 50%;
}

.intro-side-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;
    /* Hidden by default per source unless specifically enabled, logic below */
    display: flex;
}

/* On Desktop, show 2 columns? The original source seemed to have 50% width on glass card */
@media (min-width: 1025px) {
    .glass-card {
        max-width: 50%;
    }

    .intro-side-image {
        display: flex;
    }

    /* Show if we have the image */
}

.text-border-left {
    border-left: 8px solid var(--gold-end, #E3A507);
    padding-left: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 19px;
}

.text-content p {
    margin-bottom: 15px;
    font-family: "Lato", sans-serif;
    font-size: 16px;
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.signature-img-small {
    width: 300px;
    margin-top: 20px;
}

/* =========================================
   TEAM SECTION (Parallax)
   ========================================= */
.team-section {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    color: #fff;
}

/* Parallax Background Layer */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 162%;
    /* Taller for movement */
    background-size: cover;
    z-index: 0;
    transform: translateY(0);
    will-change: transform;
    transition-duration: 1s;
    transition-property: transform, opacity;
    transition-timing-function: cubic-bezier(0, .33, .07, 1.03);
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.67);
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 30px;
    font-weight: 600;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    margin-bottom: 50px;
    display: inline-block;
    width: 50%;
    color: #fff;
}

.section-header.top-spacing {
    margin-top: 60px;
}

/* Team Member Layout */
.team-member {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
    padding: 0 10px;
}

.section-header {
    padding: 0 10px;
}

.member-info h2 {
    font-family: "Lato", sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.member-info h4 {
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
}

.member-info h3 {
    font-family: "Lato", sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 30px 0 15px;
    color: #fff;
}

.text-border-left-yellow {
    border-left: 8px solid var(--gold-end, #E3A507);
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 19px;
    font-weight: 500;
}

.white-text {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
    font-family: "Lato", sans-serif;
}

/* Icon List */
.icon-list li {
    display: flex;
    align-items: flex-start;
    /* margin-bottom: 8px; */
    font-size: 16px;
}

.icon-list i {
    margin-right: 10px;
    margin-top: 5px;
    font-size: 12px;
}

/* Member Images */
.member-image {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.member-image span {
    background: #fff;
    margin: 10px;
    padding: 6px 20px 9px;
    border-radius: 4px;
    color: #585858;
    line-height: 1.5;
}

.member-image img {
    width: 57%;
    max-width: 400px;
    border-radius: 4px;
}

.signature-img {
    margin-top: 20px;
    width: 70% !important;
}

/* Dividers */
.divider-white {
    width: 90%;
    height: 1px;
    background: #fff;
    margin: 50px 0;
}

.divider-white-right {
    width: 90%;
    height: 1px;
    background: #fff;
    margin: 50px 0 50px auto;
}

.rest-team .member-image {
    order: -1;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero-section {
        height: 345px;
    }

    .section-header h2 {
        width: 100%;
    }

    .divider-white-right {
        margin: 50px auto;
    }
}

@media (max-width: 767px) {

    .hero-section {
        height: 175px;
        padding-top: 40px;
    }

    .hero-section h1 {
        font-size: 18px;
    }

    .intro-section {
        padding: 20px 0;
    }

    .intro-section .container {
        flex-direction: column;
    }

    .parallax-bg {
        background-position: 25% 25%;
    }

    .text-border-left {
        font-size: 9px;
    }

    .member-image {
        order: -1;
    }

    .glass-card {
        max-width: 100%;
        padding: 10px;
    }

    .text-content p {
        font-size: 10px;
    }

    .btn {
        padding: 8px 12px;
        font-size: 10px;
    }

    .team-member {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .text-border-left-yellow,
    .white-text,
    .icon-list li {
        font-size: 10px;
    }

    .section-header h2 {
        width: 100%;
    }

    .divider-white-right {
        margin: 50px auto;
    }

    .btn-wrapper {
        text-align: center;
        margin-top: 40px;
    }

    .icon-list {
        margin-bottom: 20px;
    }

    .divider-white,
    .divider-white-right {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .icon-list i {
        margin-right: 10px;
        margin-top: 3px;
        font-size: 8px;
    }
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animated-entry {
    animation-name: fadeInLeft;
    animation-duration: 1s;
    animation-fill-mode: both;
}