/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }

  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 1rem 2rem; */
    padding: 1rem 2rem 0.2rem 2rem;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar-brand img {
    height: 3.8rem;
    width: 200px;
    /* margin-left: 2rem; */
  }
  
  .navbar-links {
    display: flex;
    list-style-type: none;
  }
  
  .navbar-links li {
    margin-left: 1.5rem;
    /* margin-top: 1.25rem; */
    transition: 0.2s ease;
  }
  .navbar-links li:hover{
    color: #047810;
    transform: scale(1.06);
  }
  
  .navbar-links a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    display: flex;
    align-items: center;
  }
  
  .navbar-links a:hover {
    color: #047810;
  }
  
  .navbar-links a i {
    margin-right: 0.5rem;
  }
  
  #loginBtn {
    background-color: #28a745;
    margin-top: -10px;
    /* margin-bottom: 0.75rem; */
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: 0.1s ease;
  }
  
  #loginBtn:hover {
    background-color: #218838;
    color: #fff;
  }
  
  /* Hamburger Menu for Small Screens */
  .hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .navbar-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px;
      right: 0;
      background-color: white;
      width: 100%;
      padding: 1rem;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .navbar-links li a{
        padding-top: 0.5rem;
    }
    #loginBtn{
        margin-top: 1rem;
        margin-right: 1rem;
    }
  
    .navbar-links.show {
      display: flex;
    }

    .navbar-brand img{
        width: 150px;
    }
    .hamburger {
      display: block;
    }
    #darkModeToggle{
      margin-top: 0.8rem;
      /* margin-left: 0.8rem; */
    }
  }

  #darkModeToggle{
    border: none;
    background: none;
    transform: scale(2);
  }
  

                /* ------------login form ----------------- */

/* Popup styling */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    display: flex;
    background-color: #fff;
    padding: 20px;
    max-width: 700px;
    width: 90%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

/* Left section styling */
.left-section {
    width: 50%;
    padding: 20px;
    background: #f8f8f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.left-section img {
    height: 15rem;
    width: 15rem;
}

.left-section h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.left-section p {
    font-size: 14px;
    color: #555;
}

.left-section ul {
    list-style-type: none;
    padding: 0;
    font-size: 14px;
    color: #555;
}

