﻿/* homecss.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Navbar Styling */
.navbar {
    position: relative; /* Ensure navbar has relative positioning */
    z-index: 999; /* Give it a higher z-index so it stacks above other elements */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
}

.arrow-down {
    display: inline-block;
    font-size: 12px; /* Adjust the size of the arrow */
    margin-left: 8px; /* Space between the text and the arrow */
    color: #333; /* Arrow color */
    transition: transform 0.3s ease; /* Smooth rotation on hover */
}

.dropdown-parent:hover .arrow-down {
    transform: rotate(180deg); /* Rotate the arrow upwards on hover */
}








.logo {
    display: flex;
    align-items: center;
   
    font-weight: bold;
}

.logo-img {
    width: 120px;
    margin-right: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

    .main-nav ul li a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }

.cta-buttons button {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.help-btn {
    background: #fff;
    border: 1px solid #333;
}

.contact-btn {
    background: #4c6ef5;
    color: #fff;
}

/*.banner-section {
    position: relative;*/ /* Ensure banner stays in its own layer */
    /*z-index: 1;*/ /* Place banner below menu */
    /*width: 100%;
    overflow: hidden;
    height: 500px;*/ /* Ensure consistent height */
    /*background-color: #f9f9f9;*/ /* Optional */
/*}

.banner-container {
    position: relative;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner {
    position: absolute;
    width: 100%;
    height: 500px;
    display: none;
}

    .banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .banner.fade {
        display: block;
    }

.banner-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}*/






/* General Styles */
.banner-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    overflow: hidden; /* Hide overflow for sliding effect */
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%; /* Start off-screen to the right */
    opacity: 0; /* Initially invisible */
    transition: all 1s ease-in-out; /* Smooth fade and slide effect */
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.banner.active {
    left: 0; /* Slide into view */
    opacity: 1; /* Fully visible */
}

.banner.inactive {
    left: -100%; /* Slide out of view to the left */
    opacity: 0; /* Fade out */
}







/* General Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f8faff;
}

/* Section Styling */
.education-section {
    padding: 50px;
    background-color: #f8faff;
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Text Content */
.text-content {
    max-width: 600px;
}

    .text-content h1 {
        font-size: 2.5rem;
        font-weight: bold;
        color: #0033a0;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .text-content p {
        font-size: 1rem;
        line-height: 1.8;
        color: #555;
        margin-bottom: 30px;
    }

.features {
    display: flex;
    gap: 30px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

    .feature .icon {
        font-size: 2rem;
        color: #0033a0;
        margin-bottom: 10px;
    }

    .feature h3 {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 10px;
        color: #333;
    }

    .feature p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #555;
    }

/* Image Content */
.image-content {
    max-width: 500px;
    overflow: hidden;
    border-radius: 10px;
}

    .image-content img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }




/* Menu Section */
.menu-section {
    padding: 2rem;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    position: absolute;
   width : 100% ;
  
   
}


/*.menu-section {
    position: absolute;*/ /* Overlap other sections */
    /*top: 0;*/ /* Align with the top of the page */
    /*left: 0;
    width: 100%;*/ /* Full width */
    /*z-index: 10;*/ /* Higher than banner-section */
    /*background-color: #f9f9f9;*/ /* Background for readability */
    /*padding: 2rem;
    display: none;*/ /* Initially hidden */
    /*transition: all 0.3s ease-in-out;
}*/






















.hidden {
    display: none;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.menu-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.menu-column ul {
    list-style: none;
    padding: 0;
}

    .menu-column ul li {
        margin-bottom: 1rem;
    }

        .menu-column ul li span {
            font-size: 1.5rem;
            margin-right: 0.5rem;
        }

        .menu-column ul li strong {
            font-weight: bold;
        }




















/* Section Styling */
.education-section {
    padding: 50px;
    background-color: #f8faff;
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Text Content */
.text-content {
    max-width: 600px;
}

    .text-content h1 {
        font-size: 2.5rem;
        font-weight: bold;
        color: #0033a0;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .text-content p {
        font-size: 1rem;
        line-height: 1.8;
        color: #555;
        margin-bottom: 30px;
    }

.features {
    display: flex;
    gap: 30px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

    .feature .icon {
        font-size: 2rem;
        color: #0033a0;
        margin-bottom: 10px;
    }

    .feature h3 {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 10px;
        color: #333;
    }

    .feature p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #555;
    }

/* Image Content */
.image-content {
    max-width: 400px;
    overflow: hidden;
    border-radius: 10px;
}

    .image-content img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }











/* Section Styling */
.steps-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8faff;
    color: #333;
}

/* Header Section */
.steps-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

    .steps-header .subheading {
        font-size: 1rem;
        font-weight: bold;
        color: #333;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .steps-header h1 {
        font-size: 2.5rem;
        font-weight: bold;
        color: #0033a0; /* Dark blue color for the heading */
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .steps-header .description {
        font-size: 1rem;
        line-height: 1.8;
        color: #555;
    }

/* Steps Container */
.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Individual Step */
.step {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 300px; /* Fixed width for each step */
    text-align: center;
}

    .step .icon {
        font-size: 3rem;
        color: #0033a0; /* Same dark blue as the header */
        margin-bottom: 20px;
    }

    .step h3 {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 15px;
        color: #333;
    }

    .step p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #555;
    }











/* Section Styling */
.partnered-schools-section {
    padding: 50px;
    background-color: #f8faff;
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

/* Text Content */
.text-content {
    max-width: 600px;
}

    .text-content h1 {
        font-size: 2.5rem;
        font-weight: bold;
        color: #0033a0; /* Deep blue heading */
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .text-content .description {
        font-size: 1rem;
        line-height: 1.8;
        color: #555;
        margin-bottom: 30px;
    }

.features {
    display: flex;
    gap: 50px;
    margin-bottom: 30px;
}

.feature h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.feature p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.primary-btn {
    background-color: #0033a0;
    color: white;
    transition: background-color 0.3s ease;
}

    .primary-btn:hover {
        background-color: #002580; /* Slightly darker blue */
    }

.secondary-btn {
    background-color: transparent;
    color: #0033a0;
    border: 2px solid #0033a0;
    transition: all 0.3s ease;
}

    .secondary-btn:hover {
        background-color: #0033a0;
        color: white;
    }

/* Image Content */
.image-content {
    max-width: 500px;
    overflow: hidden;
    border-radius: 10px;
}

    .image-content img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px; /* Matches the design's rounded corners */
    }





/* Application Section */
.application-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background-color: #f8faff;
    max-width: 1200px;
    margin: 0 auto;
}

    .application-section .text-content {
        max-width: 600px;
    }

    .application-section .subheading {
        font-size: 1rem;
        font-weight: bold;
        color: #555;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .application-section h1 {
        font-size: 2.5rem;
        color: #0033a0;
        margin-bottom: 20px;
    }

    .application-section p {
        font-size: 1rem;
        color: #555;
        margin-bottom: 30px;
    }

    .application-section .buttons .btn {
        margin-right: 10px;
        padding: 10px 20px;
        font-size: 1rem;
        border-radius: 5px;
        border: none;
        cursor: pointer;
    }

.primary-btn {
    background-color: #0033a0;
    color: #fff;
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid #0033a0;
    color: #0033a0;
}

.application-section .image-content img {
    width: 400px;
    height: auto;
    border-radius: 10px;
}

/* Newsletter Section */
.newsletter-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #e8f4ff;
}

    .newsletter-section h2 {
        font-size: 2rem;
        color: #0033a0;
        margin-bottom: 10px;
    }

    .newsletter-section p {
        color: #555;
        margin-bottom: 20px;
    }

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

    .newsletter-form input {
        padding: 10px;
        width: 300px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

    .newsletter-form button {
        padding: 10px 20px;
        background-color: #0033a0;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

.newsletter-section .terms {
    font-size: 0.9rem;
    color: #555;
}












footer {
    background-color: #e8f4ff; /* Light blue background */
    padding: 40px 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Makes it responsive */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Section */
.footer-logo img {
    width: 150px; /* Adjust as needed */
    height: auto;
}

/* Links Section */
.footer-links {
    display: flex;
    gap: 50px;
    flex: 2; /* Takes more space for alignment */
}

.footer-column h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #0033a0; /* Dark blue heading color */
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

    .footer-column ul li {
        margin-bottom: 5px;
    }

        .footer-column ul li a {
            text-decoration: none;
            font-size: 0.95rem;
            color: #333;
            transition: color 0.3s ease;
        }

            .footer-column ul li a:hover {
                color: #0033a0;
            }

/* Join Section */
.footer-join {
    max-width: 300px;
}

    .footer-join h4 {
        margin-bottom: 10px;
        font-size: 1.2rem;
        color: #0033a0;
    }

    .footer-join p {
        font-size: 0.95rem;
        margin-bottom: 15px;
        color: #555;
    }

    .footer-join form {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
    }

        .footer-join form input {
            flex: 1;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 0.95rem;
        }

        .footer-join form button {
            padding: 10px 20px;
            background-color: #0033a0;
            color: #fff;
            border: none;
            border-radius: 5px;
            font-size: 0.95rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

            .footer-join form button:hover {
                background-color: #002580;
            }

    .footer-join .consent {
        font-size: 0.85rem;
        color: #555;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-join {
        text-align: center;
    }
}

































.final-footer {
    background-color: #e8f4ff; /* Slightly darker blue for footer background */
    padding: 20px 30px;
    position: relative;
}

.footer-top-line {
    border-top: 1px solid #333; /* Dark line at the top */
    width: 100%;
    margin-bottom: 15px; /* Space between the line and footer content */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Ensures responsiveness */
    gap: 20px; /* Adds spacing between flex items */
}

    .footer-content p {
        margin: 0;
        font-size: 0.9rem;
        color: #333;
    }

.footer-links {
    display: flex;
    gap: 15px;
}

    .footer-links a {
        text-decoration: none;
        font-size: 0.9rem;
        color: #333;
    }

        .footer-links a:hover {
            text-decoration: underline; /* Add underline on hover for links */
        }

.social-icons {
    display: flex;
    gap: 15px;
}

    .social-icons a img {
        width: 24px; /* Standard size for social icons */
        height: 24px;
        display: inline-block;
    }





/* Responsive Design */

/* General Mobile Styling */
@media (max-width: 768px) {
    /* Navbar */
    .navbar-container {
        flex-direction: column; /* Stack items vertically */
        align-items: center;
    }

    .main-nav ul {
        flex-direction: column; /* Stack nav links */
        gap: 10px;
    }

    .cta-buttons {
        flex-direction: column; /* Stack buttons */
        gap: 10px;
    }

    /* Menu Section */
    .menu-grid {
        grid-template-columns: 1fr; /* Single-column layout */
    }

    .menu-column {
        margin-bottom: 20px; /* Add spacing between columns */
    }

    /* Banner Section */
    .banner-section {
        height: 400px; /* Adjust banner height for smaller screens */
    }

    .banner img {
        height: auto; /* Maintain aspect ratio */
    }

    /* Education Section */
    .content-container {
        flex-direction: column; /* Stack text and image */
        align-items: center; /* Center items */
        text-align: center; /* Center-align text */
    }

    .text-content {
        max-width: 90%; /* Reduce text width */
    }

    .image-content {
        max-width: 90%; /* Reduce image width */
    }

    /* Steps Section */
    .steps-container {
        flex-direction: column; /* Stack steps vertically */
        gap: 20px;
    }

    .step {
        width: 90%; /* Reduce step card width */
        margin: 0 auto; /* Center cards */
    }

    /* Partnered Schools Section */
    .partnered-schools-section .content-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .partnered-schools-section .image-content {
        max-width: 90%;
    }

    /* Application Section */
    .application-section {
        flex-direction: column; /* Stack text and image */
        align-items: center; /* Center align */
        text-align: center;
    }

        .application-section .image-content {
            max-width: 90%; /* Scale down image */
        }

    /* Newsletter Section */
    .newsletter-form {
        flex-direction: column; /* Stack input and button */
        gap: 10px;
    }

        .newsletter-form input {
            width: 100%; /* Full width for input */
        }

        .newsletter-form button {
            width: 100%; /* Full width for button */
        }

    /* Footer Section */
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-join {
        max-width: 90%; /* Reduce width for smaller screens */
        text-align: center;
    }
}







/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .hamburger-menu span {
        width: 25px;
        height: 3px;
        background-color: #333;
    }

/* Mobile Menu */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: #f9f9f9;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 999;
    border-top: 1px solid #ddd;
    padding: 10px 0;
}

    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }

        .mobile-nav ul li {
            margin: 10px 0;
        }

            .mobile-nav ul li a {
                text-decoration: none;
                font-size: 1rem;
                color: #333;
                font-weight: bold;
            }

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav,
    .cta-buttons {
        display: none; /* Hide desktop menu and buttons */
    }

    .hamburger-menu {
        display: flex; /* Show hamburger menu */
    }

    .mobile-nav {
        display: flex; /* Show mobile menu */
    }

    .hidden {
        display: none; /* Toggle visibility for mobile menu */
    }
}















