@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    text-align: center;
    overflow-x: hidden;
}

header {
    background: white;
    padding: 20px;
  }

.container, .hero-section, .content-section {
    max-width: 100vw; /* Prevents overflow */
    overflow: hidden; /* Hides extra content */
    justify-content: center;
    justify-items: center;
}

header {
    background: white;
    padding: 20px;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background: rgba(255, 255, 255, 0.481); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 5%;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.08);
    height: 80px;
    width: 100%;
    border-radius: 8px;
    position: relative;
    z-index: 1000;
}

.nav-links a.apply {
    background: #186454;
    color: #ffffff;
    box-shadow: 0px 2px 5px rgba(108, 92, 231, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 95px;
    width: auto;
}

.nav-links {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    gap: 15px;
    font-weight: bold;
    list-style: none;
    transition: transform 0.3s ease-in-out;
    z-index: 2000;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 18px;
    transition: all 0.3s ease-in-out;
    font-weight: bold;
}

/* Hover & Focus Effects */
.nav-links a:hover,
.nav-links a:focus {
    background: #6c5ce7;
    color: #ffffff;
    box-shadow: 0px 2px 5px rgba(108, 92, 231, 0.2);
}

/* Hamburger Button */
.hamburger {
    background: #6c5ce7;
    color: white;
    font-size: 20px;
    border: none;
    padding: 8px 12px;
    border-radius: 16px;
    position: absolute; 
    display: none;
    flex-direction: column;
    cursor: pointer;
    top: 20%;
    right: 20px;
    transform: translateY(-5%);
}

/* Style for active link */
.nav-links a.active {
    background: #6c5ce7;
    color: #ffffff;
    box-shadow: 0px 2px 5px rgba(108, 92, 231, 0.2);
}

.hamburger span {
    height: 2px;
    width: 25px;
    background-color: black;
    margin: 4px;
    border-radius: 2px;
  }

  @media (max-width: 1200px) {
    .navbar{
        flex-direction: column;
        align-items: center;
        position: relative;
    }
        
    .logo-container {
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: flex-start;
        flex-grow: 0.7;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 90px;
        margin: 0px auto;
        height: calc(100vh - 60px);
        background-color: rgba(255, 255, 255, 0.974);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        z-index: 2000;
    }
    
    .nav-links.show {
        max-height: 550px;
        min-width: 280px;
        transform: translateY(0);
        opacity: 1;
        padding: 0;
        border-radius: 8px;
        visibility: visible;
        z-index: 2000;
    }

    .nav-links li {
        margin: 12px 0;
        border-bottom: 1px solid #6c5ce7;
    }

}

.asdc-announcement {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto; /* Adds space around the section */
    padding: 8px 20px;
    background-color: #fff; /* Clean white background */
    text-align: center; /* Center all content */
    gap: 20px;
}

.asdc-announcement h2 {
    font-size: 2.5em; /* Matches other page h2 */
    color: #636AE8; /* Matches page theme color */
    margin-top: 0;
    margin-bottom: 20px; /* Space below title */
    font-weight: 700;
    margin-left: auto;
    margin-right: auto;
}

.asdc-announcement-images {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px; /* Space below images */
}

.asdc-announcement-images img {
    width: 420px; 
    height: auto;
    border-radius: 20px; /* No rounded corners */
    box-shadow: none; /* No shadow */
    object-fit: cover;
}

.asdc-announcement p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    text-align: center; /* Center the paragraph text */
    max-width: 800px; /* Constrain line width for readability */
    margin-left: auto;
    margin-right: auto;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .asdc-announcement {
        width: 95%;
    }
    .asdc-announcement-images img {
        width: 350px; /* Adjust image size for mobile */
    }
}

/* Course section*/
.course-section {
    display: flex;
    flex-direction: row; /* Stack content vertically */
    align-items: center;
    justify-content: center;
    width: 90%;
    gap: -500px;
    margin: 0px auto;
    text-align: center;
    margin-top: 50px;
}

/* Man image and text should be side by side */
.top-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    flex-wrap: wrap;
}

