/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

/* 🌎 General Body Styling */
body {
    background: white;
    color: #222;
    text-align: center;
}

/* 🔷 Header */
.header {
    background: #1ABC9C;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* ✅ Moves everything to the left */
    padding: 15px 30px;
    z-index: 1000;
}

/* 🔹 Navigation Links */
.nav-links {
    display: flex;
    gap: 20px;
    margin-left: 40px; /* ✅ Adjusts spacing between logo and links */
}

/* 🔹 Logo */
.logo {
    font-size: 2.2rem;
    font-weight: bold;
}

/* 🔹 Navigation Links */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* 🔹 Language Dropdown (Proper Positioning) */
.language-dropdown {
    position: relative; /* stays inside nav-right flow */
}

/* ✅ Right side container */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;            /* space between Sign in and Language */
    margin-left: auto;    /* pushes nav-right all the way to the right */
}

/* ✅ Ensure Button is Clickable */
#language-btn {
    background: transparent;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 12px;
    font-weight: bold;
}

#language-btn:hover {
    opacity: 0.8;
}

/* 🔽 Dropdown Content */
.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 150px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 2000; /* Keeps it above other elements */
}

/* ✅ Make Sure It's Visible When Active */
.dropdown-content.active { /* Changed from .language-dropdown.active .dropdown-content */
    display: block !important;
}

/* ✅ Ensure Dropdown Links Are Clickable */
.dropdown-content a {
    color: #333;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* 📱 Fix Position on Mobile */
@media (max-width: 768px) {
    .language-dropdown {
        position: relative; /* ✅ Prevents it from overlapping elements */
        top: 0;
        right: 0;
        text-align: center;
        margin-top: 10px;
    }
}

/* ✅ Fix Main Carousel Styling */
.carousel.main-carousel { /* Targets the class */
    position: relative;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ✅ Fix Main Carousel Image Display */
#main-carousel .carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

/* 🚀 Add Space Above the Main Carousel */
.carousel-container {
    margin-top: 40px; /* ✅ Adjust this value as needed */
    margin-bottom: 60px; /* ✅ Keeps the existing bottom space */
}

/* 🚀 Add Space Below the Main Carousel */
.carousel-container {
    margin-bottom: 60px; /* ✅ Adjust as needed */
}

/* ✅ Fix Navigation Arrows */
.carousel button.prev,
.carousel button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 24px;
    transition: opacity 0.3s;
    opacity: 0;
}

/* ✅ Show arrows only on hover */
.carousel:hover .prev,
.carousel:hover .next {
    opacity: 1;
}

/* 🚀 Article Section Styling */
.articles-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9; /* Light background for contrast */
}

/* 🎯 White Box Around Each Article */
.article-box {
    background: white;
    padding: 20px;
    margin: 30px auto;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ✅ Aligns text to the left */
}

/* 🎯 Article Carousels */
.article-carousel {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 15px; /* ✅ Space between carousel & title */
}

/* 🎯 Ensures Only One Image Shows */
.article-carousel .carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

/* ✅ Ensure First Slide is Visible */

/* 🎯 Fix Image Sizing */
.article-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 🎯 Navigation Buttons */
.article-carousel .prev,
.article-carousel .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    transition: 0.3s;
}

.article-carousel .prev:hover,
.article-carousel .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.article-carousel .prev { left: 10px; }
.article-carousel .next { right: 10px; }

/* 🎯 Article Titles & Descriptions (Aligned Left) */
.article-box h3 {
    font-size: 22px;
    color: #1ABC9C; /* ✅ Turquoise */
    margin-bottom: 5px;
    text-align: left; /* ✅ Align to left */
}

.article-box h3 a {
    color: #1ABC9C; /* ✅ Ensure clickable title is turquoise */
    text-decoration: none;
    font-weight: bold;
}

.article-box h3 a:hover {
    text-decoration: underline;
}

/* 🎯 Left-Aligned Article Description */
.article-box p {
    font-size: 16px;
    color: #555;
    text-align: left; /* ✅ Align to left */
}