/* Extra Small Screens */
@media (max-width: 480px) {
    /* Navbar */
    .logo img {
        width: 100px; /* Scale down logo */
    }

    .navbar-container {
        padding: 10px;
    }

    /* Banner Section */
    .banner-section {
        height: 300px; /* Adjust height */
    }

    .banner-btn {
        padding: 10px 15px; /* Adjust button size */
    }

    /* Steps Section */
    .step {
        width: 95%; /* Reduce width further */
    }

    /* Footer */
    .footer-logo img {
        width: 100px; /* Scale down logo in footer */
    }

    .footer-links,
    .footer-join {
        text-align: center; /* Center text */
    }
}







/* General Styling for Application Section */
.application-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background-color: #f8faff;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px; /* Add spacing between text and image */
}

/* Text Content Styling */
.application-section .text-content {
    max-width: 600px;
    flex: 1;
}

.application-section .subheading {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.application-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0033a0;
    margin-bottom: 20px;
}

.application-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* Buttons */
.application-section .buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.primary-btn {
    background-color: #0033a0;
    color: white;
    transition: background-color 0.3s ease;
}

.primary-btn:hover {
    background-color: #002580;
}

.secondary-btn {
    background-color: transparent;
    color: #0033a0;
    border: 2px solid #0033a0;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background-color: #0033a0;
    color: white;
}

/* Image Content Styling */
.application-section .image-content {
    flex: 1;
    max-width: 600px;
}

.application-section .image-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .application-section {
        flex-direction: column; /* Stack text and image */
        align-items: center; /* Center align content */
        text-align: center; /* Center-align text content */
    }

    .application-section .text-content {
        max-width: 90%; /* Reduce text width */
    }

    .application-section .image-content {
        max-width: 90%; /* Reduce image width */
        margin-top: 20px; /* Add spacing above image */
    }
}

@media screen and (max-width: 480px) {
    .application-section {
        padding: 20px; /* Reduce padding for smaller screens */
    }

    .application-section h1 {
        font-size: 1.8rem; /* Reduce heading size */
    }

    .application-section p {
        font-size: 0.95rem; /* Reduce paragraph font size */
    }

    .btn {
        padding: 8px 15px; /* Adjust button size */
    }
}