/* Man image */
.man-image {
    width: 420px;
    height: auto;
    max-width: 100%;
    border-radius: 20px;
}

/* Text content */
.text-content {
    max-width: 250px;
    text-align: left;
}

h2 {
    font-size: 2.5em;
    font-weight: 800;
    color: #636AE8;
    line-height: 1.3;
    max-width: 70%;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    gap: 20px;
}

/* Laptop image should be centered below */
.laptop-image {
    width: 450px;
    height: auto;
    max-width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .course-section {
        width: 100%;

    }

    .top-content {
        flex-direction: row; /* Stack text & man image on smaller screens */
        text-align: center;
    }

    .text-content {
        text-align: center;
    }

    h2 {
        font-size: 28px;
    }

    .laptop-image {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .course-section {
        width: 100%;
        margin: 20px auto;
    }

    .man-image {
        width: 150px;
        height: auto;
        margin: 10px auto;
    }

    .laptop-image {
        width: 300px;
        margin: 10px auto;
    }

    h2 {
        font-size: 24px;
        margin:     0px auto;
    }
}

@media (max-width: 480px) {
    .course-section {
        gap: 5px;
        flex-direction:column;
        max-width: 100%;
    }

    .man-image {
        width: 100%;
    }

    .laptop-image {
        width: 100%;
        max-width: 250px;
    }

    h2 {
        font-size: 18px;
        max-width: 80%;
    }
}

.marquee-wrapper {
    width: 100%;
    background-color: #ffcc00; /* Eye-catching yellow */
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: bold;
    font-size: 18px;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.highlight {
    color: red;
}

/* FAQ Section Aligned to Site Theme */
.faq-section.themed {
    width: 90%;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 40px 20px;
    max-width: 900px;
    text-align: center;
}

.faq-heading {
    font-size: 28px;
    font-weight: bold;
    color: #636AE8;
    margin: 0px auto 30px auto;
    text-align: center;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #636AE8;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 15px 20px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: left;
}

.faq-question .icon {
    transition: transform 0.3s ease;
    margin-left: 10px;
    transform-origin: center;
}

.faq-item.open .faq-question .icon {
    transform: rotate(180deg);
}

.faq-question:hover {
    background-color: #817FF0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    text-align: left;
}

.faq-answer p {
    padding: 15px 0;
    font-size: 16px;
    color: #333;
    margin: 0;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.geometric-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    width: 80%;
    position: relative;
    margin: 0px auto;
    padding: 50px;
}

.background-shapes {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 93%;
    z-index: -1;
    opacity: 0.9;
}

/* Content Wrapper */
.content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    width: 100%;
    text-align: center;
}

.checklist {
    list-style: none;
    padding: 0;
    text-align: justify;
    max-width: 600px;
    margin: auto;
}

.checklist li {
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    color: #000;
    line-height: 1.4;
    font-weight: 400;
    margin-bottom: 12px;
}

.checklist li::before {
    content: "✔";
    color: #636AE8;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 18px;
}

.geometric-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #636AE8;
    margin-bottom: 15px;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .geometric-section {
        padding: 0 15px;
    }

    .geometric-section h2 {
        font-size: 26px;
    }

    .geometric-section p {
        font-size: 15px;
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
    .geometric-section {
        margin-top: 40px;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .geometric-section h2 {
        font-size: 24px;
    }

    .checklist {
        font-size: 14px;
        line-height: 1.4;
        text-align: justify;
        max-width: 100%;
    }

    .background-shapes {
        max-width: 95%;
        top: -15px;
    }
}

@media (max-width: 480px) {
    .geometric-section {
        margin-top: 30px;
        margin-bottom: 20px;
        padding: 0 5px;
        max-width: 70%;
    }

    .geometric-section h2 {
        font-size: 22px;
    }

    .geometric-section p {
        font-size: 13px;
        line-height: 1.3;
        text-align: justify;
    }

    .background-shapes {
        display: none;
    }
}

@media (max-width: 367px) {
    .geometric-section {
        margin-top: 30px;
        margin-bottom: 20px;
        padding: 0 5px;
        max-width: 90%;
    }

    .geometric-section h2 {
        font-size: 22px;
    }

    .geometric-section p {
        font-size: 13px;
        line-height: 1.3;
        text-align: justify;
    }

    .background-shapes {
        display: none;
    }
}

/* Mastery Program Container */
.mastery-program {
    position: relative;
    width: 80%;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0px auto;
    overflow: hidden;
    background: url("../images/Course4.png") center/cover no-repeat;
}

/* Content Overlay (Optional, for Readability) */
.mastery-program::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2); /* Light overlay */
    z-index: 0;
}

