      
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: Arial, sans-serif;
    background: url('./Assets/Images/2.png') no-repeat center center fixed;
    background-size: cover;
}
/* Full-Screen Loader */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    top: 0;
    left: 0;
}

/* Centering the Loading Text and Orbit */
.loading-container {
    position: relative;
    text-align: center;
}

/* Orbit Effect */
.orbit {
    position: absolute;
    width: 100px; /* Orbit size */
    height: 100px; /* Orbit size */
    top: -70px; /* Adjusts feather start position */
    left: 50%;
    transform: translateX(-50%);
    animation: orbitMotion 2.5s linear infinite;
}

/* Feather (Width 40px and Centered Properly) */
#loading-feather {
    width: 50px; /* Feather size reduced */
    height: auto;
    position: absolute;
    top: 50%;  /* Align to center */
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Circular Motion WITHOUT Rotating the Feather */
@keyframes orbitMotion {
    0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    25% { transform: rotate(90deg) translateX(50px) rotate(0deg); }
    50% { transform: rotate(180deg) translateX(50px) rotate(0deg); }
    75% { transform: rotate(270deg) translateX(50px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(50px) rotate(0deg); }
}

/* Loading Text */
.loading-container p {
    font-size: 20px;
    margin-top: 60px;
    font-family: Arial, sans-serif;
    color: white;
}

 /* Navbar Styles */
 .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 15px;
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: color 0.3s ease;
}
.navbar .logo img {
    margin-left: 70px;
    height: 50px; /* Adjust as needed */
    width: auto;
}
.nav-links { list-style: none; display: flex;
margin-right: 50px;
}
.nav-links li { margin: 0 15px; }
.nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5px;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #33333362;
    padding: 10px 20px;
}

.logo {
    position: relative;
    cursor: pointer;
}

.logo img {
    width: 50px;
    height: auto;
}

.logo-links {
    position: absolute;
    left: 80%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.568);
    color: rgb(255, 255, 255);
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    display: none;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.logo:hover .logo-links {
    display: flex;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links li {
    position: relative;
}

.nav-links .dropdown,
.nav-links .sub-dropdown {
    display: none;
    position: absolute;
    background: rgba(94, 165, 85, 0.233);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.nav-links li:hover > .dropdown,
.nav-links .dropdown li:hover > .sub-dropdown {
    display: block;
}

.dropdown li {
    position: relative;
}

.sub-dropdown {
    left: 100%;
    top: 0;
}

/* Mobile Menu */
.menu-toggle { display: none; cursor: pointer; font-size: 24px; }

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; background: rgba(0, 0, 0, 0.63); position: absolute; top: 100px; right: 0; width: 200px; backdrop-filter: blur(20px); padding: 10px; border-radius: 10px; }
    .nav-links.active { display: flex; }
    .nav-links li { text-align: center; padding: 10px; }
    .menu-toggle { display: block; }
}

