
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
    scroll-behavior: smooth;
    transition: var(--trance);
}

:root {
    /* --primary: #7F56D9; */
    /* --primary:  #2ECA7F; */
    /* --primary:  crimson; */
    --primary: #1C8E5A;
    --secondary: #F4EBFF;
    --text-primary: #101828;
    --text-secondary: #667085;
    --badge-bg: #ECFDF3;
    --badge-text: #027A48;
    --white: #fff;
    --dropdown-bg: rgb(252, 253, 251);
    --shadow: rgba(32, 7, 65, 0.14);
    --container: 124rem;
    --nav-height: 10rem;
    --trance: all .5s linear;
    --main-color:#002147;
}

body:not(.dark-mode) {
    --background-color: #FFFFFF;
    --color: #1e272e;
    --nav-color:#fff;
    ---text:#6e6b6b;
    ---lightbg: #F2F8F1;
     --MsecBg: #E5F3ED;
}

.dark-mode {
    --background-color: #1e272e;
    --color: rgb(241, 242, 246);
    --nav-color:#161d22; 
    ---text:#b3aeae;
    ---lightbg: #2a2a33;
     --MsecBg: #4141419a;
}


html {
    /* font-family: 'Inter', sans-serif; */
    font-family: "Chakra Petch", sans-serif;
    font-size: 62.5%;
    font-style: normal;
    box-sizing: border-box;
    background-color: var(--background-color);
    transition: var(--trance);
    overflow-x: hidden;
}

body {
    font-size: 1.6rem;
    box-sizing: border-box;
    background-color: var(--background-color);
    transition: var(--trance);
    overflow-x: hidden;
}

body::-webkit-scrollbar{
    display: none;
}

/* .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 2rem .8rem; 
     position: relative;
     /* height: 100vh; 
} */

.info{
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    background-color: var(--primary);
    position: fixed;
    z-index: 1000;
}

.info-data, .data{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    color: #fff;
}

.phone-icon{
    cursor: pointer; 
    display: none;
    z-index: 1000;
    
}

.phone-icon i{
 font-size: 1.9rem;
 color: var(--color);
}



.main-class{
    color: var(--primary);
    font-weight: 600;
}

.navigation {
    padding: 30px 40px;
    position:absolute;
    top: 7.5%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    background: var(--nav-color);
    box-shadow: 2px 2px 3px 0px lightblue;
    z-index: 999;
}

.logo img{
    margin-top: 10px;
    width: 8.5rem;
    height: 6.5rem;
    border-radius: 5px;
}

.nav_list {
    display: inline-flex;
    gap: 2rem;
    align-items: center;
    margin: 0 1.5rem;
    font-size: 1.9rem;
}

.nav_link .nav-active{
    color: var(--primary);
    transition: var(--trance);
    font-weight: 500;
}

.nav_link .nav-active:hover{
    color: transparent;
}

.nav_action {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav_link,
.btn {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--color);
    font-size: 1.9rem;
    transition: var(--trance);
}

.nav_link:hover{
    color: transparent;
}
.nav_action{
    display: flex;
    align-items: center;
    gap: 25px;
}
.nav_action .btn{
    color: var(--primary);
    font-weight: 600;
}

.nav_action a{
     padding: 11px 12.6px;
    border-radius: 50%;
    background-color: var(--color);
}

.nav_action .btn:hover{
    color: transparent;
}

/* Drak Mode Btn */


label{
    display: inline-flex;
    color: var(--white);
    background: var(--primary);
    font-weight: 500;
    padding: 11px 12.5px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav_action input{
    position: absolute;
    opacity: 0;
}

.sun{
    position: absolute;
    font-size: 2.2rem;
    color: #fff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5));
    transform: scale(0);
    transition: 1s ease;
}

input:checked~.sun{
    transition-delay: .8s;
    transform: scale(1) rotate(360deg);
}

.moon{
    font-size: 2.2rem;
    color: #fff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5));
    transition: 1s ease;
    transition-delay: .8s;
}

input:checked~.moon{
    transition-delay: 0s;
    transform: rotate(360deg) scale(0);
}

.btn-primary {
    display: inline-flex;
    color: var(--white);
    background: var(--primary);
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
}

.nav_toggle {
    cursor: pointer;
    display: none;
}

.nav_toggle ion-icon {
    font-size: 3.5rem;
    color: var(--color);
}

.dropdown {
    position: absolute;
    top: var(--nav-height);
    left: 25%;
    min-width: 40%;
    /* height: 100vh; */
    background: var(--color);
    box-shadow: 0rem 0.2rem 0.5rem var(--shadow);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 0.5s ease-in;
   
}

.dropdown-inner {
    gap: 1rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;

}

.dropdown-item .item-heading{
    color: var(--primary);
}

.nav_list_menu:hover ion-icon {
    transition: all 0.5s ease-in;
    transform: rotate(180deg);
}

.nav_list_menu:hover .dropdown {
    clip-path: polygon(0 0, 100% 0, 100% 102%, 0 102%);
}

.item-list {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    color: var(--background-color);
}

.item-img {
    width: 4.5rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color);
}