/* Content Inside the Section */
.command {
    position: relative;
    z-index: 1;
    max-width: 90%;
    text-align: justify;
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}

/* Headings */
h1 {
    font-size: 28px;
    font-weight: bold;
    color: #636AE8;
    text-align: center;
    margin-bottom: 10px;
}

.by-ev {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Partnership Section */
.partnership {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    flex-direction: column;
}

.partnership img {
    height: 40px;
    max-width: 100%;
}


/* College Text */
.college {
    font-size: 14px;
    font-weight: bold;
    color: #1E90FF;
}

/* Description */
.description {
    font-size: 16px;
    margin-bottom: 20px;
}

/* List Styling */
h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

ul li {
    font-size: 16px;
    margin: 5px 0;
}

/* CTA Buttons - Column Layout */
.cta-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: row; /* Stack buttons vertically */
    align-items: center; /* Center the buttons */
    gap: 25px; /* Space between buttons */
    width: 50%; /* Full width for responsiveness */
}

/* Button Styling */
.btn {
    background-color: #636AE8;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    width: 80%; /* Adjust width for uniformity */
    text-align: center;
}

.btn:hover {
    background-color: #817FF0;
}

.cta-buttons a {
    text-decoration: none;  
    color: white;          
    padding: 10px 20px;     
    background: #636AE8;    
    border-radius: 15px;     
    display: inline-block;  
    font-weight: bold;      
    text-align: center;     
}

.cta-buttons a:hover {
    background: #817FF0;  /* Darker blue on hover */
}

/* ---------- Responsive Design ---------- */

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
    .mastery-program {
        width: 90%;
    }

    .command {
        max-width: 100%;
        padding: 15px;
    }

    .cta-buttons {
        width: 80%;
    }
}

/* Mobile Devices (768px and below) */
@media (max-width: 768px) {
    .mastery-program {
        width: 75%;
        padding: 15px;
    }

    h1 {
        font-size: 26px;
    }

    .by-ev {
        font-size: 18px;
    }

    .partnership {
        flex-direction: column;
    }

    .description {
        font-size: 14px;
    }

    ul li {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 80%;
        text-align: center;
    }
}

/* Smaller Screens (480px and below) */
@media (max-width: 480px) {
    .mastery-program {
        width: 100%;
        padding: 10px;
        margin-top: 20px;
    }

    h1 {
        font-size: 22px;
    }

    .by-ev {
        font-size: 16px;
    }
    h3 {
        padding: 3px 3px;
    }

    .description {
        font-size: 14px;
    }

    .cta-buttons {
        width: 80%;
        margin: 0px auto;
        gap: 0px;
    }

    .btn {
        width: 90%;
    }
}

/* Card Container */
.modules-heading {
    font-size: 28px;
    font-weight: bold;
    color: #636AE8;
    text-align: center;
    margin-top: 80px; 
    margin-bottom: -30px;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 0.3fr); /* 3 cards per row */
    gap: 20px;
    max-width: 1200px;
    margin: 50px auto;
    justify-content: center;
    width: 100%; 
    overflow: visible;  
}

/* Fixed card size */
.card {
    background: rgba(99, 106, 232, 0.1);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    width: 280px;  /* Fixed width */
    height: 210px; /* Ensures uniformity */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes content to fill space evenly */
    text-align: left;
}

/* Ensures text is evenly spaced */
.card h3 {
    font-size: 16px;
    color: #202020;
    max-width: 100%;
    margin-bottom: 10px;
}

