/* ===== CSS Variables / Brand Tokens ===== */
:root {
  --color-primary-blue: #007AC2;
  --color-secondary-black: #000000;
  --color-accent-blue: #005A92;
  --color-light-blue: #E6F4FB;
  --background-light: #FFFFFF;
  --background-soft: #F8F8F8;
  --text-main: #000000;
  --text-muted: #444444;
  --text-light: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,122,194,0.08);
  --shadow-md: 0 4px 16px rgba(0,122,194,0.12);
  --shadow-lg: 0 8px 32px rgba(0,122,194,0.15);
  --shadow-hover: 0 12px 40px rgba(0,122,194,0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
}
body {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--background-light);
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
a { text-decoration: none; color: inherit; transition: all var(--transition); }
ul, ol { list-style: none; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 0.75rem;
}
p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ===== Utility ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow: visible;
  box-sizing: border-box;
}
.section {
  padding: 6rem 0;
  width: 100%;
  max-width: 100vw;
  overflow: visible;
  position: relative;
}
/* Ensure no individual scrollbars on content sections */
section {
  overflow: visible;
}
.hero, .stats-section, .page-hero, .cta-banner, .associations-section {
  overflow: visible;
}
.section-alt {
  background: linear-gradient(180deg, var(--background-soft) 0%, rgba(230,244,251,0.3) 100%);
}
.section-dark {
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}
.section-dark h2,
.section-dark h3 {
  color: var(--text-light);
}
.section-dark .btn-primary {
  border: 2px solid #ffffff;
}
.text-center { text-align: center; }
.text-blue { color: var(--color-primary-blue); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  transition: left 0.5s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  color: var(--text-light) !important;
  box-shadow: 0 4px 14px rgba(0,122,194,0.25);
  position: relative;
  z-index: 1;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,122,194,0.35);
  color: var(--text-light) !important;
}
.btn-outline {
  background: transparent;
  color: var(--text-light) !important;
  border: 2px solid var(--text-light);
  position: relative;
  z-index: 1;
}
.btn-outline:hover {
  background: var(--text-light);
  color: var(--color-primary-blue) !important;
  transform: translateY(-2px);
}
.btn-blue {
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  color: var(--text-light) !important;
  box-shadow: 0 4px 14px rgba(0,122,194,0.25);
  position: relative;
  z-index: 1;
}
.btn-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,122,194,0.35);
  color: var(--text-light) !important;
}

/* ===== Header / Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: all var(--transition);
  overflow-x: hidden;
}
body.home .header {
  position: absolute;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
body.home .header.scrolled {
  position: fixed;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.header-transparent {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.header-transparent .nav-link { color: var(--text-main); }
.header-transparent .logo-text { color: var(--color-primary-blue); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  overflow: visible;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.logo:hover {
  transform: scale(1.02);
}
.logo-image {
  height: 65px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
}
.logo-image,
.footer-logo {
  mix-blend-mode: darken;
}
.logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,122,194,0.25);
}
body.home .logo-icon {
  background: rgba(255,255,255,0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
}
body.home .header.scrolled .logo-icon {
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  box-shadow: 0 4px 12px rgba(0,122,194,0.25);
}
.logo-icon svg { width: 30px; height: 30px; }
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-blue);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
body.home .logo-text {
  color: var(--text-light);
}
body.home .header.scrolled .logo-text {
  color: var(--color-primary-blue);
}
.logo-text span {
  color: var(--color-secondary-black);
}
body.home .logo-text span {
  color: var(--text-light);
}
body.home .header.scrolled .logo-text span {
  color: var(--color-secondary-black);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: nowrap;
}
.nav-link {
  font-weight: 400;
  font-size: 19px;
  color: var(--text-main);
  transition: all var(--transition);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}
body.home .nav-link {
  color: var(--text-light);
  font-weight: 400;
}
body.home .header.scrolled .nav-link {
  color: var(--text-main);
}
.nav-link:hover {
  color: var(--color-primary-blue);
  transform: translateY(-1px);
}
.nav-link.active {
  color: var(--color-primary-blue);
}
body.home .nav-link:hover {
  color: var(--text-light);
}
body.home .nav-link.active {
  color: var(--text-light);
}
body.home .header.scrolled .nav-link:hover,
body.home .header.scrolled .nav-link.active {
  color: var(--color-primary-blue);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-blue), var(--color-accent-blue));
  border-radius: 3px;
  transition: width var(--transition);
}
body.home .nav-link::after {
  background: var(--color-light-blue);
}
body.home .header.scrolled .nav-link::after {
  background: linear-gradient(90deg, var(--color-primary-blue), var(--color-accent-blue));
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
  margin-left: 0.75rem;
  padding: 10px 20px !important;
  white-space: nowrap;
  color: var(--text-light) !important;
  font-size: 0.9rem;
}
.nav-cta:hover {
  color: var(--text-light) !important;
}
.nav-cta::after {
  display: none !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-primary-blue);
  border-radius: 2px;
  transition: all var(--transition);
}
body.home .hamburger span {
  background: var(--text-light);
}
body.home .header.scrolled .hamburger span {
  background: var(--color-primary-blue);
}
/* ===== Slogan Section (below hero) ===== */
.slogan-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: -60px;
  padding: 0;
  background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
  z-index: 10;
}

