/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Nunito:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --secondary: #198754;
  --accent: #00c6ff;
  --gradient: linear-gradient(135deg, #0d6efd 0%, #00c6ff 100%);
  --gradient-soft: linear-gradient(135deg, #e8f4fd 0%, #e0f7fa 100%);
  --white: #ffffff;
  --light: #f8faff;
  --text-dark: #1a2340;
  --text-muted: #6b7a99;
  --border: #e2e8f8;
  --shadow-sm: 0 2px 12px rgba(13,110,253,0.08);
  --shadow-md: 0 8px 32px rgba(13,110,253,0.12);
  --shadow-lg: 0 20px 60px rgba(13,110,253,0.15);
  --radius: 14px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --navbar-height: 72px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }

.section-badge {
  display: inline-block;
  background: var(--gradient-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(13,110,253,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(13,110,253,0.45); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.btn-success {
  background: linear-gradient(135deg, #198754, #20c997);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(25,135,84,0.35);
}
.btn-success:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(25,135,84,0.45); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-title {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-menu a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.navbar-menu a:hover, .navbar-menu a.active {
  color: var(--primary);
  background: rgba(13,110,253,0.06);
}
.navbar-menu a.btn-nav {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(13,110,253,0.3);
}
.navbar-menu a.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,110,253,0.4); background: rgba(0,0,0,0) !important; background: var(--gradient) !important; }
.navbar-right { display: flex; align-items: center; gap: 12px; }
.lang-btn {
  background: var(--gradient-soft);
  border: 1.5px solid var(--border);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
  background: transparent;
  border: none;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transform: translateY(-20px);
  opacity: 0;
  transition: var(--transition);
}
.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 12px 16px;
  border-radius: 10px;
  transition: var(--transition);
  margin-bottom: 4px;
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--gradient-soft); color: var(--primary); }
.mobile-menu a.btn-nav-mobile {
  background: var(--gradient);
  color: var(--white) !important;
  text-align: center;
  margin-top: 8px;
}
.mobile-lang { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding-top: var(--navbar-height);
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f8ff 50%, #f0fff8 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(13,110,253,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(0,198,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  animation: fadeDown 0.6s ease both;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(0.85)} }
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 20px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero-title .highlight { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-speciality {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 12px;
  animation: fadeUp 0.7s ease 0.2s both;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
  animation: fadeUp 0.7s ease 0.3s both;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.7s ease 0.4s both; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.7s ease 0.5s both;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.5px; }
.hero-image-wrap {
  position: relative;
  animation: fadeLeft 0.8s ease 0.2s both;
}
.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image-frame img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top;
}
.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}
.hero-card.card-left { bottom: 32px; left: -24px; }
.hero-card.card-top { top: 32px; right: -24px; animation-delay: 1s; }
.hero-card-icon { font-size: 28px; }
.hero-card-text { font-family: var(--font-heading); }
.hero-card-text strong { display: block; font-size: 16px; font-weight: 700; color: var(--text-dark); }
.hero-card-text span { font-size: 12px; color: var(--text-muted); }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeLeft { from{opacity:0;transform:translateX(32px)} to{opacity:1;transform:translateX(0)} }

/* ===== ABOUT PREVIEW ===== */
.about-preview { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-image-frame img { width: 100%; height: 500px; object-fit: cover; object-position: top; }
.about-badge-float {
  position: absolute;
  bottom: 28px;
  right: -20px;
  background: var(--gradient);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-badge-float .num { font-size: 28px; font-weight: 800; display: block; }
.about-badge-float .txt { font-size: 12px; opacity: 0.9; }
.about-decoration {
  position: absolute;
  top: -16px; left: -16px;
  width: 120px; height: 120px;
  border: 3px solid rgba(13,110,253,0.15);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.credentials-list { margin: 24px 0 32px; }
.credential-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.credential-item:last-child { border-bottom: none; }
.cred-icon {
  width: 36px; height: 36px;
  background: var(--gradient-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.cred-text { font-weight: 600; font-size: 15px; color: var(--text-dark); }

/* ===== SERVICES ===== */
.services { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--gradient);
  border-radius: 0 4px 4px 0;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { height: 100%; }
.service-icon {
  width: 60px; height: 60px;
  background: var(--gradient-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--gradient); }
.service-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== WHY CHOOSE ===== */
.why-choose { background: var(--white); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.why-features { display: grid; gap: 20px; }
.why-feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--light);
  border-radius: var(--radius);
  transition: var(--transition);
}
.why-feature:hover { background: var(--gradient-soft); transform: translateX(6px); }
.why-feat-icon {
  width: 52px; height: 52px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  flex-shrink: 0;
}
.why-feat-title { font-family: var(--font-heading); font-weight: 600; font-size: 16px; color: var(--text-dark); margin-bottom: 6px; }
.why-feat-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.why-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-image img { width: 100%; height: 460px; object-fit: cover; object-position: top; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60vw; height: 120%;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== GALLERY ===== */
.gallery-section { background: var(--light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,110,253,0.75), rgba(0,198,255,0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-overlay span { color: white; font-size: 36px; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 900px; width: 100%; }
.lightbox-inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: -48px; right: 0;
  background: var(--white);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: #ff4444; color: white; }

/* ===== BLOG ===== */
.blog-section { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-img { height: 200px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-content { padding: 24px; }
.blog-meta { display: flex; gap: 12px; margin-bottom: 12px; }
.blog-tag {
  background: var(--gradient-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}
.blog-date { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.blog-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.blog-read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.blog-read-more:hover { gap: 10px; }

/* ===== BLOG DETAILS ===== */
.blog-details-section { padding: 64px 0 80px; }
.blog-details-inner { max-width: 800px; margin: 0 auto; }
.blog-details-header { margin-bottom: 36px; }
.blog-details-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}
.blog-details-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.blog-details-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow-md); }
.blog-details-img img { width: 100%; max-height: 440px; object-fit: cover; }
.blog-details-body { font-size: 16px; color: var(--text-dark); line-height: 1.9; }
.blog-details-body h2 { font-family: var(--font-heading); font-size: 24px; font-weight: 700; margin: 36px 0 16px; color: var(--text-dark); }
.blog-details-body h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin: 28px 0 12px; color: var(--primary); }
.blog-details-body p { margin-bottom: 20px; }
.blog-details-body ul { margin: 16px 0 20px 20px; }
.blog-details-body ul li { margin-bottom: 8px; list-style: disc; color: var(--text-muted); }
.blog-details-body strong { color: var(--text-dark); }
.blog-back-btn { margin-bottom: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; font-size: 15px; transition: var(--transition); }
.blog-back-btn:hover { gap: 12px; }

/* ===== CONTACT ===== */
.contact-section { background: var(--light); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 20px; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1.5px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.contact-card-icon {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
}
.contact-card-label { font-size: 12px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 4px; }
.contact-card-value { font-size: 15px; font-weight: 600; color: var(--text-dark); line-height: 1.5; }
.contact-card-value a { color: var(--primary); }
.contact-card-value a:hover { text-decoration: underline; }
.contact-action-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.map-container { height: 300px; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--text-muted); flex-direction: column; gap: 12px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ===== APPOINTMENT / FORM ===== */
.appointment-section { background: var(--white); padding: 80px 0; }
.appointment-inner { max-width: 700px; margin: 0 auto; }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,110,253,0.1); }
.form-control::placeholder { color: #b0bbcc; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-error { color: #e74c3c; font-size: 13px; margin-top: 5px; display: none; }
.form-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 16px;
  font-weight: 600;
  display: none;
}

/* ===== PAGE HERO (Inner Pages) ===== */
.page-hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Overlay: dark gradient on top of background image */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 40, 120, 0.82) 0%,
    rgba(13, 110, 253, 0.70) 50%,
    rgba(0, 80, 160, 0.80) 100%
  );
  z-index: 1;
}

/* Subtle animated shine sweep */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.04) 50%,
    transparent 70%
  );
  z-index: 2;
  animation: heroShine 6s ease-in-out infinite;
}
@keyframes heroShine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* Per-page background images using high-quality Unsplash medical photos */
.page-hero.hero-about {
  background-image: url("https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=1600&q=80&auto=format&fit=crop");
}
.page-hero.hero-services {
  background-image: url("https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?w=1600&q=80&auto=format&fit=crop");
}
.page-hero.hero-gallery {
  background-image: url("https://images.unsplash.com/photo-1504439468489-c8920d796a29?w=1600&q=80&auto=format&fit=crop");
}
.page-hero.hero-blog {
  background-image: url("https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=1600&q=80&auto=format&fit=crop");
}
.page-hero.hero-contact {
  background-image: url("https://images.unsplash.com/photo-1666214277730-f7a8a6b26bde?w=1600&q=80&auto=format&fit=crop");
}
.page-hero.hero-appointment {
  background-image: url("../images/appointment.jpg");
}
.page-hero.hero-blog-details {
  background-image: url("https://images.unsplash.com/photo-1530026186672-2cd00ffc50fe?w=1600&q=80&auto=format&fit=crop");
}

/* Fallback gradient if image fails */
.page-hero:not([class*="hero-"]) {
  background: var(--gradient);
}

.page-hero .container { position: relative; z-index: 3; }

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  letter-spacing: -0.5px;
}

/* Decorative line under h1 */
.page-hero h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.3));
  border-radius: 2px;
  margin: 16px auto 0;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.90);
  position: relative;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  position: relative;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ===== ABOUT FULL PAGE ===== */
