body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: rgb(121, 238, 168);
    color: black;
}

a {
    color: #50575f; /* Choose your preferred color */
    text-decoration: none; /* Removes underline */
    font-weight: bold; /* Optional: make it stand out */
}

a:hover {
    color: #3d3f42; /* Optional: color on hover */
    text-decoration: underline; /* Optional: underline on hover */
}





/* Reset basic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  header {
    background-color: #000; /* Black top bar */
    color: #fff;
    width: 100%;
    border-radius: 4px;
    z-index: 999;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    flex-wrap: wrap;
  }
  .logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    gap: 10px; /* adds spacing between image and text */
}

.logo img {
    height: 40px; /* or adjust as needed */
    width: auto;
    border-radius: 900000px;
    vertical-align: middle;
}
  
  .hamburgernew {
    display: none;
    font-size: 26px;
    cursor: pointer;
    margin-right: 10px;
  }
  
  /* Menu Style */
  .menunew {
    display: flex;
    list-style: none;
    height: 60px;
    background: transparent;
    gap : 22px;
    margin-top: 0px;
  }
  
  .menunew li {
    position: relative;
  }
  
  .menunew > li > a {
    color: white;
    background: transparent;
    text-decoration: none;
    padding: 12px 15px;
    display: inline-block;
    transition: background 0.3s;
  }
  
  .menunew > li > a:hover {
    background-color: #4a4a48;
    border-radius: 5px;
  }
  
  /* Dropdown menu */
  .dropdownainew .dropdown-menuainew {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background-color: #050506;
    padding: 12px 0;
    width: 260px;
    box-shadow: 0 8px 16px rgba(10, 10, 10, 0.3);
    border-radius: 6px;
    z-index: 1000;
  }
  
  .dropdownainew:hover .dropdown-menuainew {
    display: block;
  }
  
  .dropdown-menuainew li a {
    color: #fff;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    transition: background 0.3s;
  }
  
  .dropdown-menuainew li a:hover {
    background-color: #5c675e;
  }
  
  /* Search box */
  .search-boxnew {
    display: flex;
    align-items: center;
    background: #b6ebf0;
    padding: 6px 10px;
    border-radius: 30px;
    margin-left: auto;
  }
  
  .search-boxnew input {
    background: transparent;
    border: none;
    outline: none;
    color: rgb(16, 14, 14);
    padding: 5px 10px;
    width: 200px;
  }
  
  .search-boxnew button {
    background: transparent;
    border: none;
    color: rgb(234, 15, 136);
    cursor: pointer;
    font-size: 18px;
  }
  
  /* Use microphone icon */
  .search-boxnew button i {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
  }
  
  /* Mobile view */
  @media (max-width: 768px) {
    nav {
      flex-wrap: wrap;
      width: 100%;
      border-radius: 5px;
      justify-content: space-between;
    }
  
    .hamburgernew {
      display: block;
margin-left: 5px;    }
  
    .logo {
      order: 1;
      margin-left: 15px;
    }
  
    .hamburgernew {
      order: 0;
    }
  
    .search-boxnew {
      order: 2;
      margin-top: 10px;
      width: 100%;
      justify-content: space-between;
      padding: 8px 15px;
    }
  
    .menunew {
      display: none;
      width: 100%;
      height: auto;
      border-radius: 4px;
      flex-direction: column;
      background-color: #60cbc0;
      margin-top: 10px;

      padding: 5px 0;
    }
  
    .menunew li {
      text-align: left;
      background: transparent;
      margin-left: 5px;
      border-radius: 5px;
      margin: 5px 0;
    }
  
    .menunew.active {
      display: flex;
    }
    .dropdownainew {
        margin-left: 5px;
    }
  
    .dropdownainew .dropdown-menuainew {
      position: static;
      width: 100%;
      box-shadow: none;
      box-shadow: wheat;
      background-color: transparent;
    }
  
    .dropdown-menuainew li a {
      padding-left: 35px;
      margin-left: 5px;
      border-radius: 8px;
      background-color: rgb(71, 92, 88);
      text-align: left;
    }
  }
  






.scroll-link {
    display: block;
    text-decoration: underline;
    text-decoration-color: rgb(103, 228, 220);
    color: white;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
  }
  
  .scroll-link:hover {
    background: rgba(0, 0, 255, 0.1); /* light blue hover */
    text-decoration-color: rgb(0, 0, 0);
  }
  
  .scroll-link h3,
  .scroll-link p {
    color: white;
    margin: 5px 0;
  }
  
  .scroll-link img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
  


/* Top Bar */
/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


#navbar {
    display: flex;
    align-items: center;
    background-color: #333;
    z-index: 1000; /* Ensures navbar stays on top */

    color: white;
    padding: 10px 20px;
}






.hamburger {
    cursor: pointer;
    font-size: 24px;
    margin-right: 15px; 
    color: #fff; /* Ensure it's visible */
}

/* Hide dropdown initially */
.dropdown-me {
    display: none; /* Hide by default */
    position: absolute;
    top: 40px; /* Adjusted so it appears below the hamburger */
    left: 0; /* Align to the left of the screen */
    width: 250px;
    background-color: #222;
    color: #fff;
    padding: 10px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Ensure dropdown appears as a vertical list */
.dropdown-me ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-me ul li {
    padding: 10px 20px;
    text-align: left; /* Align text properly */
    border-bottom: 1px solid #444; /* Optional: Adds separation between items */
}

/* Ensure links are full-width for easy clicking */
.dropdown-me ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    width: 100%;
}

.dropdown-me ul li a:hover {
    background-color: #444;
}

/* Show dropdown when active */
.show-dropdown {
    display: block !important; /* Make sure it appears */
}









#voice-search {
    background-color: #0073e6;  /* Bright blue background */
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    margin-left: 8px;           /* Space between search input and button */
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#voice-search:hover {
    background-color: #005bb5;  /* Darker blue on hover */
}


