body {
    margin: 0;
    font-family: Arial, sans-serif;
  }

  *{
    box-sizing: border-box;
  }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    /* background-color:; */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
}

/* Navbar with Scroll Effect */
.navbar.scrolled {
    background-color: #0e0d40; /* Background color when scrolled */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow effect for better visibility */
}

.logo img {
    height: 50px;
}

nav {
    position: relative;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 15px; /* Reduced margin */
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 15px; /* Reduced padding */
    display: block;
    font-size: 14px; /* Slightly smaller font */
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #fff;
    border-radius: 4px;
    color: #0e0d40;
}



.header-content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('../images/header-image.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    /* padding: 70px 20px ; */

    box-sizing: border-box;
    animation: fadeIn 2s ease-in-out;
}

.header-content h1 {
    font-size: 3em;
    margin: 0;
}

.header-content h2 {
    color: #ffda06;
}

.header-content p {
    font-size: 1.5em;
    margin: 5px 0 20px;
}

.payment-option {
    text-align: center;
    margin-top: 20px;
    color: #fff;
    /* matches header text */
}

.payment-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.payment-options .option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.payment-options i {
    font-size: 1.2rem;
}

.secured-payment {
    font-size: 1rem;
}

.secured-payment img {
    height: 75px;
    vertical-align: middle;
    margin: 0 5px;
}

.student-count-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #007BFF, #00B4D8);
    color: #fff;
  }

  .student-count-number {
    font-size: 4rem;
    font-weight: 800;
    margin: 0;
  }

  .student-count-text {
    font-size: 1.5rem;
    margin-top: 10px;
    font-weight: 500;
  }

  @media (max-width: 768px) {
    .student-count-number {
      font-size: 3rem;
    }
    .student-count-text {
      font-size: 1.2rem;
    }
  }


.free-courses {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
    /* light background to separate section */
}

