/* ============================================================
   AUBURN FAMILY MEDICAL CENTER — style.css
   Full stylesheet for all 5 pages
============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --primary: #1a6baf;
  --primary-dark: #124d82;
  --primary-mid: #2980b9;
  --primary-light: #e8f2fb;
  --accent: #27ae60;
  --accent-dark: #1e8449;
  --accent-light: #e8f8f0;
  --text-dark: #1a202c;
  --text-mid: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --bg-light: #f7fafc;
  --bg-dark: #0d1f35;
  --border: #e2e8f0;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 56px rgba(0, 0, 0, 0.16);

  --transition: all 0.28s ease;
  --container: 1200px;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
button {
  font-family: inherit;
}
input,
select,
textarea {
  font-family: inherit;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION PADDING ── */
.section-pad {
  padding: 96px 0;
}

/* ── SECTION HEADER ── */
.section-header {
  margin-bottom: 56px;
}
.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #c0d8f0;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}
.section-tag.white {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.section-title span {
  color: var(--primary);
}
.section-title.white {
  color: white;
}
.section-title.white span {
  color: #7ec8f5;
}

.section-sub {
  font-size: 16px;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.8;
}
.section-sub.center {
  margin: 0 auto;
  text-align: center;
}
.section-sub.white {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg {
  padding: 15px 30px;
  font-size: 15px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: white;
  color: var(--primary);
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-white:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   REVEAL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  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;
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  height: 72px;
  display: flex;
  align-items: center;
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
}
.nav-brand-text .name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  white-space: nowrap;
}
.nav-brand-text .sub {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  margin-left: 8px;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 998;
}
.nav-overlay.show {
  display: block;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a2f54 0%, #1a6baf 55%, #2980b9 100%);
  z-index: 0;
}
.hero-blob-1,
.hero-blob-2,
.hero-blob-3 {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.12;
}
.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: #7ec8f5;
  top: -200px;
  right: -100px;
}
.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: #27ae60;
  bottom: -100px;
  left: 10%;
}
.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: white;
  top: 40%;
  left: 40%;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
}

/* Hero left */
.hero-left {
  color: white;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero-badge i {
  color: #ffd700;
  font-size: 12px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, #7ec8f5, #27ae60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

/* Hero stats row */
.hero-stats-row {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 32px;
}
.hero-stat {
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stat:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 24px;
}
.hero-stat:first-child {
  padding-left: 0;
}
.hero-stat .num {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: white;
  line-height: 1;
}
.hero-stat .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
  display: block;
}

/* Hero card panel */
.hero-card-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-card-title i {
  color: var(--primary);
}

/* Hours list */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.hours-row:last-child {
  border-bottom: none;
}
.hours-row .day {
  color: var(--text-mid);
  font-weight: 500;
}
.hours-row .time {
  font-weight: 700;
  color: var(--text-dark);
}
.badge-closed {
  background: #fff5f5;
  color: #e53e3e;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Hero card phone */
.hero-card-phone {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.hero-card-phone p {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.hero-card-phone a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  transition: var(--transition);
}
.hero-card-phone a:hover {
  color: var(--primary-dark);
}

/* Quick items */
.hero-card-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
  text-align: center;
}
.quick-item i {
  font-size: 20px;
  color: var(--primary);
}
.quick-item:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================================
   STATS BAR
============================================================ */
.stats-bar {
  background: var(--primary);
  padding: 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-block {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stat-block:last-child {
  border-right: none;
}
.stat-block i {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.45);
}
.stat-block .num {
  font-size: 32px;
  font-weight: 900;
  color: white;
  line-height: 1;
}
.stat-block .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   SERVICES PREVIEW
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #c0d8f0;
}
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: white;
}
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}
.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
  margin-top: 4px;
}
.card-link:hover {
  gap: 10px;
}
.services-cta {
  text-align: center;
}

/* ============================================================
   WHY CHOOSE US
============================================================ */
.why-us {
  background: var(--bg-light);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.why-image-wrap {
  position: relative;
}
.why-img-placeholder {
  width: 100%;
  height: 480px;
  background: var(--primary-light);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--primary);
}
.why-img-placeholder i {
  font-size: 64px;
  opacity: 0.4;
}
.why-img-placeholder p {
  font-size: 14px;
  color: var(--text-light);
}

