/* @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* General Styles */
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
}

/* header { */
    /* display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
} */

.mainnav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #333;
    color: white;
}

.logo-container {
    flex: 1;
}

.logo-container img {
    height: 50px;
    width: auto;
    
}
/* 
header nav {
    flex: 3;
    position: relative;
} */

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    /* justify-content: flex-end; */
}

nav ul li {
    margin: 0 15px; 
    margin-right: 20px;
    height: 50px;
}

nav ul li a {
    height: 100%; 
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 1rem;
    display: flex;
}

nav ul li a:hover {
    color: #007BFF;
}

nav div {
    margin: 0 auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 -10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.menu-button {
    display: none;
}

.sidebar li {
    width: 100%;
}

.sidebar li a {
    width: 100%;
    color: #000; 
}

.icon {
    fill: #ffffff;
  }
  

/* Mobile styles */
@media (max-width: 800px) {
    .hideOnMobile {
        display: none;
    } 

    
    .menu-button {
        display: block;
    }
    

}

@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    } 


}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}


main {
    padding-top: 70px; /* To prevent content from being hidden behind the fixed header */
}

.hero h1 {
    font-size: 2.5em;
}

.hero p {
    font-size: 1.2em;
    margin: 20px 0;
}


.banner {
    background: url('images/banner.jpg') no-repeat center center/cover;
    color: #fff;
    text-shadow: #333;
    text-align: center;
    padding: 100px 20px;
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banner h1 {
    margin: 0;
    font-size: 3em;
}

.banner p {
    font-size: 1.2em;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust this value to change the darkness */
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6); /* Dark semi-transparent background */
    padding: 20px;
    border-radius: 10px;
}

.banner-content h1 {
    font-size: 2.5em;
}

.banner-content p {
    font-size: 1.2em;
    margin: 20px 0;
}

.highlight-word {
    color: #e67e22;
    font-weight: bold;
}

.sub-highlight {
    display: block;
    font-size: 0.8em;
    /* color: #1e90ff; */
    color: #fff;
    margin-top: -10px;
}

/* CTA Section */
.cta-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 5px;
    background-color: #333;
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-image {
    max-width: 100%;
    height: auto;
    margin-left: 20px;
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* New CTA Section Styles */
.cta-section {
    background: url('images/index-1.jpg') no-repeat center center/cover;
    padding: 50px 20px;
    color: #fff;
    text-align: center;
    position: relative;
}

.cta-overlay {
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    padding: 50px 20px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.cta-primary {
    background-color: #007BFF;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-primary:hover {
    background-color: #0056b3;
}

.cta-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-secondary:hover {
    background-color: #007BFF;
    color: #fff;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
}


/* Mobile Styles */
@media (max-width: 600px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: #333;
        padding: 20px;
        position: absolute;
        top: 60px;
        right: 20px;
        border-radius: 5px;
    }

    .nav-list li {
        margin: 0;
    }

    .cta-section {
        flex-direction: column;
        text-align: center;
    }

    .cta-image {
        margin-left: 0;
        margin-top: 20px;
    }

    .highlight-services {
        flex-direction: column;
    }

    .highlight {
        margin: 20px 0;
    }
}


@media (max-width: 1024px) {
    .nav-list {
        display: flex;
    }
}

/* CTA Section */
.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: #333;
    color: white;
}

.cta-content {
    max-width: 50%;
    text-align: center;
}

.cta-content p {
    margin: 20px 0;
}

.cta-image-container {
    max-width: 40%;
}

.cta-image {
    width: 100%;
    height: auto;
}


