/* =============================================
   KRIPA ELECTROLYSIS — GLOBAL STYLES
   ============================================= */

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

:root {
  --primary: #5b21b6;
  /* rich violet-purple */
  --primary-light: #7c3aed;
  /* brighter purple */
  --gold: #be185d;
  /* elegant rose-pink */
  --gold-light: #ec4899;
  /* lighter rose */
  --cream: #fdf4ff;
  /* very soft lavender-white */
  --dark: #3b0764;
  /* deep purple for footer/dark sections */
  --text: #1e1b4b;
  /* deep indigo for body text */
  --muted: #64748b;
  /* slate gray — neutral, readable */
  --white: #ffffff;
  --border: rgba(124, 58, 237, 0.15);
  --shadow-sm: 0 4px 15px rgba(91, 33, 182, 0.08);
  --shadow-md: 0 10px 40px rgba(91, 33, 182, 0.13);
  --shadow-lg: 0 20px 60px rgba(91, 33, 182, 0.18);
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  max-width: 100%;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.4rem;
}

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

img {
  max-width: 100%;
}

/* ── Section Helpers ── */
.section-padding {
  padding: 90px 0;
}

.section-sm {
  padding: 60px 0;
}

.bg-cream {
  background: var(--cream);
}

.bg-dark {
  background: var(--dark);
}

.bg-primary {
  background: var(--primary) !important;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-head h2 {
  color: var(--primary);
  margin-bottom: 12px;
}

.section-head .subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 14px auto;
  border-radius: 2px;
}

/* ── Gold badge ── */
.badge-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-kripa {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0 0;
  transition: var(--transition);
  background: transparent;
}

.navbar-kripa.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0;
}

.navbar-kripa .navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  max-width: 1280px;
  margin: 0 auto;
  transition: var(--transition);
}

.navbar-kripa.scrolled .navbar-inner {
  padding: 12px 40px;
}

.navbar-kripa .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-kripa .brand-icon {
  display: none;
}

.navbar-kripa .brand-logo {
  height: 46px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.navbar-kripa.scrolled .brand-logo {
  filter: none;
}

.navbar-kripa .brand-name {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: .02em;
}

.navbar-kripa.scrolled .nav-links a {
  color: var(--text);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(91, 33, 182, 0.08);
}

.nav-links .btn-nav {
  background: var(--gold);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-links .btn-nav:hover {
  background: var(--gold-light) !important;
  color: var(--dark) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-kripa.scrolled .hamburger span {
  background: var(--primary);
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-md);
  border-top: 2px solid var(--border);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
  border: none;
}

.mobile-nav a:hover {
  color: var(--gold);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 600px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 7, 100, 0.72) 0%, rgba(91, 33, 182, 0.40) 55%, rgba(190, 24, 93, 0.20) 100%);
}

.hero-content {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  padding: 0 40px;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots span.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--transition);
  font-size: 1.1rem;
}

.slider-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.slider-arrow.prev {
  left: 28px;
}

.slider-arrow.next {
  right: 28px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white) !important;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(91, 33, 182, 0.30);
  letter-spacing: .03em;
}

.btn-primary-k:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(91, 33, 182, 0.40);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-outline-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white) !important;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .03em;
}

.btn-outline-k:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white) !important;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .03em;
}

.btn-dark-k:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: linear-gradient(135deg, #4c1d95, #7c3aed, #be185d);
  padding: 36px 0;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-item .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #fce7f3;
  line-height: 1;
}

.stat-item .label {
  font-size: .85rem;
  opacity: .8;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ============================================
   CARDS
   ============================================ */
.card-k {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}

.card-k:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-card {
  padding: 36px 28px;
  text-align: center;
}

.feature-card .icon-wrap {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.08), rgba(124, 58, 237, 0.05));
  border: 2px solid rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--muted);
  font-size: .92rem;
}

/* ============================================
   BOOK APPOINTMENT
   ============================================ */
.appointment-section {
  background: linear-gradient(135deg, #2e1065 0%, #5b21b6 50%, #7c3aed 100%);
  position: relative;
  /* overflow: hidden removed so calendar dropdown is not clipped */
}

.appointment-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18), transparent 70%);
  border-radius: 50%;
}

.appointment-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent 70%);
  border-radius: 50%;
}

.appointment-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(16px);
}

.appointment-card h2 {
  color: var(--white);
}

.appointment-card .subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.form-label-k {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-control-k {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--radius) !important;
  color: var(--white) !important;
  padding: 13px 18px !important;
  font-size: .95rem !important;
  transition: var(--transition) !important;
}

.form-control-k::placeholder {
  color: rgba(255, 255, 255, 0.40) !important;
}

.form-control-k:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.30) !important;
  border-color: #ec4899 !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

.radio-group {
  display: flex;
  gap: 20px;
  align-items: center;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: .95rem;
}

.radio-label input[type="radio"] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px;
  color: var(--white);
}

