/* Base body styles moved to assets/css/common.css */

/* Prevent horizontal scroll */
html,
body {
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}


.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0px;
}

header {
  margin-bottom: 6rem;
}

header p {
  font-size: 0.875rem;
  font-weight: 500;
  color: #718096;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

header h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.heading_h1 {
  margin: 0;
  font-size: 116px;
  font-weight: 500;
  line-height: 94%;
}

.heading_h2 {
  margin: 0;
  font-size: 50px;
  font-weight: 200;
  color: gray;
}

.heading_h1 span {
  color: gray;
}

.subheading {
  padding-top: 30px;
}

.main_heading {
  padding-top: 40px;
  padding-bottom: 110px;
}

.section {
  padding: 0 0;
}

/* Tablets (<=992px) */
@media (max-width: 992px) {
  .section-item {
    flex-wrap: wrap;
    padding: 2rem 0;
  }

  .col-number {
    width: 100%;
    padding: 0 0 0.5rem 0;
  }

  .col-text {
    width: 100%;
    padding-right: 0;
    order: 1;
  }

  .col-image {
    width: 100%;
    order: 2;
    margin-top: 1.5rem;
  }

  .heading_h1 {
    font-size: 72px;
    line-height: 1.1;
  }

  .heading_h2 {
    font-size: 36px;
  }

  .subheading {
    font-size: 1rem;
  }
}

/* Mobile (<=600px) */
@media (max-width: 600px) {
  .container {
    padding: 1rem 1rem;
  }

  header h1 {
    font-size: 2.2rem;
  }

  .heading_h1 {
    font-size: 50px;
    line-height: 1.2;
  }

  .heading_h2 {
    font-size: 24px;
  }

  .subheading {
    font-size: 0.9rem;
  }

  .image-container {
    height: 12rem;
  }
}

/* Extra Small (<=480px) */
@media (max-width: 480px) {
  .heading_h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .heading_h2 {
    font-size: 18px;
  }

  header h1 {
    font-size: 1.8rem;
  }
}




.services__v3 {
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  padding: 0 0;
}

.services__v3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1);
  z-index: 1;
}

.services__v3 .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 350px;
  margin: 0 auto;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: #58ea01;

}

.service-card .icon {
  color: #007bff;
  font-size: 36px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  /* color: #4a4a4a; */
  line-height: 1.6;
  margin-bottom: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* Standard property for compatibility */
  -webkit-box-orient: vertical;
}

.special-link {
  color: #002a74;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.special-link:hover {
  color: #58ea01;
  text-decoration: underline;
}

.special-link .icons {
  display: flex;
  gap: 2px;
}

.special-link .icon-1,
.special-link .icon-2 {
  transition: transform 0.3s ease;
}

.special-link:hover .icon-1 {
  transform: translateX(3px);
}

.special-link:hover .icon-2 {
  transform: translateX(6px);
}

/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 80%;
  max-width: 1200px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.popup-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.popup-content ul {
  list-style: none;
  padding: 0;
}

.popup-content li {
  background: #f5f5f5;
  color: #000000;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  transition: background 0.3s ease;
  position: relative;
  cursor: pointer;
}

.popup-content li:hover {
  background: #f5f5f5;
  color: #000000;
}

.popup-content li:hover .toggle-btn {
  color: #000000;
}

.popup-content .expanded {
  height: auto;
  padding: 20px;
  background: #f5f5f5;
  ;
}

.popup-content .toggle-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #58ea01;
  transition: color 0.3s ease;
  margin-left: 10px;
}

.popup-content p {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.6;
  margin: 10px 0;
  display: none;
}

.popup-content .expanded p {
  display: block;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 40px;
  font-size: 34px;
  color: #000000;
  cursor: pointer;
  border: none;
  background: none;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #ad3c3c;
  transform: scale(1.5);
  transition: transform 0.5s ease;
}

/* cover image styles */
.cover-image {
  position: relative;
  height: 40vh;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 1);
  color: #000;
}

.cover-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  filter: blur(1px);
  opacity: 0.7;
  z-index: -1;
  background-position: center 25%;
}





/* the list element animation */
.animate-stagger {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.5s forwards;
  animation-delay: calc(var(--i, 0) * 0.18s);
}

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

.wetxt {
  color: #0d6efd;
}





.start-project-link {
  display: inline-flex;
  align-items: center;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.arrow-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 20px;
}

/* Enhanced Premium Carousel styles */
.carousel-section {
  background-color: #f8f9fa;
  position: relative;
  padding: 100px 0;
}

.carousel-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Redesigning the carousel structure for a premium card look */
#carouselExampleControls {
  padding: 20px 0 60px;
  /* Space for shadow and controls */
}

.carousel-item {
  padding: 10px 0;
  /* Space for hover transform */
}

.job-card-inner {
  position: relative;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 42, 116, 0.08);
  /* Reduced baseline shadow to prevent jitter */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-color: #fff;
  margin: 0 auto;
  width: 90%;
}

.job-card-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 42, 116, 0.15);
}

