* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.marginTop {
    margin-top: 15vh;
}

.heading {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #333;
    text-align: center;
}

.sub-heading {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #333;
    text-align: center;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F4F0ED;
    padding: 2rem;
    gap: 2rem;
    padding: 8% 12%;
}

.left-content {
    flex: 1;
    font-family: 'Cormorant Garamond', serif;
}

.left-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.left-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.left-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: 'Mulish', 'san-serif';
}

.contact-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #B7B0A8;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #A19A92;
}

.right-content {
    flex: 1;
}

.progress-bar {
    margin-bottom: 1rem;
}

.progress-bar span {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.bar {
    height: 10px;
    background-color: #DDD;
    border-radius: 5px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background-color: #A19A92;
    width: 0;
    /* Start with 0 width */
    animation: fill-animation 2s ease-in-out forwards;
    /* Add animation */
}

@media screen and (max-width: 1200px) {
    .marginTop {
        margin-top: 12vh;
    }

    .hero-content {
        flex-direction: column;
    }

    .left-content,
    .right-content {
        width: 100%;
        text-align: center;
    }

    .left-content p {
        margin-bottom: 1rem;
    }
}

@keyframes fill-animation {
    from {
        width: 0;
        /* Start from 0% */
    }

    to {
        width: var(--final-width);
        /* Use a custom property for final width */
    }
}

/* Carousel */
.team-carousel {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

.team-carousel h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #333;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.team-member {
    flex: 0 0 calc(35% - 40px);
    margin: 0 20px;
    box-sizing: border-box;
    border: 1px solid #d8d8d873;
    border-radius: 8px;
}

.team-member img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-member h3 {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 1.4em;
    color: #333;
    font-weight: bold;
}

@media (max-width: 600px) {
    .team-member {
        flex: 0 0 calc(100% - 40px);
    }
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 10px;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 0px;
}

.carousel-dots {
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: #333;
}