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

.image-background-container {
    position: relative;
    min-height: 50vh;
    background-image: url('images/background/backgroung.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.image-background-container::after {
    content: "";
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: rgba(238, 243, 248, 0.8);
    /* Dreamy blue color */
    z-index: 1;
    /* Overlay above the video */
    pointer-events: none;
    /* Allow interaction with the video */
    transition: background-color 0.3s ease;
}

.welcome-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 50px;
    padding: 20px;
}

.welcome-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.welcome-text p {
    font-size: 1.6rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Responsive styles */
@media (max-width: 768px) {
    .welcome-text h1 {
        font-size: 3rem;
        /* Reduce font size for heading */
    }

        .welcome-text p {
        font-size: 1.4rem;
        /* Reduce font size for paragraph */
    }
}

@media (max-width: 480px) {

    .welcome-text h1 {
        font-size: 3rem;
        /* Further reduce font size for heading */
    }

        .welcome-text p {
        font-size: 1.1rem;
        /* Further reduce font size for paragraph */
    }
}

@media (max-width: 768px) {
    .image-background-container {
        height: 77vh;
        /* Or adjust as needed */
    
    }
}
@media (max-width: 480px) {
    .image-background-container {
        height: 62vh;
        /* Or adjust as needed */

    }
}

/* Add a semi-transparent blue overlay */


.navbar {
    position: absolute;
    top: 3%;
    left: 0;
    width: 100%;
    height: 100px;
    margin-top: 40px;
    border-radius: 80px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: rgba(11, 12, 12, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 100;
}

.logo-img {
    width: 100%;
    height: 100%;
}

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

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    color: #000;
    padding: 10px 15px;
    transition: max-height 0.3s ease;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
}

.nav-links a:hover {
    background-color: #fdf9f9;
    text-decoration: none;
    border-radius: 30px;
    color: black;
}

.nav-button a {
    color: white;
    text-decoration: none;
    background-color: #5193a2;
    padding: 8px 15px;
    border-radius: 15px;
    margin-left: 10px;
}

.nav-button a:hover {
    background-color: #ee8a10;
    color: white;
    text-decoration: none;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0%;
        right: -100%;
        /* Menu starts hidden off-screen */
        width: 70%;
        /* Adjust width as necessary */
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        transition: right 0.3s ease;
        /* Smooth slide-in effect */
        z-index: 1000;
        overflow: visible;
    }

    .nav-links li {
        margin: 25px 0;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        z-index: 1001;
        position: absolute;
        top: 25px;
        right: 15px;
    }

    .nav-links.show {
        right: 0;
        /* Slide the menu in from the right */
        /* Removed display: block; */
    }
    .nav-button{
        margin: 25px 0;
        align-items: center;
    }
}

/* Class styles */
.rich {
    color: rgb(211, 116, 6);
}

.school {
    color: #5193a2;
}

.welcome-button{
    margin-top: 40px;
}

.welcome-button a {
    color: white;
    text-decoration: none;
    background-color: #5193a2;
    padding: 10px 15px;
    margin-top: 50px;
    border-radius: 10px;
    margin-left: 10px;
}

.welcome-button a:hover {
    background-color: rgb(211, 116, 6);
    text-decoration: none;
    color: white;
}


/* Slider Section */
.slider-text h1{
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 50px;
    background-color: #5193a2;
    color: black;

}
.slider-section {
    width: 100%;
    display: flex;
    height: 50%;
    padding: 20px;
    position: relative;
    justify-content: space-between;
    background-color: #f5f5f5;
    overflow: hidden;
}

.image-slider {
    display: flex;
    width: 300%;
    animation: continuous-slide 15s linear infinite;
}

.slide {
    position: relative;
    width: 50%;
    flex-shrink: 0;
    margin: 10px;
}

.image-slider img {
    width: 100%;
    height: 80%;
    /* Adjust this value to match the size you want */
    object-fit: cover;
    border-radius: 35px;
    padding: -50px;
}

/* Centering the text */
.image-text {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    /* Adjust size for better readability */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    /* Center align the text */
}

