.carousel {
    position: relative;
    overflow: hidden;
    height: clamp(185px, 40vw, 540px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Lato", sans-serif;
    background-color: rgb(239, 244, 255);
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    position: relative;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 80px;
    box-sizing: border-box;
}

.carousel-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 24, 51, 0.55);
    z-index: 2;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 1;
}

.carousel-header {
    font-family: "Lora", serif;
    color: white;
    font-size: clamp(17px, 3vw, 40px);
    font-weight: 600;
    margin-bottom: clamp(6px, 1.2vw, 16px);
    margin-top: 0;
}

.carousel-paragraph {
    color: #E2E2E6;
    font-size: clamp(11px, 1.3vw, 16px);
    line-height: 1.45;
    max-width: 600px;
    margin-bottom: clamp(10px, 1.8vw, 24px);
    margin-top: 0;
}

.carousel-link {
    text-decoration: none;
    color: white;
    background-color: #006970;
    border: 2px solid #006970;
    border-radius: 5px;
    padding: clamp(5px, 0.8vw, 10px) clamp(12px, 1.6vw, 16px);
    font-size: clamp(11px, 1.1vw, 14px);
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
}

.carousel-header,
.carousel-paragraph,
.carousel-link {
    position: relative;
    z-index: 3;
}

.carousel-indicators {
    position: absolute;
    bottom: 24px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #DAE2F9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.indicator.active {
    background-color: #006970;
    transform: scale(1.1);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.2s ease;
    padding: 0;
}

.carousel-button:hover {
    background-color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-button img {
    width: 24px;
    height: 24px;
}

.prev-button {
    left: 40px;
}

.next-button {
    right: 40px;
}

/* Carousel Empty State */
@keyframes carouselEmptyFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-empty-state {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    padding: clamp(12px, 3vw, 40px) clamp(16px, 5vw, 80px);
    box-sizing: border-box;
}

.carousel-empty-state::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 24, 51, 0.6);
    z-index: 2;
}

.carousel-empty-icon {
    width: clamp(36px, 6.5vw, 88px);
    height: clamp(36px, 6.5vw, 88px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(6px, 1.8vw, 24px);
    position: relative;
    z-index: 3;
    animation: carouselEmptyFadeIn 0.6s ease-out;
}

.carousel-empty-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.carousel-empty-title {
    font-family: "Lora", serif;
    font-size: clamp(17px, 3vw, 40px);
    font-weight: 600;
    color: white;
    margin: 0 0 clamp(4px, 1.2vw, 16px) 0;
    position: relative;
    z-index: 3;
    animation: carouselEmptyFadeIn 0.6s ease-out 0.1s both;
}

.carousel-empty-subtitle {
    font-family: "Lato", sans-serif;
    font-size: clamp(11px, 1.3vw, 16px);
    color: #E2E2E6;
    line-height: 1.4;
    max-width: 600px;
    margin: 0 0 clamp(8px, 1.8vw, 24px) 0;
    position: relative;
    z-index: 3;
    animation: carouselEmptyFadeIn 0.6s ease-out 0.2s both;
}

.carousel-empty-link {
    text-decoration: none;
    color: white;
    background-color: #006970;
    border: 2px solid #006970;
    border-radius: 5px;
    padding: clamp(5px, 0.8vw, 10px) clamp(12px, 1.8vw, 20px);
    font-size: clamp(11px, 1.1vw, 14px);
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    font-family: "Lato", sans-serif;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    position: relative;
    z-index: 3;
    animation: carouselEmptyFadeIn 0.6s ease-out 0.3s both;
}

.carousel-empty-link:hover {
    color: white;
    background-color: rgba(0, 105, 112, 0.7);
    border-color: rgba(0, 105, 112, 0.7);
}

.our-journey-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 64px clamp(20px, 4vw, 60px);
    gap: clamp(28px, 4vw, 56px);
    min-height: 560px;
    height: auto;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
}

