/* ══════════════════════════════════════════════
   DRG Medical Center — Custom Styles
   ══════════════════════════════════════════════ */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Navigation ── */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}
.nav-fixed.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}
.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: #475569;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover {
  color: #0d9488;
  background: #f0fdfa;
}
.mobile-nav-link {
  position: relative;
  text-decoration: none;
  color: #1e293b;
  transition: color 0.2s;
}
.mobile-nav-link:hover {
  color: #0d9488;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 50%, #f1f5f9 100%);
  min-height: 100vh;
  position: relative;
}
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}
.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}
.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13,148,136,0.08) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
}
.shape-3 {
  width: 200px;
  height: 200px;
  background: rgba(13,148,136,0.06);
  top: 30%;
  left: 45%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
.shape-4 {
  width: 120px;
  height: 120px;
  background: rgba(13,148,136,0.08);
  top: 20%;
  left: 15%;
  border-radius: 50%;
}
.shape-5 {
  width: 80px;
  height: 80px;
  background: rgba(13,148,136,0.1);
  bottom: 25%;
  right: 10%;
  border-radius: 50%;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s ease forwards;
}
.hero-image-wrap {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s ease 0.2s forwards;
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-image-main {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-image-main::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}

.hero-float-card {
  position: absolute;
  bottom: 40px;
  left: -30px;
  background: white;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  z-index: 2;
  display: flex;
  align-items: center;
}
.hero-float-card-2 {
  position: absolute;
  top: 40px;
  right: -20px;
  background: white;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  z-index: 2;
  display: flex;
  align-items: center;
}

.card-float {
  animation: float 4s ease-in-out infinite;
}
.card-float-delayed {
  animation: float 4s ease-in-out 2s infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  color: #0d9488;
  animation: scrollBounce 2s ease-in-out infinite;
  text-decoration: none;
}
@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #0d9488;
  color: white;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 25px rgba(13,148,136,0.3);
}
.btn-primary:hover {
  background: #0f766e;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(13,148,136,0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: white;
  color: #1e293b;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  background: #f8fafc;
  border-color: #0d9488;
  color: #0d9488;
  transform: translateY(-2px);
}

/* ── Tags ── */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}
.tag-teal {
  background: #f0fdfa;
  color: #0d9488;
  border: 1px solid #ccfbf1;
}
.tag-white {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
}

/* ── Sections ── */
.section {
  padding: 6rem 0;
}
@media (max-width: 640px) {
  .section { padding: 4rem 0; }
}

/* ── Service Cards ── */
.service-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #f1f5f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: #ccfbf1;
}
.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d9488;
  transition: background 0.3s;
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: white;
}

/* ── About ── */
.about-image-grid {
  position: relative;
}
.about-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}
.about-img-main img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -20px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 4px solid white;
  max-width: 60%;
}
.about-img-secondary img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.about-exp-badge {
  position: absolute;
  top: -20px;
  right: 40px;
  background: #0d9488;
  color: white;
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(13,148,136,0.4);
  z-index: 2;
}
.about-exp-number {
  display: block;
  font-display: font-bold;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.about-exp-text {
  display: block;
  font-size: 0.8125rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

/* ── Reason Cards ── */
.reason-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.reason-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(13,148,136,0.4);
  transform: translateY(-4px);
}
.reason-num {
  font-family: 'Outfit', system-ui, sans-serif;
}

/* ── Testimonial Cards ── */
.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #f1f5f9;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* ── Form ── */
.input-field {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #1e293b;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.input-field::placeholder {
  color: #94a3b8;
}
.input-field:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

/* ── Scroll Reveal ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.5s; }

/* ── Dark section decorative dashes ── */
.shape-dash {
  position: absolute;
  border: 2px dashed rgba(13,148,136,0.15);
  border-radius: 50%;
  pointer-events: none;
}
.shape-dash-1 {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -50px;
}
.shape-dash-2 {
  width: 200px;
  height: 200px;
  bottom: 50px;
  left: -30px;
}
.shape-dash-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 30%;
  border-color: rgba(13,148,136,0.1);
}

/* ── Mobile Menu ── */
#mobileMenu.open {
  transform: translateX(0);
}
#menuIcon.active #bar1 {
  transform: translateY(4px) rotate(45deg);
}
#menuIcon.active #bar2 {
  opacity: 0;
}
#menuIcon.active #bar3 {
  transform: translateY(-4px) rotate(-45deg);
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero-image-wrap { margin-top: 2rem; }
  .hero-float-card { left: 10px; bottom: 20px; }
  .hero-float-card-2 { right: 10px; top: 20px; }
}

@media (max-width: 640px) {
  .hero { padding: 7rem 0 3rem; }
  .hero h1 { font-size: 2.75rem; }
  .hero-float-card,
  .hero-float-card-2 {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-top: 1rem;
  }
  .hero-image-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .about-img-secondary {
    right: 0;
    bottom: -20px;
  }
  .about-exp-badge {
    top: -15px;
    right: 10px;
    padding: 1rem 1.25rem;
  }
}