.why-float-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}
.why-float-badge .badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.why-float-badge .big {
  font-size: 22px;
  font-weight: 900;
  display: block;
  line-height: 1;
}
.why-float-badge .sm {
  font-size: 11px;
  opacity: 0.75;
  margin-top: 3px;
  display: block;
}
.why-float-cert {
  position: absolute;
  top: 24px;
  left: -20px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--primary-light);
}
.why-float-cert i {
  color: #ffd700;
  font-size: 15px;
}

.why-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-item-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: var(--transition);
}
.why-item:hover .why-item-icon {
  background: var(--primary);
  color: white;
}
.why-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.why-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials {
  background: linear-gradient(135deg, #0a2f54 0%, #1a6baf 60%, #2980b9 100%);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: "\201C";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 320px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi-card:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-4px);
}
.testi-stars i {
  color: #ffd700;
  font-size: 14px;
}
.testi-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
}
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-light);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.testi-name {
  font-size: 14px;
  font-weight: 700;
  color: white;
}
.testi-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   CTA BANNER
============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::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.04'%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");
}
.cta-banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 12px;
}
.cta-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg-dark);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand column */
.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-brand-name span {
  font-size: 14px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  margin-bottom: 22px;
}

/* Social links */
.social-links {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Footer columns */
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-col ul li a i {
  font-size: 10px;
  color: var(--primary);
}
.footer-col ul li a:hover {
  color: white;
  padding-left: 4px;
}

/* Footer contact items */
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact-item i {
  color: var(--primary);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-item p,
.footer-contact-item a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  transition: var(--transition);
}
.footer-contact-item a:hover {
  color: white;
}

/* Footer bottom */
.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}
.footer-bottom-links a:hover {
  color: white;
}

/* ============================================================
   BACK TO TOP
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.back-to-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
============================================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-left {
    order: 1;
  }
  .hero-card-panel {
    order: 2;
    flex-direction: row;
  }
  .hero-card {
    flex: 1;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats-row {
    justify-content: center;
  }
  .hero-stat {
    text-align: center;
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-block {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .stat-block:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
  .stat-block:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .why-float-badge,
  .why-float-cert {
    display: none;
  }

  .testi-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 560px;
    margin: 0 auto;
  }

  .cta-banner .container {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
============================================================ */
@media (max-width: 768px) {
  .section-pad {
    padding: 64px 0;
  }

  /* Navbar mobile */
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    right: -100%;
    width: min(320px, 85vw);
    height: calc(100vh - 72px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px 20px;
    z-index: 999;
    box-shadow: var(--shadow-xl);
    transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
    overflow-y: auto;
  }
  .nav-menu.open {
    right: 0;
  }
  .nav-link {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }
  .nav-cta {
    width: 100%;
    margin: 12px 0 0;
    padding: 14px 20px;
    justify-content: center;
  }

  /* Hero */
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  .hero-card-panel {
    flex-direction: column;
  }
  .hero-stats-row {
    flex-wrap: wrap;
    gap: 20px;
  }
  .hero-stat {
    min-width: 40%;
  }

  /* Stats */
  .stats-bar .container {
    grid-template-columns: 1fr 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testi-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  /* CTA */
  .cta-text h2 {
    font-size: 22px;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
============================================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 32px;
  }
  .hero-stats-row {
    flex-direction: column;
    gap: 16px;
  }
  .hero-stat {
    border-right: none;
    padding: 0;
    text-align: center;
  }

  .stats-bar .container {
    grid-template-columns: 1fr;
  }
  .stat-block {
    border-right: none;
  }

  .hero-card-quick {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   UTILITY CLASSES
============================================================ */
.text-center {
  text-align: center;
}
.text-primary {
  color: var(--primary);
}
.text-accent {
  color: var(--accent);
}
.text-light {
  color: var(--text-light);
}
.bg-light {
  background: var(--bg-light);
}
.bg-dark {
  background: var(--bg-dark);
}
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.gap-8 {
  gap: 8px;
}
.gap-16 {
  gap: 16px;
}
.fw-700 {
  font-weight: 700;
}
.fw-800 {
  font-weight: 800;
}
