/* Hero section */
.hero-section {
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  padding: 1rem 0;
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0) 37.64%, #000000 100%);
  }

  .hero-content {
    max-width: 48%;
    margin: clamp(2rem, 10vw, 10rem) 0;
    position: relative;
    z-index: 2;
  }

  .hero-title {
    font-size: var(--main-sub-heading);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
  }

  .hero-description {
    font-size: 1.1rem;
    color: #b8b8b8;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 500px;
  }

  @media (max-width: 992px) {
    .hero-content {
      max-width: 80%;
    }
  }

  @media (max-width: 767.98px) {
    .hero-title {
      margin-bottom: 1rem;
    }
    .hero-description {
      margin-bottom: 1rem;
    }
  }

  @media (max-width: 576px) {
    .hero-content {
      max-width: 100%;
    }
  }
}

/* Clients section */
.clients-section {
  background-color: var(--color-gray);
  padding: clamp(3rem, 8vw, 6rem) 0;

  .badge-trusted {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--theme-light-blue);
    color: var(--theme-blue);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: var(--card-para);
    font-weight: 500;
  }

  .icon-badge {
    width: 1rem;
    height: 1rem;
  }

  .clients-heading {
    font-size: var(--main-heading);
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5rem;
  }

  .clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
    gap: clamp(0.8rem, 1.5vw, 1rem);
    margin: 0 auto;
  }

  .client-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: clamp(1.5rem, 2.8vw, 1.8rem) clamp(1rem, 2vw, 1.3rem);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(80px, 12vw, 120px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .client-name {
    font-size: clamp(0.85rem, 1.7vw, 1rem);
    font-weight: 500;
    color: #374151;
    text-align: center;
  }
  .client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1.2px solid var(--theme-blue);
    background-color: var(--theme-light-blue);
    transition: all 0.3s ease-in-out;
    .client-name {
      color: var(--theme-blue);
    }
  }

  @media (min-width: 768px) {
    .clients-grid {
      grid-template-columns: repeat(6, 1fr);
    }
  }

  @media (min-width: 576px) and (max-width: 767.98px) {
    .clients-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  @media (max-width: 575.98px) {
    .clients-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}

/* Overview Section */
.overview-section {
  background-color: #ffffff;
  padding: clamp(3rem, 8vw, 6rem) 0;

  .badge-overview {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--theme-light-blue);
    color: var(--theme-blue);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: var(--card-para);
    font-weight: 500;
  }

  .icon-overview {
    width: 1rem;
    height: 1rem;
  }

  .overview-main-heading {
    font-size: var(--main-sub-heading);
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    max-width: min(1000px, 90%);
    margin-left: auto;
    margin-right: auto;
  }

  .overview-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    max-height: 500px;
    max-width: 590px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
  }

  .overview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .overview-content {
    padding-left: clamp(0rem, 3vw, 2rem);
  }

  .overview-subheading {
    font-size: var(--description-para);
    font-weight: 600;
    color: var(--theme-blue);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
  }

  .overview-text {
    font-size: var(--description-para);
    color: #4b5563;
    line-height: normal;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    text-align: justify;
  }

  .overview-text:last-child {
    margin-bottom: 0;
  }

  @media (max-width: 991.98px) {
    .overview-content {
      padding-left: 0;
      margin-top: 2rem;
    }
  }

  @media (max-width: 767.98px) {
    .overview-main-heading {
      margin-bottom: 2rem;
    }
  }
}

