html{
    scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    margin:0;
    padding: 0;
    color: #333;
    width: 100vw;

}

header {
    background-color: #00000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position:fixed;
    top: 0px;
    width: 100%;
    z-index: 2;
}

.logo {
    font-size: 2px;
    font-weight: bold;
    color: #222;
    margin-left: 20px;
   
}

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

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    background-color: #3902ffc0;
    padding: 10px;
    border-radius: 15px;
}
nav ul li a:hover {

    background-color: #28a745;
    
}
.auth{margin-right:30px;}

.auth button {
    padding: 10px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.login {
    background-color: transparent;
    color: #ffffff;
    margin-right: 10px;
}

.signup {
    background-color: #ff9900; /* Example orange color */
    color: white;
}
.signup:hover {
    background-color: #00ff44; /* Example orange color */
    color: white;
}
.headText{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 5rem;
    color: white;
    font-weight: 600;
    position:absolute;
    top:200px;
    left:50px;
    z-index: 1;
}
.subhead{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    position:absolute;
    top:calc(200px + 12rem);
    left:50px;
    z-index: 1;

}
main {
    padding: 0px;
    background-color:#ff00f7;
}

.bgfullvideo{
    width: 100vw;
}
.mobile-logo{
    visibility: none;
}
.mobile-logo img{
    display: none;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient( rgb(238, 0, 255) 200%);
    padding: 50px 0;
}

.hero-content {
    text-align: left;
    max-width: 400px;
    margin-right: 30px;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
}

.register-demo {
    background-color: #ff9900; /* Example orange color */
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
}
.register-demo:hover{
    background-color: #00ff44;
}
.hero-image img {
    max-width: 500px;
    height: auto;
    border-radius: 8px;
}
/* Visionary Moment Section */
.visionary-moment {
    display: flex;
    padding: 40px 20px;
   background-color:  #3902ffc0;
    align-items: center; /* Vertically align video and text */
}

.video-container {
    flex: 1; /* Take up available space */
    margin-right: 20px; /* Space between video and text */
}

.visionary-text {
    flex: 1; /* Take up available space */
    max-width: 400px; /* Limit text width for better readability */
}

.visionary-text h2 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 15px;
}

.visionary-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 20px;
}

.visionary-text a {
    color: #007bff; /* Example link color */
    text-decoration: none;
}

/* Popular Courses Section Styles */
.popular-courses-section {
    padding: 40px 20px;
    text-align: center;
    background-color:  #AEEA94;
}

.popular-courses-section h2 {
    font-size: 28px;
    color: #000000;
    margin-bottom: 10px;
}

.popular-courses-section .explore-text {
    font-size: 18px;
    color: #000000;
    margin-bottom: 30px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 30px;
    justify-content: center; /* Center grid items */
}

.course-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden; /* Clip image corners to card corners */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.course-card img {
    width: 100%;
    height: auto; /* Keep aspect ratio */
    display: block; /* Remove extra space below image */
   
}
.course-card img:hover{
    transition-duration: 0.5s;
    transform: scale(1.05);
}


.course-card h3 {
    font-size: 20px;
    color: #222;
    margin: 15px 0 5px 0;
    padding: 0 10px; /* Add horizontal padding */
}

.course-card .grade {
    font-size: 16px;
    color: #555;
    margin-bottom: 5px;
}

.course-card .age-range {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.course-card .course-desc {
    font-size: 16px;
    color: #444;
    padding: 0 15px;
    margin-bottom: 15px;
}

.course-card .level-duration {
    display: flex;
    justify-content: space-around;
    padding: 10px 15px;
    background-color: #f7f7f7;
    border-top: 1px solid #eee;
}

.course-card .level, .course-card .duration {
    font-size: 14px;
    color: #555;
}

/* Feature Section Styles */
.feature-section {
    display: flex;
    padding: 60px 20px;
   background-image:url(./assets/rainbowbg.jpg);
   background-size: contain;  /* Light grey background for feature section */
    align-items: center;
    justify-content:space-around ; /* content horizontally */
}

.feature-video-container {
    flex: 0 0 40%; /* Fixed width for video container */
    margin-right: 40px;
    max-width: 500px; /* Limit max width of video container */
}

.feature-content {
    flex: 0 1 60%; /* Take remaining space for content */
    max-width: 600px; /* Limit max width of content */
}

.feature-content h2 {
    font-size: 32px;
    color: #dedede;
    margin-bottom: 25px;
    line-height: 1.2;
}

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

.feature-list li {
    display: flex;
    align-items: flex-start; /* Align items at the start vertically */
    margin-bottom: 20px;
}

.feature-list li i {
    font-size: 20px;
    color: #11d753; /* Example checkmark color */
    margin-right: 15px;
    margin-top: 5px; /* Adjust to vertically align with text */
}

.feature-item-text h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 5px;
}