/* Donate Button Styles */
.donate-btn {
    background: #ff9800; /* Orange donate button */
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.donate-btn:hover {
    background: white;
    color: #ff9800;
}

/* Fixed Donate Button at Top Right */
.fixed-donate-btn {
    position: fixed;  /* Keeps it fixed on screen */
    top: 80px;  /* Distance from the top */
    right: 20px;  /* Distance from the right */
    background: #ff9800;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;  /* Ensures it stays above all elements */
}

/* Hover effect */
.fixed-donate-btn:hover {
    background: white;
    color: #ff9800;
}






@font-face {
    font-family: 'Blastine';
    src: url('./Assets/Font/Blastine\ Personal\ Use\ Only.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



/* First Section Styles */
/* Hero Section */
.hero-section {
    position: relative;
    top: 0;
    height: 100vh;
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Container for Text & Feather */
.text-container {
    position: relative;
    display: inline-block;
}

/* H1 Text (Initially Hidden) */
.hidden-text {
    font-size: 50px;
    color: white;
    font-family: 'Blastine';
    font-weight: 100;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in-out;
}

/* Feather Animation */
.feather {
    position: absolute;
    top: -100px;  /* Start above the screen */
    right: -100px; /* Start from right */
    width: 80px;
    height: auto;
    opacity: 0;
    animation: fallFeather 3s ease-in-out forwards;
}

/* Keyframes for Smooth Feather Drop */
@keyframes fallFeather {
    0% {
        transform: translate(100px, -100px) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
        transform: translate(-20px, 50px) rotate(20deg);
    }
    100% {
        transform: translate(-315px, 15px) rotate(40deg);
        opacity: 1;
    }
}





/* About Section Styles */
.aboucontainer{
    margin-top: 150px;
    margin-bottom: 100px;
    width: 50%;
    height: 50%;
    background-color: rgba(101, 131, 106, 0.411);
    border-radius: 26px;
}
.about-section {

    padding: 50px;
    text-align: left;

    display: flex;
    align-items: center;
    justify-content: space-between;
}
.about-content {
    margin-top: 50px;
    margin-left: 100px;
    max-width: 60%;
    color: white;
}
.about-section h1 {
    font-size: 40px;
    font-family: "Roboto Slab"; 
}
.about-text {
    margin: 20px 0;
    max-width: 800px;
}
.read-more-btn {
    margin-bottom: 50px;
    background: transparent;
    color: white;
    padding: 10px 20px;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 26px;
    text-decoration: none;
    display: inline-block;
}
.read-more-btn:hover {
    background: white;
    color: black;
}

.about-image img {
    margin-top: 150px;
    margin-bottom: 100px;
    margin-left: 150px;
    width: 300px;
    height: 300px;
    border-radius: 50px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.about-image img:hover {
    transform: scale(1.1);
}



/* === Course Section === */
.course-section {
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.course-text {
    margin-top: 70px;
    flex: 1;
    text-align: left;
    max-width: 50%;
}

.course-text h1 {
    font-size: 40px;
    font-family: "Roboto Slab";
    font-weight: 900;
    margin: 0;
    margin-left: 100px;
}

.course-text p {
    margin-top: 20px;
    max-width: 600px;
    font-weight: 100;
    margin-left: 100px;
}

.view-courses-btn {
    background: transparent;
    color: white;
    padding: 10px 20px;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 26px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 70px;
    margin-left: 100px;
}

.view-courses-btn:hover {
    background: white;
    color: black;
}

/* === Course Gallery === */
.Coursecontainer {
    margin-top: 100px;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.Coursegallery {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    gap: 20px;
}

/* === Image Boxes === */
.gmg-box {
    width: 50px;
    height: 300px;
    margin: 10px;
    border-radius: 50px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: width 0.5s ease-in-out;
    flex-shrink: 0;
    opacity: 0.5;
}

.gmg-box.active {
    width: 300px;
    opacity: 1;
}

.gmg-box h3 {
    color: white;
    position: absolute;
    bottom: 0;
    left: 30px;
    opacity: 0;
    transition: bottom 0.5s, opacity 0.5s;
}

.gmg-box.active h3 {
    opacity: 1;
    bottom: 25px;
}



      /* Fourth Section */
      .journey-section {

        text-align: center;
        padding: 50px;

        color: black;
    }
    .journey-section h1 {   
        margin-top: 200px;
        font-size: 40px;
        color: white;
        font-family: "Roboto Slab";
    }
    .journey-buttons {
        margin-top: 20px;
    }
    .journey-buttons a {
        background: transparent;
        color: #ffffff;
        padding: 10px 20px;
        border: 2px solid #ffffff;
        cursor: pointer;
        transition: 0.3s;
        border-radius: 26px;
        text-decoration: none;
        display: inline-block;
        margin: 10px;
        margin-bottom: 150px;

    }
    .journey-buttons a:hover {
        background: #ffffff;
        color: rgb(0, 0, 0);
    }







 /* Resource Section: Two-column Layout */
.resource-section {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px;
    color: white;
}
.view-more-btn {
    margin-top: 20px; /* Space from description */
    margin-bottom: 50px;
    background: transparent;
    color: white;
    padding: 10px 20px;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 26px;
    text-decoration: none;
    display: inline-block;
    position: relative; /* Ensures it's not overlapped */
    z-index: 10; /* Places it above other elements */
}
.view-more-btn:hover{
    background: #ffffff;
    color: rgb(0, 0, 0);
}


/* Left Side: Scrollable Vertical Container */
.resource-container {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 20px;
    max-height: 400px; /* Limit height for vertical scroll */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scroll */
    padding: 10px;
    scroll-snap-type: y mandatory;
    width: 500px; /* Set a fixed width to prevent content overflow */
}

/* Individual Resource Cards */
.resource-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 100%; /* Ensure it doesn't exceed .resource-container width */
    scroll-snap-align: start;
}

/* Title inside Resource Cards */
.resource-card h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* Text inside Resource Cards */
.resource-text {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ddd;
    word-wrap: break-word;
}

/* Know More Button */
.know-more-btn {
    display: inline-block;
    padding: 8px 15px;
    background: transparent;
    border: 2px solid #FFFFFF;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
}

.know-more-btn:hover {
    background: white;
    color: black;
}

/* Right Side: Title & Description */
.resource-content {
    margin-top: 70px;
    max-width: 500px;
    text-align: left;
}

/* Section Title */
.resource-content h1 {
    font-size: 40px;
    font-family: "Roboto Slab";
}

/* Section Description */
.resource-description {
    font-size: 18px;
    margin-top: 20px;
}

/* Custom Scrollbar for Vertical Scrolling */
.resource-container::-webkit-scrollbar {
    width: 6px;
}

.resource-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}



/* Section Styling */
.youtube-videos {
    margin-top: 70px;
    text-align: center;
    padding: 20px;
    background: transparent; /* Dark background */
    color: white;
    font-size: 30px;
    font-family: "Roboto Slab";
    margin-bottom: 70px;
}

/* Marquee Container */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    margin-top: 40px;
}

/* Marquee Content - Continuous Scrolling */
.marquee-content {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee-scroll 10s linear infinite;
}

/* Individual YouTube Card */
.youtube-card {
    display: inline-block;
    width: 250px;
    text-align: center;
    background: #4e4e4eba;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

/* Card Hover Effect */
.youtube-card:hover {
    transform: scale(1.05);
}

/* Thumbnail Image */
.youtube-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Video Title */
.youtube-card h2 {
    font-size: 18px;
    margin: 10px 0;
}

/* Video Description */
.youtube-card p {
    font-size: 14px;
    opacity: 0.8;
}

/* Smooth Continuous Scrolling Animation */
@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}








  
  

/* Chatbot CSS */
.chatbot-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.chatbot-wrapper {
    display: flex;
    width: 80%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.chatbot-info {
    flex: 1;
    padding: 20px;
    color: white;
}

.chatbot-container {
    width: 50%;
    max-width: 350px;
    height: 400px;
    background: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.chatbot-header {
    text-align: center;
    padding: 10px;
    background: #005525;
    color: white;
    border-radius: 10px 10px 0 0;
}

.chatbot-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 14px;
    max-height: 300px;
    scrollbar-width: thin;
    scrollbar-color: #005525 #f1f1f1;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #005525;
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-message {
    display: flex;
    align-items: center;
    max-width: 80%;
    margin: 5px 0;
}

.chat-message.bot {
    align-self: flex-start;
    flex-direction: row;
}

.chat-message.user {
    align-self: flex-start;
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    margin: 0 10px;
}

.bot-avatar {
    background: #555;
}

.user-avatar {
    background: #005525;
}

.chat-text-wrapper {
    display: flex;
    align-items: center;
}

.chat-text {
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 250px;
    word-wrap: break-word;
}

.chatbot-input-container {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.chatbot-input-container input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.chatbot-input-container button {
    background: #005525;
    color: white;
    border: none;
    padding: 8px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 5px;
}
.chat-message {
    display: flex;
    align-items: flex-start; /* Keep avatars aligned */
    max-width: 80%;
    margin: 5px 0;
}

.chat-message.bot {
    align-self: flex-start;
    flex-direction: row;
}

.chat-message.user {
    align-self: flex-start;
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 35px; /* Fixed avatar size */
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    margin-right: 10px; /* Space between avatar & text */
    flex-shrink: 0; /* 🔹 Prevents avatar from shrinking */
}

.bot-avatar {
    background: #555;
}

.user-avatar {
    background: #005525;
    margin-left: 10px; /* Ensures spacing on the right side */
}

.chat-text-wrapper {
    display: flex;
    align-items: center;
    max-width: 70%; /* Adjust width for better layout */
}

.chat-text {
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 100%;
    word-wrap: break-word;
    flex-grow: 1; /* Allows the message to expand while keeping avatar fixed */
}
.chat-message {
    display: flex;
    align-items: flex-start;
    max-width: 80%;
    margin: 5px 0 0 25px;
}

.chat-message.bot {
    align-self: flex-start;
    flex-direction: row;
}

.chat-message.user {
    align-self: flex-end; /* Moves user messages to the right */
    flex-direction: row-reverse;
    text-align: right;
    margin-right: 5px; /* 🔹 Reduces extra space on the right */
}

.chat-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.bot-avatar {
    background: #555;
    margin-right: 10px;
}

.user-avatar {
    background: #005525;
    margin-left: 5px; /* 🔹 Reduced spacing to make it compact */
}

.chat-text-wrapper {
    display: flex;
    align-items: center;
    max-width: 70%;
}

.chat-text {
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 100%;
    word-wrap: break-word;
    flex-grow: 1;
}
.radhe{
    font-size: 30px;
}
.Radhe{
    margin-top: 30px;
}
.note{
    font-size: 10px;
    font-weight: 100;
    margin-top: 120px;
}

/* Footer Styles */
.footer {
 
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 20px; 
}
.footer a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    display: block;
    margin: 5px 0;
    margin-top: 15px;
}
.footer a:hover {
    text-decoration: underline;
    transform: scale(1.1);
    transition: 0.5s;
}
.footer .footer-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px 0;
}
.footer-section div {
    margin: 10px;
}
.easy{
    margin-top: 50px;
    margin-left: 100px;
    text-align: left;
}

.copyright{
    font-weight: bolder;
}







/* Existing styles remain unchanged */

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.9); }
    to { transform: scale(1); }
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Apply animations */
.navbar a {
    transition: color 0.3s ease-in-out;
}

.navbar a:hover {
    color: #ffcc00;
}

.navbar a:active {
    animation: fadeInUp 0.3s ease-in-out;
}

.about-section, .about-text, .about-content, .about-image, .about-popup, .read-more-btn, .course-section, .course-text, .view-courses-btn, .Coursecontainer, .Coursegallery, .journey-section, .journey-buttons, .contact, .enroll, .resource-section, .resource-btn, .sixth-section, .eventss, .container, .gallery, .heading{
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.Coursecontainer:hover, .eventss:hover {
    animation: scaleUp 0.3s ease-in-out;
}

.button {
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.button:hover {
    background-color: #ff6600;
    transform: scale(1.05);
}

/* Smooth Scrolling Fix */
html {
    scroll-behavior: smooth;
}

.navbar a {
    cursor: pointer;
}

.navbar a[href^="#"] {
    scroll-behavior: smooth;
}






.nav-links a:hover { color: #42b93e; }





.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
.hero-section, .course-section, .contact-section {
    padding: 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-section {

    padding: 50px 20px;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}
.grid-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}






* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    overflow-x: hidden;
    width: 100%;
}

.container, .hero-section, .about-section, .course-section, .contact-section {
    width: 100%;
    max-width: 100vw;
}

.hero-section, .course-section, .contact-section {
    background-size: cover;
    background-position: center center;
}


img, video {
    max-width: 100%;
    height: auto;
    display: block;
}
    /* Ensure no parent div interferes */
body {
    position: relative;
}
/* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    display: none;
}

/* Ensure scrolling still works */
body {
    overflow-y: auto; /* Enables vertical scrolling */
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar for Firefox */
}
/* === MEDIA QUERIES FOR RESPONSIVE DESIGN === */

/* Medium devices (tablets, 768px to 1024px) */
@media (max-width: 1024px) {
    .about-section, .course-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-content,
    .course-text {
        margin-left: 0;
        max-width: 90%;
    }

    .about-image img {
        margin-left: 0;
    }

    .Coursecontainer {
        justify-content: center;
    }

    .gmg-box {
        width: 40px;
        height: 250px;
    }

    .gmg-box.active {
        width: 250px;
    }

    .gmg-box h3 {
        left: 20px;
    }
}

/* Small devices (mobiles, 767px and below) */
@media (max-width: 767px) {
    .hero-section {
        height: auto;
        padding: 100px 20px 60px;
        flex-direction: column;
    }

    .hidden-text {
        font-size: 32px;
    }

    .navbar {
        flex-direction: row;
        padding: 10px;
    }

    .navbar .logo img {
        margin-left: 5px;
    }

    .logo img {
        margin-left: 0;
    }

    .fixed-donate-btn {
        padding: 8px 16px;
        font-size: 14px;
        top: 80px;
    }
    /* H1 Text (Initially Hidden) */
.hidden-text {
    margin-top: 200px;
    font-size: 30px;
    line-height: 2.2; /* Keep line-height reduced for small screens */
}

/* Feather Animation */
.feather {
    top: -100px;  /* Start above the screen */
    right: -100px; /* Start from right */
    width: 40px;
}
/* Keyframes for Smooth Feather Drop */
@keyframes fallFeather {
    0% {
        transform: translate(100px, -100px) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
        transform: translate(-20px, 50px) rotate(20deg);
    }
    100% {
        transform: translate(-255px, 245px) rotate(30deg);
        opacity: 1;
    }
}

    .aboucontainer {
        width: 90%;
        margin-top: 0;
    }

    .about-section,
    .course-section {
        flex-direction: column;
        padding: 20px;
    }

    .about-content,
    .course-text {
        margin-left: 0;
        max-width: 100%;
        margin-top: 0;
    }
    .about-content h1{
        margin-top: 10px;
    }

    .about-image img {
        margin: 20px auto;
        width: 200px;
        height: 200px;
        margin-top: 210px;
        margin-bottom: 20px;
    }

    .Coursecontainer {
        margin-top: 50px;
        flex-direction: column;
        align-items: center;
    }

    .gmg-box {
        width: 30px;
        height: 200px;
    }

    .gmg-box.active {
        width: 200px;
    }

    .view-courses-btn{
        margin-left: 0;
        margin-bottom: 20px;
    }
    .read-more-btn {
        margin-left: 0;
    }

    .course-text h1 {
        margin-left: 0;
        font-size: 30px;
    }

    .course-text p {
        margin-left: 0;
        font-size: 14px;
    }

    .gmg-box h3 {
        font-size: 14px;
        left: 10px;
    }
    .journey-section {
        padding: 30px 15px;
    }

    .journey-section h1 {
        margin-top: 150px;
        font-size: 24px;
    }

    .journey-buttons a {
        padding: 8px 16px;
        font-size: 14px;
        margin: 8px;
        margin-bottom: 150px;
    }
    .resource-section {
        flex-direction: column;
        padding: 30px 15px;
        align-items: center;
        text-align: center;
    }

    .resource-container {
        width: 100%;
        max-height: 300px;
        padding: 10px 0;
    }

    .resource-content {
        margin-top: 0px;
        max-width: 100%;
        text-align: center;
    }

    .resource-content h1 {
        font-size: 26px;
    }

    .resource-description {
        font-size: 16px;
    }

    .view-more-btn,
    .know-more-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .resource-card {
        padding: 15px;
    }

    .resource-card h2 {
        font-size: 18px;
    }

    .resource-text {
        font-size: 14px;
    }
    .youtube-videos {
        font-size: 22px;
        padding: 10px;
        margin-top: 100px;
        margin-bottom: 140px;
    }

    .marquee-container {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        margin-top: 20px;
    }

    .marquee-content {
        animation: none; /* Disable automatic scrolling on mobile */
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        padding-left: 10px;
        padding-right: 10px;
        width: max-content;
    }

    .youtube-card {
        min-width: 230px;
        flex-shrink: 0;
        padding: 12px;
        font-size: 14px;
        background: #4e4e4eba;
    }

    .youtube-card img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .youtube-card h2 {
        font-size: 16px;
    }

    .youtube-card p {
        font-size: 12px;
    }

    .Coursegallery {
        gap: 0px; /* Adjust gap between images */
      }
    
      .container {
        min-width: 80%; /* Adjust the container width for mobile */
        height: 500px; /* Set a fixed height */
        transform: translateX(0); /* Remove sliding animation */
        scroll-snap-align: start; /* Ensure the scroll aligns with each image */
        padding: 0; /* Remove any padding */
        margin: 0; /* Remove any margin */
      }
    
      .container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
      }
    
      .container h1 {
        position: absolute;
        bottom: 20px;
        left: 20px;
        font-size: 20px; /* Adjust the font size for mobile */
        color: white;
        font-weight: bold;
        margin-bottom: 10px; /* Reduce margin below the title */
        z-index: 2;
      }
      .sixth-section h1 {
        margin-top: 50px;
        font-size: 35px;
        font-family: "Roboto Slab", serif;
      }
      
      .sixth-section p {
        font-size: 15px;
        margin-top: 20px;
      }
      .Coursegallery {
        gap: 0px; /* Adjust gap between images */
      }
}
@media (max-width: 768px) {
    
    .chatbot-wrapper {
        flex-direction: column;
        width: 90%;
    }

    .chatbot-container {
        width: 100%;
        max-width: none;
    }

    .chatbot-info {
        text-align: center;
    }
    .note{
        font-size: 10px;
        font-weight: 100;
        margin-top: 50px;
    }
    .footer {
        display: none; /* Hide the footer on mobile screens */
    }
    
}

