* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Libre Bodoni", serif;
}

:root {
    --primary-color:  #f8b435;
    --secondary-color: #182628;
    --ternary-color: #F1F5F9;
    --forth-color:
    --features-background: #F0F0F0;


}

/* common classes */
.outer-container {
    width: 100%
}


/*  =======================nav bar===========================================*/
nav { 
    
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    background-color: transparent;
    transition: background-color 0.3s;
    z-index: 1000;
    padding: 20px;
    font-family: "Playfair Display", serif;
  
  }
  
  
  
  nav div img {
    height: 80px;
    /* Adjusted height for the logo */
  }
  
  nav ul {
    display: flex;
    gap: 20px;
  }
  
  nav ul li {
    list-style: none;
  }
  
  nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
  }
  
  .navbar-scrolled {
    background-color: var(--secondary-color) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-hb-clicked {
    background-color: var(--secondary-color) !important;
  }
  
  .navbar-hb-clicked a {
    color: var(--primary-color) !important;
  }
  
  #navbar a {
    color: var(--primary-color);
    transition: color 0.3s ease;
  }
  
  .navbar-scrolled a {
    color: var(--primary-color) !important;
  }
  
  
  .white-button {
    background-color: var(--secondary-color);
    color: white;
  }
  
  .white-button::before {
    background: white;
    color: var(--primary-color);
  }
  
  
  
  .hamburger {
    display: none;
    cursor: pointer;
    background-color: transparent;
  
  }
  
  .bar {
    height: 3px;
    width: 25px;
    margin: 5px;
    background-color: var(--primary-color);
    display: block;
  }
  
  .hamburger:hover .bar {
    background-color: var(--primary-color);
  }
  
  @media (max-width: 1024px) {
    .hamburger {
        display: block;
    }
  
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--secondary-color);
        position: absolute;
        width: 100%;
        top: 120px;
        left: 0;
        transition: background-color 0.3s ease-in-out;
        padding: 20px;
  
    }
  
    .nav-links li a {
        color: var(--primary-color)
    }
  
    .nav-links.show {
        display: flex;
    }
  
  
  }
  
  /* ui verse button */
  .cssbuttons-io {
    position: relative;
    font-family: inherit;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.05em;
    border-radius: 1.5em;
    cursor: pointer;
    border: none;
    background: var(--secondary-color);
    color: ghostwhite;
    overflow: hidden;
  }
  
  
  .cssbuttons-io span {
    position: relative;
    z-index: 10;
    transition: color 0.4s;
    display: inline-flex;
    align-items: center;
    padding: 0.4em 1.2em 0.4em 1.05em;
  }
  
  .cssbuttons-io span a {
    color: white !important;
  }
  
  .cssbuttons-io::before,
  .cssbuttons-io::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  .cssbuttons-io::before {
    content: "";
    background: var(--primary-color);
    width: 120%;
    left: -10%;
    transform: skew(30deg);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
  }
  
  .cssbuttons-io:hover::before {
    transform: translate3d(100%, 0, 0);
  }
  
  .cssbuttons-io:active {
    transform: scale(0.95);
  }

/* hero */
#hero {
    margin-top: 120px;
    width: 100%;
    /* height: 100vh; */
    background: url(./Actual\ 2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    position: relative;
    
}

