/* Background Gradients */
.bg-gradient-1 {
  background: linear-gradient(90deg, #15b2ff 10%, #4867ff 80%);
  color: #fff;
  /* for readability */
}

.bg-gradient-2 {
  background: linear-gradient(90deg, #4867ff 10%, #15b2ff 80%);
  color: #fff;
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(90deg, #15b2ff, #4867ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Border Gradient (using border-image) */
.border-gradient-1 {
  border: 2px solid;
  border-image: linear-gradient(90deg, #15b2ff, #4867ff) 1;
}

.border-gradient-2 {
  border: 2px solid;
  border-image: linear-gradient(90deg, #4867ff, #15b2ff) 1;
}

/* Buttons */
.btn-gradient {
  background: linear-gradient(90deg, #15b2ff 0%, #4867ff 100%);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  transition: 0.3s ease;
  font-weight: 500;
  cursor: pointer;
}

.btn-gradient:hover {
  background: linear-gradient(90deg, #4867ff 0%, #15b2ff 100%);
  box-shadow: 0 0 10px rgba(21, 178, 255, 0.5);
}

/* Gradient Borders for boxes or cards */
.card-gradient-border {
  padding: 2px;
  background: linear-gradient(90deg, #15b2ff, #4867ff);
  border-radius: 10px;
}

.card-gradient-inner {
  background: white;
  border-radius: 8px;
  padding: 20px;
}

/* Optional: Gradient Line Separator */
.hr-gradient {
  height: 3px;
  border: none;
  background: linear-gradient(90deg, #15b2ff, #4867ff);
  margin: 20px 0;
}

/* Sub - Heading Box */
.subheading-box {
  border: 1px solid rgba(87, 87, 90, 0.06);
  background: #57575a0f;
  display: inline-block;
  padding: 5px 10px;
}

/* Home Page : About Us Section */
.aboutus-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
  padding-top: 40px;
}

.aboutus-list .aboutus-list-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 40px;
}

.aboutus-list .aboutus-list-wrap .number {
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  font-size: 18px;
  font-weight: 500;
  -webkit-box-shadow: 0px 0px 20px 10px rgba(190, 190, 190, 0.17);
  box-shadow: 0px 0px 20px 10px rgba(190, 190, 190, 0.17);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  background: linear-gradient(90deg, #15b2ff 10%, #4867ff 80%);
}

.aboutus-list .aboutus-list-wrap .aboutus-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 4px;
  border-bottom: 1px solid rgba(87, 87, 90, 0.6);
  padding-bottom: 22px;
  margin-bottom: 21px;
}

.aboutus-list .aboutus-list-wrap:after {
  content: "";
  position: absolute;
  width: 1px;
  height: calc(100% + 40px);
  background: rgba(87, 87, 90, 0.6);
  left: 20px;
  z-index: -1;
  bottom: 0;
}

@media (max-width: 767px) {
  .aboutus-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Home Page : About Us Section END*/

/* Homapage banner text header */
.video-overlay {
  z-index: 2;
}

.typed-cursor {
  display: inline-block;
  animation: blink 0.7s infinite;
  color: #fff;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/*  Homapage banner text header End */

.industry-card {
  border: 1px solid rgba(87, 87, 90, 0.6);
  border-radius: 48px;
  padding: 30px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: auto;
  box-sizing: border-box;
}

.industry-card h3 {
  line-height: 1.3;
  margin-bottom: 10px;
  word-wrap: break-word;
}

.industry-card img {
  border-radius: 24px;
}

.object-fit-cover {
  object-fit: cover;
}

.step-circle {
  z-index: 5;
}

/* Industry Serve End */
.service-hover-card {
  background-size: cover;
  background-position: center;
  border-radius: 48px;
  transition: all 0.4s ease-in-out;
  position: relative;
  z-index: 1;
}

.service-hover-card .zoom-bg {
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease-in-out;
  transform: scale(1);
  z-index: 0;
  opacity: 1;
  border-radius: 30px;
}

.service-hover-card:hover .zoom-bg {
  transform: scale(1.1);
}

.service-hover-card .overlay {
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
  border-radius: 30px;
}

.service-hover-card .hover-content {
  position: relative;
  z-index: 2;
}

/* Project Section in Home Page */

.project-card {
  border-radius: 20px;
  padding: 30px;
  min-height: auto;
  /* ensures text fits */
  background: linear-gradient(90deg, #15b2ff 10%, #4867ff 80%);
  color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
  background: linear-gradient(90deg, #1ac2ff 10%, #5a7bff 80%);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project-card h4,
.project-card p {
  transition: color 0.3s ease;
}

.project-card:hover h4,
.project-card:hover p {
  color: #ffffff;
}

.service-item:hover .service-content-inner i {
  color: #fff !important;
  background: #0d6efd;
  border-radius: 50%;
  padding: 4px;
  transition: all 0.3s ease;
}

.service-content-inner li i {
  color: #0d6efd;
  /* primary blue */
  margin-right: 6px;
  transition: all 0.3s ease;
}

/* On card hover → text + icons turn white */
.service-item:hover .service-content-inner li,
.service-item:hover .service-content-inner li i {
  color: #fff !important;
}

/* Project Section   */
.project-card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  /* ensures equal height */
  display: flex;
  flex-direction: column;
}

.project-card img {
  height: 250px;
  /* fixed image height */
  object-fit: cover;
  /* avoids stretching */
}

.feature-card {
  transition: all 0.4s ease;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
  /* fixes the bottom cut issue */
  z-index: 1;
}

/* Gradient effect applied only on hover */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, #0d6efd, #6610f2, #0dcaf0, #0d6efd);
  background-size: 600% 600%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  border-radius: inherit;
}

.feature-card:hover::before {
  opacity: 1;
  animation: gradientMove 6s ease infinite;
}

/* Keep text/icons white on hover */
.feature-card:hover,
.feature-card:hover h6,
.feature-card:hover p,
.feature-card:hover i {
  color: #fff !important;
}

/* Gradient animation keyframes */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.section-border {
  border: 1px solid #ddd;
  border-radius: 48px;
  padding: 20px;
  background: #fff;
}

.section-border-1 {
  border: 1px solid #ddd;
  border-radius: 36px;
  padding: 0px;
  background: #fff;
}

.section-border-2 {
  border: 1px solid #ddd;
  border-radius: 36px;
  padding: 20px;
  background: #fff;
}

.service-card {
  border: 1px solid #ddd;
  border-radius: 36px;
}
.logo-scroller-wrapper {
  overflow: hidden;
  position: relative;
  /* background-color: #f8f9fa; */
}

.logo-scroller {
  display: flex;
  width: fit-content;
  animation: scroll-left 30s linear infinite;
  align-items: center;
}

.logo-scroller img {
  height: 80px;
  /* increased height */
  margin: 0 20px;
  /* reduced spacing */
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

.logo-scroller img:hover {
  transform: scale(1.05);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Wrapper for the whole navbar */
.product-navbar-wrapper {
  background: rgba(179 181 183 / 30%);

  padding: 20px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Horizontal flex layout */
.product-navbar {
  margin: 0;
  padding: 0;
}

/* Nav items */
.product-navbar .nav-item {
  list-style: none;
}

/* Nav link design */
.product-navbar .nav-link {
  padding: 12px 24px;
  color: #333;
  font-weight: 500;
  /* border-right: 2px solid rgba(0, 0, 0, 0.05); */
  /* border-left: 5px solid rgba(0, 0, 0, 0.5); */
  transition: all 0.3s ease;
}

/* Hover effect */
.product-navbar .nav-link:hover {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

/* Active state */
.product-navbar .nav-link.active {
  background: linear-gradient(90deg, #007bff, #00bcd4);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .product-navbar {
    flex-direction: column;
    gap: 10px;
  }
}

/* Hover 3D effect for cards */
.hover-3d {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-3d:hover {
  transform: translateY(-10px) rotateX(3deg);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}
/* Pulse animation for buttons */
.wow.pulse {
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.dealer-hero h1 {
  animation: fadeInUp 1.2s ease forwards;
}
.form-label {
  font-weight: 500;
  color: #444;
}

.form-control,
.form-select {
  border: 1px solid #ddd;
  padding: 12px 15px;
  font-size: 15px;
}

.form-control:focus,
.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.2);
}
/* Highlight boxes */
.highlight-box {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.highlight-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Team member hover effects */
.hover-card:hover .team-icon {
  opacity: 1;
}
.hover-card .team-img img {
  transition: transform 0.5s;
}
.hover-card:hover .team-img img {
  transform: scale(1.08);
}
.team-icon {
  transition: opacity 0.4s;
}
.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-outline-primary {
  color: #0d6efd;
  border-color: #0d6efd;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: white;
}

/* Hover effect on gallery images */
.col-lg-6 img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.l-height {
  line-height: 36px;
}
/* Project page  */
.pagination-wrapper {
  display: flex;
  justify-content: right;
}

.pagination li a,
.pagination li span {
  border-radius: 15px !important;
  margin: 0 5px;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  transition: all 0.3s;
}

.pagination li.active a,
.pagination li a:hover {
  background-color: #57575a0f;
  color: #000 !important;
  border-color: #57575a0f;
}
.image-wrapper {
  height: 220px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: blur(8px);
  transition: all 0.4s ease;
}

.image-wrapper:hover .image-bg {
  opacity: 0.3;
  filter: blur(4px);
}
/* upcoming project page */

.glow-text {
  color: #fff;
  text-shadow: 0 0 10px #ffdd57, 0 0 20px #ffdd57, 0 0 30px #ffbb00;
  display: inline-block;
  animation: heartbeat 4.5s infinite ease-in-out, glow 2s infinite alternate;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.2);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.2);
  }

  70% {
    transform: scale(1);
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px #ffdd57, 0 0 20px #ffbb00, 0 0 30px #ff8800;
  }

  to {
    text-shadow: 0 0 20px #ffdd57, 0 0 40px #ffaa00, 0 0 60px #ff6600;
  }
}

/* Notify button hover effect */
.notify-btn {
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

.notify-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.8), 0 0 40px rgba(255, 193, 7, 0.6);
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
}

.teaser-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.teaser-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.teaser-img {
  filter: blur(5px) brightness(0.8);
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.lock-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  padding: 18px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.teaser-content {
  background: #fff;
}

/* shreerang group */

.timeline-card {
  --tx: 0;
  --ty: 40px;
  width: 100%;
  max-width: 640px;
  background: #f8f9fa;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.6s ease,
    background 0.4s ease;
  transform: translate(var(--tx), var(--ty));
  opacity: 0;
  position: relative;
  z-index: 1;
}

.timeline-card.in-view {
  --ty: 0;
  opacity: 1;
}

.timeline-card.centered {
  transform: translateX(0) scale(1.05) !important;
  z-index: 10;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.timeline-card:hover {
  --ty: -10px;
  background: linear-gradient(135deg, #0d6efd, #003366);
  color: #fff;
}

.timeline-card h4 {
  transition: color 0.4s ease;
}

.timeline-card:hover h4 {
  color: #fff;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(90deg, rgb(21, 178, 255), rgb(72, 103, 255));
  color: #fff;
  transition: all 0.4s ease;
  flex: 0 0 50px;
}

.timeline-card:hover .timeline-icon {
  background: #fff;
}

.timeline-card:hover .timeline-icon i {
  color: #0d6efd;
  transform: rotate(20deg) scale(1.2);
}

@media (min-width: 768px) {
  .timeline-left .timeline-card {
    --tx: -6%;
  }

  .timeline-right .timeline-card {
    --tx: 6%;
  }
}

@media (max-width: 767.98px) {
  .timeline-card {
    margin: 0 auto;
  }

  .timeline-icon {
    margin-bottom: 0.75rem;
  }
}

/* product detail page */
.hover-zoom {
  transition: transform 0.4s ease;
}
.hover-zoom:hover {
  transform: scale(1.08);
}

.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
}

.hover-row:hover {
  background-color: #f9f9f9;
  transform: scale(1.02);
  transition: all 0.3s ease;
}

.hover-bounce {
  transition: transform 0.2s ease;
}
.hover-bounce:hover {
  transform: scale(1.1);
}

/* news and event page */

.event-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.event-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.8em;
}

.vertical-scroll {
  height: 380px;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: none;
}

.vertical-scroll::-webkit-scrollbar {
  width: 6px;
}

.vertical-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

.scroll-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
  object-fit: cover;
}

/* Video Thumbnail styling */
.video-thumb {
  cursor: pointer;
  position: relative;
}

.video-thumb img {
  width: 100%;
  border-radius: 10px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  text-shadow: 0px 0px 10px #000;
}
.event-video {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
}

/* home page */
.industry-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 48px;
}

/* director desk */
.director-section {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.director-photo {
  flex: 0 0 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(13, 110, 253, 0.07);
  box-shadow: 0 8px 20px rgba(9, 30, 66, 0.08);
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-content {
  flex: 1;
  min-width: 280px;
}

.director-content h3 {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.director-content .role {
  color: #0d6efd;
  font-weight: 600;
  margin-bottom: 1rem;
}

.director-content p {
  color: #555;
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.director-quote {
  font-style: italic;
  position: relative;
  padding-left: 2rem;
  color: #333;
  border-left: 4px solid #0d6efd;
  margin: 1.2rem 0;
}

.director-quote::before {
  content: "“";
  font-size: 2.5rem;
  color: #0d6efd;
  position: absolute;
  left: -1.2rem;
  top: -0.5rem;
}

.signature {
  margin-top: 1rem;
  font-style: italic;
  color: #0d6efd;
  font-weight: 600;
}

@media (max-width: 767px) {
  .director-section {
    flex-direction: column;
    text-align: center;
  }

  .director-photo {
    margin: 0 auto 1rem;
  }
}

/* csr activities */
.impact-card {
  min-height: 340px;
  border-radius: 15px;
  transition: 0.3s ease;
}
.impact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.hover-3d {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-3d:hover {
  transform: translateY(-10px) rotateX(3deg);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}
.wow.pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.csr-hero h1 {
  animation: fadeInUp 1.2s ease forwards;
}

/* carrer with us page */
.bg-breadcrumb {
  position: relative;
  overflow: hidden;
}
.bg-breadcrumb .bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  /* Dark overlay, adjust as needed */
  z-index: 1;
}

/* about us */
.image-overlay {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.image-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(206, 202, 202, 0.1);
  /* gray overlay with 50% opacity */
  border-radius: 48px;
}

/* include page */

.cta-video-container {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 48px;
  z-index: 0;
}

.cta-video-container .row {
  position: relative;
  z-index: 2;
}

.logo-slider-wrapper {
  overflow: hidden;
  width: 100%;
  /* -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  ); */
  /* mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent); */
}

.logo-slider {
  display: flex;
  animation: slide-left 10s linear infinite;
  width: 200%;
}

.logos-group {
  display: flex;
  flex-shrink: 0;
  width: 100%;
  justify-content: space-around;
}

.logo-item {
  padding: 0 15px;
  flex-shrink: 0;
  min-width: 120px;
}

.logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain !important;
}
@keyframes slide-left {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-50%);
  }
}

.logo-slider-wrapper:hover .logo-slider {
  animation-play-state: paused;
}

.logo-slider-wrapper:hover .logo-slider {
  animation-play-state: paused;
}

/* our projects */
/* Horizontal scroll container */
.scroll-box {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
  white-space: nowrap;
  scroll-behavior: smooth;
}

.scroll-box::-webkit-scrollbar {
  display: none;
}

.scroll-box {
  scrollbar-width: none;
}

/* Image styling */
.scroll-img {
  height: 250px;
  width: 400px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

/* Video thumbnail styling */
.video-thumb {
  position: relative;
  flex-shrink: 0;
  /* Important for horizontal scroll */
  width: 350px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* YouTube play button overlay */
.video-thumb::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 30px;
  background: red;
  border-radius: 8px;
  z-index: 5;
}

.video-thumb::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid white;
  z-index: 6;
}

#mediaPopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999999;
  justify-content: center;
  align-items: center;
}

#closePopup {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
#popupImg {
  width: 800px; /* FIXED WIDTH */
  height: 500px; /* FIXED HEIGHT */
  object-fit: cover; /* Crop but maintain shape */
  border-radius: 12px;
  display: none;
}

#popupVideo {
  width: 800px; /* Same size as image */
  height: 500px;
  border-radius: 12px;
}

/* Wrapper */
.video-banner {
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
}

/* Background Video */
.video-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Black Transparent Overlay */
.video-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  /* Same shade as your original */
  backdrop-filter: blur(2px);
  /* Same blur effect */
  z-index: 1;
}

/* Content */
.video-banner .container {
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
  .video-banner {
    height: 350px;
  }
  .mb-card {
    margin-bottom: 20px !important;
  }
}
.service-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}
.blog-img {
  height: 260px;
  overflow: hidden;
  border-radius: 10px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.featured-image {
  height: 350px;
  overflow: hidden;
  border-radius: 20px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* blog detail page */

.blog-detail-card {
  background: #fff;
  padding: 35px;
  border-radius: 15px;
}

.elegant-shadow {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
}

.blog-content p {
  line-height: 1.9;
  font-size: 1.08rem;
  color: #444;
}

.image-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.recent-box {
  border-radius: 20px;
}

.popular-item {
  padding: 10px;
  background: #f8f9fa;
  border-radius: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.popular-item:hover {
  background: #eef4ff;
  transform: translateY(-2px);
}

.pop-img img {
  width: 80px;
  height: 65px;
  object-fit: cover;
  border-radius: 10px;
}

.pop-title {
  color: #004c49;
  font-weight: 600;
  line-height: 1.3;
}

.popular-item:hover .pop-title {
  color: #0d6efd;
}

/* blog page */

.category-box {
  border-radius: 18px;
  background: #ffffff;
  transition: 0.3s ease-in-out;
}

.category-box:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.category-item {
  padding: 15px 14px;
  background: #f8f9fa;
  border-radius: 10px;
  font-size: 17px;
  color: #333;
  text-decoration: none;
  transition: 0.3s ease;
}

.category-item:hover {
  background: linear-gradient(
    90deg,
    rgb(21, 178, 255) 10%,
    rgb(72, 103, 255) 80%
  );
  color: white;
  transform: translateX(4px);
}

.category-item .cat-arrow {
  transition: 0.3s ease;
}

.category-item:hover .cat-arrow {
  transform: translateX(4px);
}

.cat-name {
  font-weight: 500;
}

/* Modal look */
.vendor-modal {
  border-radius: 25px !important;
  padding-top: 15px;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border: none;
}

/* Divider line */
.divider {
  width: 100%;
  height: 1px;
  background: #e8e9ef;
  margin-top: -5px;
}

/* Inputs */
.vendor-input {
  height: 50px;
  border-radius: 12px;
  border: 1px solid #d7d7e0;
  padding-left: 15px;
  font-size: 15px;
}

.vendor-input:focus {
  border-color: #3a50d8;
  box-shadow: 0 0 0 0.15rem rgba(58, 80, 216, 0.2);
}

/* Buttons */
.btn-apply {
  background: linear-gradient(90deg, rgb(21, 178, 255), rgb(72, 103, 255));
  color: white;
  border-radius: 30px;
  padding: 12px 35px;
  border: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-apply:hover {
  background: linear-gradient(90deg, #3a50d8, #1e2a78);
}

.btn-cancel {
  background: #f1f1f4;
  color: #333;
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 500;
  border: none;
  transition: 0.3s;
}

.btn-cancel:hover {
  background: #e2e2e8;
}

/* TAB DESIGN */
.partner-tabs .nav-link {
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  margin: 0 8px;
  background: #f8f9fa;
  color: #333;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.partner-tabs .nav-link:hover {
  background: #e9f2ff;
  color: #007bff;
  transform: translateY(-2px);
}

.partner-tabs .nav-link.active {
  background: linear-gradient(90deg, rgb(21, 178, 255), rgb(72, 103, 255));
  color: #fff !important;
  border: none;
}

/* Reduce padding for mobile */
@media (max-width: 576px) {
  .partner-tabs .nav-link {
    padding: 8px 16px;
    font-size: 14px;
    margin-bottom: 8px;
  }
}

.partner-section ul li {
  margin-bottom: 8px;
  list-style: none;
  position: relative;
  padding-left: 24px;
}
