*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    scroll-behavior: smooth;
    font-family: poppins, sans-serif;
}

:root{
    --bg-color:linear-gradient(rgb(255, 255, 255), rgb(250, 254, 255), rgb(183, 214, 243) 89%);
    --green-gradiant-color:linear-gradient(rgb(255, 255, 255),  rgba(162, 216, 166, 0.87) 89%);
    --second-bg-color:#004d99;
    --green-color:#00a808;
    --black-color:rgb(0, 0, 0);
    --white-color:white;
}


/* ================flexible all section with one class row & colunm ==================== */

.flex-column{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-content: center;
    align-items: center;
}
.flex-row{
    display: flex;
    flex-direction:row ;
    flex-wrap: no-wrap;
    justify-content: space-between;
    align-items: center;
}
/* =========== Headings =========== */
h5{
    font-size: 35px;
}

section{
    padding: 12rem 9% 2rem;
}

.second-btn{
    margin: 9px 0;
    align-items: center;
    appearance: none;
    background-image: radial-gradient(100% 100% at 100% 0, #5adaff 0, #5468ff 100%);
    border: 0;
    border-radius: 26px;
    box-shadow: rgba(45, 35, 66, .4) 0 2px 4px,rgba(45, 35, 66, .3) 0 7px 13px -3px,rgba(58, 65, 111, .5) 0 -3px 0 inset;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: "JetBrains Mono",monospace;
    height: 45px;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s,transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow,transform;
    font-size: 18px;
  }
  
  .second-btn:focus {
    box-shadow: #3c4fe0 0 0 0 1.5px inset, rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
  }
  
  .second-btn:hover {
    box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #3c4fe0 0 -3px 0 inset;
    transform: translateY(-2px);
  }
  
  .second-btn:active {
    box-shadow: #3c4fe0 0 3px 7px inset;
    transform: translateY(2px);
  }



/* =================== header==================== */

html{
    font-size:62.5%;
}
body{
    background-color:var(--bg-color);
    color: var(--second-bg-color);
    display: flex;
}


.slider {
    overflow: hidden;
    display: none;
    white-space:nowrap;
    width: 50%;
    max-width: 200px;
    padding: 10px;
    font-size: 20px;
}

#slider {
    display: inline-block;
    padding-left: 0%;
    animation: slideAnimation 20s 0ms linear infinite  ;
    /* animation: name duration timing-function delay iteration-count direction fill-mode; */
}

@keyframes slideAnimation {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding:1rem 9% !important;
    background:var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.header img{
    width: 70%;
}
.header.sticky {
    border-bottom: .1rem solid rgba(0,0,0,.2);
}

.navbar a{
    font-size: 1.3rem;
    padding:1rem 2rem;
    color: var(--second-bg-color);
    /* margin-left:4rem; */
    border-left:0.1rem groove  rgba(0, 0, 0, 0.055) ;
    transition:300ms;
}
.navbar a:hover,
.navbar a.active{
    color: var(--green-color);

}
#menu-icon{
     font-size:3.6rem;
     color: var(--second-bg-color);
     display:none;
}

.logo{
    width:5%;
    min-width:70px;
    cursor:default;
    cursor: pointer;
     
}
.logo-text{
    cursor: pointer;
    line-height:0.9;
    font-size:1.4rem;
    color: #396394;
    font-weight:bold;
    font-family: Arial, Helvetica, sans-serif
}

/* ======================= home section================== */

.home{
    background-image:var(--bg-color);
    gap: 3rem;
}
#home-first-img{
    display: none;
}
.home img {
    width:35vw;
    min-width: 370px;
}
.home-content h3{
    font-size: 3.2rem;
    font-weight: 700;
}
.home-content h3:nth-of-type(2) {
    margin-bottom:2rem;
}
span{
    color: var(--green-color);
}
.home-content h1{
    font-size: 5.6rem ;
    font-weight: 700;
    line-height: 1.3;
}
.home-content p{
    font-size: 1.6rem;

}
.social-media a{
    display: inline-flex;
    justify-content:center;
    align-items:center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--second-bg-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--second-bg-color);
    margin:3rem 1.5rem 3rem 0;
    transition: 400ms ease;

}
.social-media a:hover{
    background: var(--second-bg-color);
    color: var(--white-color);
    box-shadow:0 0 1rem var(--second-bg-color);
}
.home-content{
    align-items: flex-start;
}

