* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
}

h1 {
    font-size: 2rem;
    margin: 10px;
    color: #003366;
    text-align: center;

}

.navbar {
    background-color: #002d63;
    height: 100px; /* Set navbar height to 100px */
    position: relative;
    z-index: 999; /* Ensure navbar is on top */
}

.container {
    height: 100%; /* Ensure container takes the full height of the navbar */
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically center the items */
}

.logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    position: relative;
    z-index: 1000; /* Nav links should be on top of everything else */
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.15rem;
    transition: color 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
}

.nav-links a:hover {
    color: #f0f0f0;
}

.button {
    border: 1px solid #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001; /* Ensure the toggle button is on top */
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #ffffff;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.hero {
    display: flex;
    padding: 2rem 1rem;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    max-height: 800px;
    overflow: hidden; /* Prevent content overflow */
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Allow scrolling if content exceeds height */
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #003366;
}


p {
    margin-bottom: 1rem;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
}

.cta-button {
    display: block;
    width: fit-content;
    background-color: #1A4D2E;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    margin: 1rem auto 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.video-container {
    flex: 1;
    max-width: 560px;
    width: 100%; /* Ensure full width on smaller screens */
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}


.video-facade {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    border: none;
    cursor: pointer;
}

.video-facade img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(0,0,0,0.7);
    border-radius: 14px;
}

.play-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent white;
}

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

.hero, .info-section {
    content-visibility: auto;
    contain-intrinsic-size: 500px; /* Adjust based on average content size */
}

.info-section{
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden; /* Prevent content overflow */
}

.info-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #003366;
}

/* best features */

