/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'New Hero', 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Haleon Advertisement Styles */
.haleon-ad {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Header Section */
.ad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #ffffff;
    position: relative;
    z-index: 10;
    width: 80%;
    margin: auto;
}

.haleon-logo {
    width: 170px;
    height: auto;
}

.language-btn-fr, .language-btn-en {
    background: #dc2626;
    color: white;
    padding: 10px 12px;
    font-size: 30px;
    line-height: 35px;
    box-shadow: 4px 4px 15px 0px rgba(169, 187, 201, 0.25);
    text-decoration: none;
}

.language-btn-fr:hover, .language-btn-en:hover {
    background: #C92325;
}

/* Main Content Section */
.ad-content {
    flex: 1;
    text-align: center;
    background: #ffffff;
    position: relative;
    z-index: 5;
}

.main-title {
    font-size: 60px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.main-title span {
    font-weight: 700;
}

/* Offer Section */
.offer-section {
    margin-bottom: 40px;
}

.spend-text {
    margin-bottom: 10px;
}

.get-text {
    font-size: 72px;
    font-weight: 900;
    color: #dc2626;
    margin-bottom: 20px;
    line-height: 0.8;
}

.offer-description-en {
    font-size: 35px;
    color: #EE2E2F;
    font-weight: 600;
    line-height: 1.2;
    max-width: 785px;
    margin: auto;
}

.offer-description-fr {
    font-size: 35px;
    color: #EE2E2F;
    font-weight: 600;
    line-height: 1.2;
}

.validity-period {
    font-size: 25px;
    color: #000000;
    font-weight: 400;
    line-height: 1.2;
}

/* Product Logos */
.product-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 70px;
    flex-wrap: wrap;
}

.product-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* CTA Button */
.cta-button {
    background: #dc2626;
    color: white;
    border: none;
    padding: 20px;
    font-size: 30px;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 40px;
    box-shadow: 4px 4px 15px 0px #A9BBC9;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.cta-button .cash-back {
    margin-right: 8px;
}

.cta-button .arrow {
    margin-left: 17px;
    display: flex;
}

.cta-button span {
    font-weight: 700;
}

.cta-button:hover {
    background: #C92325;
}

/* Family Section */

.family-section {
    display: flex;
    position: relative;
}

.official-partner {
    position: absolute;
    bottom: 10px;
    left: 30px;
    width: 30%;
    height: auto;
    object-fit: contain;
}

/* Bottom Section */
.bottom-section {
    background: linear-gradient(180deg, #EE332A 0%, #FAA428 100%);
    padding: 52px 30px;
    color: #FFF;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
}

.family-image {
    display: block;
}

.family-image-mobile {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .get-text {
        font-size: 56px;
    }

    .family-image-mobile {
        display: block;
    }

    .family-image {
        display: none;
    }

    .ad-header {
        padding: 15px 20px;
        height: 84px;
        background-image: url('images/background-mobile-header.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
    }

    .ad-content {
        margin-top: 40px;
    }

    .main-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .get-text {
        font-size: 48px;
    }
    
    .spend-text {
        font-size: 20px;
        width: 80%;
        height: auto;
        margin-bottom: 24px;
    }
    
    .offer-description-en {
        font-size: 16px;
        max-width: 280px;
        margin-bottom: 4px;
    }

    .offer-section {
        margin-bottom: 32px;
    }

    .offer-description-fr {
        font-size: 16px;
        max-width: 250px;
        margin: 0 auto 4px auto;
    }

    .validity-period {
        font-size: 13px;
    }

    .product-logos-cta {
        display: flex;
        flex-direction: column-reverse;
        gap: 50px;
    }
    
    .product-logos {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 10px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 13px;
    }
    .haleon-logo {
        width: 75px; 
    }
    .language-btn-fr {
        font-size: 10px;
        padding: 6px;
        line-height: normal;
    }
    .language-btn-en {
        font-size: 10px;
        padding: 6px 5px;
        line-height: normal;
    }
    .centrum-logo {
        width: 175px;
    }
    .emergen-c-logo {
        width: 250px;
    }
    .caltrate-logo {
        width: 184px;
    }

    .official-partner {
        left: 15px;
        width: 55%;
    }

    .bottom-section {
        font-size: 7px;
        line-height: 1.2;
        padding: 16px 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ad-content {
    animation: fadeInUp 0.8s ease-out;
}

.family-section {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}