
.patner-section{background: url(../image/partner-bg.jpg);}
.bg-fixed { background-attachment: fixed !important; } 
.patner-section:before { background: rgb(0 0 0 / 52%); } 
.patner-logo { display: flex;   align-items: center;  justify-content: center;  height: 120px;   
  background: #fff;  box-shadow: 0px 0px 13px 0px rgba(0,0,0,.1); border: solid 3px;
  border-radius: 22px; width: 218px;}
  .patner-logo img {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    padding: 10px;
}
  .carousel-section {
      background: url('../image/partner-bg.jpg') no-repeat center center;
      background-size: cover;
      padding: 100px 0;
      position: relative;
      width: 100%;
    }

.main-section {
    padding: 60px 0px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    position: relative;
}

  .hero-section {
    padding-bottom: 56.25% !important;
    padding-top: 0px !important;
}

    @media (min-width: 768px) and (max-width: 991px) {
      .carousel-item .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
      }
    }
    /* Video Slider Styles css start */
/* Video Slider Base Styles */
.video-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-slider .swiper-wrapper {
    height: 100%;
}

.video-slider .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

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

/* Responsive Height Tweaks */
@media (max-width: 992px) {
    .video-slider {
        height: 75vh;
    }
}

@media (max-width: 768px) {
    .video-slider {
        height: 60vh;
    }
}

@media (max-width: 480px) {
    .video-slider {
        height: 50vh;
    }
}
/********** video slider end *********/


/* ======= Mega Menu: Centered & Auto Width start ======= */

header.style-1 .main-menu > ul > li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white-color);
  border-top: 4px solid var(--primary-color); /* Top border */
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  width: max-content;
  max-width: 1000px;
  min-width: 300px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-sizing: border-box;

  /* Added scrollable height */
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Show submenu on hover */
header.style-1 .main-menu > ul > li.menu-item-has-children:hover > ul.sub-menu {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

/* Submenu items: 5 equal columns */
header.style-1 .main-menu > ul > li ul.sub-menu > li {
  flex: 0 0 20%;
  padding: 10px;
  box-sizing: border-box;
}

/* Submenu links */
header.style-1 .main-menu > ul > li ul.sub-menu > li > a {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  font-family: "Rubik", sans-serif;
  color: rgba(17, 17, 17, 0.9);
  transition: color 0.3s ease;
  line-height: 1.5;
  white-space: normal;
  word-break: break-word;
}

/* Hover effect */
header.style-1 .main-menu > ul > li ul.sub-menu > li > a {
  transition: all 0.3s ease;
  transform: translateX(0);
}

header.style-1 .main-menu > ul > li ul.sub-menu > li > a:hover {
  transform: translateX(5px);
  color: var(--primary-color);
}

/* Optional scrollbar styling for WebKit browsers */
header.style-1 .main-menu > ul > li ul.sub-menu::-webkit-scrollbar {
  width: 6px;
}

header.style-1 .main-menu > ul > li ul.sub-menu::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

/* ==== Mobile Responsive: Stack Submenu Vertically ==== */
@media (max-width: 991px) {
  header.style-1 .main-menu > ul > li ul.sub-menu {
    position: static;
    transform: none;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0;
    width: 100%;
    flex-direction: column;
    box-shadow: none;
    border-radius: 0;
    border-top: none;

    /* Adjust height and scroll for mobile too if needed */
    max-height: none;
    overflow: visible;
  }

  header.style-1 .main-menu > ul > li ul.sub-menu > li {
    flex: 1 1 100%;
    padding: 0;
  }

  header.style-1 .main-menu > ul > li ul.sub-menu > li > a {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
  }

  header.style-1 .main-menu > ul > li ul.sub-menu > li:last-child > a {
    border-bottom: none;
  }
}




/* ======= Mega Menu: Centered & Auto Width end ======= */

.team-image {
    height: 300px; /* adjust as per your preferred height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image img {
    height: 100%;
    width: auto;
    object-fit: cover; /* ensures the image covers the container proportionally */
}

/****on going event section start****/
 /* === Event Section Styling === */
.event-section {
  position: relative;
  padding: 60px 0;
  background: url("../image/events-bg.jpg") center/cover no-repeat fixed;
}

.event-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* Dark overlay for readability */
}

.event-section .container {
  position: relative;
  z-index: 1;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* === Event Card === */
.event-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #fff;
}

/* Image Styling */
.event-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Gradient Overlay */
.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 60%);
  opacity: 1;
  z-index: 1;
}

/* Event Title */
.event-overlay {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.event-overlay h4 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0px 3px 8px rgba(0, 0, 0, 0.7);
  margin: 0;
}

/* Hover Effects */
.event-card:hover img {
  transform: scale(1.1);
}

.event-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .event-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .event-card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .event-card img {
    height: 150px;
  }
}


/****on going event section end****/