.form-success i {
  font-size: 3rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 40%, #be185d 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  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='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.btn-cta-white {
  background: var(--white);
  color: var(--primary) !important;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: 50px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   ELECTROLYSIS INFO SECTION
   ============================================ */
.info-icon-list {
  list-style: none;
  padding: 0;
}

.info-icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.info-icon-list li:last-child {
  border: none;
}

.info-icon-list .li-icon {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.info-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.info-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fda-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .05em;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card .card-img-top {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gold-light);
}

.service-card .card-body {
  padding: 28px;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 16px;
}

.price-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.10), rgba(124, 58, 237, 0.06));
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 53, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
  font-size: 2rem;
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
  opacity: .8;
  transition: var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 140px 0 80px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 12px;
  font-size: 1.05rem;
}

.page-hero .breadcrumb {
  justify-content: center;
  margin-top: 16px;
}

.page-hero .breadcrumb-item {
  color: rgba(255, 255, 255, 0.6);
  font-size: .88rem;
}

.page-hero .breadcrumb-item a {
  color: var(--gold-light);
}

.page-hero .breadcrumb-item.active {
  color: var(--white);
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

.value-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
  margin-bottom: 16px;
}

.value-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--gold);
}

.value-item .vi-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.value-item h4 {
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 1rem;
}

.value-item p {
  color: var(--muted);
  font-size: .88rem;
  margin: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.branch-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.branch-card .branch-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.branch-card h3 {
  color: var(--primary);
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.branch-card .badge-main {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: .7rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: .05em;
}

.contact-info-list {
  list-style: none;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text);
}

.contact-info-list li:last-child {
  border: none;
}

/* Footer overrides — light text on dark background */
.footer .contact-info-list li {
  color: rgba(255, 255, 255, 0.70);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.footer .contact-info-list li a {
  color: rgba(255, 255, 255, 0.70);
}

.footer .contact-info-list li a:hover {
  color: var(--gold-light);
}

.footer .contact-info-list .ci-icon {
  color: var(--gold-light);
}

.footer h5 {
  color: var(--white);
}

.contact-info-list .ci-icon {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form-card .form-control {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .95rem;
  transition: var(--transition);
}

.contact-form-card .form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.2);
  border-color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  padding: 70px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.footer h5 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer p {
  font-size: .9rem;
  line-height: 1.8;
}

.footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: .9rem;
  display: block;
  padding: 4px 0;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand-icon {
  display: none;
}

.footer-brand-logo {
  height: 50px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand-name {
  display: none;
}

.footer-branch-mini {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-branch-mini:last-child {
  border: none;
}

.footer-branch-mini h6 {
  color: var(--gold-light);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-branch-mini p {
  font-size: .82rem;
  margin: 0;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding: 20px 0;
  text-align: center;
}

.footer-divider p {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: .95rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: 0 24px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: .9rem;
  }

  .appointment-card {
    padding: 32px 24px;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 60px 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .stat-item .number {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary-k,
  .btn-outline-k {
    width: 100%;
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  .branch-card {
    padding: 24px 20px;
  }
}

/* ============================================
   CUSTOM DATE PICKER
   ============================================ */
.datepicker-wrap {
  position: relative;
}

.datepicker-input {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--radius) !important;
  color: var(--white) !important;
  padding: 13px 18px 13px 46px !important;
  font-size: .95rem !important;
  transition: var(--transition) !important;
  width: 100%;
  cursor: pointer;
  caret-color: transparent;
  user-select: none;
  font-family: 'Inter', sans-serif;
}

.datepicker-input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.datepicker-input:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.30) !important;
  border-color: #ec4899 !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

.datepicker-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.2s;
}

.datepicker-wrap.open .datepicker-icon {
  color: #ec4899;
}

/* Calendar dropdown */
.calendar-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 99999;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: linear-gradient(145deg, #2e1065, #4c1d95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(124, 58, 237, 0.3);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.calendar-dropdown.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Calendar header */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  background: linear-gradient(135deg, #5b21b6, #be185d);
}

.cal-header .cal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.cal-nav-btn {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  font-size: .85rem;
}

.cal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Day names row */
.cal-day-names {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 10px 12px 4px;
  gap: 2px;
}

.cal-day-names span {
  text-align: center;
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 0;
}

/* Day grid */
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 4px 12px 16px;
  gap: 3px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}

.cal-day:hover:not(.empty):not(.disabled) {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cal-day.today {
  color: #ec4899;
  font-weight: 700;
}

.cal-day.today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #ec4899;
  border-radius: 50%;
}

.cal-day.selected {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.45);
}

.cal-day.selected::after {
  display: none;
}

.cal-day.disabled {
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
}

.cal-day.empty {
  cursor: default;
}

/* Footer */
.cal-footer {
  display: flex;
  gap: 8px;
  padding: 0 12px 14px;
}

.cal-today-btn,
.cal-clear-btn {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  border: none;
  font-family: 'Inter', sans-serif;
}

.cal-today-btn {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
}

.cal-today-btn:hover {
  opacity: 0.88;
}

.cal-clear-btn {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.cal-clear-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}