
#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: rgb(255, 255, 255);
 color: #B11925;
  border: 1px solid #B11925;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s, transform 0.3s;
}
@media (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    touch-action: pan-y; /* Allow only vertical swipe */
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  position: relative;
}

/* NAV BAR CSS */
.firstnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: #2f3b46;
    color: white;
    padding: 15px 20px;
    font-family: sans-serif;
    gap: 10px;
    overflow: visible;
    z-index: 1000;
    position: relative;
}

.nav-part {
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.nav-part.social {
    justify-content: center;
}

.nav-part.social a {
    margin-right: 8px;
    color: rgb(0, 0, 0);
    background: #ffffff;
    padding: 6px;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s, transform 0.3s;
}

.nav-part.social a:hover {
    background: #2F3B46;
    transform: translateY(-3px);
    color: #ffffff;
}

.nav-part i {
    color: #B11925;
}

/* Members dropdown */
.members {
    position: relative;
    justify-content: center;
    z-index: 1100;
}

.member-btn {
    background: none;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    position: relative;
}

.member-btn i {
    transition: transform 0.3s ease;
}

.members:hover .member-btn i {
    transform: rotate(180deg);
}

.members .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    border-radius: 6px;
    min-width: 160px;
    z-index: 1101;
    transition: all 0.3s ease;
}

.members .dropdown a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.members .dropdown a:hover {
    background-color: #f9f9f9;
    color: #333;
}

.members .dropdown a:hover::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 20px;
    height: 2px;
    width: calc(100% - 40px);
    background-color: #B11925;
    transition: width 0.3s ease;
}

.members:hover .dropdown {
    display: block;
}

/* Admission button */
.admission-btn {
    display: inline-block;
    padding: 8px 16px;
    margin-left: 10px;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    background: #B11925;
    transition: background 0.3s, transform 0.3s;
    font-size: 12px;
}

.admission-btn:hover {
    background: #D6303E;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .members {
        width: 100%;
    }

    .member-btn {
        width: 100%;
        justify-content: flex-start;
        color: #fff;
    }

    .members .dropdown {
        position: static;
        background: #f9f9f9;
        box-shadow: none;
        border-radius: 0;
        padding-left: 10px;
    }

    .members:hover .dropdown {
        display: block;
    }

    .firstnav {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .nav-part {
        flex: unset;
        width: 100%;
        justify-content: flex-start;
    }

    .nav-part.social {
        justify-content: flex-start;
    }

    .nav-part.email {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .admission-btn {
        margin-left: 0;
        width: auto;
    }
}


/* SECOND NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  background-color: #fff;
  position: relative;
  z-index: 900;
  overflow: visible;
}

.navbar .logo img {
  height: 60px;
}

.navbar .menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.navbar .menu li {
  list-style: none;
  position: relative;
}

.navbar .menu li a {
  text-decoration: none;
  color: #000;
  padding: 8px 0;
  position: relative;
  
}

.navbar .menu li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 0;
  background-color: #B11925;
  transition: all 0.3s ease;
}

.navbar .menu li a:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 140%;
  left: 0;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 10px 0;
  border-radius: 5px;
  min-width: 151px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 13px;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #000;
  margin: 0px 8px;
   transition: background 0.3s;
}

.dropdown a::after {
  content: '';
  display: block;
  height: 2px;
  background-color: #4D4D4D;
  width: 0;
  transition: width 0.3s ease;
}

.dropdown a:hover::after {
  width: 100%;
}

#coursedropdown {
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;             /* wider for 5 columns */
  background-color: white;
  padding: 20px 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 8px;
  z-index: 1000;
  box-sizing: border-box;
}

.dropdown:hover #coursedropdown,
.dropdown:focus-within #coursedropdown {
  display: grid;            /* use grid directly for dropdown */
  grid-template-columns: repeat(5, 1fr);  /* 5 columns */
  grid-auto-rows: auto;
  gap: 15px 30px;           /* row and column gaps */
  text-align: center;       /* center course names horizontally */
}

#coursedropdown a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  padding: 6px 0;
  display: block;
  transition: color 0.3s ease;
}

#coursedropdown a:hover {
 
  cursor: pointer;
}



/* Already existing styles remain unchanged */

.login-dropdown {
  position: relative;
}

.login-dropdown .log-in {
  background-color: #B11925;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.login-dropdown .log-in:hover {
  background-color: #d6303e;
}

.login-dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 100px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 999;
  padding: 10px 0;
  border-radius: 4px;
}

.login-dropdown .dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s;
}

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

.login-dropdown:hover .dropdown-content {
  display: block;
}

/* Hamburger and mobile view */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #000;
}

.dropdown-arrow {
  width: 12px;
  height: 12px;
  margin-left: 5px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

#logindropdown {
  width: 300px; /* set your desired width */
}


@media screen and (max-width: 768px) {
  .dropdown-arrow {
    margin-left: 8px;
  }
  #logindropdown {
    width: 0px;
  }

  .navbar .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    padding: 20px;
  }

  .navbar .menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    padding: 0;
  }

  
}

@media screen and (max-width: 768px) {
  .dropdown-arrow {
    margin-left: 8px;
  }

  #logindropdown {
    width: 0px;
  }

  .navbar .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    padding: 20px;
  }

  .navbar .menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    padding: 0;
  }

  /* Specific styling for #coursedropdown in mobile view */
  #coursedropdown {
    position: static; /* Override absolute positioning for mobile */
    transform: none; /* Remove transform to avoid misalignment */
    width: 100%; /* Full width for mobile */
    padding: 10px; /* Adjust padding for mobile */
    box-shadow: none; /* Remove shadow for a cleaner mobile look */
    border-radius: 0; /* Remove border radius for mobile */
  }

  .dropdown:hover #coursedropdown,
  .dropdown:focus-within #coursedropdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile instead of 5 */
    gap: 10px 15px; /* Smaller gaps for mobile */
    text-align: center;
  }

  #coursedropdown a {
    font-size: 12px; /* Slightly smaller font for mobile */
    padding: 8px 0; /* Adjust padding for better spacing */
  }
}

/* NAV BAR CSS CLOSE */
/* SECOND SECTION  */

.secondsection {
  width: 100%;
  height: 700px;
  position: relative;
  overflow: hidden;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeSlide 64s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 8s; }
.slide:nth-child(3) { animation-delay: 16s; }
.slide:nth-child(4) { animation-delay: 24s; }
.slide:nth-child(5) { animation-delay: 32s; }
.slide:nth-child(6) { animation-delay: 40s; }
.slide:nth-child(7) { animation-delay: 48s; }
.slide:nth-child(8) { animation-delay: 56s; }
.slide:nth-child(9) { animation-delay: 64s; }
.slide:nth-child(10) { animation-delay: 72s; }
.slide:nth-child(11) { animation-delay: 80s; }


@keyframes fadeSlide {
  0% { opacity: 0; }
  5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; }
  100% { opacity: 0; }
 
}
.slide {
  /* ...other styles */
  animation: fadeSlide 72s infinite;
}
.overlay {
  position: relative;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.26);
  width: 100%;
  height: 100%;
  color: rgb(255, 255, 255);
  text-align: center;
  padding-top: 200px;
}

.overlay h2 {
  font-size: 64px;
  font-weight: bold;
}

.overlay h2 span {
  color: #B11925;
}

.overlay p {
  font-size: 22px;
  margin: 10px 0;
}

.view-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-top: 30px;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid white;
  background-color: transparent;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.view-btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  width: 100%;
  height: 100%;
  background-color: #B11925;
  transition: right 0.4s ease;
  z-index: -1;
}

.view-btn:hover::before {
  right: 0;
}