.home-content pre {
    font-size: 28px;
    font-weight: 520;
    color: #00b11d;
    animation: pr 4s infinite ease-in-out;
}

@keyframes pr {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}





.btn {
    align-items: center;
    appearance: none;
    background-image: radial-gradient(100% 100% at 100% 0, #22d449 0, #1f9714 100%);
    border: 0;
    border-radius: 30px;
    box-shadow: rgba(35, 66, 40, 0.4) 0 2px 4px,rgba(35, 66, 48, 0.3) 0 7px 13px -3px,rgba(58, 111, 69, 0.5) 0 -3px 0 inset;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    /* font-family: "JetBrains Mono",monospace; */
    height: 45px;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    margin: 10px 0;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s,transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow,transform;
    font-size: 15px;
  }
  
  .btn:focus {
     box-shadow: #10582e 0 3px 7px inset;
    transform: translateY(2px);}
  
  .btn:hover {
    box-shadow: rgba(35, 66, 42, 0.4) 0 4px 8px, rgba(35, 66, 44, 0.3) 0 7px 13px -3px, #1e803f 0 -3px 0 inset;
    transform: translateY(-2px);
  }
  
  .btn:active {
    box-shadow: #10582e 0 3px 7px inset;
    transform: translateY(2px);
  }


/* .btn{
    padding: 1rem 2.8rem;
    background: var(--green-color);
    border-radius: 4rem;
    color: var(--white-color);
    box-shadow: 0 0 1rem var(--green-color);
    letter-spacing: .1rem;
    font-weight: 700;
    transition: 500ms;
}
.btn:hover{
    box-shadow: none;
} */

/* ========================= About Us ============================ */

.about-content{
    width:39vw;
    /* min-width:400px; */
    font-size: medium;
    border-radius: 7px;
    text-align: justify;
    align-items: flex-start;
}
.hiden-btn{
    display: none;
}
 

.about-us{
        background-color: rgba(255, 255, 255, 0.61);
        background-image:url("images/body-bg.jpg");
        background-size:100vw;
        background-repeat:no-repeat;
        background-attachment: fixed;
        background-blend-mode:lighten;
    }
 


/* ======================== Courses============================ */

#courses{
    /* background-image:var(--green-gradiant-color); */
    background-color: #cae7f5;

}
.course {

    /* margin: 15px; */
    min-width: 170px;
    width: 20vw;
    height:50vh;
    border-radius: 10px;
    background-color:var(--white-color);
    box-shadow: 0px 0px 22px rgba(0, 0, 0, 0.411);
    /* outline: 2px solid rgba(255, 255, 255, 0.418); */

}
.course img {
    object-fit: cover;
    width: 95%;
    height: 50%;
    border-radius: 10px;
    margin: 5px;
}

.course:hover{
    transform: scale(1.1);
}


.course{
    /* align-items: center; */
    justify-content:space-evenly;
    transition: .5s ease;
}
.course p{
    font-size: 1.8rem;
    font-weight:550;
    color:var(--black-color);
    text-align: center;
}
.course span{
    font-size:12px;
    color:black ;
    width: 89%;
    text-align: center;
}


#courses h5{
    color: green;
   
}
#courses .bx{
    text-align: center;
    font-size: 3rem;
    margin: 10px;
    color: #000000;
}


/* ======================== sugestion ============================ */

.sugest-section{
    align-items: center;
    padding: 9% 0%;
}

.sugest-row{
    width: 80vw;
}
#first-heading{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow',  sans-serif;
    color: var(--green-color);
    text-align: center;
  
}


.sugest-h1{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow',  sans-serif;
    color: #333333;
    font-size: 40px;
    text-align: center;
    margin-bottom: 30px;
}
.sugest-section h2{
    font-size: 60px;
    font-weight:9px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow',  sans-serif;
}
.sugest-section h3{
    font-size: 20px;
}

.sugest-section p{
    color: rgb(83, 83, 83);
    font-size: 15px;
    
}
.sugest-content>span{
    /* margin: 20px; */
    width: 220px;
    text-align:center;
}



/* ======================== Gallery ============================ */
/* ===== Gallery Section (Flex) ===== */