/* Continuous sliding animation */
@keyframes continuous-slide {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-33.33%);
    }

    50% {
        transform: translateX(-66.66%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Fading effect on both sides */
.slider-section::before,
.slider-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10%;
    pointer-events: none;
    z-index: 2;
}

/* Left side fade */
.slider-section::before {
    left: 0;
    background: linear-gradient(to right, rgba(245, 245, 245, 1), rgba(245, 245, 245, 0));
}

/* Right side fade */
.slider-section::after {
    right: 0;
    background: linear-gradient(to left, rgba(245, 245, 245, 1), rgba(245, 245, 245, 0));
}

/* Responsive Styling */
@media only screen and (max-width: 768px) {
    .image-slider img {
        width: 100%;
        height: 75%;
    }

    .icons-section {
        margin-top: 20px;
        margin-bottom: -20px;
    }
    .image-text{
        font-size: 10px;
    }
}


.ep-service h1 {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 30px;
    font-size: 50px;
    background-color: #5193a2;
    color: black;
}
.services-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    background-color: #f5f5f5;
}

.service-item {
    flex: 1 1 300px;
    max-width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item i {
    font-size: 50px;
    color: #5193a2;
    margin-bottom: 10px;
}

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

.service-item p {
    font-size: 1rem;
    color: #666;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* events */
.button-section {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-button {
    margin: 0 10px;
    padding: 10px 20px;
    cursor: pointer;
    background-color:#5193a2;
    color: white;
    border: none;
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.tab-button:hover {
    background-color: #ee8a10;
    border: none;
}

.content-section {
    display: flex;
    justify-content: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.grid-item {
    position: relative;
    overflow: hidden;
    /* To prevent overflow of the image */
}

.grid-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
    /* Smooth scaling effect */
}

.grid-item:hover img {
    transform: scale(1.05);
    /* Scale the image slightly on hover */
    border-radius: 10px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.grid-item:hover .overlay {
    opacity: 1;
    /* Show overlay on hover */
}
/* reviews */
/* Default styles for larger screens */
.review-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    /* Space between cards */
    padding: 20px;
}

.review-card {
    background-color: #5193a2;
    border-radius: 10px;
    padding: 15px;
    height: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    /* Smooth transition */
}

.review-card:hover {
    transform: scale(1.05);
    /* Slightly increase size */
    background-color: #5193a2;
    /* Darken background on hover */
    box-shadow: 0 8px 16px rgba(40, 39, 39, 0.2);
    /* Enhance shadow on hover */
}

.profile-img {
    width: 80px;
    /* Size of the profile image */
    height: 90px;
    border-radius: 50%;
    /* Circular image */
    margin-bottom: 10px;
}

.review-content {
    text-align: center;
}

.review-content h3 {
    margin: 5px 0;
}

.rating {
    color: #FFD700;
    /* Gold color for stars */
    font-size: 1.2rem;
}

/* Adjust grid for tablet screens (max-width: 768px) */
@media (max-width: 768px) {
    .review-section {
        grid-template-columns: repeat(2, 1fr);
        /* Two columns for tablet-sized screens */
        gap: 15px;
    }

    .review-card {
        height: auto;
        /* Allow flexible height */
    }
}

/* Adjust grid for mobile screens (max-width: 480px) */
@media (max-width: 480px) {
    .review-section {
        grid-template-columns: 1fr;
        /* One column for mobile screens */
        gap: 10px;
    }

    .review-card {
        height: auto;
        /* Let the height adjust based on content */
    }

    .profile-img {
        width: 60px;
        height: 70px;
        /* Smaller image for mobile */
    }

    .review-content h3 {
        font-size: 1rem;
        /* Slightly smaller heading */
    }

    .rating {
        font-size: 1rem;
        /* Adjust the size of stars */
    }
}
.get-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    background-color: #f5f5f5;
    gap: 20px;
}

.content {
    flex: 1;
    padding-right: 20px;
}

.content h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.content p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.image-container {
    flex: 1;
    text-align: right;
}

.image-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Media query for screens less than 768px wide (tablet and mobile) */
@media (max-width: 768px) {
    .get-container {
        flex-direction: column;
        text-align: center;
    }

    .content {
        padding-right: 0;
    }

    .content h1 {
        font-size: 30px;
    }

    .content p {
        font-size: 0.9rem;
    }

    .image-container {
        text-align: center;
    }

    .image-container img {
        max-width: 100%;
        /* Image will scale to fit smaller screens */
    }
}
/* Hero Section Styling */
#hero-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background-color: #1f3348;
    /* Light background */
    height: 450px;
    /* Set the section to full viewport height */
}

/* Image on the Left */
.image-placeholder {
    flex: 1;
    max-width: 40%;
    /* Adjust the width of the image container */
    display: flex;
    justify-content: center;
    /* Center the image within its container */
    align-items: center;
}

.image-placeholder img {
    width: 80%;
    /* Reduce the size of the image */
    height: auto;
    /* Maintain aspect ratio */
    object-fit: cover;
    /* Ensure the image fits without distortion */
    border-radius: 15px;
}

/* Content on the Right */
.hero-container {
    flex: 1;
    max-width: 55%;
    /* Set width for content container */
    padding-left: 40px;
    /* Add padding between image and text */
}

.hero-container h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #638fbc;
    /* A darker shade for better readability */
}

.hero-container h1 {
    font-size: 40px;
    margin-bottom: 20px;
    color: white;
    /* Strong heading color */
}

.hero-container p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color:white;
    /* Soft gray for paragraph text */
}