.best-features {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.best-features h2 {
    text-align: center;
    color: #003366;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.features-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-column {
    flex: 1 1 300px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.feature-column a {
margin: 10px;
font-family: Arial, Helvetica, sans-serif;
color: blue;
font-size: 24px;
text-decoration: none;
}

.feature-list {
    list-style-type: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding: 6px 0 6px 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: #000;
    font-size: 1.2rem;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1A4D2E;
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-list a{
    text-decoration: none;
    font-size: 24px;
    color: #000;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
    
    display: inline-block;
  
    margin: 10px;
}

.price {
    font-size: 1.5rem;
    color: #1A4D2E;
    text-align: center;
    margin: 1.5rem 0;
    font-weight: bold;
}

.start-test {
    background-color: #003366;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 5px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 200px;
    min-height: 48px;
    margin: 8px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    
}

.start-test2 {
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    
}

.start-test2 a{
    text-decoration: none;
    color: #ffffff;
    margin: 10px;
    font-size: 20px;
}



/* Performance optimizations */
.best-features {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

/* footer */

.footer {
    background-color: #EBF2FA;
    padding: 2rem 1rem;
    font-family: Arial, Helvetica, sans-serif;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-section {
    flex: 1 1 200px;
    margin-bottom: 1rem;
}

.footer-section:first-child {
    flex: 3 1 300px;
}
.footer-section h3 {
    color: #183B56;
    margin-bottom: 1rem;
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section a {
    color: #000;
    text-decoration: none;
    display: inline-block;
    
    margin: 10px;
    font-size: 18px;
}
.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
}
.social-icons svg {
    width: 24px;
    height: 24px;
    fill: #333;
}
.copyright {
    background-color: #B9CDE4;
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
    color: #000;
}

/* faqs */

.container{

    max-width: 1200px;
    overflow: hidden;
    margin-inline: auto;
    padding-inline: 20px;
}

.accordion_wraper{

    background-color: #fff;
    box-shadow: #183b56;
    border-radius: 2.5rem;
    width: 100%;
   
}

.accordion{

    border-bottom: 0.1rem solid #2294ed;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.accordion_title{

    text-align: center;
    margin-bottom: 5rem;
    color: #000;

}



.accordion_header{

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.accordion_icon{

    background-color:#fff;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #eb0a0a;
    flex-shrink: 0;
    
}
.accordion_question{
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
}

.accordion_answer{

    padding: 1rem 0;
    color: #000;


}

.accordion_content{
    overflow: hidden;
    height: 0;
    transition: 0.2s ease-in-out;
    
}

.faq_btn_more{
    display: flex;
    justify-content:flex-end;
}

.card-button{

    padding: 0.6rem 3rem;
    border: 2px solid rgb(0, 51, 102);
    background-color: rgb(0, 51, 102);
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 50ms ease-in;
    margin: 1rem;
    font-size: 20px;
    font-family:Arial, Helvetica, sans-serif;
    text-decoration: none;
    }



/* rating start */
.section-rating {
    padding: 20px;
    display: flex;
}

.course-container {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.course-container h2 {
    color: #2c3e50;
    text-align: center;
}

.course-details, .course-instance, .course-offer {
    margin-bottom: 30px; /* Increased bottom margin for 10px gap */
    color: #000;
}

.course-details h3, .course-instance h3, .course-offer h3 {
    color: #2c3e50;
    text-align: left;
    padding: 10px 0; /* Removed left padding */
    margin-bottom: 10px; /* Added bottom margin to headings */
}

.reviews h3 {
    color: #2c3e50;
    text-align: center;
}

.rating-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.stars {
    font-size: 24px;
    color: green;
    margin-right: 10px;
}

.rating-value {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.review-count {
    font-size: 16px;
    color: #000;
    margin-left: 10px;
    font-weight: bold;
}

.reviews {
    border-top: 1px solid #000;
    padding-top: 20px;
}

.review {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: bold;
    color: #000;
}

.review-stars {
    font-size: 18px;
    color: green;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0; /* Added to remove default margin */
}

li {
    margin-bottom: 10px;
}
/* rating end */
.course-button{

    padding: 15px;
    margin: 15px 0;
   
}


@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        max-height: none; /* Remove max-height constraint on mobile */
        height: auto; /* Allow natural height based on content */
    }
    .hero-content {
        max-width: 100%;
    }

    .nav-links {
        position: fixed; /* Fixed positioning removes the nav from the document flow */
        right: 0;
        height: 100vh;
        top: 70px;
        background-color: #002d63;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%); /* Initially move the menu off-screen */
        transition: transform 0.3s ease-in;
        z-index: 1000; /* Ensure the nav links appear on top of the ad */
        display: none; /* Completely hide the menu initially */
    }

    .nav-links li {
        margin: 2rem 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-links.active {
        transform: translateX(0); /* Move the menu back into view */
        display: flex; /* Display the menu when active */
    }

    .menu-toggle {
        display: flex;
    }

    .video-container {
        order: -1; /* Move video above text content on mobile */
        margin-bottom: 1rem;
        height: 0; /* Maintain aspect ratio */
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    }

    .video-facade {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-bottom: 0; /* Remove extra padding on mobile */
    }

    

    .video-container iframe {
        height: 100%; /* Full height on mobile */
    }
    .features-container {
        flex-direction: column;
    }

    .feature-column {
        max-width: 100%;
    }

    
    

    .footer-section,
    .footer-section:first-child {
        flex: 1 1 100%;
    }

    .footer-section ul li {
        margin-bottom: 0;
    }

    .footer-section a,
    .social-icons a {
        padding: 12px 8px;
        min-height: 48px;
    }

    .footer-content {
        flex-direction: column;
    }

    .start-test {
        padding: 16px 24px;
        font-size: 18px;
    }

    
    .start-test2 a{
        text-decoration: none;
        color: #ffffff;
        margin: 10px;
        font-size: 24px;
    }

    .course-container {
        padding: 10px;
    }
    .rating-container {
        flex-direction: column;
        align-items: center;
    }
    .review-count {
        margin-left: 0;
        margin-top: 5px;
    }
    
}