*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth !important;
}

body {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  color: #494949;
  line-height: 1.7;
  overflow-x: hidden;
}

:active,
:hover,
:focus {
  outline: 0 !important;
  outline-offset: 0 !important;
}

.navbar-toggler:focus {
  box-shadow: none;
  border: none;
}

.navbar-toggler {
  box-shadow: none;
  border: none;
}

a {
  text-decoration: none;
  color: #fff;
  transition: all 0.4s;
  font-weight: 600;
}

a:hover {
  color: #ec4949 !important;
}

.shadow-on-hover {
  transition: all 0.2s;
}

.shadow-on-hover:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

img {
  width: 100%;
}

.top-bar {
  background: linear-gradient(
    135deg,
    #ec4949 0%,
    #ec4949 30%,
    #0c2a4f 30%,
    #0c2a4f 50%
  );
  color: white;
  padding: 5px 0;
}

@media (max-width: 992px) {
  .top-bar {
    background: #ec4949;
  }
  .top-social {
    display: none !important;
  }
  .top-contact {
    font-size: 10px !important;
  }
  .top-contact i {
    display: none !important;
  }

  .top-btn {
    display: none;
  }
}

.top-bar a,
.top-bar i {
  color: white;
  margin-right: 10px;
}

.navbar-brand img {
  width: 100%;
}

.navbar {
  padding: 6px !important;
  background-color: #0c2a4f;
  color: #fff !important;
}

/* .nav-item {
  margin-left: 15px;
} */

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #ec4949;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #ec4949;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.admission-btn {
  background-color: #ec4949;
  color: white !important;
  padding: 20px 30px;
  border-radius: 0 !important;
  font-weight: 600;
  -webkit-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}

.admission-btn:hover {
  background-color: #0c2a4f !important;
  color: #fff !important;
}

.navbar-light .navbar-nav .nav-link {
  color: #fff !important;
  padding: 5px 30px;
}

@media (max-width: 992px) {
  .navbar-light .navbar-nav .nav-link {
    color: #fff !important;
    padding: 5px 0px;
  }
}

/* menu */
#menu .nav-pills .nav-link {
  background-color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-left: 2px;
  margin-right: 4px;
  color: #222;
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#menu .nav-pills .nav-link.active {
  background-color: #ec4949;
  color: #fff;
}
.menu-item {
  cursor: pointer;
}

.menu-item .stars {
  color: #ec4949;
}

.menu-item-content {
  padding: 0.5rem 1rem;
}

@media (min-width: 992px) {
  .dropdown > .dropdown-menu {
    visibility: hidden;
    opacity: 0;
    top: 100%;
    display: block;
    transition: all 0.1s ease-out;
  }
  .dropdown:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    padding: 20px 0;
    display: block;
    transition: all 0.3s ease-in-out;
  }
  .dropdown-toggle::after {
    display: inline-block;
    margin-left: -0.196em;
    vertical-align: 0.186em;
  }
}

/* Carausel hero */

#hero-carausel {
  width: 100%;
  height: 80vh;
  position: relative;
}

#hero-carausel .swiper-slide {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#hero-carausel .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.slide-content {
  position: relative;
  z-index: 10;
  color: white;
  text-align: center;
  padding: 20px;
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/*#hero-carausel  Swiper navigation buttons */
#hero-carausel .swiper-button-next,
#hero-carausel .swiper-button-prev {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

#hero-carausel .swiper-button-next:hover,
#hero-carausel .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
}

#hero-carausel .swiper-button-next::after,
#hero-carausel .swiper-button-prev::after {
  font-size: 1rem !important;
  font-weight: bold;
}

/*#hero-carausel  Swiper pagination */
#hero-carausel .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: white;
  opacity: 0.6;
  transition: all 0.3s ease;
}

#hero-carausel .swiper-pagination-bullet-active {
  opacity: 1;
  background: #ec4949;
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
  }

  #hero-carausel .swiper-button-next,
  #hero-carausel .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  #hero-carausel .swiper-button-next::after,
  #hero-carausel .swiper-button-prev::after {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .slide-content {
    padding: 15px;
  }

  .slide-content h2 {
    font-size: 1.5rem;
  }

  #hero-carausel .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
}

/* #ourinstitution */

.programs-section {
  /* padding: 20px 0; */
  background-color: #fffef4;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  /* margin-bottom: 50px; */
  color: #2c3e50;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #ec4949;
}

/* Program card styles */
.program-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #ec4949;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.program-title {
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #2c3e50;
}

.program-description {
  color: #7f8c8d;
  margin-bottom: 15px;
  font-size: 14px;
}

.read-more {
  display: inline-block;
  color: #ec4949;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.read-more:hover {
  color: #ec4949;
  text-decoration: underline;
}