.feature-item-text p {
    font-size: 16px;
    color: #cecece;
    line-height: 1.5;
}

/* Comprehensive Learning Section Styles */
.comprehensive-learning-section {
    background-color: #f8f9fa; /* Very light grey background */
    padding: 30px 20px;
    text-align: center;
}

.comprehensive-learning-header {
    margin-bottom: 40px;
}

.comprehensive-learning-header h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 10px;
}

.comprehensive-learning-header p {
    font-size: 18px;
    color: #555;
}

.learning-cards-container {
    display: flex;
    justify-content: center; /* Center cards horizontally */
    gap: 30px;
    max-width: 1200px; /* Limit width of cards container */
    margin: 0 auto; /* Center container on page */
}

.learning-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 300px; /* Fixed card width */
    text-align: center;
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.learning-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
}


.learning-card img {
    width: 100%;
    height: auto;
    display: block;
}

.learning-card h3 {
    font-size: 22px;
    color: #222;
    padding: 20px 15px;
    margin: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active-dot {
    background-color: #ff9900; /* Active dot color, example orange */
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff; /* White background */
}

.testimonials-section h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 10px;
}

.testimonials-section .testimonials-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

.testimonials-container {
    display: flex;
    justify-content: center; /* Center cards horizontally */
    gap: 30px;
    max-width: 1200px; /* Limit container width */
    margin: 0 auto; /* Center container */
}

.testimonial-card {
    background-color: #f7f7f7; /* Light grey card background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 7px rgba(0,0,0,0.08);
    text-align: left; /* Align text within card to the left */
    width: 350px; /* Fixed card width */
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover; /* Ensure image fills circle nicely */
}

.author-info {
    text-align: left;
}

.author-info .author-name {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.author-info .author-desc {
    font-size: 14px;
    color: #777;
}


/* Main Footer Styles */
footer{
    width: 100vw;
}
.main-footer {
    width: 100vw;
    background-color: #626262; /* Dark background for main footer */
    color: #ddd; /* Light text color */
    padding: 60px ;
}

.projects-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444; /* Separator line */
}

.projects-link {
    font-size: 16px;
}

.projects-link a {
    color: #fff;
    text-decoration: none;
}

.newsletter-signup {
    display: flex;
    align-items: center;
}

.newsletter-text {
    font-size: 18px;
    margin-right: 20px;
}

.email-input {
    display: flex;
}

.email-input input[type="email"] {
    padding: 10px 15px;
    border: 1px solid #666;
    border-radius: 5px 0 0 5px;
    background-color: #333;
    color: #fff;
}

.email-input input[type="email"]::placeholder {
    color: #888;
}


.email-input .submit-button {
    padding: 10px 20px;
    border: none;
    border-radius: 0 5px 5px 0;
    background-color: #ff9900; /* Example orange color */
    color: white;
    cursor: pointer;
    font-size: 16px;
}


.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 20px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column li a {
    color: #ddd;
    text-decoration: none;
    font-size: 15px;
    display: block; /* Make links full width for easier clicking */
    padding: 5px 0;
}

.footer-column.address p, .footer-column.address a {
    font-size: 15px;
    line-height: 1.6;
    color: #ddd;
    text-decoration: none;
}

.social-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #444; /* Separator line */
}

.social-icons {
    display: flex;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #333; /* Darker circle background */
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #ff9900; /* Example hover color */
}

.copyright-text {
    font-size: 14px;
    color: #888;
}


.phone-button {
    position: fixed;
    left: 20px;
    bottom: 20px;
    background-color: #ff9900; /* Example orange color */
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.phone-button i {
    color: white;
}
.phone-button:hover{
    background-color: #00ff44;
}
.back-to-top-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    text-decoration: none;
    opacity: 0.7; /* Make it a bit transparent */
    transition: opacity 0.3s ease;
}

.back-to-top-button:hover {
    opacity: 1; /* Fully opaque on hover */
}