.view-btn:hover {
  color: white;
}


/* Responsive */
@media screen and (max-width: 768px) {
  .secondsection {
    height: 700px;
  }
/* 
  .overlay {
    padding-top: 100px;
  }

  .overlay h2 {
    font-size: 40px;
  }

  .overlay p {
    font-size: 18px;
    padding: 0 15px;
  }

  .view-btn {
    font-size: 18px;
    padding: 12px 24px;
  } */
}
/* SECOND SECTION CLOSE */

/* THIRD SECTION */



/* THIRD SECTION CLOSE */


/*  FOURTH SECTION  */
.fourthsection {
  width: 100%;
  background-color: #FFFFFF;
  padding: 80px 0;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 90%;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  flex-wrap: wrap;
}

.about-left img {
  width: 100%;
  max-width: 550px;

  }

.about-right {
  flex: 1;
  min-width: 300px;
}

.about-right h2 {
  font-size: 36px;
  font-weight: 800;
  color: #2d3436;
  border-bottom: 3.5px solid #B11925;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.about-right p {
  font-size: 16.2px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.about-right .highlight {
  color: #B11925;
  font-weight: bold;
}
.read-more-btn {
  display: inline-block;
  padding: 14px 30px;
  background-color: #B11925;
  color: white;
  text-decoration: none;
  font-weight: 540;
  
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more-btn:hover {
  background-color: #D6303E;
  transform: scale(1.05);
}
@media screen and (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-right {
    padding-top: 40px;
  }
}
/* FOURTH SECTION CLOSE */

/* FIFTH SECTION START  */
.fifthsection {
  background-color: #f5f6fa;
  padding: 60px 60px;
  font-family: 'Roboto', sans-serif;
}

.section-title {
  
  font-size: 32px;
  text-align: center;
  color: #2d3436;
  margin-bottom: 10px;
}

.underline {
  width: 80px;
  height: 3px;
  background-color: #B11925;
  margin: 0 auto 40px;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.video-section,
.text-section {
  flex: 1 1 500px;
  padding: 10px;
  box-sizing: border-box;
}

.video-section video {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.text-section p {
  font-family: 'Poppins', sans-serif;
  text-align: justify;
  font-size: 16px;
  color: #2d3436;
  line-height: 1.6;
}
@media (min-width: 1600px) {
  .fifthsection {
    padding: 80px 40px; /* more breathing space */
  }

  .section-title {
    font-size: 40px; /* bigger heading for readability */
    margin-bottom: 20px;
  }

  .underline {
    width: 100px;
    height: 4px;
    margin-bottom: 50px;
  }

  .content-wrapper {
    gap: 40px;
    max-width: 1400px; /* expand container on large screens */
  }

  .video-section,
  .text-section {
    flex: 1 1 600px;
    padding: 20px;
  }

  .video-section video {
    border-radius: 16px;
  }

  .text-section p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
  }
}
 @media screen and (max-width: 768px) {
  .fifthsection {
    padding: 40px 20px; /* reduced padding for smaller screens */
  }

  }
/* Responsive for tablets and smaller */

/* FIFTH SECTION CLOSE  */

/* CROUSEL IMG CONTEXT */

.trustedByCompany {
  text-align: center;
  padding: 40px 0;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}

.trusted-title {
font-size: 17.5px;
  font-weight: 600;
  margin-bottom: 20px;
}

.logo-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  white-space: nowrap;
width: 100%;
  align-items: center;
}

.logo-track {
  display: flex;
  gap: 40px;
  animation: scrollLeft 60s linear infinite;
  align-items: center;
  width: max-content; /* Ensures the images extend beyond the container */
}
.logo-track img {
  width: 120px; /* Adjust size as needed */
  height: 80px;
  display: inline-block;
  object-fit: contain;
  transition: filter 0.3s ease-in-out;
}
@keyframes scrollLeft {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-100%);
  }
}
/* No grayscale effect – logos always in color */

/* Responsive Design */
@media (max-width: 768px) {
  .trusted-title {
      font-size: 20px;
  }

  .logo-track img {
      width: 100px;
  }
}

@media (max-width: 480px) {
  .trusted-title {
      font-size: 18px;
  }

  .logo-track img {
      width: 80px;
  }
}
/* CROUSEL IMG CONTEXT CLOSE */

/* SIXTH SECTION START  */


.sixthsection {
  padding: 40px 3px;
  max-width: 1200px;
  margin: auto;
}

.section-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
  align-items: flex-start;
}

.left-section,
.middle-section,
.right-section {
  flex: 1;
  min-width: 280px;
}

.left-section h3,
.middle-section h3,
.right-section h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #C52025;
  font-weight: 600;
}

.middle-section h3 {
  color: #0984e3;
}

.right-section h3 {
  color: #00b894;
}

.middle-section p,
.right-section p {
  font-size: 15px;
  color: #2d3436;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 10px;
}

.left-section .carousel-container {
  height: 300px; /* Increased to match larger images */
  width: 100%; /* Allow container to adapt */
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scrollInfinite 30s linear infinite;
  will-change: transform;
}

.carousel-track img {
  height: 180px;
  width: auto;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 8px;
  flex-shrink: 0;
}

.left-section .carousel-track img {
  height: 300px; /* Target height */
  width: 400px; /* Target width */
  object-fit: cover; /* Maintain aspect ratio */
}

.submit-btn {
  background-color: #B11925; /* bright blue */
  color: #fff;
  padding: 8px 15px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
  background-color: #D6303E;
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(1px);
  background-color: #065a96;
}

@keyframes scrollInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.program-finder-container {
  width: 100%;
  max-width: 500px;
  background: #0077c9;
  padding: 20px;
  color: white;
  border-radius: 5px;
  margin-top: 30px;
  display: block;
}


.program-title {
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom: 2px solid white;
  padding-bottom: 5px;
}

.program-title-color {
  color: #B11925;
}

.program-box {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.program-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

.program-left label {
  color: white;
}

.phwht {
  color: white;
}

.bgclphsel {
  background: orange;
  color: black;
}

.program-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-right select {
  padding: 5px;
  border: none;
  font-size: 14px;
  background:#B11925;
  color: rgb(255, 255, 255);
  font-weight: bold;
  border-radius: 3px;
}
.right-section {
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.responsive-video {
  width: 100%;
  height: auto;
  max-width: 600px; /* Optional: limits size on large screens */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  .section-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .left-section,
  .middle-section,
  .right-section {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }

  /* === MOBILE ORDERING === */

  /* FIRST ROW: Online Degree */
  .sixthsection .section-row:nth-of-type(1) {
    flex-direction: column;
  }
  .sixthsection .section-row:nth-of-type(1) .left-section {
    order: 1;
  }
  .sixthsection .section-row:nth-of-type(1) .middle-section {
    order: 2;
  }
  .sixthsection .section-row:nth-of-type(1) .right-section {
    order: 3;
  }

  /* SECOND ROW: Distance Degree */
  .sixthsection .section-row:nth-of-type(2) {
    flex-direction: column;
  }
  .sixthsection .section-row:nth-of-type(2) .left-section {
    order: 1;
  }
  .sixthsection .section-row:nth-of-type(2) .middle-section {
    order: 2;
  }
  .sixthsection .section-row:nth-of-type(2) .right-section {
    order: 3;
  }

  /* THIRD ROW: Regular Degree */
  .sixthsection .section-row:nth-of-type(3) {
    flex-direction: column;
  }
  .sixthsection .section-row:nth-of-type(3) .left-section {
    order: 1;
  }
  .sixthsection .section-row:nth-of-type(3) .middle-section {
    order: 2;
  }
  .sixthsection .section-row:nth-of-type(3) .right-section {
    order: 3;
  }

  /* Show mobile program finder under Regular Degree */
  .mobile-program-finder {
    display: block !important;
    margin: 20px 15px;
  }

  /* Hide the desktop program finder in mobile */
  .sixthsection .section-row:nth-of-type(1) .right-section > .program-finder-container,
  .sixthsection .section-row:nth-of-type(2) .right-section > .program-finder-container,
  .sixthsection .section-row:nth-of-type(3) .right-section > .program-finder-container {
    display: none !important;
  }

  /* Fix responsive video */
  .responsive-video,
  .right-section video {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-top: 10px;
    border-radius: 8px;
  }

  .middle-section p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
  }
}


/* SIXTH SECTION CLOSE */

/* SEVER SECTION START */


/* Container styling */
.sevensection {
  width: 100%;
  padding: 60px 60px;
  box-sizing: border-box;
}

.seven-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.seven-left, .seven-right {
  flex: 1;
  min-width: 300px;
}

.seven-left video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.seven-right h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  margin-bottom: 20px;
  color: #2D3436;
}

