.contact-container{
    margin-top: 150px;
    background-color: var(--section-bg-color);
    padding: 2rem;
}

/* main title */
.main-sub-title{
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.main-sub-title img{
    width: 24px;
    height: 24px;
}
.main-title{
    font-weight: 700;
    font-size: 28px;
    color: var(--light-theme-color);
    text-align: center;
    text-transform: capitalize;
}
.main-title h1{
    margin: 0.5rem 0 2rem 0;
}
.margin-top-hr{
    margin-top: 5%;
}

/* Card */
.card{
    padding: 3rem 0;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    width: 70%;
    margin: auto;
    box-sizing: border-box;
    background-color: var(--white-color);
    padding: 0.5rem;
    border-radius: 32px;
    box-shadow: 0px 5px 20px rgba(213, 70, 80, 0.6);
}
.sub-card-one{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.card-sub-wrapper{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.card-sub-wrapper p{
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--dark-theme-color);
}
.card-sub-wrapper img{
    width: 24px;
    height: 24px;
}

.card-main-title{
    font-weight: 700;
    font-size: 30px;
    text-transform: capitalize;
    color: var(--light-theme-color);
}
.card-info p{
    font-weight: 400;
    font-size: 15px;
    color: #000000;
    text-align: justify;
}
.sub-card-two{
    width: 80%;
    height: 100%;
    border-radius: 32px;
    background-color: var(--dark-theme-color);
    padding: 2rem;
    box-sizing: border-box;
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: left;
    position: relative;
}
.sub-card-two img{
    width: 90%;
    border-radius: 46px;
}

.card-left-title{
    margin: 1rem;
}
.card-left-title p{
    font-size: 14px;
}
.contact-details{
    margin: 1rem;
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.contact-socials{
    margin: 1rem;
}
.contact-socials a{
    text-decoration: none;
    margin-right: 1rem;
    font-size: 18px;
    color: var(--white-color);
    transition: color 0.5s;
}
.contact-socials a:hover{
    color: var(--light-theme-color);
}
.contact-sub-details{
    display: flex;
    align-items: center;
    margin: 1rem 0;
}
.contact-sub-details i{
    font-size: 25px;
    color: #DB4242;
    margin-right: 1rem;
}

/* Contact Form */
.contact-form{
    margin: 1rem;
    box-sizing: border-box;
}
.contact-sub-form{
    display: flex;
    margin-bottom: 2rem;
}
.contact-vertical{
    margin-right: 1rem;
}
.contact-vertical p{
    color: var(--dark-theme-color);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 0.5rem;
    text-align: left;
} 
.contact-vertical input,.contact-vertical textarea{
    border: none;
    outline: none;
    border-bottom: 3px solid var(--dark-theme-color);
    font-size: 18px;
}  
.mail{
    width: 97%;
    margin-bottom: 2rem;
}
.mail p, .mail input, .contact-message textarea{
    width: 100%;
}
.peacock-img{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100px !important;
}


/* Button */
.btn-send-message-div {
    width: fit-content;
    border-radius: 8px;
    background-color: var(--dark-theme-color);
    box-sizing: border-box;
    margin-top: 1rem;
    /* position: absolute; */
    /* align-items: center;
    justify-content: center; */
    /* gap: 20px; */
}
.btn-send-message-div:hover {
    animation: 0.2s ease-in-out 0s 1 normal forwards shadow-pop-tr;
    opacity: 1;
}
.btn-send-message-div input{
    background-color: transparent;
    font-size: 14px;
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px 18px;
}
.btn-send-message-div input:hover{
    animation: 0.2s ease-in-out 0s 1 normal forwards jello-horizontal;
}
  @keyframes jello-horizontal {
    0%,
    to {
      transform: scale3d(1, 1, 1);
    }
    30% {
      transform: scale3d(1.25, 0.75, 1);
    }
    40% {
      transform: scale3d(0.75, 1.25, 1);
    }
    50% {
      transform: scale3d(1.15, 0.85, 1);
    }
    65% {
      transform: scale3d(0.95, 1.05, 1);
    }
    75% {
      transform: scale3d(1.05, 0.95, 1);
    }
  }

  /* Pooja Course */
  .pooja-course-cont{
    padding: 0;
  }
  .pooja-course-main{
    padding: 3rem;
    margin: 1rem;
  }
  .pooja-img{
    justify-self: flex-end;
    border-radius: 0 32px 32px 0;
  }
  .pooja-img img{
    width: 50%;
    margin: auto;
  }
 
  .pooja-course-title{
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    text-transform: capitalize;
    color: var(--dark-theme-color);
  }
.pooja-course p{
    margin: 1rem 0;
}
.pooja-course-info{
font-size: 14px;
color: var(--light-theme-color);
}
.pooja-course-main{
    text-align: left;
}
/* Media Queries */
@media (max-width:1200px){
    .card{
        width: 90%;
    }
}

@media (max-width:1000px) {
    .card{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: stretch;
        gap: 1rem;
    }
    .sub-card-two{
        width: 100%;
    }
    .pooja-course-cont{
        flex-direction: column-reverse;
    }
    .pooja-img{
        border-radius: 32px 32px 0 0;
    }
    .margin-top-hr{
        margin-top: 10%;
    }
}

@media (max-width:610px) {
    .contact-form{
        width: 100%;
    }
    .contact-sub-form{
        flex-direction: column;
    }
    .contact-vertical{
        margin: 1rem 0 0 0;
    }
    .contact-vertical input,.contact-vertical textarea{
        width: 90%;
    }
    .mail{
        margin-bottom: 1rem;
    }
    .sub-card-one{
        width: 100%;
    }
}
@media (max-width:420px){
    .contact-container{
        padding: 2rem 0;
    }
}