/* Media queries for responsiveness (optional) */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        visibility: collapse;
    }
    nav ul {
        flex-direction: column;
        text-align: center;
        margin-top: 10px;
    }
    nav ul li {
        margin: 10px 0;
    }
    .bgfullvideo{
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        
    }
    .mobile-logo{
        visibility:visible;
        position: absolute;
        top: 100px;
        left: 10px;
    }
    .mobile-logo img{
    height: 100px;
    display: block;
    }
    .headText{
        font-family: Arial, Helvetica, sans-serif;
        font-size: 3rem;
        color: white;
        font-weight: 600;
        position:absolute;
        top:230px;
        left:50px;
        z-index: 1;
    }
    .subhead{
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1rem;
        color: white;
        font-weight: 600;
        position:absolute;
        top: 434px;;
        left:50px;
        z-index: 1;
    
    }
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .hero-image img {
        max-width: 100%;
    }
    .visionary-moment {
        flex-direction: column; /* Stack video and text on small screens */
        background-image:linear-gradient(rgb(89, 0, 255), rgb(238, 0, 255) 200%);
        text-align: center;
    }
    .video-container {
        margin-right: 0; /* Remove margin when stacked */
        margin-bottom: 20px; /* Add space below video */
    }
    .video-container iframe {
        max-width: 100%; /* Allow video to take full width */
        max-height:fit-content;
    }
    .visionary-text {
        max-width: 100%; /* Allow text to take full width */
    }
    .feature-section {
        flex-direction: column; /* Stack video and text on small screens */
        text-align: center;
        padding: 40px 20px; /* Adjust padding for smaller screens */
    }
    .feature-video-container {
        margin-right: 0; /* Remove margin when stacked */
        margin-bottom: 20px; /* Add space below video */
    }
    .feature-video-container iframe {
        max-width: 100%; /* Allow video to take full width */
        max-height:fit-content;
    }
    .feature-content {
        max-width: 100%; /* Allow content to take full width */
    }
    .feature-content h2 {
        font-size: 28px; /* Adjust title size for smaller screens */
    }
    .comprehensive-learning-section {
        padding: 40px 20px; /* Adjust padding for smaller screens */
    }
    .learning-cards-container {
        flex-direction: column; /* Stack cards on smaller screens */
        align-items: center; /* Center cards when stacked */
    }
    .learning-card {
        width: 90%; /* Make cards wider on smaller screens */
        max-width: 400px; /* Limit max width of stacked cards */
        margin-bottom: 20px; /* Add space between stacked cards */
    }
    .slider-dots {
        margin-top: 20px; /* Adjust dot margin on smaller screens */
    }
    .testimonials-section {
        padding: 40px 20px; /* Adjust padding for smaller screens */
    }
    .testimonials-container {
        flex-direction: column; /* Stack testimonial cards */
        align-items: center; /* Center cards when stacked */
    }
    .testimonial-card {
        width: 90%; /* Make cards wider on smaller screens */
        max-width: 500px; /* Limit max width of stacked cards */
        margin-bottom: 20px; /* Add space between stacked cards */
        text-align: center; /* Center text in cards on smaller screens */
        padding: 20px; /* Adjust padding for smaller screens */
    }
    .testimonial-text {
        text-align: left; /* Re-align testimonial text left within card for better readability on smaller screens */
    }
    .testimonial-author {
        flex-direction: column; /* Stack author info on smaller screens */
        text-align: center; /* Center author info */
    }
    .testimonial-author img {
        margin-right: 0; /* Remove right margin when stacked */
        margin-bottom: 10px; /* Add space below image */
    }
    .author-info {
        text-align: center; /* Center author info text */
    }
    .projects-newsletter {
        flex-direction: column; /* Stack newsletter signup and projects link */
        text-align: center;
    }
    .newsletter-signup {
        margin-top: 20px; /* Add space above newsletter signup when stacked */
        flex-direction: column; /* Stack newsletter text and input */
    }
    .newsletter-text {
        margin-right: 0; /* Remove right margin when stacked */
        margin-bottom: 10px; /* Add space below newsletter text */
    }
    .email-input {
        flex-direction: column; /* Stack input and button if needed */
    }
    .email-input input[type="email"] {
        border-radius: 5px 5px 0 0; /* Adjust radius for stacked input and button */
        border-bottom: none; /* Remove bottom border to connect with button */
    }
    .email-input .submit-button {
        border-radius: 0 0 5px 5px; /* Adjust radius for stacked input and button */
    }
    .footer-columns {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
    .footer-column {
        margin-bottom: 30px; /* Add space between stacked columns */
        text-align: center; /* Center text in columns */
    }
    .social-copyright {
        flex-direction: column; /* Stack social icons and copyright text */
        text-align: center;
    }
    .social-icons {
        margin-bottom: 15px; /* Add space below social icons when stacked */
        justify-content: center; /* Center social icons */
    }
}