
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }


  /*-----------------------------MAIN SLIDER SECTION-----------------------------------------*/
  .slider-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: visible; /* Allow elements to extend beyond this container */
  }

  .slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Only slides are hidden */
  }

  .slides {
    display: flex;
    transition: transform 1s ease-in-out;
    width: 100%; /* Adjust for 3 slides */
    height: 100%;
  }

  .slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
  }


  .box {
    position: absolute;
    top: 20vw;
    bottom: -55%; /* Allow overlap below the slider */
    left: 5%; /* Align to the left */
    width: 36%; /* Adjust width of the box */
    height: 56%;
    background-color: #6a1b9a; /* Purple background color */
    color: white;
    padding: 20px 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10; /* Ensure it appears above all other content */
    border-radius:20px;
  }

  .box h1 {
    margin-top: 8%;
    font-size: 35px;
    margin-bottom: 10px;
    margin-left: 3%;
  }

  body {
    font-family: 'Roboto', Arial, sans-serif; /* Use Roboto for the entire page */
  }

  .box p {
    font-size: 18px;
    margin-bottom: 20px;
    margin-left: 3%;
    margin-top:25px;

  }



  .box button {
    background-color: #fff;
    color: #6a1b9a;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 3%;
    margin-top:10px;
  }

  .box button:hover {
    background-color: #ffbf00;
    color: #6a1b9a;
  }

/* ✅ For screens up to 1440px */
@media (max-width: 1440px) {
    .box {
        width: 42vw;
        min-height: 55vh;
        padding: 30px;
    }

    .section{
      margin-bottom:-10vw;
    }
  }
/* ✅ For tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .box {
        width: 45vw;
        min-height: 42vh;
        padding: 25px;
    }

    .box h1 {
      margin-top: 2%;
      font-size: 22px;
      margin-bottom: 7px;
      margin-left: 3%;
    }

    .box p {
      font-size: 16px;
      margin-left: 3%;
      margin-top:15px;
    }

    .box button {
      padding: 10px 20px;
      font-size: 15px;
      margin-left: 3%;
      margin-top:4px;
    }

    .lines {
      bottom: 20px;
      right: 90px;
      gap: 12px;
    }

    .line {
      width: 60px;
      height: 4px;
      background-color: rgba(255, 255, 255, 0.5);
      transition: background-color 0.3s ease;
    }
}

/* ✅ For small tablets & large phones (425px - 768px) */
@media (max-width: 768px) {
    .box {
      top: 40vw;
        width: 75vw;
        min-height: 43vh;
        padding: 20px;
        left: 12vw;
    }
    .box h1 {
        font-size: 20px;
    }
    .box p {
        font-size: 1rem;
    }
    .box button {
        font-size: 0.95rem;
        padding: 10px;
    }
}

/* ✅ For smaller phones (375px - 425px) */
@media (max-width: 425px) {
    .box {
      margin-top: -29vw;
        margin-left: -2vw;
        width: 80%;
        min-height: 37vh;
        padding: 15px;
    }
    .box h1 {
        font-size: 15px;
    }
    .box p {
        font-size: 1rem;
    }
    .box button {
        font-size: 0.9rem;
        padding: 10px;
        margin: -14px auto;
    }
}