/* #hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(54, 55, 71, 0.395);
    z-index: 1;

} */
.slide-wrapper{
    width: 400%;
    display: flex;
    /* height: 100vh; */
    
 
}
.slide{
    width: 25%;
    /* display: inline; */
    display: flex;
    justify-content: center;
    aspect-ratio: 3/1;

}
.slide1{
    background-image: url('images/1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.slide2{
    background-image: url('images/2.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.slide3{
    background-image: url('images/3.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.slide4{
    background-image: url('images/4.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.slide .container {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
    gap: 30px;


}
@media (max-width: 768px) {
    .slide{
    aspect-ratio: 4/3;
        
    }    
    .slide1{
        background-image: url('images/1-small.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    .slide2{
        background-image: url('images/2-small.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    .slide3{
        background-image: url('images/3-small.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    .slide4{
        background-image: url('images/4-small.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
}

#hero .container>h1 {
    margin: auto;
    color: white;
    margin: 0 auto;
    text-align: center;
    font-size: 3rem;
    line-height: 3rem;
}
#hero .container>h2{
    line-height: 2rem;
    font-size: 2rem;
    color: white;
    text-align: center;


}
.cta-button{
    font-size: 1.2rem;
    padding: 15px 30px;
    border-radius: 30px ;
    border: none;
    color: white;
    background-color: var(--primary-color);

}
#hero .container>p{
    color: white;
    text-align: center;
    width: 90%;
    font-size: 1.2rem;
    line-height: 1.4rem;

}
.slider-controls {
    display: none; /* This will hide the entire slider controls section */
}
.prev,
.next {
  position: absolute;
  top: 45%;
  /* transform: translateY(-50%); */
  background-color: #EEF3F9;
  color: #2B2929;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #EEF3F9;
  cursor: pointer;
  font-size: 18px;
}
.next{
    right: 0;
}
@media (max-width: 768px) {
    #hero{
        /* margin-top: 100px; */
    }
    .cta-button{
        padding: 5px 20px;
        font-size: 1rem;
    }
    
    #hero .container{
        width: 90%;
        gap: 50px;
    }
    #hero .container>h1{
        font-size: 2rem;
        line-height: 2.2rem;
    }
    #hero .container>h2{
        font-size: 1.4rem;
        line-height: 1.6rem;
    }
    #hero .container>p{
        font-size: 1rem;
        line-height: 1.2rem;
    }
    

    
    
}

/* lead gen */
#lead-gen {
    
    background: linear-gradient(90deg, #65CCB8,  #182628 );
    display: flex;
    justify-content: center;


}

#lead-gen .container {
    padding: 50px 0;
    display: flex;
    width: 80%;

}

#lead-gen .container img {
    width: 300px;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

.lead-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.lead-form h2 {
    font-size: 2rem;
    color: var(--secondary-color);
}

.lead-form p {
    width: 70%;
    font-size: 1.2rem;
    line-height: 1.5rem;
    color: white;
}

.lead-form form {
    width: 80%;
}

.lead-form input {
    width: 65%;
    background-color: white;
    border-radius: 20px;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 1rem;
}

.lead-form button {
    white-space: nowrap;
    width: 30%;
    border-radius: 20px;
    height: 50px;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    background-color: var(--secondary-color);
    /* background: linear-gradient(skyblue, rgb(17, 220, 243)); */
}

.input-container {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    width: 100%;



}

@media (max-width: 600px) {
    #lead-gen .container{
        flex-direction: column;
        align-items: center;
    }
    
}
@media (max-width: 768px) {
    #lead-gen .container{
        width: 90%;
    }
    .lead-form p{
        width: 90%;
        font-size: 1rem;
    }
    .lead-form h2{
        font-size: 1.4rem;
    }
    .input-container{
        flex-direction: column;
        align-items: center;
    }
    .lead-form button{
        margin-top: 10px;
        width: 90%;
    }
    .lead-form input{
        width: 90%;
    }
    
}



/* recorded courses */
#reco-courses {
    display: flex;
    justify-content: center;
    padding: 50px 0;
}


#reco-courses .container {
    width: 80%;

}
.coming-soon{
    background-position: center;
    background-size: cover;
    margin-top: 20px;
    aspect-ratio: 3/1;
    background-image: url(images/coming-soon.png);
}
@media (max-width: 768px) {
    #reco-courses .container {
        width: 90%;
    
    }
    .coming-soon{
        aspect-ratio: 4/2;
        background-image: url(images/coming-soon-small.png);
        
    }
    
}

/* live courses */

#live-courses {
    display: flex;
    justify-content: center;
    padding: 50px 0 0;
}

#live-courses .container {
    width: 80%;

}

.courses-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 20px;

}

.course-card {
    flex: 1 1 calc(33.33% - 14px);
    border: 1px solid grey;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    display: flex;

}