.hero-container .btn {
    padding: 15px 30px;
    background-color: #5193a2;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-container .btn:hover {
    background-color:#ee8a10;
    transform: translateY(-3px);
    /* Subtle lift effect on hover */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    #hero-footer {
        flex-direction: column;
        text-align: center;
        height: auto;
        /* Adjust height for mobile view */
    }

    .image-placeholder {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .image-placeholder img {
        width: 100%;
        /* On small screens, the image will take full width */
    }

    .hero-container {
        max-width: 100%;
        padding: 0;
    }

    .hero-container h1 {
        font-size: 32px;
    }

    .hero-container p {
        font-size: 16px;
    }
}
/*----------------------------------------------------------------*/
.contact-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    /* Takes full width of the container */
    margin-top: 30px;
    gap: 20px;
    /* Adds spacing between each contact section */
    flex-wrap: wrap;
    /* Allow the contact sections to wrap */
}

.section {
    flex: 1;
    /* Makes each section take equal space */
    min-width: 200px;
    /* Ensures sections have a minimum width */
    padding-left: 30px;
    padding-right: 30px;
}

.section h3 {
    font-size: 1.5rem;
    color: #1f3348;
    margin-bottom: 10px;
}

.section p {
    font-size: 1rem;
    margin: 5px 0;
}

footer {
    background-color: #1f3348;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.footer-item {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    text-align: center;
    margin-top: 10px;
    width: auto;
    height: 10vh;
}

.logo img {
    width: 80px;
    margin-bottom: 20px;
}

/* Social Icons and Contact Info on the same line */
.footer-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

/* Social Icons */
.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 30px;
    display: flex;
    margin-left: 40px;
}

.social-icons li {
    margin-right: 15px;
}

.social-icons li a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons li a:hover {
    color:#5193a2;
}