/* Healthcare Services Section */
.healthcare-services-section {
  background-color: var(--color-gray);
  padding: clamp(3rem, 8vw, 6rem) 0;

  .services-main-heading {
    font-size: var(--main-sub-heading);
    font-weight: 600;
    line-height: normal;
  }

  .services-description {
    font-size: var(--description-para);
    color: #4b5563;
    line-height: 1.7;
    max-width: min(900px, 90%);
    margin-left: auto;
    margin-right: auto;
  }

  .service-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    > div > div {
      padding: 0;
    }
  }

  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .service-content {
    padding: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: 100%;
  }

  .service-icon-wrapper {
    width: 55px;
    height: 55px;
    background-color: var(--theme-light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .service-icon {
    width: clamp(24px, 4vw, 32px);
    height: clamp(24px, 4vw, 32px);
    color: var(--theme-blue);
    stroke-width: 2;
  }

  .service-title {
    font-size: clamp(1.3rem, 2.5vw, 1.68rem);
    font-weight: 400;
    color: #1f2937;
    line-height: 1.3;
    margin: 0;
  }

  .service-description {
    font-size: 1em;
    color: #4b5563;
    line-height: normal;
    margin: 0;
  }

  .service-card-image {
    background-color: #e5e7eb;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media (max-width: 767.98px) {
    .services-main-heading {
      margin-bottom: 1.5rem;
    }

    .service-card-image {
      max-height: 180px;
    }

    .services-description {
      margin-bottom: 2rem;
    }
  }
}

/* Specialized Services Section */
.why-choose-genAI-section,
.specialized-services-section {
  background-color: white;
  padding: 80px 0;

  .services-badge {
    background-color: var(--theme-light-blue);
    border: 1px solid #e8ebff;
    border-radius: 25px;
    padding: clamp(0.3rem, 0.8vw, 0.4rem) clamp(0.4rem, 2vw, 1rem);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.6rem, 1.5vw, 0.8rem);
    color: var(--theme-blue);
    font-weight: 500;
  }

  .services-badge i {
    width: 16px;
    height: 16px;
  }

  .services-title {
    font-size: var(--sub-heading);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .custom-description {
    max-width: 900px;
    margin: auto;
  }

  .service-card {
    background-color: var(--color-gray);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-align: left;
  }

  .service-card:hover {
    background-color: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #e8ebff;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    background-color: var(--theme-blue);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(0.5rem, 2.5vw, 1.5rem);
  }

  .service-icon i {
    width: 28px;
    height: 28px;
  }

  .service-title {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .service-description {
    color: #666666;
    line-height: 1.6;
    font-size: var(--card-para);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Responsive Design for Specialized Services */
  @media (max-width: 991.98px) {
    .specialized-services-section {
      padding: 60px 0;
    }
  }

  @media (max-width: 767.98px) {
    .specialized-services-section {
      padding: 50px 0;
    }

    .service-card {
      padding: 1rem;
    }
  }

  @media (max-width: 575.98px) {
    .service-icon i {
      width: 24px;
      height: 24px;
    }
  }
}

/* Benefits Section */
.benefits-section {
  background-color: var(--color-gray);
  padding: clamp(3rem, 8vw, 6rem) 0;

  .benefits-title {
    font-size: var(--sub-heading);
    font-weight: 700;
    color: #1a1a1a;
    line-height: normal;
    margin-left: auto;
    margin-right: auto;
  }

  .benefits-description {
    font-size: var(--description-para);
    color: #4b5563;
    line-height: 1.6;
    max-width: min(800px, 90%);
    margin-left: auto;
    margin-right: auto;
  }

  .benefit-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: clamp(1.8rem, 3vw, 2.5rem);
    display: flex;
    gap: clamp(1rem, 2vw, 1.5rem);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }

  .benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #e8ebff;
  }

  .benefit-icon {
    width: clamp(55px, 8vw, 60px);
    height: clamp(55px, 8vw, 60px);
    background-color: var(--theme-blue);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .benefit-icon i {
    width: clamp(28px, 4vw, 36px);
    height: clamp(28px, 4vw, 36px);
    stroke-width: 2;
  }

  .benefit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 1.5vw, 1rem);
  }

  .benefit-title {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 650;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
  }

  .benefit-description {
    font-size: var(--card-para);
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
  }

  @media (max-width: 991.98px) {
    .benefits-section {
      padding: clamp(2.5rem, 6vw, 4rem) 0;
    }
  }

  @media (max-width: 767.98px) {
    .benefit-card {
      flex-direction: column;
      align-items: flex-start;
    }

    .benefit-icon {
      margin-bottom: 0.5rem;
    }
  }

  @media (max-width: 575.98px) {
    .benefits-badge {
      margin-bottom: 1rem;
    }

    .benefits-title {
      margin-bottom: 1.5rem;
    }
  }
}