.left-section li {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.left-section li::before {
    content: "•";
    color: #FFA500;
    font-weight: bold;
    margin-right: 10px;
}

/* Right section styling */
.right-section {
    width: 50%;
    padding: 20px;
}

.right-section h2 {
    margin: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.right-section form {
    display: flex;
    flex-direction: column;
}

.right-section label {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1rem;
    margin-top: -10px;
}

.right-section input {
    padding: 10px 90px 10px 10px;
    margin: 5px 0 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.right-section button {
    /* padding: 10px 110px; */
    padding: 10px 120px 10px 118px;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.right-section button:hover {
    background-color: #333;
}

.google-btn {
    margin-top: 10px;
    background-color: #4285f4;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.google-btn:hover {
    background-color: #357ae8;
}

.right-section p {
    font-size: 14px;
    color: #333;
    margin-top: 15px;
    text-align: center;
}

.right-section p a {
    color: #FFA500;
    text-decoration: none;
    cursor: pointer;
}


/* Reset Password link styling */
.reset-password-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.reset-password-link {
    font-size: 14px;
    color: #6c757d; /* Customize color as desired */
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
}

.reset-password-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments for tablets and below */
@media (max-width: 768px) {
    .popup-content {
        flex-direction: column;
        max-width: 90%;
        padding: 10px;
    }
    .popup {
        height: 100%;
    }
    .left-section img {
      margin-top: 5px;
        height: 8rem;
        width: 8rem;
    }
    
    .left-section,
    .right-section {
        width: 100%;
        padding: 10px;
    }
    
    .left-section {
        align-items: center;
        text-align: center;
        margin: -2.5rem 0;
    }

    .left-section ul li,
    .left-section p {
        display: none; /* Hide list and paragraph on smaller screens */
    }

    .right-section h2 {
        font-size: 22px;
    }

    .right-section input,
    .right-section button,
    .google-btn {
        width: 100%;
        font-size: 16px;
    }
    
    .close-btn {
        top: 10px;
        right: 10px;
    }
}

/* Additional adjustments for smaller mobile screens */
@media (max-width: 480px) {
    .popup-content {
        padding: 5px;
    }
    .popup {
        height: 100%;
        margin-top: 1rem;
    }
    .left-section {
        margin: -2.5rem 0;
    }
    .left-section h2,
    .right-section h2 {
        font-size: 20px;
    }
    
    .left-section ul li,
    .left-section p {
        display: none; /* Hide for smaller mobile screens */
    }

    .right-section input,
    .right-section button,
    .google-btn {
        font-size: 14px;
    }
}


                /* ------------------login form close -------------------- */
  



  /* Slider */
  .slider {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height: 80vh;
  }
  
  .slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scale(1.1);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  }
  
  .slide.active {
    display: block;
  }
  
  .dot.active {
    background-color: black; /* Highlight active dot */
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .caption {
    position: absolute;
    bottom: 30%;
    left: 10%;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .caption h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
  }
  
  .caption p {
    font-size: 1.2rem;
    font-weight: 300;
  }
  .slider-btn1{
    background: #2398bf;
    padding: 0.6rem 1.6rem;
    border: none;
    border-radius: 5px;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    transition: 0.2s ease;
    cursor: pointer;
  }
  .slider-btn1:hover{
    background: #155d75;
  }
  .slider-btn2{
    background: #007200;
    padding: 0.6rem 1.6rem;
    border: none;
    border-radius: 5px;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    transition: 0.2s ease;
    cursor: pointer;
  }
  .slider-btn2:hover{
    background: #024802;
  }
  .slider-btn3{
    background: #444389;
    padding: 0.6rem 1.6rem;
    border: none;
    border-radius: 5px;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    transition: 0.2s ease;
    cursor: pointer;
  }
  .slider-btn3:hover{
    background: #2826a0;
  }
  
  /* Dots for Slider */
  .slider-controls {
    position: absolute; /* Position it relative to the parent container */
    right: 20px; /* Position it on the right side */
    top: 50%; /* Start at the vertical center */
    transform: translateY(-50%); /* Center it vertically */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align each dot */
  }
  
  .slider-controls .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 5px 0;  /* Space between dots */
    background-color: #fff;  /* Dot color */
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
  }
  
  .slider-controls .dot.active,
  .slider-controls .dot:hover {
    opacity: 1;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .caption h1 {
      font-size: 2rem;
    }
  
    .caption p {
      font-size: 1rem;
    }
  
    .slider {
      height: 50vh;
    }
  }
  
  @media (max-width: 480px) {
    .caption h1 {
      font-size: 1.5rem;
    }
  
    .caption p {
      font-size: 0.9rem;
    }
  }
  

  /* -------------------- streams cards ---------------------- */

  .card-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: -80px; /* Pushes the card container up to overlap with slider */
    position: relative;
    z-index: 10; /* Ensures the cards stay above the slider */
  }
  
  /* Card */
  .card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    width: 300px;
    text-align: center;
    transition: transform 0.3s;
    width: calc(80% / 3 - 30px); /* Adjust width based on number of cards */
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  /* Icon */
  .icon {
    font-size: 2.5rem;
    color: #ffc107; /* Yellow color */
    margin-bottom: 1rem;
  }

  .streamcard-img img{
    height: 150px;
    width: 150px;
    border-radius: 50%;
  }
  
  /* Card Title */
  .card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
  }
  
  /* Card Text */
  .card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }
  
  /* Read More Button */
  .read-more {
    padding: 0.5rem 1rem;
    background-color: #0f4c5c;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    cursor: pointer;
  }
  
  .read-more:hover {
    background-color: #1e6091;
    color: #fff;
  }
  
  @media (max-width: 992px) {
    .card {
        width: calc(80% / 2 - 30px); /* Two cards in a row */
        padding: 20px 25px; /* Slightly reduce padding on the sides */
    }
}

