/* --- Global Styles & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #555555;
    line-height: 1.6;
    background-color: #ffffff;
    font-size: 14px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation Header --- */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-main {
    font-size: 28px;
    font-weight: 700;
    color: #1a658f;
    text-transform: lowercase;
}

.logo-sub {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #555;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #333333;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #1a658f;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #333;
}

.cart-amount {
    font-weight: 600;
    color: #1a658f;
}

/* --- Intro Section --- */
.intro-section {
display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Adjust gap to control the horizontal distance between text and image */
    gap: 10%; 
    /* Spacing below the entire section */
    margin-bottom: 60px;
}

.intro-text {
    max-width: 450px; 
    flex: 1;
}

.intro-text p {
    margin-bottom: 20px;
    color: #666666;
    /* Keeps line lengths short and highly readable */
    line-height: 1.6;
}

.intro-video-placeholder {
    flex: 1;
    max-width: 550px;
    /* Pushes the image container right-aligned within its available space */
    margin-left: auto; 
    /* Creates distinct, explicit extra space underneath the image itself */
    padding-bottom: 40px;
}

.intro-video-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-overlay-text {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.section-divider {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin: 40px auto;
}

/* --- Sections Shared Headers --- */
h2 {
    font-size: 20px;
    color: #555555;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

/* --- Team Section --- */
.team-member {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.member-profile {
    width: 220px;
    flex-shrink: 0;
}

.avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.pink-avatar {
    background-color: #ff00cc; /* Vibrant placeholder color matching the prompt image */
}

.black-avatar {
    background-color: #0d0d0d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.member-profile h3, .testimonial-profile h3 {
    font-size: 16px;
    color: #333333;
    font-weight: 700;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 11px;
    font-weight: 600;
    color: #777777;
    line-height: 1.3;
}

.member-bio {
    flex: 1;
}

.member-bio p {
    margin-bottom: 15px;
    text-align: justify;
    color: #666666;
}

.avatar-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover; /* Prevents the image from stretching or distorting */
    margin-bottom: 15px;
    display: block;
}

/* --- Testimonials Section --- */
.testimonials-section {
    margin-bottom: 80px;
}

.testimonial-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.testimonial-profile {
    width: 220px;
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
    padding-top: 10px;
}

.quote {
    font-size: 16px;
    font-weight: 700;
    color: #1a658f;
    margin-bottom: 10px;
}

.testimonial-content p {
    color: #777777;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .nav-container, .intro-section, .team-member, .testimonial-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .nav-menu {
        margin: 15px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .member-profile, .testimonial-profile {
        width: 100%;
        margin-bottom: 15px;
    }

    .avatar {
        margin: 0 auto 15px auto;
    }
    
    .member-bio p {
        text-align: center;
    }

    /* --- ADD THESE UPDATES FOR THE INTRO SECTION --- */
    .intro-section {
        gap: 30px; /* Reduces the huge gap on mobile */
    }

    .intro-text {
        max-width: 100%; /* Overrides the 450px restriction so text reads well on mobile */
    }

    .intro-video-placeholder {
        margin-left: 0; /* Resets the right-alignment nudge */
        padding-bottom: 0; /* Resets the desktop padding if desired */
    }
}