.about-full { background: var(--white); }
.about-full-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.about-info-blocks { display: grid; gap: 20px; margin-top: 32px; }
.info-block { background: var(--light); border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--primary); }
.info-block-title { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.info-block-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== SERVICES FULL ===== */
.services-full { background: var(--light); }
.services-full-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* ===== FOOTER ===== */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-name-f {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; line-height: 1.8; opacity: 0.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--primary); transform: translateY(-3px); }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--accent); transform: translateX(4px); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item span { font-size: 14px; opacity: 0.7; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; padding: 60px 0; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image-frame img { height: 400px; }
  .hero-card.card-left { left: 0; bottom: 16px; }
  .hero-card.card-top { right: 0; top: 16px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-image-frame img { height: 380px; }
  .about-badge-float { right: 16px; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-full-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .navbar-menu { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 22px; }
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-card { padding: 28px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-cta { flex-direction: column; }
  .btn { justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
}

/* ===== FLOATING ACTION BUTTONS (WhatsApp + Facebook) ===== */
/* Hostinger-safe: isolation + will-change prevents parent transform breaking fixed */
.floating-btns {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  z-index: 2147483647 !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  isolation: isolate;
  pointer-events: auto;
}

/* Each button wrapper for tooltip positioning */
.floating-btn-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

/* Base button style */
.floating-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease;
  position: relative;
  flex-shrink: 0;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.floating-btn:hover {
  transform: scale(1.12) translateY(-3px);
}

.floating-btn svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  position: relative;
  z-index: 1;
}

/* WhatsApp green */
.floating-btn.wa {
  background: #25D366;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}
.floating-btn.wa:hover {
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

/* Facebook blue */
.floating-btn.fb {
  background: #1877F2;
  box-shadow: 0 6px 24px rgba(24, 119, 242, 0.40);
}
.floating-btn.fb:hover {
  box-shadow: 0 12px 36px rgba(24, 119, 242, 0.55);
}

/* Pulse ring — WhatsApp only */
.floating-btn.wa::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: floatPulse 2.4s ease-out infinite;
}

@keyframes floatPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* Tooltip */
.floating-tooltip {
  position: absolute;
  right: 68px;
  background: #1a2340;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.floating-tooltip::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1a2340;
  border-right: none;
}

.floating-btn-wrap:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile */
@media (max-width: 768px) {
  .floating-btns {
    bottom: 20px;
    right: 16px;
    gap: 12px;
  }
  .floating-btn {
    width: 50px;
    height: 50px;
  }
  .floating-btn svg {
    width: 24px;
    height: 24px;
  }
  .floating-tooltip {
    display: none;
  }
}

/* ===================================================
   HOSTINGER PRODUCTION FIXES + FULL RESPONSIVE AUDIT
   Final Version — All Devices
   =================================================== */

/* --- Touch targets: min 44px for mobile --- */
@media (max-width: 768px) {
  .btn, .btn-nav, .btn-nav-mobile,
  .social-btn, .lang-btn,
  .navbar-menu a { min-height: 44px; }
  .floating-btn { min-width: 50px; min-height: 50px; }
}

/* --- Prevent horizontal overflow on all screens --- */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
* { word-break: break-word; }

/* --- Fix hero cards overflow on tablet --- */
@media (max-width: 900px) {
  .hero-card.card-left { left: 0; }
  .hero-card.card-top  { right: 0; }
}

/* --- Appointment info cards: 2-col on mobile --- */
@media (max-width: 480px) {
  .appointment-inner > div:first-child {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* --- Blog grid: 2-col on tablet, 1-col on mobile --- */
@media (max-width: 1024px) and (min-width: 769px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* --- Gallery: 3-col tablet, 2-col mobile, 1-col small mobile --- */
@media (max-width: 1024px) and (min-width: 601px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item img { height: 180px; }
}
@media (max-width: 360px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* --- Services grid: 2-col tablet --- */
@media (max-width: 1024px) and (min-width: 601px) {
  .services-grid, .services-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services-grid, .services-full-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Footer: 2-col on tablet, 1-col on mobile --- */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 12px; }
}

/* --- Page hero: disable parallax on mobile (iOS fix) --- */
.page-hero { background-attachment: scroll; }
@media (max-width: 768px) {
  .page-hero { padding: 120px 0 70px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 40px); }
  .page-hero p  { font-size: 15px; }
}
@media (max-width: 480px) {
  .page-hero { padding: 100px 0 56px; }
  .page-hero h1 { font-size: clamp(22px, 8vw, 32px); }
}

/* --- About full page: single col on all mobile --- */
@media (max-width: 900px) {
  .about-full-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .why-inner   { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Form card: tighter padding on mobile --- */
@media (max-width: 600px) {
  .form-card { padding: 24px 16px; }
  .appointment-section { padding: 48px 0; }
}

/* --- Blog details: readable on small screens --- */
@media (max-width: 768px) {
  .blog-details-inner { padding: 0; }
  .blog-details-title { font-size: clamp(20px, 5vw, 32px); }
  .blog-details-body h2 { font-size: 20px; }
  .blog-details-body h3 { font-size: 17px; }
  .blog-details-body p, .blog-details-body li { font-size: 15px; }
}

/* --- Contact cards: single col on mobile --- */
@media (max-width: 600px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-card  { flex-direction: column; gap: 8px; }
}

/* --- CTA buttons: stack on mobile --- */
@media (max-width: 480px) {
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }
}

/* --- Hero: fix tall image on small screens --- */
@media (max-width: 600px) {
  .hero-image-frame img { height: 300px; }
  .about-image-frame img { height: 260px; }
  .why-image img { height: 260px; }
  .hero-inner { padding: 40px 0; gap: 24px; }
}

/* --- Navbar logo: truncate on very small screens --- */
@media (max-width: 360px) {
  .logo-name  { font-size: 14px; }
  .logo-title { font-size: 10px; }
  .container  { padding: 0 12px; }
}

/* --- Credentials list: wrap on mobile --- */
@media (max-width: 480px) {
  .credentials-list { gap: 0; }
  .credential-item { padding: 8px 0; }
  .cred-text { font-size: 14px; }
}

/* --- Info blocks: single col on mobile --- */
@media (max-width: 480px) {
  .about-info-blocks { gap: 12px; }
  .info-block { padding: 16px; }
}

/* --- Floating buttons: safe area for iPhone home bar --- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .floating-btns {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
}

/* --- Fix iOS tap highlight --- */
a, button { -webkit-tap-highlight-color: transparent; }

/* --- Fix form inputs on iOS (prevents zoom on focus) --- */
@media (max-width: 768px) {
  .form-control { font-size: 16px !important; }
}

/* --- Smooth scrolling fallback for older browsers --- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* --- Print styles (basic) --- */
@media print {
  .navbar, .mobile-menu, .floating-btns,
  .cta-section, footer { display: none !important; }
  body { font-size: 12pt; }
}

/* --- Hostinger: ensure images never overflow their container --- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.blog-img img,
.gallery-item img,
.hero-image-frame img,
.about-image-frame img,
.why-image img {
  width: 100%;
}

/* --- Fix breadcrumb overflow on narrow screens --- */
@media (max-width: 480px) {
  .breadcrumb { flex-wrap: wrap; justify-content: center; font-size: 12px; }
}

/* --- Fix about-badge-float overflow on tablet --- */
@media (max-width: 900px) {
  .about-badge-float { right: 8px; bottom: 8px; }
}
@media (max-width: 600px) {
  .about-badge-float { display: none; }
  .about-decoration { display: none; }
}

/* --- Lightbox: full screen on mobile --- */
@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lightbox-close { top: -40px; }
}

