@import './config.css';

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    overflow-x: hidden;
}

/* Header */
.header{
    padding: 10px 30px;
    background-color: var(--primary-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-text{
    color: var(--primary-yellow);
    font-family: var(--heading-font);
}

.header-logo{
    height: 68px;
    width: 250px;
    object-fit: contain;
}

/* DONATION BOX */
.container{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 40px;
}

.donation-box{
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
    width: 50vw;
    min-height: 80vh;
    border-radius: 7px;
}

.box-body{
    margin-bottom: 50px;
    display: none;
}

.active-step{
    display: initial;
}

/* TOP DONATION BOX */
.current-step{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding:30px;
    background-color: var(--primary-blue);
    border-radius: 7px 7px 0 0;
    transition: all 250ms;

}

.step-circles{
    display: flex;
    transition: all 250ms;
}

.active-circle{
    background-color: var(--primary-yellow);
    transition: all 250ms;
}

.circle{
    width:15px;
    height: 15px;
    border-radius: 50%;
    border: solid 2px var(--primary-yellow);
    margin: 0 10px;
}

.step-txt{
    color: #fff;
    font-family: var(--heading-font);
    font-size: 1.3em;
    font-weight: bold;
}

.next-arrow{
    color:#fff;
}

/* FREQUENCY */
.payment-frequency{
    display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
    padding: 20px;
}

.frequency-item{
    text-decoration: none;
    font-family: var(--body-font);
    border: solid 3px var(--primary-blue);
    padding: 15px 30px;
    font-size: 18px;
    color: var(--primary-yellow);
}

.frequency-item:nth-child(1){
    border-radius: 7px 0 0 7px;
}
.frequency-item:nth-child(2){
    border-radius: 0 7px 7px 0;
}

.active-frequency{
    color:#fff;
    background-color: var(--primary-blue);
    transition: all 250ms;
}

/* AMOUNT BOXES */
.payment-amounts{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
    margin: 10px 0;
    gap: 15px;
    padding: 20px;

}

/* AMOUNT BOXES */
.amount{
    text-decoration: none;
    font-family: var(--body-font);
    font-size: 18px;
    border: solid 2px var(--primary-blue);
    border-radius: 7px;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
    color: #000;
    transition: all 250ms;
}

.active-amount{
    background-color: var(--primary-blue);
    color:#fff !important;
}

/* CUSTOM AMOUNT */
.custom-amount{
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.custom-label{
    font-family: var(--body-font);
    font-size: 18px;
    margin-bottom: 10px;
}

#custom{
    padding: 10px 20px;
    border-radius: 7px;
    border:solid 2px var(--primary-blue);
    transition: all 250ms;
}

#custom:focus{
    outline: 0;
    box-shadow: rgba(3, 102, 214, 0.3) 0px 0px 0px 3px;
    border:2px solid transparent;
}

/* DONATION MESSAGE */
.suprise-message{
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    padding:20px;
}

#suprise{
    padding: 10px 20px;
    border-radius: 7px;
    border:solid 2px var(--primary-blue);
    transition: all 250ms;
    min-height: 100px;
}

#suprise:focus{
    outline: 0;
    box-shadow: rgba(3, 102, 214, 0.3) 0px 0px 0px 3px;
    border:2px solid transparent;
}

/* --- STEP 2 --- */

.personal-details-form{
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
}

.input-direct{
    min-width:45vw;
    padding: 10px 25px;
    border-radius: 7px;
    border: 0;
    font-family: var(--body-font);
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    transition: all 250ms;
}

.input-direct:focus{
    outline: 0;
    box-shadow: rgba(3, 102, 214, 0.3) 0px 0px 0px 3px;
}

.form-item{
    display: flex;
    flex-direction: column;
    margin: 15px 0;

}

.form-row{
    display: flex;
    column-gap: 15px;
}

.ri{
    min-width: 22vw !important;
}

#social{
    margin-bottom: 50px;
}

/* -- STEP 3 -- */
.donation-summary-box {
  width: 50vw;
  margin: 0 auto;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}

.donation-summary-header {
  background-color: var(--primary-blue);
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.donation-summary-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
}