/* Top Bar Styling */
.topbar {
    background: linear-gradient(to right, #3a4b63, #d2eee9); /* Dark blue */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between; /* Align left and right sections */
    align-items: center;
    width: 100%;
    color: white;
}

/* Left Side: Quick Links */
.topbar-links a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.topbar-links a:hover {
    color: #ffcc00; /* Highlight color */
}

/* Right Side: Social Icons + Login/Signup */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: end;
    align-items: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

/* Social Icon Background Colors */
.social-icons a.youtube { background-color: transparent; }
.social-icons a.facebook { background-color: transparent; }
.social-icons a.instagram { background-color: transparent; }
.social-icons a.twitter { background-color: transparent; }

/* Hover Effects */
.social-icons a:hover {
    opacity: 0.8;
}




.auth-buttons {
    display: inline-block;
}

.auth-buttons a {
    margin-left: 5px;
    gap: 2px;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
}

.auth-buttons .login {
    background-color: rgb(91, 244, 172);
    border: 1px solid rgb(139, 221, 234);
    color: black;
}

.auth-buttons .signup {
    background-color: #ffc107;
    color: black;
    border: none;
}


/* Login & Sign Up Buttons */
/* .auth-buttons a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.auth-buttons .login {
    
    border: 1px solid white;
}

.auth-buttons .signup {
    background-color: #ffcc00;
    color: black;
}

.auth-buttons .login:hover {
    background-color: white;
    color: black;
}

.auth-buttons .signup:hover {
    background-color: #ff9900;
} */

/* Mobile Responsive */
@media (max-width: 768px) {
    .topbar {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }


    .topbar-links {
        width: 50%;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .topbar-right {
        width: 50%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
    }

    .topbar-links a,
    .topbar-right a {
        margin: 5px;
        font-size: 14px;
    }

    .auth-buttons {
        margin-left: 10px;
    }

    .topbar-links a {
        padding: 5px 0;
    }


/*     
    .topbar a {
        align-items: start;
        text-align: start;
    } */

    .social-icons {
        text-align: right;
        gap: 1px;
        align-items: end;
    }

    .social-icons a {
        gap: 1px;
        align-items: end;
        text-align: right;
    }

    .topbar-links {
        margin-bottom: 10px;
    }

    /* .topbar-right {
        flex-direction: column;
    } */
}








/* Navbar Styling */
#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(to right, #aeedd1, #d1f0e4);
    color: white;
}

/* Logo */
.logo {
    font-size: 24px;
    font-weight: bold;
}

/* Search Box */

 .search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 5px;
    padding: 14px;
    margin-left: auto; } 


















/* Main Navigation Bar */
nav {
    position: relative;
    background: linear-gradient(to right, #3a4b63, #2d7a74);;
    padding: 10px 0;
    z-index: 1000; /* Ensures navbar stays on top */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    position: relative; /* Needed for absolute positioning of dropdown */
}

nav ul li a {
    text-decoration: none;
    color: white;
    padding: 15px 20px;
    display: block;
    background: rgb(13, 137, 190);
}

/* Dropdown Menu */
nav .dropdown-menuai {
    position: absolute;
    top: 100%; /* Places dropdown directly below parent */
    left: 0;
    background: rgb(17, 167, 17);
    display: none; /* Initially hidden */
    min-width: 200px;
    z-index: 9999; /* Ensures dropdown appears above everything */
    box-shadow: 0px 4px 6px rgba(141, 127, 127, 0.3);
}

nav .dropdown-menuai li {
    width: 100%;
}

nav .dropdown-menuai li a {
    padding: 10px 15px;
    color: white;
    display: block;
    white-space: nowrap; /* Prevents text from breaking */
}

/* Show dropdown on hover */
nav ul li:hover > .dropdown-menuai {
    display: block;
}

/* Sub-dropdown inside dropdown */
nav .dropdown-menuai .sub-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    background: rgb(19, 46, 199);
    display: none;
    min-width: 200px;
}

nav .dropdown-menuai li:hover .sub-dropdown {
    display: block;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav .dropdown-menuai {
        position: static;
        width: 100%;
    }
}


 nav ul {
    background-color: rgb(9, 4, 4);
    color: white;
    list-style: none;
    padding: 9px;
    font-weight: lighter;
    text-align: left;
} 
nav ul li {
    display: inline-block;
    margin: 0 15px;
}
nav ul li a {
    background-color: rgb(5, 3, 3);
    color:white;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
}

.dropdown-menuai {
    display: none; 
    position: absolute;
    top: 50px;
    right: 0;
    bottom: 10;
    width: 270px;
    gap: 15px;
    background-color: #ccc5c5;
    color: #910909;
    padding: 10px 0;
    box-shadow:rgb(185, 180, 180);
    z-index: 1000;
}

.dropdown-menuai li a {
color: white;
background-color: rgb(10, 10, 10);
gap: 35px;
}
.dropdownai:hover .dropdown-menuai {
    display: block;
    gap: 15px;
    background-color: rgb(10, 9, 9);
}














/* Main Sections */
.main-content {
    width: 100%;
    background-color: transparent;
}



/* Section Styling */
.sectionexam {
    background: transparent; 
    padding: 20px;
    min-height: auto;
    margin-top: 30px;
    margin-bottom: 50px;
    border-radius: 10px;
    position: relative;
}
 .sectionexam .section-header h2 {

    color: black;
    font-weight: bolder;
 }
/* Marquee */
.sectionexam marquee {
    margin-top: 5px;
    height: 35px;
    width: 100%;
}

/* Header with Links */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Top Links (Trending, Questions, etc.) */
.top-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.top-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    background: #ff5733;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.top-links a:hover {
    background: #c70039;
}




