/*
Theme Name: Nandi Scans & Diagnostics
Theme URI: https://nandiscans.com
Author: Nandi Scans
Author URI: https://nandiscans.com
Description: A premium WordPress theme for Nandi Scans & Diagnostics - Advanced medical diagnostics center. Fully compatible with Elementor page builder.
Version: 1.0.3
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nandi-scans
Tags: medical, healthcare, diagnostics, hospital, elementor-ready, responsive, custom-logo, custom-menu
*/

/* ===== 1. CSS VARIABLES ===== */
:root {
  /* Colors */
  --navy: #0F2557;
  --navy-light: #1A3A6E;
  --teal: #0097A7;
  --teal-light: #4DD0E1;
  --teal-bg: rgba(0, 151, 167, 0.1);
  --teal-bg-hover: rgba(0, 151, 167, 0.15);
  --white: #FFFFFF;
  --offwhite: #F5F7FA;
  --light: #E8ECF1;
  --text: #2D3748;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  --border: #E2E8F0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-fast: 0.2s ease;
  --transition-slow: 0.5s ease;

  /* Container */
  --container: 1200px;
  --container-wide: 1400px;
}

/* ===== 2. RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===== 3. TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== 4. LAYOUT & CONTAINERS ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--container-wide);
}

/* ===== 5. BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 151, 167, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 151, 167, 0.4);
  color: var(--white);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--teal);
}

/* ===== 6. GLOBAL HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999999 !important;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e8edef;
  box-shadow: 0 2px 12px rgba(8,27,50,.04);
}

body.admin-bar .site-header { top: 32px; }

.nandi-header-inner {
  position: relative;
  z-index: 999999 !important;
  width: 100%;
  max-width: 1380px;
  min-height: 82px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nandi-branding {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: auto;
}

.nandi-branding .custom-logo-link {
  display: flex;
  align-items: center;
}

.nandi-branding .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 175px;
  max-height: 62px;
  object-fit: contain;
}

.nandi-site-title {
  color: #081b32;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
}

.nandi-primary-navigation {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
}

.nandi-menu {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nandi-menu li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nandi-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 0 13px;
  color: #081b32;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.nandi-menu > li > a:hover,
.nandi-menu > li:focus-within > a {
  color: #079b91;
}

.nandi-menu > .current-menu-item > a,
.nandi-menu > .current-menu-parent > a,
.nandi-menu > .current-menu-ancestor > a {
  color: #079b91;
}

.nandi-menu > .current-menu-item > a::after,
.nandi-menu > .current-menu-parent > a::after,
.nandi-menu > .current-menu-ancestor > a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #079b91;
}

.nandi-menu > .menu-item-has-children > a {
  padding-right: 29px;
}

.nandi-menu > .menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s ease;
}

.nandi-menu > .menu-item-has-children:hover > a::before,
.nandi-menu > .menu-item-has-children:focus-within > a::before {
  transform: translateY(-25%) rotate(225deg);
}

.nandi-menu .sub-menu {
  position: absolute;
  top: calc(100% - 5px);
  left: 0;
  z-index: 10000;
  display: block;
  width: 245px;
  margin: 0;
  padding: 9px;
  list-style: none;
  background: #fff;
  border: 1px solid #e4eaec;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(8,27,50,.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.nandi-menu li:hover > .sub-menu,
.nandi-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nandi-menu .sub-menu li {
  display: block;
  width: 100%;
}

.nandi-menu .sub-menu a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 11px 13px;
  border-radius: 9px;
  color: #425267;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
  text-decoration: none;
  white-space: normal;
  transition: background .18s ease, color .18s ease, padding-left .18s ease;
}

.nandi-menu .sub-menu a:hover,
.nandi-menu .sub-menu a:focus,
.nandi-menu .sub-menu .current-menu-item > a {
  padding-left: 17px;
  background: #eef8f7;
  color: #079b91;
}

.nandi-header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.nandi-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 17px;
  border-radius: 10px;
  background: #079b91;
  color: #fff !important;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 7px 18px rgba(7,155,145,.17);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nandi-header-cta:hover,
.nandi-header-cta:focus {
  background: #087f78;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(7,155,145,.23);
}

.nandi-header-cta svg {
  display: block;
  width: 15px;
  height: 15px;
  min-width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nandi-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e2e8ea;
  border-radius: 10px;
  background: #fff;
  color: #081b32;
  cursor: pointer;
  position: relative !important;
  z-index: 1000000 !important;
  pointer-events: auto !important;
}

.nandi-menu-bars {
  display: flex;
  flex-direction: column;
  width: 20px;
  margin: auto;
  gap: 4px;
}

.nandi-menu-bars span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background: #081b32;
  transition: transform .2s ease, opacity .2s ease;
}

.site-header.nandi-menu-open .nandi-menu-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-header.nandi-menu-open .nandi-menu-bars span:nth-child(2) { opacity: 0; }
.site-header.nandi-menu-open .nandi-menu-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== 7. MOBILE NAVIGATION (< 1050px) ===== */
@media (max-width: 1050px) {
  .nandi-header-inner {
    min-height: 72px;
    padding: 0 20px;
  }

  .nandi-branding .custom-logo {
    max-width: 155px;
    max-height: 55px;
  }

  /* Default Hidden Mobile Nav Overlay */
  .nandi-primary-navigation {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    width: 100% !important;
    display: none !important;
    padding: 12px 18px 20px !important;
    background: #fff !important;
    border-top: 1px solid #edf0f1;
    border-bottom: 1px solid #e3e9eb;
    box-shadow: 0 15px 30px rgba(8,27,50,.09);
    z-index: 999999 !important;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  /* FORCE OPEN STATE WHEN TOGGLED BY JS */
  .site-header.nandi-menu-open .nandi-primary-navigation,
  .nandi-primary-navigation.is-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: menuSlide .25s ease forwards;
  }

  @keyframes menuSlide {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nandi-menu {
    display: block;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }

  .nandi-menu > li {
    display: block;
    width: 100%;
    border-bottom: 1px solid #edf1f2;
  }

  .nandi-menu > li:last-child { border-bottom: 0; }

  .nandi-menu > li > a {
    min-height: 0;
    padding: 14px 4px;
    font-size: 14px;
  }

  .nandi-menu > .current-menu-item > a::after,
  .nandi-menu > .current-menu-parent > a::after,
  .nandi-menu > .current-menu-ancestor > a::after {
    display: none;
  }

  .nandi-menu > .menu-item-has-children > a {
    padding-right: 30px;
  }

  .nandi-menu > .menu-item-has-children > a::before {
    right: 8px;
  }

  .nandi-menu .sub-menu {
    position: static;
    display: none;
    width: 100%;
    margin: 0;
    padding: 0 0 10px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nandi-menu .menu-item-has-children.submenu-open > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nandi-menu-toggle {
    display: flex !important;
    flex: 0 0 44px;
  }

  .nandi-header-actions {
    margin-left: auto;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
  .nandi-header-inner {
    min-height: 68px;
    padding: 0 15px;
    gap: 10px;
  }

  .nandi-branding { min-width: 0; }

  .nandi-branding .custom-logo {
    max-width: 125px;
    max-height: 50px;
  }

  .nandi-site-title { font-size: 17px; }

  .nandi-header-actions { display: none; }

  .nandi-menu-toggle { margin-left: auto; }

  .nandi-primary-navigation {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
}

/* ===== 8. HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: 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.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--teal-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--teal-light);
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-image {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: 55%;
  max-width: 700px;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  opacity: 0.1;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: 5%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 20%;
  animation: pulse 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.1); opacity: 0.2; }
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ===== 9. SECTIONS & CARDS ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--teal-bg);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal);
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-bg);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--teal);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* ===== 10. DOCTOR CARDS ===== */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.doctor-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.doctor-card:hover .doctor-image img {
  transform: scale(1.05);
}

.doctor-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.doctor-info {
  padding: 24px;
}

.doctor-info h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.doctor-specialty {
  color: var(--teal);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.doctor-experience {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.doctor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.doctor-credential {
  padding: 4px 10px;
  background: var(--offwhite);
  color: var(--text-light);
  font-size: 0.75rem;
  border-radius: var(--radius-full);
}

/* ===== 11. PRICING & TESTIMONIALS ===== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--teal), var(--shadow-lg);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin: 16px 0;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--teal-bg);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: #FFC107;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-author-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== 12. CONTACT & FORMS ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-bg);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.contact-item .icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
}

.contact-item a {
  color: var(--teal);
}

.contact-item a:hover {
  color: var(--navy);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-map iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.appointment-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.appointment-form h3 {
  margin-bottom: 8px;
}

.appointment-form > p {
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-bg);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== 13. FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--teal-light);
  padding-left: 8px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ===== 14. FLOATING ACTION BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn svg {
  width: 24px;
  height: 24px;
}

.float-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-call {
  background: var(--navy);
}

.float-appointment {
  width: auto;
  padding: 0 20px;
  border-radius: var(--radius-full);
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  gap: 8px;
}

/* ===== 15. BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--teal);
  color: var(--white);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ===== 16. GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 37, 87, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 500;
}

/* ===== 17. ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  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; }

/* ===== 18. LIGHTBOX & LOADING ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  width: 120px;
  height: auto;
  margin-bottom: 32px;
  animation: pulse 2s ease-in-out infinite;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== 19. BREADCRUMBS ===== */
.breadcrumbs {
  padding: 140px 0 40px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.breadcrumbs-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.breadcrumbs-inner a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs-inner a:hover {
  color: var(--teal-light);
}

.breadcrumbs-inner svg {
  stroke: rgba(255, 255, 255, 0.5);
}

.breadcrumbs-inner span {
  color: var(--white);
}

/* ===== 20. GENERAL RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-image {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .section {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .appointment-form {
    padding: 24px;
  }

  .floating-buttons {
    bottom: 16px;
    right: 16px;
  }

  .float-appointment span {
    display: none;
  }
}

/* ===== 21. ELEMENTOR OVERRIDES ===== */
.elementor-widget-container h5 {
  font-family: var(--font-heading);
  color: var(--navy);
}

/* ===== 22. WORDPRESS CORE SPECIFICS ===== */
.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.85em;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.5em;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}