.gallery-section {
  padding: 8rem 5% 6rem;
  background: linear-gradient(to bottom, #ffffff, #f0f7ff, #d7e8fb);
}
.gallery-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
.gallery-container .heading {
  font-size: 5rem;
  color: #004d99;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 4rem;
}
.gallery-container span {
  color: #00a808;
}
.gallery-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.gallery-img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ===== Lightbox ===== */


/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px); /* ✅ Background blur */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
  transform: scale(1);
}

.close {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

/* Animation for fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(6px);
  }
}

/* Optional for smaller screens */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
  }
}



/* ======================== Contect us ============================ */


.contact h2{
    margin-bottom:3rem;
    font-size: 30px;
    text-align: center;
}
.contact{
    padding-top: 9%;
}

.contact form{
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}
.contact form .input-box{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea{
    width:100%;
    padding:1.5rem;
    font-size:1.6rem;
    color:var(--text-color);
    background: var(--white-color);
    /* box-shadow: inset 0px  0px 6px rgb(124, 118, 109) ; */
    border-radius:.8rem;
    background-color: rgb(223, 242, 247);
    margin: .7rem 0;
    color: black;
}
.contact form .input-box input {
    width:49%;
}
.contact form textarea {
    resize: none;
}
.contact form .btn{
    margin-top: 2rem;
    cursor: pointer;
}


/* Modal background blur */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

/* Modal box */
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  max-width: 400px;
  width: 90%;
  animation: pop 0.3s ease;
}

.modal-content h3 {
  margin-bottom: 10px;
  color: #333;
}

.modal-content button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background: green;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

@keyframes pop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}









/* ======================== footer ============================ */
#footer{
    background-color: #0b284e;
}



#float-whatsapp{
    z-index: 1;
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 110px;
    right: 45px;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    box-shadow: 2px 2px 9px #000000;
    animation: float-animate 4s ease-in-out 500ms infinite ;
}

@keyframes float-animate{
    0% {
        transform: translatey(0);
    }
    40% {
        transform: translatey(-2.4rem);
    } 
     60% {
        transform: translatey(0);
    }
    100% {
        transform: translatey(0);
    }
    
}



/*=============================== Footer Styles ===========================================*/

#footer {
  background-color: #001625;
  color: #ffffff;
  padding: 40px 5%;
  font-size: 1.5rem;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  /* min-height: 0px ; */
}

.footer-section {
  flex: 1 1 220px;
  min-width: 220px;
  /* min-height:0px !important; */
  /* justify-content: no-space; */

}

.footer-section h3 {
  font-size: 2.2rem;
  font-weight: 500;
  color: #02f03d;
  margin-bottom:15px;
  position: relative;
}

.footer-section h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: #02f03d; /* same color as your heading */
  margin-top: 6px;
  border-radius: 2px;
}


.footer-section p,
.footer-section ul,
.footer-section ul li {
  margin: 7px 0;
  line-height: 1.4;
  color: #e0e0e0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-section ul li a:hover {
  color: #00a808;
  text-decoration: underline;
}

.social-icons a {
  font-size: 2.2rem;
  color: #ffffff;
  margin-right: 15px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #00a808;
}

.footer-section h3:hover {
  color: #00ff55;
  transform: scale(1.05);
  transition: all 0.3s ease;
}


.footer-bottom {
  margin-top: 40px;
  text-align: center;
  border-top: 1px solid #1a3e69;
  padding-top: 15px;
  font-size: 1.4rem;
  color: #aaa;
}