.slogan {
  text-align: center;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-style: italic;
  margin: 0 auto;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

/* ===== Mobile Nav ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: var(--background-light);
  z-index: 1001;
  transition: right var(--transition);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  overflow-x: hidden;
}
.mobile-nav.open { right: 0; }
.mobile-nav-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-main);
}
.mobile-nav-links {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  overflow-x: hidden;
}
.mobile-nav-links a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}
.mobile-nav-links a:hover { color: var(--color-primary-blue); }
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}
.overlay.active { display: block; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #2c3e50;
  overflow: visible;
  padding-top: 0;
  padding-bottom: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: var(--max-width);
  width: 100%;
  padding: 4rem 1.5rem;
  margin: 0 auto;
}
.hero-text {
  max-width: 650px;
}
.hero-text h1 {
  color: var(--text-light);
  margin-top: 3rem;
  margin-bottom: 1.75rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
}
.hero-text p {
  color: rgba(255,255,255,0.95);
  font-size: 1.25rem;
  margin: 0 0 2.5rem;
  line-height: 1.8;
  text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

/* ===== Stats Section ===== */
.stats-section {
  background: var(--background-light);
  padding-top: 7rem;
  padding-bottom: 0rem;
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--background-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  overflow: hidden;
}
.stat-card {
  background: var(--background-light);
  padding: 3rem 2rem;
  text-align: center;
  transition: all var(--transition);
  border-right: 1px solid #e0e0e0;
  position: relative;
}
.stat-card:last-child {
  border-right: none;
}
.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-blue), var(--color-accent-blue));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.stat-card:hover::before {
  transform: scaleX(1);
}
.stat-card:hover {
  background: var(--color-light-blue);
  transform: translateY(-5px);
}
.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary-blue);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stat-label {
  font-size: 1rem;
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  padding: 11rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 350px;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.page-hero h1 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.1);
  font-size: clamp(2.25rem, 5vw, 3rem);
}
.page-hero p {
  color: rgba(255,255,255,0.95);
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--text-light); }

/* ===== Service Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
  max-width: 100%;
}

/* Center last 2 cards when there are 5 total on desktop only */
@media (min-width: 1101px) {
  .services-grid .service-card:nth-child(4):nth-last-child(2) {
    grid-column: 1;
    transform: translateX(calc(50% + 1.25rem));
  }

  .services-grid .service-card:nth-child(5):last-child {
    grid-column: 2;
    transform: translateX(calc(50% + 1.25rem));
  }
}

/* Reset transforms when there are 6 cards (3x2 grid) */
.services-grid .service-card:nth-child(4):nth-last-child(3),
.services-grid .service-card:nth-child(5):nth-last-child(2) {
  grid-column: auto;
  transform: none;
}