/* Small screens (mobile) */
@media (max-width: 576px) {
    .card {
        width: 80%; /* Full width for each card */
        margin: 10px 0; /* Margin on top and bottom, zero on sides */
        padding: 15px 20px; /* Smaller padding on mobile */
    }
}


             /* ------------------ section 1 --------------------- */
.container-sec1 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1600px;
    background-color:#f4f4f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 3rem;
}

/* Content Styling */
.content-sec1 {
    flex: 1;
    padding: 40px;
}

.content-sec1 h1 {
    font-size: 2rem;
    color: #1c1c1e;
    margin-bottom: 20px;
}

.content-sec1 p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.content-sec1 button {
    background-color: #ffc107;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1rem;
    color: #000;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.content-sec1 button:hover {
    background-color: #e0a800;
}

/* Image Styling */
.image-sec1 {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f4f4f9;
}

.image-sec1 img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-sec1 {
        flex-direction: column;
    }
    
    .content-sec1, .image-sec1 {
        padding: 20px;
    }

    .content-sec1 h1 {
        font-size: 1.8rem;
    }

    .content-sec1 p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .content-sec1 h1 {
        font-size: 1.5rem;
    }

    .content-sec1 p {
        font-size: 0.9rem;
    }

    .content-sec1 button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}


                /* ------------------ section 2 -------------------  */
/* Container */
.container-sec2 {
    max-width: 1200px;
    background-color:whitesmoke;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    
}

/* Course Section */
.course-section {
    /* padding: 40px 0; */
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Text Content */
.text-content-sec2 {
    text-align: center;
    margin-top: 4rem;
    line-height: 2.3rem;
}
.text-content-sec2 h1{
    color: #d90429;
    font-size: 2rem;
}
.text-content-sec2 h3{
    color: #333;
    font-size: 2rem;
}

.text-content-sec2 p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 15px 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff9900;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e68a00;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    width: 100%;
}

.image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.image-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: 0.1s ease;
}
.image-item img:hover{
    transform: scale(1.05);
}

.label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: #ff4d4d;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .container-sec2 {
        flex-direction: row;
        align-items: flex-start;
    }

    .text-content-sec2 {
        flex: 1;
        text-align: left;
    }

    .image-grid {
        flex: 1;
    }
}
           /* ---------------section 2 ----------------------close */






                       /* ---------------------footer css --------------------- */


/* General Footer Styling */
.footer {
    background-color: #0a2342;
    color: #ffffff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-top: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-column img{
    height: 11rem;
    width: 13rem;
    margin-bottom: 2.5rem;
}

/* Footer Column Styling */
.footer-column {
    flex: 1;
    min-width: 250px;
    margin-top: 1rem;
}

.footer-column h3 {
    font-size: 25px;
    color: #ffffff;
    margin-bottom: 15px;
}

/* Contact Section Styling */
.footer-column p {
    display: flex;
    align-items: center;
    color: #d1d1d1;
    margin: 8px 0;
    line-height: 1.5rem;
    font-size: 15px;
    font-weight: 500;
}

.footer-contact{
    text-decoration: none;
    color: #d1d1d1;
    transition: 0.2s ease;
}

.footer-contact:hover{
    color: #ffbe0b;
}
.footer-contact.mail:hover{
    color: #d62828;
}
.footer-column p i {
    margin-right: 10px;
}

/* Social Icons Styling */
.social-icons i {
    background-color: #142850;
    color: #ffffff;
    margin-top: 20px;
    margin-right: 10px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s ease;
}

.social-icons i:hover{
    transform: scale(1.1);
}
.social-icons i.fa-facebook-f{
    color: #1877F2;
}
.social-icons i.fa-facebook-f:hover{
    color: #d1d1d1;
    background-color: #1877F2;
}
.social-icons i.fa-twitter{
    color: #1DA1F2;
}
.social-icons i.fa-twitter:hover{
    color: #d1d1d1;
    background-color: #1DA1F2;
}
.social-icons i.fa-instagram{
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}
.social-icons i.fa-google-plus-g{
    background: #DB4437;
}
.social-icons i.fa-linkedin-in{
    background: #0077B5;
}
/* Links Styling */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin: 8px 0;
}

