@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --black-3: rgba(0, 0, 0, 0.3);
    --black-5: rgba(0, 0, 0, 0.5);
    --white: white;
}

/* COLORS */
.hero-title, .newsletter-title, .how-it-works-title, .hero-title-h3, .hero-subtitle
{
    color: rgb(248, 249, 250);
}

/* BUTTONS */
.cta-button {
    background: linear-gradient(45deg, var(--orange), var(--orange-hover));
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 20px rgba(255, 127, 39, 0.3);
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 127, 39, 0.4);
    color: var(--white);
    text-decoration: none;
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(var(--black-3), var(--black-5));
    position: relative;
}
.hero-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 25px;
    padding: 3.5rem 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 45px;
}
.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 127, 39, 0.05), rgba(255, 127, 39, 0.02));
    pointer-events: none;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.hero-title-h3 {
    text-align: left;
    font-size: 20px;
}
.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* HOW IT WOPRKS SECTION  */
.how-it-works-section .container {
    min-width: 100%;
    max-height:75vh;
}
.how-it-works-container {
    min-width: 90%; 
    margin: 0 auto; 
    background: rgba(0, 0, 0, 0.1);
    overflow: scroll;
}
.how-it-works-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: 700;
}
.how-it-works-block {
    color: var(--white);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 24px; 
    margin-bottom: 0; 
    flex-wrap: nowrap; 
    padding: 10px 40px;
}
.how-it-works-element {
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    height: 290px;
}
.how-it-works-element .element-title {
    font-size: 1.05rem; 
    margin-top: 1rem; 
    text-align: center;
    height: 110px;
}
.how-it-works-element a.element-title {
    text-decoration: none;
    color: white;
}
.how-it-works-element .element-text {
    font-size: 0.8rem;
}

.how-it-works-element.step-1 .img-container {
    padding-top: 50px;
}
.how-it-works-element.step-2 .img-container {
    padding-top: 15px;
}
.how-it-works-element.step-3 .img-container {
    padding-top: 57px;
}
.how-it-works-element.step-4 .img-container {
    padding-top: 65px;
}
.how-it-works-section .img-container {
    height: 170px; 
}
.how-it-works-img {
    width: 150px;
    height: auto; 
    object-fit: cover;
}
.how-it-works-block .chevron-separator {
    font-size: 1.8rem; 
    color: var(--orange);
}
.how-it-works-section .scroll-indicator {
    bottom: 7%;
}

 /* ABOUT SECTION  */
.about-section .hero-title  {
    font-size: 30px;
    font-weight: 500;
    text-align: left;
}
.about-section .hero-subtitle  {
    text-align: left;
}
.about-section .hero-content {
    max-width: 90%;
}
.about-section p {
    font-size: 14px !important;
}
.about-section .container {
    max-width: 100%;
}
.about-block {
    flex: 1; 
    display: flex; 
    flex-direction: column;
}
.about-element-left, .about-element-right {
    flex: 1; 
    padding-right: 2.5rem;
    border: 1px solid var(--orange);
    background-color: var(--black-5);
}
.about-block img {
    width: 250px; 
    height: 250px; 
    object-fit: cover; 
    border-radius: 50%; 
    border: 6px solid var(--orange); 
    box-shadow: 0 8px 24px rgba(255,127,39,0.15); 
    background: var(--white);
}
.about-block ul {
    font-size: 14px;
    list-style: none;
    padding-left: 15px;
}
.about-block ul i {
    font-size: 18px;
    color: var(--orange);
}

 /* NEWSLETTER SECTION  */
