/* ============================================================
   NEXORA DENTAL LABS — COMPLETE STYLESHEET
   Designed & Developed by Nevlon Studio
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #e0f2fe;
  --primary-ultra-light: #f0f9ff;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(14, 165, 233, 0.12);
  --shadow-lg: 0 12px 40px rgba(14, 165, 233, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s ease;
  --font: 'Poppins', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 48px;
}

.blue { color: var(--primary); }

.gradient-text {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.45);
  background: linear-gradient(135deg, var(--primary-dark), #0369a1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: 2px solid var(--primary);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-large {
  padding: 18px 40px;
  font-size: 17px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  padding: 0;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}

.nav-logo i {
  color: var(--primary);
  font-size: 24px;
}

.logo-sub {
  color: var(--primary);
  font-weight: 400;
  font-size: 14px;
  display: block;
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  color: var(--dark-2);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.btn-nav {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(14,165,233,0.3);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,165,233,0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #0c2340 40%, #0e3a5e 70%, #0ea5e9 100%);
  overflow: hidden;
  padding-top: 76px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230ea5e9' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  flex: 1;
  padding: 80px 60px;
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.3);
  color: #7dd3fc;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.pulse {
  animation: pulse 2s infinite;
  color: #22c55e;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px 28px;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

.hero-image-side {
  flex: 1;
  position: relative;
  height: 100vh;
  max-width: 600px;
}

.hero-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-float-card {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  animation: float 3s ease-in-out infinite;
}

.hero-float-card i {
  color: var(--primary);
  font-size: 18px;
}

.card1 {
  top: 25%;
  right: 30px;
  animation-delay: 0s;
}

.card2 {
  bottom: 30%;
  right: 60px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== WHY NEXORA SECTION ===== */
.why-section {
  padding: 100px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  color: var(--primary);
  font-size: 22px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--gray);
  font-size: 15px;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: 80px 0;
  background: var(--primary-ultra-light);
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.product-row:last-child { margin-bottom: 0; }

.product-row.reverse { direction: rtl; }
.product-row.reverse > * { direction: ltr; }

.product-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.product-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-image:hover img { transform: scale(1.04); }

.product-info h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.product-info p {
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 24px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--dark-2);
}

.check-list li i {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.large-check li {
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.large-check li:last-child { border-bottom: none; }

.large-check li div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.large-check li strong { font-weight: 700; font-size: 16px; }
.large-check li div { color: var(--gray); font-size: 14px; }

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 100px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light), #bae6fd);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.service-icon i {
  color: var(--primary);
  font-size: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon i { color: white; }

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 20px;
}

.service-card a {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.service-card a:hover { color: var(--primary-dark); }

/* ===== PARTNER SECTION ===== */
.partner-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark) 0%, #0c2340 100%);
}

.partner-section .section-label { color: #7dd3fc; }
.partner-section .section-title { color: white; }
.partner-section .section-sub { color: rgba(255,255,255,0.65); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.partner-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  position: relative;
}

.partner-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(14,165,233,0.4);
  transform: translateY(-6px);
}

.partner-card.featured {
  background: var(--primary);
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(14,165,233,0.4);
}

.partner-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #22c55e;
  color: white;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.partner-num {
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.partner-card.featured .partner-num { color: rgba(255,255,255,0.3); }

.partner-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
}

.partner-card p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  margin-bottom: 28px;
}

.partner-card.featured p { color: rgba(255,255,255,0.85); }

.partner-card .btn-outline {
  color: white;
  border-color: rgba(255,255,255,0.4);
}

.partner-card .btn-outline:hover {
  background: white;
  color: var(--dark);
  border-color: white;
}

.partner-card.featured .btn-primary {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 100px 0;
  background: var(--gray-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,165,233,0.9), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: white;
  font-weight: 700;
  font-size: 16px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(14,165,233,0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  gap: 12px;
}

.faq-question:hover { color: var(--primary); }

.faq-question i {
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--gray);
  font-size: 15px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), #0284c7, #0369a1);
  border-radius: 24px;
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-box h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}