.seven-right p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.know-more-btn {
  margin-top: 25px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  background-color: #B11925;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.know-more-btn:hover {
  background-color: #D6303E;
  transform: scale(1.05);
}

.mt-20 { margin-top: 20px; }

/* Responsive: Tablets & mobiles */
@media screen and (max-width: 768px) {
  .seven-container { flex-direction: column; gap: 30px; }
  .seven-right h2 { font-size: 24px; }
  .seven-right p { font-size: 15px; }
  .sevensection{
    padding: 40px 20px;
  }
}

/* Responsive: Big desktops (>=1600px) */
@media screen and (min-width: 1600px) {
  .sevensection { padding: 60px 60px; }
  .seven-container { max-width: 1400px; gap: 60px; }
  .seven-left video { border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
  .seven-right h2 { font-size: 40px; margin-bottom: 25px; }
  .seven-right p { font-size: 18px; line-height: 2; max-width: 800px; }
  .know-more-btn { font-size: 18px; padding: 18px 36px; }
}

/* Specific: Ultra-wide / 32-inch displays (>=2560px) */
@media screen and (min-width: 2560px) {
  .seven-section-wide {
    padding: 100px 200px; /* extra side padding */
  }
  .seven-container {
    max-width: 1600px; /* narrower content width for readability */
    margin: 0 auto;
    padding: 0 200px;
  }
}
/* SEVER SECTION CLOSE */

/* EIGHT SECTION START */
.carousel-container {
  overflow: hidden;
  width: 100%;
  margin-top: 20px;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scrollCarousel 30s linear infinite;
}

.carousel-track img {
  width: 130px;
  height: auto;
  margin: 0 15px;
  object-fit: contain;
}

@keyframes scrollCarousel {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-track img {
    width: 100px;
    margin: 0 10px;
  }
}
 .honorysection {
    display: flex;
    gap: 30px;
    padding: 20px;
    
    color: #333;
    min-height: 80vh;
  }

  /* Left side */
  .left-side {
    flex: 1;
    max-width: 600px;
  }
  .left-side h2 {
    color: #B11925;
    margin-bottom: 10px;
  }
  .left-side p {
    margin-bottom: 20px;
  }

  
  /* Right side */
  .right-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
  }
  video {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    border: 1px solid #ffffff;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .honorysection {
      flex-direction: column;
      padding: 15px;
    }
    .left-side,
    .right-side {
      max-width: 100%;
      flex: none;
    }
    .right-side {
      margin-top: 25px;
    }
  }

  @media screen and (min-width: 769px) {
    /* Constrain overall width to desktop and center */
    .honorysection {
      max-width: 1200px;
      margin: 0 auto;
    }
  
    /* Give left-side text some padding off the edge */
    .left-side {
      padding-left: 30px;
    }
  
    /* Add a bit of space before headings and paragraphs */
    .left-side h2 {
      margin-left: 10px;
    }
    .left-side p {
      margin-left: 10px;
    }
  }
  
 .form-container {
      max-width: 550px;
      margin: 0 auto;
      background: #fff;
      padding: 1rem;
      border-radius: 6px;
    
    }

    .row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .row .form-group {
      flex: 1;
      min-width: 150px;
    }

    .form-group label {
      display: block;
      margin-bottom: 0.4rem;
      font-weight: 600;
      font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 0.45rem;
      border: 1px solid #B11925;
      border-radius: 4px;
      font-size: 0.95rem;
    }

    .form-group textarea {
      resize: vertical;
      min-height: 90px;
    }

  

    button[type="submit"] {
      margin: 0.4rem 0;
      background: #B11925;
      color: #fff;
      border: none;
      padding: 0.7rem 1.8rem;
      font-size: 1rem;
      border-radius: 4px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    button[type="submit"]:hover {
      background: #D52F3D;
    }

    @media (max-width: 600px) {
      .row {
        flex-direction: column;
      }
    }
  
/* EIGHT SECTION CLOSE */

/* NINETH SECTION START */
.ninthsection {
  display: flex;
  gap: 16px;
  padding: 60px;
  justify-content: space-between;
  background-color: #f8f9fa;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.news-box {
  flex: 0 1 48%;
  border: 2px solid #ccc;
  padding: 16px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.06);
  background: #fff;
  border-radius: 10px;
  min-width: 270px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.news-box h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #B11925;
  border-bottom: 2px solid #B11925;
  padding-bottom: 4px;
  display: inline-block;
}

/* ------ Vertical scroll (Photo Gallery) ------ */
.vertical-scroll {
  height: 260px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center items horizontally */
  justify-content: flex-start; /* Start from top for vertical scrolling */
}

.vertical-scroll .news-item {
  animation: scroll-up 60s linear infinite;
  width: 100%; /* Ensure news-item takes full width for centering */
  max-width: 1200px; /* Optional: limit image width for better control */
  display: flex;
  justify-content: center; /* Center the image inside news-item */
}

.news-item {
  margin: 0px 60px;
  padding: 12px 0;
  text-align: center; /* center content if any text added */
}

.news-box.left-box .news-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  
  margin: 0 auto; /* Center image horizontally */
  display: block; /* Ensure image behaves as block for margin: auto */
}
@keyframes scroll-up {
  0% {
    transform: translateY(0); /* Start with first image visible */
  }
  100% {
    transform: translateY(-3660px); /* Move to the start of the duplicated set (15 images * 244px) */
  }
}
/* ------ Horizontal scroll (Trending Now) ------ */
.horizontal-scroll {
  width: 100%;
  overflow: hidden;
  background: #f9f9f9;
  padding: 20px 0;
}

.trending-track {
  display: flex;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}

.trending-item {
  flex: 0 0 auto;
  width: 400px;
  margin: 0 10px;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  
}

.trending-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  
  margin-bottom: 8px;
}

.trending-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #333;
}

