/* ==========================================================================
   GURUPAD DENTAL CLINIC - PREMIUM STYLE SHEET
   ========================================================================== */

/* --- Modern Custom Properties (Colors & Typography) --- */
:root {
  --primary-rgb: 14, 138, 115; /* Seagreen */
  --primary: rgb(var(--primary-rgb));
  --primary-hover: #0a6957;
  --primary-light: rgba(var(--primary-rgb), 0.1);
  --primary-glow: rgba(var(--primary-rgb), 0.4);
  
  --accent: #2ecc71; /* Mint Accent */
  --accent-glow: rgba(46, 204, 113, 0.4);
  
  --dark-bg: #071714; /* Deep forest-teal background */
  --dark-card: rgba(13, 39, 35, 0.7);
  --dark-border: rgba(255, 255, 255, 0.08);
  
  --text-primary: #f5f8f7;
  --text-secondary: #a3b8b5;
  --text-muted: #6e8884;
  
  --glass-bg: rgba(7, 23, 20, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* --- Base & Reset Elements --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none; /* Hide standard cursor for luxury custom cursor experience */
}

@media (max-width: 1024px) {
  * {
    cursor: auto; /* Fallback to standard cursor on mobile/tablets */
  }
}

html {
  scroll-behavior: smooth;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
}

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

/* --- Custom Cursor --- */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(46, 204, 113, 0.4);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.08s ease-out, background-color 0.3s, border-color 0.3s;
}

.custom-cursor.hover {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
}

.custom-cursor-follower.hover {
  width: 55px;
  height: 55px;
  background-color: rgba(14, 138, 115, 0.1);
  border-color: var(--primary);
}

/* --- Preloader Screen --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.loader-logo-wrapper {
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

.loader-logo-img {
  width: 70px;
  height: auto;
  filter: drop-shadow(0 0 15px var(--primary-glow));
}

.loader-progress-container {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--accent);
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Header / Navigation Bar --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-glow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-logo-img {
  width: 42px;
  height: auto;
  filter: drop-shadow(0 0 5px var(--primary-glow));
}

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

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  line-height: 1.5;
}

nav {
  display: flex;
  align-items: center;
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

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

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

.cta-button-nav {
  background-color: var(--primary);
  color: white !important;
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  border: 1px solid transparent;
  box-shadow: 0 4px 15px rgba(14, 138, 115, 0.3);
}

.cta-button-nav:hover {
  background-color: transparent !important;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(14, 138, 115, 0.1);
}

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

/* Burger menu (Mobile) */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.burger-menu span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* --- Sticky Canvas Hero Section --- */
.hero-scroll-container {
  position: relative;
  height: 300vh; /* Scroll volume */
  width: 100%;
  background-color: var(--dark-bg);
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, #0d3830 0%, #03110e 100%);
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.9;
  mix-blend-mode: screen;
}

/* Background glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.15;
  z-index: 0;
}

.bg-glow-1 {
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background-color: var(--primary);
}

.bg-glow-2 {
  bottom: -20%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background-color: var(--accent);
}

/* Centered Overlay Text */
.hero-overlay {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto; /* enable clicks on buttons */
  will-change: opacity, transform;
}