/* Footer Info */
.footer-p {
    margin: 0;
    padding: 0;
    padding-right: 30px;
    margin-right: 40px;
}
.footer-nav {
    display: flex;
    justify-content: center;
    text-decoration: none;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin: 0;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.footer-nav a:hover {
    text-decoration: none;
    color: #909291;
}

/* Centering the Footer Content */
@media (max-width: 768px) {
    footer {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .footer-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        list-style: none;
        padding: 0;
        margin: 10px 0;
    }

    .social-icons li {
        margin: 0 10px;
    }

    .footer-p {
        margin-top: 10px;
        margin-left: 65px;
    }
}
/* Responsive Design */
@media only screen and (max-width: 768px) {
    .service-item {
        flex: 1 1 100%;
    }
}


/*--------------------------------------------Course--------------------*/
.course-container {
    position: relative;
    min-height: 60vh;
    background-image: url('images/body/sky1.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
.course-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(238, 243, 248, 0.8);
    /* Dreamy blue color */
    z-index: 1;
    /* Overlay above the video */
    pointer-events: none;
    /* Allow interaction with the video */
    transition: background-color 0.3s ease;
}

/* Text Section */
.course-welcome {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 50px;
    padding: 20px;
}

.course-welcome h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.course-welcome p {
    font-size: 1.6rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Responsive styles */
@media (max-width: 768px) {
    .course-welcome h1 {
        font-size: 3rem;
        /* Reduce font size for heading */
    }

    .course-welcome p {
        font-size: 1.4rem;
        /* Reduce font size for paragraph */
    }
}

@media (max-width: 480px) {

    .course-welcome h1 {
        font-size: 3rem;
        /* Further reduce font size for heading */
    }

    .course-welcome p {
        font-size: 1.1rem;
        /* Further reduce font size for paragraph */
    }
}

/* Main grid container */
.course-grid-heading h1 {
    text-align: center;
    padding: 30px;
}

.course-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 90%;
    max-width: 1200px;
    background-color: #f3f6fb;
    border-radius: 30px;
    margin: 0 auto;
    padding: 20px;
}

/* Individual grid items */
.course-grid-item {
    background-color: #5193a2;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    transition: background-color 0.3s ease;
}

.course-grid-item:hover {
    background-color: #447a86;
}

.icon {
    font-size: 36px;
    margin-right: 20px;
    color: #909291;
}

.separator {
    height: 100%;
    width: 2px;
    background-color: #909291;
    margin-right: 20px;
}

.text {
    font-size: 18px;
}

.text h3 {
    margin: 0;
    font-size: 20px;
    color: #1f2937;
}

.text p {
    margin: 0;
    color: #020202;
}

/* Responsive behavior for tablet and smaller screens */
@media (max-width: 1024px) {
    .course-grid-container {
        grid-template-columns: repeat(2, 1fr);
        /* Adjust grid to 2 columns */
        gap: 15px;
        /* Slightly smaller gap */
    }

    .icon {
        font-size: 30px;
    }

    .text h3 {
        font-size: 18px
;
    }

    .text {
        font-size: 16px;
    }
}

/* For small devices like phones */
@media (max-width: 768px) {
    .course-grid-container {
        grid-template-columns: repeat(1, 1fr);
        /* One column on small screens */
        gap: 10px;
    }

    .course-grid-item {
        padding: 15px;
        /* Reduce padding */
        font-size: 14px;
    }

    .icon {
        font-size: 24px;
    }

    .text h3 {
        font-size: 16px;
    }

    .text p {
        font-size: 12px;
    }
}

/* For extra small screens (below 480px) */
@media (max-width: 480px) {
    .course-grid-container {
        gap: 5px;
        /* Minimal gap */
    }

    .course-grid-item {
        padding: 10px;
    }

    .icon {
        font-size: 20px;
    }

    .text h3 {
        font-size: 14px;
    }

    .text p {
        font-size: 10px;
    }
}
/* Styling for the How to Enroll section */
.enroll-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f5f7fa;
}

.enroll-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.enroll-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.enroll-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.enroll-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.enroll-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.icon {
    font-size: 36px;
    color: #4a90e2;
    display: block;
    margin-bottom: 10px;
}

.enroll-item p {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .enroll-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .enroll-container {
        grid-template-columns: 1fr;
    }

    .enroll-item {
        margin-bottom: 20px;
    }
}
/* Instructor Section */
.instructor-section {
    text-align: center;
    padding: 30px;
    background-color: #5193a2;
}

.instructor-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.instructor-section p {
    margin-bottom: 30px;
    color: black;
}

/* Grid layout for instructors */
.instructor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns */
    grid-gap: 20px;
    justify-content: center;
    padding: 20px;
}

/* Instructor card styling (just image and text) */
.instructor-card {
    text-align: center;
    padding: 20px;
}

/* Circular image styling */
.instructor-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    /* Makes the image circular */
    object-fit: cover;
    margin-bottom: 10px;
}

/* Instructor name and title */
.instructor-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.instructor-title {
    font-size: 14px;
    color: black;
}

/* Responsive grid for smaller screens */
@media (max-width: 1024px) {
    .instructor-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .instructor-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .instructor-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }
}
/* ---------------------FAQ Section styling --------------------*/
.faq-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.faq-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

/* FAQ Grid Layout */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

/* FAQ Question and Answer */
.faq-item {
    text-align: left;
    padding-bottom: 25px;
}

.faq-question {
    display: block;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e6e6e6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 10px;
}

.faq-answer p {
    background-color: #f4f4f4;
    padding: 10px;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #666;
}

/* Checkbox trick for show/hide answer */
.faq-item input[type="checkbox"] {
    display: none;
}

.faq-item input[type="checkbox"]:checked+.faq-question+.faq-answer {
    max-height: 100px;
    /* Adjust height based on content */
}

/* Responsive Grid for smaller screens */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
/* course footer container  */
.CFC {
    display: flex;
    justify-content: center;
    padding: 50px 0;
    background-color: #1f3348;
}