.item-img i {
    font-size: 2rem;
    color: var(--primary);
}

.item-list-info {
    position: relative;
    width: 100%;
}

.item-list-info a{
    color: var(--background-color);
    font-weight: 600;
}

.item-list-info p{
    color: var(--primary);
}

.info-badge {
    position: absolute;
    right: 5rem;
    top: 0;
    background-color: #D5F2ED;
    color: #2FBFA7;
    padding: 0.1rem 0.5rem;
    border-radius: 1rem;
}







/* IMAGE SLIDER */



.carousel{
    width: 100vw;
    height: 100vh;
    margin-top: 0px;
    overflow: hidden;
    position: relative;
}

.carousel .list .item{
    width: 180px;
    height: 250px;
    position: absolute;
    top: 85%;
    transform: translateY(-70%);
    left: 70%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background-position: 50% 50%;
    background-size: cover;
    z-index: 100;
    transition: 1s;
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.carousel .list .item:nth-child(3){
    left: 67%;
}

.carousel .list .item:nth-child(4){
    left: calc(67% + 200px);
}

.carousel .list .item:nth-child(5){
    left: calc(67% + 400px);
}

.carousel .list .item:nth-child(6){
    left: calc(67% + 600px);
}

.carousel .list .item:nth-child(n+7){
    left: calc(67% + 800px);
    opacity: 0;
}

.list .item .content{
    position: absolute;
    top: 55%;
    left: 100px;
    transform: translateY(-50%);
    width: 500px;
    text-align: left;
    color: #fff;
    display: none;
}

.list .item:nth-child(2) .content{
    display: block;
}

.content .title{
    font-size: 4vw;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: bold;
    line-height: 1;

    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .name{
    font-size: 3.5vw;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    text-shadow: 3px 4px 4px rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    margin-left: 5px;

    opacity: 0;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
}

.content .btn{
    margin-left: -220px;
    opacity: 0;
    animation: animate 1s ease-in-out 1.2s 1 forwards;
    display: flex;
    gap: 30px;
}

 .content .btn a{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border: 2px solid #fff;
    border-radius: 25px;
}

.content .btn a:nth-child(1){
     background-color:  var(--primary);
    color: #fff;
    border-color:  var(--primary);
    transition: all 0.3s linear;
    font-weight: 600;
}

.content .btn a:nth-child(1):hover{
     background: transparent;
    color: var(--primary);
    border: 2px solid #fff;
}



.content .btn a:nth-child(2){
    background: transparent;
    color: var(--primary);
    border: 2px solid #fff;
    transition: all 0.3s linear;
    font-weight: 600;
}

.content .btn a:nth-child(2):hover{
    background-color:  var(--primary);
    color: #fff;
    border-color:  var(--primary);
}


@keyframes animate {
    
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/* Carousel */






/* next prev arrows */

.arrows{
    position: absolute;
    top: 80%;
    right: 40%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
    transition: var(--trance);
}

.arrows button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color:  var(--primary);
    color: #fff;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
    transition: var(--trance);
}

.arrows button:hover{
    background: #fff;
    color: #000;
}


/* time running */
.carousel .timeRunning{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 4px;
    background-color: var(--color);
    left: 0;
    top: 0;
    animation: runningTime 7s linear 1 forwards;
}

@keyframes runningTime {
    
    from{width: 0%;}
    to{width: 100%;}

}




/* Madrasah Section */

.m-section{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px 0px;
    background-color: var(--MsecBg);
    flex-wrap: wrap;
}

.m-part{
    text-align: center ;
    width: 25%;
    display: flex;
    align-items: center;
    gap: 25px;
}

.m-part .m-img{
    padding: 20px 22px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--trance);
    background-color: var(--primary);
}

.m-part .m-img:hover{
   transform: scale(1.5);
}

.m-part .m-img img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--trance);
}