/* ROI Hurdles CTA Section */
.roi-cta-section {
  background: linear-gradient(180deg, #0400ff 0%, #0300d1 100%);
  color: white;
  padding: 80px 0;

  .roi-cta-title {
    font-size: var(--main-sub-heading);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .roi-cta-button {
    background-color: #ffffff;
    color: var(--theme-blue);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .custom-description {
    max-width: 600px;
    margin: auto;
  }

  .roi-cta-button:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .roi-cta-button i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
  }

  .roi-cta-button:hover i {
    transform: translateX(5px);
  }

  /* Responsive Design for ROI CTA */
  @media (max-width: 991.98px) {
    .roi-cta-section {
      padding: 60px 0;
    }
  }

  @media (max-width: 767.98px) {
    .roi-cta-section {
      padding: 50px 0;
    }

    .roi-cta-content {
      padding: 0 1rem;
    }

    .roi-cta-button {
      font-size: 1rem;
      padding: 12px 28px;
    }
  }

  @media (max-width: 575.98px) {
    .roi-cta-button {
      padding: 12px 24px;
      gap: 8px;
    }
  }
}

/* AI Models Expertise Section Styles */
.ai-models-expertise-section {
  background: #ffffff;
  color: black;
  position: relative;

  .ai-models-main-title {
    font-size: var(--sub-heading);
    font-weight: 700;
    text-align: center;
  }

  .ai-models-main-description {
    font-size: var(--description-para);
    max-width: 900px;
    margin: auto;
  }

  .ai-models-card {
    padding: clamp(1rem, 3vw, 3rem);
    background-color: #f9f9f9;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .ai-models-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }

  .ai-models-card-header {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
  }

  .ai-models-card-title {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    margin: 0;
  }

  /* Foundation Models Grid (2x4 layout) */
  .ai-models-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 1.5vw, 1rem);
  }

  .ai-models-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.6rem, 1.2vw, 1rem);
  }

  /* Center Column Grid (single column) */
  .ai-models-grid-center {
    display: flex;
    flex-direction: column;
    gap: clamp(0.6rem, 1.2vw, 1rem);
    align-items: center;
  }

  .ai-model-tag {
    background: white;
    color: #333;
    padding: clamp(0.6rem, 1.5vw, 0.8rem) clamp(1rem, 2vw, 1.2rem);
    border-radius: 8px;
    font-size: var(--card-para);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1.26px solid #e8e8e8;
    width: 100%;
  }

  .ai-model-tag:hover {
    background: rgba(255, 255, 255, 0.811);
    transform: translateY(-2px);
    color: var(--theme-blue);
  }

  .ai-model-tag-empty {
    visibility: hidden;
  }

  /* Responsive Design for AI Models Section */

  @media (max-width: 768px) {
    .ai-models-main-title {
      font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
  }

  @media (max-width: 576px) {
    .ai-models-row {
      grid-template-columns: 1fr;
    }

    .ai-models-grid-center .ai-model-tag {
      max-width: none;
    }
  }
}

/* Why Choose Gen AI Section */
.why-choose-genAI-section {
  background-color: var(--color-gray);

  .service-card {
    background-color: white;
  }

  .service-icon {
    background-color: var(--theme-light-blue);
    color: var(--theme-blue);
  }
}

/* Client Testimonials Section */
.client-testimonials-section {
  background: white;
  padding: 5rem 0;

  .testimonials-title {
    font-size: var(--main-sub-heading);
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .carousel-inner {
    background: #f2f2f2;
    box-shadow: 0px 0px 4px 0px #00000040;
    border-radius: 42px;
  }

  .testimonial-card {
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 5px 2rem;
  }

  .client-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .testimonial-content {
    max-width: 800px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 auto;
  }

  .testimonial-text {
    min-height: 7.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    font-style: italic;
    margin-bottom: 0;
  }

  .quote-icon {
    font-size: 2rem;
  }

  .quote-icon i {
    width: 40px;
    height: 40px;
    color: #3366ff;
  }

  .client-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
  }

  .client-position {
    font-size: 1rem;
    margin-bottom: 0;
  }

  /* Carousel Indicators */
  .carousel-indicators {
    position: absolute;
    bottom: 10px;
  }

  .carousel-indicators [data-bs-target] {
    width: 4rem;
    height: 5px;
    border-radius: 5px;
    border: none;
    background-color: #dee2e6;
    margin: 0 6px;
    transition: all 0.3s ease;
  }

  .carousel-indicators .active {
    background-color: var(--theme-blue);
    transform: scale(1.2);
  }

  /* Carousel Controls - Hidden for cleaner look */
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  /* Testimonials Section Responsive */
  @media (max-width: 991.98px) {
    .client-testimonials-section {
      padding: 3rem 0;
    }

    .testimonial-card {
      min-height: 450px;
      margin: 0 1rem;
    }

    .testimonial-text {
      font-size: 1rem;
    }

    .client-name {
      font-size: 1.2rem;
    }
  }

  @media (max-width: 767.98px) {
    .client-testimonials-section {
      padding: 2rem 0;
    }

    .testimonial-card {
      min-height: 400px;
      margin: 0 0.5rem;
      padding: 2rem 0.8rem;
    }

    .testimonial-text {
      font-size: 0.95rem;
    }

    .client-name {
      font-size: 1.1rem;
    }

    .client-position {
      font-size: 0.9rem;
    }

    .quote-icon {
      font-size: 1.5rem;
    }

    .quote-icon i {
      width: 30px;
      height: 30px;
    }

    .carousel-inner {
      background: #f2f2f2;
      box-shadow: 0px 0px 4px 0px #00000040;
      border-radius: 12px;
    }
    .testimonial-content {
      -webkit-line-clamp: 8;
    }
  }
}