.course-footer-container {
    background-color: #1f3348;
    border-radius: 25px;
    text-align: center;
    padding: 40px 20px;
    color: white;
    width: 90%;
    max-width: 700px;
    margin: auto;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.course-footer-container h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.course-footer-container p {
    font-size: 16px;
    margin-bottom: 20px;
}

.course-btn {
    background-color: #5193a2;
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    margin-right: 10px;
    display: inline-block;
}

.course-btn:hover {
    background-color: #ee8a10;
    color: white;
    text-decoration: none;
}

.learn-more {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 12px;
    margin-top: 10px;
    display: inline-block;
}

.learn-more:hover {
    color: #ffd;
    text-decoration: none;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
    .course-footer-container {
        width: 95%;
        padding: 30px 15px;
    }

    .course-footer-container h1 {
        font-size: 24px;
    }

    .course-footer-container p {
        font-size: 14px;
    }

    .course-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .learn-more {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .course-footer-container {
        width: 100%;
        padding: 20px 10px;
    }

    .course-footer-container h1 {
        font-size: 20px;
    }

    .course-footer-container p {
        font-size: 12px;
    }

    .course-btn {
        padding: 8px 15px;
        font-size: 10px;
    }

    .learn-more {
        font-size: 10px;
    }
}
/*------------------------------------About----------------------------*/
/* General Section Styling */
/* Background Image and Overlay */
.about-container {
    position: relative;
    min-height: 50vh;
    background-image: url('images/body/sky3.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 20px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
.about-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(238, 243, 248, 0.8);
    /* Dreamy blue color */
    z-index: 1;
    /* Overlay above the video */
    pointer-events: none;
    /* Allow interaction with the video */
    transition: background-color 0.3s ease;
}

/* Text Section */
.about-welcome-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 50px;
    padding: 20px;
}

.about-welcome-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.about-welcome-text p {
    font-size: 1.6rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
/* Responsive styles */
@media (max-width: 768px) {
    .about-welcome-text h1 {
        font-size: 3rem;
        /* Reduce font size for heading */
    }

    .about-welcome-text p {
        font-size: 1.4rem;
        /* Reduce font size for paragraph */
    }
}

@media (max-width: 480px) {

    .about-welcome-text h1 {
        font-size: 3rem;
        /* Further reduce font size for heading */
    }

    .about-welcome-text p {
        font-size: 1.1rem;
        /* Further reduce font size for paragraph */
    }
}

/* Course Cards */
.course-cards {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
}

.course-card {
    background-color: rgba(13, 156, 169, 0.1);
    /* Transparent box with slight opacity */
    border-radius: 15px;
    padding: 20px;
    width: 250px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    /* Frosted glass effect */
    transition: transform 0.3s;
}

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

.course-card p {
    font-size: 1rem;
}

.course-card:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-cards {
        flex-direction: column;
    }

    .course-card {
        width: 100%;
    }

    .about-welcome-text h1 {
        font-size: 2.5rem;
    }

    .about-welcome-text p {
        font-size: 1.15rem;
    }
}

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

.about-section h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-align: center;
}

.about-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #666;
}

/* Achievements Container */
.achievement-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.achievement-item {
    text-align: center;
    margin: 20px;
}

.achievement-item i {
    font-size: 2.5em;
    color: #5193a2;
    margin-bottom: 15px;
}

.achievement-item h3 {
    font-size: 1.1em;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .achievement-container {
        flex-direction: column;
        align-items: center;
    }
}
/* Success Section Styling */
.success-section {
    text-align: center;
    padding: 50px;
    background-color: #f9f9f9;
}

.success-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
    background-color: #f0f4fa;
    /* Light background color for stats container */
    border-radius: 10px;
    /* Rounded corners for the container */
    padding: 30px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow effect */
}

/* Stat item styling */
.stat-item {
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.stat-item h3 {
    font-size: 2em;
    color: #909291;
}

.stat-item p {
    font-size: 1.1em;
    color: #555;
}

/* Add a vertical line separator between each stat item */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    height: 70px;
    width: 1px;
    background-color: #d4d4d4;
    /* Line color between items */
}
/*-------testimonial starts------*/
.testimonial-container {
    padding: 40px 20px;
    background-color: #f5f5f5;
}

.testimonial-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.testimonial-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Default to 3 columns for larger screens */
    gap: 20px;
    text-align: center;
}

.testimonial-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
}