/* .course-card div{
    
    height: 200px;
    
} */
.course-card div img{
    width: 100%;
    height: 200px;
}
.course-banner{
    width: 100%;
    /* padding-top: 56.25%; */
    /* background-image: url(hqdefault.jpg); */
    /* background-position: center; */
    /* background-size: cover; */
}
.courses-details{
    display: flex;
    align-items: center;
    height: 100%;
}
.courses-details ul {
    /* list-style-position: inside;  */
    padding-left: 20px; 
}
.course-card button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.2rem;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;

}
/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 10% from the top and centered */
    padding: 20px;
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 700px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-left, .modal-right {
    width: 48%; /* Make both sides take up equal space */
}

.modal-right form {
    display: flex;
    flex-direction: column;
}

.modal-right form input, .modal-right form button {
    margin: 10px 0;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid black;
}
.modal-right form button{
    cursor: pointer;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

/* Optional: Add transition effect */
.modal-content {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    #live-courses .container {
        width: 90%;
    
    }
    .courses-wrapper{
        flex-wrap: wrap;
    }
    .course-card{
        flex: 0 1 calc(50% - 10px);
    }
    .modal-content{
        margin-top: 120px;
        
    }

    
}
@media (max-width: 400px) {
     .course-card{
        flex: 0 1 100%;
    }
    .modal-content{
        flex-direction: column;
        gap: 20px;
    }
    .modal-left, .modal-right {
        width: 98%;
        
    }
}


/* footer ==============================================================================================================*/
footer {
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;

}

.outer-container {
    width: 90%;
    text-align: center;
    flex-wrap: wrap;
    overflow: hidden;

}

.flex-container {
    display: flex;


}

/* .col{
    display: flex;
    flex-direction: column;
    flex: 0 0 25%;
    align-items: center;
} */
.logo-container {
    display: flex;
    align-items: center;
}
.logo-container img{
    height: 100px;
}

.footer-links-container {
    flex: 0 0 75%;
    display: flex;
}

.footer-links-container>div {
    width: 25%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footer-form-container {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.col>h3 {
    padding-top: 15px;
    font-size: 1.5rem;
}
.col>a{
    text-decoration: none;
    color: white;
}

.form-group textarea {
    min-height: 50px;
    max-height: 150px;
    color: white;

}

.form-group button {
    width: 80%;
    border: none;
}

.form-group input,
textarea {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid white;
    outline: none;
    width: 80%;
}

.icon-wrapper {
    display: flex;

}

.icon-wrapper i {
    font-size: 1.5rem;
    margin: 10px 10px;
}

.icon-wrapper span {
    display: flex;
    text-align: left;
}

.col span a {
    color: white;
    padding: 5px;
    font-size: 20px;
    /* border-radius: 50%; */
    /* border: 1px solid white; */
    /* line-height: 20px; */
}

.col span a {
    text-decoration: none;
    color: white;
    width: 40px;
    height: 40px;
    display: inline-flex;
    /* Use flexbox to center the icon */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */

    border-radius: 50%;
    /* Make it round */
    transition: background-color 0.3s ease;
    /* Optional hover effect */
}

a:has(.fa-facebook-f) {
    background-color: #0861F2;
}

a:has(.fa-instagram) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

}

a:has(.fa-youtube) {
    background-color: #FF0000;
}

.float-icon-container {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    top: 60%;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.float-icon-container a {
    height: 40px;
    width: 40px;
    color: white;
    display: inline-flex;
    justify-content: center;
    align-items: center;

}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.whatsapp-button i {
    color: white;
    vertical-align: middle;
}

@media (max-width: 1024px) {
    .logo-container {
        display: none;
    }

    .flex-container {
        flex-direction: column;
    }

    .footer-links-container {
        flex: 0 0 100%;

    }

    .footer-form-container {
        flex: 0 0 100%;
        margin-top: 20px;
    }

}

@media (max-width: 768px) {
    .footer-links-container {
        flex-direction: column;
    }

    .footer-links-container>div {
        width: 100%;
    }


    .col {
        margin-top: 20px;
    }
}