/* ===================================================================
   DENT SMILE — Premium Dental Clinic Website
   Color Palette: Teal, Gold Accent, Ivory, White
   =================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

/* --- Custom Properties --- */
:root {
  --primary: #0D9488;
  --primary-dark: #0B7A70;
  --primary-darker: #095C56;
  --primary-light: #5EEAD4;
  --primary-50: #F0FDFA;
  --primary-100: #CCFBF1;

  --gold: #C8A24D;
  --gold-light: #E8D5A0;
  --gold-50: #FDF8EC;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  --bg-white: #FFFFFF;
  --bg-ivory: #FEFCF8;
  --bg-section: #F8FDFB;
  --bg-dark: #0C1B19;

  --border: #E2E8F0;
  --border-light: #F1F5F9;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.12);
  --shadow-gold: 0 4px 24px rgba(200, 162, 77, 0.20);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1200px;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 600;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-base),
    box-shadow var(--transition-base),
    backdrop-filter var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 20px rgba(15, 23, 42, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.nav-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.nav-logo svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-brand-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 45px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.4);
  color: white !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta svg {
  width: 26px;
  height: 16px;
  fill: currentColor;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-base);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: linear-gradient(160deg, var(--bg-white) 0%, var(--primary-50) 40%, var(--bg-ivory) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 162, 77, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  animation: fadeInDown 0.8s ease-out;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--primary);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-tagline em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
  fill: white;
}

.btn-call {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-call:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-call svg {
  fill: var(--primary);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
}

.btn-outline-light:hover {
  background: white;
  color: var(--text-primary);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light svg {
  fill: currentColor;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(13, 148, 136, 0.4);
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  z-index: 2;
  animation: fadeInRight 1s ease-out 0.2s both;
}

.hero-image-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
}

.hero-image-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.15));
  z-index: 1;
  border-radius: var(--radius-xl);
}

.hero-image-container img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 6s ease;
}

.hero-image-container:hover img {
  transform: scale(1.03);
}

/* Decorative elements around hero image */
.hero-decor-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 16px;
  left: 16px;
  border: 2px solid rgba(200, 162, 77, 0.2);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.hero-decor-dots {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(var(--primary-light) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.4;
  z-index: -1;
}

/* ===================================================================
   DOCTOR SECTION
   =================================================================== */
.doctor-section {
  padding: 100px 0;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.doctor-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: center;
}

.doctor-photo-wrapper {
  position: relative;
}

.doctor-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.doctor-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.doctor-photo:hover img {
  transform: scale(1.03);
}

.doctor-photo-accent {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(200, 162, 77, 0.15), rgba(200, 162, 77, 0.05));
  border-radius: var(--radius-lg);
  z-index: -1;
}

.doctor-photo-accent-2 {
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(13, 148, 136, 0.03));
  border-radius: var(--radius-lg);
  z-index: -1;
}

.doctor-info {
  padding: 20px 0;
}

.doctor-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.doctor-qualification {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
  padding: 4px 14px;
  background: rgba(13, 148, 136, 0.07);
  border-radius: var(--radius-full);
}

.doctor-description {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.doctor-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  border-radius: 3px;
  margin-bottom: 28px;
}

.doctor-contact-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===================================================================
   GALLERY SECTION
   =================================================================== */
.gallery-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--primary-50) 0%, var(--bg-ivory) 100%);
  position: relative;
}

.gallery-header {
  text-align: center;
  margin-bottom: 56px;
}

.gallery-header .section-subtitle {
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.5));
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition-base);
}

.gallery-item:hover .gallery-overlay-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-overlay-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-dark);
}

.gallery-overlay-text {
  color: white;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Gallery item sizes */
.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(1) img {
  height: 100%;
  min-height: 400px;
}

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(3) img {
  height: 260px;
}

.gallery-item:nth-child(4) img {
  height: 260px;
}

/* ===================================================================
   RESULTS / BEFORE-AFTER SECTION
   =================================================================== */
.results-section {
  padding: 100px 0;
  background: var(--bg-white);
  position: relative;
}

.results-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.results-header {
  text-align: center;
  margin-bottom: 56px;
}

.results-header .section-subtitle {
  margin: 0 auto;
}

.results-container {
  max-width: 900px;
  margin: 0 auto;
}

.before-after-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.ba-side {
  position: relative;
  overflow: hidden;
}

.ba-side img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.ba-side:hover img {
  transform: scale(1.04);
}

.ba-label {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

.ba-label-before {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}

.ba-label-after {
  background: rgba(13, 148, 136, 0.9);
  color: white;
  backdrop-filter: blur(8px);
}

.ba-divider {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--primary));
  z-index: 2;
}

/* ===================================================================
   CONTACT SECTION
   =================================================================== */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--bg-dark) 0%, #0F2420 50%, #0C1B19 100%);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  padding: 20px 0;
}

.contact-section .section-label {
  color: var(--gold);
}

.contact-section .section-title {
  color: var(--text-white);
}

.contact-section .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-light);
}

.contact-item-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.contact-item-value a {
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-fast);
}

.contact-item-value a:hover {
  color: var(--primary-light);
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  filter: saturate(0.85) contrast(1.05);
  transition: filter var(--transition-base);
}

.contact-map:hover iframe {
  filter: saturate(1) contrast(1);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: #070F0E;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-text a {
  color: var(--primary-light);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.footer-brand span {
  color: var(--primary);
}

/* ===================================================================
   FLOATING WHATSAPP BUTTON
   =================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: pulseFloat 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5);
  animation: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  backdrop-filter: blur(8px);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
}

/* ===================================================================
   LIGHTBOX
   =================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  transform: scale(0.92);
  transition: transform var(--transition-base);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 400;
}

/* ===================================================================
   ANIMATIONS
   =================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseFloat {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 4px 36px rgba(37, 211, 102, 0.5);
    transform: scale(1.05);
  }
}

/* ===================================================================
   RESPONSIVE — Tablet
   =================================================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-image-wrapper {
    order: 0;
  }

  .hero-badge {
    margin: 0 auto 24px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-container img {
    height: 380px;
  }

  .hero-decor-ring,
  .hero-decor-dots {
    display: none;
  }

  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .doctor-photo-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }

  .doctor-photo img {
    height: 420px;
  }

  .doctor-divider {
    margin: 0 auto 28px;
  }

  .doctor-contact-row {
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item:nth-child(1) img {
    min-height: 280px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    text-align: center;
  }

  .contact-items {
    align-items: center;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-actions {
    justify-content: center;
  }
}

/* ===================================================================
   RESPONSIVE — Mobile
   =================================================================== */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-base);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .hero-image-container img {
    height: 300px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 13px 28px;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .doctor-section,
  .gallery-section,
  .results-section,
  .contact-section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .doctor-name {
    font-size: 1.8rem;
  }

  .doctor-photo img {
    height: 360px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }

  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(2) img,
  .gallery-item:nth-child(3) img,
  .gallery-item:nth-child(4) img {
    height: 220px;
    min-height: unset;
  }

  .before-after-card {
    grid-template-columns: 1fr;
  }

  .ba-side img {
    height: 280px;
  }

  .ba-divider {
    display: none;
  }

  .contact-map {
    min-height: 300px;
  }

  .contact-map iframe {
    min-height: 300px;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .doctor-photo img {
    height: 300px;
  }

  .section-label {
    font-size: 0.72rem;
  }
}