/* ============================================
   VendSmart - Fresh CSS (Brand Colors Preserved)
   ============================================ */

:root {
  --primary: #00D2FF;
  --primary-light: #7dd3fc;
  --primary-dark: #00A3CC;
  --primary-glow: rgba(0, 210, 255, 0.4);
  --secondary: #3b82f6;
  --dark: #0f172a;
  /* Slate 900 */
  --darker: #020617;
  /* Slate 950 */
  --light: #f8fafc;
  /* Slate 50 */
  --light-blue: #eff6ff;
  /* Blue 50 */
  --text: #334155;
  /* Slate 700 */
  --text-muted: #64748b;
  /* Slate 500 */
  --border: #e2e8f0;
  /* Slate 200 */
  --white: #ffffff;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px var(--primary-glow);

  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* --- Premium Utilities & Micro-Animations --- */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
}

.text-gradient {
  background: linear-gradient(135deg, var(--white) 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  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;
}

/* --- Abstract Backgrounds --- */
.bg-mesh {
  background-color: var(--white);
  background-image: radial-gradient(at 40% 20%, rgba(0, 210, 255, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(0, 210, 255, 0.05) 0px, transparent 50%);
}

/* Remove focus ring - use custom outline */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

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

.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

.nav-menu a,
.dropdown-toggle {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-menu a:hover,
.dropdown-toggle:hover {
  color: var(--primary);
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-toggle i {
  font-size: 0.65rem;
  transition: transform 0.2s;
}

.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s;
  z-index: 100;
  border: 1px solid var(--border);
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--light);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--light);
  color: var(--primary);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.35rem 0;
}

.cta-button {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
}

.cta-button:hover {
  background: var(--primary-dark) !important;
}

.nav-phone {
  margin-left: 1rem;
}

.phone-link {
  color: #000;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.phone-link:hover {
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.hamburger:hover {
  background: var(--light);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: all 0.25s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== ASYMMETRIC HERO ========== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
  overflow: hidden;
  background: var(--darker);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.15;
  /* Dim background image strongly */
  mix-blend-mode: luminosity;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(0, 210, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(0, 153, 204, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Left Side: Typography */
.hero-content {
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.15rem);
  color: #fff;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 500px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--light);
  background: transparent;
  padding: 0;
}

.hero-feature i {
  color: var(--primary);
  font-size: 1.2rem;
  background: rgba(0, 210, 255, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.hero-links {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.hero-links a:hover {
  text-decoration: underline;
  color: var(--white);
}

/* Right Side: Floating Image */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero Form (Solid White) */
.hero-form-container {
  width: 100%;
  max-width: 450px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.hero-form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.hero-form-header h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.hero-form-header p {
  color: var(--text);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--light-blue);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.1);
}

/* --- Form Input Icons --- */
.input-icon-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  transition: color 0.3s ease;
}

.input-icon-wrapper .form-control {
  padding-left: 2.5rem;
}

.input-icon-wrapper:focus-within .input-icon {
  color: var(--primary-dark);
}

/* --- Social Proof Badge --- */
.hero-social-proof {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-social-proof span.stars {
  color: #fbbf24;
  margin-right: 0.35rem;
  letter-spacing: 1px;
}

/* --- CTA Pulse Animation --- */
@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 210, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
  }
}

.pulse-cta {
  animation: ctaPulse 2s infinite;
}

.btn-block {
  width: 100%;
  display: block;
}

.hero-floating-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.hero-glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseRotate 8s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes pulseRotate {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 0.3;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1) rotate(180deg);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
    opacity: 0.3;
  }
}

/* Responsive Hero */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
    order: 2;
  }

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

  .hero-features {
    align-items: center;
  }

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

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

  .hero-floating-img {
    max-width: 350px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--darker);
  color: var(--white);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--primary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--light-blue);
  color: var(--primary-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  background: var(--light);
  color: var(--darker);
  border-color: var(--darker);
}