.hero-badge {
  background-color: rgba(14, 138, 115, 0.15);
  border: 1px solid rgba(14, 138, 115, 0.3);
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 30%, #b2eae0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

/* Button UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.9rem 2.25rem;
  border-radius: 40px;
  font-size: 1rem;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 8px 30px rgba(14, 138, 115, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(14, 138, 115, 0.5);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--dark-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Scroll down indicator */
.scroll-indicator-wrapper {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.scroll-dot {
  width: 5px;
  height: 15px;
  background-color: var(--accent);
  border-radius: 3px;
  animation: scrollPulse 2s infinite;
  box-shadow: 0 0 8px var(--accent);
}

/* --- Section Container Settings --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

section {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
}

.section-header {
  margin-bottom: 4.5rem;
}

/* --- About Section --- */
.section-about {
  background-color: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1;
  background: radial-gradient(circle at center, #113b33 0%, #031411 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  border: 1px solid var(--dark-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.about-feature-img {
  width: 80%;
  height: auto;
  filter: drop-shadow(0 0 25px var(--primary-glow));
}

.about-experience-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background-color: rgba(7, 23, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 1.25rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--glass-glow);
}

.badge-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.badge-stars {
  color: #ffb800;
  font-size: 0.75rem;
  margin: 0.25rem 0 0.5rem;
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-quote {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.about-body {
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
}

.feature-icon {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

.feature-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

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

/* --- Treatments Section --- */
.section-treatments {
  background: linear-gradient(180deg, var(--dark-bg) 0%, #061c18 100%);
  border-top: 1px solid var(--dark-border);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.treatment-card {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.treatment-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1.3;
  overflow: hidden;
  background: radial-gradient(circle at center, #113f36 0%, #071714 100%);
}

.treatment-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.treatment-overlay-info {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(7, 23, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.treatment-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.treatment-card-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.treatment-card-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.card-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.card-link i {
  transition: var(--transition-fast);
}

/* Treatment Card Hover States */
.treatment-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 204, 113, 0.3);
  box-shadow: 0 15px 35px rgba(14, 138, 115, 0.15);
}

.treatment-card:hover .treatment-img {
  transform: scale(1.08);
}

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

.treatment-card:hover .card-link i {
  transform: translateX(5px);
}

/* --- Trust Stats Section --- */
.section-stats {
  background-color: rgba(13, 39, 35, 0.4);
  border-y: 1px solid var(--dark-border);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #ffffff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* --- Reviews Section --- */
.section-reviews {
  background-color: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
}

.slider-outer-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.reviews-slider-container {
  overflow: hidden;
  width: 100%;
  padding: 1rem 0;
}

.reviews-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.review-slide {
  flex: 0 0 33.333%;
  padding: 0 1rem;
  min-width: 320px;
}

.review-card {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: var(--transition-smooth);
}

.review-card:hover {
  border-color: rgba(14, 138, 115, 0.25);
  box-shadow: 0 15px 35px rgba(14, 138, 115, 0.1);
  transform: translateY(-3px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(14, 138, 115, 0.25);
}

.reviewer-info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.reviewer-status {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.google-logo-review {
  position: absolute;
  top: 0;
  right: 0;
  color: #4285f4;
  font-size: 1.1rem;
}

.review-rating {
  color: #ffb800;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.review-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
}

.slider-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
  z-index: 10;
}

.slider-nav-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(14, 138, 115, 0.3);
}

/* --- Contact Section --- */
.section-contact {
  background: linear-gradient(180deg, var(--dark-bg) 0%, #03110e 100%);
  border-top: 1px solid var(--dark-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.contact-form-panel {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.form-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(46, 204, 113, 0.2);
}

.text-link:hover {
  color: white;
  border-bottom-color: white;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: rgba(7, 23, 20, 0.6);
  border: 1px solid var(--dark-border);
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: rgba(7, 23, 20, 0.9);
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group option {
  background-color: var(--dark-bg);
  color: var(--text-primary);
}

/* Input validation styles */
.form-group.invalid input,
.form-group.invalid select {
  border-color: #e74c3c;
}

.error-msg {
  position: absolute;
  bottom: -1.25rem;
  left: 0;
  font-size: 0.75rem;
  color: #e74c3c;
  display: none;
}

.form-group.invalid .error-msg {
  display: block;
}

.btn-submit {
  width: 100%;
  background-color: var(--accent);
  color: #071714;
  border: none;
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
  margin-top: 1rem;
}

.btn-submit:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(46, 204, 113, 0.4);
}

.form-success-banner {
  margin-top: 1.5rem;
  background-color: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.2);
  padding: 1.25rem;
  border-radius: 12px;
  display: none;
  align-items: flex-start;
  gap: 1rem;
}

.form-success-banner i {
  color: var(--accent);
  font-size: 1.5rem;
  margin-top: 0.1rem;
}

.success-text h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.success-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Contact Info Panel */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.info-card {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 2.25rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--accent);
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 0.5rem;
}

.address-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.address-text i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

.map-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-map {
  background-color: var(--primary);
  color: white;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
}

.btn-map-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--dark-border);
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
}

.btn-map:hover,
.btn-map-outline:hover {
  transform: translateY(-2px);
}

.info-card p {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.info-card p i {
  color: var(--accent);
  width: 16px;
  text-align: center;
}

.info-card p strong {
  color: var(--text-primary);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.hours-row strong {
  text-align: right;
  font-weight: 600;
  color: var(--text-primary);
}

.hours-row.closed strong {
  color: #e74c3c;
}

/* --- Footer --- */
footer {
  background-color: #030e0c;
  border-top: 1px solid var(--dark-border);
  padding: 5rem 0 2rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-img {
  width: 50px;
  height: auto;
}

.footer-logo-text h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.footer-logo-text span {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.15em;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-grid h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-services a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.footer-cta-phone:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #071714;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Responsive Adaptations --- */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
  .hero-subtitle {
    font-size: 1.75rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
  header {
    padding: 1rem 0;
  }
  .burger-menu {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(7, 23, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    z-index: 100;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--dark-border);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  .nav-links.active {
    right: 0;
  }
  /* Burger Open animation */
  .burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-subtitle {
    font-size: 1.35rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image-wrapper {
    padding: 1.5rem;
  }
}

/* --- Scroll Reveal Animations --- */
[data-reveal] {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="top"] {
  transform: translateY(-40px);
}

[data-reveal="fade-in"] {
  transform: translateY(20px);
}

[data-reveal="scale"] {
  transform: scale(0.9);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* --- Custom Keyframe Animations --- */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes scrollPulse {
  0% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.3; }
}