.cta-box .btn-primary {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.cta-box .btn-primary:hover {
  background: var(--primary-ultra-light);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  color: white !important;
  margin-bottom: 16px;
}

.footer-logo .logo-sub { color: var(--primary) !important; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-contact p {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact p i {
  color: var(--primary);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.dev-credit {
  color: rgba(255,255,255,0.5);
}

.dev-credit span {
  color: var(--primary);
  font-weight: 700;
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 76px;
}

.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(14,165,233,0.4) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 900px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--primary); }
.breadcrumb i { font-size: 10px; }

.page-hero-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
}

.hero-mini-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
}

.mini-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mini-stat .num {
  font-size: 32px;
  font-weight: 800;
  color: white;
}

.mini-stat .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== STATS BANNER ===== */
.stats-banner {
  background: var(--primary);
  padding: 48px 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-item { padding: 12px; }

.big-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}

.big-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== ALL SERVICES PAGE ===== */
.all-services-section {
  padding: 100px 0;
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 2px solid var(--border);
}

.service-detail-row:last-of-type { border-bottom: none; }

.service-detail-row.reverse { direction: rtl; }
.service-detail-row.reverse > * { direction: ltr; }

.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-detail-img:hover img { transform: scale(1.04); }

.service-icon-lg {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon-lg i {
  color: var(--primary);
  font-size: 28px;
}

.blue-icon { background: linear-gradient(135deg, #e0f2fe, #bae6fd) !important; }

.service-detail-info h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
}

.two-col-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.two-col-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: var(--transition);
}

.two-col-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.two-col-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.two-col-info {
  padding: 28px;
}

.two-col-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 12px 0 10px;
}

.two-col-info p {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 16px;
}

/* ===== MATERIALS SECTION ===== */
.materials-section {
  padding: 80px 0;
  background: var(--primary-ultra-light);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.material-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: var(--transition);
  padding: 0 0 24px;
}

.material-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.material-color {
  height: 8px;
  width: 100%;
}

.material-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 20px 24px 8px;
}

.material-card p {
  color: var(--gray);
  font-size: 14px;
  margin: 0 24px 16px;
  line-height: 1.7;
}

.material-tag {
  margin: 0 24px;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

/* ===== CONSISTENCY SECTION ===== */
.consistency-section { padding: 100px 0; }

/* ===== WORKFLOW SECTION ===== */
.workflow-section {
  padding: 80px 0;
  background: var(--primary-ultra-light);
}

.workflow-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.workflow-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.workflow-item.reverse { direction: rtl; }
.workflow-item.reverse > * { direction: ltr; }

.workflow-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.workflow-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.workflow-info h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
}

.workflow-info p {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ===== MATERIAL OPTIONS SECTION ===== */
.material-options-section {
  padding: 100px 0;
  background: white;
}

.material-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.mat-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: white;
  transition: var(--transition);
  position: relative;
}

.mat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.mat-card.featured-mat {
  border-color: var(--primary);
  background: var(--primary-ultra-light);
}

.mat-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--primary);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.mat-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mat-icon i {
  color: var(--primary);
  font-size: 22px;
}

.mat-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mat-card p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.mat-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mat-specs span {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-block;
  width: fit-content;
}

/* ===== ABOUT STORY SECTION ===== */
.about-story-section { padding: 100px 0; }