/* Swiper styles */
#ourinstitution .swiper {
  padding: 10px 0 60px;
  width: 100%;
}

#ourinstitution .swiper-slide {
  height: auto;
}

#ourinstitution .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #bdc3c7;
  opacity: 1;
}

#ourinstitution .swiper-pagination-bullet-active {
  background: #ec4949;
}

#ourinstitution .swiper-button-next,
#ourinstitution .swiper-button-prev {
  color: #ec4949;
  background: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#ourinstitution .swiper-button-next::after,
#ourinstitution .swiper-button-prev::after {
  font-size: 1.2rem;
  font-weight: bold;
}

#ourinstitution .swiper-button-next:hover,
#ourinstitution .swiper-button-prev:hover {
  background: #fff;
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .program-card {
    padding: 25px;
  }

  .program-title {
    font-size: 1.3rem;
  }

  #ourinstitution .swiper-button-next,
  #ourinstitution .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .programs-section {
    padding: 20px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .program-card {
    padding: 20px;
  }

  #ourinstitution .swiper-button-next,
  #ourinstitution .swiper-button-prev {
    display: none;
  }
}

/* aboutus Styles */
.admission-aid {
  background-color: #f8f9fa;
}

h1 {
  color: #212529;
  position: relative;
  padding-bottom: 15px;
}

.divider {
  width: 80px;
  height: 3px;
  background-color: #ec4949;
  opacity: 0.7;
}

.btn-read-more {
  display: inline-block;
  color: #ec4949;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 0;
  position: relative;
}

.btn-read-more:hover {
  color: #f26565;
}

.btn-read-more::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ec4949;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.btn-read-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lead {
  font-size: 1.25rem;
  color: #495057;
  text-align: justify;
}

.leade {
  color: #495057;
  text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1.1rem;
  }
}

/* img grid Styles */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  /* gap: 0; */
  overflow: hidden;
}

.grid-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: white;
  font-size: 24px;
  font-weight: 500;
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05); /* subtle border for visibility */
}

/* First item spans 2 rows */
.item1 {
  grid-row: span 2;
  height: 100%; /* takes full height of 2 rows */
}

.grid-item:hover {
  transform: scale(1.01);
  z-index: 1;
}