.free-courses h2 {
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.course-card h3 {
    font-size: 1.4rem;
    margin: 10px 0;
    color: #222;
}

.course-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.course-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.course-btn:hover {
    background: #0056b3;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tablets (≤ 900px) */
@media (max-width: 900px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}


.cta-button {
    background-color: #20a2c9;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #1889ab;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #0e0d40;
        width: 100%;
        height: calc(100vh - 60px);
        text-align: center;
        justify-content: center; /* Center the items vertically */
        align-items: center; /* Center the items horizontally */
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-menu li a {
        padding: 15px 0;
        font-size: 18px;
        color: white;
        text-decoration: none;
        display: block;
        width: 100%;
        text-align: center;
        background-color: transparent;
    }

    .nav-menu li a:hover {
        background-color: #fff;
        color: #0e0d40;
    }

    .hamburger {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
    }
}

    .header-content h1 {
        font-size: 2.5em;
    }

    .header-content p {
        font-size: 1.2em;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .logo img {
        height: 40px;
    }


@media (max-width: 480px) {
    .header-content h1 {
        font-size: 2em;
    }

    .header-content p {
        font-size: 1em;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-end;
    }

    nav ul li {
        margin-left: 0;
    }

    .logo img {
        height: 35px;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 40px; /* Smaller on mobile */
    }
}

@media (min-width: 1200px) {
    .logo img {
        height: 60px; /* Larger on very large screens */
    }
}

/* Accreditation Section */

.accreditation-section {
    text-align: center; /* Center-aligns the heading and text */
    padding: 50px 20px;
    background-color: #fff;
    color:#262626;
}

.accreditation-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.accreditation-carousel {
    display: flex;
    justify-content: space-around; /* Evenly distributes the logos */
    align-items: center;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
}

.carousel-item {
    flex-shrink: 0; /* Prevents the item from shrinking */
    flex-grow: 0; /* Prevents the item from growing too large */
    margin: 0 20px; /* Spacing between logos */
    text-align: center;
}

.carousel-item img {
    width: 120px; /* Consistent width for all logos */
    height: auto; /* Maintain aspect ratio */
    max-width: 120px; /* Ensure width does not exceed this */
    object-fit: contain; /* Ensure logos don't stretch */
}

/* Make the carousel fully responsive */
@media (max-width: 768px) {
    .accreditation-carousel {
        flex-direction: column; /* Stacks the logos vertically */
        align-items: center; /* Centers the logos horizontally */
    }

    .carousel-item {
        margin: 15px 0; /* Adds margin between logos */
    }

    .carousel-item img {
        width: 200px; /* Smaller width for mobile if desired */
    }
}

/* Professionally Qualified section */

.qualification-section {
    background-color: #f2b313; /* Background color */
    color: #262626; /* Text color */
    padding: 50px 20px;
    text-align: center;
}

.qualification-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.steps-container {
    display: flex;
    justify-content: space-around; /* Evenly distribute the steps */
    flex-wrap: wrap; /* Wrap to the next line on small screens */
    gap: 20px; /* Space between steps */
}

.step {
    flex: 1; /* Allow steps to grow and shrink */
    max-width: 300px; /* Limit maximum width */
    margin: 0 auto; /* Center align each step */
    text-align: center;
}

.step-icon {
    font-size: 80px; /* Large size for icons */
    color: white; /* Icon color */
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step p {
    font-size: 1rem;
}

/* New Button */
.qua-button {
    display: inline-block;
    background-color: #262626;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    margin-top: 40px;
    transition: background-color 0.3s;
}

.qua-button:hover {
    background-color: #0d0d0d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items horizontally */
    }

    .step {
        max-width: 100%; /* Full width for each step */
        margin: 15px 0; /* Space between stacked items */
    }

    .step-icon {
        font-size: 60px; /* Smaller icons for mobile */
    }

    .step h3 {
        font-size: 1.2rem; /* Smaller heading for mobile */
    }

    .step p {
        font-size: 0.9rem; /* Smaller paragraph text */
    }

    .qua-button {
        font-size: 1em; /* Adjust button font size */
        padding: 10px 20px; /* Adjust button padding */
    }
}


/* Education Services Section */

.education-services-section {
    background-color: white; /* Background color */
    color: #262626; /* Text color */
    padding: 50px 20px;
    text-align: center;
}

.education-services-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.services-container {
    display: flex;
    justify-content: space-around; /* Evenly distribute the services */
    flex-wrap: wrap; /* Wrap to the next line on small screens */
    gap: 20px; /* Space between services */
}

.service {
    flex: 1; /* Allow services to grow and shrink */
    max-width: 300px; /* Limit maximum width */
    margin: 0 auto; /* Center align each service */
    text-align: center;
}

.service-icon {
    font-size: 80px; /* Large size for icons */
    color: #262626; /* Icon color */
    margin-bottom: 20px;
}

.service h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service p {
    font-size: 1rem;
}

/* New Button */
.edu-button {
    display: inline-block;
    background-color: #262626;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    margin-top: 40px;
    transition: background-color 0.3s;
}

.edu-button:hover {
    background-color: #0d0d0d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items horizontally */
    }

    .service {
        max-width: 100%; /* Full width for each service */
        margin: 15px 0; /* Space between stacked items */
    }

    .service-icon {
        font-size: 60px; /* Smaller icons for mobile */
    }

    .service h3 {
        font-size: 1.2rem; /* Smaller heading for mobile */
    }

    .service p {
        font-size: 0.9rem; /* Smaller paragraph text */
    }

    .edu-button {
        font-size: 1em; /* Adjust button font size */
        padding: 10px 20px; /* Adjust button padding */
    }
}

/* Courses Section */

/* Navbar Background Color Specific to Courses Page */
.courses-page .navbar {
    background-color: #0e0d40; /* Background color for navbar on the courses page */
}

.courses-section {
    padding: 50px 20px;
    background-color: #f5f5f5;
    color: #262626;
    text-align: center;
}

.courses-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    margin-top: 60px;
}

.courses-container {
    display: flex;
    flex-wrap: wrap; /* This will allow items to wrap to the next row */

    gap: 20px;
}

.course {
    flex: 1 1 calc(33.333% - 20px); /* Adjust to ensure three items per row with spacing */
    box-sizing: border-box; /* Ensure padding and border are included in width calculation */
    max-width: calc(33.333% - 20px); /* Ensure items don’t exceed their row width */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    padding: 15px;
}

.course img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course h2 {
    font-size: 1.5rem;
    margin: 15px 0 10px;
}

.course p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.course-button,.syllabus-button {
    display: block;
    width: 100%;
    background-color: #23af2f;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
}
.syllabus-button{
display: block;
margin-bottom: 10px;
 background-color: #1889ab;
}
.course-button:hover {
    background-color: #1889ab;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course {
        flex: 1 1 100%; /* Stack courses vertically on small screens */
        max-width: 100%; /* Ensure they take full width */
    }
}