/* Places description above the button */
.card p {
    font-size: 14px;
    color: #333;
    max-width: 100%;
    flex-grow: 1; /* Fills available space */
    display: flex;
    align-items: flex-end; /* Pushes text to bottom before button */
}

/* Button stays at the bottom */
.learn-more-btn {
    background: #fff;
    color: #636AE8;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 5px;
    width: 150px;
    margin-top: 10px; /* Adds spacing */
}

.learn-more-btn:hover {
    background: rgba(130, 126, 242, 0.2);
}

.learn-more-btn::after {
    content: ' →';
    font-size: 18px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(1, 1fr);
        overflow: visible;
    }
    .card {
        height: 200px;
        width: 310px;
    }

}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px; /* Ensures margin around the pop-up */
}

.popup-content {
    background: white;
    padding: 12px;
    border-radius: 15px;
    width: auto;
    max-width: 70%; /* Ensures it doesn't take the full screen */
    max-height: fit-content; /* No scroll, adjusts dynamically */
    text-align: left;
    position: relative;
}

.popup-content h2 {
    font-size: 16px; /* Reduced for better fit */
    max-width: 100%;
}

.popup-content ul {
    padding-left: 12px;
}

.popup-content li {
    margin: 3px 0;
    font-size: 14px; /* Smaller font for better spacing */
}

#popup-content-list {
    list-style-type: disc;
    padding-left: 15px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 16px;
    cursor: pointer;
    background-color: #636AE8;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 22px;
}

.close-btn:hover {
    background-color: #817FF0;
}


/* Program fee */
.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 300px;
    margin-top: 100px;;
}

.program-fee {
    display: inline-block;
}

.program-fee-title {
    text-align: center;
    font-size: 32px; /* Adjust size as needed */
    margin: 0px auto;
    font-weight: bold;
    margin-bottom: 20px; 
}

/* Pricing Container */
.pricing-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Pricing Cards */
.pricing-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    width: 370px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    gap: 50px;
    margin: 20px;
}

/* Executive Card Glow Effect */
.executive {
    box-shadow: 0px 0px 15px #817FF0;
}

/* Premium Card Glow Effect */
.premium {
    box-shadow: 0px 0px 10px #817FF0;
}