/* 🎯 Course Section */
.courses-container {
    padding: 60px 20px;
    text-align: center;
}

.courses-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.course-card {
    background: white;
    padding: 20px;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

.course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

/* 🔹 Footer */
#footer {
    background: #1ABC9C !important;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-radius: 10px 10px 0 0;
    font-size: 16px;
}

.footer-content p {
    margin: 5px 0;
}

#footer a {
    color: #e0f7fa;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

#footer a:hover {
    opacity: 0.8;
}

/* 📱 Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-links {
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
    }

    .article-carousel {
        max-width: 100%;
        height: 250px;
    }

    .carousel-slide img {
        max-height: 250px;
    }
}

/* ✅ Styling for Sign-Up & Survey Sections with Wrapper */
.section-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between containers */
    padding: 60px 20px; /* Matches original vertical spacing */
    flex-wrap: wrap; /* Allows stacking on smaller screens */
}

.section-container {
    background: white;
    padding: 40px;
    margin: 0; /* Remove auto margin for flex layout */
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; /* Adjusted to fit side by side */
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* 🟢 Add Hover Effect */
.section-container:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

/* 📌 Restore Headings */
.section-container h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1ABC9C; /* ✅ Matched with theme */
}

/* 📌 Restore Paragraph Text */
.section-container p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

/* ✅ Restore Sign-Up Form */
.signup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* 🔵 Restore Input Field */
input[type="email"] {
    padding: 14px;
    width: 100%;
    max-width: 400px;
    border: 2px solid #1ABC9C;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    outline: none;
    transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* ✨ Glow Effect on Focus */
input[type="email"]:focus {
    border-color: #16A085;
    box-shadow: 0px 0px 10px rgba(26, 188, 156, 0.3);
}

/* ✅ Restore Buttons */
.button-primary, .button-secondary {
    background: #1ABC9C;
    color: white;
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* 🔥 Button Hover Effect */
.button-primary:hover, .button-secondary:hover {
    background: #16A085;
    transform: translateY(-3px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

/* 🟠 Restore Survey Button */
.button-secondary {
    background: #ff6f00;
}

.button-secondary:hover {
    background: #e65100;
}

/* Responsive Adjustment */
@media (max-width: 768px) {
    .section-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .section-container {
        max-width: 500px; /* Restore original width on smaller screens */
    }
}

/* 🚀 Carousel Styling */
.carousel {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

/* Ensure slides are positioned correctly */
.carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

/* Navigation arrows */
.carousel button.prev,
.carousel button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 24px;
    transition: opacity 0.3s;
    opacity: 0;
    z-index: 15;
}

.carousel:hover .prev,
.carousel:hover .next {
    opacity: 1;
}

/* Position arrows for main carousel */
#main-carousel .prev {
    left: 10px; /* Left edge */
}

#main-carousel .next {
    right: 10px; /* Right edge */
}

/* General dots styling (for main carousel) */
.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
}

/* Style the dots */
.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: grey;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.6;
    cursor: pointer;
}

.dot.active {
    background-color: white;
    opacity: 1;
}

.dot:hover {
    opacity: 0.8;
}

/* Override dots for article carousels to place them below */
.article-carousel .dots {
    position: static;
    transform: none;
    margin-top: 10px;
}

/* Large Text Section */
.large-text-container {
    display: flex;
    justify-content: center; /* Centers the box */
    align-items: center;
    margin: 50px auto;
    padding: 20px;
}

/* White Box Styling (A4 Paper Size & Centering) */
.large-text-box {
    background: white;
    padding: 40px; /* More padding for readability */
    max-width: 794px; /* A4 width */
    border-radius: 12px; /* Soft rounded corners */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: left; /* Left-align text for better readability */
    margin: 0 auto; /* Ensures perfect centering */
}

/* Turquoise Title */
.large-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1ABC9C; /* Turquoise */
    margin-bottom: 20px;
    text-align: center; /* Center the title */
}

