:root {
  --pages-index-tone-01: transparent;
  --pages-index-border-01: #209ba8;
}
/* Medical Time Homepage Styles */

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  padding: 2rem 2rem;
  overflow: hidden;
  background: var(--app);
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(59, 187, 201, 0.09), rgba(69, 221, 193, 0.13));
  border: 1.5px solid rgba(59, 187, 201, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  margin-bottom: 2rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary-dark);
  box-shadow: 0 2px 12px rgba(59, 187, 201, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  letter-spacing: 0.3px;
}

.hero-badge svg {
  stroke: var(--primary-teal);
  animation: pulse 2s ease-in-out infinite;
}

/* Hero Title */
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.title-main {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--pages-index-tone-01);
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -2px;
}

.title-sub {
  font-size: var(--fs-subtitle-lg);
  font-weight: 500;
  color: var(--font-four);
  line-height: 1.4;
}

.hero-description {
  font-size: var(--fs-4xl);
  color: var(--font-four);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 800px;
}

/* Hero Cards */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero-card {
  background: var(--bg-white);
  border: 1px solid rgba(59, 187, 201, 0.13);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(59, 187, 201, 0.07), 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3bbbc9, #45ddc1);
  border-radius: 20px 20px 0 0;
  opacity: 0.55;
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.card-icon.infusion {
  background: var(--gradient-primary);
  box-shadow: 0 4px 12px var(--shadow-primary-md);
}

.card-icon.care {
  background: var(--gradient-pink);
  box-shadow: 0 4px 12px var(--shadow-pink);
}

.card-icon.surgery {
  background: var(--gradient-orange);
  box-shadow: 0 4px 12px var(--shadow-orange);
}

.card-icon.diagnostic {
  background: var(--gradient-purple);
  box-shadow: 0 4px 12px var(--shadow-purple);
}

.card-icon svg {
  stroke: var(--text-white);
}

.hero-card h2 {
  font-weight: 700;
  color: var(--font);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-size: var(--fs-6xl);
}

.hero-card p {
  color: var(--font-four);
  line-height: 1.6;
  margin: 0;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}


.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: var(--fs-md);
  font-weight: 600;
  text-decoration: none;
  transition: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: 0 4px 12px var(--shadow-primary-md);
}

.btn-secondary {
  background: var(--pages-index-tone-01);
  border: 2px solid var(--pages-index-border-01);
  color: var(--pages-index-border-01);
}

/* Hero Stats */
.hero-stats-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 3rem;
  margin-inline: auto;
  background: linear-gradient(135deg, rgba(59, 187, 201, 0.07), rgba(69, 221, 193, 0.10));
  border-radius: 20px;
  border: 1px solid rgba(59, 187, 201, 0.22);
  box-shadow: 0 8px 32px rgba(59, 187, 201, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-size: var(--fs-title);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--pages-index-tone-01);
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--font-four);
  text-align: center;
  font-weight: 500;
}

.stat-divider {
  width: 2px;
  height: 50px;
  background: linear-gradient(180deg, var(--pages-index-tone-01), var(--primary-teal), var(--pages-index-tone-01));
}

/* Splashes Background */
.splashes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.6;
}

.splashes .splash:first-child {
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--loader-in);
  border-radius: 50%;
  top: -300px;
  left: -300px;
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.splashes .splash:nth-child(2) {
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--pag-active);
  border-radius: 50%;
  bottom: -300px;
  right: -300px;
  opacity: 0.3;
  animation: float 10s ease-in-out infinite reverse;
}