.trending-item p {
  font-size: 0.9rem;
  color: #555;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ------ Hover to pause ------ */
.vertical-scroll:hover .news-item,
.trending-track:hover {
  animation-play-state: paused;
}

/* ------ Responsive ------ */
@media (max-width: 768px) {
  .news-item {
    margin: 0px 30px;
  
  }
  .ninthsection {
    flex-direction: column;
    padding: 24px 16px;
  }
  .news-box {
    flex: 1 1 100%;
    margin-bottom: 16px;
  }
  .trending-track {
    animation-duration: 20s;
  }
}

@media (min-width: 1920px) {
  .news-box {
    padding: 20px;
  }
  .news-box h2 {
    font-size: 2rem;
  }
  .news-box img {
    height: 220px; /* Match the updated image height */
  }
  .news-item h4,
  .trending-item h4 {
    font-size: 1.1rem;
  }
  .news-item p,
  .trending-item p {
    font-size: 1rem;
  }
}

/* Pause animation on hover */
.vertical-scroll:hover .news-item,
.trending-track:hover {
  animation-play-state: paused;
}
/* NINETH SECTION CLOSE */

/* TEN SECTION START */
.tensention {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: stretch;
  padding: 40px 60px;
  gap: 20px;
  box-sizing: border-box;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left Section: NIMTT Carousel */
.left {
  flex: 1 1 33.33%;
  background-color: #000;
  border-radius: 20px;
  overflow: hidden;
  height: 480px;
  max-width: 530px;
  position: relative;
}

.nimtt-container {
  position: relative;
  height: 100%;
}

.nimtt-text {
  font-size: 4.5rem;
  font-weight: bold;
  color: #39A424;
  font-family: Bear, sans-serif;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  margin: 0;
  text-align: center;
  width: 100%;
}

.carousel-std {
  position: absolute;
  width: 100%;
  height: 400px;
  top: 50px;
  overflow: hidden;
  z-index: 2;
}

.carousel-std-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-std-images img {
  position: absolute;
  width: 100%;
  height: 300px;
  border-radius: 10px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.feedback {
  position: absolute;
  bottom: 25px;
  width: 100%;
  height: 50px;
}

.feedback-text {
  position: relative;
  width: 100%;
  height: 100%;
}

.feedback-text p {
  position: absolute;
  width: 100%;
  color: #fff;
  font-size: 1rem;
  margin: 0;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background: rgba(0, 0, 0, 0.85);
  padding: 8px;
}

/* Animation for images */
.carousel-std-images img:nth-child(1) { animation: fade 105s infinite; }
.carousel-std-images img:nth-child(2) { animation: fade 105s infinite 3s; }
.carousel-std-images img:nth-child(3) { animation: fade 105s infinite 6s; }
.carousel-std-images img:nth-child(4) { animation: fade 105s infinite 9s; }
.carousel-std-images img:nth-child(5) { animation: fade 105s infinite 12s; }
.carousel-std-images img:nth-child(6) { animation: fade 105s infinite 15s; }
.carousel-std-images img:nth-child(7) { animation: fade 105s infinite 18s; }
.carousel-std-images img:nth-child(8) { animation: fade 105s infinite 21s; }
.carousel-std-images img:nth-child(9) { animation: fade 105s infinite 24s; }
.carousel-std-images img:nth-child(10) { animation: fade 105s infinite 27s; }
.carousel-std-images img:nth-child(11) { animation: fade 105s infinite 30s; }
.carousel-std-images img:nth-child(12) { animation: fade 105s infinite 33s; }
.carousel-std-images img:nth-child(13) { animation: fade 105s infinite 36s; }
.carousel-std-images img:nth-child(14) { animation: fade 105s infinite 39s; }
.carousel-std-images img:nth-child(15) { animation: fade 105s infinite 42s; }
.carousel-std-images img:nth-child(16) { animation: fade 105s infinite 45s; }
.carousel-std-images img:nth-child(17) { animation: fade 105s infinite 48s; }
.carousel-std-images img:nth-child(18) { animation: fade 105s infinite 51s; }
.carousel-std-images img:nth-child(19) { animation: fade 105s infinite 54s; }
.carousel-std-images img:nth-child(20) { animation: fade 105s infinite 57s; }
.carousel-std-images img:nth-child(21) { animation: fade 105s infinite 60s; }
.carousel-std-images img:nth-child(22) { animation: fade 105s infinite 63s; }
.carousel-std-images img:nth-child(23) { animation: fade 105s infinite 66s; }
.carousel-std-images img:nth-child(24) { animation: fade 105s infinite 69s; }
.carousel-std-images img:nth-child(25) { animation: fade 105s infinite 72s; }
.carousel-std-images img:nth-child(26) { animation: fade 105s infinite 75s; }
.carousel-std-images img:nth-child(27) { animation: fade 105s infinite 78s; }
.carousel-std-images img:nth-child(28) { animation: fade 105s infinite 81s; }
.carousel-std-images img:nth-child(29) { animation: fade 105s infinite 84s; }
.carousel-std-images img:nth-child(30) { animation: fade 105s infinite 87s; }
.carousel-std-images img:nth-child(31) { animation: fade 105s infinite 90s; }
.carousel-std-images img:nth-child(32) { animation: fade 105s infinite 93s; }
.carousel-std-images img:nth-child(33) { animation: fade 105s infinite 96s; }
.carousel-std-images img:nth-child(34) { animation: fade 105s infinite 99s; }
.carousel-std-images img:nth-child(35) { animation: fade 105s infinite 102s; }

/* Animation for feedback text */
.feedback-text p:nth-child(1) { animation: fade 105s infinite; }
.feedback-text p:nth-child(2) { animation: fade 105s infinite 3s; }
.feedback-text p:nth-child(3) { animation: fade 105s infinite 6s; }
.feedback-text p:nth-child(4) { animation: fade 105s infinite 9s; }
.feedback-text p:nth-child(5) { animation: fade 105s infinite 12s; }
.feedback-text p:nth-child(6) { animation: fade 105s infinite 15s; }
.feedback-text p:nth-child(7) { animation: fade 105s infinite 18s; }
.feedback-text p:nth-child(8) { animation: fade 105s infinite 21s; }
.feedback-text p:nth-child(9) { animation: fade 105s infinite 24s; }
.feedback-text p:nth-child(10) { animation: fade 105s infinite 27s; }
.feedback-text p:nth-child(11) { animation: fade 105s infinite 30s; }
.feedback-text p:nth-child(12) { animation: fade 105s infinite 33s; }
.feedback-text p:nth-child(13) { animation: fade 105s infinite 36s; }
.feedback-text p:nth-child(14) { animation: fade 105s infinite 39s; }
.feedback-text p:nth-child(15) { animation: fade 105s infinite 42s; }
.feedback-text p:nth-child(16) { animation: fade 105s infinite 45s; }
.feedback-text p:nth-child(17) { animation: fade 105s infinite 48s; }
.feedback-text p:nth-child(18) { animation: fade 105s infinite 51s; }
.feedback-text p:nth-child(19) { animation: fade 105s infinite 54s; }
.feedback-text p:nth-child(20) { animation: fade 105s infinite 57s; }
.feedback-text p:nth-child(21) { animation: fade 105s infinite 60s; }
.feedback-text p:nth-child(22) { animation: fade 105s infinite 63s; }
.feedback-text p:nth-child(23) { animation: fade 105s infinite 66s; }
.feedback-text p:nth-child(24) { animation: fade 105s infinite 69s; }
.feedback-text p:nth-child(25) { animation: fade 105s infinite 72s; }
.feedback-text p:nth-child(26) { animation: fade 105s infinite 75s; }
.feedback-text p:nth-child(27) { animation: fade 105s infinite 78s; }
.feedback-text p:nth-child(28) { animation: fade 105s infinite 81s; }
.feedback-text p:nth-child(29) { animation: fade 105s infinite 84s; }
.feedback-text p:nth-child(30) { animation: fade 105s infinite 87s; }
.feedback-text p:nth-child(31) { animation: fade 105s infinite 90s; }
.feedback-text p:nth-child(32) { animation: fade 105s infinite 93s; }
.feedback-text p:nth-child(33) { animation: fade 105s infinite 96s; }
.feedback-text p:nth-child(34) { animation: fade 105s infinite 99s; }
.feedback-text p:nth-child(35) { animation: fade 105s infinite 102s; }

@keyframes fade {
  0% { opacity: 0; }
  0.48% { opacity: 0; } /* Start fade-in at 0s */
  1.43% { opacity: 1; } /* Fade-in complete at 0.5s */
  2.86% { opacity: 1; } /* Hold until 1s */
  3.33% { opacity: 0; } /* Fade-out complete at 1.5s */
  100% { opacity: 0; }  /* Stay hidden until next cycle */
}

/* Middle Section: Testimonials */
.middle {
  flex: 1 1 33.33%;
  padding: 20px;
  overflow: hidden;
  box-sizing: border-box;
  height: 480px;
}

.testimonials-carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.testimonials-container {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.testimonial {
  flex: 0 0 100%;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.student-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}

.student-name {
  font-size: 1.3rem;
  margin: 10px 0 5px;
  color: #333;
}

.student-course {
  font-size: 0.9rem;
  color: #666;
  margin: 5px 0;
}

.star-rating {
  font-size: 1rem;
  color: #FFD700;
  margin: 10px 0;
}

.feedback-text {
  font-size: 0.9rem;
  color: #444;
  max-width: 250px;
  margin: 10px auto;
}

/* Right Section: Video */
.right {
  flex: 1 1 40%;
  padding: 10px;
  box-sizing: border-box;
  height: 480px;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .tensention {
      padding: 20px;
      gap: 15px;
  }

  .left, .middle, .right {
      flex: 1 1 30%;
      min-width: 250px;
      height: 400px;
  }

  .nimtt-text {
      font-size: 3.5rem;
      top: 5px;
  }

  .carousel-std {
      height: 350px;
      top: 30px;
  }

  .carousel-std-images img {
      height: 250px;
  }

  .feedback {
      bottom: 10px;
      height: 60px;
  }

  .feedback-text p {
      font-size: 1rem;
  }

  .video-container {
      height: 100%;
  }
}

@media (max-width: 768px) {
  .tensention {
      flex-direction: column;
      padding: 15px;
      gap: 20px;
  }

  .left, .middle, .right {
      flex: 1 1 100%;
      min-width: 100%;
      height: 400px;
      padding: 0;
  }

  .nimtt-text {
      font-size: 3rem;
  }

  .carousel-std {
      height: 350px;
      top: 25px;
  }

  .carousel-std-images img {
      height: 250px;
  }

  .feedback {
      height: 60px;
  }

  .feedback-text p {
      font-size: 1rem;
  }

  .middle {
      height: auto;
      min-height: 400px;
  }

  .video-container {
      height: 400px;
  }

  .student-img {
      width: 70px;
      height: 70px;
  }

  .student-name {
      font-size: 1.2rem;
  }

  .student-course {
      font-size: 0.85rem;
  }

  .feedback-text {
      font-size: 0.85rem;
      max-width: 90%;
  }
}

@media (max-width: 480px) {
  .tensention {
      padding: 10px;
      gap: 15px;
  }

  .left, .middle, .right {
      height: 300px;
  }

  .nimtt-text {
      font-size: 2.5rem;
  }

  .carousel-std {
      height: 260px;
      top: 20px;
  }

  .carousel-std-images img {
      height: 180px;
  }

  .feedback {
      height: 60px;
  }

  .feedback-text p {
      font-size: 0.9rem;
      padding: 6px;
  }

  .middle {
      min-height: 300px;
  }

  .video-container {
      height: 300px;
  }

  .student-img {
      width: 60px;
      height: 60px;
  }

  .student-name {
      font-size: 1.1rem;
  }

  .student-course {
      font-size: 0.8rem;
  }

  .feedback-text {
      font-size: 0.8rem;
  }
}
/* TEN SECTION CLOSE */

/* ELEVEN SECTION START */
:root {
  --primary-bg: #282d33;
  --accent: #B11925;
  --text-light: #ffffff;
  --text-muted: #dad6d6;
}
.banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  padding: 2rem;
}
.banner-item {
  background: var(--primary-bg);
  border: 1px solid #3a3f45;
  padding: 1rem;
  text-align: center;
  overflow: hidden;

}
.banner-item i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}
.banner-item h4 {
  margin-bottom: .5rem;
  font-size: 0.8rem; ;
  color: var(--text-muted);
  font-weight: normal;
}
.banner-item .number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-light);
}