/* Paragraph Text */
.large-text {
    font-size: 1.2rem;
    font-weight: normal;
    color: black;
    line-height: 1.8; /* More spacing for better readability */
    margin-bottom: 15px;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .large-text-box {
        max-width: 90%;
        padding: 30px;
    }

    .large-title {
        font-size: 2rem;
    }

    .large-text {
        font-size: 1rem;
    }
}


.welcome-container {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: #f9f9f9;
    padding: 20px;
}

.welcome-box {
    background: #1ABC9C;
    color: white;
    padding: 40px;
    border-radius: 15px;
    width: 760px;
    max-width: 760px; /* Unchanged, original size */
    text-align: center;
}

.welcome-box h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.welcome-box p {
    font-size: 18px;
    margin-bottom: 30px;
}

.language-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 per row */
    gap: 15px;
    justify-items: center;
}

.lang-box {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 140px;   /* Increased slightly for balance */
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lang-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    width: 100%;
    height: 100%;
    padding: 0;
}

.lang-btn img {
    width: 40px;
    height: 40px;
}

.image-container {
    max-width: 800px;
    width: 800px;
}

.image-container img {
    width: 100%; 
    height: auto;
    border-radius: 15px;
    max-width: 100%; /* Prevents overflow */
}

@media (max-width: 768px) {
    .welcome-container {
        flex-direction: column;
        gap: 20px;
    }
    .welcome-box, .image-container {
        max-width: 100%; /* Full width on mobile */
        width: auto; /* Reset exact width on mobile */
    }
    .language-selector {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on mobile */
    }
    .lang-box {
        width: 100px;
        height: 100px;
    }
    .lang-btn img {
        width: 30px;
        height: 30px;
    }
}

/* 🔹 Header (Menu Bar) */
.header {
    background: #1ABC9C;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* ✅ Moves everything to the left */
    padding: 15px 30px;
    z-index: 1000;
    width: 100%;
    position: fixed; /* ✅ Keeps it at the top */
    top: 0;
    left: 0;
}

/* 🔹 Navigation Links */
.nav-links {
    display: flex;
    gap: 20px;
    margin-left: 40px; /* ✅ Spacing between logo and links */
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* 🔹 Logo */
.logo {
    font-size: 2.2rem;
    font-weight: bold;
}

/* ✅ Pushes content down so it's not hidden under the fixed menu */
body {
    padding-top: 70px; /* ✅ Adjust this value if needed */
}

/* 📱 Responsive Menu for Mobile */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-links {
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
    }
}

/* 🔹 Profile Sections */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px;
}

.profile-section {
    max-width: 80%;
}

.profile-section h2 {
    margin-bottom: 15px;
    color: #333;
}

.profile-section img {
    width: 100%; /* Responsive images */
    max-width: 800px; /* Prevents images from being too large */
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
/* 🔹 Footer Styling */
#footer {
    background: #1ABC9C;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-radius: 10px 10px 0 0;
    font-size: 16px;
}

.footer-content p {
    margin: 5px 0;
}

#footer a {
    color: #e0f7fa;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

#footer a:hover {
    opacity: 0.8;
}

/* 🔹 Make the Footer Stick to the Bottom */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main-container {
    flex: 1; /* Pushes the footer down */
}

/* 🔹 Footer Styling */
#footer {
    background: #1ABC9C;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto; /* Ensures it moves to the bottom */
    border-radius: 10px 10px 0 0;
    font-size: 16px;
}

/* 🔹 Navigation Links (Assumed Base Styling) */
.nav-links {
    display: flex; /* Ensures consistent alignment */
    align-items: center; /* Vertically centers all items */
    gap: 20px; /* Space between links */
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    line-height: 1; /* Normalize height */
}

/* 🔹 Demos Dropdown */
.demos-dropdown {
    position: relative;
    display: flex; /* Changed to flex for alignment */
    align-items: center; /* Matches .nav-links */
}

