/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f5f5f5;
    color: #fff;
}

/* Header Styles */
header {
    background-color: #00473E;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 120px;
    margin-right: 10px;
}

.logo-text {
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

/* Navbar Links */
.nav-links {
    display: flex; /* Change to flex for larger screens */
    flex-direction: row; /* Horizontal alignment for larger screens */
    align-items: center; /* Align links center vertically */
    background-color: #00473E; /* Match navbar background */
    position: static; 
    width: auto; /* Auto width for normal display */
    z-index: 1000; /* Ensure it's on top */
    text-decoration: none;
    list-style: none;
}

.nav-links li {
    margin-left: 10px;
    text-decoration: none;
}

/* Hamburger Icon Styles */
.menu-toggle {
    cursor: pointer;
    display: block; /* Show by default */
    color: #fff;
    font-size: 24px;
    margin-left: auto;
}

/* Hide hamburger icon on larger screens */
@media only screen and (min-width: 769px) {
    .menu-toggle {
        display: none; /* Hide the menu icon on larger screens */
    }
}

.menu-toggle i {
    transition: transform 0.3s ease;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 1px 7px; 
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #F9B32F;
}

.contact-us {
    margin-left: 30px;
}

.contact-btn {
    background-color: #fff;
    color: #00473E;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #F9B32F;
    color: #00473E;
}

/* Mobile Styles */
@media only screen and (max-width: 768px) {
    .nav-links {
        display: none; /* Hide the navigation menu on mobile by default */
        flex-direction: column;
        align-items: center;
        background-color: #00473E;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        text-align: center;
        z-index: 999;
    }

    .nav-links.active {
        display: flex; /* Show the menu when the class 'active' is added */
    }

    .nav-links li {
        margin: 15px 0;
        list-style: none;
    }

    .contact-us {
        margin-left: 0;
    }
}

@media only screen and (max-width: 425px) {
    @keyframes slideDown {
        from {
            max-height: 0;
            opacity: 0;
        }
        to {
            max-height: 300px; /* Adjust based on expected height */
            opacity: 1;
        }
    }

    header {
        padding: 15px 0;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
    }

    .logo {
        justify-content: space-between;
        width: 100%;
    }

    .logo img {
        width: 80px;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        background-color: #00473E;
        width: 100%;
        padding: 10px 0;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        font-size: 14px;
    }

    .contact-info {
        font-size: 14px;
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 10px;
    }

    .social-icons {
        display: flex;
        gap: 10px;
    }

    .contact-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .nav-links.active {
        animation: slideDown 0.5s ease; /* Slide down animation */
    }

    .contact-us {
        left: 150px;
    }
}
/* Hero Section */
/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    padding: 10px 40px;
    background-color: #00473E;
}

.hero-content {
    max-width: 800px;
    order: 1; /* Ensure this appears first on larger screens */
}

.hero-image {
    order: 2; /* Ensure the image appears second on larger screens */
}

.hero-content h1 {
    font-size: 45px;
    margin-bottom: 60px;
}

.hero-content h1 span {
    color: #F9B32F;
    font-size: 40px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    align-items: center;
}

.find-course-btn {
    background-color: #fff;
    color: #00473E;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-right: 30px;
}

.find-course-btn:hover {
    background-color: #F9B32F;
    color: #00473E;
}

.happy-students {
    display: flex;
    align-items: center;
}

.happy-students span {
    margin-right: 15px;
    font-weight: bold;
    color: #F9B32F;
}

.students-avatars {
    display: flex;
}

.students-avatars img {
    width: 160px;
    height: 60px;
    border-radius: 50%;
    margin-right: 5px;
}

.hero-image img {
    width: 600px;
    border-radius: 10px;
    margin-top: -70px;
}