/* ========== CAROUSEL ========== */
.carousel-section {
  padding: 4rem 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--dark);
  margin-bottom: 0.5rem;
}

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

.carousel {
  max-width: 500px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
}

.carousel-slide img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
}

.carousel-caption {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ========== ABOUT ========== */
/* --- About Section (Phase 10 Split Layout) --- */
.about-section {
  padding: 6rem 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

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

@media (min-width: 992px) {
  .about-content-split {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img {
  width: 100%;
  height: auto;
  min-height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.05);
}

.about-glass-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

@media (max-width: 768px) {
  .about-glass-badge {
    right: 1rem;
    bottom: 1rem;
  }

  .about-img {
    min-height: 350px;
  }
}

.badge-icon {
  font-size: 2.5rem;
  color: var(--primary);
}

.badge-text h4 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--dark);
}

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

.about-text-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-text-content p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  line-height: 1;
}

.stat-item p {
  margin: 0;
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}

/* ========== SERVICES ========== */
.services-overview {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
}

.services-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 12px;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Service Icons --- */
.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 210, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 210, 255, 0.2);
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 1.75rem;
  color: var(--primary);
}

.bento-card-medium .service-icon {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.bento-card-medium .service-icon i {
  color: var(--white);
}

.bento-card-dark .service-icon {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-card-dark .service-icon i {
  color: var(--white);
}

/* --- Bento Box Layout (Phase 11) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-link-large,
.bento-link-medium,
.bento-link-dark {
  text-decoration: none;
  display: block;
}

.bento-link-large {
  grid-column: span 12;
}

.bento-link-medium {
  grid-column: span 12;
}

.bento-link-dark {
  grid-column: span 12;
}

@media (min-width: 992px) {
  .bento-link-large {
    grid-column: span 8;
    grid-row: span 2;
  }

  .bento-link-medium {
    grid-column: span 4;
    grid-row: span 1;
  }

  .bento-link-dark {
    grid-column: span 4;
    grid-row: span 1;
  }
}

.bento-card {
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-md);
  z-index: 1;
}

/* Typography Color Overrides (Fixes default link blue) */
.bento-link-large h3,
.bento-link-medium h3 {
  color: var(--dark);
}

.bento-link-large p,
.bento-link-medium p {
  color: var(--text);
}

.bento-card-dark h3,
.bento-card-dark p {
  color: var(--white);
}

/* Large Card (Vending) */
.bento-card-large {
  background: var(--white);
  border: 1px solid var(--border);
}

.bento-large-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  height: 100%;
}

@media (min-width: 768px) {
  .bento-large-split {
    grid-template-columns: 1.7fr 1fr;
  }
}

.bento-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-floating-image {
  max-width: 90%;
  max-height: 110%;
  object-fit: contain;
  position: absolute;
  right: 0%;
  top: 50%;
  transform: translateY(-50%) scale(1.0);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  mix-blend-mode: multiply;
}

.bento-card-large:hover .bento-floating-image {
  transform: translateY(-50%) scale(1.05);
}

.bento-bg-mesh {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    radial-gradient(at 0% 0%, hsla(199, 100%, 50%, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, hsla(213, 100%, 50%, 0.05) 0px, transparent 50%);
  z-index: -1;
  opacity: 0.5;
}

.float-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: float 6s ease-in-out infinite;
}

.bento-content h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--dark);
}

.bento-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.bento-features li {
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bento-features i {
  color: var(--primary);
}

/* Medium Card */
.bento-card-medium {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('/micro-market-jacksonville-fl.png') center/cover no-repeat;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-card-medium h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 1rem 0;
  color: var(--white);
}

.bento-card-medium p {
  color: rgba(255, 255, 255, 0.8);
}

.bento-card-medium .service-icon i {
  color: var(--white);
}

/* Dark Card (Coffee) */
.bento-card-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-card-dark .service-icon i,
.bento-card-dark h3 {
  color: var(--white);
}

.bento-card-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.light-cta .learn-more {
  color: var(--white);
}

.light-cta .learn-more i {
  color: var(--primary-light);
}

/* Common Hover Effects */
.bento-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 210, 255, 0.15);
  border-color: var(--primary);
}