.service-card {
  background: var(--background-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 3rem 2.5rem;
  text-align: center;
  border: 1px solid rgba(0,122,194,0.08);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-blue), var(--color-accent-blue));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,122,194,0.15);
}
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.75rem;
  background: linear-gradient(135deg, var(--color-light-blue) 0%, rgba(0,122,194,0.15) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotateY(10deg);
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
}
.service-card:hover .service-icon svg {
  color: var(--text-light);
}
.service-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-primary-blue);
  transition: color var(--transition);
}
.service-card h3 {
  margin-bottom: 1rem;
  color: var(--text-main);
  font-size: 1.35rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.service-link {
  color: var(--color-primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
  font-size: 0.95rem;
  margin-top: auto;
  align-self: center;
}
.service-link:hover {
  gap: 0.75rem;
  color: var(--color-accent-blue);
}

/* ===== Content Links / Hyperlinks ===== */
.link-style {
  color: var(--color-primary-blue);
  text-decoration: underline;
  font-weight: 600;
  transition: all var(--transition);
}
.link-style:hover {
  color: var(--color-accent-blue);
  text-decoration: underline;
}

/* ===== Features / Benefits ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.feature-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-item:hover {
  transform: translateY(-5px);
}
.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.feature-item:hover .feature-icon {
  background: rgba(255,255,255,0.25);
  transform: scale(1.1);
}
.feature-icon svg {
  width: 36px;
  height: 36px;
  color: var(--text-light);
}
.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  text-align: center;
}
.feature-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  text-align: center;
  max-width: 280px;
}

/* ===== Content Sections (Two Column) ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.two-col-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-light-blue) 0%, rgba(0,122,194,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.two-col-image:hover {
  transform: scale(1.02);
}
.two-col-image svg {
  width: 130px;
  height: 130px;
  color: var(--color-primary-blue);
  opacity: 0.4;
  transition: opacity var(--transition);
}
.two-col-image:hover svg {
  opacity: 0.6;
}
.two-col-text h2 {
  margin-bottom: 1.75rem;
  color: var(--text-main);
}
.two-col-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.check-list { margin: 1.5rem 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}
.check-list li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-primary-blue);
  margin-top: 2px;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.testimonial-card {
  background: var(--background-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,122,194,0.08);
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,122,194,0.15);
}
.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
  font-size: 0.95rem;
}
.testimonial-author {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
}
.stars svg {
  width: 18px;
  height: 18px;
  color: #F5A623;
  fill: #F5A623;
}

/* ===== Social Media Section ===== */
.social-media-section {
  background: linear-gradient(180deg, var(--background-soft) 0%, #ffffff 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.social-media-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,122,194,0.2) 50%, transparent 100%);
}
.social-media-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 2rem;
  background: var(--background-light);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-main);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}
.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.social-card:hover::before {
  opacity: 1;
}
.social-card-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}
.social-card-logo svg {
  width: 40px;
  height: 40px;
  transition: transform 0.4s ease;
}
.twitter-card {
  border-color: rgba(0, 0, 0, 0.05);
}
.twitter-card:hover {
  border-color: #000000;
}
.twitter-card .social-card-logo {
  background: #000000;
  color: #ffffff;
}
.twitter-card:hover .social-card-logo {
  background: #000000;
  transform: rotate(-5deg) scale(1.1);
}
.facebook-card {
  border-color: rgba(24, 119, 242, 0.1);
}
.facebook-card:hover {
  border-color: #1877F2;
}
.facebook-card .social-card-logo {
  background: #1877F2;
  color: #ffffff;
}
.facebook-card:hover .social-card-logo {
  background: #0d65d9;
  transform: rotate(5deg) scale(1.1);
}
.social-card-content {
  flex: 1;
}
.social-card-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.social-card-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.twitter-card:hover .social-card-content h3 {
  color: #000000;
}
.facebook-card:hover .social-card-content h3 {
  color: #1877F2;
}
.social-card-arrow {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  opacity: 0.5;
  transition: all 0.3s ease;
}
.social-card-arrow svg {
  width: 100%;
  height: 100%;
}
.social-card:hover .social-card-arrow {
  opacity: 1;
  transform: translateX(5px);
}
.twitter-card:hover .social-card-arrow {
  color: #000000;
}
.facebook-card:hover .social-card-arrow {
  color: #1877F2;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  padding: 5rem 0;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.cta-banner h2 {
  color: var(--text-light) !important;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}
.cta-banner p {
  color: rgba(255,255,255,0.95) !important;
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
.cta-banner .link-style,
.cta-banner a:not(.btn) {
  color: #ffffff !important;
  text-decoration: underline;
}
.cta-banner .link-style:hover,
.cta-banner a:not(.btn):hover {
  color: rgba(255,255,255,0.8) !important;
}
.cta-banner .fade-in {
  position: relative;
  z-index: 2;
}
.cta-banner .btn {
  margin-right: 1rem;
  margin-bottom: 0.75rem;
  text-decoration: none !important;
}
.cta-banner .btn:last-child {
  margin-right: 0;
}
.cta-banner .btn-outline:hover {
  background: var(--text-light) !important;
  color: var(--color-primary-blue) !important;
}
.cta-banner .btn-blue {
  border: 2px solid #ffffff;
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition);
  background: var(--background-light);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 3px rgba(0,122,194,0.1);
  transform: translateY(-1px);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.contact-info-card {
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.contact-info-card h3 {
  color: var(--text-light);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.contact-info-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--text-light);
}
.contact-info-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-light);
}
.contact-info-item a {
  color: rgba(255,255,255,0.9);
}
.contact-info-item a:hover {
  color: var(--text-light);
}