/* ==================== Footer Responsive ======================= */
@media (max-width: 768px) {
.logo{
    width:30%;
    min-width:54px;
    cursor:default;
    cursor: pointer;
    flex-direction: row !important;
}
.logo img{
    display: inline-block;
    width: 39px;
}
.logo-text{
    cursor: pointer;
    line-height:0.9;
    font-size:1.3rem;
    color: #396394;
    font-weight:700;
    font-family:Helvetica, sans-serif
}

/* .header{
    padding:1.5rem 3% !important;
} */


  .footer-container {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 20px !important;
    padding: 0 20px;
  }

  .footer-section {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    text-align: center;
  }
  .footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


  .footer-section p,
  .footer-section ul li {
    font-size: 14px;
    line-height: 1.1;
  }

  .footer-section ul {
    padding: 0;
  }

  .social-icons {
    justify-content: center;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .social-icons a {
    font-size: 20px;
  }

  .footer-bottom {
    font-size: 12px;
    padding-top: 10px;
  }
}





/* ========================== BREAKPOINTS ============================== */

@media (max-width:1200px){

    html{
        font-size: 55%;
    }

          .gallery .flex-row, .sugest-row, .sugest .flex-row{
        flex-wrap:wrap;
    
    }
 
   

}
@media (width:1024px){
    section{
        width: 1024px;
        }
}


@media (min-width:1200px){
    section{
        height:100vh;
        }
}

    .course{
        width:22%;
        height:280px;
    }


    @media (max-width: 1104px){
        .gallery img{
            width: 300px;
        }
 
        
    }




    @media (max-width: 928px){
        .slider{
            display:none;
            /* color: red; */

}
.contact{
    padding-top: 25%;
     padding-bottom: 5% ;
        }

   .sugest-h1{

    font-size: 30px;
    margin: auto 10px;
    text-align: center;
    margin-bottom: 30px;
}
.sugest-section h2{
    font-size: 50px;
}
    }


@media (max-width: 991px){
    .header{
        padding: 2rem 3%;
    }

    .footer{
        padding: 2rem 3%;
    }




.slider{
    display:hidden ;
}
}



    
@media (max-width: 1024px){
   

    #menu-icon{
        display: block;
    }
.navbar{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 3%;
    background-color: var(--white-color);
    border-top: 1rem solid rgba(0, 59, 114, 0.384);
    box-shadow: 0 .5rem 1rem rgba(0, 49, 121, 0.384);
    display: none;
}
.navbar.active{
    display: block;
}


.navbar a {
    display:block;
    font-size: 2rem;
    margin: 3rem 0;

}


section{
    padding:15rem 3% 11rem;
}

.about-content{
    width:45vw;}

}



/* ========= flexble for mobile =========== */

@media (max-width:500px){

 .flex-row{
    flex-direction: column;
    align-items: center;
 }

    
 .slider {
    overflow: hidden;
    display: block;
    white-space: nowrap;
    margin: 0 0 0 23px;
    width:70%;
    max-width:40%;
    padding: 10px;
    font-size: 15px;
    font-weight: 400;
    color: #000000;
    /* border: 1px solid #ddd; Optional for clarity */
}

#slider {
    display: inline-block;
    
    animation: slideAnimation 20s linear infinite;
}

@keyframes slideAnimation {
    0% {
        transform: translateX(25%);
    }
    100% {
        transform: translateX(-100%);
    }
}



 section{
    padding:9rem 9% 11rem;
}

 #home-first-img{
    display: block;
 }
 #home-second-img{
    display: none;
 }


.about-content{
    width: 100%;
    align-items: center;
    /* margin-bottom: 40px; */
}
.about-us{
    background-size:100vh ;
}
.course{
    width:80%;
    height: 40vh;
    /* margin-bottom:5% ; */
    margin: 20px;
}
.course-btn{
    margin-top: 10px;
}
#courses h1{
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--green-color);
}

.gallery img{
    width:100%;
}
#gallery{
    background-size: 100vh;
}
 .contact form,  .input-box{
    flex-direction: column;
    width: 100%;
 }
 .contact form, textarea{
    width: 100%;
 }
 .contact form .input-box input {
    width:100%;
}

#float-whatsapp{
    height: 55px;
    bottom: 100px;
}



}

@media (max-width:375px){
.home-content h1{
    display: none;
}
.home-content h3{
    line-height: 0.9;
    margin-top: 0px;
    font-size: 40px;
    font-weight: 600;
}
.home-content h4{
    font-size: 20px;
    letter-spacing: 2px;
    word-spacing:15px;
}

#home-first-img{
    min-width: 300px;
    
}

.home-content .pre {
    flex-direction: row;
}

.home-content pre {
    font-size: 19px;
    font-weight: 400;
    margin-left: 4px;
}

#float-whatsapp{
width:px;
}
}

@media(hover:none) {
        *:hover{
            transform: none !important;
            /* box-shadow: none !important; */
            box-shadow:inset inherit !important;
            transition: none !important;

        }
}