.footer-column ul li a{
    text-decoration: none;
    color: #d1d1d1;
    transition: 0.1s ease;
}
.footer-column ul li a:hover{
    color: #ffb703;
}

/* Newsletter Styling */
.newsletter {
    display: flex;
    margin-bottom: 15px;
}

.newsletter input[type="email"] {
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    flex: 1;
}

.newsletter button {
    background-color: #ffd700;
    color: #0a2342;
    padding: 10px;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Footer Bottom Styling */
.footer-bottom {
    text-align: center;
    color: #d1d1d1;
    padding-top: 20px;
    font-size: 16px;
}

.footer-bottom p {
    margin: 5px 0;
    color: #d1d1d1;
}
.footer-bottom p a{
    text-decoration: none;
    color: #d1d1d1;
    transition: 0.1s ease;
}
.footer-bottom p a:hover{
    color: #ffd700;
}

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

    .footer-column {
        text-align: center;
    }

    .newsletter {
        flex-direction: column;
    }

    .newsletter input[type="email"],
    .newsletter button {
        width: 100%;
        border-radius: 4px;
        margin-top: 10px;
    }
}

/* pagess */

/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
   /* background-color: cadetblue; */
    color: hsl(0, 9%, 65%);
  }
  
  .containers {
    text-align: center;
    padding: 20px;
  }
  
  h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #032d57;
  }
  
  p {
    font-size: 1.2em;
    color: #012224;
  }

  .cards1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
  }
  .card1 {
    background-color: rgb(214, 218, 226);
    border: 1px solid #a0b8e5;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(70, 3, 3, 0.1);
    max-width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
  }
  
  .card1 img {
    max-width: 265px;
    margin-bottom: 15px;
  }
  
  .card1 h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #02396f;
  }
  
  .card1 p {
    font-size: 1em;
    color: #7f8c8d;
  }
  
  .card1:hover {
    transform: scale(1.05);
  }
  
  @media (max-width: 768px) {
    .cards1 {
      flex-direction: column;
      align-items: center;
    }
  }

  /* Parallax Section */
.parallax-section {
    background-image: url('assets/images8.jpg');
    height: 400px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 20px;
}

.parallax-section h1 {
    font-size: 2.5rem;
    margin: 0;
}

.parallax-section p {
    font-size: 1rem;
}

.parallax-section-2 {
  background-image: url('assets/parallex3.jpg');
  height: 400px;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 20px;
}

/*  Why choose rural horizon */

/* Container for Why Choose Rural Horizon section */
.container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 20px 20px;
    background-color: #f9f9f9;
    /* border: 1px solid #ddd; */
    margin: 20px 0;
    box-sizing: border-box;
    gap: 10px;
    line-height: 1;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
  }
  
  /* Styling for the main section content on the left */
  .sec2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align text to the left */
    width: 50%; /* Take up 60% of the container width */
    box-sizing: border-box;
    min-width: 300px; /* Ensures a minimum width for smaller screens */
  }
  
  /* Headline styling */
  .sec2 .section2 h1 {
    font-size: 2em;
    color: #333;
    text-align: left;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  
  /* Section text styling */
  .sec2 .section2 p {
    font-size: 1.1em;
    line-height: 1.5;
    color: #555;
    margin: 10px 0;
    text-align: left;
    padding: 0 10px;
  }
  
  /* Button styling */
  .sec2 .section2 button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .sec2 .section2 button:hover {
    background-color: #45a049;
  }
  
  /* Image grid container on the right */
  .sections2 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap; /* Allows images to wrap into rows */
    gap: 5px; /* Gap between images */
    /* width: 35%; Take up 35% of the container width */
    box-sizing: border-box;
    min-width: 00px; /* Ensures a minimum width for smaller screens */
    /* justify-content: flex-start; Align items to the left */
  }
  
  /* Styling for the image containers */
  .sections2 img {
    width: 180px; /* Fixed width for each image */
    height: 180px; /* Fixed height for each image */
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: transform 0.3s;
    margin-bottom: 20px;
  }
  
  /* Responsive adjustments */
  @media (max-width: 1024px) {
    /* Adjust for tablets and medium-sized screens */
    .container2 {
      flex-wrap: wrap;
      gap: 15px;
    }
  
    /* Adjust text and images for medium-sized screens */
    .sec2 {
      width: 100%;
      text-align: center;
    }
  
    .sec2 .section2 h1 {
      font-size: 1.8em;
      text-align: center;
    }
  
    .sec2 .section2 p {
      font-size: 1em;
      text-align: center;
    }
  
    .sections2 {
      width: 100%;
      display: flex;
      justify-content: center;
      gap: 15px;
    }
  }
  
  @media (max-width: 768px) {
    /* Stack content vertically on smaller screens */
    .container2 {
      flex-direction: column;
      align-items: center;
    }
  
    .sec2, .sections2 {
      width: 100%;
      text-align: center;
    }
  
    .sec2 .section2 h1, .sec2 .section2 p {
      text-align: center;
    }
  
    /* Adjust button size */
    .sec2 .section2 button {
      padding: 8px 16px;
      font-size: 0.9em;
    }
  }
  
  @media (max-width: 480px) {
    /* Further adjustments for small mobile screens */
    .sec2 .section2 h1 {
      font-size: 1.6em;
    }
  
    .sec2 .section2 p {
      font-size: 0.9em;
    }
  
    /* Adjust image size for small screens */
    .sections2 img {
      width: 100%;
      height: auto;
    }
  }
  
  /* Dark Mode Styles */
