:root {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --card: #ffffff;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.08);
  --accent-strong: rgba(59, 130, 246, 0.18);
  --accent-2: #0ea5e9;
  --accent-3: #6366f1;
  --text: #0f172a;
  --text-light: #1e293b;
  --muted: #64748b;
  --border-subtle: rgba(148, 163, 184, 0.4);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --shadow-card: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    to bottom,
    rgba(248, 250, 252, 0.95),
    rgba(248, 250, 252, 0.9),
    rgba(241, 245, 249, 0.85)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.1), 0 1px 2px 0 rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3),
    0 10px 25px rgba(59, 130, 246, 0.25);
  transition: all 0.3s ease;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav a:hover {
  color: var(--accent);
  background: rgba(59, 130, 246, 0.05);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 0.5rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  border: 2px solid #3b82f6;
  color: #3b82f6;
  border-radius: 30px 15px 30px 15px / 20px 35px 20px 35px;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2), 
              inset 0 1px 0 rgba(255, 255, 255, 0.8),
              0 2px 4px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4), 
              0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: #1d4ed8;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0) scale(1);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2), 
              inset 0 1px 0 rgba(255, 255, 255, 0.8),
              0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text-light);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: rgba(59, 130, 246, 0.5);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hero {
  padding: 3.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6366f1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  animation: fadeInUp 0.6s ease;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6366f1, #3b82f6);
}

h1 {
  font-size: clamp(2.4rem, 3.2vw, 3.2rem);
  line-height: 1.1;
  margin: 0.8rem 0 0.7rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 34rem;
  line-height: 1.7;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  animation: fadeInUp 1.2s ease 0.6s both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.meta-value {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  background:
    radial-gradient(circle at 0 0, rgba(219, 234, 254, 0.9), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(191, 219, 254, 0.8), transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInRight 1s ease 0.8s both;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover), var(--shadow-glow);
  border-color: rgba(59, 130, 246, 0.3);
}

.hero-portrait-circle {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(147, 197, 253, 0.9);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.25);
  margin-bottom: 1.25rem;
  background: transparent;
}

.hero-card h2 {
  margin: 0;
  font-size: 1.25rem;
}

.hero-card-role {
  margin: 0.2rem 0 1rem;
  font-size: 0.9rem;
  color: #2563eb;
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.hero-card-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.hero-card-contact {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.5);
}

.phone-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.phone-number {
  font-size: 1rem;
  font-weight: 500;
  color: #e5f2ff;
}

/* Enhanced clean spacing and breathing room */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.section-intro {
  max-width: 38rem;
  margin: 0.8rem auto 2.5rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.centered {
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.highlight-card {
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  background: linear-gradient(
      140deg,
      rgba(219, 234, 254, 0.9),
      rgba(241, 245, 249, 0.95)
    );
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-card);
  font-size: 0.93rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.highlight-card h3 {
  margin-top: 0;
}

.highlight-card ul {
  padding-left: 1.1rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(59, 130, 246, 0.3);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.specialties-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.features-grid {
  margin-top: 1.7rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  font-size: 0.94rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15), 
              0 4px 8px rgba(0, 0, 0, 0.08);
  border-color: rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.card p {
  margin-top: 0.2rem;
  color: var(--muted);
}

.card ul {
  padding-left: 1.1rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-card);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.feature h3 {
  margin-top: 0;
  font-size: 1rem;
}

.feature p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.contact-details {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.contact-link {
  display: inline-block;
  margin-top: 0.18rem;
  font-size: 0.96rem;
  color: #1d4ed8;
}

.note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.map-embed {
  margin-top: 0.9rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.map-embed iframe {
  width: 100%;
  height: 220px;
  border: 0;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.4rem 0 2rem;
  background: radial-gradient(circle at 100% 0, rgba(191, 219, 254, 0.7), #eff6ff);
}

.footer-inner {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-small {
  margin-top: 0.25rem;
}

.doctor-highlight-section {
  background: #020617;
  color: #e5e7eb;
}

.doctor-card {
  max-width: 800px;
  margin: 0 auto;
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.35), transparent 55%),
    #020617;
  border-radius: 24px;
  padding: 1.5rem 1.6rem 1.9rem;
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.75);
}

.doctor-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f172a, #1e293b, #1d4ed8);
  margin-bottom: 1.4rem;
}

.doctor-photo {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  background: radial-gradient(circle at 30% 0, #e5e7eb, #94a3b8);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.doctor-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

.doctor-banner-text {
  display: flex;
  flex-direction: column;
}

.doctor-banner-text strong {
  font-size: 0.95rem;
}

.doctor-banner-text span {
  font-size: 0.75rem;
  color: #cbd5f5;
}

.doctor-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #e5e7eb;
}

.doctor-card p + p {
  margin-top: 0.4rem;
}

.gallery-hero {
  padding: 3rem 0 1.2rem;
}

.gallery-slider {
  margin-top: 2rem;
  border-radius: 22px;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
  position: relative;
}

.gallery-slides {
  position: relative;
  width: 100%;
  height: 420px;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-slide.active {
  opacity: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
  display: block;
}

.gallery-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem 0.9rem;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.6),
    transparent
  );
  font-size: 0.85rem;
  color: #e5e7eb;
}

.gallery-controls {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  top: auto;
  transform: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}

.gallery-dots {
  display: flex;
  flex-direction: row;
  gap: 0.3rem;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1e293b;
  border: none;
  padding: 0;
  cursor: pointer;
}

.gallery-dot.active {
  background: #38bdf8;
}

.gallery-arrows {
  display: flex;
  gap: 0.3rem;
}

.gallery-arrow {
  width: 32px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #020617;
  color: #e5e7eb;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gallery-arrow:hover {
  background: #0b1120;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: 70vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #e5e7eb;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.lightbox-arrow.left {
  left: 1.5rem;
}

.lightbox-arrow.right {
  right: 1.5rem;
}

.whatsapp-fab {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #22c55e;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.55);
  z-index: 20;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.03);
  background: #16a34a;
  box-shadow: 0 22px 50px rgba(22, 163, 74, 0.65);
}

.whatsapp-icon {
  width: 26px;
  height: 26px;
  fill: #ecfdf5;
}

.page-hero {
  padding: 3rem 0 1.2rem;
}

.page-hero-subtitle {
  margin-top: 0.5rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.services-grid {
  margin-top: 1.9rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.section-cta {
  background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.24), transparent 55%),
    linear-gradient(90deg, #06b6d4, #0ea5e9, #3b82f6, #4f46e5);
  border-top: none;
  border-bottom: none;
  color: #f9fafb;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0 3.4rem;
}

.cta-inner h2 {
  margin: 0 0 0.3rem;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: 0.04em;
  font-weight: 700;
}

.cta-inner p {
  margin: 0;
  color: #e0f2fe;
  font-size: 0.92rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.section-cta .btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #1e293b;
  border-radius: 30px 15px 30px 15px / 20px 35px 20px 35px;
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.9),
              0 2px 4px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-cta .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.6s ease;
}

.section-cta .btn-primary:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(30, 41, 59, 0.5), 
              0 4px 8px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.section-cta .btn-primary:hover::before {
  left: 100%;
}

.section-cta .btn-primary:active {
  transform: translateY(0) scale(1);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.9),
              0 2px 4px rgba(0, 0, 0, 0.08);
}

