html, body {
  overflow-x: hidden;
}
/* Navbar spacing fix for 992px - 1199px screens */
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-nav .nav-link {
    margin-right: 1rem !important; /* pehle 3rem ya me-5 tha */
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  /* Agar button (Contact Us) alag se adjust karna ho */
  .contact-nav {
    margin-top: 15 !important;
    font-size: 0.9rem;
  }
}
@media (max-width: 991px) {
  .navbar-collapse {
    max-height: 80vh;   /* jitna screen chahiye utna */
    overflow-y: auto;   /* scroll enable */
  }
}

/* Dropdown ke andar sabhi anchor (a) ke hover color fix */
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  color: #dc3545 !important;
  /* Red text */
  background-color: transparent !important;
  /* No blue background */
  text-decoration: none !important;
  /* No underline */
}

.dropdown-menu .nav-link:hover,
.dropdown-menu .nav-link:focus {
  color: #dc3545 !important;
  background: transparent !important;
  text-decoration: none !important;
}

.hero-section {
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(70%);
      overflow: hidden;

}

.hero-content {
  position: relative;
  z-index: 1;
}


footer h5::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #dc3545;
  margin-top: 5px;

}

.footer-link {
  color: #bbb;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 6px;
  position: relative;
  transition: color 0.3s;
}

.footer-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  left: 0;
  bottom: -2px;
  background: #dc3545;
  transition: 0.3s;
}

.footer-link:hover {
  color: #fff;
}

.footer-link:hover::after {
  width: 100%;
}

@media (max-width:992px) {
  footer h5 {
    text-align: center; /* h5 ko center karein */
  }

  footer h5::after {
    margin-left: auto;   /* line ko center karein */
    margin-right: auto;
    display: block;      /* ensure block display */
  }
}

.dropdown-menu .dropdown-item {
  color: #555;
  font-size: 15px;
  position: relative;
  transition: color 0.3s ease;
}

.dropdown-menu .dropdown-item::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  left: 0;
  bottom: 4px;
  background: #dc3545;
  transition: width 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  color: #dc3545;
  background: transparent;
}

.dropdown-menu .dropdown-item:hover::after {
  width: 70%;
}

.dropdown-menu h5 a,
.dropdown-menu h6 a {
  text-decoration: none;
  position: relative;
}

.dropdown-menu h5 a::after,
.dropdown-menu h6 a::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #dc3545;
  margin-left: 18px;
}

.social-link {
  transition: transform 0.3s, color 0.3s;
}

.social-link:hover {
  color: #dc3545 !important;
  transform: scale(1.2);
}

.input-group input {
  border-radius: 20px 0 0 20px;
}

.input-group button {
  border-radius: 0 20px 20px 0;
}

/* Blog Card */
.blog-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Blog Image */
.blog-img {
  position: relative;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card .content {
  padding: 15px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .content h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.blog-card .content p {
  font-size: 0.9rem;
  color: #666;
  flex-grow: 1;
}

.read-more {
  color: #dc3545;
  font-weight: 500;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* Category Tabs */
.category-tabs {
  text-align: center;
  margin: 40px 0 20px;
}

.category-tabs .btn {
  margin: 5px;
  border-radius: 30px;
}

/* Category Tag */
.category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #dc3545;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.card-custom-about {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 15px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 1;
  border: 1px solid black;
}

/* Slide background */
.card-custom-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s ease;
  z-index: -1;
}

.card-custom-about:hover::before {
  left: 0;
}

/* Hover zoom */
.card-custom-about:hover {
  transform: translateY(-10px) scale(1.05);
}

/* Icon circle border */
.icon-circle-about {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ce2e2e;
  /* Red border */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  transition: border-color 0.3s ease;
}

.card-custom-about p {
  color: #dc3545;
  /* pehle se hi red text */
  transition: color 0.4s ease;
  position: relative;
  z-index: 2;
}

.card-custom-about h5 {
  color: black;
}


.icon-circle-about i {
  font-size: 36px;
  color: #d12d2d;
  /* red icon */
  transition: color 0.3s ease;
}

/* Hover color changes */
.card-custom-about:hover .icon-circle-about {
  border-color: #080808;
}

.card-custom-about:hover .icon-circle-about i,
.card-custom-about:hover h5,
.card-custom-about:hover p {
  color: #0e0e0e;
}

/* Position adjust */
.card-up {
  margin-top: -20px;
}

.card-down {
  margin-top: 20px;
}

/* Blog Content */
.blog-body {
  padding: 20px;
}

.blog-body h5 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-body p {
  font-size: 0.9rem;
  color: #6c757d;
  min-height: 60px;
}

#loadMore {
  border-radius: 17px;
  background-color: #d33735;
  margin-left: 70%;

}