/* ✅ For very small phones (320px - 375px) */
@media (max-width: 375px) {
  .box {
    margin-top:-5vw;
    margin-left:-5vw;
      width: 75%;
      min-height: 45vh;
      padding: 15px;
  }
    .box h1 {
        font-size: 12px;
    }
    .box p {
        font-size: 17px;
    }
    .box button {
        font-size: 10px;
        padding: 10px;
        margin: 15px auto;
    }
}

  .lines {
    position: absolute;
    bottom: 20px;
    right: 130px;
    display: flex;
    gap: 15px;
  }

  .line {
    width: 60px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s ease;
  }

  .line.active {
    background-color: #fff;
  }

  /*-------------------------------WHO ARE WE SECTION------------------------------------------*/

  .section {
    display: flex;
    height: 100vh; /* Full height */
    width: 100%;
    margin-top: 6%;
  }

  .content {

    flex: 1; /* Keep the content smaller compared to the image */
    background-color: #fff;
    padding: 50px; /* Add padding for spacing */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the text */
    margin-top: -13%; /* Push content upward */
  }

  .content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #6a1b9a;
  }

  .content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
  }
  .image-container {
    flex: none; /* Ensure the flex doesn't control its width */
    width: 40%; /* Increase the width by 10px */
    height: 50%; /* Keep the height the same */
    bottom: 10%;
    border-radius: 10px;
    margin-top: 90px;
}


  /**----------------------SCROLLING STRIPPER--------------------------------------/

  /* Scrolling strip container */
  .scrolling-strip {
    position: relative; /* Contain the scrolling text */
    width: 100%; /* Full width of the screen */
    height: 50px; /* Fixed height for the strip */
    background-color: #2C3E50; /* Purple background for the strip */
    overflow: hidden; /* Hide text outside the container */
    display: flex; /* Flexbox to align content */
    align-items: center; /* Vertically center text */
    /* top: -170px; Adjust the strip position */
    /* z-index: 10; Ensure it appears above other elements */
  }

  /* Continuous scrolling text */
  .scrolling-text {
    display: flex; /* Ensure the text repeats seamlessly */
    white-space: nowrap; /* Prevent line breaks */
    animation: scroll-continuous 20s linear infinite; /* Continuous scrolling animation */
    font-size: 18px; /* Font size of the scrolling text */
    font-family: Arial, sans-serif; /* Font family for the text */
    color: white; /* Text color */
  }

  /* Keyframes for continuous scrolling */
  @keyframes scroll-continuous {
    0% {
        transform: translateX(0); /* Start at the beginning */
    }
    100% {
        transform: translateX(-100%); /* Move left completely */
    }
  }




  /*---------------------------------Features Section-------------------------*/
  .features-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    background: url('../img/feature-bg.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    /* top:-550px; */
  }

  .features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay */
    z-index: 1;
  }

  .features-section-content {
    position: relative;
    z-index: 2; /* Place content above overlay */
  }

  .features-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .features-section h3 {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; /* No gap between columns */
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
  }

  /* Add vertical dividers */
  .feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    height: 60%;
    width: 2px;
    background: rgba(255, 255, 255, 0.3); /* Vertical dividers */
  }

  .feature-item i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
  }

  .feature-item h4 {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
  }

  /**----------------------------HOW TO APPLY SECTION-----------------------------------------------*/
  .how-to-apply-section {
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    width: 100%;
    height: 300px; /* Adjust the height as needed */
    background: url('../img/applynow-bg.png') no-repeat center center;
    background-size: cover;
    padding: 20px;
    position: relative;
    overflow: hidden;
    /* top:-500px; */
  }


  .how-to-apply-container {
    display: flex;
     justify-content: space-between; /*Space between content and buttons */
    align-items: center; /* Align items in the middle */
    position: relative;
    z-index: 2;
    color: white;
    width: 80%; /* Adjust width for spacing */
    max-width: 1200px; /* Limit maximum width */
  }

  .how-to-apply-content {
    flex: 1;
    text-align: left;
    margin-right: 20px;
  }

  .how-to-apply-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: right;
  }

  .how-to-apply-content p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: right;}

  .how-to-apply-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    margin-right: 150px;
    width: 150px;
  }

  .apply-button, .contact-button {
    background-color: #2C3E50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.3s ease;
  }

  .apply-button:hover, .contact-button:hover {
    background-color: #ffbf00;
    color: #2C3E50;
  }

  /*-----------------------GLOBE SECTION---------------------*/
  /* Video Background Section */
  .video-section {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;

  }

  .video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Place the video behind the content */
  }


  /*------------------------------------------PROFILE IMAGE SECTION--------------------------*/
  /* Community Highlight Section */
  .community-highlight-section {
    text-align: center;
    padding: 2rem;
    font-family: Arial, sans-serif;

  }

  .community-highlight-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }

  .community-highlight-section .community-subheading {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
  }

  .community-highlight-section .community-subheading span {
    color: #6a1b9a;
    font-weight: bold;
  }

  .community-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Hides images outside of the slider */
    width: 100%;
  }

  .community-slider-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease-in-out;
    align-items: center;
    margin-bottom:30px;
  }

  .community-slider-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0.6;
    transform: scale(0.8);
  }

  .community-slider-item img {
    width: 150px; /* Increased size */
    height: 200px; /* Increased size */
    object-fit: cover;
  }

  .community-slider-item.community-focus {
    transform: scale(1.5); /* Larger focus size */
    opacity: 1;
    z-index: 2;
  }

  .community-slider-item .student-name {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 0.5rem;
  }

  .community-slider-item .student-country {
    font-size: 0.9rem;
    color: #6c757d;
  }

  .community-prev, .community-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
  }

  .community-prev {
    left: 0;
  }

  .community-next {
    right: 0;
  }

  .community-prev:hover, .community-next:hover {
    background-color: #f0f0f0;
  }

  .community-pagination {
    font-size: 1rem;
    color: #6c757d;
    margin-top: 1rem;
  }

  /*------------------------------------LAtest news and Updates section ------------------------*/

  /* News Section */
  .news-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #2e3a48;
    color: #ffffff;
    padding: 2rem;
    gap: 2rem;
  }

  .news-text {
    max-width: 40%;
    text-align: right; /* Align text to the right */
  }

  .news-text h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }

  .news-subheading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
  }

  .news-description {
    font-size: 1rem;
    color: #cdd1d4;
    margin-bottom: 1.5rem;
  }

  .news-controls {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end; /* Align buttons to the right */
    margin-bottom: 1rem;
  }

  .news-prev,
  .news-next {
    background-color: #ffffff;
    color: #2e3a48;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
  }

  .news-prev:hover,
  .news-next:hover {
    background-color: #f0f0f0;
  }

  .news-indicators {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end; /* Align indicators to the right */
  }

  .indicator {
    width: 10px;
    height: 10px;
    background-color: #cdd1d4;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .indicator.active {
    background-color: #ffffff;
  }

  .news-slider {
    max-width: 55%;
    overflow: hidden;
    position: relative;
  }

  .slider-track {
    display: flex;
    gap: 2rem; /* Increased gap between cards */
    transition: transform 0.3s ease-in-out;
  }

  .news-card {
    background-color: #ffffff;
    color: #2e3a48;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 0 0 250px; /* Reduced card width */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .news-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 1rem; /* Removed border radius */
  }

  .news-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }

  .news-card p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
  }

  .read-more {
    background-color: #2e3a48;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .read-more:hover {
    background-color: #6c757d;
  }



  /*-----------------------------------STUDENT TESTIMONIAL SECTION----------------------------------*/


  /* Student Testimonials Section */
  .student-testimonials {
    display: flex;
    position: relative; /* Allow the profile image to overlap */
    margin-top: 4rem; /* Adds gap from the section above */
    gap: 0; /* No gap between purple and white sections */
  }

  .testimonials-left {
    background-color: #6a1b9a; /* Purple background */
    padding: 2rem;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .profile-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    width: 70%;
  }

  .profile-item:hover {
    transform: translateX(10px); /* Slide slightly to the right */
    background-color: rgba(255, 255, 255, 0.3); /* Lighten background on hover */
  }

  .profile-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
  }

  .profile-info h4 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    color: #ffffff;
  }

  .profile-info p {
    font-size: 0.9rem;
    margin: 0;
    color: #e0e0e0;
  }

  .testimonials-right {
    background-color: #ffffff; /* White background */
    padding: 2rem;
    width: 50%;
    text-align: right;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  }
  .testimonials-right-content{
    margin-left: 130px;
  }
  .testimonials-right h3 {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #6a1b9a;
  }

  .testimonials-right h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #6a1b9a;
  }

  .testimonials-right h2 span {
    color: #fdd835;
  }

  .testimonial-quote {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #444;
  }

  .rating {
    font-size: 1.5rem;
    color: #fdd835;
    margin-bottom: 1rem;
  }

  .testimonial-author {
    font-size: 0.9rem;
    font-style: italic;
    color: #6a1b9a;
  }

  .testimonial-author span {
    font-weight: bold;
  }

  .testimonials-center {
    position: absolute;
    top: 50%; /* Vertically centered */
    left: 50%; /* Horizontally centered */
    transform: translate(-50%, -50%); /* Adjust for perfect center */
    z-index: 10; /* Bring profile image to the front */
  }

  .featured-profile {
    width: 300px; /* Large square size */
    height: 350px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
  }

  .featured-profile:hover {
    transform: scale(1.05); /* Slightly enlarge the image */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
  }

  /*----------------------------------------------ACCREDITATION SCECTION--------------------------*/


  /* Accreditation Section */
  .accreditation-section {
    padding: 2rem 1rem;
    background-color: #ffffff;
  }

  .accreditation-section .heading {
    text-align: left;
    margin-bottom: 1rem;
  }

  .accreditation-section h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2C2C54;
  }

  /* .accreditation-section p {
    font-size: 1.7rem;
    color: #666;
    margin-bottom: 1rem;
  } */

  .accreditation-section p {
    font-size: 1.9rem;
    color: black;
    margin-bottom: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
}

  .accreditation-section .bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    background-color: #e0e0e0;
    padding: 1rem;
  }

  .accreditation-section .bar img {
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }

  .accreditation-section .bar img:hover {
    transform: scale(1.1);
  }

  /*------------------------------------FAQ SECTION-----------------------------*/


  .faq-section {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #2C2C54;
    color: #fff;
  }

  .faq-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .faq-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
  }

  .faq {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
  }

  .faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
  }

  .faq-question {
    width: 100%;
    background: #f4f4f9;
    padding: 1rem;
    font-size: 1rem;
    color: #333;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faq-question:hover {
    background: #eaeaea;
  }

  .faq-answer {
    display: none;
    padding: 1rem;
    background: #f9f9f9;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
  }

  .toggle-icon {
    font-size: 1.2rem;
    color: #6a1b9a;
    font-weight: bold;
  }