/* Responsive Styles for Mobile Devices */
@media only screen and (max-width: 425px) {
    .hero-section {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align items */
        padding: 20px; /* Adjust padding */
        position: relative; /* Set position relative for z-index control */
    }

    .hero-content {
        max-width: 100%; /* Full width for mobile */
        order: 0; /* Ensure this appears first */
        text-align: center; /* Center the text */
        margin-bottom: 20px; /* Space below the content */
        position: relative; /* Set position relative to allow z-index */
        z-index: 2; /* Bring content in front */
    }

    .hero-image {
        order: 1; /* Ensure the image appears second */
        width: 100%; /* Full width for the image */
        display: flex; /* Enable flex for centering */
        justify-content: center; /* Center the image horizontally */
        position: absolute; /* Position the image absolutely */
        top: 0; /* Align to the top */
        left: 0; /* Align to the left */
        z-index: 1; /* Send image behind the content */
    }

    .hero-image img {
        width: 100%; /* Adjust image width for mobile */
        max-width: 600px; /* Maximum width for the image */
        border-radius: 10px; /* Keep border radius */
        margin-top: 0; /* Reset margin to prevent overlap */
        position: relative; /* Ensure the image is positioned relative */
        z-index: 1; /* Keep the image behind the content */
    }

    .hero-content h1 {
        font-size: 30px; /* Decrease font size for mobile */
        margin-bottom: 20px; /* Adjust margin */
    }

    .hero-content p {
        font-size: 16px; /* Decrease font size for mobile */
        margin-bottom: 20px; /* Adjust margin */
    }

    .cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center; /* Center align buttons */
    }

    .find-course-btn {
        padding: 12px 25px; /* Adjust padding */
        margin-right: 0; /* Reset margin */
        margin-bottom: 15px; /* Space below button */
    }

    .happy-students {
        margin-top: 15px; /* Space above happy students section */
    }

    .students-avatars img {
        width: 50px; /* Adjust avatar size */
        height: 50px; /* Adjust avatar size */
    }
}


/* About Us Section */
.about-us-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 50px;
    background-color: #FFFFFF;
    color: #00473E;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-us-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.about-us-image img {
    width: 500px;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 1s ease-in-out forwards;
    animation-delay: 1s;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.about-us-text {
    max-width: 600px;
    padding-left: 50px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 1.5s;
}

.about-us-text h2 {
    font-size: 35px;
    color: #00473E;
    margin-bottom: 20px;
}

.about-us-text h2 span {
    color: #F9B32F;
}

.about-us-text p {
    font-size: 18px;
    margin-bottom: 10px;
}

.mission-vision {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mission, .vision {
    max-width: 280px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 2s;
}

.mission h3, .vision h3 {
    font-size: 25px;
    color: #00473E;
    margin-bottom: 10px;
}

.mission p, .vision p {
    font-size: 16px;
    color: #444444;
}

.title {
    text-align: center;
}

.admission-btn {
    background-color: #F9B32F;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 2.5s;
}

.admission-btn:hover {
    background-color: #00473E;
    color: #fff;
}

/* Responsive Design for Mobile Devices */
@media only screen and (max-width: 425px) {
    .about-us-section {
        flex-direction: column; /* Stack elements vertically */
        padding: 50px 20px; /* Adjust padding for mobile */
        align-items: center; /* Center align items */
    }

    .about-us-content {
        flex-direction: column; /* Stack content vertically */
        align-items: center; /* Center align content */
    }

    .about-us-image img {
        width: 100%; /* Full width for the image */
        max-width: 300px; /* Max width for the image */
        margin-bottom: 20px; /* Space below the image */
    }

    .about-us-text {
        padding-left: 0; /* Remove left padding */
        text-align: center; /* Center align text */
        max-width: 100%; /* Full width for text */
    }

    .about-us-text h2 {
        font-size: 28px; /* Decrease font size for mobile */
    }

    .about-us-text p {
        font-size: 16px; /* Adjust font size for mobile */
    }

    .mission-vision {
        flex-direction: column; /* Stack mission and vision vertically */
        align-items: center; /* Center align items */
    }

    .mission, .vision {
        max-width: 100%; /* Full width for mission and vision sections */
        margin-bottom: 20px; /* Space below each section */
    }

    .mission h3, .vision h3 {
        font-size: 20px; /* Decrease font size for mobile */
    }

    .mission p, .vision p {
        font-size: 14px; /* Adjust font size for mobile */
    }

    .admission-btn {
        padding: 10px 20px; /* Adjust padding for mobile */
        font-size: 16px; /* Decrease font size for button */
    }
}

/* Courses style  */
.courses-section {
    background-color: #f9f9f9;
    background-image: url(./images/cbg.png);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 40px;
    color: #333;
}

.section-header p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.btn.view-all-courses {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
}

.course-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.course-card {
    background-color: #1E3558;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    margin-bottom: 50px;
}

.course-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    background-color: #000000;
    color: white;
}

