.hero-section {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
}

.hero-image {
    width: auto;
    height: 600px;
    object-fit: contain;
    object-position: center 0%;
    display: block;
    margin: 0 auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 140px;
}

.hero-overlay h1 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
}

.contact-btn {
    background-color: #1a3a5c;
    color: white;
    padding: 13px 26px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

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

.content-section {
    display: flex;
    max-width: 800px;
    margin: 70px auto 16px auto;
    padding: 0 20px;
    gap: 48px;
    align-items: flex-start;
}

.content-section.reverse {
    flex-direction: row;
}

.text-block {
    flex: 1;
}

.text-block p {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    text-align: left;
}

.image-block {
    flex: 0 0 200px;
}

.image-block img {
    width: 360px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.partnership-banner {
    background-color: #e9f2f6;
    padding: 1px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 80px 0 32px 0;
}

.partner-text {
    color: black;
    font-size: 2.4rem;
    font-weight: bold;
    margin-right: 12px;
}

.partner-x {
    color: black;
    font-size: 2.4rem;
    margin-left: 16px;
}

.deloitte-logo {
    height: 96px;
    width: auto;
    object-fit: contain;
}

.main-partner-section {
    max-width: 840px;
    margin: 48px auto;
    padding: 0 20px;
    text-align: center;
}

.main-partner-section h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

.main-partner-section p {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.image-carousel {
    position: relative;
    max-width: 880px;
    margin: 32px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.image-carousel img {
    width: 880px;
    height: auto;
    border-radius: 8px;
}

/* Scroll pop-up animation */
.popup {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.popup.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
    .content-section,
    .content-section.reverse {
        flex-direction: column;
    }

    .image-block {
        flex: 0 0 auto;
        width: 100%;
    }

    .hero-overlay h1 {
        font-size: 1.8rem;
    }

    .partnership-banner {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .partner-text,
    .partner-x {
        font-size: 1.2rem;
    }
}