/* Individual item backgrounds - replace with your actual images */
.item1 {
  background-image: url("../img/a1.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.item2 {
  background-image: url("../img/2.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.item3 {
  background-image: url("../img/3.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.item4 {
  background-image: url("../img/4.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.item5 {
  background-image: url("../img/5.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/* .item6 {
  background-color: #959595;
  color: white;
}
.item7 {
  background-color: #868686;
  color: white;
} */

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .item1 {
    grid-row: span 1;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  .grid-item {
    height: 200px;
  }
  .item1 {
    grid-row: span 1;
    height: 100%;
  }
}

/* principal-says */

#prinsipal-says {
  color: #fff;
  padding: 40px 0;
  z-index: 3;
  overflow: hidden;
  position: relative;
  background-image: linear-gradient(#0000009d, #0000009d), url("../img/1s.jpg");
  background-attachment: fixed;
}

.prinsipal-says {
  color: #fff;
  padding: 40px 20px;
  z-index: 3;
  overflow: hidden;
  background: #155b7697;
  backdrop-filter: blur(10px);
  border-radius: 40px;
}

#prinsipal-says i {
  font-size: 50px;
  color: #ffffff;
  /* z-index: 1; */
}

.principal-msg p {
  text-align: justify;
}
.princi-img {
  height: 100%;
  display: flex;
  gap: 4px;
}

.princi-img img {
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  border-radius: 70px 70px 0 0;
}

/* ourportfolio */
.ourportfolio .swiper {
  padding-bottom: 40px;
}

.ourportfolio .swiper-slide {
  width: auto;
}

.ourportfolio .card img {
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.ourportfolio .card:hover img {
  transform: scale(1.05);
  /* transform-origin: left; */
}

@media (max-width: 576px) {
  .ourportfolio .card img {
    height: 180px;
  }
}

.ourportfolio .swiper-button-next,
.ourportfolio .swiper-button-prev {
  bottom: 10px; /* Adjust this value as needed */
  top: auto; /* Override default top positioning */
  width: 40px; /* Adjust button size as needed */
  height: 40px;
  background: #ec4949;
  color: #fff;
}
.ourportfolio .swiper-button-next::after,
.ourportfolio .swiper-button-prev::after {
  font-size: 15px !important;
}

.ourportfolio .swiper-button-next {
  right: 10px; /* Position next button */
}

.ourportfolio .swiper-button-prev {
  right: 60px; /* Position prev button left of next button (40px width + 20px gap) */
  left: auto; /* Override default left positioning */
}

/* contact */

.contact-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}
.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.contact-form h2 {
  margin-bottom: 20px;
  font-weight: 600;
}
.contact-form .form-control {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #ddd;
  padding-left: 0;
  margin-bottom: 25px;
}
.contact-form .form-control:focus {
  box-shadow: none;
  border-bottom-color: #ec4949;
}
.contact-form .btn {
  border-radius: 0;
  padding: 10px 30px;
  background-color: #ec4949;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-info i {
  margin-right: 10px;
  color: #ec4949;
}

/* annauncment */

.announcement-slider {
  background: #ec4949;
  color: #fff;
  /* padding: 60px 0; */
  font-family: "Arial", sans-serif;
}
.announcement-slider .swiper {
  /* max-width: 900px; */
  margin: 0 auto;
}

.announcement {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 12px;
}
.announcement-slider .swiper-slide {
  padding: 20px;
  text-align: start;
}
.announcement-content {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.6;
  /* margin-bottom: 15px; */
  padding: 0 50px;
}
.book-title {
  font-size: 20px;
  font-style: italic;
  color: #ffffff;
  font-weight: 500;
  margin-top: 10px;
}
.navigation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 30px; */
}

.announcement-label {
  margin: 0 25px;
  font-weight: 600;
  color: #ffffff;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.announcement-slider .swiper-button-next,
.announcement-slider .swiper-button-prev {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: 30px;
  height: 30px;
  margin: 0;
  color: #333;
  background: transparent;
  border: 2px solid #333;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.announcement-slider .swiper-button-next:hover,
.announcement-slider .swiper-button-prev:hover {
  background: #333;
  color: white;
}
.announcement-slider .swiper-button-next:after,
.announcement-slider .swiper-button-prev:after {
  font-size: 14px;
  font-weight: bold;
}
.announcement-slider .swiper-pagination {
  position: relative;
  margin-top: 20px;
}
.announcement-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
}
.announcement-slider .swiper-pagination-bullet-active {
  background: #333;
}

/* footer */

.footer {
  background-color: #1f3971;
  padding: 40px 0;
  color: #fff;
  font-family: Arial, sans-serif;
}

/* .newsletter-text {
  padding-bottom: 15px;
} */

.newsletter-text h5 {
  font-size: 30px;
  line-height: 1;
  /* padding-bottom: 15px; */
  font-weight: 700;
}

.newsletter-text p {
  font-size: 14px;
  line-height: 1.5;
  padding-bottom: 15px;
  font-weight: 400;
  margin-bottom: 15px;
  border-bottom: 1px solid #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}
.link-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  color: #fdfdfd;
  text-decoration: none;
  font-size: 14px;
}
.footer-link:hover {
  text-decoration: underline;
}
.copyright {
  font-size: 12px;
  color: #d5d5d5;
  margin-bottom: 10px;
}
.country-selector {
  font-size: 12px;
  color: #d5d5d5;
}

.social-icons {
  display: flex;
  gap: 35px;
}

.social-icons a {
  color: #fbfafa;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #555;
}

/******************************************************************
 other page hero **************************************************/

.otherpage-hero {
  background-image: url("../img/1s.jpg"); /* Replace with your image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.646); /* Dark overlay */
  z-index: 1;
}

.otherpage-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.otherpage-content h2 {
  font-weight: 700;
  font-size: 2.5rem;
  color: white;
}

.otherpage-content p {
  margin: 0;
}
/* style To S.D.B.D PVT. I.T.I */
.section {
  padding: 60px 30px;
}

.title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: "Noto Serif", serif;
}

.description {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #111;
  text-align: justify;
}

.highlight {
  font-weight: bold;
}

.darkimage {
  height: 500px;
}

.image-wrapper {
  background-color: #0c2a4f;
  padding: 40px;
  display: flex;
  justify-content: end;
  align-items: end;
  text-align: end;
  float: right;
  height: 350px;
  width: 450px;
  position: relative;
}

.goalteamimg img {
  border-radius: 90px 0 0 0;
  height: 400px;
  width: 100%;
  position: absolute;
  top: 40px;
  left: -40px;
}

@media (max-width: 992px) {
  .image-wrapper {
    border-radius: 0;
    padding: 20px;
    width: 100%;
  }

  .image-wrapper img {
    border-radius: 0;
    width: 100%;
    height: 100%;
  }
}

/* scrolling-logo */
.scrolling-logo {
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  animation: 25s logo-slider infinite linear;
}

.slider img {
  height: 90px;
  width: 180px;
  margin: 0 40px;
  cursor: pointer;
  filter: grayscale(100%);
}

.slider img:hover {
  filter: none;
}

@keyframes logo-slider {
  from {
    transform: translatex(0);
  }
  to {
    transform: translatex(-100%);
  }
}

.scrolling-logo:hover .slider {
  animation-play-state: paused;
}

.scrolling-logo:before,
.scrolling-logo:after {
  content: "";
  position: absolute;
  top: 0;
  width: 400px;
  height: 100%;
  z-index: 1000;
}

.scrolling-logo:before {
  left: 0;
  background: linear-gradient(to left, transparent, rgb(255, 255, 255));
}
.scrolling-logo:after {
  right: 0;
  background: linear-gradient(to right, transparent, rgb(255, 255, 255));
}

@media (max-width: 992px) {
  .scrolling-logo:before,
  .scrolling-logo:after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 1000;
  }
}

/* Faculty Section Styles */
.faculty-section {
  background-color: #f8f9fa;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 0;
}

/* Faculty Card Styles */
.faculty-card {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
}

.faculty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.faculty-img {
  position: relative;
  overflow: hidden;
}

.faculty-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.faculty-card:hover .faculty-img img {
  transform: scale(1.1);
}

.social-links {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  background: rgba(44, 62, 80, 0.8);
  padding: 15px 0;
  text-align: center;
  transition: all 0.3s ease;
}

.faculty-card:hover .social-links {
  bottom: 0;
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  border-radius: 50%;
  background: #fff;
  color: #2c3e50;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #ec4949;
  color: #fff !important;
}

.faculty-info {
  padding: 25px;
  text-align: center;
}

.faculty-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
}

/* Swiper Custom Styles */
.facultySwiper {
  padding: 20px 0 50px;
}

.faculty-section .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #bdc3c7;
  opacity: 1;
}