.dark-mode {
  background-color: #121212; /* Dark background */
  color: white; /* Light text */
}

/* Specific Dark Mode styling for elements */
.dark-mode .navbar {
  background-color: #1d1d1d; /* Dark navbar */
}

.dark-mode .hamburger{
  color: #fff;
  background: none;
}

.dark-mode .navbar-links{
  background: #1d1d1d;
  /* color: #fff; */
}

.dark-mode .navbar-links a {
  color: #fff; /* Light text for navbar links */
}

.dark-mode .card {
  background-color: #333; /* Dark background for cards */
  color: white; /* Light text in cards */
}

/* Additional styling for other elements */
.dark-mode .slider {
  filter: brightness(0.7); /* Dim the image slider in dark mode */
}

.dark-mode .streamcard-img img {
  filter: brightness(0.7); /* Dim the stream images in dark mode */
}

/* Customize buttons for dark mode */
.dark-mode button {
  background-color:#121212; /* Darker buttons */
  color: white;
  
}

/* loader */

/* Loader styles */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden; /* Initially hidden */
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
}

.loader.visible {
  visibility: visible;
  opacity: 1;
}

.spinner {
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

                                  /* signupform validation css  */
.error{
  color: red !important;
  font-size: 14px !important;
}
.success{
  color:rgb(29, 183, 29) !important;
  font-size: 16px !important;
  font-weight: bold !important;
}

/* eye icon css styling */
.input-container {
  position: relative;
  width: 100%;
  max-width: auto;
}

.eye-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

         /* ----------dropdown logout ---------- */
         .logoutbtn{
          border: none;
          border-radius: 2px;
          margin-left: 5px;
          background: red;
          color: #fff;
          width: 50px;
         }
         @media (max-width: 768px){
          .logoutbtn{
            margin: 5px 0 0 25px;
            font-size: 15px;
            padding: 4px 2px;
          }
         }
         @media (max-width: 480px){
          .logoutbtn{
            margin: 5px 0 0 25px;
            font-size: 15px;
            padding: 4px 2px;
          }
         }
         @media (max-width: 1024px){
          .logoutbtn{
            margin: 5px 0 0 25px;
            font-size: 15px;
            padding: 4px 2px;
          }
         }
         @media (max-width: 576px){
          .logoutbtn{
            margin: 5px 0 0 25px;
            font-size: 15px;
            padding: 4px 2px;
          }
         }
         @media (max-width: 992px){
          .logoutbtn{
            margin: 5px 0 0 25px;
            font-size: 15px;
            padding: 4px 2px;
          }
         }
      