.m-part h2{
    font-weight: 500;
    color: var(--color);
}





/* welcome Section */

.welcome{
    margin: 5% auto;
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.w-part1{
    width: 45%;
}

.w-part1 h3{
    color: var(--primary);
}

.w-part1 h1{
    margin-top: 10px;
    text-transform: capitalize;
    color: var(--color);
    font-size: 3.8rem;
}

.w-part1 p{
    margin-top: 10px;
    font-weight: 500;
    color: var(--text-secondary);
}

.w-last{
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.w-last .w-img1{
    border-radius: 5px;
}

.w-last .w-img2{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    transition: var(--trance);
}

.w-last .w-img2:hover{
   transform: scale(1.3);
}

.w-last .w-foot{
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.w-last .w-foot h2{
    color: var(--primary);
    font-weight: 600;
}


.w-part1 .w-last-p{
    margin-top: 50px;
}


.w-part2 img{
    width: 550px;
    min-height: 550px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 5px 10px 3px var(--text-secondary);
}



/* offer Section */

.offer{
    width: 95%;
    margin: 8% auto;
    background-color: var(--MsecBg);
    padding: 5%;
}

.offer .o-head{
    text-align: center;
}

.offer .o-head h3{
    color: var(--primary);
    letter-spacing: .1rem;
}

.offer .o-head h1{
    color: var(--color);
    width: 60%;
    margin: 20px auto;
    font-size: 3.9rem;
    text-transform: capitalize;
    letter-spacing: .1rem;
}

.offer .o-main{
    margin-top: 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offer .o-main .o-card{
    background-color: var(--primary);
    width: 29%;
    padding: 20px;
    color: #fff;
    position: relative;
    min-height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 4px 5px 3px gray;
}

.offer .o-main .o-card .o-card-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.offer .o-main .o-card .o-card-head img{
    background-color: #fff;
    border-radius: 50%;
    padding: 10px 11px;
    width: 70px;
    width: 80px;
    height: 80px;
    transition: var(--trance);
}

.offer .o-main .o-card .o-card-head img:hover{
   transform: scale(1.3);
}

.offer .o-main .o-card p{
    margin-top: 30px;
}

.offer .o-main .o-card .o-card-foot{
    margin-top: 40px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}
.offer .o-main .o-card .o-card-foot .star-icon{
    display: flex;
    gap: 20px;
}
.offer .o-main .o-card .o-card-foot .star-icon i{
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 500;
}

.offer .o-main .o-card .o-card-foot a{
    color: var(--primary);
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: .1rem;
    transition: var(--trance);
}

.offer .o-main .o-card .o-card-foot a:hover{
    color: transparent;
}




/* takwir section */

.takwir{
    width: 95%;
    margin: 0% auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.takwir .t-part1{
    width: 45%;
}

.takwir .t-part1 h1{
    color: var(--color);
    letter-spacing: .1rem;
}

.takwir .t-part1 .t-p{
    margin-top: 20px;
    color: var(--text-secondary);
}

.takwir .t-part2{
    width: 50%;
}

.takwir .t-part2 img{
    width: 100%;
}

.takwir .t-part1 .t-info{
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-secondary);
    gap: 20px;
}

.takwir .t-part1 .t-info i{
    color: #fff;
    background-color: var(--primary);
    border-radius: 50%;
    padding: 12px 12.5px;
}



/* choose Section */

.choose{
    margin: 8% auto;
    width: 95%;
    background-color: var(--MsecBg);
    padding: 5% 2%;
}

.choose .c-head{
    text-align: center;   
    color: var(--color);
}

.choose .c-head h3{
    color: var(--primary);
    letter-spacing: .1rem;
}

.choose .c-main{
    margin-top: 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.choose .c-main .c-card{
    border: 3px solid var(--primary);
    width: 20%;
    min-height: 380px;
    padding: 20px;
    border-radius: 30px;
    color: var(--color);
}

.choose .c-main .c-card .c-img{
    width: 50%;
    margin: 20px auto;
}

.choose .c-main .c-card .c-img img{
    background-color: var(--primary);
    border-radius: 50%;
    padding: 10px;
    width: 100px;
    height: 100px;
    transition: var(--trance);
}

.choose .c-main .c-card .c-img img:hover{
   transform: scale(1.3);
}
.choose .c-main .c-card p{
    margin-top: 20px;
    color: var(--text-secondary);
}


/* reached section */

.reached{
    width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: var(--primary);
    padding: 3% 2%;
    color: #fff;
}


.r-part1{
    width: 35%;
}

.r-part1 h1{
    font-size: 4rem;
}

.r-part1 p{
    font-weight: 500;
    margin-top: 20px;
}

.r-part1-foot{
    display: flex;
    align-items: center;
    margin-top: 30px;
    gap: 40px;
}

.r-part1-foot i{
    background-color: var(--background-color);
    color: var(--primary);
    font-size: 9rem;
    border-radius: 50%;
    padding: 9px 12.5px;
}

.r-part1-foot .total-std{
    text-align: center;
}

.r-part1-foot .total-std h1{
    font-size: 5.5rem;
    font-weight: 500;
}

.r-part1-foot .total-std h2{
    font-size: 3rem;
    font-weight: 500;
}


.r-part2{
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    color: var(--color);
}

.r-part2 .r-part2-info{
    width: 100%;
    background-color: var(--background-color);
    padding: 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
}

.r-part2 .r-part2-info .reating{
    background-color: var(--primary);
    padding: 15px 25px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
}

.r-part2 .r-part2-info .rat-info{
    width: 75%;
}

.r-part2 .r-part2-info .rat-info p{
    margin-top: 10px;
}





/*MSG TOSTER SECTION */


.toast-container {
  position: fixed;
  top: 10%;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  min-width: 300px;
  max-width: 400px;
  background-color: white;
  color: #333;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(120%);
  transition: transform 0.3s ease;
  overflow: hidden;
  position: relative;
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  margin-right: 12px;
  font-size: 20px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-content {
  flex-grow: 1;
  padding-right: 10px;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 16px;
}

.toast-message {
  font-size: 14px;
  color: #666;
}

.toast-close {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: color 0.2s;
}

.toast-close:hover {
  color: #333;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  transform-origin: left;
}

/* Toast types */
.toast.success {
  border-left: 4px solid #4caf50;
}

.toast.success .toast-icon {
  color: #4caf50;
}

.toast.success .toast-progress {
  background-color: #4caf50;
}

.toast.error {
  border-left: 4px solid #f44336;
}

.toast.error .toast-icon {
  color: #f44336;
}

.toast.error .toast-progress {
  background-color: #f44336;
}

.toast.info {
  border-left: 4px solid #2196f3;
}

.toast.info .toast-icon {
  color: #2196f3;
}

.toast.info .toast-progress {
  background-color: #2196f3;
}

.toast.warning {
  border-left: 4px solid #ff9800;
}

.toast.warning .toast-icon {
  color: #ff9800;
}

.toast.warning .toast-progress {
  background-color: #ff9800;
}

/* Dark mode styling */
@media (prefers-color-scheme: dark) {
  .toast {
    background-color: #333;
    color: #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .toast-message {
    color: #bbb;
  }
  
  .toast-close {
    color: #aaa;
  }
  
  .toast-close:hover {
    color: #eee;
  }
}






/* Footer Section */

footer{
    margin-top: 5%;
    background-image: url("../IMG/home-img9.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.f-main{
    padding: 5% 3% 2% 3%;
    background-color: #ffffffbd;
    backdrop-filter: blur(100%);  
}

footer .f-main .line{
    margin: 0 auto;
    margin-top: 40px;
    width: 95%;
    height: 3px;
    background-color: #000;
}

.f-main .f-part1{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.f-main .f-part1 .f-info .f-img{
    text-align: center;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.f-main .f-part1 .f-info img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.f-main .f-part1 .f-info .f-p1{
    margin-top: 20px;
    line-height: 30px;
    font-weight: 600;
}

.f-main .f-part1 .f-info .social{
    margin-top: 25px;
    display: flex;
    gap: 30px;
}

.f-main .f-part1 .f-info .social a{
    background-color: #000;
    color: #fff;
    font-size: 2rem;
    padding: 8.6px 12px;
    border-radius: 50%;
    transition: var(--trance);
}

.f-main .f-part1 .f-info .social a:hover{
    background-color: var(--primary);
}


.f-main .f-part1 .f-info h2{
    color: var(--primary);
    letter-spacing: .1rem;
    font-weight: 600;
}

.f-main .f-part1 .f-info ul{
    justify-content: center;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.f-main .f-part1 .f-info ul li a{
    color: #000;
    font-weight: 600;
    font-size: 1.5rem;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    transition: var(--trance);
}

.f-main .f-part1 .f-info ul li a:hover{
    color: transparent;
}

.f-main .f-part1 .f-info ul li i{
    background-color: var(--primary);
    border-radius: 50%;
    color: #fff;
    padding: 1px;
}

.f-main .f-part1 .f-info .f-p2{
    margin-top: 20px;
    font-weight: 600;
    width: 65%;
}

.f-main .f-part1 .f-info .subs{
    margin-top: 30px;
}

.f-main .f-part1 .f-info .subs .sub-input{
    background-color: #000;
    padding: 40px;
    border-radius: 10px;
    position: relative;
}

.f-main .f-part1 .f-info .subs .sub-input input{
    border: 0;
    outline: 0;
    background-color: transparent;
    border-bottom: 2px solid #fff;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: .1rem;
    color: #fff;
    padding-bottom: 20px;
    width: 100%;
}

.f-main .f-part1 .f-info .subs .sub-input input::placeholder{
    color: #fff;
}

.f-main .f-part1 .f-info .subs .sub-input button{
    position: absolute;
    right: 15%;
    background-color: #fff;
    border: 0;
    padding: 8px 9px;
    bottom: 45%;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--trance);
}

.f-main .f-part1 .f-info .subs .sub-input button:hover{
    background-color: var(--primary);
}

.f-main .f-part1 .f-info .subs .sub-input button i{
    font-weight: 600;
    font-size: 2rem;
}

.f-part2{
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    text-align: center;
    font-weight: 600;
    gap: 30px;
}

.f-part2 i{
    background-color: var(--primary);
    padding: 15px;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
}

.f-part2 span{
    color: var(--primary);
}

.f-part2 span i{
    color: #000;
    background-color: transparent;
    padding: 0;
    font-size: 1.4rem;
}


/* RESPONSIVE CODE */





/* MEDIA MAX-WIDTH 1150PX */

@media (max-width: 1260px) {

    .navigation {
        padding: 30px 30px;
    }

        /*  Madrasah Section */

 .m-section{
    display: flex;
    padding: 40px 20px;
    /* flex-wrap: wrap; */
    gap: 10px;
    justify-content: space-between;
}

.m-part{
    text-align: center ;
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

 /* Welcome Section */

   .welcome{
    gap: 30px;
   }
    .w-part1{
        width: 60%;
    }

    
.w-last .w-foot{
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.w-last .w-foot h2{
    color: var(--primary);
    font-weight: 600;
    font-size: 2rem;
}

    
/* Offer Section */

.offer .o-main{
    margin-top: 10%;
    flex-wrap: wrap;
    gap: 80px;
}

.offer .o-main .o-card{
    background-color: var(--primary);
    width: 45%;
    padding: 20px;
    color: #fff;
    position: relative;
    min-height: 280px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 4px 5px 3px gray;
}

   .offer .o-head h1{
    width: 70%;
    font-size: 3.9rem;
}

/* Chose Section */

.choose .c-main{
    gap: 30px;
}

.choose .c-main .c-card{
    border: 3px solid var(--primary);
    width: 30%;
}


/* reached section */

.r-part1 h1{
    font-size: 3rem;
}

.r-part1{
    width: 40%;
}

.r-part2{
    width: 55%;
}

.r-part1-foot .total-std h1{
    font-size: 5rem;
}

.r-part1-foot .total-std h2{
    font-size: 2.5rem;
}

}





/* MEDIA MAX-WIDTH 1100PX */

@media (max-width:1100px) {

    .nav_toggle {
        display: block;
    }
    .nav_menu {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;

        display: none;
        color: var(--background-color);
        background-color:var(--background-color);
        z-index: 999;
        box-shadow: 2px 2px 5px 1px lightblue;
    }
    .nav_menu.active {
        display: block;
    }
    .nav_list {
        display: block;
        margin: 2rem 0;
        text-align: center;
    }
    .nav_link {
        padding: 0 2rem;
        display: flex;
        justify-content: space-between;
        color: var(--color);

    }
    .dropdown {
        top: 0;
        position: relative;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        box-shadow: none;
        height: 0;
        text-align: start;
        transition: all 0.5s ease-in;
        background-color: var(--color);
    }

    .dropdown-inner {
        gap: 1rem;
        padding: 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px;
    
    }

    .nav_list_menu:hover .dropdown {
        height: 100%;
        transition: all 0.5s ease-in;
       background-color: var(--color);
    }


    /* IMAGE SLIDER */

    .list .item .content{
        left: 50px;
    }

     .content .title, .content .name{
        font-size: 4.5rem;
        margin-top: 8px;
    }

    .content .des{
        font-size: 16px;
    }


      /*  Madrasah Section */

 .m-section{
    display: flex;
    padding: 40px 0px;
    flex-wrap: wrap;
    gap: 60px;
}

.m-part{
    text-align: center ;
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

 /* Welcome Section */
    .w-last{
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 40px;
        margin-top: 30px;
    }

    .w-part1{
        width: 50%;
    }

      .w-last .w-img1{
        width: 80%;
        height: 300px;
        object-fit: cover;
    }

     .w-part2 img{
        width: 450px;
        min-height: 550px;
        object-fit: cover;
    }

    
/* Offer Section */

   .offer .o-head h1{
    width: 70%;
    font-size: 3.7rem;
}

/* takwir Section */

.takwir .t-part1{
    width: 50%;
}

.takwir .t-part2{
    width: 50%;
}



/* Chose Section */

.choose .c-main{
    margin-top: 6%;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.choose .c-main .c-card{
    border: 3px solid var(--primary);
    width: 30%;
}


/* Footer Section */

/* .f-main{
    padding: 5% 5% 2% 5%;
    background-color: #ffffffbd;
    backdrop-filter: blur(100%);  
} */

.f-main .f-part1{
    text-align: center;
    justify-content: center;
    display: flex;
   flex-wrap: wrap;
   gap: 150px;
}

  
}







/* MEDIA MAX-WIDTH 850PX */

@media (max-width:995px) {

    /* Header Info */

     .info-data{
    width: 70%;
    height: 60vh;
    right: 0;
    top: 0;
    position: absolute;
    border-radius: 0px 0px 0px 20px;
    background-color: var(--background-color);
    opacity: 0;
    transform: translateX(100%);
    transition: all .4s linear;
     }

    .info-data, .data{
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--color);
  
    }

    .open .info-data{
    opacity: 1;
    transform: translateX(0%);
    }

    .phone-icon{
        cursor: pointer;
        color: #fff;
        font-size: 1.9rem;
        display: block;
    }

    .dropdown {
    left: 0%;
     min-width: 30%;
    /* height: 100vh; */
   
}

    .dropdown-inner {
        gap: 1rem;
        padding: 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 20px;
    
    }

 /* IMAGE SLIDER */

 
    .list .item .content{
        position: absolute;
        top: 50%;
        left: 5%;
        transform: translateY(-50%);
        width: 400px;
        text-align: left;
        color: #fff;
        display: none;
    }



    /* /* .list .item .content{
        top: 50%; 
    } */

    .content .title, .content .name{
        font-size: 4rem;
        margin-top: 8px;
        
    }

    .list .item .content .des{
        width: 80%;
    }
    .content .btn{
        margin-left: -165px;
        opacity: 0;
        animation: animate 1s ease-in-out 1.2s 1 forwards;
    }

    .content .btn button{
        padding: 10px 15px;
        font-size: 14px;
    }

    /* welcome Section */

    .welcome{
      margin: 10% auto; 
      flex-direction: column;
      gap: 80px;
    }

    .w-part1{
    width: 100%;
     }

    .w-part1 h1{
    margin-top: 10px;
    text-transform: capitalize;
    color: var(--color);
    font-size: 3.5rem;
    }

        .w-last{
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: 40px;
        margin-top: 30px;
    }

    .w-part2 img{
    width: 100%;
    min-height: 550px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 5px 10px 3px var(--text-secondary);
}


/* Offer Section */

.offer .o-main{
    margin-top: 10%;
    flex-direction: column;
    gap: 80px;
}

.offer .o-head h1{
    width: 100%;
    font-size: 3.5rem;
}

.offer .o-main .o-card{
    background-color: var(--primary);
    width: 70%;
    padding: 20px;
    color: #fff;
    position: relative;
     min-height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 4px 5px 3px gray;
}


/* takwir section */

.takwir{
    flex-direction: column;
    margin: 10% auto;
    gap: 90px;
}

.takwir .t-part1{
    width: 100%;
}

.takwir .t-part2{
    width: 100%;
}

/* Chose Section */

.choose{
    padding: 8% 3%;
}

.choose .c-main{
    margin-top: 10%;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.choose .c-main .c-card{
    text-align: center;
    border: 3px solid var(--primary);
    width: 40%;
    min-height: 380px;
    padding: 20px;
    border-radius: 30px;
    color: var(--color);
}

/* reached section */

.reached{
    width: 95%;
    flex-direction: column;
    gap: 80px;
}

.r-part1{
    width: 100%;
}

.r-part2{
    width: 100%;
}


/* Footer Section */

footer{
    margin-top: 10%;
}

.f-main{
    padding: 5% 5% 2% 5%;
    background-color: #ffffffbd;
    backdrop-filter: blur(100%);  
}

.f-main .f-part1{
    text-align: center;
    justify-content: center;
    display: flex;
   flex-wrap: wrap;
   gap: 100px;
}

.f-main .f-part1 .f-info .f-p2{
    margin-top: 20px;
    font-weight: 600;
    width: 90%;
}

}









/* MEDIA MAX-WIDTH 560PX */


@media (max-width:560px) {

    
    .navigation {
        padding: 20px;
    }


   .logo img{
        margin-top: 10px;
        width: 7rem;
        height: 6.9rem;
        border-radius: 5px;
    }
    
    .btn,
    .btn-primary {
        padding: 0.5rem 1rem;
    }

/* IMAGE SLIDER */

    .list .item .content{
        position: absolute;
        top: 50%;
        left: 25px;
        transform: translateY(-50%);
        width: 400px;
        text-align: left;
        color: #fff;
        display: none;

    }

    .content .title, .content .name{
        font-size: 3.5rem
    }

    .content .btn button:nth-child(1){
        margin-right: 10px;
    }


    
  /*  Madrasah Section */

    .m-section{
        display: flex;
        justify-content: center;
        padding: 40px 0px;
        flex-wrap: wrap;
        gap: 70px;

    }

    .m-part{
        text-align: center ;
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

   /* Welcome Section */
    .w-last{
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 40px;
        margin-top: 30px;
    }

    .w-part1 h1{
        margin-top: 10px;
        text-transform: capitalize;
        color: var(--color);
        font-size: 2.9rem;
    }


    .w-last .w-img1{
        width: 100%;
        height: 350px;
        object-fit: cover;
    }

    /* Offer Section */

    .offer{
        padding: 2%;
    }

    .offer .o-main .o-card{
    background-color: var(--primary);
    width: 100%;
    padding: 20px;
    color: #fff;
    position: relative;
    min-height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 4px 5px 3px gray;
}

.offer .o-head h1{
    width: 100%;
    font-size: 2.6rem;
}

.offer .o-main{
    margin-top: 15%;
}


/* Takwir Section */

.takwir{
    flex-direction: column;
    margin: 15% auto;
    gap: 70px;
}

/* Chose Section */


.choose .c-main .c-card{
    text-align: center;
    border: 3px solid var(--primary);
    width: 100%;
    min-height: 380px;
    padding: 20px;
    border-radius: 30px;
    color: var(--color);
}

/* reached section */

.reached{
    width: 95%;
    padding: 6% 2%;
    color: #fff;
}

.r-part1 h1{
    font-size: 3rem;
}

.r-part1-foot .total-std h1{
    font-size: 5rem;
    font-weight: 500;
}

.r-part1-foot .total-std h2{
    font-size: 2.8rem;
    font-weight: 500;
}

.r-part1-foot i{
    background-color: var(--background-color);
    color: var(--primary);
    font-size: 7rem;
    border-radius: 50%;
    padding: 9px 12.5px;
}

.r-part2 .r-part2-info{
    padding: 3%;
    gap: 25px;
    flex-direction: column;
}

.r-part2 .r-part2-info .rat-info{
    width: 100%;
}

/* Footer Section */

footer{
    margin-top: 15%;
}

.f-main .f-part1{
    text-align: center;
    justify-content: center;
    display: flex;
   flex-wrap: wrap;
   gap: 60px;
}

.f-part2{
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    text-align: center;
    font-weight: 600;
    gap: 30px;
}

}
