/**
 * CO2 Calculator - Banner Styles
 */

/* Banner Container */
.co2-banner {
    padding: 50px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

/* Title */
.co2-banner__title {
    color: #ffffff !important;
    font-size: 60px !important;
    font-weight: bold;
    margin-bottom: 10px;
}

.co2-banner__subtitle {
    color: #fff;
    font-size: 30px;
    margin-bottom: 50px;
}

/* Steps Container */
.co2-banner__steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
    position: relative;
}

/* Connecting Line */
.co2-banner__steps::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 5px;
    right: 0;
    height: 2px;
    background-color: #fff;
    z-index: 1;
    width: 97%;
}

/* Individual Step */
.co2-banner__steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto 40px;
    position: relative;
}
.co2-banner__step {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
}

/* Step Icon Circle */
.co2-banner__icon {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: #1a365d;
}



/* Step Number */
.co2-banner__number {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.co2-banner__number-circle {
    width: 55px;
    height: 55px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    color: var(--Dark-Blue);
    min-width: 55px;
}

.co2-banner__number-text {
    color: #ffffff;
    font-size: 24px;
    text-align: left;
}

.co2-banner__number-text strong {
    font-weight: bold;
}

/* Description Text */
.co2-banner__description {
    color: #fff;
    font-size: 24px;
    text-align: center;
    max-width: 100%;
    margin: 0 auto 0px;
    line-height: normal;
    margin-top: 70px;
    margin-bottom: 70px;
}

.co2-banner__description strong {
    color: #ffffff;
    font-weight: bold;
}

.co2-banner__description u {
    text-decoration: underline;
}
.co2-banner__description a , .co2-banner__description a:hover {
    text-decoration: underline;
    color: #ffffff;
    font-size: 24px;
}

/* CTA Button */
.co2-banner__cta {
    display: inline-block;
    background-color: #10b981;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

.co2-banner__cta:hover {
    background-color: #059669;
}

/* Responsive */
@media (max-width: 992px) {
    .co2-banner__steps {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .co2-banner__steps::before {
        display: none;
    }
    
    .co2-banner__step {
        flex: 0 0 calc(33.333% - 20px);
    }
    
    .co2-banner__title {
        font-size: 36px;
    }
    
    .co2-banner__subtitle {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .co2-banner {
        padding: 30px 15px;
    }
    
    .co2-banner__step {
        flex: 0 0 calc(50% - 15px);
    }
    
    .co2-banner__icon {
        width: 80px;
        height: 80px;
    }
    
    .co2-banner__icon svg {
        width: 40px;
        height: 40px;
    }
    
    .co2-banner__title {
        font-size: 28px;
    }
    
    .co2-banner__subtitle {
        font-size: 16px;
    }
    
    .co2-banner__cta {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* ========================================
   CO2 Modal Styles
   ======================================== */

/* Modal Overlay */
.co2-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.co2-modal.active {
    display: block;
}

.co2-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 54, 93, 0.8);
}

/* Modal Container */
.co2-modal__container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Close Button */
.co2-modal__close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e2e8f0;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a365d;
    transition: background-color 0.3s ease;
}

.co2-modal__close:hover {
    background-color: #cbd5e0;
}

/* Modal Content - 3 Columns */
.co2-modal__content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Individual Step */
.co2-modal__step {
    background-color: #f7fafc;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Step Badge */
.co2-modal__step-header {
    margin-bottom: 20px;
}

.co2-modal__step-badge {
    display: inline-block;
    background-color: #1a365d;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
}

.co2-modal__step-badge--result {
    background-color: #1a365d;
}

/* Question */
.co2-modal__question {
    color: #1a365d;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Yes/No Buttons */
.co2-modal__buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.co2-modal__btn {
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.co2-modal__btn--yes {
    background-color: #10b981;
    color: #ffffff;
    border: none;
}

.co2-modal__btn--yes:hover,
.co2-modal__btn--yes.active {
    background-color: #059669;
}

.co2-modal__btn--no {
    background-color: #1a365d;
    color: #ffffff;
    border: none;
}

.co2-modal__btn--no:hover,
.co2-modal__btn--no.active {
    background-color: #2d4a7c;
}

/* Counter */
.co2-modal__counter {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.co2-modal__counter-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #1a365d;
    background-color: transparent;
    color: #1a365d;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.co2-modal__counter-btn:hover {
    background-color: #1a365d;
    color: #ffffff;
}

.co2-modal__counter-value {
    font-size: 32px;
    font-weight: bold;
    color: #1a365d;
    min-width: 50px;
}

/* Images */
.co2-modal__image {
    margin-top: auto;
}

.co2-modal__image img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

/* Recommendation */
.co2-modal__recommendation {
    color: #1a365d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.co2-modal__recommendation strong {
    color: #10b981;
}

/* Add to Cart Button */
.co2-modal__cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #10b981;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.co2-modal__cart-btn:hover {
    background-color: #059669;
}

.co2-modal__cart-icon {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .co2-modal__content {
        grid-template-columns: 1fr;
    }
    
    .co2-modal__container {
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
}