.bento-card-dark:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 210, 255, 0.1);
}

.bento-cta {
  margin-top: auto;
  padding-top: 1.5rem;
}

.service-card.featured {
  border-color: var(--primary);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon i {
  font-size: 1.25rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.service-features {
  list-style: none;
  margin-bottom: 1rem;
}

.service-features li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.learn-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ========== CAROUSEL HARDWARE SHOWCASE (Phase 13) ========== */
.carousel-section {
  background: var(--dark);
  color: var(--white);
  padding: 6rem 0;
  overflow: hidden;
  position: relative;
}

.carousel-section .section-header h2 {
  color: var(--white);
}

.carousel-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.carousel {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.carousel-track-container {
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-slide img {
  max-height: 500px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.8));
  margin-bottom: 2rem;
  transition: transform 0.4s ease;
}

.carousel-slide.active img:hover {
  transform: translateY(-10px);
}

.carousel-caption {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-align: center;
  position: relative;
  padding-bottom: 0.5rem;
}

.carousel-caption::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.carousel-slide.active:hover .carousel-caption::after {
  width: 80px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
  background: var(--primary);
  width: 30px;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

/* ========== CTA ========== */
.cta-section {
  padding: 8rem 0;
  background: var(--darker);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, transparent 60%);
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta-section .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

/* ========== FOOTER ========== */
.footer {
  background: #1f2937;
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.footer-section p,
.footer-section li {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
}

.footer-section a:hover {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-links a {
  color: var(--white);
  font-size: 1.25rem;
  opacity: 0.8;
}

.social-links a:hover {
  opacity: 1;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #374151;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ========== CONTACT ========== */
.contact-section {
  padding: 4rem 0;
  background: var(--light);
}

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

.contact-form-container h2,
.contact-info h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.contact-form-container p,
.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-form {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-info {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ========== 404 NOT FOUND ========== */
.not-found-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  background: var(--light);
}

.not-found {
  text-align: center;
  max-width: 480px;
}

.not-found h1 {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.not-found p {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.not-found-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ========== PAGE CONTENT (dynamic [slug]) ========== */
.page-content {
  padding: 2rem 1rem;
}

.page-content>*+* {
  margin-top: 1.5rem;
}

.page-content section+section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.page-content section:nth-child(even) {
  background: var(--light);
  margin-left: -1rem;
  margin-right: -1rem;
  padding: 2rem 1rem;
  border-radius: 8px;
  border-top: none;
}

.page-content h1,
.page-content h2,
.page-content h3 {
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.page-content p {
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.page-content a {
  color: var(--primary);
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

/* Generic typography and elements in page content */
.page-content ul,
.page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  line-height: 1.7;
}

.page-content ul {
  list-style: none;
  padding-left: 0;
}

.page-content ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

.page-content ol {
  list-style: decimal;
}

.page-content ol li {
  margin-bottom: 0.4rem;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.page-content table:not(.comparison-table) {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.page-content table:not(.comparison-table) th,
.page-content table:not(.comparison-table) td {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  text-align: left;
}

.page-content table:not(.comparison-table) th {
  background: var(--light);
  font-weight: 600;
  color: var(--dark);
}

.page-content table:not(.comparison-table) tr:nth-child(even) {
  background: var(--light);
}

.page-content blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--primary);
  background: var(--light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text);
}

.page-content hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.page-content h4 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.page-content h5 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.page-content h6 {
  font-size: 1rem;
  color: var(--text);
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

/* Location/Content blocks from extracted HTML */
.location-overview,
.beach-services,
.beach-areas,
.beach-benefits,
.related-services,
.downtown-services,
.placement-content {
  padding: 2.5rem 0;
}

.location-content,
.benefits-content,
.placement-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.page-content .location-text h2,
.page-content .benefits-text h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.page-content .location-text p,
.page-content .benefits-text p {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 16px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.page-content .feature-item:hover {
  background: var(--light-blue);
  border-color: var(--primary);
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.page-content .feature-item h3 {
  color: var(--dark);
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.page-content .feature-item p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.page-content .feature-item i {
  color: var(--primary);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.area-card h3 {
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.area-card p,
.area-card ul li {
  color: var(--text);
}

.area-card i {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.breadcrumb-nav {
  padding: 0.75rem 0;
  background: var(--light);
  font-size: 0.9rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
}

.breadcrumb-item a {
  color: var(--primary);
}

/* Unstyled content classes from extracted HTML */
.page-content .image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
}

/* ========== MINIMALIST ENHANCEMENTS (Atlantic Beach & Location Pages) ========== */
/* Minimal Overview Section */
.page-content .minimal-overview {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--white) 0%, #f4f9ff 100%);
}

.page-content .minimal-content {
  max-width: 1000px;
  margin: 0 auto;
}

.page-content .minimal-text {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-content .minimal-text h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-content .minimal-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.page-content .minimal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.page-content .minimal-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border);
  border-top: 4px solid transparent;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.page-content .minimal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 100, 255, 0.15);
  border-color: rgba(0, 210, 255, 0.1);
  border-top: 4px solid var(--primary);
}

.page-content .minimal-card i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.page-content .minimal-card:hover i {
  transform: translateY(-5px);
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.page-content .minimal-card h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.page-content .minimal-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.page-content .image-placeholder i {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.page-content .atlantic-beach-benefits .image-placeholder {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-muted);
  backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/9;
  border-radius: 16px;
  width: 100%;
}

.page-content .atlantic-beach-benefits .image-placeholder i {
  filter: none;
}

.location-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.location-image img {
  width: 100%;
  height: auto;
  display: block;
}

.location-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.opportunity-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  min-width: 100px;
  transition: all 0.3s ease;
}

.metric:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.metric span:first-child {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.metric span:last-child {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== DYNAMIC PAGE CONTENT (extracted HTML) ========== */
.page-content {
  background-color: transparent;
  color: var(--text);
}

.page-content section {
  background-color: transparent;
}

.page-content .location-overview,
.page-content section.location-overview {
  background-color: transparent;
}

.page-content .section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.page-content .section-header h2,
.page-content h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  text-align: center;
}

.page-content h3 {
  color: var(--dark);
}

.page-content p {
  color: var(--text);
}

.page-content .section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* Grids */
.features-grid,
.areas-grid,
.benefits-grid,
.advantages-grid,
.industries-grid,
.locations-grid,
.business-grid,
.applications-grid,
.opportunities-grid,
.gallery-grid,
.insights-grid,
.trends-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* Premium Grids (Services & Categories) */
.services-grid,
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}


/* Cards */
.feature-card,
.area-card,
.benefit-card,
.advantage-card,
.category-card,
.industry-card,
.location-card,
.placement-card,
.application-card,
.opportunity-card,
.insight-card,
.trend-card,
.testimonial-card,
.stat-card,
.strategy-card,
.process-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text);
}

/* Premium Service Cards (Bento-Grid Inspired) */
.service-card {
  background: rgba(10, 25, 47, 0.95);
  /* Deep slate-navy */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 210, 255, 0.15);
  /* Subtle cyan border */
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 210, 255, 0.02);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Abstract gradient orb behind the card matching the Hero section */
.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 210, 255, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  pointer-events: none;
}

.feature-card:hover,
.area-card:hover,
.benefit-card:hover,
.category-card:hover,
.industry-card:hover,
.location-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-card:hover {
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 20px 40px -15px rgba(0, 210, 255, 0.2), 0 0 15px rgba(0, 210, 255, 0.1);
  transform: translateY(-8px) scale(1.02);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin: 1.2rem 0 0.8rem 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-card p,
.service-card ul li {
  color: #94a3b8;
  /* Slate 400 */
  line-height: 1.6;
}

.service-card ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.service-card i {
  font-size: 2.8rem;
  color: var(--primary);
  filter: drop-shadow(0 0 12px var(--primary-glow));
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.1) rotate(-5deg);
}

.page-content .service-card .btn {
  margin-top: auto;
  /* Push button to bottom if cards are different heights */
  align-self: flex-start;
  margin-top: 1.5rem;
}

.area-card-link,
.category-card-link,
.industry-card-link {
  text-decoration: none;
  color: inherit;
}

/* ========== ADVANCED MINIMALIST BENEFITS SECTION ========== */
.atlantic-beach-benefits {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--light) 0%, #edf2f7 100%);
  position: relative;
  overflow: hidden;
}

.atlantic-beach-benefits::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.centered-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.centered-header h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.centered-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 3x2 Advanced Features Grid */
.advanced-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.advanced-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advanced-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 100, 255, 0.15);
  border-color: rgba(0, 210, 255, 0.2);
}

.feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.feature-icon-wrapper i {
  font-size: 1.8rem;
  color: var(--primary);
  transition: all 0.4s ease;
}

.advanced-feature-card:hover .feature-icon-wrapper {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.advanced-feature-card:hover .feature-icon-wrapper i {
  color: var(--white);
}

.advanced-feature-card h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.advanced-feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.centered-cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .advanced-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .advanced-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .centered-header h2 {
    font-size: 2rem;
  }
}

/* Feature / benefit items (legacy support) */
.benefit-item,
.advantage-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  margin-bottom: 1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--dark);
  font-weight: 600;
  font-size: 1.05rem;
}

.benefit-item:hover,
.advantage-item:hover {
  background: var(--white);
  border-color: rgba(0, 210, 255, 0.2);
  box-shadow: 0 15px 35px -5px rgba(0, 100, 255, 0.1);
  transform: translateY(-4px);
}

.benefit-item i,
.advantage-item i {
  color: var(--primary);
  background: rgba(0, 210, 255, 0.1);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.benefit-item:hover i,
.advantage-item:hover i {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 210, 255, 0.3);
}

.feature-icon,
.benefit-icon,
.advantage-icon,
.area-icon,
.tech-icon {
  color: var(--primary);
  flex-shrink: 0;
}

/* Hero stats (location pages) */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

.hero-stat {
  text-align: center;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.hero-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Overview blocks */
.overview-content,
.intro-content,
.benefits-content,
.placement-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.overview-text h2,
.intro-text h2,
.benefits-text h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

/* Stats grids */
.stats-grid,
.intro-stats,
.overview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

/* Service comparison */
.service-comparison {
  overflow-x: auto;
  margin: 1rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 400px;
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.comparison-table th {
  background: var(--light);
  font-weight: 600;
}

.comparison-vendsmart {
  background: rgba(0, 197, 245, 0.08);
}

.comparison-feature {
  font-weight: 500;
}

.text-success {
  color: #059669;
}

.text-danger {
  color: #dc2626;
}

/* CTA blocks */
.benefits-cta,
.placement-cta,
.improvements-cta {
  margin-top: 1.5rem;
}

.benefits-cta .btn,
.placement-cta .btn,
.improvements-cta .btn {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Testimonials */
.testimonial-card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.testimonial-content {
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark);
}

/* Process / setup */
.process-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 8px;
}

.process-number {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* Location-specific sections (same as generic) */
[class*="-benefits"],
[class*="-services"],
[class*="-areas"],
[class*="-overview"],
[class*="-stats"] {
  padding: 1.5rem 0;
}

/* ========== ADVANCED ACCORDION AREAS SECTION ========== */
section.areas-accordion-section,
.page-content section.areas-accordion-section {
  padding: 6rem 0;
  background: var(--darker) !important;
  position: relative;
  overflow: hidden;
  color: var(--white);
  border-top: none;
  margin-top: 0;
}

.areas-accordion-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.centered-header.dark-mode h2 {
  color: var(--white);
}

.centered-header.dark-mode p {
  color: #94a3b8;
  /* Slate 400 */
}

/* Accordion Grid Container */
.accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .accordion-grid {
    grid-template-columns: 1fr;
  }
}

/* Premium Accordion Styling */
.premium-accordion-item {
  background: rgba(15, 23, 42, 0.4);
  /* Slate 900 translucent */
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Faint white border */
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.premium-accordion-item:hover,
.premium-accordion-item[open] {
  border-color: rgba(0, 210, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 100, 255, 0.15);
  background: rgba(15, 23, 42, 0.6);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  cursor: pointer;
  list-style: none;
  /* Hide default triangle */
  transition: background 0.3s ease;
  user-select: none;
}

.accordion-header::-webkit-details-marker {
  display: none;
  /* Hide default triangle in WebKit */
}

.accordion-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.accordion-title-wrapper i {
  font-size: 1.4rem;
  color: var(--primary);
  background: rgba(0, 210, 255, 0.1);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.premium-accordion-item[open] .accordion-title-wrapper i,
.premium-accordion-item:hover .accordion-title-wrapper i {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.accordion-title-wrapper h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: var(--white);
  letter-spacing: 0.5px;
}

.accordion-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-accordion-item[open] .accordion-icon {
  transform: rotate(180deg);
}

/* Accordion Content Panel */
.accordion-content {
  padding: 0 2rem 2rem 2rem;
  animation: smoothSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(-10px);
}

@keyframes smoothSlideDown {
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-content p {
  color: #cbd5e1;
  /* Slate 300 */
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.accordion-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.accordion-content ul li {
  position: relative;
  padding-left: 1.75rem;
  color: #94a3b8;
  /* Slate 400 */
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.accordion-content ul li::before {
  content: '→';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.accordion-cta .btn {
  width: 100%;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.accordion-cta .btn:hover {
  background: var(--white);
  color: var(--darker);
  border-color: var(--white) !important;
}

[class*="-areas"] .area-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  font-weight: 600;
}

[class*="-areas"] h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

/* Locations hub: .learn-more in area cards (no .btn) */
[class*="-areas"] .area-card .learn-more {
  display: block;
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  color: var(--primary);
}

[class*="-areas"] .area-card .learn-more i {
  margin-left: 0.35rem;
  font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 5rem;
    padding-bottom: 2rem;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 0.5rem 0;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    margin-top: 0.5rem;
    background: var(--light);
    border-radius: 6px;
    padding: 0.5rem;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .nav-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 5rem 1rem 3rem;
    min-height: 60vh;
  }

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

  .hero-feature {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .location-content,
  .benefits-content,
  .placement-content,
  .overview-content,
  .intro-content {
    grid-template-columns: 1fr;
  }

  [class*="-areas"] .areas-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    z-index: 999;
  }

  /* Page content: tables scroll horizontally on mobile */
  .page-content table:not(.comparison-table) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .opportunity-metrics {
    flex-direction: column;
    align-items: stretch;
  }

  .metric {
    min-width: auto;
  }

  .not-found h1 {
    font-size: 3rem;
  }

  .not-found-links {
    flex-direction: column;
  }

  .not-found-links .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .services-stats {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .location-content,
  .overview-content,
  .intro-content {
    gap: 1.5rem;
  }

  .page-content section:nth-child(even) {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* FAQ Section */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item[open] {
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  border-color: var(--primary-color);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}
.faq-icon i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-icon i {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: -0.5rem;
  padding-top: 1.5rem;
}