.section-choose {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 2rem;
  gap: 2rem;
}
.choose-image {
  flex: 1 1 300px;
}
.choose-image img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.choose-content {
  flex: 1 1 300px;
}
.choose-content h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: .5rem;
  position: relative;
  display: inline-block;
}
.choose-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 50px;
  height: 4px;
  background: var(--accent);
}
.choose-content ul {
  margin-top: 1rem;
  list-style: none;
}
.choose-content ul li {
  margin-bottom: .75rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.choose-content ul li::before {
  content: '\2013';
  margin-right: .5rem;
  color: var(--accent);
}

.banner-item:hover {
  background: var(--accent);
  cursor: default;
}
.banner-item:hover h4,
.banner-item:hover .number,
.banner-item:hover i {
  color: var(--text-light);
}

@media (max-width: 768px) {
  .section-choose { flex-direction: column; }
  .choose-content h2 { font-size: 1.75rem; }
}
.elevensection{
  background-color:#252B30;
}
/* ELEVEN SECTION CLOSE */

/* FOOETR START  */
footer {
  background-color: #1f2937;
  color: #ffffff;
  padding: 3rem 1rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 0px 40px;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
}
.footer-column h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-column ul {
  list-style: none;
  width: 100%;
}
.footer-column ul li {
  margin-bottom: 0.5rem;
}
.footer-column ul li a {
  color: #d1d5db;
  text-decoration: none;
  position: relative;
  display: inline-block;
}
.hover-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #B11925;
  transition: width 0.3s ease-in-out;
}
.hover-underline:hover::after {
  width: 100%;
}
.social-icons {
  display: flex;
  gap: 1rem;
  width: 100%;
}
.social-icon {
  color: #d1d5db;
  font-size: 1.25rem;
  transition: transform 0.3s ease, color 0.3s ease;
}
.social-icon:hover {
  transform: translateY(-4px);
  color: #B11925;
}
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: #9ca3af;
  font-size: 0.875rem;
}
/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
      grid-template-columns: repeat(2, 1fr);
      padding: 0px 0px;
  }
}
@media (max-width: 640px) {
  .footer-grid {
      grid-template-columns: 1fr;
      padding: 0px 0px;
  }
  .footer-column {
      padding: 0.5rem;
  }
}
.payment-section {
  display: flex;
  margin: 40px auto 0;
  gap: 10px;
  justify-content: center;
  align-items: center;
  max-width: 400px; /* Controls total width */
  margin: auto;
  flex-wrap: wrap;
}

.payment-icons img {
  width: 270px;   /* Adjust as needed */
  height: auto;   /* Maintain aspect ratio */
  border-radius: 8px; /* Optional: rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: soft shadow */
}

.payment-icons a {
  display: inline-block;
}

/* FOOETR CLOSE */

