/* Benefits Page Custom Styles */

:root {
    --accent-yellow: #CAA554;
}

.benefits-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #01321E;
    /* Fallback */
    padding: 80px 0;
}

/* Background Image with backInRight Animation */
.benefits-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/benifits-page/hero-banner.png') no-repeat right center;
    background-size: cover;
    z-index: 1;
}

/* Content Container relative to background */
.benefits-hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

/* Badge Styling */
.benefits-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-yellow);
    border-radius: 50px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.benefits-badge .badge-tag {
    background-color: var(--accent-yellow);
    color: #000;
    padding: 2px 10px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.benefits-badge .badge-text {
    color: #fff;
    font-weight: 400;
}

/* Headline Styling */
.benefits-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
}

/* Paragraph Styling */
.benefits-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.30rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 600px;
}

/* Reveal Animations */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.reveal-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* backInRight Animation Keyframes */
@keyframes backInRight {
    0% {
        transform: scale(0.7) translateX(1000px);
        opacity: 0.7;
    }

    80% {
        transform: scale(0.7) translateX(0);
        opacity: 0.7;
    }

    100% {
        transform: scale(1) translateX(0);
        opacity: 1;
    }
}

/* Responsive Scaling */
@media (max-width: 1400px) {
    .benefits-title {
        font-size: 4rem;
    }
}

@media (max-width: 1200px) {
    .benefits-title {
        font-size: 3.5rem;
    }

    .benefits-hero {
        min-height: 450px;
    }
}

@media (max-width: 991px) {
    .benefits-hero {
        text-align: center;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .benefits-hero-content {
        margin: 0 auto;
    }

    .benefits-hero-bg {
        background-position: center;
        /* Increase dark gradient for legibility over background on small screens */
        background: linear-gradient(rgba(1, 45, 26, 0.85), rgba(1, 45, 26, 0.7)),
            url('../assets/benefits/benefits-hero-bg.png') no-repeat center center;
        background-size: cover;
    }

    .benefits-title {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .benefits-title {
        font-size: 2.25rem;
    }

    .benefits-desc {
        font-size: 1rem;
    }

    .benefits-hero {
        min-height: 400px;
    }
}

/* Key Health Benefits Section */
.health-benefits-section {
    padding: 60px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.badge-scientific {
    display: inline-block;
    color: #CAA554;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    padding: 0 40px;
}

.badge-scientific::before,
.badge-scientific::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: #CAA554;
}

.badge-scientific::before {
    left: 0;
}

.badge-scientific::after {
    right: 0;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #01321E;
    margin-bottom: 20px;
}

.section-title span {
    color: #CAA554;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Featured Science Banner */
.science-banner {
    background: url('../assets/benifits-page/key-health.png') no-repeat center center;
    background-size: cover;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    margin-bottom: 50px;
    color: #fff;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.banner-badge {
    color: #CAA554;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

.banner-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    max-width: 80%;
}

.banner-desc {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 900px;
    margin-bottom: 0;
}

/* Benefit Cards Grid */
.benefit-card {
    border: 1px solid #CAA5541F;
    background-color: #F7F5F0;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
    cursor: default;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.benefit-card:hover {
    background-color: #01321E;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(1, 50, 30, 0.15);
}

.card-icon-wrapper {
    background-color: #CAA5541A;
    min-width: 130px;
    width: 130px;
    height: 130px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.benefit-card:hover .card-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
}

.card-icon-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.card-content {
    flex-grow: 1;
}

.card-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #01321E;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.benefit-card:hover .card-content h3 {
    color: #fff;
}

.card-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    transition: color 0.4s ease;
}

.benefit-card:hover .card-content p {
    color: rgba(255, 255, 255, 0.9);
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    font-size: 0.9rem;
    color: #444;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    transition: color 0.4s ease;
}

.benefit-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #CAA554;
    font-weight: bold;
}

.benefit-card:hover .benefit-list li {
    color: rgba(255, 255, 255, 0.85);
}

/* Scroll Animations */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments for benefits section */
@media (max-width: 1200px) {
    .section-title {
        font-size: 3rem;
    }

    .card-icon-wrapper {
        width: 110px;
        height: 110px;
        min-width: 110px;
    }

    .benefit-card {
        padding: 30px;
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .health-benefits-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .banner-title {
        font-size: 1.8rem;
        max-width: 100%;
    }

    .benefit-card {
        flex-direction: column;
    }

    .card-icon-wrapper {
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .science-banner {
        padding: 30px;
        text-align: center;
    }
}

/* Dual Fiber Architecture Section */
.dual-fiber-section {
    padding: 60px 0 60px;
    background-color: #FBF9F4;
    /* Light creamy background */
    position: relative;
    overflow: hidden;
}

.fiber-swap-container {
    margin-top: 50px;
}

.fiber-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 45px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    border: 1px solid rgba(202, 165, 84, 0.1);
    position: relative;
    overflow: hidden;
}

.fiber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card-header-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.fiber-badge {
    background-color: #CAA5541A;
    color: #CAA554;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid #CAA55433;
    transition: all 0.4s ease;
}

.fiber-card.active .fiber-badge {
    background-color: #CAA554;
    color: #01321E;
}

.fiber-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #01321E;
    margin: 0;
    transition: color 0.4s ease;
}

.fiber-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 35px;
    transition: color 0.4s ease;
}

.fiber-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fiber-list-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #CAA5541A;
    transition: all 0.4s ease;
}

.fiber-list-item:last-child {
    border-bottom: none;
}

.fiber-list-item .dot {
    width: 6px;
    height: 6px;
    background-color: #CAA554;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.fiber-list-item .label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #01321E;
    flex: 0 0 200px;
    transition: color 0.4s ease;
}

.fiber-list-item .separator {
    color: #666;
    margin-right: 15px;
    opacity: 0.5;
    transition: color 0.4s ease;
}

.fiber-list-item .value {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #555;
    transition: color 0.4s ease;
    line-height: 1.4;
}

/* Active State Colors */
.fiber-card.active {
    background-color: #01321E;
    color: #fff;
    border-color: #01321E;
}

.fiber-card.active h3,
.fiber-card.active .fiber-meta,
.fiber-card.active .fiber-list-item .label,
.fiber-card.active .fiber-list-item .value {
    color: #fff;
}

.fiber-card.active .fiber-meta {
    opacity: 0.8;
}

.fiber-card.active .fiber-list-item .value {
    opacity: 0.9;
}

.fiber-card.active .fiber-list-item .separator {
    color: #fff;
    opacity: 0.3;
}

.fiber-card.active .fiber-list-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .fiber-card {
        padding: 30px;
    }

    .fiber-list-item .label {
        flex: 0 0 140px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .fiber-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .fiber-list-item .label {
        flex: none;
    }

    .fiber-list-item .separator {
        display: none;
    }

}

/* Section 4: Promotional Banner Styles */
.benefits-promo-section {
    width: 100%;
    overflow: hidden;
}

.promo-img-wrapper {
    width: 100%;
}

.promo-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}