/* course lessons */

.course-content {
    display: flex;
    margin: 20px;
}

.course-content {
    display: flex;
    margin-top: 50px; /* Add top margin if needed */
}

.sidebar {
    position: fixed; /* Fixes the sidebar in place */
    top: 50px;
    left: 0;
    width: 250px; /* Adjust width as needed */
    height: 100vh; /* Full viewport height */
    overflow-y: auto; /* Scrollable if content exceeds height */
    background-color: #f4f4f4; /* Light background for sidebar */
    padding: 20px; /* Padding around the content */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); /* Optional shadow for separation */
}


.content {
    margin-left: 300px; /* Offset content to the right to make space for the sidebar */
    padding: 20px; /* Padding around content */
    width: calc(100% - 300px); /* Adjust width to make space for sidebar */
    /* flex: 1; /* Ensure content area takes remaining space */ */
}

/* new */

/* Styles for mobile screens */
@media (max-width: 768px) {
    .sidebar {
        position: relative; /* Make sidebar flow with content on smaller screens */
        width: 100%; /* Full width on small screens */
        height: auto; /* Auto height on small screens */
        box-shadow: none; /* Remove shadow */
        padding: 10px; /* Adjust padding */
    }

    .content {
        margin-left: 0; /* Remove margin for mobile */
        width: 100%; /* Full width on small screens */
        padding: 10px; /* Adjust padding */
    }

    .course-content {
        flex-direction: column; /* Stack sidebar and content vertically */
    }

    /* Ensure the sidebar buttons are easily clickable */
    .module-btn {
        font-size: 1.2rem; /* Increase font size */
        padding: 15px; /* Increase padding */
    }
}

/* Additional adjustments for very small screens */
@media (max-width: 480px) {
    .module-btn {
        font-size: 1rem; /* Adjust font size */
        padding: 12px; /* Adjust padding */
    }

    .big-thumbnail {
        width: 100%; /* Make image responsive */
        height: auto; /* Maintain aspect ratio */
    }
}

/* new */


.sidebar ul {
    list-style-type: none; /* Remove bullets */
    padding: 0;
    margin: 0;
}

/* Style for the module heading */
.sidebar h2 {
    font-size: 1.5rem; /* Adjust heading size */
    margin-bottom: 20px; /* Space below the heading */
    color: #333; /* Darker text color */
}



/* Style for the module buttons */
.module-btn {
    background-color: #0e0d40; /* Primary color for buttons */
    color: #fff; /* Text color for buttons */
    border: none; /* Remove border */
    padding: 10px 15px; /* Padding inside buttons */
    margin-bottom: 2px;
    font-size: 1rem; /* Font size for button text */
    border-radius: 5px; /* Rounded corners for buttons */
    cursor: pointer; /* Pointer cursor on hover */
    width: 100%; /* Full width of the sidebar */
    text-align: left; /* Align text to the left */
    transition: background-color 0.3s ease; /* Smooth background color transition */
}

/* Hover effect for module buttons */
.module-btn:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

/* Style for the nested module content */
.module-content {
    display: none;
    margin-top: 10px;
}

.lesson-box {
    background-color: #f4f4f4; /* Light background for lessons */
    border: 1px solid #ddd;
    margin-top: 5px;
    padding: 10px;
    border-radius: 4px;
}