.testimonial-item h4 {
    font-size: 1.2rem;
    color: #333;
    margin-top: 10px;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ------responsive styles for smaller screens------ */
@media (max-width: 768px) {
    .testimonial-section {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on medium screens */
    }
}

@media (max-width: 480px) {
    .testimonial-section {
        grid-template-columns: 1fr;
        /* 1 column on small screens */
    }

    .testimonial-title {
        font-size: 2rem;
        /* Slightly smaller title for smaller screens */
    }

    .testimonial-item p {
        font-size: 1rem;
        /* Adjust paragraph text size */
    }

    .testimonial-item h4 {
        font-size: 1.1rem;
        /* Adjust heading size */
    }
}

/* ------testimonial close------- */

/* gallery */
.about-gallery {
    display: flex;
    padding-bottom: 10px;
    padding-top: 5px;
    justify-content: center;
    /* Horizontally centers the gallery */
    align-items: center;
    /* Vertically centers the gallery */
    height: 60vh;
    /* Adjust the height of the section */
    background-color: #d3d2da;
    /* Example background for the section */
    overflow: hidden;
}

.gallery {
    width: 180px;
    /* Increase the width of the gallery */
    height: 170px;
    /* Increase the height of the gallery */
    display: grid;
    transform-style: preserve-3d;
    animation: rotate 35s linear infinite;
    gap: 5px;
}

@keyframes rotate {
    from {
        transform: perspective(1200px) rotateY(0deg);
    }

    to {
        transform: perspective(1200px) rotateY(360deg);
    }
}


.gallery span {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(600px);
    /* Increase from 380px to 600px */
}

.gallery span img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}
/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
    
}

@media (max-width: 480px) {
    
}

/* Flexbox for Layout */
.mission-section {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 50px;
    gap: 20px;
    background-color: #f4f4f4;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Mission Text Section */
.mission-text-section {
    flex: 2;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-text-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.mission-text-section ul {
    list-style-type: disc;
    padding-left: 40px;
}

.mission-text-section li {
    font-size: 18px;
    margin-bottom: 10px;
    color: #555;
}

/* Picture Section */
.mission-picture-section {
    flex: 1;
    max-width: 400px;
    /* Fix the width of the image section */
    background-color: #5193a2;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Ensures the image doesn't overflow */
    border: 5px solid #eee;
    /* Add border to the image container */
}

.mission-picture-container {
    width: 100%;
    height: 100%;
}

.mission-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Contain the image within the section, show full content */
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth hover effect */
}

.mission-picture-container:hover .mission-image {
    transform: scale(1.05);
    /* Slight zoom effect */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* Add shadow on hover */
}

/* Responsive for Small Screens */
@media (max-width: 768px) {
    .mission-section {
        flex-direction: column-reverse;
        /* Stack the image below the text */
        padding: 20px;
    }

    .mission-text-section,
    .mission-picture-section {
        height: auto;
    }

    .mission-picture-section {
        max-width: 100%;
        /* Allow the image section to be full-width on small screens */
        margin-bottom: 20px;
    }

    .mission-picture-container {
        max-height: 300px;
    }

    .mission-text-section {
        margin-top: 20px;
        padding-right: 0;
    }
}
/*---------------------------------contact----------------------------------------*/
/* Contact Page Styles */
.contact-container {
    position: relative;
    min-height: 50vh;
    background-image: url('images/body/sky1.jpg');
    background-size: cover;
    background-position: center;
    top: 5%;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.contact-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 50px;
    padding: 20px;
    top: 10%;
    margin: 75px 50px 0 0;
    /* Center text vertically *
    /* Adjust positioning */
    text-align: center;
    color: white;

    /* Ensure text is above the video */
    text-shadow: 2px 2px 4px rgba(111, 133, 188, 0.7);
    /* Add shadow for better readability */
}
.contact-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(238, 243, 248, 0.8);
    /* Dreamy blue color */
    z-index: 1;
    /* Overlay above the video */
    pointer-events: none;
    /* Allow interaction with the video */
    transition: background-color 0.3s ease;
}

.contact-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-align: center;
    padding-left: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.contact-text p {
    font-size: 1.6rem;
    margin-bottom: 50px;
    text-align: center;
    padding-left: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
/* Responsive styles */
@media (max-width: 768px) {
    .contact-text h1 {
        font-size: 3rem;
        /* Reduce font size for heading */
    }

    .contact-text p {
        font-size: 1.40rem;
        /* Reduce font size for paragraph */
    }
}

@media (max-width: 480px) {

    .contact-text h1 {
        font-size: 3rem;
        /* Further reduce font size for heading */
    }

    .contact-text p {
        font-size: 1.1rem;
        /* Further reduce font size for paragraph */
    }
}
/* Flexbox for Layout */
/* Flexbox for Layout */
.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 50px;
    gap: 20px;
}