/* Responsive styles for 32-inch PC screens (2560px and above) */
@media screen and (min-width: 2560px) {
  /* Global adjustments */
  * {
    font-size: 1.1rem; /* Slightly increase base font size for readability */
  }

  body {
    max-width: 2400px; /* Cap content width for ultra-wide screens */
    margin: 0 auto; /* Center content */
  }

  /* Scroll to Top Button */
  #scrollToTopBtn {
    width: 60px;
    height: 60px;
    font-size: 28px;
    bottom: 30px;
    right: 30px;
  }

  /* First Navbar */
  .firstnav {
    padding: 20px 40px;
    font-size: 16px;
  }

  .nav-part {
    min-width: 250px;
    gap: 12px;
  }

  .nav-part.social a {
    padding: 8px;
    margin-right: 12px;
  }

  .members .dropdown {
    min-width: 150px;
    padding: 15px 0;
  }

  .members .dropdown a {
    font-size: 16px;
    padding: 10px 20px;
  }

  /* Second Navbar */
  .navbar {
    padding: 30px 40px;
  }

  .navbar .logo img {
    height: 80px;
  }

  .navbar .menu {
    gap: 30px;
  }

  .navbar .menu li a {
    font-size: 18px;
  }

  .dropdown-content {
    min-width: 140px;
    font-size: 15px;
  }

  .dropdown-content a {
    padding: 12px 25px;
  }

  .login-dropdown .log-in {
    padding: 10px 20px;
    font-size: 18px;
  }

  .login-dropdown .dropdown-content {
    min-width: 120px;
  }

  .login-dropdown .dropdown-content a {
    padding: 12px 25px;
    font-size: 16px;
  }

  /* Second Section (Carousel) */
  .secondsection {
    height: 900px; /* Increase height for larger screens */
  }

  .overlay {
    padding-top: 300px;
  }

  .overlay h2 {
    font-size: 80px;
  }

  .overlay p {
    font-size: 28px;
    margin: 15px 0;
  }

  .view-btn {
    font-size: 24px;
    padding: 20px 40px;
    border-width: 3px;
  }

  /* Fourth Section (About) */
  .fourthsection {
    padding: 120px 0;
  }

  .about-container {
    max-width: 1800px;
    gap: 60px;
  }

  .about-left img {
    max-width: 800px;
  }

  .about-right h2 {
    font-size: 48px;
    padding-bottom: 8px;
    border-bottom-width: 4px;
  }

  .about-right p {
    font-size: 20px;
    line-height: 1.8;
  }

  .read-more-btn {
    font-size: 18px;
    padding: 18px 40px;
  }

  /* Fifth Section */
  .fifthsection {
    padding: 100px 60px;
  }

  .section-title {
    font-size: 48px;
    margin-bottom: 20px;
  }

  .underline {
    width: 120px;
    height: 4px;
    margin-bottom: 60px;
  }

  .content-wrapper {
    max-width: 1800px;
    gap: 40px;
  }

  .video-section,
  .text-section {
    
    flex: 1 1 800px;
    padding: 20px;
  }

  .video-section video {
    border-radius: 16px;
  }

  .text-section p {
    font-size: 20px;
    line-height: 1.8;
  }

  _

  /* Trusted By Company (Logo Slider) */
  .trustedByCompany {
    padding: 60px 0;
  }

  .trusted-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .logo-track img {
    width: 180px;
    height: 120px;
  }

  /* Sixth Section */
  .sixthsection {
    max-width: 1800px;
    padding: 60px 20px;
  }

  .section-row {
    gap: 40px;
    margin-bottom: 80px;
  }

  .left-section,
  .middle-section,
  .right-section {
    min-width: 500px;
  }

  .left-section h3,
  .middle-section h3,
  .right-section h3 {
    font-size: 2rem;
  }

  .middle-section p,
  .right-section p {
    font-size: 18px;
    line-height: 1.7;
  }

  .left-section .carousel-container {
    height: 400px;
  }

  .left-section .carousel-track img {
    height: 400px;
    width: 533px; /* Maintain 3:4 ratio */
  }

  .carousel-container {
    height: 240px;
  }

  .carousel-track img {
    height: 240px;
  }

  .submit-btn {
    font-size: 18px;
    padding: 10px 20px;
  }

  .program-finder-container {
    max-width: 500px;
    padding: 30px;
  }

  .program-title {
    font-size: 24px;
    padding-bottom: 8px;
  }

  .program-left {
    font-size: 16px;
    gap: 25px;
  }

  .program-right select {
    font-size: 16px;
    padding: 8px;
  }

  .responsive-video {
    max-width: 800px;
  }

  /* Seventh Section */
  .sevensection {
    padding: 100px 60px;
  }

  .seven-container {
    max-width: 1800px;
    gap: 80px;
  }

  .seven-left video {
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .seven-right h2 {
    font-size: 48px;
    margin-bottom: 30px;
  }

  .seven-right p {
    font-size: 20px;
    line-height: 1.9;
  }

  .know-more-btn {
    font-size: 20px;
    padding: 20px 40px;
  }

  /* Eighth Section (Honory Section) */
  .honorysection {
    max-width: 1800px;
    padding: 40px 60px;
    gap: 60px;
  }

  .left-side {
    max-width: 900px;
    padding-left: 60px;
  }

  .left-side h2 {
    font-size: 48px;
    margin-bottom: 20px;
  }

  .left-side p {
    font-size: 20px;
    line-height: 1.8;
  }

  .right-side {
    max-width: 900px;
  }

  .honorysection video {
    height: 500px;
    border-radius: 12px;
  }

  .form-container {
    max-width: 800px;
    padding: 2rem;
    border-radius: 8px;
  }

  .form-group label {
    font-size: 1.1rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1.1rem;
    padding: 0.6rem;
  }

  .form-group textarea {
    min-height: 120px;
  }

  button[type="submit"] {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
  }

  /* Ninth Section (News) */
  .ninthsection {
    max-width: 2000px;
    padding: 40px 80px;
    gap: 24px;
  }

  .news-box {
    flex: 1 1 30%;
    max-width: 600px;
    padding: 24px;
    border-radius: 12px;
  }

  .news-box h2 {
    font-size: 2rem;
    padding-bottom: 6px;
  }

  .vertical-scroll {
    height: 350px;
  }

  .news-item img,
  .trending-item img {
    width: 70%;
    height: 200px;
  }

  .news-item h4,
  .trending-item h4 {
    font-size: 1.2rem;
  }

  .news-item p,
  .trending-item p {
    font-size: 1.1rem;
  }

  /* Tenth Section */
 /* Base layout styles */
.tensention {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 60px;
  gap: 40px;
  box-sizing: border-box;
}

.left {
  flex: 0 1 45%;
  max-width: 700px;
  height: 600px;
  position: relative;
}

.nimtt-text {
  position: relative;
  font-size: 6rem;
  top: 10px;
  margin: 0;
  color: #2D3436;
  font-family: 'Poppins', sans-serif;
}

.carousel-std {
  position: relative;
  height: 500px;
  top: 60px;
  overflow: hidden;
}

.carousel-std-images img {
  display: block;
  height: 450px;
  margin: 0 auto;
}

.feedback {
  height: 80px;
  overflow: hidden;
}

.feedback-text p {
  font-size: 1.5rem;
  margin: 0.5rem 0;
  font-family: 'Poppins', sans-serif;
  color: #555;
}

.right {
  flex: 0 1 50%;
  box-sizing: border-box;
}

.why-title {
  font-size: 2.8rem;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  color: #B11925;
}

.underline {
  width: 100px;
  height: 4px;
  background-color: #B11925;
  margin: 1rem 0;
}

.why-text {
  font-size: 1.1rem;
  line-height: 1.8;
  font-family: 'Poppins', sans-serif;
  color: #333;
}


/* Media Query for 32" PC (2560px and above) */
@media screen and (min-width: 2560px) {
  .tensention {
    max-width: 1400px; /* narrower on ultra-wide screens */
    padding: 80px 200px; /* larger side padding to reduce width */
    gap: 60px;
  }

  .nimtt-text {
    font-size: 8rem;
    top: 0;
  }

  .carousel-std {
    height: 540px;
    top: 80px;
  }

  .carousel-std-images img {
    height: 500px;
  }

  .feedback {
    height: 100px;
  }

  .feedback-text p {
    font-size: 1.8rem;
  }

  .why-title {
    font-size: 3.5rem;
  }

  .why-text {
    font-size: 1.3rem;
    line-height: 2;
  }
}

  /* Eleventh Section */
  .elevensection {
    max-width: 2400px;
    margin: 0 auto;
  }

  .banner {
    padding: 3rem;
    gap: 1.5rem;
  }

  .banner-item {
    padding: 1.5rem;
  }

  .banner-item i {
    font-size: 2.5rem;
  }

  .banner-item h4 {
    font-size: 1rem;
  }

  .banner-item .number {
    font-size: 2.5rem;
  }

  .section-choose {
    max-width: 1800px;
    margin: 0 auto;
    padding: 3rem;
    gap: 3rem;
  }

  .choose-content h2 {
    font-size: 3rem;
  }

  .choose-content ul li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .choose-image img {
    border-radius: 12px;
  }

  

  /* ELEVEN SECTION CLOSE */
  /* Footer */
  .footer {
    padding: 4rem 2rem;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem; /* Reduced gap to fit columns better */
    padding: 0 30px; /* Reduced padding to give more space for columns */
    flex-wrap: nowrap;
}

.footer-column {
    flex: 1;
    min-width: 120px; /* Reduced min-width to prevent overflow */
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-column ul li a {
    font-size: 1.1rem;
}

.social-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.footer-bottom {
    font-size: 1rem;
    margin-top: 3rem;
    text-align: center;
}
}
/* Optional: Add responsiveness for smaller screens */
@media (max-width: 768px) {
    .footer-grid {
        flex-wrap: wrap; /* Allow wrapping on small screens if needed */
        gap: 1rem;
        padding: 0 15px;
    }

    .footer-column {
        min-width: 100px;
        flex: 1 1 40%; /* Allow columns to take up more space on small screens */
    }
}
/* Responsive styles for 32-inch PC screens (2560px and above) */
@media screen and (min-width: 2560px) {
  .carousel-container {
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
    display: flex; /* Add flex to center content */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    max-width: 2400px; /* Cap width for ultra-wide screens */
    margin-left: auto; /* Center container */
    margin-right: auto;
  }

  .carousel-track {
    display: flex;
    width: max-content;
    animation: scrollCarousel 30s linear infinite;
    align-items: center; /* Ensure images are vertically centered */
  }

  .carousel-track img {
    width: 180px; /* Slightly larger for larger screens */
    height: auto;
    margin: 0 20px; /* Increased margin for better spacing */
    object-fit: contain;
  }

  @keyframes scrollCarousel {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
}


.news {
  width: 100%;
  background-color: #B11925;
  color: white;
  overflow: hidden;
  padding: 10px 0;
  box-sizing: border-box;
}

.ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  animation: scroll 40s linear infinite;
  width: max-content;
}

.ticker-content {
  display: flex;
}

.news-item {
  display: flex;
  align-items: center;
  margin-right: 60px;
  min-width: max-content;
}

.news-item img {
  height: 70px;
  width: auto;
  margin-right: 10px;
}

.news-text {
  color: white;
  font-size: 1rem;
  white-space: nowrap;
}

/* Smooth continuous scroll */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .news-item img { height: 40px; }
  .news-text { font-size: 0.9rem; }
  .news-item { margin-right: 40px; }
}