.splashes .splash:last-child {
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--link-active);
  border-radius: 50%;
  bottom: 0;
  right: 50%;
  transform: translate(50%, 50%);
  opacity: 0.2;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0);
  }
  50% {
    transform: translate(30px, 30px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive */
@media (max-width: 1366px) {
  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .hero-cards {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: flex-start;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 100px;
    height: 2px;
  }

  .title-main {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: var(--fs-xs);
    padding: 0.4rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: var(--fs-xs);
  }
}

/* Services Section */
.services-section {
  padding: 4.5rem 2rem 4rem 2rem;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  background: linear-gradient(180deg, var(--app), var(--border-primary-alpha));
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  background: linear-gradient(135deg, rgba(59, 187, 201, 0.09), rgba(69, 221, 193, 0.13));
  border: 1.5px solid rgba(59, 187, 201, 0.3);
  border-radius: 50px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 2px 10px rgba(59, 187, 201, 0.13);
}

.section-title {
  font-size: var(--fs-display);
  font-weight: 800;
  color: var(--font);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, #3bbbc9, #45ddc1);
  border-radius: 3px;
  margin: 0.85rem auto 0;
}

.section-subtitle {
  font-size: var(--fs-3xl);
  color: var(--font-four);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: none;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(59, 187, 201, 0.13);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3bbbc9, #45ddc1);
  border-radius: 3px 3px 0 0;
  opacity: 0.4;
}

.service-card.featured {
  background: linear-gradient(145deg, rgba(59, 187, 201, 0.06) 0%, rgba(69, 221, 193, 0.10) 100%);
  border: 1.5px solid rgba(59, 187, 201, 0.32);
  box-shadow: 0 8px 36px rgba(59, 187, 201, 0.14), 0 2px 6px rgba(59, 187, 201, 0.08);
}

.service-card.featured::before {
  opacity: 1;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(59, 187, 201, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-icon svg {
  stroke: var(--text-white);
}

.service-badge {
  background: var(--gradient-orange);
  color: var(--text-white);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: var(--fs-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px var(--shadow-orange);
}

.service-card h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--font);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--font-four);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-features li {
  position: relative;
  padding-left: 1.75rem;
  font-size: var(--fs-sm);
  color: var(--font-four);
  line-height: 1.5;
}

.service-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #3bbbc9, #45ddc1);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 2px 8px rgba(59, 187, 201, 0.4);
  line-height: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-teal);
  font-weight: 600;
  font-size: var(--fs-lg);
  text-decoration: none;
  transition: none;
  margin-top: auto;
}

.service-link svg {
  transition: none;
}

/* Responsive Services */
@media (max-width: 768px) {
  .services-section {
    padding: 4rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Content sections */
.medical-time-home .content-section {
  position: relative;
}

.medical-time-home .content-section::after {
  background: linear-gradient(
    90deg,
    var(--pages-index-tone-01),
    var(--bg-primary-alpha-10) 50%,
    var(--pages-index-tone-01)
  );
}

/* Medical themed icons */
.medical-time-home .content-text p {
  color: var(--text-dark);
  line-height: 1.8;
}

.medical-time-home .closing-message-aside {
  font-size: var(--fs-2xl);
  color: var(--primary-dark);
  text-align: center;
  margin-top: 2rem;
  padding: 2.25rem 2.5rem;
  background: linear-gradient(135deg, rgba(59, 187, 201, 0.07), rgba(69, 221, 193, 0.12));
  border-radius: 18px;
  border: 1.5px solid rgba(59, 187, 201, 0.25);
  box-shadow: 0 8px 36px rgba(59, 187, 201, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.medical-time-home .closing-message-aside::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, #3bbbc9, #45ddc1);
  border-radius: 0 0 4px 4px;
}

/* Smooth scroll behavior */
.medical-time-home {
  scroll-behavior: smooth;
}

/* Section transitions */
.medical-time-home .content-section {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.medical-time-home .content-section:nth-child(1) { animation-delay: 0.1s; }
.medical-time-home .content-section:nth-child(2) { animation-delay: 0.2s; }
.medical-time-home .content-section:nth-child(3) { animation-delay: 0.3s; }

.medical-time-home .content-section:last-child {
  padding-bottom: 4em;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Print styles */
@media print {
  .medical-time-home .content-image img {
    break-inside: avoid;
  }
}