.section-cta .btn-secondary {
  background: transparent;
  color: #e0f2fe;
  border-color: rgba(191, 219, 254, 0.9);
}

.section-cta .btn-secondary:hover {
  background: rgba(15, 23, 42, 0.08);
}

.footer-top {
  background: #020617;
  color: #e5e7eb;
  padding: 3rem 0 2.4rem;
}

.footer-top-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr);
  gap: 2.5rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.8rem;
  font-size: 0.85rem;
}

.footer-column-title {
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.footer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-columns li {
  margin-bottom: 0.3rem;
  color: #cbd5f5;
}

.footer-columns a {
  color: inherit;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.footer-contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64748b;
}

.footer-contact-value {
  font-size: 0.86rem;
  color: #e5e7eb;
}

@media (max-width: 720px) {
  .footer-top-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .nav-cta {
    flex: 1;
    justify-content: center;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .section {
    padding: 2.6rem 0;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 2rem, 520px);
  }

  .nav {
    gap: 0.9rem;
    font-size: 0.82rem;
  }

  .hero-card {
    padding: 1.5rem 1.3rem;
  }

  .card,
  .feature,
  .highlight-card {
    padding: 1.25rem 1.1rem;
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Enhanced selection styling */
::selection {
  background: rgba(59, 130, 246, 0.2);
  color: var(--text);
}

/* Focus styles for accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.nav a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Loading animation */
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

/* Blog Page Styles */
.page-hero {
  padding: 3rem 0 1.2rem;
}

.page-hero-subtitle {
  margin-top: 0.5rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero {
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
  max-width: 90rem;
  margin: 0 auto;
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08), 
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12), 
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-card {
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(59, 130, 246, 0.3);
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.3;
}

.blog-card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-card p {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.blog-full-content {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  margin-top: 1rem;
}

.blog-full-content h4 {
  color: var(--text);
  font-size: 1rem;
  margin: 1.5rem 0 0.8rem;
  font-weight: 600;
}

.blog-full-content h4:first-child {
  margin-top: 1rem;
}

.blog-full-content p {
  margin: 0.8rem 0;
  line-height: 1.7;
}

.blog-full-content ul {
  margin: 0.8rem 0;
  padding-left: 1.5rem;
}

.blog-full-content li {
  margin: 0.5rem 0;
  line-height: 1.6;
  color: var(--muted);
}

.blog-full-content strong {
  color: var(--text);
  font-weight: 600;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.blog-category {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-read-time {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Blog Card Variations */
.blog-card:nth-child(1) .blog-category {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.blog-card:nth-child(2) .blog-category {
  background: rgba(249, 115, 22, 0.1);
  color: #ea580c;
}

.blog-card:nth-child(3) .blog-category {
  background: rgba(168, 85, 247, 0.1);
  color: #9333ea;
}

.blog-card:nth-child(4) .blog-category {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.blog-card:nth-child(5) .blog-category {
  background: rgba(236, 72, 153, 0.1);
  color: #db2777;
}

.blog-card:nth-child(6) .blog-category {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

/* Blog Section Responsive */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
  }
  
  .blog-card-content {
    padding: 1.2rem;
  }
  
  .blog-card h3 {
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .blog-card-content {
    padding: 1rem;
  }
  
  .blog-card h3 {
    font-size: 0.95rem;
  }
  
  .blog-card p {
    font-size: 0.85rem;
  }
}