/* Read More */
.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #dc3545;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #b02a37;
}

/* Responsive Masonry */
#blogContainer {
  column-count: 3;
  column-gap: 1.5rem;
}

.blog-card-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

@media(max-width: 992px) {
  #blogContainer {
    column-count: 2;
  }
}

@media(max-width: 576px) {
  #blogContainer {
    column-count: 1;
  }
}


@media (max-width: 992px) {
  .faq-img {
    width: 100%;
    /* container ke hisaab se full */
    height: auto;
    /* aspect ratio maintain */
  }
}

.dropdown-menu a:hover {
  color: #dc3545 !important;
  background: transparent !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: #C3322F !important;
      overflow: hidden;

}

.hero-section {
  height: 100vh;
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 1rem;
}

.icon-circle:hover {
  display: inline-block;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.card-hover {
  background-color: #fff; /* white background */
  border-radius: 10px;
  box-shadow: 0 1px 4px rgb(194, 187, 187); /* grey shadow */
  transition: all 0.3s ease-in-out;
}

.card-hover:hover {
  background-color: #a22a25;
  color: white;
  border-color: #fcf9f9;
}

.card-hover:hover .icon-circle {
  color: white;
  border: 2px dashed #fcf9f9;

}

.service-card {
  transition: transform 0.3s ease;
  cursor: pointer;
    background-color: #fff; /* white background */
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
    box-shadow: 0 1px 4px rgb(194, 187, 187); /* grey shadow */

}

.service-card:hover {
  transform: scale(1.05);
  z-index: 10;
}
.social-container {
  display: flex;
  flex-direction: column;
  align-items: center;   /* center align mobile me */
  gap: 15px;
}

@media (min-width: 768px) {
  .social-container {
    flex-direction: row;
    justify-content: center; /* center align desktop me */
    gap: 30px;
  }
}


.glow-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  pointer-events: none;
  box-shadow: 0 0 10px 3px rgba(197, 67, 67, 0);
  transition: box-shadow 0.3s ease;
}

ul.list-unstyled li {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #555;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border: 2px dashed #dc3545;
  border-radius: 50%;
  font-size: 32px;
  color: #dc3545;
  margin: auto;
}

.dotted-line {
  border-top: 2px dashed #dc3545;
  width: 100%;
}

.dotted-line {
  border-top: 2px dotted red;
  width: 100%;
  height: 0;
}

.join-section {
  background: white;
  padding: 50px 20px;
  border-radius: 12px;
}

.join-section h2 {
  color: #C3322F;
  font-weight: bold;
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  text-decoration: none;
  color: #C3322F;
}

.social-links a:hover {
  text-decoration: underline;
}

.carousel-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #C3322F;
  margin-bottom: 15px;
}

.carousel-text {
  font-style: italic;
  margin: auto;
}


.social-icons i {
  font-size: 30px;
  margin: 0 10px;
  color: rgb(248, 248, 248);
  transition: transform 0.3s;
}

/* Title with moving dot */
.contact-title {
  position: relative;
  display: inline-block;
}

.contact-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  /* text ke niche line */
  left: 0;
  width: 100%;
  height: 2px;
  background: #dc3545;
}