/* Picture Section */
.picture-section {
    flex: 1;
    /* Make both picture and form equal size */
    background-color: #5193a2;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Ensures the image doesn't overflow */
}

.picture-container {
    width: 95%;
    height: 60%;
}

.hover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Make the image cover the entire section */
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth hover effect */
}

/* Image hover effect */
.picture-container:hover .hover-image {
    transform: scale(1.05);
    /* Slight zoom effect */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* Add shadow on hover */
}

/* Contact Form Section */
.contact-form-section {
    flex: 1;
    /* Make both picture and form equal size */
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-section h2 {
    text-align: left;
}

.contact-form {
    width: 100%;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact-form button {
    background-color: #5193a2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

/* Responsive for Small Screens */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        /* Stack the image and form vertically */
        padding: 20px;
    }

    .contact-form-section,
    .picture-section {
        height: auto;
        /* Let them take the full width */
    }

    .picture-container {
        max-height: 300px;
    }

    .contact-form-section {
        margin-top: 20px;
    }
}
/* Styling for the Address Section */
.address-section {
    text-align: center;
    padding: 20px;
}

.address-section h2 {
    text-align: center;
}

/* Container for the map */
.map-container {
    width: 100%;
    height: 450px;
    /* Default height for larger screens */
    max-width: 100%;
    /* Ensure the map doesn't exceed its container */
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive for Tablets */
@media (max-width: 768px) {
    .map-container {
        height: 350px;
        /* Adjust height for tablets */
    }

    .map-container iframe {
        height: 100%;
        /* Make sure the iframe fills the container height */
    }
}

/* Responsive for Phones */
@media (max-width: 480px) {
    .map-container {
        height: 250px;
        /* Adjust height for phones */
    }

    .map-container iframe {
        width: 100%;
        /* Ensure iframe takes the full width of the screen */
        height: 100%;
        /* Ensure iframe takes the full height of the container */
        border-radius: 5px;
        /* Smaller border radius for mobile */
    }
}
/* -------------------------------Join Page----------------------------------------*/

.join-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 50px;
    padding: 20px;
    top: 10%;
    margin: 75px 50px 0 0;
    /* Center text vertically */
    /* Adjust positioning */
    text-align: center;
    color: white;
    /* Ensure text is above the video */
    text-shadow: 2px 2px 4px rgba(111, 133, 188, 0.7);
    /* Add shadow for better readability */
}

.join-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-align: center;
    padding-left: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.join-text p {
    font-size: 1.6rem;
    margin-bottom: 50px;
    text-align: center;
    padding-left: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
/* Responsive styles */
@media (max-width: 768px) {
    .join-text h1 {
        font-size: 3rem;
        /* Reduce font size for heading */
    }

        .join-text p {
        font-size: 1.4rem;
        /* Reduce font size for paragraph */
    }
}

@media (max-width: 480px) {

    .join-text h1 {
        font-size: 3rem;
        /* Further reduce font size for heading */
    }

    .join-text p {
        font-size: 1.1rem;
        /* Further reduce font size for paragraph */
    }
}

.join-container {
    position: relative;
    min-height: 50vh;
    background-image: url('images/body/sky2.jpg');
    background-size: cover;
    background-position: center;
    top: 5%;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    width: 100%;
    overflow: hidden;
}
.join-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(238, 243, 248, 0.8);
    /* Dreamy blue color */
    z-index: 1;
    /* Overlay above the video */
    pointer-events: none;
    /* Allow interaction with the video */
    transition: background-color 0.3s ease;
}

/* Join Section */
.join-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 50px;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
}

/* Image Container Styling */
.image-container {
    flex: 1;
    /* Adjusts width to fill the space */
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    position: relative;
    background-color: #5193a2;
    border-radius: 15px;
}

.join-image {
    width: 100%;
    /* Ensures the image takes full width of its container */
    height: 100vh;
    /* Maintains aspect ratio */
    object-fit: cover;
    min-height: 50%;
    min-width: 90%;
    /* This will prevent distortion while keeping the image centered */
    border-radius: 10px;
    /* Rounded corners for the image */
}

/* Form Container Styling */
.form-container {
    background: #fff;
    /* Form background color */
    padding: 40px;
    max-width: 500px;
    /* Set a max width for the form */
    width: 100%;
    /* Allow form to use full width up to max-width */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    /* Allows absolute positioning of background if needed */
}