.course-card img {
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.course-content {
    padding: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.badge {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 50px;
}

.course-info {
    display: flex;
    justify-content: space-between;
    color: #ffffff;
    font-size: 12px;
}

.rating {
    color: #ff9900;
}

.course-card h3 {
    font-size: 18px;
    color: #fffefe;
}

.course-card p {
    font-size: 14px;
    color: #ffffff;
    margin-top: -1px;
}

.enroll-now {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 4px;
    text-align: center;
    margin-left: 40px;
    margin-right: 40px;
}

.enroll-now:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Responsive Design for Mobile Devices */
@media only screen and (max-width: 768px) {
    .course-cards {
        grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
        gap: 20px;
    }

    .course-card {
        margin-bottom: 30px; /* Adjust margin for mobile */
    }

    .section-header h2 {
        font-size: 32px; /* Adjust heading size for mobile */
    }

    .section-header p {
        font-size: 14px; /* Adjust paragraph size for mobile */
    }

    .enroll-now {
        margin-left: 20px; /* Adjust margin for buttons */
        margin-right: 20px; /* Adjust margin for buttons */
        padding: 6px 15px; /* Adjust button padding */
        font-size: 12px; /* Adjust font size for mobile */
    }
}

@media only screen and (max-width: 425px) {
    .course-cards {
        grid-template-columns: 1fr; /* Single column for mobile phones */
        gap: 15px;
    }

    .course-card {
        margin-bottom: 20px; /* Adjust margin for mobile */
    }

    .section-header h2 {
        font-size: 28px; /* Further decrease heading size for mobile */
    }

    .section-header p {
        font-size: 12px; /* Further decrease paragraph size for mobile */
    }

    .enroll-now {
        margin-left: 10px; /* Adjust margin for buttons */
        margin-right: 10px; /* Adjust margin for buttons */
        padding: 5px 10px; /* Adjust button padding */
        font-size: 12px; /* Adjust font size for mobile */
    }
}

/* Detail Styles */
.course-details-container {
    display: flex;
    justify-content: space-between;
    margin: 30px auto;
    padding: 20px;
    max-width: 1200px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.main-content {
    flex: 2.8;
    padding-right: 20px;
}

.course-image img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    margin-bottom: 20px;
}

.course-meta span {
    color: #6C7A89;
}

.course-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

#course-title {
    color: rgb(17, 16, 16);
}

.sidebar {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-image img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.course-fee {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.course-fee span {
    color: #27ae60;
    font-weight: bold;
    font-size: 24px;
}

.course-fee s {
    color: #e74c3c;
    margin-left: 10px;
}

.course-details p {
    margin-bottom: 10px;
    color: #6C7A89;
}

#enroll-button {
    width: 100%;
    padding: 15px;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 16px;
}

#enroll-button:hover {
    background-color: #219150;
}

.filter-container {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-container label {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.filter-container select {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-container select:focus {
    border-color: #007bff; 
}

.filter-container select option {
    padding: 10px;
    background-color: #fff;
}

.section-header {
    margin-bottom: 20px;
}

.view-all-courses {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.view-all-courses:hover {
    text-decoration: underline;
}
/* Responsive Design for Mobile Devices */
@media only screen and (max-width: 768px) {
    .course-details-container {
        flex-direction: column; /* Stack elements on smaller screens */
        padding: 10px; /* Adjust padding for mobile */
    }

    .main-content {
        padding-right: 0; /* Remove right padding */
    }

    .course-meta {
        flex-direction: column; /* Stack course metadata */
        font-size: 12px; /* Reduce font size */
    }

    .course-description {
        font-size: 14px; /* Adjust description font size */
    }

    #enroll-button {
        padding: 12px; /* Adjust button padding */
        font-size: 14px; /* Adjust button font size */
    }

    .sidebar {
        margin-top: 20px; /* Add margin above sidebar */
    }

    .course-fee {
        font-size: 16px; /* Adjust fee font size */
    }

    .course-fee span {
        font-size: 20px; /* Adjust fee span font size */
    }

    .filter-container {
        flex-direction: column; /* Stack filter elements */
        align-items: flex-start; /* Align left */
    }

    .filter-container label,
    .filter-container select {
        width: 100%; /* Full width for filters */
        margin-bottom: 10px; /* Add spacing */
    }

    .course-image {
        display: none; /* Hide course image on mobile devices */
    }
}

@media only screen and (max-width: 425px) {
    
    .course-details-container {
        padding: 5px; /* Further reduce padding for mobile */
    }

    .course-meta {
        font-size: 10px; /* Further reduce font size */
    }

    .course-description {
        font-size: 12px; /* Further adjust description font size */
    }

    #enroll-button {
        padding: 10px; /* Adjust button padding */
        font-size: 12px; /* Adjust button font size */
    }

    .course-fee {
        font-size: 14px; /* Further adjust fee font size */
    }

    .course-fee span {
        font-size: 18px; /* Further adjust fee span font size */
    }
    #course-title {
        text-align: center; /* Center the text */
        width: 100%; /* Ensure it takes the full width */
        margin: 0 auto; /* Center it in its container */
    }
    .contact-us{
        /* display: none; */
    }
    
}



/* contact us  */


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.contact-us-section {
    /* background-color: #ffffff; */
    padding: 40px 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 600px;
    margin: 50px auto;
    background-color: #fcf7f7;
}

.ch {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: black;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: black;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: #0056b3;
}

.form-feedback {
    margin-top: 15px;
    color: #ff0000;
    text-align: center;
    display: none;
}


/* fdghfd  */
/* .services-section {
    text-align: center;
    padding: 50px 0;
    background-color: #fcf7f7;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    
}

.section-title {
    font-size: 40px;
    color: #333;
    margin-bottom: 30px;
}

.services-slider {
    display: flex;
    justify-content: center;
    gap: 30px; 
    overflow: hidden;
    margin-bottom: 20px;
}



.service-card {
    
    border-radius: 12px;
    overflow: hidden;
    width: 500px;
    
    background: #1E3558;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    text-align: center;
    padding: 5px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.service-card:hover{
    background-color: #000000;
    color: white;
} 



.service-card img {
    width: 100%;
    height: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 22px;
    color: #ffffff;
    margin: 15px 0 10px 0; 
}

.service-card p {
    font-size: 18px;
    color: #ffffff;
    padding: 0 10px 15px 10px; 
    margin-top: 5px; 
   
   
}

.slider-prev, .slider-next {
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.slider-prev {
    left: 100px;
    margin-top: 50px;
}

.slider-next {
    right: 100px;
    margin-top: 50px;
}

.slider-prev:hover, .slider-next:hover {
    background-color: #0e74e7;
} */
.services-section {
    text-align: center;
    padding: 50px 0;
    background-color: #fcf7f7;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 40px;
    color: #333;
    margin-bottom: 30px;
}

.services-slider {
    display: flex;
    justify-content: center;
    gap: 30px; 
    overflow: hidden;
    margin-bottom: 20px;
}

.service-card {
    border-radius: 12px;
    overflow: hidden;
    width: 500px;
    height: 600px; 
    background: #1E3558;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    text-align: center;
    padding: 5px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.service-card:hover {
    background-color: #000000;
    color: white;
}

.service-card img {
    width: 100%;
    height: 150px; 
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service-card h3 {
    font-size: 22px;
    color: #ffffff;
    margin: 15px 0 10px 0; 
}

.service-card p {
    font-size: 18px;
    color: #ffffff;
    padding: 10px 10px 60px 10px; 
    margin-top: 5px;
    flex-grow: 1; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
}

.slider-prev, .slider-next {
    background-color: #20C18A;
    color: #000000;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.slider-prev {
    left: 80px;
    margin-top: 50px;
}

.slider-next {
    right: 80px;
    margin-top: 50px;
}

.slider-prev:hover, .slider-next:hover {
    background-color: #000000;
    color: white;
}

/* Responsive Design for Mobile Devices */
@media only screen and (max-width: 425px) {
    .services-section {
        padding: 20px 10px; /* Adjust padding for mobile */
    }

    .section-title {
        font-size: 28px; /* Adjust font size for mobile */
        margin-bottom: 20px; /* Reduce margin */
    }

    .services-slider {
        flex-direction: column; /* Stack cards vertically */
        align-items: center; /* Center cards */
    }

    .service-card {
        width: 100%; /* Take full width on mobile */
        height: auto; /* Allow height to adjust */
        margin: 10px 0; /* Add margin for spacing */
        display: none; /* Hide cards by default */
    }

    .service-card.active {
        display: flex; /* Show active card */
    }

    .service-card h3 {
        font-size: 20px; /* Adjust title size for mobile */
    }

    .service-card p {
        font-size: 16px; /* Adjust paragraph size for mobile */
    }

    .slider-prev, .slider-next {
        width: 40px; /* Adjust button size for mobile */
        height: 40px;
    }
}


/* blog  */
.blog-section {
    padding: 40px 0;
    text-align: center;
    background-color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.section-header h2 {
    font-size: 40px;
    color: #0c2340;
    margin-bottom: 5px;
}

.section-header p {
    font-size: 16px;
    color: #0c2340;
    margin-bottom: 30px;
}

.all-blog-posts {
    display: inline-block;
    padding: 10px 20px;
    background-color: #026937;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.blog-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Creates 4 columns with equal width */
    gap: 20px; 
}

.blog-card {
    background: #1E3558;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; 
    height: 100%; /* Ensures uniform height */
}

.blog-card:hover {
    background-color: #000000;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    flex: 1; /* Allows content to take up remaining space */
    padding: 10px;
    display: flex;
    flex-direction: column; /* Ensures vertical alignment */
    justify-content: space-between; /* Distributes space evenly */
}

.blog-card-content h3 {
    font-size: 15px;
    margin: 10px 0;
    color: #ffffff;
}

.blog-card-content p {
    color: #ffffff;
    font-size: 14px;
}

.blog-card-content .blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #ffffff;
}

.section-subtitle {
    color: black;
    font-size: 20px;
    margin-bottom: 80px;
}

.blog-card-content a {
    text-decoration: none;
    color: #026937;
    display: inline-block;
    background-color: #007BFF;
    color: #fffefe;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.btn_view_all_courses {
    display: inline-block;
    background-color: #007BFF;
    color: #fffefe;
    padding: 10px 20px; 
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px; 
    margin-bottom: 4px;
    margin-left: 50px;
    margin-right: 50px;
    text-align: center;
}

.btn_view_all_courses:hover {
    background-color: white;
    color: #000000;
}

/* Responsive Styles for Mobile Devices */
@media (max-width: 425px) {
    .section-header h2 {
        font-size: 30px; /* Smaller title font size on mobile */
    }

    .section-header p {
        font-size: 14px; /* Smaller paragraph font size on mobile */
    }

    .blog-cards-container {
        grid-template-columns: repeat(1, 1fr); /* 1 column for mobile */
        gap: 50px; /* Reduced gap between cards */
    }

    .blog-card {
        padding: 15px; /* Adjust padding for mobile */
    }

    .blog-card img {
        height: 150px; /* Smaller image height for mobile */
    }

    .blog-card-content h3 {
        font-size: 14px; /* Smaller heading font size on mobile */
    }

    .blog-card-content p {
        font-size: 12px; /* Smaller paragraph font size on mobile */
    }

    .section-subtitle {
        font-size: 18px; /* Smaller subtitle font size on mobile */
        margin-bottom: 40px; /* Adjust margin for mobile */
    }

    .btn_view_all_courses {
        margin-left: 20px; /* Adjust margins for mobile */
        margin-right: 20px;
        font-size: 12px; /* Smaller button font size on mobile */
    }
}



/* Footer Styles */
.footer {
    background-color: #333;
    color: #000000;
    padding: 40px 20px;
    /* background-image: url(./images/cbg.png); */
    background-image: url(./images/3\ \(1\).png);
    margin-top: 100px;
}
.container {
    width: 80%;
    margin: 0 auto;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    text-align: center; 
}

.footer-section {
    flex: 1;
    margin: 0 20px; 
    min-width: 200px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

.footer-section p {
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    /* justify-content: center;  */
}

.footer-contact i {
    margin-right: 10px;
    font-size: 18px;
}


.footer-social {
    display: flex;
    justify-content: center; 
    gap: 20px;
}

.social-icon {
    color: #000000;
    font-size: 24px;
    text-decoration: none;
}

.social-icon:hover {
    color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
}

.footer-bottom p {
    margin: 0;
}



/* Blog  */

.tags ul li a {
    display: inline-block;
    background-color: #f8f9fa;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    color: #007bff;
    text-decoration: none;
}
.categories ul li, .tags ul li {
    margin-bottom: 10px;
}

.categories ul li a, .tags ul li a {
    color: #007bff;
    text-decoration: none;
    font-size: 16px;
}

.categories ul li a span {
    color: #666;
    font-size: 14px;
    margin-left: 10px;
}

.recent-news, .categories, .tags {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.recent-news h3, .categories h3, .tags h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.recent-news ul, .categories ul, .tags ul {
    list-style: none;
    padding: 0;
}

.recent-news li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.recent-news img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-right: 15px;
}

.recent-news a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 5px;
}

.recent-news span {
    display: block;
    color: #999;
    font-size: 12px;
}
.search-box {
    display: flex;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.search-box button {
    padding: 10px;
    background-color: #f3f3f3;
    color: #000000;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumbs {
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.main-content-blog {
    display: flex;
    flex-wrap: wrap;
}

.post-content {
    flex: 3;
    margin-right: 30px;
}

.post-content h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.post-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.post-meta {
    margin-bottom: 20px;
    color: #999;
}

.post-meta span {
    margin-right: 15px;
    font-size: 14px;
}

.post-content p {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
}


/* Existing styles */
/* abin  */
.team-section {
    background-color: #004236;
    padding: 50px 0;
    text-align: center;
    color: #fff;
    background-image: url(./images/4\ \(1\).png);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.team-section .section-title {
    font-size: 40px;
    margin-bottom: 40px;
    color: rgb(0, 0, 0);
}

.ins {
    color: #000000;
}

.instructors-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.instructor-card {
    background-color: #1E3558;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    max-width: 220px;
    text-align: center;
    position: relative; /* For positioning the share icon and social links */
    overflow: hidden; /* Ensure content does not overflow */
    transition: transform 0.3s, box-shadow 0.3s; /* Add transition for animations */
}

.instructor-card:hover {
    transform: scale(1.05); /* Zoom effect */
    background-color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Shadow effect */
}

.instructor-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    position: relative; /* For positioning the share icon */
}

.instructor-card h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.instructor-card p {
    font-size: 16px;
    color: #ffffff;
}

.instructor-card p:hover {
    color: white;
}

.instructor-card a {
    color: white;
    text-decoration: none;
}

.instructor-card a:hover {
    color: #e9e506;
}

.share-icon {
    position: absolute;
    top: 10px;
    left: 90%;
    transform: translateX(-50%);
    background-size: contain;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    font-size: 30px;
}

.social-links {
    display: none;
    position: absolute;
    top: 50px;
    left: 90%;
    transform: translateX(-50%);
    padding: 7px;
    border-radius: 5px;
    text-align: center;
    z-index: 5;
    background-color: #ffffff;
}

.share-icon:hover + .social-links,
.social-links:hover {
    display: block;
}

.social-links a {
    color: #000000;
    display: inline-block;
    margin: 5px;
    text-decoration: none;
    font-size: 18px;
}

.social-links a:hover {
    color: #0755ff;
}

/* Responsive Styles for Mobile Devices */
@media (max-width: 425px) {
    .instructors-container {
        flex-direction: column; /* Stack cards vertically */
        align-items: center; /* Center align cards */
        gap: 15px; /* Reduce gap between cards */
    }

    .instructor-card {
        max-width: 90%; /* Allow cards to take more width on mobile */
        padding: 15px; /* Reduce padding for mobile */
    }

    .team-section .section-title {
        font-size: 30px; /* Smaller title font size on mobile */
        margin-bottom: 20px; /* Adjust margin for mobile */
    }

    .instructor-card h3 {
        font-size: 18px; /* Smaller heading font size on mobile */
    }

    .instructor-card p {
        font-size: 14px; /* Smaller paragraph font size on mobile */
    }

    .share-icon {
        font-size: 24px; /* Adjust share icon size */
    }

    .social-links a {
        font-size: 16px; /* Adjust social links font size */
    }
}

/* Review section  */
.custom-review-section {
    padding: 50px 0;
    text-align: center;
    color: #fff;
    background-image: url(./images/section-bg-2.png);
}

.custom-review-section .custom-section-title {
    font-size: 40px;
    margin-bottom: 40px;
    color: rgb(0, 0, 0);
}

.custom-review-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-review-card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.custom-review-card {
    background-color: #1E3558;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s, box-shadow 0.5s;
}

.custom-review-card:hover {
    transform: scale(1.05);
    background-color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.custom-review-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    position: relative;
}

.custom-review-card .custom-review-quote {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 10px;
    color: #ffffff;
}

.custom-review-card .custom-review-author {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
}

.custom-review-card .custom-review-date {
    font-size: 14px;
    color: #888;
}

.custom-nav-buttons-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

.custom-nav-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-nav-button:hover {
    background-color: #0056b3;
}

/* Responsive Styles for Mobile Devices up to 425px */
@media (max-width: 425px) {
    .custom-review-section .custom-section-title {
        font-size: 24px; /* Smaller title font size for mobile */
        margin-bottom: 20px; /* Adjust margin for better spacing */
    }

    .custom-review-card-container {
        grid-template-columns: repeat(1, 1fr); /* Stack cards vertically */
    }

    .custom-review-card {
        padding: 15px; /* Reduce padding for smaller screens */
    }

    .custom-review-card .custom-review-quote {
        font-size: 14px; /* Smaller quote font size */
    }

    .custom-review-card .custom-review-author,
    .custom-review-card .custom-review-date {
        font-size: 14px; /* Smaller font size for author and date */
    }

    .custom-nav-buttons-container {
        flex-direction: column; /* Stack navigation buttons vertically */
        align-items: center; /* Center buttons */
    }

    .custom-nav-button {
        width: 100%; /* Full width buttons on mobile */
        margin-bottom: 10px; /* Space between buttons */
    }
}






/* abin  */
.section-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.text-content {
    max-width: 60%;
}

.top-label {
    color: #10b981;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.main-title {
    font-size: 36px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #1f2937;
}

.main-title span {
    color: #f59e0b;
}

.description {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 30px;
}

.progress-bars {
    margin-top: 20px;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-item p {
    font-size: 16px;
    color: #374151;
    margin-bottom: 10px;
}

.progress {
    background-color: #e5e7eb;
    border-radius: 5px;
    position: relative;
    height: 8px;
    width: 100%;
}

.progress-bar {
    background-color: #10b981;
    height: 100%;
    border-radius: 5px;
}

.progress span {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 14px;
    color: #10b981;
    font-weight: bold;
}

.image-content {
    position: relative;
    max-width: 35%;
    border-radius: 10px;
    overflow: hidden;
}

.image-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Responsive Design for Mobile Devices */
@media only screen and (max-width: 425px) {
    .section-container {
        flex-direction: column; /* Stack elements on smaller screens */
        padding: 20px; /* Reduce padding for mobile */
    }

    .text-content {
        max-width: 100%; /* Take full width on mobile */
        margin-bottom: 20px; /* Add margin below for spacing */
    }

    .top-label {
        font-size: 14px; /* Adjust font size for mobile */
    }

    .main-title {
        font-size: 24px; /* Adjust font size for mobile */
    }

    .description {
        font-size: 16px; /* Adjust font size for mobile */
    }

    .progress-item p {
        font-size: 14px; /* Adjust font size for mobile */
    }

    .progress span {
        font-size: 12px; /* Adjust font size for mobile */
    }

    .image-content {
        max-width: 100%; /* Take full width on mobile */
        margin: 0 auto; /* Center image */
    }

    .play-icon {
        font-size: 24px; /* Adjust play icon size for mobile */
    }
}









.newsletter-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 100px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.newsletter-section h2 {
    font-size: 2rem;
    color: #1C2C53; /* Dark blue color for the heading */
    margin-bottom: 20px;
}

.newsletter-section p {
    font-size: 1rem;
    color: #9B9B9B; /* Light gray color for the paragraph */
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Shadow to give depth */
    margin-left: 250px;
}

.newsletter-form input {
    width: 100%;
    padding: 10px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    border-radius: 50px 0 0 50px;
    box-shadow: none;
}

.newsletter-form button {
    width: 20%;
    background-color: #24E0A2; /* Green color */
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 0 50px 50px 0;
    transition: background-color 0.3s ease;
}

.newsletter-form button i {
    color: white;
    font-size: 1.5rem;
}

.newsletter-form button:hover {
    background-color: #20C18A; 
}
/* Responsive Styles for Mobile Devices up to 425px */
@media (max-width: 425px) {
    .newsletter-section {
        padding: 30px 20px; /* Adjust padding for smaller screens */
    }

    .newsletter-section h2 {
        font-size: 1.5rem; /* Smaller heading font size */
    }

    .newsletter-section p {
        font-size: 0.9rem; /* Smaller paragraph font size */
    }

    .newsletter-form {
        flex-direction: column; /* Stack input and button vertically */
        margin-left: 0; /* Remove left margin for mobile */
        width: 90%; /* Make form width responsive */
        max-width: none; /* Remove max-width for mobile */
    }

    .newsletter-form input {
        width: 100%; /* Full width for input on mobile */
        border-radius: 50px; /* Full round corners */
        margin-bottom: 10px; /* Space between input and button */
    }

    .newsletter-form button {
        width: 100%; /* Full width for button on mobile */
        border-radius: 50px; /* Full round corners */
    }
}





/* Unique Contact Form Container */
.unique-contact-container {
    max-width: 600px;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: uniqueFadeIn 1s ease-out forwards;
    opacity: 0;
    transform: translateY(-20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px auto;
}

.unique-contact-container h2 {
    margin-bottom: 50px;
    font-size: 26px;
    text-align: center;
    color: #000000;
}

.unique-contact-container .unique-input-group {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    
    margin-right: 160px;
}

.unique-contact-container .unique-input-group label {
    margin-bottom: 5px; 
    font-size: 16px;
    color: #333; 
}

.unique-contact-container .unique-input-group input, 
.unique-contact-container .unique-input-group textarea {
    width: 100%;
    padding: 10px 80px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: all 0.3s ease;
}

.unique-contact-container .unique-input-group input:focus, 
.unique-contact-container .unique-input-group textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
    outline: none;
}

.unique-contact-container .unique-input-group textarea {
    height: 120px;
    
}

.unique-contact-container .unique-input-group svg {
    position: absolute;
    top: 50%;
    left: 20px; 
    transform: translateY(-50%);
    fill: #007bff;
}

.unique-contact-conainer .unique-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.unique-contact-container .unique-button:hover {
    background-color: #0056b3;
}

@keyframes uniqueFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
    animation: fadeIn 0.3s ease-out;
}

/* Modal content */
.modal-content {
    background-color: #fff;
    margin: 15% auto; /* Center the modal vertically and horizontally */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    width: 90%; /* Adjust for responsive design */
    max-width: 400px; /* Set a maximum width */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    animation: scaleUp 0.3s ease-out;
    position: relative; /* Needed for the absolute positioning of the close button */
}

/* Close button */
.close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

/* SVG close icon */
.close svg {
    fill: #aaa;
    transition: fill 0.3s;
}

.close:hover svg {
    fill: #333;
}

/* Modal message */
#modal-message {
    font-size: 16px;
    color: #333;
}

/* Animation effects */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}




.contact-header {
    background-color: #fff;
    padding: 10px 20px;
    display: flex;
    /* justify-content: space-between; */
    justify-content: space-around;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.contact-info span {
    margin-right: 20px;
    font-size: 14px;
    color: #333;
}

.contact-info i {
    margin-right: 8px;
    color: #008080;
}



.user-info {
    display: flex;
    align-items: center;
}

.login-register {
    margin-right: 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.login-register i {
    margin-right: 8px;
    color: #008080;
}

.social-icons a {
    margin-left: 10px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

.social-icons a:hover {
    color: #008080;
}




/* dropdown  */

.contact-us {
    position: relative;
}

.dropdown {
    display: inline-block;
}

.dropbtn {
    background-color: #007bff; /* Change this color if needed */
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    
}

.dropdown-content a {
    color: black;
    padding: 12px 10px;
    text-decoration: none;
    display: block;
    border-radius: 8px;
    
}

.dropdown-content a:hover {
    background-color: #f1f1f1; /* Change the hover color if needed */
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #f8aa1a; /* Darken button on hover */
}

.lr:hover{
    background-color: #FBB03B;
    color: #000000;
}




/* Modal Styles */
#payment-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
    justify-content: center; /* Center modal */
    align-items: center; /* Center modal */
}

/* Modal Content Styles */
.modal-content {
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    width: 400px; /* Set a width */
    color: #000;
}

/* Close Button Styles */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Title Styles */
#modal-course-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Modal Price Styles */
#modal-course-price {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Proceed to Payment Button Styles */
#proceed-payment-button {
    background-color: #28a745;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#proceed-payment-button:hover {
    background-color: #218838;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .course-details-container {
        flex-direction: column;
        align-items: center;
    }

    #payment-modal {
        padding: 20px;
    }
}