.about-stats-mini {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

.about-stat { text-align: center; }
.about-stat .stat-num { font-size: 28px; color: var(--primary); }
.about-stat .stat-label { font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }

/* ===== MISSION SECTION ===== */
.mission-section {
  padding: 80px 0;
  background: var(--primary-ultra-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px 24px;
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.value-icon i {
  color: var(--primary);
  font-size: 22px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== TEAM SECTION ===== */
.team-section {
  padding: 100px 0;
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.team-avatar i {
  color: white;
  font-size: 32px;
}

.team-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-role {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.team-card p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.7;
}

/* ===== CONTACT PAGE HERO VARIANT ===== */
.contact-hero {
  height: 380px;
}

/* ===== LOCATION SECTION ===== */
.location-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.location-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.location-info {
  display: flex;
  flex-direction: column;
}

.location-map {
  width: 100%;
}

.location-map iframe {
  display: block;
  width: 100%;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.loc-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.loc-item i {
  width: 42px;
  height: 42px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.loc-item div {
  display: flex;
  flex-direction: column;
}

.loc-item strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.loc-item span {
  font-size: 14px;
  color: var(--gray);
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info-section {
  padding: 60px 0;
  background: var(--primary);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-info-card {
  text-align: center;
  padding: 28px 20px;
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-info-icon i {
  color: white;
  font-size: 22px;
}

.contact-info-card h4 {
  color: white;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.contact-info-card p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

/* ===== CONTACT MAIN SECTION ===== */
.contact-main-section {
  padding: 100px 0;
  background: var(--gray-light);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-box {
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.contact-form-box h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-form-box p {
  color: var(--gray);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  color: var(--dark);
  transition: var(--transition);
  outline: none;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.show { display: block; }

.success-icon {
  font-size: 60px;
  color: #22c55e;
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--gray);
  font-size: 16px;
}

/* ===== CONTACT SIDE INFO ===== */
.contact-side-info { padding-top: 16px; }

.contact-side-info h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 32px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
}

.step-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-info p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

.contact-perks {
  background: var(--primary-ultra-light);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 28px;
  border: 1px solid var(--primary-light);
}

.contact-perks h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
}

.contact-perks h4 i { color: var(--primary); }

.contact-perks ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dark-2);
}

.contact-perks li i {
  color: #22c55e;
  font-size: 12px;
}

.contact-side-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-side-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ===== MAP SECTION ===== */
.map-section {
  padding: 80px 0;
  background: white;
}

.map-wrapper {
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
  overflow: hidden;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(14,165,233,0.4);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  border: none;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(14,165,233,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .partner-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-main-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link, .btn-nav { width: 100%; text-align: center; }

  .hamburger { display: flex; }

  .hero {
    flex-direction: column;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-content { padding: 60px 24px 40px; max-width: 100%; }
  .hero-image-side { display: none; }

  .hero-stats { flex-direction: column; gap: 16px; text-align: center; }
  .stat-divider { width: 80px; height: 1px; }

  .product-row, .product-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }

  .product-row.reverse > * { direction: ltr; }

  .service-detail-row, .service-detail-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .page-hero-content { padding: 0 24px; }
  .page-hero { height: 380px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-mini-stats { flex-direction: column; gap: 16px; }

  .two-col-services { grid-template-columns: 1fr; }

  .workflow-item, .workflow-item.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
  }

  .location-box { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .partner-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .cta-box { padding: 48px 28px; }

  .hero-buttons { flex-direction: column; }

  .section-sub { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .about-stats-mini { flex-direction: column; gap: 20px; }
  .hero-stats { padding: 16px 20px; }
  .contact-form-box { padding: 28px 20px; }
}

/* ======================================================
   CUSTOM ADDITIONS FOR FAROOQI DENTAL CLINIC
   (Added on top of the original template — safe to edit)
   ====================================================== */

/* ---- Logo image in navbar & footer ----
   Client ka apna logo lagane ke liye .logo-img class use hoti hai.
   Agar image na mile to icon+text wala fallback logo dikhta rahega. */
.logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo .logo-img {
  height: 52px;
}

/* ---- WhatsApp Floating Button ----
   Hamesha screen ke bottom-left corner par nazar aata hai.
   Number CONFIG (script.js) se aata hai. */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
  animation: whatsapp-pulse 2.4s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.55);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 26px;
    bottom: 20px;
    left: 20px;
  }
  .scroll-top {
    bottom: 20px;
    right: 20px;
  }
}

/* ---- Booking form status message ---- */
.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.error {
  background: #fee2e2;
  color: #b91c1c;
}

.form-status.loading {
  background: var(--primary-ultra-light);
  color: var(--primary-dark);
}

/* ---- Price tag on service cards ---- */
.service-price {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 14px;
}
