/* ==========================================================================
   MEDISO SERVICES HERO & CTA COMPONENTS
   1:1 Pixel-Perfect Replica from https://mediso.framer.website/services
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap');

/* ==========================================================================
   1. MEDISO SERVICES HERO BANNER
   ========================================================================== */
.mediso-services-hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 130px 25px 24px 25px;
  overflow: hidden;
  box-sizing: border-box;
}

.mediso-services-hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.mediso-services-hero-card {
  position: relative;
  background-color: #d6ebff; /* Exact Mediso Framer token: rgb(214, 235, 255) */
  border-radius: 32px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 60px 24px;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(28, 39, 76, 0.04);
}

.mediso-services-hero-title {
  font-family: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 55px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05em;
  color: #1c274c; /* Exact Mediso Framer token: rgb(28, 39, 76) */
  margin: 0;
  padding: 0;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mediso-services-hero-breadcrumb {
  font-family: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5em;
  color: #787878; /* Exact Mediso Framer token: rgb(120, 120, 120) */
  margin: 0;
  padding: 0;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.mediso-services-hero-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mediso-services-hero-breadcrumb a:hover {
  color: #1c274c;
}

/* ==========================================================================
   2. MEDISO CTA SECTION
   ========================================================================== */
.mediso-cta-section {
  position: relative;
  width: 100%;
  padding: 50px 0 50px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.mediso-cta-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 25px;
  margin: 0 auto;
  box-sizing: border-box;
}

.mediso-cta-card {
  position: relative;
  width: 100%;
  min-height: 450px;
  background-color: #ededff; /* Exact Mediso Framer token: rgb(237, 237, 255) */
  border-radius: 37px;
  padding: 50px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 32px;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 10px 40px rgba(132, 130, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mediso-cta-card:hover {
  box-shadow: 0 16px 50px rgba(132, 130, 255, 0.16);
}

/* Decorative 8-Point Asterisk Shapes in Opposite Corners */
.mediso-cta-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mediso-cta-shape svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mediso-cta-shape-tr {
  right: -62px;
  top: -52px;
  width: 231px;
  height: 231px;
}

.mediso-cta-shape-bl {
  bottom: -50px;
  left: -50px;
  width: 231px;
  height: 231px;
}

.mediso-cta-card:hover .mediso-cta-shape-tr {
  transform: rotate(18deg) scale(1.05);
}

.mediso-cta-card:hover .mediso-cta-shape-bl {
  transform: rotate(-18deg) scale(1.05);
}

/* Heading */
.mediso-cta-title {
  position: relative;
  z-index: 2;
  font-family: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 50px;
  font-weight: 500;
  line-height: 1.22em;
  letter-spacing: -0.04em;
  color: #1c274c; /* rgb(28, 39, 76) */
  text-align: center;
  margin: 0;
  padding: 0;
  max-width: 800px;
  text-wrap: balance;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtitle */
.mediso-cta-subtitle {
  position: relative;
  z-index: 2;
  font-family: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55em;
  color: #3e4d75;
  text-align: center;
  max-width: 720px;
  margin: 16px auto 0 auto;
  -webkit-font-smoothing: antialiased;
}

/* Button Container */
.mediso-cta-btn-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.mediso-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1c274c; /* rgb(28, 39, 76) */
  color: #ffffff !important;
  font-family: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1em;
  text-decoration: none !important;
  border-radius: 1000px;
  padding: 16px 36px;
  min-height: 50px;
  box-sizing: border-box;
  box-shadow: 0 4px 18px rgba(28, 39, 76, 0.22);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.mediso-cta-btn:hover {
  background-color: #101935;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(28, 39, 76, 0.32);
}

.mediso-cta-btn:active {
  transform: translateY(0) scale(0.98);
}

.mediso-cta-btn-secondary {
  background-color: #ffffff !important;
  color: #1c274c !important;
  border: 1.5px solid #1c274c;
  box-shadow: 0 4px 14px rgba(28, 39, 76, 0.08);
}

.mediso-cta-btn-secondary:hover {
  background-color: #f4f3ff !important;
  border-color: #101935;
  box-shadow: 0 8px 24px rgba(28, 39, 76, 0.16);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Matching Mediso Framer Specs)
   ========================================================================== */
@media screen and (max-width: 1199px) and (min-width: 810px) {
  .mediso-services-hero-section {
    padding: 120px 20px 20px 20px;
  }
  .mediso-services-hero-card {
    min-height: 360px;
    padding: 50px 24px;
  }
  .mediso-services-hero-title {
    font-size: 46px;
  }
  .mediso-services-hero-breadcrumb {
    font-size: 19px;
  }
  
  .mediso-cta-title {
    font-size: 40px;
  }
  .mediso-cta-card {
    min-height: 420px;
    padding: 40px 30px;
  }
}

@media screen and (max-width: 809px) {
  .mediso-services-hero-section {
    padding: 105px 16px 16px 16px;
  }
  .mediso-services-hero-container {
    padding: 0;
  }
  .mediso-services-hero-card {
    min-height: 320px;
    padding: 40px 18px;
    border-radius: 24px;
    gap: 10px;
  }
  .mediso-services-hero-title {
    font-size: 38px;
  }
  .mediso-services-hero-breadcrumb {
    font-size: 18px;
  }

  .mediso-cta-section {
    padding: 32px 0 28px 0;
  }
  .mediso-cta-container {
    padding: 0 18px;
  }
  .mediso-cta-card {
    min-height: 360px;
    padding: 36px 20px;
    border-radius: 28px;
    gap: 26px;
  }
  .mediso-cta-title {
    font-size: 32px;
    letter-spacing: -0.03em;
  }
  .mediso-cta-shape-tr {
    right: -36px;
    top: -36px;
    width: 132px;
    height: 132px;
  }
  .mediso-cta-shape-bl {
    bottom: -28px;
    left: -28px;
    width: 116px;
    height: 116px;
  }
  .mediso-cta-subtitle {
    font-size: 16px;
    margin-top: 12px;
    padding: 0 8px;
  }
  .mediso-cta-btn-wrap {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
  }
  .mediso-cta-btn {
    font-size: 16px;
    padding: 14px 28px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .mediso-cta-card {
    padding: 32px 16px !important;
    border-radius: 22px !important;
    gap: 18px !important;
    min-height: auto !important;
  }
  .mediso-cta-title {
    font-size: 25px !important;
    line-height: 1.25em !important;
  }
  .mediso-cta-subtitle {
    font-size: 14px !important;
    line-height: 1.5em !important;
    margin-top: 0 !important;
  }
  .mediso-cta-btn {
    font-size: 14.5px !important;
    padding: 13px 20px !important;
    max-width: 100% !important;
  }
  .mediso-cta-shape-tr {
    right: -45px !important;
    top: -45px !important;
    width: 100px !important;
    height: 100px !important;
  }
  .mediso-cta-shape-bl {
    bottom: -35px !important;
    left: -35px !important;
    width: 90px !important;
    height: 90px !important;
  }
}

/* Service Detail Sections Mobile Optimizations */
@media screen and (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
  }
  .rt-data-banner-image-box img {
    height: 280px !important;
    border-radius: 14px !important;
  }
  .rt-experience-wrapper {
    flex-direction: column !important;
    padding: 24px 18px !important;
    gap: 22px !important;
  }
  .rt-experience-box {
    width: 100% !important;
    text-align: center !important;
  }
  .rt-service-content-v2 {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .rt-service-left-image-wrapper {
    width: 100% !important;
    height: 290px !important;
  }
  .rt-service-image-box {
    width: 100% !important;
    height: 100% !important;
  }
}