.our-journey-image-container {
    margin: 0;
    flex: 0 1 560px;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.our-journey-image {
    width: 100%;
    max-width: 560px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(126, 226, 216, 0.6);
}

.our-journey-text-container {
    margin: 0;
    flex: 1 1 420px;
    max-width: 600px;
    min-width: 0;
}

.our-journey-header,
.partner-status {
    color: #006970;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.partner-status {
    font-size: 28px;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 28px;
    font-family: "Lora", serif;
}

.our-journey-header::before,
.partner-status::before,
.partner-status::after {
    content: "";
    width: 40px;
    height: 2px;
    background-color: #006970;
    display: inline-block;
    border-radius: 2px;
}

.our-journey-header-main {
    font-size: 40px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 24px;
    font-family: "Lora", serif;
    color: #001833;
}

.our-journey-paragraph {
    color: #43474E;
    font-size: 16px;
    margin-bottom: 24px;
    margin-top: 0;
    max-width: 600px;
}

.our-journey-link {
    text-decoration: none;
    color: #006970;
    background-color: transparent;
    border: 2px solid #006970;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    display: inline-block;
    margin-top: 24px;
}

.our-journey-link:hover {
    color: white;
    background-color: #006970;
}

.sponsors-container {
    background-color: #EFF4FF;
    padding: 60px 40px;
    font-family: "Lato", sans-serif;
    box-sizing: border-box;
}

.sponsors-header {
    font-family: "Lora", serif;
    color: #001833;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1280px;
    margin: 0 auto;
    align-items: stretch;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 44px;
    box-sizing: border-box;
}

.partner-card + .partner-card {
    border-left: 1px solid rgba(0, 105, 112, 0.18);
}

.partner-logo-container {
    width: 100%;
    max-width: 340px;
    height: auto;
    aspect-ratio: 17 / 11;
    flex-shrink: 0;
    background-color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(126, 208, 226, 0.4);
    border: 1px solid rgb(218, 218, 218);
    padding: clamp(14px, 2vw, 24px);
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 28px;
}

.partner-logo {
    max-width: 58%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    width: 100%;
    max-width: 540px;
}

.partner-header {
    font-size: 32px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 18px;
    font-family: "Lora", serif;
    color: #001833;
    line-height: 1.25;
}

.partner-paragraph {
    color: #43474E;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 28px;
    margin-top: 0;
}

.partner-link {
    text-decoration: none;
    color: white;
    background-color: #006970;
    border: 2px solid #006970;
    border-radius: 5px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    display: inline-block;
    margin-top: auto;
}

.partner-link:hover {
    color: #006970;
    background-color: transparent;
}

.map-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 60px clamp(20px, 4vw, 50px);
    gap: clamp(28px, 4vw, 50px);
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
}

.map-text-container {
    flex: 0 1 400px;
    max-width: 400px;
    min-width: 0;
}

.map-label {
    color: #006970;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.map-label::before {
    content: "";
    width: 40px;
    height: 2px;
    background-color: #006970;
    display: inline-block;
    border-radius: 2px;
}

.map-header {
    font-size: 40px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 24px;
    font-family: "Lora", serif;
    color: #001833;
}

.map-address {
    color: #43474E;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
    margin-top: 0;
}

.map-directions-link {
    text-decoration: none;
    color: white;
    background-color: #006970;
    border: 2px solid #006970;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    display: inline-block;
    font-weight: 600;
}

.map-directions-link:hover {
    color: #006970;
    background-color: transparent;
}

.map-container {
    width: min(600px, 52vw);
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(126, 226, 216, 0.4);
    flex-shrink: 0;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .our-journey-section {
        flex-direction: column;
        min-height: auto;
        height: auto;
        padding: 40px 20px;
        gap: 28px;
    }

    .our-journey-image-container {
        margin: 0;
        flex: none;
        width: 100%;
        text-align: center;
    }

    .our-journey-text-container {
        margin: 0;
        flex: none;
        width: 100%;
        text-align: center;
    }

    .our-journey-header {
        justify-content: center;
    }

    .our-journey-header::before {
        display: none;
    }

    .our-journey-image {
        width: 100%;
        max-width: 560px;
        height: auto;
        margin: 0 auto;
    }

    .our-journey-paragraph {
        margin: 0 auto 24px auto;
    }

    .sponsors-container {
        padding: 48px 24px;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .partner-card {
        padding: 0 12px;
    }

    .partner-card + .partner-card {
        border-left: none;
        border-top: 1px solid rgba(0, 105, 112, 0.18);
        padding-top: 48px;
    }

    .partner-logo-container {
        max-width: 320px;
    }

    .map-section {
        flex-direction: column;
        padding: 40px 20px;
    }

    .map-text-container {
        flex: none;
        text-align: center;
        max-width: 100%;
    }

    .map-label {
        justify-content: center;
    }

    .map-label::before {
        display: none;
    }

    .map-container {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        padding: 16px 40px 28px;
    }

    .carousel-paragraph {
        max-width: 500px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .our-journey-header-main {
        font-size: 32px;
    }

    .partner-header {
        font-size: 28px;
    }

    .partner-status {
        font-size: 24px;
    }

    .partner-logo-container {
        max-width: 280px;
    }

    .map-header {
        font-size: 32px;
    }

    .prev-button {
        left: 10px;
    }
    
    .next-button {
        right: 10px;
    }

    .carousel-empty-subtitle {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        padding: 12px 20px 24px;
    }
    
    .carousel-button {
        display: none;
    }

    .carousel-paragraph {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .our-journey-image {
        box-shadow: 0 0 24px rgba(126, 226, 216, 0.4);
    }

    .partner-status {
        font-size: 20px;
    }

    .partner-header {
        font-size: 24px;
    }

    .partner-paragraph {
        font-size: 14.5px;
    }

    .partner-logo-container {
        max-width: 240px;
    }
}