.moving-dot {
  position: absolute;
  bottom: -6px;
  /* line ke upar dot */
  left: 0;
  width: 12px;
  height: 12px;
  background: #dc3545;
  border-radius: 50%;
  animation: moveDot 2s linear infinite;
}

.process-section {
  position: relative;
}

.process-section p.lead {
  margin: 0 auto 50px;
}

.process-step {
  position: relative;
}

.process-circle {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  position: relative;

}

.process-circle .step-number {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
}

.process-step p {
  color: #6c757d;
}


@keyframes moveDot {
  0% {
    left: 0;
  }

  100% {
    left: 100%;
  }
}

/* Social Icons */
.social-icons-C a {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.3rem;
  color: #fff;
  background: #dc3545;
  padding: 9px 13px;
  border-radius: 50%;
  transition: 0.3s;
}

.social-icons-C a:hover {
  background: #212529;
  color: #fff;
}



.contact-section {
  padding: 60px 0;
}

.form-card {
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-info {
  padding: 40px;
  border-radius: 12px;
  text-align: left;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
}

.btn-custom:hover {
  background-color: #f3efee;
}

.form-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.form-card h2 span {
  color: #C3322F;
}

.form-control,
.form-select {
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 15px;
  transition: all 0.3s;
}

.form-control:hover,
.form-select:hover {
  border-bottom: 2px solid #fc0404;
}

.form-control:focus,
.form-select:focus {
  border: .5px solid #fc0404;
  box-shadow: 0 0 8px rgba(195, 50, 47, 0.2);
}

.card:hover {
  transform: scale(1.05);
  transition: 0.5s;

}

.card-it:hover {
  box-shadow: 0 0 8px #C3322F;
  transform: scale(1.05);
  transition: 0.5s;
}



.hover-glow {
  transition: all 0.3s ease;
}

.hover-glow:hover {
  background: rgba(220, 53, 69, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
}

.team-1 {
  color: #C3322F;
}

body {
  font-family: 'Poppins', sans-serif;
}

/* Hero Section */
.hero-industry {
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
  position: relative;
  min-height: 450px;

}

.hero-industry::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-industry-content {
  position: relative;
  z-index: 2;
}

.hero-industry h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero-industry p {
  font-size: 1.2rem;
  margin-top: 1rem;
}


/* Floating Circles Decoration */
.floating-circle {
  position: absolute;
  border-radius: 50%;
  border: 10px solid #e70606;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite alternate;
}

.circle-1 {
  width: 80px;
  height: 80px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 120px;
  height: 120px;
  top: 50%;
  right: 15%;
  animation-delay: 2s;
}

.circle-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 35%;
  animation-delay: 1s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(45deg);
  }

  100% {
    transform: translateY(0) rotate(90deg);
  }
}

.img-service {
  border-radius: 50%;
}

/* Cards */
.industry-card {
  transition: all 0.4s ease;
  cursor: pointer;
  background: white;
  border: 1px solid rgb(15, 15, 15);
}



.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.4s ease;
}

.industry-card:hover .icon-circle {
  transform: scale(1.1);
  background: white;
}


/* about-us */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 1rem;
}
.dotted-line-about {
  border-top: 2px dotted white;
  width: 90%;
  height: 0;
}
.item--number {
  font-size: 80px;
}

/* Default horizontal dotted line */
.dotted-line-about {
  border-top: 2px dotted #ffffff;
  height: 2px;
  width: 100%;
  margin: auto;
}


/* Vertical dotted line for small screens */
@media (max-width: 768px) {
  .row.justify-content-center.align-items-center {
    flex-direction: column !important; /* stack vertically */
  }

  .dotted-line-about {
    border-top: none;           /* remove horizontal */
    border-left:3px dotted #fffefe; /* vertical dotted line */
    width: 2px;                 /* vertical line thickness */
    height: 90px;               /* height between steps */
    margin: 10px auto;          /* spacing */
  }
}