/* Badge (Executive / Premium) */
.badge {
    background: #636AE8;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Plan Type (Hybrid / In-Person) */
.mode {
    font-size: 18px;
    margin: 5px 0;
    opacity: 0.8;
}

/* Price */
.price {
    font-size: 28px;
    font-weight: bold;
    margin: 5px 0;
}

/* GST */
.gst {
    font-size: 14px;
    color: #222;
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: block;
    width: 70%;
    padding: 10px;
    margin: 10px auto;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #636AE8;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    
}

.btn:hover {
    background-color: #817FF0;
    color: white;
}

/* Features List */
.features {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.features li {
    font-size: 14px;
    margin: 5px 0;
    opacity: 0.9;
    
}

.extra-features {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.extra-features li {
    font-size: 14px;
    margin: 5px 0;
    opacity: 0.9;
    
}

.hidden {
    display: none;
}
/* List Styling */
ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;  
    text-align: left;  
}

.features ul li {
    font-size: 14px; /* Adjust text size */
    font-weight: 500; /* Slightly bolder text */
    margin: 8px 0; /* Spacing between items */
    display: flex;
    align-items: center;
}

/* Checkmark Styling */
.features li::before {
    content: "✔"; 
    color: #A28EFF; /* Purple color */
    font-weight: bold;
    margin-right: 10px; /* Proper spacing */
    font-size: 18px; /* Slightly larger checkmark */
}

.extra-features ul li {
    font-size: 14px; /* Adjust text size */
    font-weight: 500; /* Slightly bolder text */
    margin: 8px 0; /* Spacing between items */
    display: flex;
    align-items: center;
}

/* Checkmark Styling */
.extra-features li::before {
    content: "✔"; 
    color: #A28EFF; /* Purple color */
    font-weight: bold;
    margin-right: 10px; /* Proper spacing */
    font-size: 18px; /* Slightly larger checkmark */
}

/* Mentors Section */
.instructors-section {
    text-align: center;
    padding: 20px;
    width: 100%;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    }
    

.instructors-section h2 {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* Container */
.instructors-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Background */
.instructors-section {
    position: relative;
    width: 100%;
    padding: 50px 0;
    background: url('../images/Course6.png') no-repeat center center;
    background-size: cover;
    background-position: center;
}

/* Mentor Cards */
.mentors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Individual Mentor Card */
.mentor-card {
    background: white;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    text-align: center;
    padding: 20px;
    width: 300px;
    height: 400px;
    transition: all 0.3s ease-in-out;
}

/* Mentor Image */
.mentor-card img {
    width: 90%;
    border-radius: 10px;
}

/* Mentor Text */
.mentor-card p {
    font-size: 14px;
    margin-top: 5px;
}

/* --- Responsive Styling --- */
/* Small Screens: Single card per row, full width */
@media (max-width: 768px) {
    .mentors {
        flex-direction: column;
        align-items: center;
    }

    .mentor-card {
        width: 70%; /* Takes almost full width */
        height: auto;
    }

    .mentor-card p {
        font-size: 12px;
    }
}

/* Mobile Devices: Full-screen cards */
@media (max-width: 480px) {
    .mentor-card {
        width: 75%; /* Fits the screen */
        height: auto;
    }

    .mentor-card img {
        max-height: 180px;
    }

    .mentor-card p {
        font-size: 12px;
    }

    .instructors-section {
        padding: 20px 0;
    }
}

/* News Letter Section */
.newsletter-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers everything */
    justify-content: center;
    text-align: center;
    color: #333;
    margin-top: 50px;
}

.newsletter-input {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: -2px;
    margin-top: 20px;
    margin-bottom: 100px;
    height: 45px;
    width: 500px; /* Adjusted for balance */
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
    gap: 10px; /* Adds spacing between elements */
}

.email-icon {
    font-size: 18px;
    color: #777;
    margin-left: 10px;
}

.newsletter-input input {
    border: none;
    background: none;
    padding: 15px;
    font-size: 16px;
    outline: none;
    flex: 1;
    width: 100%;
}

.newsletter-input button {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 0px 20px 20px 0px;
    cursor: pointer;
    height: auto;
    transition: 0.3s ease-in-out;
}

.newsletter-input button:hover {
    background: #8c7ae6;
}

@media (max-width: 768px) {
    .newsletter-input {
        flex-direction: row;
        width: 78%;
        height: 38px;
    }
    .newsletter-container {
        margin-top: 90px;
    }
    .newsletter-input input {
        font-size: 14px;
        padding: 10px;
    }

    .newsletter-input button {
        padding: 10px 15px;
        font-size: 14px;
    }
    .newsletter-input button { 
        width: 110px;
    }
}

/* Footer Styling */
footer {
    background-color: #fff; /* White background */
    color: #333;
    font-family: 'Poppins', sans-serif;
    padding: 50px 8%;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1); /* Subtle top shadow */
}

/* Footer Container */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* About Us Section */
.about-us {
    max-width: 350px;
    text-align: center;
}

.about-us h3 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.about-us p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links h3 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #000;
}

/* Follow Us Section */
.follow-us h3 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.follow-us ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.follow-us ul li {
    margin-bottom: 8px;
}

.follow-us ul li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: color 0.3s ease;
}

.follow-us ul li a:hover {
    color: #000;
}

/* Footer Bottom Section */
hr {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    width: 90px;
    height: 90px;
    margin-top: -20px;
    margin-bottom: -20px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-container img {
    width: 90px;
    height: 90px;
    margin-top: -20px;
    margin-bottom: -20px;
}

.footer-bottom p {
    font-size: 14px;
    color: #777;
}

/* EV Academy Button */
.ev-academy-button {
    background-color: #6c5ce7;
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 20px;
    border: none;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-links ul li {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .logo-container {
        flex-direction: column;
    }

    .follow-us ul li {
        text-align: center;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.8em;
    }
    .image-container {
        flex-direction: column;
    }
}