.cta {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.cta:hover {
    background: #0056b3;
}

section {
    padding: 40px 20px;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
    font-size: 2em;
}

.service, .service-detail, .course-detail, .testimonial, .team-member {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.service h3, .service-detail h3, .course-detail h3, .team-member h4 {
    margin: 0 0 10px;
}

.testimonial p, .mission-vision p {
    margin: 0;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.social-media a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.social-media a:hover {
    color: #007BFF;
}

/* Home Page Styles */
.services-overview .service {
    display: inline-block;
    width: 30%;
    vertical-align: top;
    margin: 1.5%;
}

.testimonials .testimonial {
    display: inline-block;
    width: 45%;
    vertical-align: top;
    margin: 2.5%;
}

/* Services Page Styles */
.services .service-detail {
    margin-bottom: 20px;
}

.highlight-services {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background: #f4f4f4;
    text-align: center;
}

.highlight {
    flex: 1;
    margin: 0 10px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.highlight i {
    font-size: 50px;
    color: #333;
    margin-bottom: 20px;
}

.highlight h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.highlight p {
    font-size: 1em;
    margin-bottom: 20px;
}

.image-section {
    display: flex;
    justify-content: center;
    padding: 50px 0;
    background: #fff;
}

.responsive-image {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Courses Page Styles */
.courses .course-detail {
    margin-bottom: 20px;
}

/* About Us Page Styles */
.about .team-member {
    display: inline-block;
    width: 45%;
    vertical-align: top;
    margin: 2.5%;
}

.mission-vision {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page Styles */
.contact form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact form input, .contact form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact form button {
    width: 100%;
    padding: 10px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

.contact form button:hover {
    background: #0056b3;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .services-overview .service,
    .testimonials .testimonial,
    .about .team-member {
        width: 100%;
        margin: 20px 0;
    }

    header nav ul {
        flex-direction: column;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .cta {
        width: 100%;
        text-align: center;
    }
}

/* Course Detail Page Styles */
.course-detail .banner {
    background: url('banner.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.course-detail .banner h1 {
    margin: 0;
    font-size: 2.5em;
}

.course-detail .banner p {
    font-size: 1.2em;
    margin: 20px 0;
}

.course-detail .course-content {
    padding: 20px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.course-detail .course-content h2 {
    margin-top: 30px;
    font-size: 1.8em;
}

.course-detail .course-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.course-detail .course-content ul li {
    margin-bottom: 10px;
}

.curriculum h3 {
    margin-top: 30px;
    font-size: 1.5em;
    color: #007BFF;
}

.curriculum ul {
    margin-top: 10px;
}

.curriculum ul li {
    margin-bottom: 5px;
}

/* .cta-container {
    text-align: center;
    margin: 40px 0;
}

.cta-container .cta {
    display: inline-block;
    padding: 0.8em 2em;
    font-size: 1em;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-container .cta:hover {
    background: #0056b3;
}
 */

.cta-container {
    text-align: center;
    margin: 40px 0;
    padding: 0 1rem;
}

.cta-container .cta {
    display: inline-block;
    padding: 0.8em 2em;
    font-size: 1em;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta-container .cta:hover {
    background: #0056b3;
    transform: scale(1.02);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .cta-container .cta {
        display: block;
        width: 100%;
        font-size: 0.95em;
        padding: 1em;
        margin: 0 auto;
    }
}

/* about page */
.about {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-image {
    width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.team-member {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    padding: 20px;
    max-width: 300px;
    text-align: center;
}

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mission-vision {
    margin-top: 40px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

.social-media a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-bottom: 10px;
    }

    .team {
        flex-direction: column;
        align-items: center;
    }
}

.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-chat a img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-chat a img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.timer {
    font-size: 1.2em;
    color: white; /* Text color set to white */
    text-align: center;
    margin: 1em auto;
    padding: 0.5em;
    background-color: #FF4500; /* Red background */
    border-radius: 0.5em;
    width: fit-content;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for style */
}

.about-me {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
  }
  
  .about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: auto;
  }
  
  .about-image img {
    width: 250px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .about-text {
    flex: 1;
    font-size: 1rem;
    color: #333;
  }
  
  .about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #000;
  }
  
  .portfolio-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
  }
  
  .portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .portfolio-gallery img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }
  

.navbar-links, .sidebar, .menu-button, .hideOnMobile {
    display: none !important;
}