/* Content Box */
.content-boxexam,
.content-boxexamanother {
    display: flex;
    /* background-color: #7bc5cb; */
    gap: 13px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    background-color: linear-gradient(to right, #9fa3a4, #6dd5ed);
    margin-top: 30px;
    margin-bottom: 30px;
}



.news-boxexam h3,
.news-boxexamanother h3 {
    color: rgb(33, 33, 33);
    font-weight: bolder;
    margin-bottom: 8px;
}





/* News Box */
.news-boxexam,
.news-boxexamanother {
    background: linear-gradient(to right, #e5e6e7, #b7bebe);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    
    margin-left: 2px;
    margin-right: 2px;
    /* flex: 1; */
    width: 30.3333333333333333333333%;
    max-width: 500px;
    min-width: 300px;
}

/* News Image */
.news-boxexam img,
.news-boxexamanother img {
    max-width: 100%;
    height: 300px;
    border-radius: 5px;
}

/* Heading and Text */
.news-boxexam h3,
.news-boxexamanother h3 {
    font-size: x-large;
    font-size: 24px;
    width: 98%;
}

.news-boxexam p,
.news-boxexamanother p {
    color: rgb(11, 11, 13);
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    margin-top: 10px;
    height: auto;
}

/* Read More Button */
.read-more {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 12px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.read-more:hover {
    background: #07fb7d;
}

/* 📱 Mobile-Friendly Styles */
@media (max-width: 768px) {
    .main-content {
        width: 100%;
        padding: 10px;
    }

    .sectionexam {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
    }

    .section-header h2 {
        font-size: 18px;
        text-align: center;
    }

    .top-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .top-links a {
        font-size: 14px;
        padding: 6px 10px;
    }

    /* Make content boxes stack in mobile view */
    .content-boxexam,
    .content-boxexamanother {
        flex-direction: column;
        align-items: center;
        margin-right: 30px;
        width: 100%;
        gap: 15px;
    }

    .news-boxexam,
    .news-boxexamanother {
        width: 100%;
        padding: 10px;
        max-width: 500px;
        text-align: center;
    }

    .news-boxexam img,
    .news-boxexamanother img {
        width: 90%;
        height: 500px;
        max-height: 200px;
        object-fit: cover;
        border-radius: 5px;
    }

    .news-boxexam h3,
    .news-boxexamanother h3 {
        font-size: 16px;
        margin-top: 10px;
    }

    .news-boxexam p,
    .news-boxexamanother p {
        font-size: 14px;
        line-height: 1.5;
    }

    .read-more {
        font-size: 14px;
        padding: 6px 12px;
        display: inline-block;
        width: 100px;
        margin-top: 2px;
    }
}


.subject-header h2{
    color: black;
}

/* News Box */
.news-box-subject-end {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    align-items: center;
    background: linear-gradient(to right, #c9cccd, #9cc8a6);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 900px;
    height: 515px;
    margin-left: auto;
    margin-right: auto;
  }
  

  /* Image */
  .news-box-subject-end img {
    width: 100%;
    max-width: 600px;
    height: 350px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }
  
  /* News Content */
  .news-box-subject-end .news-content-subject-end h3 {
    font-size: 24px;
    font-weight: bold;
    color: #0e0c0c;
  }
  
  .news-box-subject-end .news-content-subject-end p {
    font-size: 17px;
    font-weight: bold;
    color: #000;
    margin-bottom: 0px;
    margin: 10px 0 20px;
    padding: 0 10px;
  }
  
  /* Read More Button */
  .news-box-subject-end .read-more {
    display: inline-block;
    padding: 9px 18px;
    background-color: #49474a;
    color: white;
    text-decoration: none;
    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 5px;
    font-weight: 500;
  }
  
  /* Mobile Layout */
  @media (max-width: 767px) {
    .main-container {
      padding: 10px;
    }
  
    .combined-section {
      flex-direction: column;
    }
  
    .column {
      width: 100%;
    }
  
    .left-col {
      order: 1;
    }
  
    .right-col {
      order: 2;
      margin-top: 50px;
    }
  
    .news-box-subject-end {
      padding: 10px;
      width: 100%;
      height: 490px;
    }

    .news-box-subject-end img {
        width: 100%;
        height: 105%;
        min-height: 105%;
        border-radius: 3px;
        object-fit: cover;
        margin-bottom: 16px;
        margin-left: 3px;
        margin-right: 6px;
      }

      

    .news-box-subject-end .news-content-subject-end h3 {

        width: 100%;
        margin-top: 50px;
        font-size: 24px;
        font-weight: bolder;
    }
    .news-box-subject-end .news-content-subject-end p {
        width: 100%;
        margin-top: 20px;
        font-size: 18px;
    }
  
    .news-box-subject-end .read-more-end {
      padding: 8px 16px;
      font-size: 14px;
    }
  }
  












/* Main Container */
.main-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent;

    max-width: 100%;
    padding: 20px;
}

/* Combined Section */
.combined-section {
    display: flex;
    background: transparent;
    flex-direction: column;
    gap: 20px;
}

/* Left & Right Columns */
.column {
    width: 100%;
    background-color: transparent;

}


.subject-header h2 {

    margin-top: 10px;
    margin-left: 5px;
}

.subject-headerai h2 {

    margin-top: 13px;
    color: rgb(29, 28, 28);
    font-weight: bolder;
    margin-left: 22px;
}


/* Top Links */
.top-links {
    display: flex;
    gap: 1px;
    flex-wrap: wrap;
    justify-content: right;
}

.top-links a {
    color: rgb(21, 19, 19);
    text-decoration: none;
    font-weight: bold;
    background: #ff5733;
    padding: 5px 10px;
    margin-left: 25px;
    margin-top: 15px;
    border-radius: 5px;
    transition: 0.3s;
}

.top-links a:hover {
    background: #434851;
}

/* News Box */
.news-box-subject {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    align-items: center;
    background: linear-gradient(to right, #c9cccd, #9cc8a6);
    padding: 10px;
    height: 380px;
    margin-right: 10px;
    margin-left: 5px;
    width: 900px;
    border-radius: 8px;
    border-radius: 8px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Image */
.news-box-subject img {
    width: 600px;
    height: 390px;
    min-width: 500px;

    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* News Content */
.news-content-subject h3 {
    font-size: 24px;
    margin-bottom: 30px;
    height: 30px;
    margin-left: 15px;

    width: 200px;
    margin-top: 5px;
    font-weight: bold;
    color: rgb(14, 12, 12);
}

.news-content-subject p {
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
    margin-left: 15px;
    width: 200px;
    color: black;
}

/* Read More Button */
.read-more {
    display: inline-block;
    margin-top: 0px;
    text-decoration: none;
    height: 35px;
    margin-left: 15px;

    margin-bottom: 6px;
    padding: 8px 12px;
    background-color: rgb(73, 71, 74);
    color: white;
    border-radius: 5px;
}



/* Top Links */
.top-linksai {
    display: flex;
    gap: 1px;
    margin-right: 15px;
    flex-wrap: wrap;
    justify-content: right;
}

.top-linksai a {
    color: rgb(21, 19, 19);
    text-decoration: none;
    font-weight: bold;
    background: #ff5733;
    padding: 5px 10px;
    margin-left: 25px;
    margin-top: 15px;
    border-radius: 5px;
    transition: 0.3s;
}

.top-linksai a:hover {
    background: #434851;
}

/* Writing Assistant */
.writing-assistant {
    width: 95%;
    min-height: 300px;
    height: 378px;
    font-weight: bold;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 16px;
    background: rgb(108, 161, 159);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Textarea */
.writing-assistant textarea {
    width: 90%;
    height: 200px;
    font-weight: bold;
    margin-left: 5px;
    margin-top: 20px;
    padding: 10px;
    margin-bottom: 20px;
    color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
}




.image-generator {
    width: 95%;
    min-height: 300px;
    height: 378px;
    font-weight: bold;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 16px;
    background: rgb(108, 161, 159);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}


.image-generator input[type="text"] {
    padding: 10px; /* Adjust padding as needed */
    text-align: top; /* Align text to the left */
    margin-left: 5px;
    box-sizing: border-box; /* Ensure padding does not affect width */
    height: 190px; /* Set a height for the input */
    width: 93%; /* Make the input take full width */
    margin-top: 20px; /* Remove any top margin */
}



.image-generator input {
    height: 150px;
    margin-top: 30px;
    font-weight: bold;
    border-radius: 6px;
    text-align: top;
    width: 63%;
}



.image-generator button {
    height: 40px;
width: 25%;
border-radius: 4px;
    margin-top: 9px;
}

.image-generator textarea {
    width: 90%;
    height: 150px;
    font-weight: bold;
    margin-left: 5px;
    margin-top: 20px;
    padding: 10px;
    color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
}



/* Submit Button */
.writing-assistant .submit-btn {
    width: 90%;
    padding: 10px;
    margin-top: 20px;
    font-weight: bold;
    border-radius: 2px;
    background: rgb(148, 22, 155);
    color: rgb(17, 15, 15);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Chatbot Container */
.chatbot-container {
    text-align: center;
    background-color: rgb(106, 174, 241);
    height: 385px;
    margin-top: 15px;
    padding: 10px;
    border-radius: 12px;
    margin-left: 20px;
    margin-right: 16px;
}

.chatbot-container input {
    width: 88%;
    padding: 10px;
    height: 100px;
    margin-top: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.chatbot-container h1 {
    color: #232121;
    font-weight: bolder;
}

.chatbot-container button {
    width: 80%;
    padding: 10px;
    margin-top: 30px;
    height: 90px;
    margin-top: 30px;
    font-weight: bold;
    background: #ff5733;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.image-generator textarea {
    margin-bottom: 30px;
}
.image-generator button {
    width: 90%;
}


.recommendation-container textarea {
    margin-bottom: 30px;
    width: 90%;
}

.recommendation-container button {
    width: 90%;
}

.chatbot-container textarea {
    width: 90%;
    height: 170px;
    font-weight: bold;
    margin-left: 5px;
    margin-top: 20px;
    padding: 10px;
    color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
}


/* Mobile Layout */
@media (max-width: 767px) {
    /* Main Container */
    .main-container {
        padding: 10px;
        margin-top: 0px; /* Adjust padding for smaller screens */
    }

    /* Combined Section: Stack columns */
    .combined-section {
        margin-top: 50px;
        flex-direction: column; /* Stack content on mobile */
    }

    /* Left and Right Columns */
    .column {
        margin-top: 50px;
        width: 100%; /* Ensure full-width on mobile */
    }

    /* Reorder for mobile */
    .left-col {
        order: 1; /* Subject-wise GK comes first */
    }

    .right-col {
        order: 2; /* DANGOL AI comes second (below Subject-wise GK) */
        margin-top: 150px;
    }

    /* News Box: Stack vertically on mobile */
    .news-box-subject {
        margin-top: 15px;
        height: auto;
        flex-direction: column; /* Stack vertically */
        text-align: center; /* Center the content */
    }

    .news-box-subject .read-more {
        margin-top: 2px;
    }

    /* Images in News Box: Ensure responsiveness */
    .news-box-subject img {
        max-width: 100%; /* Make images full-width */
        height: auto; /* Maintain aspect ratio */
        margin-right: 0; /* Remove any margin */
        margin-top: 2px;
    }

    /* Reduce the height of DANGOL AI section */
    .writing-assistant {
        width: 100%; /* Decrease height for better mobile view */
    }

    
.writing-assistant textarea {
    width: 90%;
    height: 140%;
    font-weight: bold;
    margin-left: 5px;
    margin-top: 20px;
    padding: 10px;
    margin-bottom: 20px;
    color: black;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: none;
}

    .subject-headerai {
        margin-top: 1px;
    }

    .chatbot-container {
        width: 100%; /* Full width for chatbot container */
        min-height: 120px; /* Adjust height of the chatbot container */
    }

    /* Adjust text sizes */
    .news-content-subject h3 {
        font-size: 18px; /* Smaller font size for mobile */
    }

    .news-content-subject p {
        font-size: 14px; /* Smaller font size */
    }

    .writing-assistant textarea {
        height: 120px; /* Adjust height for mobile */
    }

    /* Make inputs and buttons full-width */
    .chatbot-container input,
    .chatbot-container button {
        width: 80%; 
        height: 80px;/* Full width for inputs and buttons */
    }

    .image-generator {
        width: 100%;
    }
    .image-generator textarea {
        margin-bottom: 40px;
    }

.image-generator button {
    width: 80%;

}

.recommendation-container {
    width: 100%;
}  

.recommendation-container textarea {
    margin-bottom: 30px;
    height: 600px;
}

    /* Read More Button */
    .read-more {
        display: block;
        margin-left: 0;
        width: 80%; /* Ensure button takes almost full width */
        text-align: center;
        padding: 10px 0;
        margin: 10px auto; /* Center the button */
    }

    /* Links Section */
    .top-links a {
        display: block; /* Make links block-level on mobile */
        margin: 10px 0; /* Add margin for spacing */
        text-align: center; /* Center links */
    }
    .read-more:hover {
        background-color: #007bff;
    }
}

/* Desktop Layout (default) */
@media (min-width: 768px) {

    .main-container {
        margin-top: 10px;
        margin-left: 10px;
        background-color: transparent;
    }

    .combined-section {
        flex-direction: row;
        background-color: transparent;
    }

    .column {
        width: 65%; /* Each column takes 50% width */
    }

    .news-box-subject {
        flex-direction: row; /* Align content horizontally */
        text-align: left; /* Left-align text */
    }

    .news-box-subject img {
        width: 50%;
        height: 270px;
        margin-right: 15px; /* Space between image and text */
    }

    /* Adjust the top-links for desktop */
    .top-links a {
        display: inline-block;
        margin-right: 20px; /* Horizontal spacing */
        text-align: left;
    }
    .read-more:hover {
        background-color: #007bff;
    }
}


  
  /* Recommendation Container */




/*   
  .recommendation-container button {
    width: 100%;
    height: 60px;
    padding: 10px;
    margin-top: 20px;
    font-weight: bold;
    background: #ff5733;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .recommendation-container button:hover {
    background: #e64a2e;
  }
  
  /* Recommendation Output */
  /* .recommendation-output {
    margin-top: 20px;
    text-align: left;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
  }
  
  .recommendation-output p {
    margin: 10px 0;
    padding: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    font-size: 14px;
  } */ 




  /* .image-generator {
    width: 95%;
    min-height: 300px;
    height: 378px;
    font-weight: bold;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 16px;
    background: rgb(108, 161, 159);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .image-generator h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 17px;
  } */*/



/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  /* Recommendation Container */
  .recommendation-container {
    text-align: center;
    background-color: rgb(106, 174, 241);
    height: 385px;
    margin-top: 15px;
    padding: 10px;
    border-radius: 12px;
    margin-left: 20px;
    margin-right: 16px;
  }
  
  .recommendation-container h1 {
    
    font-size: 24px;
    color: #fff;
    margin-top: 5px;

    margin-bottom: 20px;
  }
  
  .recommendation-container input {
    width: 93%;
    height: 200px;
    padding: 10px;
    margin-top: 0px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
  }


  .recommendation-container textarea {
    width: 90%;
    height: 150px;
    font-weight: bold;
    margin-left: 5px;
    margin-top: 20px;
    padding: 10px;
    color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
}
  
  .recommendation-container button {
    width: 60%;
    padding: 12px;
    margin-top: 20px;
    font-weight: bold;
    background: #ff5733;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box;
  }
  
  .recommendation-container button:hover {
    background: #e64a2e;
  }
  
  /* Recommendation Output */
  .recommendation-output {
    margin-top: 20px;
    text-align: left;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
    display: none; /* Hidden by default */
    position: absolute; /* Position dropdown */
    width: 100%;
    z-index: 10; /* Ensure it appears above other elements */
  }
  
  .recommendation-output p {
    margin: 10px 0;
    padding: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    font-size: 14px;
  }
  
  /* Close Button */
  #close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
  }
  
  #close-btn:hover {
    color: #ff5733;
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 480px) {
    .recommendation-container {
      padding: 15px;
    }
  
    .recommendation-container h1 {
      font-size: 20px;
    }
  
    .recommendation-container input,
    .recommendation-container button {
      font-size: 14px;
      padding: 10px;
    }
  
    .recommendation-output p {
      font-size: 12px;
      padding: 8px;
    }
  }



/* Scroll Section */
.scroll-section {
    width: 100%;
    padding: 20px;
    margin: 20px auto;
    margin-left: 7px;
    margin-right: 7px;
    border-radius: 10px;
    background: white;
    overflow: hidden;
}

.scroll-heading {
    text-align: center;
    font-size: 24px;
    color: black;
    margin-bottom: 15px;
}

/* Scrollable Container */
.scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 10px;
    display: flex;
    scrollbar-width: none; /* Hide scrollbar */
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Webkit browsers */
}

/* Scroll Content */
.scroll-content {
    display: flex;
    gap: 15px;
    height: 480px;
    width: 100%;
    margin-left: 3px;
    margin-right: 3px;
    padding: 10px;
}

/* Scrollable Items (Desktop) */
.scroll-item {
    flex: 0 0 420px; /* Fixed width for desktops */
    background: rgb(191, 193, 191);
    border-radius: 8px;
    height: 425px;
    width: 550px;
    box-shadow: 0 4px 8px rgba(7, 7, 7, 0.1);
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}
.scroll-item h3 {
    color: rgb(30, 30, 30);
    font-size: large;
    font-weight: bold;
}
/* Button Area Positioned Above */
.scroll-buttons-top {
    text-align: center;
    margin-bottom: 10px;
  }
  
  .scroll-btn {
    background: #222;
    color: white;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 20px;
    margin: 0 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
  }
  
  .scroll-btn:hover {
    background: #555;
  }
  


.scroll-item:hover {
    transform: scale(1.05);
}

.scroll-item img {
    width: 100%;
    height: 300px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 2px;
    margin-right: 2px;
    border-radius: 8px;
    object-fit: cover;
}

/* Text Styling */
.scroll-item h3 {
    font-size: 18px;
    margin: 10px 0;
}

.scroll-item p {
    color: rgb(11, 11, 13);
    font-weight: bold;
    height: auto;
    
}

/* Mobile-Friendly - Different Width for Mobile */
@media screen and (max-width: 768px) {
    .scroll-container {
        padding: 10px;
        height: 410px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
    }
    
    .scroll-content {
        gap: 15px;
        height: 400px;
    }

    .scroll-item {
        flex: 0 0 280px; /* Optimized width for mobile */
        height: auto;
        height: 330px;
        padding: 8px;
    }

    .scroll-item img {
        height: 180px; /* Smaller images for mobile */
    }

    .scroll-item h3 {
        font-size: 16px;
    }
/* 
    .scroll-buttons {
        position: relative;
        z-index: 2;
    }
    
    .scroll-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #222;
        color: white;
        border: none;
        padding: 10px 14px;
        cursor: pointer;
        font-size: 24px;
        border-radius: 50%;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        transition: background 0.3s;
    }
    
    .scroll-btn.left {
        left: 10px;
    }
    
    .scroll-btn.right {
        right: 10px;
    }
    
    .scroll-btn:hover {
        background: #555;
    }
    
    @media (max-width: 768px) {
        .scroll-btn {
            display: none;
        }
    } */
    

    .scroll-item p {
        font-size: 13px;
    }
}

 /* Overall marquee section styling */
.marquee-section {
    background: #423737;
    padding: 10px 0;
    margin-top: 130px;
    font-family: Arial, sans-serif;
  }
  
  /* Container for GK label and marquee content */
  .gk-marquee {
    display: flex;
    align-items: center;
    max-width: 1450px;
    margin-right: 2px;
    margin-left: 32px;
    border: 1px solid #ccc;
    border-left: 4px solid #333;
    border-right: 4px solid #333;
    padding: 5px 10px;
    background: #fff;
  }
  
  /* GK static label styling */
  .gk-label {
    margin-right: 15px;
  }
  
  .gk-label h2 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #0c0101;
  }
  
  /* Marquee container */
  .marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
  }
  
  /* Scrolling text styling and animation */
  .marquee-content {
    display: inline-block;
    font-weight: bold;
    white-space: nowrap;
    animation: marquee 50s linear infinite;
    font-size: 18px;
    color: #080101;
  }
  
  .marquee-content {
    display: inline-block;
    animation: marquee-animation 10s linear infinite;
    font-size: 14px;
}


  /* Mobile-Friendly Marquee Section */
@media (max-width: 768px) {
    .marquee-section {
        width: 100%;
        padding: 5px;
    }

    .gk-marquee {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        overflow: hidden;
    }

    .gk-label h2 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .marquee {
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
    }

    .marquee-content {
        display: inline-block;
        animation: marquee-animation 10s linear infinite;
        font-size: 14px;
    }

    @keyframes marquee-animation {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(-100%);
        }
    }
}

/* Media query for desktop layout */
@media (min-width: 768px) {
    .marquee-content {
      /* Additional styles for desktop can be added here */
      font-size: 20px; /* Increase font size for desktop */
    }
  
    .gk-label h2 {
      font-size: 28px; /* Increase label font size for desktop */
    }
  }  

/* Static marquee styling */
.marquee-container {
    overflow: hidden; /* Hide overflow */
    white-space: nowrap; /* Prevent text wrapping */
    width: 100%; /* Set the width of the container */
    background-color: #f0f0f0; /* Optional: background color */
  }
  
  .marquee-content {
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    color: #080101;
    padding: 10px; /* Optional: padding for spacing */
  }


/* main cointainer */

.avator {

    background-color: linear-gradient(to right, #b0b6b1, #f5fbf7);
    height: 1000px;
    width: 100%;
    margin-bottom: 30px;
    border-radius: 7px;
}

.wholeavator {
    background: linear-gradient(to right, #eef2f3, #bac2c4);
    padding: 20px;
    min-height: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    position: relative;
}

/* Hero */
.hero,
 .hero1 {
    display: flex; /* Create a flex container */
    justify-content: space-between; /* Space the items between */
    padding: 20px;
    height: 500px;
    width: 100%;
    background-color: linear-gradient(to right, #4fef57, #3ba755);
    margin: 0; /* Add some padding around the section */
}




.after {
    margin-top: 50px;
    margin-right: 20px;
    margin-left: 20px;
    }
    .after h1 {
        margin-top: 30px;
        margin-top: 13px;
    margin-left: 22px;
     }

.left .leftdown, .middle .middledown .right .rightdown {
    margin-top: 30px;
    margin-right: 20px;
    margin-bottom: 30px;
    width: 50%; /* Each section takes 45% of the width */
}

.left,
 .leftdown {
    padding-right: 10px; 
    margin-top: 20px;
    width: 32.5%;
    height: 450px;
    border-radius: 7px;
    color: black;
    margin-left: 10px;
    background-color: #219c21;
    padding-bottom: 200px;/* Add padding to the right side */
}

.left img,
 .leftdown img {
    max-width: 500px;
    width: 450px;
    height: 320px;
    margin-top: 8px;
    margin-bottom: 5px;
    margin-left: 4px;
    margin-right: 4px;
    border-radius: 5px;

}

  .left a h2,
  .leftdown a h2 {
   text-align: center;
   color: black;
   font-size: large;
   font-weight: bold;

  }

  .left p,
   .leftdown p {
text-align: center;
font-weight: bold;
color: black;
}

.read-moreeasy h1 {
    display: inline-block;
    margin-top: 8px;
    text-decoration: none;
    height: 33px;
    margin-bottom: 20px;
    text-align: center;
    margin-left: 33%;
    padding: 8px 12px;
    background-color: rgb(42, 41, 43);
    color: white;
    border-radius: 2px;
}

.middle img,
 .middledown img {
    max-width: 500px;
    width: 450px;
    height: 320px;
    margin-top: 8px;
    margin-bottom: 5px;
    margin-left: 4px;
    margin-right: 4px;
    border-radius: 5px;

}

.middle a h2,
  .middledown a h2 {
   text-align: center;
   color: black;
   font-size: large;
   font-weight: bold;

  }

.middle h2 p,
 .middledown h2 p {
    text-align: center;
    text-underline-offset: white;
    font-weight: bold;
    color: black;
    }
    

.right img,
 .rightdown img {
    max-width: 500px;
    width: 450px;
    height: 320px;
    margin-top: 8px;
    margin-bottom: 5px;
    margin-left: 4px;
    margin-right: 4px;
    border-radius: 5px;

}
.right a h2,
  .rightdown a h2 {
   text-align: center;
   color: black;
   font-size: large;
   font-weight: bold;

  }

.right p,
 .rightdown p {
    text-align: center;
    text-underline-offset: white;
    font-weight: bold;
    color: black;
    }
    

.middle,
 .middledown {

    padding-right: 20px;
    height: 450px;
    background-color: rgb(250, 247, 247);
    border-radius: 7px;
    margin-top: 20px;
    color: rgb(8, 8, 8);
    width: 32.5%;
    padding-bottom: 200px;

}



.right,
 .rightdown {
    padding-left: 10px;
    margin: 0;
    border-radius: 7px;
    width: 32.5%;
    height: 450px;
    color: black;
    margin-right: 10px;
    margin-top: 20px;
    background-color: rgb(233, 229, 229); /* Add padding to the left side */
}








     @media screen and (max-width: 768px) {

        /* main cointainer */

.avator {

    background-color: linear-gradient(to right, #d15614, #f5fbf7);
    height: 100%;
    width: 100%;
    padding: 10px;
    margin-bottom: 30px;
    border-radius: 7px;
}

.wholeavator,
.wholeavator {
    background: linear-gradient(to right, #14768f, #7f0783);
    padding: 20px;
    height: 70%;
    max-height: 95%;
    margin-top: 30px;
    margin-bottom: 5px;
    border-radius: 10px;
    position: relative;
}

/* Hero */
.hero,
 .hero1 {
    display: flex; /* Create a flex container */
    flex-direction: column;

    justify-content: space-between; /* Space the items between */
    padding: 2px;
    height: 90%;
    width: 100%;
    background-color: linear-gradient(to right, #4fef57, #1e1e9b);
    margin: 0; /* Add some padding around the section */
}




.after {
    margin-top: 50px;
    margin-right: 20px;
    margin-left: 20px;
    }
    .after h1 {
        margin-top: 30px;
        margin-top: 13px;
    margin-left: 22px;
     }

.left .leftdown, .middle .middledown .right .rightdown {
    margin-top: 30px;
    margin-right: 20px;
    margin-bottom: 20px;
    width: 30%; /* Each section takes 45% of the width */
}

.left,
 .leftdown {
    padding-right: 4px; 
    margin-top: 20px;
    width: 100%;
    height: 370px;
    border-radius: 7px;
    color: black;
    margin-left: 3px;
    background-color: #71bc71;
    padding-bottom: 200px;/* Add padding to the right side */
}

.left img,
 .leftdown img {
    max-width: 500px;
    width: 99%;
    height: 230px;
    margin-top: 8px;
    margin-bottom: 5px;
    margin-left: 6px;
    margin-right: 4px;
    border-radius: 5px;

}

  .left a h2,
  .leftdown a h2 {
   text-align: center;
   color: black;
   font-size: large;
   font-weight: bold;

  }

  .left p,
   .leftdown p {
text-align: center;
font-weight: bold;
color: black;
}

.read-moreeasy h1 {
    display: inline-block;
    margin-top: 8px;
    text-decoration: none;
    height: 33px;
    margin-bottom: 20px;
    text-align: center;
    margin-left: 33%;
    padding: 8px 12px;
    background-color: rgb(42, 41, 43);
    color: white;
    border-radius: 2px;
}

.middle img,
 .middledown img {
    max-width: 100%;
    width: 100%;
    height: 230px;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 4px;
    margin-right: 4px;
    border-radius: 5px;

}

.middle a h2,
  .middledown a h2 {
   text-align: center;
   color: black;
   font-size: large;
   font-weight: bold;

  }

.middle p,
 .middledown p {
    text-align: center;
    text-underline-offset: white;
    font-weight: bold;
    color: black;
    }
    

.right img,
 .rightdown img {
    width: 95%;
    height: 230px;
    margin-top: 8px;
    margin-bottom: 5px;
    margin-left: 4px;
    margin-right: 7px;
    border-radius: 5px;

}
.right a h2,
  .rightdown a h2 {
   text-align: center;
   color: black;
   font-size: large;
   font-weight: bold;

  }

.right p,
 .rightdown p {
    text-align: center;
    text-underline-offset: white;
    font-weight: bold;
    color: black;
    }
    

.middle,
 .middledown {

    padding-right: 20px;
    flex-direction: column;
    direction: flex;
    height: 370px;
    background-color: rgb(250, 247, 247);
    border-radius: 7px;
    margin-top: 20px;
    color: rgb(8, 8, 8);
    width: 100%;
    padding-bottom: 200px;

}



.right,
 .rightdown {
    padding-left: 10px;
    margin: 0;
    border-radius: 7px;
    width: 100%;
    height: 370px;
    color: black;
    margin-right: 10px;
    margin-top: 20px;
    background-color: rgb(233, 229, 229); /* Add padding to the left side */
    margin-bottom: 200px;
}

     }
     body {
        font-family: 'Arial', sans-serif;
        background-color: #f9f9f9;
        margin: 0;
        margin-top: 30px;
        padding: 0;
    }
    
    .faq-section {
        max-width: 1400px;
        margin: 40px auto;
        margin-top: 50px;
        margin-bottom: 10px;
        shape-margin: 2px;
        padding: 20px;
        background: white;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }
    
    .faq-section h2 {
        text-align: center;
        color: #333;
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .faq-container {
        margin-top: 10px;
    }
    
    .faq-item {
        border-bottom: 1px solid #ddd;
        padding: 10px 0;
    }
    
    .faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        font-size: 18px;
        cursor: pointer;
        background: #fff;
        border-radius: 5px;
        transition: background 0.3s ease;
    }
    
    .faq-question:hover {
        background: #f1f1f1;
    }
    

    .faq-question span {

        color: black;
    }

    .arrow {
        font-size: 20px;
        color: #0073e6;
        transition: transform 0.3s ease;
    }
    
    .faq-answer {
        display: none;
        padding: 15px;
        font-size: 16px;
        color: #0f0d0d;
        background: #c2c7c4;
        border-radius: 5px;
        margin-top: 5px;
        overflow: hidden;
    }
    
    /* When active, rotate arrow */
    .faq-item.active .arrow {
        transform: rotate(180deg);
    }
    
    /* Responsive Design */
    @media (max-width: 600px) {
        .faq-section {
            max-width: 90%;
            padding: 15px;
        }
    
        .faq-question {
            font-size: 16px;
        }

        .faq-question span {

            color: black;
        }
    
        .faq-answer {
            font-size: 14px;
        }
    }
    


.last {
    height: 1000px;
    width: 100%;
    background-color: white;
    margin-top: 40px;
    margin-bottom: 30px;

}

 .black {
    height: 1000px;
    display: flex; /* Create a flex container */
    justify-content: space-between; /* Space the items between */
    width: 100%;
    background-color: rgb(186, 147, 147);
    box-shadow: #0f0f0f;
    margin-top: 40px;
    margin-bottom: 30px;

 } 

 .black123, .black1234 .black12345 {
    height: 900px;
    width: 100%;
    background-color: blueviolet;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 9px;
 }

 .black123 {
    height: 900px;
    width: 32%;
    background-color: rgb(199, 137, 44);
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 9px;
    
 }

 .black1234 {
    height: 700px;
    width: 32%;
    background-color: rgb(18, 150, 194);
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 9px;
 }

  .black12345 {
    height: 900px;
    width: 32.5%;
    background-color: rgb(130, 204, 125);
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 9px;
  }






/* Login */
.login {
    text-align: center;
    padding: 20px;
}
.login input {
    display: block;
    margin: 10px auto;
    padding: 10px;
}
.login button {
    padding: 10px;
    background: #007BFF;
    color: white;
    border: none;
}













footer {
    background-color: #1a1a1a;
    box-sizing: 4px;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 0px;
    width: 100%;
    padding: 40px 0;
    font-family: Arial, sans-serif;
  }
  
  .footer-containerai {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    padding: 0 50px;
  }

  .footer-sectionai {
    width: 100%;
    flex-direction: column; 
    border-radius: 5px;
    border-radius: 5px;
    background-color: #343232;
  }

  
  .footer-sectionai ul {
    width: 100%;
    flex-direction: column; 
    border-radius: 5px;
    border-radius: 5px;
    background-color: #343232;
  }


  
  .footer-sectionai h3 {
    font-size: 20px;
    margin-top: 9px;
    margin-left: 12px;
    padding-bottom: 5px;
  }
  
  .footer-sectionai ul {
    list-style: none;
    flex-direction: column; 

    padding: 0;
  }
  
  .footer-sectionai ul li {
    margin: 5px 0;
    flex-direction: column; 

  }
  
  .footer-sectionai ul li a {
    text-decoration: none;
    color: #cccccc;
    background-color: #343232;
    flex-direction: column; 

    width: 100%;
    transition: 0.3s;
  }
  
  .footer-sectionai ul li a:hover {
    color: #00ff44;
  }
  
  .social-linksai img {
    width: 24px;
    margin-right: 10px;
    transition: 0.3s;
  }
  
  .social-linksai img:hover {
    transform: scale(1.1);
  }
  
  /* Bottom section: Left and Right Alignment */
  .footer-bottomai {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #1a1a1a;
    margin-top: 20px;
  }
  
  .footer-leftai {
    display: flex;
    align-items: center;
  }
  
  .footer-leftai .logo-containerai {
    display: flex;
    align-items: center;
  }
  
  .footer-leftai .footer-logoai {
    width: 150px;
    height: 150px;
    border-radius: 380px;
    margin-right: 10px;
  }
  
  .footer-rightai {
    text-align: right;
    max-width: 35%;
    margin-right: 7px;
  }
  
  .footer-rightai p {
    color: #ccc;
  }
  
  .footer-rightai strong {
    color: #ff6600;
  }
  
  .footer-rightai a {
    color: #ff6600;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .footer-rightai a:hover {
    text-decoration: underline;
  }
  



  /* Mobile-Friendly Adjustments */
@media only screen and (max-width: 768px) {
    .footer-containerai {
        grid-template-columns: 1fr 1fr;
        padding: 0 20px;
    }

    .footer-bottomai {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .footer-leftai, .footer-rightai {
        text-align: center;
        width: 100%;
    }

    .footer-leftai .logo-containerai {
        margin-bottom: 10px;
    }

    .footer-rightai {
        max-width: 100%;
    }

    .social-linksai img {
        width: 30px;
        margin-right: 8px;
    }

    .footer-sectionai {
        margin-bottom: 20px;
        flex-direction: column; 

    }

    .footer-sectionai h3 {
        font-size: 16px;
    }

    .footer-sectionai ul li a {
        font-size: 14px;
        flex-direction: column; 

    }
}

@media only screen and (max-width: 480px) {
    .footer-containerai {
        grid-template-columns: 1fr;
    }

    .footer-sectionai h3 {
        font-size: 14px;
    }

    .footer-sectionai ul li a {
        font-size: 12px;
        flex-direction: column; 

    }

    .footer-leftai .footer-logoai {
        width: 120px;
        height: 120px;
    }

    .footer-rightai p {
        font-size: 14px;
    }
}