/* ✅ Ensure Button is Clickable and Aligned */
#demos-btn {
    background: transparent;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 12px; /* Matches .nav-links a */
    font-weight: bold;
    line-height: 1; /* Matches <a> tags */
    margin: 0; /* Removes any default offset */
}

#demos-btn:hover {
    opacity: 0.8;
}

/* 🔽 Reuse Dropdown Content Styling */
.demos-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 150px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 2000;
    top: 100%;
    left: 0;
}

.demos-dropdown .dropdown-content.active {
    display: block !important;
}

.demos-dropdown .dropdown-content a {
    color: #333;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    font-size: 14px;
}

.demos-dropdown .dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* 📱 Mobile Adjustments */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column; /* Stack on mobile */
        align-items: center;
    }
    .demos-dropdown {
        display: block; /* Stacks naturally */
        text-align: center;
        margin-top: 10px;
    }
}

.logo {
    text-decoration: none;
    color: inherit;
  }

  .investor-carousel {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
  }
  
  .carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  .carousel-btn {
    font-size: 30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }
  
  .carousel-btn:hover {
    color: #1ABC9C;
  }
  
  #slideImage {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .answers-section {
    font-family: 'Quicksand', sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: left;
  }
  
  .answers-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 600;
  }
  
  .collapsible-question {
    background-color: #f1f1f1;
    color: #333;
    cursor: pointer;
    padding: 14px 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border-left: 4px solid #1ABC9C;
    margin-top: 10px;
    font-family: 'Quicksand', sans-serif;
  }
  
  .collapsible-question:hover {
    background-color: #e0e0e0;
  }
  
  .collapsible-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
    border-left: 4px solid #1ABC9C;
    margin-bottom: 10px;
    font-family: 'Quicksand', sans-serif;
  }
  
  .collapsible-answer p {
    padding: 10px 0;
    line-height: 1.6;
    font-size: 1em;
  }.answers-section {
    font-family: 'Quicksand', sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: left;
  }
  
  .answers-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 600;
  }
  
  .collapsible-question {
    background-color: #f1f1f1;
    color: #333;
    cursor: pointer;
    padding: 14px 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border-left: 4px solid #1ABC9C;
    margin-top: 10px;
    font-family: 'Quicksand', sans-serif;
  }
  
  .collapsible-question:hover {
    background-color: #e0e0e0;
  }
  
  .collapsible-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
    border-left: 4px solid #1ABC9C;
    margin-bottom: 10px;
    font-family: 'Quicksand', sans-serif;
  }
  
  .collapsible-answer p {
    padding: 10px 0;
    line-height: 1.6;
    font-size: 1em;
  }
  
  .signup-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
  }
  
  .signup-box {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
  }
  
  .signup-box h2 {
    color: #1ABC9C;
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .signup-box p {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
  }
  
  .signup-box input[type="email"] {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: 2px solid #1ABC9C;
    border-radius: 8px;
    outline: none;
    margin-bottom: 16px;
    font-family: 'Quicksand', sans-serif;
  }
  
  .signup-box button {
    background-color: #1ABC9C;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    transition: background-color 0.3s ease;
  }
  
  .signup-box button:hover {
    background-color: #1ABC9C;
  }
  
  #message {
    margin-top: 10px;
  }
  
/* Style for the summary element */
.demo-collapsible-btn {
    background-color: #f8f9fa;
    color: #1ABC9C;
    padding: 20px;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    outline: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    list-style: none; /* Removes default arrow */
  }
  
  .demo-collapsible-btn:hover {
    background-color: #e2f0f4;
  }
  
 /* Title and Section Styling */