.flip-card {
  background: transparent;
  width: 100%;
  height: 320px;
  perspective: 1000px;
  /* 3D depth */
  position: relative;
  z-index: 0;
  /* default */
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s ease-in-out;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
  z-index: 2;
  /* hovered card always stays on top */
}
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}
.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flip-card-back {
  background: linear-gradient(135deg, #111, #222);
  color: white;
  transform: rotateY(180deg);
  padding: 20px;
  z-index: 1;
}
.flip-card:hover {
  z-index: 10;
}
@media (max-width: 991px){
.flip-card-front img {
  width: 100%;
  height: 100%;
  /* object-position: top; */
}
}


#teamBondingCarousel .carousel-inner {
  position: relative;
}

#teamBondingCarousel .carousel-control-prev,
#teamBondingCarousel .carousel-control-next {
  width: 40px;   
  height: 40px;     
  top: 50%;        
  transform: translateY(-50%);
  border-radius: 50%;
  border: none;
}

#teamBondingCarousel .carousel-control-prev {
  left: 0;  /* left edge of the images */
}

#teamBondingCarousel .carousel-control-next {
  right: 0; /* right edge of the images */
}

/* Icons inside buttons */
#teamBondingCarousel .carousel-control-prev-icon,
#teamBondingCarousel .carousel-control-next-icon {
  background-size: 50%, 50%;
  background-image: none;
  color: white;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#teamBondingCarousel .carousel-control-prev-icon::after {
  content: "\2039"; /* ‹ arrow */
  color: white;
  font-size: 2rem;
}

#teamBondingCarousel .carousel-control-next-icon::after {
  content: "\203A"; /* › arrow */
  color: white;
  font-size: 2rem;
}


.custom-control {
  width: 5%;
}

.carousel-control-prev {
  left: -60px;
  /* move outside */
}

.carousel-control-next {
  right: -60px;
  /* move outside */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
  filter: invert(1) grayscale(100);
}

@media (max-width: 768px) {
  .dotted-line {
    border-top: none;
    border-left: 2px dotted red;
    width: 0;
    height: 30px;
    margin: 10px auto 0;
  }
}

@media (max-width: 575.98px) {
  .card-body.text-center {
    text-align: left !important;
  }
}

@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 2.2rem !important;
  }

  .hero-content p.lead {
    font-size: 1rem !important;
  }
}

@media (max-width: 991px) {
  .dropdown-menu {
    position: static !important;
    float: none;
    width: 100% !important;
  }

  .dropdown-menu .row {
    flex-direction: column;
  }

  .dropdown-menu a {
    padding-left: 1rem;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    text-align: center;
        overflow: hidden;

  }

}
@media (max-width: 991px) {
  .dropdown-menu .col-md-3 h5,
  .dropdown-menu .col-md-3 h6 {
    margin-top: 19px;
    margin-bottom: 5px;  
  }

  .dropdown-menu .col-md-3:first-child h5,
  .dropdown-menu .col-md-3:first-child h6 {
    margin-top: 0;
  }
}


.contact-nav {
  padding: 8px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
}
.contact-nav:hover{
  background-color: #dd2f40;
}
@media (max-width: 991px) {
  .contact-nav {
    display: block;
    width: 100%;
    margin-top: 15px;
    text-align: center;
margin-bottom: 20px;
  }
  
}

@media (min-width: 992px) {
  .contact-nav {
    width: auto;
    margin-left: 15px;
    margin-bottom: 20px;

  }
}