.lesson-box a {
    text-decoration: none;
    color: #333; /* Dark color for text */
}

.lesson-box a:hover {
    color: #000; /* Change color on hover if needed */
}

.lesson-box a.active {
    color: #0e0d40; /* Highlight color for active link */
    font-weight: bold; /* Optional: Make the active link bold */
}


/* newly added */
.default-content {
    display: block; /* Initially show default content */

}


.lesson-content {
    display: block; /* Hide lesson content by default */
    margin-bottom: 40px; /* Space between lessons */
    padding-top: 20px;
}

/* newly added end */

/* Show module content when button is clicked */
.module-btn.active + .module-content {
    display: block;
}

/* Hide default content when a lesson is selected */
.lesson-content.active {
    display: block;
}
/* Style for each module item */
.module-content li {
    margin-bottom: 10px; /* Space between items */
}

/* Style for links in module content */
.module-content a {
    text-decoration: none; /* Remove underline */
    color: #0e0d40; /* Link color */
    font-size: 0.9rem; /* Slightly smaller font size */
    transition: color 0.3s ease; /* Smooth color transition */
}

.content {
    width: 75%;
    padding: 10px;
}

.lesson-content {
    display: none;
    margin-bottom: 20px;

}

.lesson-video {
    margin-bottom: 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .lesson-topics {
       margin-top: 20px;
   }

   .lesson-topics h3 {
       font-size: 1.5em;
       margin-bottom: 10px;
   }

   .lesson-topics ol {
       margin-left: 20px;
       line-height: 1.6;
   }

   .lesson-topics ul ol {
       margin-left: 20px;
   }

.responsive-image {
    max-width: 100%; /* Ensures the image does not exceed the container width */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Ensures images are treated as block elements */
    margin: 20px 0; /* Adds space around the images */
}


.icon-paragraph {
    overflow: hidden; /* Ensure content wraps around the icon */

}

.img-icon {
    float: left; /* Float the icon to the left of the paragraph */
    margin-right: 25px; /* Add space between the icon and the paragraph */

}


.large-icon {
    font-size: 100px; /* Adjust the size of the icon */
    float: left; /* Float the icon to the left of the paragraph */
    margin-right: 25px; /* Add space between the icon and the paragraph */
    color: #333; /* Optional: set the icon color */

}


/* download course material section */

/* Add overflow:hidden to the container to avoid the zoomed image spilling out */
.course-download-section.landscape {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden; /* Ensure image stays inside the section */
}

/* Add transition to the image for smooth zooming */
.big-thumbnail {
    width: 400px; /* Keep current width */
    height: 250px;
    margin-right: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out; /* Smooth transition for the zoom effect */
}

/* Zoom effect when hovering over the image */
.big-thumbnail:hover {
    transform: scale(1.2); /* Increase size by 20% */
}


.product-description {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.buy-now-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px; /* Space between text and button */
    align-self: flex-start; /* Align the button to the left */
    width: 100%;
    text-align: center;
}

.buy-now-button:hover {
    background-color: #0e0d40;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .course-download-section.landscape {
        flex-direction: column; /* Stack elements vertically on smaller screens */
        align-items: flex-start; /* Align items to the start of the container */
    }

    .big-thumbnail {
        width: 100%; /* Make the image responsive */
        height: auto; /* Maintain aspect ratio */
        margin-right: 0; /* Remove margin on smaller screens */
        margin-bottom: 15px; /* Add space below the image */
    }

    .product-description {
        padding: 10px; /* Add some padding for better spacing */
    }
}

@media (max-width: 480px) {
    .buy-now-button {
        width: 100%; /* Full width button on very small screens */
        padding: 12px; /* Increase padding for better touch interaction */
        font-size: 14px; /* Adjust font size */
    }
}

/* Continue to the next leeson link */

.button-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: white;
    background-color: #007BFF; /* Blue background */
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s ease;
}

.button-link:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.button-link:active {
    background-color: #004080; /* Even darker blue when clicked */
}


