/* defualt config */
:root {
    --heading-color: #1E40AF;
    --green-color: #0f9597;
    --orange-color: rgb(234 88 12);
    --white-color: #fff;
    --shadow-color:#c1c1c1
    --lightGreen-color:rgba(16,185,129) 
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    line-height: 1.5;
    font-family: 'Roboto';
}

body{
    min-height: 100vh;
}

section{
    max-width: 1300px;
    margin: 0 auto;
}

/* heading styles */
.border{
    border-top: var(--green-color) 10px solid;
}

.heading-container{
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.heading-container>img{
    width: 32px;
    height: 32px;
}

.heading{
    color: var(--heading-color);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
}

/* main content */
.main-content{
    min-height: 100vh;
    padding: 1rem;   
    text-align: center; 
    width: 760px;
    margin: 0 auto;
}

.content{
    padding: 2rem;
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    text-transform: capitalize;
    display: inline-block;
}

.copyright{
    font-size: 0.9rem;
}

.search{
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 400;
    margin: 0 auto 1rem;
}

.enroll{
    margin-bottom: 2rem;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}

.enroll-2{
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}

.interest{
    font-size: 1.3rem;
    line-height: 2rem;
    font-weight: 700;
}

.button-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

button{
    background-color: var(--orange-color);
    font-weight:700;
    font-size:24px;
    color: var(--white-color);
    padding: 15px;
    border-radius: 12px;
    border: none;
    max-width: 450px;
    width: 100%;
    margin: 0 auto 20px;
    animation: pulse 1s infinite;
}

.no-animation{
    animation: none;
    width: 100%;
    max-width: 100%;
    padding: 24px 16px !important;
    border-radius: 5px;
}

.tap{
    font-weight: 300;
}

/* Define keyframes for the pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Footer */
footer{
    background-color: var(--green-color);
    color: var(--white-color);
}

.footer-container{
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 1rem;
}

.footer-content{
    text-align: left;
    padding: 1rem 0 0 0;
    width: 690px;
    font-size: 14px;
    font-weight: 300;
}

a{
    width: 100%;
    display: inline-block;
    color: var(--orange-color);
    text-align: left !important;
    text-decoration: none;
}

.footer-policy-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14rem;
    margin-top: 1rem;
    font-weight: 300;
}


/* modal structures */
/* Button styles */
.button-container button {
    background-color: var(--orange-color, #ffa500);
    font-weight: 700;
    font-size: 24px;
    color: var(--white-color, #ffffff);
    padding: 15px;
    border-radius: 12px;
    border: none;
    max-width: 450px;
    width: 100%;
    margin: 0 auto 20px;
    cursor: pointer;
}

/* Modal styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.5); 
}

.modal-content {
    background-color: #ffffff; 
    margin: 15% auto; 
    padding: 30px; 
    border-radius: 10px; 
    width: 80%; 
    max-width: 500px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative; 
    text-align: center; 
}

.close {
    color: #aaa; 
    position: absolute; 
    top: 10px; 
    right: 20px; 
    font-size: 28px; 
    font-weight: bold; 
    cursor: pointer; 
}

.close:hover,
.close:focus {
    color: #000; 
    text-decoration: none; 
}

.icon {
    font-size: 48px; 
    color: #f44336; 
    display: block; 
    margin-bottom: 10px;
}

/* answer reviews */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #007aff; 
    border-radius: 8px; 
    padding: 20px;
    width: fit-content;
    margin: 0 auto; 
}

.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px; 
}

.dot {
    width: 10px;
    height: 10px;
    margin: 0 4px; 
    border-radius: 50%; 
    display: inline-block;
    animation: blink 1s infinite alternate; 
}

.dot:nth-child(1) { animation-delay: 0s; background-color: red }
.dot:nth-child(2) { animation-delay: 0.2s; background-color: purple }
.dot:nth-child(3) { animation-delay: 0.4s; background-color: green }
.dot:nth-child(4) { animation-delay: 0.6s; background-color: orange }

.loading-text {
    font-size: 18px;
    font-weight: 700; 
    color: #000;
}

@keyframes blink {
    0%, 100% { opacity: 0.2; } 
    50% { opacity: 1; }
}

.review-container{
    margin-top: 20px;
    min-height: 100vh;
}

.loader-container{
    display: flex;
    flex-direction: row;
    padding: 30px 100px;
    justify-content: center;
    align-items: baseline;
    gap: 2rem;
}

.text-container{
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #007aff; 
    border-radius: 8px; 
    padding: 20px;
    width: fit-content;
    margin: 0 auto; 
    width: 700px;
}

.green{
    color: rgba(16,185,129);
    font-weight: 700;
    
}

.eligible{
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.75;
}

/* media queries */
    @media (max-width:763px) {
        .main-content{
            width: 100%;
            margin: 0;
            padding: 0;
        }
        .footer-content{
            width: 100%;
        }
    }

     @media (max-width:700px) {
        .text-container{
            width: 100%;
            padding: 0 10px;
        } 
        .loader-container{
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        .review-container{
            width: 100%;
            padding: 0 10px;
        } 
     }   

    @media (max-width: 540px) {
      .button-container{
        padding: 0 10px;
      }
      .no-animation{
        margin-top: 15px;
      }  
    }

    @media (max-width: 460px) {
        .footer-policy-container{
            gap: 4rem;
        }
        .heading{
            font-size: 1.25rem;
        }
        .interest{
            font-size: 1.25rem;
        }
        .content{
            font-size: 1.75rem;
        }
        .search{
            font-size: 1rem;
        }
    }