@media (max-width: 480px) {
  .news-item img { height: 30px; }
  .news-text { font-size: 0.8rem; }
  .news-item { margin-right: 30px; }
}


.payment-caption {
  background-color:#B11925;
  color: rgb(255, 252, 252);
  padding: 4px 32px;
  margin-top: 6px;
  border-radius: 4px;
  font-size: 12px;
  display: inline-block;
}

.facilities {
  padding: 3rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
  border-radius: 12px;
  margin-top: 2rem;
}

.facilities-heading {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: #1a2a44;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: sticky;
  top: 0;
  background: inherit;
  padding: 1rem 0;
  z-index: 10;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4rem;
  padding: 0 1rem;
}

.facility-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background-color: #fff;
  min-height: 280px;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: calc(var(--item-index) * 0.1s);
  opacity: 0;
}

.facility-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.facility-item::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.facility-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.facility-item:hover img {
  transform: scale(1.08);
}

.facility-item:hover::after {
  transform: translateY(0);
}

.image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .facilities-grid {
      grid-template-columns: repeat(3, 1fr);
  }
  .facilities-heading {
      font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .facilities-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  .facilities-heading {
      font-size: 2rem;
  }
  .facility-item {
      min-height: 240px;
  }
}

@media (max-width: 480px) {
  .facilities-grid {
      grid-template-columns: 1fr;
  }
  .facilities-heading {
      font-size: 1.8rem;
  }
  .facilities {
      padding: 2rem 1rem;
  }
}
.rules {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rules-heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rules-container {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.rules-list {
  list-style-position: outside;
  padding-left: 2rem;
}

.rules-list li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

.rules-list a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.rules-list a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .rules {
      padding: 1.5rem;
  }

  .rules-heading {
      font-size: 2rem;
  }

  .rules-container {
      font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .rules {
      padding: 1rem;
  }

  .rules-heading {
      font-size: 1.5rem;
  }

  .rules-container {
      font-size: 0.9rem;
  }

  .rules-list {
      padding-left: 1.5rem;
  }
}



.contact-header-image {
  width: 100%;
  height: auto;
  display: block;
}

.contactsection {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 20px;
  background-color: #f5f5f5;
  flex-wrap: wrap;
}

.contact-left {
  flex: 1.2;
  min-width: 300px;
}

.contact-video {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 400px;
}

.contact-right {
  flex: 1;
  min-width: 300px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  height: 400px; /* Matches video max-height */
  display: flex;
  flex-direction: column;
}

.contact-right h3 {
  margin: 0 0 15px;
  font-size: 16px;
  color: #2d3436;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
  flex-grow: 1; /* Ensures textarea expands within form height */
}

.contact-form button {
  padding: 10px;
  background-color:#B11925;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.contact-form button:hover {
  background-color:#D6303E;
}

.address-section {
  padding: 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.contact-info h3 {
  margin: 10px 0 5px;
  font-size: 16px;
  color: #2d3436;
}

.contact-info p {
  margin: 0 0 15px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.contact-icons-container {
  margin-top: 20px;
}

.contact-social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-social-icon {
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-social-icon:hover {
  transform: translateY(-4px);
  ;
}

/* Mobile Responsive Styles (max-width: 768px) */
@media (max-width: 768px) {
  .contactsection {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }

  .contact-left,
  .contact-right {
    min-width: 100%;
  }

  .contact-video {
    max-height: 300px;
    height: auto;
  }

  .contact-right {
    height: auto;
    padding: 15px;
  }

  .contact-right h3 {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
    padding: 8px;
  }

  .contact-form button {
    font-size: 12px;
    padding: 8px;
  }

  .address-section {
    padding: 15px;
  }

  .contact-info h3 {
    font-size: 14px;
    margin: 8px 0 4px;
  }

  .contact-info p {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .contact-social-icons {
    gap: 12px;
  }

  .contact-social-icon {
    font-size: 18px;
  }

  .contact-social-icon:hover {
    transform: translateY(-4px);
  }
}



.describe { 
  padding: 20px;
   max-width: 100%;
    margin: 0 auto;
   }
.describe img { 
  width: 100vw;
   height: auto; 
   display: block;
    margin: 0 calc(-50vw + 50%);
   }
.description { 
  margin-top: 20px;
   padding: 20px; 
   background-color:
    #f9f9f9; border-radius:
     8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1);
     }
.description p { 
  font-size: 16px;
   line-height: 1.6;
    color: #333; 
     }

     /* Adjust height for smaller screens */
@media (max-width: 768px) {
  .testimonial-embed-container iframe {
      height: 400px;
  }
}

@media (max-width: 480px) {
  .testimonial-embed-container iframe {
      height: 300px;
  }
}

.franchise-description {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  max-width: 900px;
  margin: auto;
  line-height: 1.8;
  color: #333;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.franchise-description h2,
.franchise-description h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.franchise-description ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.franchise-description li {
  margin-bottom: 10px;
}

.franchise-description strong {
  color: #2d3436;
}

.franchise-contact {
  background: #eef4ff;
  padding: 20px;
  border-left: 5px solid #0984e3;
  border-radius: 8px;
}

.franchise-contact a {
  color: #0984e3;
  text-decoration: none;
}

.franchise-contact a:hover {
  text-decoration: underline;
}
.associate-center-section {
  font-family: 'Poppins', sans-serif;
  max-width: 960px;
  margin: auto;
  background: #fdfdfd;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  line-height: 1.8;
  color: #2d3436;
}

.associate-center-section h2 {
  color: #2c3e50;
  margin-bottom: 20px;
}

.associate-center-section h3 {
  color: #2C3E50;
  margin-top: 30px;
  margin-bottom: 15px;
}

.associate-center-section ul {
  margin-left: 20px;
}

.associate-center-section ul li {
  margin-bottom: 10px;
}

.contact-box {
  background: #eef4ff;
  padding: 20px;
  border-left: 5px solid #0984e3;
  border-radius: 10px;
  margin-top: 30px;
}

.contact-box a {
  color: #0984e3;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}
.stdload img.responsive-img {
  width: 100%;
  height: auto;       /* keeps aspect ratio */
   /*max-height: 500px;  set max height as you want */
  object-fit: cover;  /* crop excess parts to fill */
  display: block;
}
.joinAsAPhd iframe {
  width: 100%;
  max-width: 100%;
  height: 400px;
  border: none;
  display: block;
}
.video-form-wrapper-1 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.video-section-1 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-section-1 video {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}

.form-section {
  flex: 1;
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
  
}

.form-section h2 {
  color: #B11925;
  margin-bottom: 20px;
  font-size: 30px; ;
  
}

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

.form-section input,
.form-section textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-section button {
  background-color: #B11925;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-section button:hover {
  background-color: #D6303E;
}

@media (max-width: 768px) {
  .video-form-wrapper {
    flex-direction: column;
  }
  .video-section video {
    max-width: 100%;
  }
}@media (max-width: 768px) {
  .video-form-wrapper-1 {
    flex-direction: column;
  }

  .video-section-1,
  .form-section {
    flex: 1 1 100%;
  }
}
.terms-container {
  max-width: 850px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
h1 {
  font-size: 2.2em;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5em;
  color: #34495e;
  margin-top: 20px;
  
  padding-bottom: 5px;
}
.un{
 border-bottom: 2px solid #3498db; 
}
p, li {
  font-size: 1em;
  color: #555;
  margin-bottom: 10px;
}
#uull {
  list-style-type: disc;
  margin-left: 20px;
}
a {
  color: #3498db;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.highlight {
  background-color: #e8f4f8;
  padding: 15px;
  border-left: 4px solid #3498db;
  margin-bottom: 20px;
  border-radius: 4px;
}
.contact-info {
  margin-top: 30px;
  text-align: center;
  font-size: 0.9em;
  color: #777;
}
.contact-info a {
  color: #3498db;
}
@media (max-width: 600px) {
  .terms-container {
      margin: 20px;
      padding: 15px;
  }
  h1 {
      font-size: 1.8em;
  }
  h2 {
      font-size: 1.3em;
  }
}
.dummy {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.dummy h2 {
  color: #333;
  font-size: 28px;
  margin-bottom: 20px;
}

.dummy p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.dummy .cta-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dummy .cta-button:hover {
  background-color: #0056b3;
}

.dummy .extra-content {
  transition: opacity 0.3s ease;
}

.dummy .extra-content.show {
  display: block;
  opacity: 1;
}

.faq {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}
.faq h1 {
  text-align: center;
  font-size: 45px;
  color: #1a1a1a;
  margin-bottom: 40px;
  font-weight:bold;
}
.faq-item {
  margin-bottom: 15px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #ffffff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: #080808;
  border-bottom: 2px solid #e0e0e0;
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}
.faq-question:hover {
  color: #3D3D3D;
  background-color: #f9fafb;
  border-bottom-color: #4a4a4a;
}
.faq-question span {
  flex: 1;
}
.faq-question img.arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease;
}
.faq-question img.arrow.down {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
  max-height: 0;
  overflow: hidden;
  background-color: #ffffff;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.faq-answer.active {
  max-height: 500px;
  padding: 20px;
  opacity: 1;
}
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
.faq-answer.active p {
  animation: fadeIn 0.4s ease;
}


  /* Pop-up overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

/* Show animation for pop-up content */
/* POPUP OVERLAY */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}
.popup-overlay.show .popup-content {
  transform: translateY(0);
  opacity: 1;
}

/* POPUP CONTENT */
.popup-content {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  background: linear-gradient(145deg, #dbeafe, #eff6ff, #ffffff);
  color: #1f2937;
  padding: 23px;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

/* CLOSE BUTTON */
.close-button {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: white;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}
.close-button:hover {
  transform: scale(1.2) rotate(180deg);
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}
.popup-overlay.show .close-button {
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* FORM */
.form-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #1e293b;
}
.form-group input {
  padding: 10px;
  font-size: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  transition: all 0.2s ease;
}
.form-group input:focus {
  transform: scale(1.02);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  border-color: #6366f1;
  outline: none;
}
.form-group input::placeholder {
  color: #9ca3af;
}

/* SUBMIT BUTTON */
.submit-button {
  padding: 10px;
  background: #4f46e5;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.submit-button:hover {
  background: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

/* TITLES */
.popup-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: #111827;
}
.footer-text {
  margin-top: 16px;
  font-size: 14px;
  color: #6b7280;
  text-align: center;
}

/* VIDEO POPUP (Bottom-Right Fixed) */
.popvdo {
  position: fixed;
  bottom: 5px;
  right: 20px;
  width: 336px;
  height: 280px;
  background-color: #000;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  overflow: hidden;
}
.popvdo video {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
}

/* VIDEO CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .popvdo {
    bottom: 30px;
    width: 90%;
    height: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 20px;
  }
  .popvdo video {
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 5;
  }
  .close-btn {
    width: 28px;
    height: 28px;
    font-size: 18px;
    top: 6px;
    right: 6px;
  }
}
@media (max-width: 480px) {
  .close-btn {
    width: 26px;
    height: 26px;
    font-size: 16px;
    top: 4px;
    right: 4px;
  }
}


/* Responsive adjustments */
@media (max-width: 480px) {
  .popup-content {
      padding: 24px;
      max-width: 95%;
  }

  .popup-title {
      font-size: 22px;
  }

  .submit-button {
      font-size: 15px;
  }
}


.member-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.member-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px;
  background-color: #f9f9f9;
  align-items: flex-start; /* 👈 Align both to the top */
  justify-content: center;
}

.member-left {
  flex: 1 1 336px;
  max-width: 336px;
  align-self: flex-start; /* 👈 Keep left column from stretching or shifting */
}

.member-left img {
  width: 336px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.member-right {
  flex: 2 1 500px;
  max-width: 60%;
  color: #2c3e50;
}

.member-right h2 {
  font-size: 26px;
  margin-bottom: 15px;
}

.member-right p {
  font-size: 16px;
  line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .member-content {
   
    flex-direction: column;
  }

  .member-left,
  .member-right {
   
    max-width: 100%;
  }

  .member-left img {
    width: 100%;
    
  }
}