.faculty-section .swiper-pagination-bullet-active {
  background: #ec4949;
}

.faculty-section .swiper-button-next,
.faculty-section .swiper-button-prev {
  color: #ec4949;
  background: rgba(255, 255, 255, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faculty-section .swiper-button-next:after,
.faculty-section .swiper-button-prev:after {
  font-size: 1rem;
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .faculty-img img {
    height: 250px;
  }

  .faculty-section .swiper-button-next,
  .faculty-section .swiper-button-prev {
    display: none;
  }
}

/* iti-courses Styles */
.iti-courses {
  background-color: #fff;
}

.section-header {
  padding: 20px 0;
}

.institute-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ec4949;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.institute-title {
  font-size: 1.5rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* Course Card Styles */
.course-card {
  background: #fff;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
  border: 1px solid #e9ecef;
}

.course-header {
  background-color: #ec4949;
  color: white;
  padding: 15px 20px;
}

.course-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.course-body {
  padding: 20px;
}

.course-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #495057;
}

.course-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.9rem;
  color: #ec4949;
}

.highlight-item i {
  font-size: 1rem;
}

.course-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-details li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}

.detail-label {
  font-weight: 600;
  color: #ec4949;
}

.detail-value {
  color: #495057;
}

.course-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-benefits li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.course-benefits i {
  color: #ec4949;
  margin-top: 3px;
}

/* Swiper Custom Styles */
.itiSwiper {
  padding: 20px 0 70px;
  position: relative;
}

.iti-courses .swiper-navigation-bottom {
  position: absolute;
  bottom: 10px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.iti-courses .swiper-button-prev-custom,
.iti-courses .swiper-button-next-custom {
  width: 40px;
  height: 40px;
  background: #ec4949;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.iti-courses .swiper-button-prev-custom:hover,
.iti-courses .swiper-button-next-custom:hover {
  background: #ec4949;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .institute-name {
    font-size: 2rem;
  }

  .institute-title {
    font-size: 1.2rem;
  }

  .course-name {
    font-size: 1.3rem;
  }

  .iti-courses .swiper-navigation-bottom {
    right: 10px;
  }
}

.galleryswiper .swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 80px;
}

.galleryswiper .swiper-slide {
  background: none;
  width: 300px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.galleryswiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galleryswiper .swiper-button-prev-custom button,
.galleryswiper .swiper-button-next-custom button {
  width: 40px;
  height: 40px;
  font-weight: bold;
  font-size: 20px;
  border: 2px solid #000;
}

/* gallery-container */
.gallery-item {
  position: relative;
  overflow: hidden;
  /* border-radius: 6px; */
}

.gallery-item img {
  width: 100%;
  display: block;
  /* border-radius: 6px; */
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.icon-group i {
  color: #fff;
  font-size: 20px;
  margin: 0 10px;
  cursor: pointer;
}

/* Aplly form */

.aply-form-sec {
  background-color: #f8f9fa;
  padding: 30px 0;
}

.form-body {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 30px !important;
}

.form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #ced4da;
  margin-bottom: 5px;
}

.form-control:focus,
.form-select:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

textarea.form-control {
  min-height: 100px;
}

.button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  display: block;
  margin: 20px auto 0;
  width: 200px;
  text-align: center;
}

.button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .form-body {
    padding: 20px;
  }

  h1 {
    font-size: 24px;
  }
}