@media (max-width: 991px) {
  .contact-section .row {
    flex-direction: column;
  }

  .contact-info {
    margin-top: 30px;
  }

  .contact-section h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .contact-section h5 {
    text-align: center;
  }

  .social-icons {
    text-align: center;
  }

  footer .row {
    flex-direction: column;
    text-align: center;
  }

  footer .col-lg-4,
  footer .col-lg-2,
  footer .col-lg-3 {
    margin-bottom: 20px;
  }

  footer .d-flex {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .contact-section h1 {
    font-size: 1.5rem;
  }

  .contact-section h5 {
    font-size: 1rem;
  }

  .contact-info h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .contact-section h1 {
    font-size: 1.8rem;
  }

  .contact-section h4 {
    font-size: 1rem;
  }

  .contact-info {
    margin-bottom: 20px;
  }

  .form-card {
    padding: 15px;
  }
}

/* Footer Responsive */
footer .d-flex {
  flex-wrap: wrap;
}

footer ul li {
  margin-bottom: 6px;
}

/* Button adjustments */
.btn {
  font-size: 0.9rem;
}

.contact-section h2 {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control:focus {
  border-color: #dc3545;
}

.contact-info {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-5px);
}

/* Container */
.tech-slider {
  overflow: hidden;
  position: relative;
}

/* Track */
.tech-track {
  display: flex;
  width: calc(200%);
  /* doubled for seamless scroll */
  animation: scrollTech 20s linear infinite;
}

/* Each tech item */
.tech-item {
  flex: 0 0 auto;
  width: 120px;
  margin: 0 20px;
}

.tech-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Animation */
@keyframes scrollTech {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.feature-card {
  background: #212529;
  color: #f8f9fa;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #ffffff;
}

/* Hover effect */
.feature-card:hover {
  transform: translateY(-8px);
  border: 1px solid #dc3545;
  background: #fdfeff;
  color: black;
}

.feature-card h6 {
  color: #dc3545;
  /* red headings */
}

.circle-card {
  width: 280px;
  height: 280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
  border: 3px solid rgb(206, 62, 62);
  border-radius: 40px;
}

.hover-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

@media(max-width: 991px) {
  .circle-card {
    width: 230px;
    height: 230px;
  }
}

.hero-c {
  background: url('../img/contactus/contactt.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero-c::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}

.hero-b {
  background: url('../img/blog/bloggg.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero-b::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}


.testimonial-card {
  background: #1c1c1c;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.4s ease-in-out;
  height: 100%;
  text-align: center;
}

/* Client Image */
.testimonial-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #dc3545;
  transition: all 0.3s ease;
}

.testimonial-card:hover img {
  border-color: #fff;
}
.testimonial-card p {
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 15px;
  color: #f1f1f1;
}

.testimonial-card h5 {
  font-size: 18px;
  margin: 10px 0 5px;
  color: #dc3545;
}

.testimonial-card span {
  font-size: 14px;
  color: #ccc;
}


.swiper-slide {
  transition: all 0.5s ease-in-out;
  transform: scale(0.9);
  opacity: 0.6;
}

.swiper-slide-active {
  transform: scale(1.05) translateY(-15px);
  opacity: 1;
  z-index: 10;
  box-shadow: 0 10px 12px rgba(248, 241, 242, 0.4);
  border-radius: 15px;
}

.swiper-slide-next,
.swiper-slide-prev {
  opacity: 0.8;
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 20px 15px;
  }
  .testimonial-card img {
    width: 70px;
    height: 70px;
  }
  .testimonial-card p {
    font-size: 14px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 22px;
    height: 22px;
  }
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 11px;
  }
}

@media (max-width: 992px) {
  .swiper-slide-active { transform: scale(1.05) !important; }
}

@media (max-width: 576px) {
  .swiper {
    padding: 0 20px;
  }
  .swiper-slide { width: 250px; transform: scale(0.9); }
  .swiper-slide-active { transform: scale(1) !important; }
}

@media (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    max-height: 60vh;
    overflow-y: auto;
  }
}

.nav-pills .nav-link {
  position: relative;
  border-radius: 0;
  transition: color 0.3s;
}

.nav-pills .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #dc3545; 
  transition: 0.3s;
}

.nav-pills .nav-link:hover::after,
.nav-pills .nav-link.active::after {
  width: 100%;
}