.enroll-button {
    display: inline-block;
    background-color: #007BFF; /* Button color */
    color: white;              /* Text color */
    padding: 15px 25px;        /* Padding to make it look like a button */
    text-align: center;
    text-decoration: none;     /* Remove underline */
    font-size: 16px;           /* Font size */
    border-radius: 5px;        /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth hover transition */
}

.enroll-button:hover {
    background-color: #0056b3; /* Darken button on hover */
}


/* Coming Soon section styling */
.coming-soon {
    text-align: center;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coming-soon-content {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.coming-soon h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #6a11cb;
}

.coming-soon p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

/* Button styling */
.back-button {
    text-decoration: none;
    color: white;
    background-color: #2575fc;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #6a11cb;
}



/* About Us section */

/* Slideshow Container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    padding-top: 80px;
}

/* Hide slides by default */
.mySlides {
    display: none;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

/* Keyframes for fade effect */
@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

/* Style the dots */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}


/* Responsive settings */
@media (max-width: 768px) {
    .slideshow-container img {
        height: auto;
        object-fit: cover;
    }
}

.about-us {
    text-align: center;
    background-color: #;
    max-width: 1200px; /* Sets a maximum width */
    margin: 0 auto;    /* Centers the section horizontally */
}

.about-us h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-us p {
    font-size: 1rem;
    color: #555;
    text-align: justify;


}

/* Mission Section */
.mission {
    padding: 50px 20px;
    text-align: center;
    max-width: 1200px; /* Consistent width with the About Us section */
    margin: 0 auto;    /* Centers the section horizontally */
}

.mission h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mission p {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Media Queries for Mobile Responsiveness */
@media only screen and (max-width: 768px) {
    .about-us h1 {
        font-size: 2rem; /* Reduce heading size on smaller screens */
    }

    .about-us p {
        font-size: 0.9rem; /* Adjust paragraph font size */
        padding: 0 15px;    /* Add some padding for better readability */
    }

    .mission h2 {
        font-size: 1.8rem; /* Reduce heading size for mobile */
    }

    .mission p {
        font-size: 1rem; /* Reduce paragraph size for readability */
        padding: 0 20px; /* Add some padding for better appearance */
    }
}

@media only screen and (max-width: 480px) {
    .about-us h1 {
        font-size: 1.8rem; /* Further reduce heading size on mobile */
    }

    .about-us p {
        font-size: 0.85rem; /* Make paragraph text smaller */
    }

    .mission h2 {
        font-size: 1.5rem; /* Further reduce heading size */
    }

    .mission p {
        font-size: 0.9rem; /* Adjust paragraph font size */
    }
}


/* CEO Message Section */
.ceo-message {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: justify;
}

.ceo-message-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ceo-photo {
    flex: 1;
    max-width: 300px;
    margin-right: 20px;
}

.ceo-photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ceo-text {
    flex: 2;
}

.ceo-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.ceo-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Mobile Responsiveness */
@media only screen and (max-width: 768px) {
    .ceo-message-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .ceo-photo {
        margin-bottom: 20px;
        max-width: 100%;
    }

    .ceo-text {
        text-align: center;
    }

    .ceo-text h2 {
        font-size: 1.8rem;
    }

    .ceo-text p {
        font-size: 0.95rem;
    }
}


.contact-page {
    font-family: Arial, sans-serif;
    padding-top: 40px; /* Add this line to maintain spacing */
}

.contact-us {
  padding: 40px 20px;
  background-color: #f4f4f4;
  padding-top: 100px; /* Adjust this value to control the top padding */
}

.contact-us .container {
    max-width: 1200px;
    margin: 0 auto;

}

.contact-us h1 {
    text-align: center;
    margin-bottom: 20px;
}

.contact-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-top: 20px; /* Add this to give space at the top */

}

.contact-item {
    flex: 1;
    min-width: 250px;
    margin: 0 20px;
    margin-bottom: 20px;
    text-align: center;

}

.contact-item h2 {
    margin-top: 0;
}


/* Social Media Buttons */
/* Social Media Buttons */
.social-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Aligns the icons to the left */
    gap: 5px; /* Reduced gap between icons */
    margin-top: 10px;
}