.lesson-demos h2 {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px; /* space below main title */
    font-size: 2rem;
  }
  
  .week-section {
    margin-bottom: 60px; /* space between each week's section */
  }
  
  .week-section h3 {
    margin-left: 20px; /* slight indent to the left */
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  /* Collapsible Button Styling */
  .demo-collapsible summary {
    font-weight: bold;
    font-size: 1.2rem;
    padding: 15px 25px;
    cursor: pointer;
    background-color: #f6f8f9;
    border-radius: 10px;
    margin: 10px 20px;
    text-align: left; /* align text to the left */
  }
  
  /* Container for the collapsible content */
  .demo-collapsible-content {
    padding: 20px;
    background-color: #f1f7fa;
    border-radius: 15px;
    margin: 0 20px 30px 20px; /* adds space below each collapsible */
  }

  .demo-collapsible-btn {
    text-decoration: underline;
    cursor: pointer; /* makes it look clickable */
  }
  
  /* Grid layout for media */
  .media-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  /* Box that holds each image or video */
  .media-box {
    flex: 1 1 calc(50% - 40px); /* 2 items per row */
    max-width: calc(50% - 40px);
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }  
  /* Style for media */
  .media-box img,
  .media-box video,
  .media-box iframe {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  /* Container for iframes to ensure proper sizing */
  .media-box > div.video-container {
    width: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
  }
  
  .media-box > div.video-container.vertical {
    aspect-ratio: 9 / 16;
  }
  
  /* Style for direct iframes in media-box (non-responsive) */
  .media-box > div.video-container > iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .media-box > div.video-container.vertical > iframe {
    width: 100%;
    height: 100%;
  }
  
  /* Video title styling */
  .video-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-top: 15px;
    text-align: center;
    padding: 5px 10px;
    width: 100%;
  }  
  /* Responsive: stack on smaller screens */
  @media (max-width: 768px) {
    .media-box {
      flex: 1 1 100%;
      max-width: 100%;
    }
    
    .video-title {
      font-size: 1rem;
    }
  }  
  .password-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    text-align: center;
    font-family: 'Quicksand', sans-serif; /* Match your style */
}

.password-container input[type="password"] {
    padding: 10px;
    margin: 10px 0;
    width: 250px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.password-container button {
    padding: 10px 20px;
    background-color: #4CAF50; /* Green button */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.password-container button:hover {
    background-color: #45a049;
}

/* Responsive YouTube videos */
.responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

/* For vertical videos (9:16 aspect ratio) */
.responsive-video.vertical {
    padding-bottom: 177.77%; /* 9:16 aspect ratio */
}

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

  .demo-video {
    width: 100%;
    aspect-ratio: 16 / 9; /* Always landscape ratio */
    max-height: 315px;
    border-radius: 8px;
    object-fit: cover;
  }

  /* Hide hamburger on desktop */
.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333; /* Change color if needed */
    padding: 10px;
  }
  
  /* Mobile Nav */
  .mobile-nav {
    display: none;
    flex-direction: column;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    padding-top: 60px;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  }
  
  .mobile-nav a {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-size: 18px;
  }
  
  /* Show hamburger on small screens */
  @media screen and (max-width: 768px) {
    .hamburger {
      display: block;
    }
  
    .nav-links {
      display: none;
    }
  }

  .mobile-nav.active {
    display: flex;
  }

/* Grammar Test Styles */
.test-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 30px;
    padding: 20px;
  }
  
  .test-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    text-align: center;
  }
  
  .test-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .start-button {
    background-color: #45a049;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 30px;
  }
  
  .start-button:hover {
    background-color: #45a049;
  }
  
  .test-question {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .test-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* align to the left */
    gap: 10px;
    margin-top: 20px;
  }
  
  .test-options label {
    background-color: transparent; /* no background color */
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    text-align: left; /* text also aligned to the left */
    font-size: 18px;
    transition: background-color 0.3s;
  }
  
  .test-options label:hover {
    background-color: #f0f0f0; /* very light hover effect only when hovered */
  }  
  
  .test-result {
    margin-top: 20px;
    font-size: 22px;
    font-weight: bold;
  }
  
  .test-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px; /* adds separation from the test box */
  }
  
  .test-header h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  #start-button {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #00b894;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  #start-button:hover {
    background-color: #019875;
  }
  
  #quiz-container {
    max-width: 600px; /* Ensure the container isn’t too narrow */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Add some padding */
}