.newsletter-section {
    background: var(--black-5);
    backdrop-filter: blur(15px);
    margin: 3rem auto;
    max-width: 650px;
    padding: 2.5rem;
    margin-bottom: 80px;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--black-3);
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 127, 39, 0.03), rgba(255, 127, 39, 0.01));
    pointer-events: none;
}
.newsletter-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}
.newsletter-section p {
    color: var(--white);
    font-size: 14px; 
    text-align: left;
}
.btn-newsletter {
    background: linear-gradient(45deg, #ee6e13ff, #f15d079d);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
}
.btn-newsletter:hover {
    background: linear-gradient(45deg, #f15d079d, #ee6e13ff);
    transform: translateY(-1px);
}

/* FORMS */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}
.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 127, 39, 0.25);
}

/* SUCCESS - ERRORS */
.alert {
    border-radius: 10px;
    border: none;
    margin-bottom: 1rem;
}
.alert-success {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: var(--white);
}
.alert-error {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* SCROLL INDICATOR */
.scroll-indicator {
    animation: bounceScroll 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(255, 127, 39, 0.3));
    color: var(--white);
    position: absolute;
    bottom: 4%;
    left: calc(50% - 25px);
    font-size: 50px;
}
.scroll-indicator:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(255, 127, 39, 0.5));
    color: var(--orange) !important;
}
@keyframes bounceScroll {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}
.scroll-indicator::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    animation: pulse 2s ease-in-out infinite;
}


/* ********************************* */
/************ Responsive ************/
/* ********************************* */

/* RESPONSIVE - TABLETTE */
@media (max-width: 768px) {
    /* HERO SECTION */
    .hero-section {
        min-height: 80vh;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-section .container {
        max-width: 768px;
    }
    .hero-title-h3 {
        font-size: 20px;
        text-align: center;
    }
    .scroll-indicator.hero-scroll {
        bottom: 9%;
    }
    
    /* HOW IT WOPRKS SECTION  */
    .how-it-works-block {
        flex-wrap: wrap;
    }
    .how-it-works-section {
        padding: 4rem 1.5rem;
    }

    .scroll-indicator {
        font-size: 40px !important;
    }

    /* ABOUT SECTION  */
    .about-block img {
        width: 200px;
        height: 200px;
    }

    .about-element-left, .about-element-right {
        flex: none; 
        border-top: 1px solid var(--orange);
    }
    .about-section .img-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .about-block .row:first-child {
        margin-bottom: 0;
    }

     /* NEWSLETTER SECTION  */
    .newsletter-section {
        margin: 1rem;
        padding: 1.5rem;
        margin-bottom: 100px;
    }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 575.98px) {
    /* HERO SECTION */
    .hero-content {
        padding: 2.5rem 1.5rem; 
        max-width: 98%; 
    }
    .hero-title {
        font-size: 1.8rem; 
    }
    .hero-title-h3 {
        font-size: 1.2rem; 
    }
    .hero-subtitle {
        font-size: 1rem; 
    }

    /* HOW IT WOPRKS SECTION  */
    .how-it-works-block {
        flex-direction: column; 
        gap: 20px; 
        padding: 10px 5px; 
    }
    .how-it-works-title {
        font-size: 1.5rem; 
    }
    .how-it-works-element {
        height: auto; 
        min-height: 180px; 
    }
    .how-it-works-section .container {
        padding: 0 2px; 
        max-height: none; 
    }
    .how-it-works-title .bi::before {
        width: 100%;
        margin-bottom: 25px;
    }
    .how-it-works-element .element-title {
        height: auto;
    }
    .how-it-works-element.step-1 .img-container, .how-it-works-element.step-2 .img-container, .how-it-works-element.step-3 .img-container, .how-it-works-element.step-4 .img-container {
        padding-top: 0;
        height: auto;
    }
    .chevron-separator {
        transform: rotateZ(90deg) scale(1.5,1.5);
    }
    .how-it-works-section .scroll-indicator {
        bottom: 2%;
    }
    
    /* ABOUT SECTION  */
    .about-block .row:first-child {
        flex-direction: column-reverse;
    }
    .about-section .img-container {
        padding-top: 0;
    }
    .about-section .hero-title {
        font-size: 1.6rem;
        text-align: center;
    }
}