/* ===== Service Area Map Placeholder ===== */
.map-placeholder {
  background: var(--color-light-blue);
  border-radius: var(--radius-md);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-blue);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ===== Counties Grid ===== */
.counties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0;
  height: 100%;
  align-content: start;
}
.county-card {
  background: linear-gradient(135deg, var(--background-light) 0%, var(--color-light-blue) 100%);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0,122,194,0.1);
  border: 2px solid rgba(0,122,194,0.15);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.county-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-blue), var(--color-accent-blue));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.county-card:hover::before {
  transform: scaleX(1);
}
.county-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0,122,194,0.2);
  border-color: var(--color-primary-blue);
  background: linear-gradient(135deg, var(--color-light-blue) 0%, var(--background-light) 100%);
}
.county-card h4 {
  color: var(--color-primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.county-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
  font-weight: 500;
}

/* ===== Process Steps ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
  padding: 1.5rem;
  transition: transform var(--transition);
}
.process-step:hover {
  transform: translateY(-5px);
}
.process-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: 0 6px 20px rgba(0,122,194,0.25);
  transition: all var(--transition);
}
.process-step:hover .process-number {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0,122,194,0.35);
}
.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  font-weight: 600;
}
.process-step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Pricing Cards ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pricing-card {
  background: var(--background-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: all var(--transition);
}
.pricing-card.featured {
  border-color: var(--color-primary-blue);
  transform: scale(1.05);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card h3 { margin-bottom: 1rem; }
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary-blue);
  margin-bottom: 0.5rem;
}
.pricing-card .price-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-features { margin-bottom: 2rem; text-align: left; }
.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-features li svg { width: 18px; height: 18px; color: var(--color-primary-blue); flex-shrink: 0; }

/* ===== Associations Section ===== */
.associations-section {
  padding: 3rem 0;
  background: var(--background-light);
  overflow: hidden;
}
.associations-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text-main);
}
.associations-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}
.associations-track {
  display: flex;
  gap: 4rem;
  animation: scroll 30s linear infinite;
  width: max-content;
}
.associations-track:hover {
  animation-play-state: paused;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.association-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  filter: grayscale(100%) opacity(0.7);
  transition: all var(--transition);
}
.association-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}
.association-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* ===== Footer ===== */
.footer {
  background: #f5f5f5;
  color: var(--text-muted);
  padding: 4rem 0 3rem 0;
  border-top: 1px solid #e0e0e0;
  width: 100%;
  overflow: visible;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 0;
}
.footer h4 {
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.footer-about p {
  line-height: 1.7;
  color: var(--text-muted);
}
.footer-links a {
  display: block;
  padding: 0.35rem 0;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-primary-blue); }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}
.footer-contact a {
  color: var(--text-muted);
  white-space: nowrap;
}
.footer-contact a:hover {
  color: var(--color-primary-blue);
}
.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-primary-blue);
}
.footer-bottom {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  background: #001f3f;
  color: rgba(255,255,255,0.8);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p {
  color: rgba(255,255,255,0.8);
}
.footer-bottom a {
  color: #ffffff;
  font-weight: 600;
}
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--color-light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: 1px solid #e0e0e0;
}
.footer-social a:hover {
  background: var(--color-primary-blue);
  border-color: var(--color-primary-blue);
}
.footer-social a:hover svg {
  color: var(--text-light);
}
.footer-social svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary-blue);
  transition: color var(--transition);
}

/* ===== Three Column Grid ===== */
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 100%;
}

/* ===== Contact Page Styles ===== */
.contact-cards-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.contact-card {
  background: var(--background-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,122,194,0.08);
  transition: all var(--transition);
  flex: 0 1 calc(50% - 1rem);
  max-width: 450px;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,122,194,0.2);
}