.donation-summary-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eaeaea;
}

.donation-summary-table tr td:first-child {
  background-color: #f4f8fc;
  font-weight: bold;
  color: #333;
  width: 40%;
}

.donation-summary-table tr:last-child td {
  border-bottom: none;
}

/* CHECKLIST ITEMS */
.check-list-form{
    padding: 20px;
    margin-bottom: 50px;
}
.check-list-item{
    display: flex;
    gap: 15px;
    margin: 10px 0;
}

.checkbox-txt{
    font-family: var(--body-font);
}

.terms-link{
    color: var(--primary-blue)
}

/* STEPS */
.hidden-step{
    opacity: 0;
    display: none;
    transition: all 250ms;
}

/* BOTTOM FORM BTN */
.next-btn{
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--primary-blue);
    font-family: var(--heading-font);
    color:#fff;
    font-size: 1.2em;
    padding: 10px 20px;
    border-radius: 0 0 7px 7px;
    border: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* DONATION INFO */
.donation-info{
    width: 50vw;
}
.info-img{
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.donation-par{
    font-family: var(--body-font);
    line-height: 1.6em;
    margin: 10px 0;
}

footer{
    width: 100%;
    min-height: 10vh;
    background-color: var(--primary-blue);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-items{
    list-style: none;
display: flex;
}

.footer-link{
    font-family: var(--body-font);
    color: var(--primary-yellow);
    margin: 0 15px;
    font-size: 18px;
}


footer h3{
     color:#fff;
    font-family: var(--heading-font);
}

.youtube-section{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    background-color: #f4f4f4;
    padding: 30px;
}

/* width="560" height="315" */
.youtube-video{
    min-width: 560px;
    min-height: 315px;
}

.youtube-video-heading{
    font-family: var(--heading-font);
    color: var(--primary-blue);
    font-size: 2em;
}

.divider{
    width: 120px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin: 12px 0;
}

/* TRUSTED PARTNERS */
.trusted-partners-section{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary-yellow);
    margin: 50px 0;
    width: 100%;
    padding: 30px;
}

.trusted-partners-heading{
font-family: var(--heading-font);
    color: #fff;
    font-size: 2em;
}

.brand-logo{
    height: 150px;
    /* width:100%; */
    margin: 0 50px;
    object-fit: contain;
}

/* ENDORESEMENT SECTION */
.endorsed-section{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 30px;
    padding: 30px;
}

.woman-img{
    width: 500px;
    height: 500px;
    object-fit: contain;
}

.woman-info{
    max-width: 600px;
}

.women-info-heading{
    font-family: var(--heading-font);
    color: var(--primary-blue);
    font-size: 2em;
}

.woman-desc{
    line-height: 1.6em;
    font-family: var(--body-font);
    margin: 15px 0;   
}

.woman-link{
    background-color: var(--primary-blue);
    color:#fff;
    padding: 10px 20px;
    border-radius: 7px;
    margin: 15px 0;
    font-family: var(--body-font);
    font-weight: bold;
    display: block;
    text-decoration: none;
    transition: all 250ms;
}

.woman-link:hover{
    background-color: var(--primary-yellow);
    scale: 1.1;
}

/* RESPONSIVE */
@media(max-width: 880px){
    .container{
        flex-direction: column;
    }

    .donation-box{
        width: 100%;
    }

    .donation-info{
    width: 100%;
}

.donation-summary-box{
    width:100%;
}

.endorsed-section{
   flex-direction: column-reverse;
}


.woman-info{
text-align: center;
}

}

@media(max-width:530px){
    .form-row{
        flex-direction: column;
    }

    .input-direct, .ri{
        min-width: 300px !important;
    }
}

@media(max-width:650px){
    footer{
        flex-direction: column;
    }

    .footer-items{
        flex-direction: column;
        align-items: center;
    }

    .header{
        display: flex;
        flex-direction: column;
    }

    .youtube-video{
        min-width: 100%;
        min-height: 215px;
    }
    
.woman-img{
    width: 300px;
    height: 60%;
    object-fit: contain;
}
}