/* Add a background image to the form (optional) */
.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    /* White background with transparency */
    border-radius: 12px;
    /* Match the form's rounded corners */
    z-index: -1;
    /* Place the background behind the form */
}

/* Rest of the CSS remains the same */
h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #000dff;
    text-align: left;
}

/* Additional CSS styles for the form */
.join-p {
    text-align: left;
    margin-bottom: 30px;
    color: #555;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #000dff;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    margin-top: 10px;
    /* Space above checkbox */
}

.form-group-checkbox input {
    margin-right: 10px;
    /* Space between checkbox and label */
}

.submit-btn {
    background-color: #5193a2;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: #ee8a10;
}

/* Responsive Design */
@media (max-width: 768px) {
    .join-section {
        flex-direction: column;
        /* Stacks elements vertically */
    }

    .image-container {
        flex-direction: column;
        /* Ensures image stays on top in smaller screens */
        gap: 10px;
        /* Adjusts gap for smaller screens */
    }

    .form-container {
        max-width: 100%;
        /* Full width on smaller screens */
        padding: 20px;
    }

    .join-image {
        max-height: 300px;
        /* Limit height on smaller screens */
        object-fit: cover;
        /* Ensure images cover the area without distortion */
    }
}

@media (max-width: 600px) {
    .form-container {
        padding: 15px;
        /* Less padding on very small screens */
    }
}

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

.payment-section {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 800px;
    /* Maximum width for the container */
    margin: 0 auto;
    /* Center the container */
    padding: 20px;
    /* Padding inside the container */
}

.payment-methods {
    margin-bottom: 20px;
}

.payment-method {
    cursor: pointer;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.payment-method:hover {
    background-color: #5193a2;
}

.account-details {
    display: none;
    /* Initially hidden */
    margin-top: 10px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.payment-button {
    background-color: #5193a2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.payment-button:hover {
    background-color: #ee8a10;
}

/* Responsive for Small Screens */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        /* Reduce padding for smaller screens */
    }

    .payment-section {
        padding: 20px;
        /* Reduce padding for smaller screens */
    }
}
/* ------Join Page close-------*/
/*-------------------------------------------terms of use-------------------------------------*/
.terms-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

/* Add a semi-transparent blue overlay */
.terms-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(148, 156, 165, 0.8);
    /* Dreamy blue color */
    z-index: 1;
    /* Overlay above the video */
    pointer-events: none;
    /* Allow interaction with the video */
    transition: background-color 0.3s ease;
}
.terms-text {
    position: relative;
    top: 5%;
    margin: 75px auto auto;
    /* Center text vertically */
    left: 50%;
    /* Center text horizontally */
    transform: translate(-50%, -50%);
    /* Adjust positioning */
    text-align: center;
    color: white;
    z-index: 10;
    /* Ensure text is above the video */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    /* Add shadow for better readability */
}

.terms-text h1 {
    font-size: 60px;
    text-align: left;
    text-decoration: solid;
    padding-left: 30px;
}
.terms {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.terms h2 {
    text-align: center;
    margin-bottom: 20px;
}

.terms h3 {
    margin-top: 20px;
    color: black;
}
/*-------------------------------------------privacy-policy-------------------------------------*/
.privacy-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

/* Add a semi-transparent blue overlay */
.privacy-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(148, 156, 165, 0.8);
    /* Dreamy blue color */
    z-index: 1;
    /* Overlay above the video */
    pointer-events: none;
    /* Allow interaction with the video */
    transition: background-color 0.3s ease;
}

.privacy-text {
    position: relative;
    top: 5%;
    margin: 75px auto auto;
    /* Center text vertically */
    left: 50%;
    /* Center text horizontally */
    transform: translate(-50%, -50%);
    /* Adjust positioning */
    text-align: center;
    color: white;
    z-index: 10;
    /* Ensure text is above the video */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    /* Add shadow for better readability */
}

.privacy-text h1 {
    font-size: 60px;
    text-align: left;
    text-decoration: solid;
    padding-left: 30px;
}
.privacy-policy {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.privacy-policy h2 {
    text-align: center;
    margin-bottom: 20px;
}

.privacy-policy h3 {
    margin-top: 20px;
    color: black;
}

.privacy-policy ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* Style for the button */
#topBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 99;
    /* Make sure it stays on top */
    font-size: 18px;
    background-color: #5193a2;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-left: 0;
}

#topBtn:hover {
    background-color: #ee8a10;
}