.social-btn {
    display: inline-block;
    width: 45px; /* Slightly smaller circle */
    height: 45px;
    background-color: #3b5998;
    border-radius: 50%; /* Keeps the button circular */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px; /* Adjust icon size */
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-right: 5px; /* Reduce margin between buttons */
}

.social-btn:last-child {
    margin-right: 0; /* Remove margin on the last icon */
}

.fb-btn {
    background-color: #3b5998;
}

.fb-btn:hover {
    background-color: #2d4373;
}

.insta-btn {
    background-color: #e1306c;
}

.insta-btn:hover {
    background-color: #c13584;
}

.tiktok-btn {
    background-color: #000000;
}

.tiktok-btn:hover {
    background-color: #444444;
}

.tiktok-btn {
    background-color: #000000;
}

.tiktok-btn:hover {
    background-color: #444444;
}

#whatsapp-btn {
    background-color: #25D366; /* Original WhatsApp green */
}

#whatsapp-btn:hover {
    background-color: #075E54; /* Darker WhatsApp green on hover */
}

.social-btn i {
    margin: 0; /* Center the icon perfectly inside the circle */
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    margin-top: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form button {
    background-color: #0e0d40;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form button:hover {
    background-color: #333;
}

.map iframe {
    width: 100%;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.error p{
    margin: 0;
    margin-bottom: 2px;
    color: white;
}

.error{
    background-color: rgb(238, 82, 82);
    padding: 10px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.success{
    background-color: rgb(82, 238, 95);
    padding: 10px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}


.auth_btn{
    border: 1px solid white;
    border-radius: 6px;
    color: white;
}

.register{
    background-color: white;
  
}

.register a{
    color:#0e0d40 !important;
}



/* Footer Section */
.footer-section {
    background-color: #262626; /* Dark background color */
    color: white; /* White text color */
    padding: 20px 0; /* Padding for the footer */
    text-align: center; /* Center-align the text */
    font-size: 0.9em; /* Slightly smaller text */
}

.footer-section a {
    color: #20a2c9; /* Color for email link */
    text-decoration: none; /* Remove underline from link */
}

.footer-section a:hover {
    text-decoration: underline; /* Underline on hover */
}

.footer-section p {
    margin: 5px 0; /* Small margin between lines */
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-section {
        font-size: 0.8em; /* Slightly smaller text on mobile */
    }
}

@media(max-width:768px){
    .course-padding{
        margin-top: 50px !important;
    }
}

.course-footer{
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.course h4{
    margin: 0;
    font-size: 1.2rem;
}

@media(max-width:768px){
    .course{
       flex: 1 1 100%;
       max-width: 100%;
    }
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scrolling if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

.modal-content {
    background-color: white;
    margin: 4% auto; /* 10% from the top and centered horizontally */
    padding: 20px;
    border-radius: 10px;
    width: 80%; /* Adjust to suit your design */
    max-width: 500px; /* Limit for larger screens */
    max-height: 80vh; /* Limit modal height to 80% of the viewport */
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.2);
    text-align: left; /* Ensure text is left-aligned */
    overflow-y: auto; /* Add vertical scroll when content overflows */
}

/* Center only the h2 in modal */
.modal-content h2 {
    text-align: center;
}



/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .modal-content {
        width: 90%; /* Ensure it's more mobile-friendly */
        max-height: 80vh; /* Ensure the modal stays within mobile screen */
    }
}

.teachers-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

.teachers-section h2 {
    margin-bottom: 20px;
}

.teachers-section h5 {
    margin-top: 5px;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    /* centers text below */
    background: #fff;
}

.card img {
    display: block;
    margin: 20px auto 10px;
    border-radius: 50%;
    border: 1px solid #ddd;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.card-body {
    padding: 10px 15px 20px;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.card-text {
    font-size: 14px;
    color: #555;
}