.contact-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,122,194,0.25);
}

.contact-card-icon svg {
  width: 40px;
  height: 40px;
  color: var(--text-light);
}

.contact-card h3 {
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-phone a,
.contact-email a {
  color: var(--color-primary-blue);
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.contact-phone a:hover,
.contact-email a:hover {
  color: var(--color-accent-blue);
  transform: translateY(-2px);
}

/* Enhanced contact card phone links */
.contact-card .contact-phone a {
  position: relative;
  display: inline-block;
}

.contact-card .contact-phone a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary-blue);
  transition: width 0.3s ease;
}

.contact-card .contact-phone a:hover::after {
  width: 100%;
}

/* Wide Contact Card Styles */
.contact-card-wide {
  max-width: 1100px !important;
  width: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  padding: 2rem 2.5rem !important;
  position: relative;
  overflow: hidden;
}

.contact-card-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact-card-deco-1 {
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,122,194,0.08) 0%, transparent 70%);
}

.contact-card-deco-2 {
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0,122,194,0.05) 0%, transparent 70%);
}

.contact-card-content {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-section {
  flex: 1;
  text-align: center;
}

.contact-section-left {
  padding-right: 2rem;
  border-right: 2px solid rgba(0, 122, 194, 0.15);
}

.contact-section-right {
  padding-left: 2rem;
}

.contact-card-icon-small {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,122,194,0.3);
}

.contact-card-icon-small svg {
  width: 30px;
  height: 30px;
  color: var(--text-light);
}

.contact-section h3 {
  color: var(--text-main);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-section .contact-phone {
  margin-bottom: 0.5rem;
}

.contact-section .contact-phone a {
  color: var(--color-primary-blue);
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.contact-section .contact-desc {
  color: rgba(0,31,63,0.7);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.contact-section .contact-address p {
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0.25rem 0;
}

.contact-desc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,122,194,0.1);
  margin-top: 1rem;
}

.contact-desc-icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary-blue);
  flex-shrink: 0;
}

.contact-address p {
  margin: 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

.contact-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.areas-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.areas-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--background-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 500;
}

.areas-list li svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary-blue);
  flex-shrink: 0;
}

.contact-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-section {
  background: var(--background-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.contact-placeholder-image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--color-light-blue) 0%, rgba(0,122,194,0.1) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.contact-placeholder-image svg {
  width: 120px;
  height: 120px;
  color: var(--color-primary-blue);
  opacity: 0.4;
}

.payment-icon {
  width: 100px;
  height: 100px;
  margin: 1rem auto;
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,122,194,0.25);
}

.payment-icon svg {
  width: 50px;
  height: 50px;
  color: var(--text-light);
}

.about-content {
  background: var(--color-light-blue);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.service-guarantee {
  background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
  color: var(--text-light);
  padding: 2rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
}

.service-guarantee h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.service-guarantee ul {
  list-style: none;
  padding: 0;
}

.service-guarantee li {
  padding: 0.5rem 0;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}

.services-list {
  margin: 1.5rem 0;
}

.service-item {
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--background-soft);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary-blue);
}

.service-item h4 {
  color: var(--color-primary-blue);
  margin-bottom: 0.5rem;
}

.service-item p {
  margin-bottom: 0.5rem;
}