/*-----------------------------------------CONTACT SECTION-----------------------------------*/
.contact-section {
  top:-10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  height: 70vh;
  position: relative;
  background: url('../img/contact-bg.svg') no-repeat center center/cover;
}

.form-container {
  width: 50%;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.form-container h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.form-container p {
  margin-bottom: 20px;
  color: #555;
}

form input,
form textarea {
  width: 90%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

form textarea {
  resize: none;
  height: 100px;
}

form button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  width: 95%;
}

form button:hover {
  background-color: #333;
}

.info-container {
  width: 35%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  margin-right: -5vw;
  margin-top: 5vw;
}

.info-block {
  width: 100%;
  background-color:#000;
  color: #fff;
  padding: 40px;
  box-sizing: border-box;
  height: 25vw;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

}

.info-block h2 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: lighter;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.info-item span {
  margin-right: 10px;
  font-size: 20px;
  color: #fff;
}

.info-item p {
  margin: 0;
  font-weight: lighter;
}
.footer-social-icons {
  display: flex;
  justify-content: right;
  margin-top: 20px;
  margin-left: 20vw;
  padding-top: 15px;
}

.footer-social-icon {
  text-decoration: none;
  color: #212033; /* Color for the footer social icons */
  font-size: 20px;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.footer-social-icon:hover {
  color: #333; /* Hover color for the footer social icons */
}


  /*--------------------------------MEDIA QUERIES-------------------------------------*/


  /* For tablets (e.g., iPads) */
  @media (max-width: 1024px) {

  /*-------------------Slider main----------------------------*/
    .slider-container {
        height: 70vh;
        width: 100%;
    }


    .lines {
        right: 50%;
        transform: translateX(50%);
        gap: 10px;
    }

    .line {
        width: 50px;
    }
  /*----------------WHO ARE WE SECTION---------------------*/


    .scrolling-strip {
        top:-15vw;
    }


    /*----------------------VIDEO SECTION--------------------*/

    .video-section {
        height: 80vh; /* Adjust height for medium screens */
    }
    /*---------------------------------PROFILE SCROLL SECTION-------------------------*/

    .community-slider-item img {
        width: 130px;
        height: 180px;
    }

    .community-slider-item.community-focus {
        transform: scale(1.3);
    }

    /*---------------------------------NEWS and UPDATES SECTION ----------------------------*/
    .news-text {
        max-width: 50%; /* Adjust text area for medium screens */
    }

    .news-slider {
        max-width: 50%; /* Reduce slider width */
    }

    .news-card {
        flex: 0 0 200px; /* Reduce card width for medium screens */
    }

    /*----------------------------------TESTIMONIAL SECTION-----------------------------------*/

    .student-testimonials {
        flex-wrap: wrap; /* Stack sections vertically */
    }

    .testimonials-left,
    .testimonials-right {
        width: 100%; /* Full width for left and right sections */
    }

    .testimonials-center {
        top: 60%; /* Adjust the profile image position */
        left: 50%;
        transform: translate(-50%, -60%);
    }

    .featured-profile {
        width: 250px;
        height: 300px; /* Reduce size for medium screens */
    }
  }

  /* For large phones (e.g., iPhone XR, Samsung Galaxy S8) */
  @media (max-width: 768px) {
    /*-------------------Slider main----------------------------*/
    .slider-container {
        height: 60vh;
    }


    .lines {
        gap: 8px;
    }

    .line {
        width: 40px;
    }
  /*----------------WHO ARE WE SECTION---------------------*/
    .section {
      margin-top:35vw;
        flex-direction: column; /* Stack content and image vertically */
        height: auto;
    }

    .content {
        width: 100%;
        text-align: center; /* Center-align text for smaller screens */
    }

    .content h1, .content h2 {
        font-size: 1.6rem;
    }

    .content p {
        font-size:1rem;
    }

    .image-container {
      margin-top:-6vw;
        width: 100%;
        height: 42vh; /* Adjust height for smaller screens */
    }



    /*----------------------Scrolling Strip---------------------*/
    .scrolling-strip {
      top:24px;
        position: relative; /* Contain the scrolling text */

        /* z-index: 10; Ensure it appears above other elements */
    }


    /*--------------------------Feature Section-----------------*/
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* Adjust grid to 2 columns */
        gap: 0;
    }

    .feature-item:not(:nth-child(2n))::after {
        content: '';
        position: absolute;
        top: 20%;
        right: 0;
        height: 60%;
        width: 2px;
        background: rgba(255, 255, 255, 0.3); /* Vertical dividers */
    }

    /*---------------HOW TO APPLY SECTION -------------------*/
    .how-to-apply-container {
        flex-direction: column; /* Stack content and buttons vertically */
        text-align: center;
    }

    .how-to-apply-content {
        margin-bottom: 20px;
    }
    .how-to-apply-content h2 {

        text-align: center;
    }

    .how-to-apply-content p {

        text-align: center;}

    .how-to-apply-buttons {
        align-items: center; /* Center buttons on smaller screens */
        justify-self: center;
    }
    .how-to-apply-content {
        flex: 1;
        text-align: center;
        margin-right: 20px;
    }

     /*----------------------VIDEO SECTION--------------------*/
     .video-section {
       display: none;
    }

  /*---------------------------------PROFILE SCROLL SECTION-------------------------*/
  .community-highlight-section{
    margin-top: 6%;
  }
  .community-highlight-section h2 {
    font-size: 1.8rem;
  }

  .community-highlight-section .community-subheading {
    font-size: 1rem;
  }

  .community-slider-item img {
    width: 110px;
    height: 150px;
  }

  .community-slider-item.community-focus {
    transform: scale(1.2);
  }

  .community-prev, .community-next {
    font-size: 1.2rem;
    padding: 0.3rem;
  }

  /*--------------------------------------NEWS AND UPDATES SECTION------------------------------*/

  .news-section {
    flex-direction: column; /* Stack text and slider vertically */
    align-items: center;
  }

  .news-text {
    max-width: 100%;
    text-align: center; /* Center text for smaller screens */
  }

  .news-controls,
  .news-indicators {
    justify-content: center; /* Center controls and indicators */
  }

  .news-slider {
    max-width: 100%;
  }

  .news-card {
    flex: 0 0 50%; /* Cards take up most of the slider's width */
  }


  /*------------------------------------------TESTIMONIAL SECTION---------------------------------*/
  .student-testimonials {
    flex-direction: column; /* Stack sections vertically */
    align-items: center; /* Center-align all sections */
  }
  .testimonials-left {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-aligns the .profile-item elements */
    gap: 20px; /* Optional: Adds space between items */
}
  .profile-item{
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-aligns the content inside each profile-item */
    text-align: center; /* Ensures text content is centered */
  }

  .testimonials-right,
  .testimonials-left {
    width: 100%; /* Full width for both sections */
  }

  .testimonials-right{
    margin-top: -12rem;
    border: none;
    box-shadow: none;
    text-align: center;
  }
  .testimonials-right-content{
    margin-left: -3%;
    margin-top: 10vw;
  }
  .testimonials-center {
    display: none;
  }

  .featured-profile {
    margin-top: 20rem;
    margin-bottom: 5vw;
    width: 250px; /* Reduce size for smaller screens */
    height: 300px;
  }
  /*---------------------FAQ SECTION--------------------*/
  .faq {
    width: 90%;
  }
  .faq-section{
    margin-bottom: 23vw;
  }
  .faq-question {
    font-size: 0.9rem;
  }

  .toggle-icon {
    font-size: 1rem;
  }

  /*---------------------------Contact Us form-----------------------*/
  .contact-container {
    flex-direction: column;
    margin-bottom: 45vw;
}

.contact-left,
.contact-right {
    flex: unset;
    width: 100%;
}
  }
  @media (max-width: 425px) {
    /*-------------------Slider main----------------------------*/
    .slider-container {
        height: 50vh; /* Reduce height for smaller screens */
    }


    .lines {
        gap: 5px; /* Decrease gap */
    }

    .line {
        width: 30px; /* Reduce line width */
    }

    /*----------------WHO ARE WE SECTION---------------------*/
    .section {
        flex-direction: column; /* Stack content vertically */
        height: auto;
        margin-top:53vw;
    }

    .content {
        width: 100%;
        text-align: center; /* Center-align text */
    }

    .content h1, .content h2 {
        font-size: 1.4rem; /* Reduce font size */
    }

    .content p {
        font-size: 0.9rem; /* Reduce font size */
    }

    .image-container {
        width: 100%;
        height: 30vh; /* Further reduce image height */
    }



    /*----------------------Scrolling Strip---------------------*/
    .scrolling-strip {
        margin-top: 10%; /* Adjust strip position */
    }



    /*--------------------------Feature Section-----------------*/
    .features-grid {
        grid-template-columns: 1fr; /* Single-column layout */
        gap: 10px; /* Add a small gap */
    }

    .feature-item:not(:nth-child(2n))::after {
        height: 40%; /* Reduce height of dividers */
    }

    /*---------------HOW TO APPLY SECTION -------------------*/
    .how-to-apply-container {
        flex-direction: column;
        text-align: center;
    }

    .how-to-apply-content {
        margin-bottom: 15px; /* Reduce spacing */
    }

    .how-to-apply-buttons {
        align-items: center;
        justify-self: center;
    }

    /*----------------------VIDEO SECTION--------------------*/
    .video-section {
        display: none;
    }

    /*---------------------------------PROFILE SCROLL SECTION-------------------------*/
    .community-highlight-section {
        margin-top: 4%;
    }

    .community-highlight-section h2 {
        font-size: 1.5rem; /* Reduce font size */
    }

    .community-highlight-section .community-subheading {
        font-size: 0.8rem; /* Reduce font size */
    }

    .community-slider-item img {
        width: 90px;
        height: 120px; /* Adjust image size */
    }

    .community-prev, .community-next {
        font-size: 1rem; /* Reduce font size */
        padding: 0.2rem;
    }

    /*--------------------------------------NEWS AND UPDATES SECTION------------------------------*/
    .news-section {
        flex-direction: column;
        align-items: center;
    }

    .news-text {
        max-width: 100%;
        text-align: center;
    }

    .news-controls, .news-indicators {
        justify-content: center;
    }

    .news-slider {
        max-width: 100%;
    }

    .news-card {
        flex: 0 0 100%; /* Cards take up full width */
    }

    /*------------------------------------------TESTIMONIAL SECTION---------------------------------*/
    .student-testimonials {
        flex-direction: column;
        align-items: center;
    }

    .testimonials-left {
        height: 123vh; /* Adjust height */
        gap: 15px;
    }

    .profile-item {
        text-align: center;
        width: 90%; /* Adjust width */
    }

    .testimonials-right-content {
        margin-left: 0;
        margin-top: 8vw; /* Adjust positioning */
    }

    .testimonials-center {
        margin: -5rem 0; /* Adjust spacing */
    }

    .featured-profile {
        width: 200px; /* Reduce size */
        height: 250px;
    }

    /*---------------------FAQ SECTION--------------------*/
    .faq {
        width: 95%; /* Adjust width */
    }
    .faq-question {
        font-size: 0.8rem; /* Reduce font size */
    }

    .toggle-icon {
        font-size: 0.9rem;
    }

    /*---------------------------Contact Us form-----------------------*/
    .contact-container {
        flex-direction: column;
        margin-bottom: 60vw; /* Adjust margin */
    }

    .contact-left, .contact-right {
        width: 100%;
    }
}







  /* For desktops and TVs (large screens) */
  @media (min-width: 1280px) {

     /*-------------------Slider main----------------------------*/
    .slider-container {
        height: 80vh;
    }


    .lines {
        bottom: 20px;
        right: 130px;
        gap: 15px;
    }

    .line {
        width: 60px;
    }
    .program-cards, .program-section {
  margin-right:-60vw;


}
  }


  /*----------------------------------PROFILE SCROLLING ----------------------*/


  @media (max-width: 425px) {
    .community-highlight-section h2 {
        font-size: 1.6rem;
    }

    .community-highlight-section .community-subheading {
        font-size: 0.9rem;
    }

    .community-slider {
        gap: 0.5rem;
    }

    .community-slider-item img {
        width: 90px;
        height: 120px;
    }

    .community-slider-item.community-focus {
        transform: scale(1.1);
    }

    .community-prev, .community-next {
        font-size: 1rem;
        padding: 0.2rem;
    }

    .community-pagination {
        font-size: 0.8rem;
    }
  }

  @media (max-width: 320px) {
    .community-highlight-section h2 {
        font-size: 1.4rem;
    }

    .community-highlight-section .community-subheading {
        font-size: 0.8rem;
    }

    .community-slider-item img {
        width: 80px;
        height: 110px;
    }

    .community-slider-item.community-focus {
        transform: scale(1.05);
    }

    .community-prev, .community-next {
        font-size: 0.9rem;
        padding: 0.2rem;
    }

    .community-pagination {
        font-size: 0.7rem;
    }
  }

  @media (max-width: 425px) {
    .how-to-apply-buttons {
        align-items: center;
        margin-right: 0px !important;
        justify-self: center;
    }
}