/* Style the result container */
#result {
    margin-top: 20px; /* Space above the results */
}

/* Style headings in the results */
#result h2 {
    font-size: 1.5em; /* Slightly larger heading */
    margin: 20px 0 10px; /* Space above and below */
    color: #333; /* Dark color for readability */
}

/* Style subheadings */
#result h3 {
    font-size: 1.2em;
    margin: 15px 0 5px;
    color: #555; /* Slightly lighter color */
}

/* Style paragraphs */
#result p {
    font-size: 1em;
    line-height: 1.6; /* Better readability */
    margin: 10px 0;
    color: #444;
}

/* Style lists */
#result ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0; /* Remove default padding */
    margin: 10px 0;
}

#result li {
    padding-left: 20px; /* Indent the list items */
    margin: 5px 0;
    position: relative;
    line-height: 1.6;
}

/* Ensure emojis in list items are properly aligned */
#result li::before {
    content: attr(data-emoji); /* Use the emoji from the text */
    position: absolute;
    left: 0;
    font-size: 1em; /* Match the text size */
}

/* Style strong tags (e.g., CEFR level) */
#result strong {
    color: #2c3e50; /* Darker color for emphasis */
    font-weight: bold;
}#quiz-container {
    max-width: 600px; /* Ensure the container isn’t too narrow */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Add some padding */
}

/* Style the result container */
#result {
    margin-top: 20px; /* Space above the results */
}

/* Style headings in the results */
#result h2 {
    font-size: 1.5em; /* Slightly larger heading */
    margin: 20px 0 10px; /* Space above and below */
    color: #333; /* Dark color for readability */
}

/* Style subheadings */
#result h3 {
    font-size: 1.2em;
    margin: 15px 0 5px;
    color: #555; /* Slightly lighter color */
}

/* Style paragraphs */
#result p {
    font-size: 1em;
    line-height: 1.6; /* Better readability */
    margin: 10px 0;
    color: #444;
}

/* Style lists */
#result ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0; /* Remove default padding */
    margin: 10px 0;
}

#result li {
    padding-left: 20px; /* Indent the list items */
    margin: 5px 0;
    position: relative;
    line-height: 1.6;
}

/* Ensure emojis in list items are properly aligned */
#result li::before {
    content: attr(data-emoji); /* Use the emoji from the text */
    position: absolute;
    left: 0;
    font-size: 1em; /* Match the text size */
}

/* Style strong tags (e.g., CEFR level) */
#result strong {
    color: #2c3e50; /* Darker color for emphasis */
    font-weight: bold;
}

/* Yellow "Sign in" button */
.btn-signin {
  background-color: #FFD60A;   /* Bright yellow */
  color: #000;                 /* Black text for contrast */
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-signin:hover {
  background-color: #FFC300;   /* Slightly darker yellow on hover */
}

/* 🔹 Footer Styling */
#footer {
    background: #1ABC9C;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto; /* Ensures it moves to the bottom */
    border-radius: 10px 10px 0 0;
    font-size: 16px;
}

/* ✅ Contact Page Styles */
.contact-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: #1ABC9C;
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-info, .contact-form-section {
    flex: 1;
    min-width: 300px;
}

.contact-info h2, .contact-form-section h2 {
    font-size: 1.8rem;
    color: #1ABC9C;
    margin-bottom: 25px;
    text-align: center;
}

.contact-method {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.contact-method h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-method p {
    margin-bottom: 5px;
    color: #555;
}

.contact-method a {
    color: #1ABC9C;
    text-decoration: none;
    font-weight: bold;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Quicksand', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1ABC9C;
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.2);
    outline: none;
}

.button-primary {
    background: #1ABC9C;
    color: white;
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    width: 100%;
}

.button-primary:hover {
    background: #16A085;
    transform: translateY(-3px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .contact-info, .contact-form-section {
        min-width: 100%;
    }
    
    .contact-form {
        padding: 20px;
    }
}



  