.service-link {
  color: var(--color-primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}

.service-link:hover {
  gap: 0.75rem;
  color: var(--color-accent-blue);
}

.payment-info {
  background: var(--color-light-blue);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
}

.payment-info h4 {
  color: var(--color-primary-blue);
  margin-bottom: 1rem;
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
/* Tablet view - 2 columns for service cards */
@media (max-width: 1100px) {
  .hero-buttons {
    flex-wrap: wrap;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Reset all transforms for tablet */
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-column: auto;
    transform: none !important;
    max-width: 100%;
    margin: 0;
  }

  /* Center the 5th card in 2-column layout */
  .services-grid .service-card:nth-child(5):last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.75rem);
    margin: 0 auto;
  }

  .service-card {
    padding: 2rem 1.5rem;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .counties-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.featured { transform: scale(1); }
  .three-col-grid { grid-template-columns: 1fr 1fr !important; }
  .stat-card {
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
  }
  .stat-card:nth-child(2n) {
    border-right: none;
  }
  .stat-card:nth-child(n+3) {
    border-bottom: none;
  }
  .service-card { padding: 2rem 1.5rem; }
  .cta-banner .btn { margin-bottom: 0.75rem; }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
  .footer-bottom {
    padding: 1.5rem 1rem;
  }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .hero { min-height: 70vh; padding-top: 60px; padding-bottom: 80px; }
  .slogan-section { margin-top: 0; }
  .hero-text h1 { font-size: 2rem !important; font-weight: normal !important; line-height: 1.3 !important; }
  .hero-text p { font-size: 1.1rem; }
  .hero-content { padding: 2rem 1.5rem; }
  .stats-section { padding: 3rem 0; }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-md);
  }
  .stat-card {
    padding: 2rem 1.5rem;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
  }
  .stat-card:nth-child(2n) {
    border-right: none;
  }
  .stat-card:nth-child(3),
  .stat-card:nth-child(4) {
    border-bottom: none;
  }
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* Reset all centering and transforms in 1-column mobile layout */
  .services-grid .service-card {
    grid-column: auto !important;
    transform: none !important;
    max-width: 100% !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .social-media-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .social-card {
    padding: 2rem 1.5rem;
  }
  .social-card-logo {
    width: 60px;
    height: 60px;
  }
  .social-card-logo svg {
    width: 35px;
    height: 35px;
  }
  .social-card-content h3 {
    font-size: 1rem;
  }
  .social-card-content p {
    font-size: 0.9rem;
  }
  .section { padding: 3rem 0; }
  .page-hero { padding: 7rem 0 3rem; }
  .page-hero h1 { font-size: clamp(1.75rem, 6vw, 2.25rem);}
  .footer-grid { grid-template-columns: 1fr; }
  .footer-about, .footer-links, .footer-contact { text-align: center; }
  .footer-about a { display: inline-block; }
  .footer-logo { margin-left: auto; margin-right: auto; display: block; }
  .footer-about p { text-align: center; }
  .footer-links a { display: inline-block; }
  .footer-contact p { justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 3rem 0; }
  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner p { font-size: 0.95rem; }
  .cta-banner .btn {
    font-size: 0.9rem;
    padding: 14px 28px;
  }
  .cta-banner .fade-in {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  .cta-banner .btn { margin-right: 0 !important; }
  .header {
    width: 100%;
    left: 0;
    right: 0;
  }
  .nav {
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 100%;
  }
  .logo {
    max-width: 70%;
  }
  .logo-image {
    height: 40px;
  }
  .logo-text {
    font-size: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .logo-icon { width: 44px; height: 44px; }
  .logo-icon svg { width: 26px; height: 26px; }
  .associations-section { padding: 3rem 0; }
  .associations-section h2 { font-size: 1.75rem; margin-bottom: 2rem; }
  .contact-info-card { padding: 2rem 1.5rem; }
  .two-col-image svg { width: 150px; height: 150px; }
  .pricing-card.featured { transform: scale(1); }
  .service-card { padding: 2rem 1.5rem; }
  .counties-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .three-col-grid { grid-template-columns: 1fr !important; }
  .mobile-nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .slogan {
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
  }
  /* Contact Page Mobile */
  .contact-cards-grid {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .contact-card {
    padding: 2rem 1.5rem;
    flex: 1 1 auto;
    max-width: 100%;
  }
  .contact-card-icon {
    width: 70px;
    height: 70px;
  }
  .contact-card-icon svg {
    width: 35px;
    height: 35px;
  }
  /* Wide Contact Card Mobile */
  .contact-card-wide {
    padding: 1.75rem 1.5rem !important;
  }
  .contact-card-content {
    flex-direction: column;
    gap: 2rem;
  }
  .contact-section-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 2px solid rgba(0, 122, 194, 0.15);
    padding-bottom: 2rem;
  }
  .contact-section-right {
    padding-left: 0;
    padding-top: 0;
  }
  .contact-card-icon-small {
    width: 55px;
    height: 55px;
  }
  .contact-card-icon-small svg {
    width: 28px;
    height: 28px;
  }
  .contact-section h3 {
    font-size: 1.3rem;
  }
  .contact-section .contact-phone a {
    font-size: 1.25rem;
  }
  .contact-section .contact-address p {
    font-size: 1.05rem;
  }
  .contact-phone {
    font-size: 1.5rem;
  }
  .contact-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-info-section {
    padding: 2rem 1.5rem;
  }
  .contact-info-section h2 {
    font-size: 1.5rem;
  }
  .areas-list {
    grid-template-columns: 1fr;
  }
  .about-content,
  .service-guarantee,
  .fleet-services-box {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  * {
    max-width: 100%;
  }
  .container { padding: 0 1rem; }
  .stats-section { padding: 2rem 0; }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stat-card {
    padding: 2rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }
  .stat-card:last-child {
    border-bottom: none;
  }
  .stat-number { font-size: 2.5rem; }
  .hero {
    min-height: 65vh;
    padding-top: 60px;
    padding-bottom: 100px;
  }
  .slogan-section {
    margin-top: 0;
  }
  .hero-content {
    text-align: center;
    padding: 2rem 1rem;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-text h1 {
    font-size: 1.75rem !important;
    margin-bottom: 1rem;
    font-weight: normal !important;
    line-height: 1.3 !important;
  }
  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }
  .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 0.9rem;
  }
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .service-card {
    padding: 1.5rem 1.25rem !important;
  }

  .features-grid { grid-template-columns: 1fr; }
  .counties-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 0; }
  .page-hero { padding: 6rem 0 2.5rem; }
  .page-hero h1 { font-size: 1.5rem;}
  .page-hero p { font-size: 1rem; }
  .cta-banner { padding: 2.5rem 0; }
  .cta-banner h2 { font-size: 1.35rem; margin-bottom: 1rem; }
  .cta-banner p { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .cta-banner .fade-in {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-banner .btn {
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 0.75rem;
  }
  .header {
    width: 100%;
    max-width: 100vw;
  }
  .nav {
    padding: 0.6rem 1rem;
    width: 100%;
    max-width: 100%;
  }
  .logo {
    max-width: 65%;
  }
  .logo-image {
    height: 35px;
  }
  .logo-text {
    font-size: 1.1rem;
    white-space: nowrap;
  }
  .logo-icon { width: 40px; height: 40px; }
  .logo-icon svg { width: 22px; height: 22px; }
  .service-card, .feature-item { padding: 1.5rem; }
  .service-icon, .feature-icon { width: 60px; height: 60px; }
  .service-icon svg, .feature-icon svg { width: 28px; height: 28px; }
  .footer { padding: 3rem 0 0; }
  .footer-about, .footer-links, .footer-contact { margin-bottom: 2rem; }
  .footer-bottom {
    padding: 1.25rem 1rem;
    font-size: 0.8rem;
  }
  .footer-bottom p {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    padding: 0 0.5rem;
  }
  .associations-section { padding: 2.5rem 0; }
  .associations-section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
  .associations-brand {
    min-width: 120px;
    height: 60px;
  }
  .contact-info-card { padding: 1.5rem; }
  .contact-info-item { margin-bottom: 1.5rem; }
  .two-col-image svg { width: 120px; height: 120px; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  .breadcrumb { font-size: 0.85rem; }
  body.home .hero {
    min-height: 70vh;
  }
  .counties-grid { grid-template-columns: 1fr !important; }
  .features-grid { gap: 1.5rem; }
  .process-number { width: 60px; height: 60px; font-size: 1.5rem; }
  .slogan {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }

  /* Prevent horizontal scroll */
  .section, .hero, .page-hero, .cta-banner {
    max-width: 100vw;
    overflow-x: hidden;
  }
  /* Contact Page Small Mobile */
  .contact-card {
    padding: 1.5rem 1rem;
  }
  .contact-card h3 {
    font-size: 1.15rem;
  }
  .contact-phone {
    font-size: 1.35rem;
    word-break: break-all;
  }
  .contact-desc {
    font-size: 0.875rem;
  }
  .contact-info-section {
    padding: 1.5rem 1rem;
  }
  .contact-info-section h2 {
    font-size: 1.35rem;
  }
  .contact-info-section h3 {
    font-size: 1.1rem;
  }
  .about-content,
  .service-guarantee,
  .fleet-services-box {
    padding: 1rem;
    margin: 1rem 0;
  }
  .address-box {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }
  .address-box svg {
    margin: 0 auto 0.5rem;
  }
  .franchise-badge {
    padding: 1rem;
  }
  .payment-info {
    padding: 1rem;
  }
  .services-list li {
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
  }
}

/* ===== Additional Mobile Improvements ===== */

@media (max-width: 640px) {
  .hero-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  }
  .two-col {
    gap: 1.5rem;
  }
  .check-list li {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }
  .service-card h3,
  .feature-item h3 {
    font-size: 1.1rem;
  }
  .service-card p,
  .feature-item p {
    font-size: 0.9rem;
  }
  .mobile-nav {
    width: 260px;
    max-width: 80vw;
    padding: 1.5rem;
  }
  .mobile-nav-links {
    margin-top: 2.5rem;
  }
  .mobile-nav-links a {
    font-size: 1rem;
    padding: 0.75rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .footer-bottom {
    text-align: center;
    font-size: 0.75rem;
    padding: 1rem 0.75rem;
    line-height: 1.6;
  }
  .footer-bottom p {
    margin-bottom: 0.75rem;
    padding: 0 0.25rem;
    word-break: break-word;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-social svg {
    display: block;
    margin: auto;
  }
  .contact-form button[type="submit"] {
    width: 100%;
  }
  .breadcrumb {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Additional fixes for horizontal scroll prevention */
  .header, .nav, .container, .section, .hero {
    max-width: 100vw;
  }
  .footer {
    max-width: 100vw;
    overflow: visible;
  }
  .footer-bottom {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  /* Contact Page Extra Responsive */
  .contact-card-icon {
    width: 65px;
    height: 65px;
  }
  .contact-card-icon svg {
    width: 32px;
    height: 32px;
  }
  .contact-image {
    margin: 1rem 0;
  }
  .areas-list li {
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
  }
}

/* ===== Global Mobile Overflow Prevention ===== */
@media (max-width: 768px) {
  * {
    max-width: 100%;
  }

  body, html {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
  }

  .header {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }
}

/* ===== Extra Small Devices (320px - 375px) ===== */
@media (max-width: 375px) {
  .footer-bottom {
    font-size: 0.7rem;
    padding: 1rem 0.5rem;
    line-height: 1.7;
  }
  .footer-bottom p {
    margin-bottom: 0.65rem;
    padding: 0 0.25rem;
  }
  .footer-bottom a {
    display: inline-block;
    word-break: break-all;
  }
  /* Contact Page Extra Small Devices */
  .contact-card {
    padding: 1.25rem 0.875rem;
  }
  .contact-card h3 {
    font-size: 1rem;
  }
  .contact-phone {
    font-size: 1.2rem;
  }
  /* Wide Contact Card Extra Small */
  .contact-card-wide {
    padding: 1.5rem 1rem !important;
  }
  .contact-card-content {
    gap: 1.5rem;
  }
  .contact-section-left {
    padding-bottom: 1.5rem;
  }
  .contact-card-icon-small {
    width: 50px;
    height: 50px;
  }
  .contact-card-icon-small svg {
    width: 25px;
    height: 25px;
  }
  .contact-section h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }
  .contact-section .contact-phone a {
    font-size: 1.15rem;
  }
  .contact-section .contact-desc {
    font-size: 0.8rem;
  }
  .contact-section .contact-address p {
    font-size: 1rem;
  }
  .contact-info-section {
    padding: 1.25rem 0.875rem;
  }
  .contact-info-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  .contact-info-section h3 {
    font-size: 1rem;
  }
  .about-content,
  .service-guarantee,
  .fleet-services-box {
    padding: 0.875rem;
    font-size: 0.9rem;
  }
  .btn {
    font-size: 0.875rem;
    padding: 12px 20px;
  }
  .check-list li {
    font-size: 0.875rem;
    gap: 0.5rem;
  }
  .check-list li svg {
    width: 18px;
    height: 18px;
  }
}

/* ===== Landscape Mobile ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 100vh; padding-top: 50px; }
  .hero-text h1 { font-size: 1.5rem; margin-bottom: 0.75rem; }
  .hero-text p { font-size: 0.95rem; margin-bottom: 1rem; }
  .hero-buttons { flex-direction: row; }
  .hero-buttons .btn { width: auto; }
  .page-hero { padding: 5rem 0 2rem; }
  .section { padding: 2rem 0; }
}

/* ===== Responsive images in content ===== */
.three-col-grid img,
.two-col img,
.contact-grid img {
  max-width: 100%;
  height: auto;
}

/* ===== Slogan Badge Mobile Responsive ===== */
@media (max-width: 768px) {
  .slogan-wrapper {
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 3.5rem !important;
    height: 80px !important;
  }

  .slogan-wrapper img {
    height: 80px !important;
  }
}