.job-card-inner .img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

.job-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: brightness(0.7) contrast(1.1);
  /* Subtle darkening instead of heavy blur */
}

.job-card-inner:hover img {
  transform: scale(1.05);
  /* Smooth zoom on hover */
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 42, 116, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Align content to center vertically */
  align-items: center;
  /* Align text center horizontally */
  padding: 50px;
  color: #fff;
  text-align: center;
  /* Center the text logic */
  z-index: 3;
}

.carousel-overlay .content-wrapper {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Ensure contents wrap in center */
}

.carousel-item.active .content-wrapper,
.job-card-inner:hover .content-wrapper {
  transform: translateY(0);
  opacity: 1;
}

.carousel-overlay h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-overlay p:nth-of-type(1) {
  /* Experience label */
  display: inline-block;
  background: #58ea01;
  color: #002a74;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.carousel-overlay p:nth-of-type(2) {
  /* Description text */
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 800px;
}

/* Override the special-link style specifically for the carousel to make it pop */
.carousel-overlay .special-link {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 12px 25px;
  border-radius: 100px;
  color: #fff !important;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.carousel-overlay .special-link:hover {
  background: #58ea01;
  border-color: #58ea01;
  color: #002a74 !important;
  text-decoration: none;
  transform: translateX(5px);
}

.carousel-overlay .special-link:hover .icons .icon-1,
.carousel-overlay .special-link:hover i.bi-arrow-right,
.carousel-overlay .special-link:hover i::before {
  color: #002a74 !important;
  fill: #002a74 !important;
}

/* Customizing Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  z-index: 4;
  width: 60px;
  height: 60px;
  background: #002a74 !important;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: -20px;
}

.carousel-control-next {
  right: -20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: #002a74;
  box-shadow: 0 10px 25px rgba(0, 42, 116, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 25px;
  height: 25px;
  filter: invert(14%) sepia(21%) saturate(5796%) hue-rotate(205deg) brightness(97%) contrast(105%);
  /* Blue color */
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  filter: brightness(0) invert(1);
  /* Switch to white on hover */
}

@media (max-width: 991px) {
  .page-hero-title-text {
    font-size: 80px;
    padding-left: 25px;
  }

  .hero p,
  .start-project-link {
    text-align: left !important;
  }

  .job-card-inner {
    height: 400px;
    width: 95%;
  }

  .carousel-overlay {
    padding: 30px;
  }

  .carousel-overlay h3 {
    font-size: 2rem;
  }
}

@media (max-width: 900px) {
  h2 {
    font-size: 36px;
  }

  .service-card {
    max-width: 100%;
    height: 220px;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 768px) {

  .services__v3,
  .carousel-section {
    padding: 60px 0;
  }

  .services__v3 h2,
  .carousel-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .service-card {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .popup-content {
    width: 90%;
    padding: 20px;
  }

  .cover-image {
    position: relative;
    height: 60vh;
    overflow: hidden;
  }

  .job-card-inner {
    height: 380px;
  }

  .carousel-overlay {
    padding: 20px;
  }
}

@media (max-width: 480px) {

  .services__v3 h2,
  .carousel-section h2 {
    font-size: 28px;
  }

  .service-card {
    padding: 15px;
    height: 200px;
  }

  .service-card .icon {
    font-size: 30px;
  }

  .service-card h3 {
    font-size: 16px;
  }

  .service-card p {
    font-size: 12px;
  }

  .popup-content {
    width: 95%;
    padding: 15px;
  }

  .popup-content h3 {
    font-size: 18px;
  }

  .popup-content li {
    padding: 6px 10px;
  }

  .cover-image {
    height: 50vh;
  }

  .cover-title {
    font-size: 36px;
  }

  .search-bar-container {
    width: 90%;
  }

  .job-card-inner {
    height: 380px;
  }

  .carousel-overlay {
    padding: 20px;
  }

  .carousel-overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .carousel-overlay p:nth-of-type(1) {
    font-size: 0.75rem;
    padding: 5px 12px;
    margin-bottom: 15px;
  }

  .carousel-overlay p:nth-of-type(2) {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.4;
  }

  .carousel-overlay .special-link {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}

/* Section title styling */
.partners-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  /* dark gray */
  margin-bottom: 0.5rem;
  position: relative;
}

.partners-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #58ea01;
  /* accent color */
  margin: 8px auto 0;
  border-radius: 2px;
}

.partners-subheading {
  font-size: 1rem;
  font-weight: 400;
  color: #6b7280;
  /* lighter gray */
  margin-bottom: 1.5rem;
}

.carousel-section .partners-heading,
.carousel-section .partners-subheading {
  text-align: center;
}

.emsyne-pad-left-25 {
  padding-left: 25px;
}

.emsyne-icon-display {
  display: inline-block;
  font-size: 32px;
}

.emsyne-z-index-4 {
  z-index: 4;
}

.emsyne-hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow: auto;
}

* {
  font-family: 'Poppins', sans-serif !important;
}