/*
Theme Name: Understrap Child
Theme URI: https://exhaustplusautocenter.com
Description: Custom child theme. Built on Understrap framework with Bootstrap 5.
Author: Michael Johnson
Author URI: https://exhaustplusautocenter.com
Template: understrap
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: exhaust-plus-child
Tags: auto-repair, local-business, bootstrap, responsive
*/

/* ==========================================================================
   Brand Colors
   ========================================================================== */
:root {
  --ep-primary: #02539f;      /* Primary Blue */
  --ep-secondary: #6d6e71;    /* Secondary Gray */
  --ep-dark: #1a1a1a;         /* Dark Text */
  --ep-light: #f8f9fa;        /* Light Background */
  --ep-white: #ffffff;        /* White */
  --ep-accent: #0066cc;       /* Accent Blue (lighter) */

  /* Bootstrap overrides */
  --bs-primary: #02539f;
  --bs-secondary: #6d6e71;
  --bs-body-color: #1a1a1a;
  --bs-body-bg: #ffffff;

  /* Typography */
  --ep-font-headings: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ep-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing */
  --ep-section-padding: 80px 0;
  --ep-section-padding-mobile: 50px 0;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ep-font-body);
  color: var(--ep-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ep-font-headings);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ep-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
  background: var(--ep-secondary);
  color: var(--ep-white);
  padding: 0.75rem 0;
  font-size: 0.875rem;
}

.top-bar-address {
  display: inline-flex;
  align-items: center;
  color: var(--ep-white);
}

.top-bar-address i {
  color: var(--ep-white);
  opacity: 0.9;
}

.top-bar-social {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-social .social-label {
  color: var(--ep-white);
  opacity: 0.9;
  font-weight: 500;
  display: none;
}

.top-bar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--ep-white) !important;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.top-bar-social a:hover {
  background-color: var(--ep-white);
  color: var(--ep-primary) !important;
  transform: translateY(-3px);
}

.top-bar-social a i {
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .top-bar-social .social-label {
    display: inline;
  }
}

@media (max-width: 767.98px) {
  .top-bar {
    padding: 0.5rem 0;
    font-size: 0.8125rem;
  }

  .top-bar-address {
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
  }

  .top-bar-social {
    gap: 0.5rem;
  }

  .top-bar-social a {
    width: 28px;
    height: 28px;
  }

  .top-bar-social a i {
    font-size: 0.75rem;
  }
}

/* Top Bar Left Container */
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Top Bar Phone */
.top-bar-phone {
  display: inline-flex;
  align-items: center;
}

/* Header Phone Button (used in top bar) */
.header-phone,
.top-bar-phone-link {
  color: var(--ep-white) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.875rem;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: none;
  box-shadow: none;
}

.header-phone:hover,
.top-bar-phone-link:hover {
  background-color: var(--ep-white);
  color: var(--ep-primary) !important;
  transform: translateY(-2px);
  border: none;
  box-shadow: none;
}

.header-phone i,
.top-bar-phone-link i {
  font-size: 0.875rem;
  color: inherit;
}

/* Top Bar Phone and Appointment Link */
.header-phone, .top-bar-appointment-link {
  color: var(--ep-white) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.875rem;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.header-phone:hover, .top-bar-appointment-link:hover {
  background-color: var(--ep-white);
  color: var(--ep-primary) !important;
  transform: translateY(-2px);
}

.header-phone i, .top-bar-appointment-link i {
  font-size: 0.875rem;
}

/* Top Bar Right Container */
.top-bar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Responsive adjustments for top bar */
@media (max-width: 767.98px) {
  .top-bar {
    padding: 0.75rem 0;
  }

  .top-bar .row > div {
    margin-bottom: 0.5rem;
  }

  .top-bar .row > div:last-child {
    margin-bottom: 0;
  }

  .top-bar-left {
    gap: 0.5rem;
    justify-content: center;
  }

  .header-phone,
  .top-bar-phone-link {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
  }

  .header-phone span,
  .top-bar-phone-link span {
    display: none;
  }

  .header-phone i,
  .top-bar-phone-link i {
    margin-right: 0 !important;
  }

  .top-bar-address {
    font-size: 0.8125rem;
  }

  .top-bar-appointment-link {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
  }

  .top-bar-appointment-link span {
    display: none;
  }

  .top-bar-appointment-link i {
    margin-right: 0 !important;
  }

  .top-bar-right {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-bar-social a {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.custom-logo-link img {
  max-width: 150px;
}
.site-header {
  background: var(--ep-white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--ep-primary);
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  color: var(--ep-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--ep-primary);
}

/* Mobile Navigation Fixes */
@media (max-width: 991.98px) {
  /* Ensure navbar collapse is hidden by default on mobile */
  .navbar-collapse {
    display: none !important;
  }

  /* Show navbar collapse when it has the 'show' class (when toggle is clicked) */
  .navbar-collapse.show {
    display: block !important;
  }

  /* Stack menu items vertically on mobile */
  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  /* Add some spacing to mobile menu items */
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    text-align: center;
  }
}


/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(2,83,159,0.95) 0%, rgba(0,102,204,0.55) 100%),
              url('/images/hero.jpg') center/cover;
  color: var(--ep-white);
  padding: 130px 0 140px;
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(0,0,0,0.3);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(2,83,159,0.80) 0%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.hero-section > * {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: var(--ep-white);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 3px 10px rgba(0,0,0,0.3);
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
}

.hero-section .lead {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  opacity: 0.98;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-weight: 500;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-section p {
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background-color: var(--ep-white);
  color: var(--ep-primary);
  border: 2px solid var(--ep-white);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--ep-primary);
  border-color: var(--ep-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.hero-cta .btn-primary:hover,
.service-hero .btn-primary:hover {
  color: var(--ep-white);
}

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

.btn-outline-light:hover {
  background-color: var(--ep-white);
  color: var(--ep-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: scale(1.1);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding: var(--ep-section-padding);
  background-color: var(--ep-light);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title h2 {
  color: var(--ep-primary);
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--ep-primary), var(--ep-accent));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-title .subtitle {
  color: var(--ep-secondary);
  font-size: 1.25rem;
  font-weight: 500;
}

.service-card {
  background: var(--ep-white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 4px solid var(--ep-primary);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ep-primary), var(--ep-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(2,83,159,0.15);
  border-top-color: var(--ep-accent);
}

.service-icon {
  font-size: 3.5rem;
  color: var(--ep-primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.service-card:hover .service-icon {
  color: var(--ep-accent);
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  color: var(--ep-dark);
  margin-bottom: 1rem;
  font-size: 1.375rem;
}

.service-card p {
  color: var(--ep-secondary);
  margin-bottom: 0;
}

/* ==========================================================================
   About/Trust Section
   ========================================================================== */
.about-section {
  padding: var(--ep-section-padding);
  background-color: var(--ep-white);
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--ep-primary);
  color: var(--ep-white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(2,83,159,0.3);
  text-align: center;
  min-width: 120px;
}

.about-image-badge .badge-content strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.about-image-badge .badge-content span {
  font-size: 0.875rem;
  opacity: 0.95;
  display: block;
}

.about-section h2 {
  color: var(--ep-primary);
  margin-bottom: 1rem;
}

.about-section .lead {
  color: var(--ep-secondary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-section ul.list-unstyled {
  margin-top: 1.5rem;
}

.about-section ul.list-unstyled li {
  font-size: 1.05rem;
  line-height: 1.8;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.trust-badge {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--ep-light);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.trust-badge:hover {
  background: var(--ep-white);
  border-color: var(--ep-primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.trust-badge-icon {
  font-size: 3.5rem;
  color: var(--ep-primary);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.trust-badge:hover .trust-badge-icon {
  color: var(--ep-accent);
  transform: scale(1.15);
}

.trust-badge h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.trust-badge p {
  color: var(--ep-secondary);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: var(--ep-section-padding);
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-section h2 {
  color: var(--ep-white);
  margin-bottom: 0.5rem;
}

.contact-section .lead {
  opacity: 0.95;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  height: 100%;
  min-height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
}

.contact-info-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--ep-white);
  flex-shrink: 0;
}

.contact-details h4 {
  color: var(--ep-white);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--ep-white);
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--ep-dark);
  color: rgba(255,255,255,0.8);
  padding: 2rem 0 1rem;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

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

.footer-content a:hover {
  color: var(--ep-accent);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .services-section,
  .about-section,
  .contact-section {
    padding: var(--ep-section-padding-mobile);
  }

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

  .hero-cta .btn {
    width: 100%;
  }

  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-image-badge {
    bottom: 15px;
    right: 15px;
    padding: 1rem;
    min-width: 100px;
  }

  .about-image-badge .badge-content strong {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 100px 0 80px;
    background-position: center;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1.125rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .service-icon {
    font-size: 3rem;
  }

  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-info-item {
    margin-bottom: 2rem;
  }

  .btn-lg {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 80px 0 60px;
  }

  .hero-section h1 {
    font-size: 1.75rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .section-title h2::after {
    width: 60px;
    height: 3px;
  }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-primary-color {
  color: var(--ep-primary) !important;
}

.bg-primary-color {
  background-color: var(--ep-primary) !important;
}

.text-secondary-color {
  color: var(--ep-secondary) !important;
}

.bg-secondary-color {
  background-color: var(--ep-secondary) !important;
}
/* ==========================================================================
   Service Detail Pages
   ========================================================================== */
.service-hero {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 80px 0 60px;
  margin-bottom: 3rem;
}

.service-hero h1 {
  color: var(--ep-white);
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.service-hero .lead {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 0;
}

.service-cta .btn {
  margin: 0 0.5rem;
}

.service-content {
  background: var(--ep-white);
}

.service-details h2 {
  color: var(--ep-primary);
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.service-details h3 {
  color: var(--ep-dark);
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-details ul {
  list-style: none;
  padding-left: 0;
}

.service-details ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.service-details ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--ep-primary);
}

.sidebar-card {
  background: var(--ep-light);
  border-radius: 12px;
  padding: 2rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.sidebar-card:hover {
  border-color: var(--ep-primary);
  box-shadow: 0 8px 20px rgba(2,83,159,0.1);
}

.sidebar-card h3 {
  color: var(--ep-primary);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-card .contact-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-card .contact-item:last-child {
  margin-bottom: 0;
}

.contact-card .contact-item i {
  font-size: 1.5rem;
  color: var(--ep-primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-card .contact-item strong {
  display: block;
  color: var(--ep-dark);
  margin-bottom: 0.25rem;
}

.contact-card .contact-item p,
.contact-card .contact-item a {
  margin: 0;
  color: var(--ep-secondary);
  font-size: 0.95rem;
}

.contact-card .contact-item a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card .contact-item a:hover {
  color: var(--ep-primary);
}

.benefits-list,
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li,
.services-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.benefits-list li:last-child,
.services-list li:last-child {
  border-bottom: none;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefits-list i {
  color: var(--ep-primary);
  font-size: 1.125rem;
}

.services-list a {
  text-decoration: none;
  color: var(--ep-dark);
  transition: color 0.3s ease;
  display: block;
}

.services-list a:hover {
  color: var(--ep-primary);
  padding-left: 0.5rem;
}

.service-cta-section {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 60px 0;
  text-align: center;
}

.service-cta-section h2 {
  color: var(--ep-white);
  margin-bottom: 1rem;
}

.service-cta-section .lead {
  opacity: 0.95;
  margin-bottom: 2rem;
}

/* Service Grid on Homepage */
.service-grid-card {
  background: var(--ep-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(2,83,159,0.15);
}

.service-grid-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-grid-card:hover .service-grid-image img {
  transform: scale(1.1);
}

.service-grid-icon {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: var(--ep-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 2;
}

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

.service-grid-content {
  padding: 2rem;
  padding-top: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-grid-content h3 {
  color: var(--ep-dark);
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.service-grid-content p {
  color: var(--ep-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.service-grid-content .btn {
  align-self: flex-start;
}

.btn-outline-primary {
  border: 2px solid var(--ep-primary);
  color: var(--ep-primary);
  background-color: transparent;
  border-radius: 50px;
}

.btn-outline-primary:hover {
  background-color: var(--ep-primary);
  color: var(--ep-white);
  transform: translateY(-2px);
}
.service-hero .btn-outline-primary,
.vehicle-hero .btn-outline-primary {
  border: 2px solid var(--ep-white);
  color: var(--ep-white);
}
.service-hero .btn-outline-primary:hover,
.vehicle-hero .btn-outline-primary:hover {
  background-color: var(--ep-white);
  color: var(--ep-primary);
}
@media (max-width: 767.98px) {
  .service-hero h1 {
    font-size: 2rem;
  }

  .service-cta .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }

  .service-grid-image {
    height: 180px;
  }
}

/* ==========================================================================
   Services Landing Page
   ========================================================================== */
.services-landing-hero {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 100px 0 80px;
  margin-bottom: 4rem;
  text-align: center;
}

.services-landing-hero h1 {
  color: var(--ep-white);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.services-landing-hero .lead {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.98;
}

.services-landing-hero p {
  font-size: 1.125rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid-section {
  padding: 0 0 80px;
  background-color: var(--ep-light);
}

/* Why Choose Us Section */
.services-why-choose {
  padding: 80px 0;
  background-color: var(--ep-white);
}

.services-why-choose h2 {
  color: var(--ep-primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.services-why-choose .lead {
  color: var(--ep-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.features-list {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--ep-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(2,83,159,0.2);
}

.feature-icon i {
  font-size: 1.75rem;
  color: var(--ep-white);
}

.feature-content h4 {
  color: var(--ep-dark);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--ep-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

.services-image-wrapper img {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Testimonials Section */
.services-testimonials {
  padding: 80px 0;
  background-color: var(--ep-light);
}

.testimonial-card {
  background: var(--ep-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.testimonial-stars {
  color: #ffc107;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.testimonial-stars i {
  margin-right: 0.25rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--ep-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.testimonial-author {
  color: var(--ep-secondary);
  font-weight: 600;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Services CTA Section */
.services-cta-section {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 80px 0;
  text-align: center;
}

.services-cta-section h2 {
  color: var(--ep-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.services-cta-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.services-cta-section p {
  opacity: 0.95;
}

@media (max-width: 991.98px) {
  .services-landing-hero h1 {
    font-size: 2.5rem;
  }

  .services-landing-hero .lead {
    font-size: 1.25rem;
  }

  .services-why-choose h2 {
    font-size: 2rem;
  }

  .feature-item {
    gap: 1rem;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
  }

  .feature-icon i {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .services-landing-hero {
    padding: 80px 0 60px;
  }

  .services-landing-hero h1 {
    font-size: 2rem;
  }

  .services-landing-hero .lead {
    font-size: 1.125rem;
  }

  .services-cta-section h2 {
    font-size: 2rem;
  }

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

  .cta-buttons .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Enhanced Navigation Styling
   ========================================================================== */
#main-nav.navbar {
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 700;
  color: var(--ep-primary);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: var(--ep-accent);
}

/* Main Navigation Links */
.navbar-nav {
  gap: 0.5rem;
}

.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .nav-link {
  color: var(--ep-dark) !important;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.25rem !important;
  transition: all 0.3s ease;
  border-radius: 4px;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 2.5rem);
  height: 2px;
  background: var(--ep-primary);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--ep-primary) !important;
  background-color: rgba(2, 83, 159, 0.05);
}

.navbar-nav .nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Active/Current Page Link */
.navbar-nav .nav-item.current-menu-item .nav-link,
.navbar-nav .nav-item.current_page_item .nav-link,
.navbar-nav .nav-link.active {
  color: var(--ep-primary) !important;
  background-color: rgba(2, 83, 159, 0.08);
}

.navbar-nav .nav-item.current-menu-item .nav-link::after,
.navbar-nav .nav-item.current_page_item .nav-link::after,
.navbar-nav .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Dropdown Menu Styling */
.navbar-nav .dropdown-menu {
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  background: var(--ep-white);
  border-top: 3px solid var(--ep-primary);
}

.navbar-nav .dropdown-item {
  color: var(--ep-dark);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0;
}

.navbar-nav .dropdown-item:hover {
  background-color: rgba(2, 83, 159, 0.08);
  color: var(--ep-primary);
  padding-left: 1.75rem;
}

.navbar-nav .dropdown-item.active {
  background-color: rgba(2, 83, 159, 0.1);
  color: var(--ep-primary);
}

/* Mobile Menu Toggle Button */
.navbar-toggler {
  border: 2px solid var(--ep-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background-color: var(--ep-primary);
}

.navbar-toggler:hover .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(2, 83, 159, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Sticky Header Effect (optional) */
.site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Header Phone Number Styling */
.header-contact .header-phone {
  background: var(--ep-primary);
  color: var(--ep-white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(2, 83, 159, 0.3);
}

.header-contact .header-phone:hover {
  background: var(--ep-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 83, 159, 0.4);
  color: var(--ep-white) !important;
}

.header-contact .header-phone i {
  font-size: 1rem;
}

/* Mobile Menu Styling */
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--ep-light);
    border-radius: 8px;
  }

  .navbar-nav {
    gap: 0;
  }

  .navbar-nav .nav-link {
    padding: 1rem 1.5rem !important;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .navbar-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: none;
    border: none;
    border-top: none;
    margin-top: 0;
    border-radius: 0;
  }

  .navbar-nav .dropdown-item {
    padding: 0.75rem 2rem;
  }

  .header-contact {
    margin-top: 1rem;
    text-align: center;
  }

  .header-contact .header-phone {
    width: 100%;
    justify-content: center;
  }
}

/* Extra refinements for larger screens */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    align-items: center;
  }

  /* Add some breathing room around the nav */
  .navbar>.container {
    position: relative;
  }
}

/* Animation for menu items on page load */
@media (min-width: 992px) {
  .navbar-nav .nav-item {
    animation: fadeInDown 0.5s ease-out backwards;
  }

  .navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
  .navbar-nav .nav-item:nth-child(2) { animation-delay: 0.15s; }
  .navbar-nav .nav-item:nth-child(3) { animation-delay: 0.2s; }
  .navbar-nav .nav-item:nth-child(4) { animation-delay: 0.25s; }
  .navbar-nav .nav-item:nth-child(5) { animation-delay: 0.3s; }
  .navbar-nav .nav-item:nth-child(6) { animation-delay: 0.35s; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   About Us Page
   ========================================================================== */
.about-hero {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 100px 0 80px;
  margin-bottom: 4rem;
  text-align: center;
}

.about-hero h1 {
  color: var(--ep-white);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-hero .lead {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.98;
}

.about-hero p {
  font-size: 1.125rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.our-story-section {
  padding: 80px 0;
  background-color: var(--ep-white);
}

.our-story-section h2 {
  color: var(--ep-primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.our-story-section .lead {
  color: var(--ep-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.our-story-section p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.mission-values-section {
  padding: 80px 0;
  background-color: var(--ep-light);
}

.mission-values-section h2 {
  color: var(--ep-primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.mission-values-section .lead {
  color: var(--ep-secondary);
  font-size: 1.125rem;
}

.value-card {
  background: var(--ep-white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 4px solid var(--ep-primary);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(2,83,159,0.15);
}

.value-icon {
  font-size: 3.5rem;
  color: var(--ep-primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.value-card:hover .value-icon {
  color: var(--ep-accent);
  transform: scale(1.1);
}

.value-card h3 {
  color: var(--ep-dark);
  margin-bottom: 1rem;
  font-size: 1.375rem;
}

.value-card p {
  color: var(--ep-secondary);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.why-choose-section {
  padding: 80px 0;
  background-color: var(--ep-white);
}

.why-choose-section h2 {
  color: var(--ep-primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-choose-section .lead {
  color: var(--ep-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.about-services-section {
  padding: 80px 0;
  background-color: var(--ep-light);
}

.about-services-section h2 {
  color: var(--ep-primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-services-section .lead {
  color: var(--ep-secondary);
  font-size: 1.125rem;
}

@media (max-width: 991.98px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero .lead {
    font-size: 1.25rem;
  }

  .our-story-section h2,
  .mission-values-section h2,
  .why-choose-section h2,
  .about-services-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .about-hero {
    padding: 80px 0 60px;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero .lead {
    font-size: 1.125rem;
  }

  .our-story-section,
  .mission-values-section,
  .why-choose-section,
  .about-services-section {
    padding: 60px 0;
  }
}

/* ==========================================================================
   Contact Us Page
   ========================================================================== */
.contact-hero {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 100px 0 80px;
  margin-bottom: 4rem;
  text-align: center;
}

.contact-hero h1 {
  color: var(--ep-white);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-hero .lead {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.98;
}

.contact-hero p {
  font-size: 1.125rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-section {
  padding: 0 0 80px;
  background-color: var(--ep-white);
}

.contact-info-card {
  background: var(--ep-light);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-info-card h2 {
  color: var(--ep-primary);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info-card > p {
  color: var(--ep-secondary);
  margin-bottom: 2rem;
}

.contact-info-card .contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.contact-info-card .contact-info-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-card .contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--ep-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ep-white);
  font-size: 1.25rem;
}

.contact-info-card .contact-details h4 {
  color: var(--ep-dark);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact-info-card .contact-details p {
  color: var(--ep-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.contact-info-card .contact-details a {
  color: var(--ep-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info-card .contact-details a:hover {
  color: var(--ep-accent);
}

.btn-link {
  color: var(--ep-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-link:hover {
  color: var(--ep-accent);
  transform: translateX(5px);
}

.contact-social-links {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.contact-social-links h4 {
  color: var(--ep-dark);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-social-links .social-icons {
  display: flex;
  gap: 0.75rem;
}

.contact-social-links .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--ep-primary);
  color: var(--ep-white) !important;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.contact-social-links .social-icons a:hover {
  background-color: var(--ep-accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(2, 83, 159, 0.3);
}

.contact-form-card {
  background: var(--ep-white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 2px solid var(--ep-light);
}

.contact-form-card h2 {
  color: var(--ep-primary);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-form-card > p {
  color: var(--ep-secondary);
  margin-bottom: 2rem;
}

/* Contact Form 7 Styling */
.contact-form-card .wpcf7-form {
  margin-top: 1.5rem;
}

.contact-form-card .wpcf7-form p {
  margin-bottom: 1.5rem;
}

.contact-form-card .wpcf7-form label {
  display: block;
  color: var(--ep-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-form-card .wpcf7-form input[type="text"],
.contact-form-card .wpcf7-form input[type="email"],
.contact-form-card .wpcf7-form input[type="tel"],
.contact-form-card .wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--ep-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-form-card .wpcf7-form input[type="text"]:focus,
.contact-form-card .wpcf7-form input[type="email"]:focus,
.contact-form-card .wpcf7-form input[type="tel"]:focus,
.contact-form-card .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--ep-primary);
  box-shadow: 0 0 0 3px rgba(2, 83, 159, 0.1);
}

.contact-form-card .wpcf7-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-card .wpcf7-form input[type="submit"] {
  background: var(--ep-primary);
  color: var(--ep-white);
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form-card .wpcf7-form input[type="submit"]:hover {
  background: var(--ep-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 83, 159, 0.3);
}

.contact-form-card .wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.contact-form-card .wpcf7-response-output {
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.5rem;
}

.contact-form-card .wpcf7-validation-errors {
  border-color: #ffc107;
  background-color: #fff3cd;
  color: #856404;
}

.contact-form-card .wpcf7-mail-sent-ok {
  border-color: #28a745;
  background-color: #d4edda;
  color: #155724;
}

.contact-form-card .alert {
  padding: 1.5rem;
  border-radius: 8px;
  background-color: #e7f3ff;
  border: 2px solid var(--ep-primary);
  color: var(--ep-dark);
}

.contact-form-card .alert strong {
  color: var(--ep-primary);
}

.contact-form-card .alert a {
  color: var(--ep-primary);
  font-weight: 600;
}

.contact-map-section {
  padding: 80px 0;
  background-color: var(--ep-light);
}

.contact-map-section h2 {
  color: var(--ep-primary);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.contact-cta-section {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 80px 0;
  text-align: center;
}

.contact-cta-section h2 {
  color: var(--ep-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-cta-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.contact-cta-section p {
  opacity: 0.95;
  margin-top: 2rem;
}

@media (max-width: 991.98px) {
  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .contact-hero .lead {
    font-size: 1.25rem;
  }

  .contact-map-section h2,
  .contact-cta-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .contact-hero {
    padding: 80px 0 60px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-hero .lead {
    font-size: 1.125rem;
  }

  .contact-form-section,
  .contact-map-section,
  .contact-cta-section {
    padding: 60px 0;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   Navigation Override - Higher Specificity
   ========================================================================== */
/* Remove default link underlines */
#main-nav .navbar-nav .nav-link,
#main-nav .navbar-nav a.nav-link,
.navbar .navbar-nav .nav-link {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Ensure hover state removes underline */
#main-nav .navbar-nav .nav-link:hover,
#main-nav .navbar-nav a.nav-link:hover,
#main-nav .navbar-nav .nav-link:focus,
#main-nav .navbar-nav a.nav-link:focus {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Force our custom styles */
.navbar-expand-lg .navbar-nav .nav-link {
  color: var(--ep-dark) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 4px !important;
  background-color: transparent !important;
}

/* Hover state with higher specificity */
.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-link:focus {
  color: var(--ep-primary) !important;
  background-color: rgba(2, 83, 159, 0.05) !important;
  text-decoration: none !important;
}

/* Active/current page */
.navbar-expand-lg .navbar-nav .nav-item.current-menu-item .nav-link,
.navbar-expand-lg .navbar-nav .nav-item.current_page_item .nav-link,
.navbar-expand-lg .navbar-nav .current-menu-item > a,
.navbar-expand-lg .navbar-nav .current_page_item > a {
  color: var(--ep-primary) !important;
  background-color: rgba(2, 83, 159, 0.08) !important;
}

/* ==========================================================================
   Vehicles Landing Page
   ========================================================================== */
.vehicles-landing-hero {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 100px 0 80px;
  margin-bottom: 4rem;
  text-align: center;
}

.vehicles-landing-hero h1 {
  color: var(--ep-white);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.vehicles-landing-hero .lead {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.98;
}

.vehicles-landing-hero p {
  font-size: 1.125rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.vehicles-section {
  padding: 0 0 80px;
  background-color: var(--ep-light);
}

/* Vehicle Grid Card */
.vehicle-grid-card {
  background: var(--ep-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vehicle-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(2,83,159,0.15);
}

.vehicle-grid-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.vehicle-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vehicle-grid-card:hover .vehicle-grid-image img {
  transform: scale(1.1);
}

.vehicle-grid-icon {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: var(--ep-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 2;
}

.vehicle-grid-icon i {
  font-size: 1.75rem;
  color: var(--ep-white);
}

.vehicle-grid-content {
  padding: 2rem;
  padding-top: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.vehicle-grid-content h3 {
  color: var(--ep-dark);
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.vehicle-grid-content p {
  color: var(--ep-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.vehicle-grid-content .btn {
  align-self: flex-start;
}

/* Why Choose Us Section for Vehicles */
.vehicles-why-choose {
  padding: 80px 0;
  background-color: var(--ep-white);
}

.vehicles-why-choose h2 {
  color: var(--ep-primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.vehicles-why-choose .lead {
  color: var(--ep-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.vehicles-image-wrapper {
  position: relative;
}

.vehicles-image-wrapper img {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Vehicle Services Section */
.vehicles-services-section {
  padding: 80px 0;
  background-color: var(--ep-light);
}

.service-icon-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--ep-white);
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.service-icon-card:hover {
  border-color: var(--ep-primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(2,83,159,0.15);
}

.service-icon-card i {
  font-size: 2.5rem;
  color: var(--ep-primary);
  margin-bottom: 1rem;
}

.service-icon-card h4 {
  font-size: 1.125rem;
  color: var(--ep-dark);
  margin-bottom: 0;
}

/* Vehicles CTA Section */
.vehicles-cta-section {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 80px 0;
  text-align: center;
}

.vehicles-cta-section h2 {
  color: var(--ep-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.vehicles-cta-section .lead {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

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

/* ==========================================================================
   Individual Vehicle Page
   ========================================================================== */
.vehicle-hero {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 100px 0 80px;
  text-align: center;
}

.vehicle-hero h1 {
  color: var(--ep-white);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.vehicle-hero .lead {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.vehicle-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.vehicle-content {
  padding: 80px 0;
  background-color: var(--ep-white);
}

.vehicle-details h2 {
  color: var(--ep-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
}

.vehicle-details h2:first-child {
  margin-top: 0;
}

.vehicle-details h3 {
  color: var(--ep-dark);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.vehicle-details ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.vehicle-details ul li {
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.vehicle-details ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--ep-primary);
}

/* Vehicle Sidebar */
.vehicle-sidebar {
  position: sticky;
  top: 100px;
}

.vehicle-sidebar .sidebar-card {
  background: var(--ep-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-top: 4px solid var(--ep-primary);
}

.vehicle-sidebar .sidebar-card h3 {
  color: var(--ep-dark);
  font-size: 1.375rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ep-light);
}

.vehicle-sidebar .contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.vehicle-sidebar .contact-item i {
  font-size: 1.5rem;
  color: var(--ep-primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.vehicle-sidebar .contact-item strong {
  display: block;
  color: var(--ep-dark);
  margin-bottom: 0.25rem;
}

.vehicle-sidebar .contact-item a {
  color: var(--ep-primary);
  font-weight: 600;
  text-decoration: none;
}

.vehicle-sidebar .contact-item a:hover {
  color: var(--ep-accent);
}

.vehicle-sidebar .contact-item p {
  margin: 0;
  color: var(--ep-secondary);
  font-size: 0.95rem;
}

.vehicle-sidebar .benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vehicle-sidebar .benefits-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ep-light);
  color: var(--ep-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vehicle-sidebar .benefits-list li:last-child {
  border-bottom: none;
}

.vehicle-sidebar .benefits-list i {
  color: var(--ep-primary);
  font-size: 1.125rem;
}

.vehicle-sidebar .brands-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vehicle-sidebar .brands-list li {
  border-bottom: 1px solid var(--ep-light);
}

.vehicle-sidebar .brands-list li:last-child {
  border-bottom: none;
}

.vehicle-sidebar .brands-list a {
  display: block;
  padding: 0.75rem 0;
  color: var(--ep-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.vehicle-sidebar .brands-list a:hover {
  color: var(--ep-primary);
  padding-left: 0.5rem;
}

/* Vehicle Services Section */
.vehicle-services-section {
  padding: 80px 0;
  background-color: var(--ep-light);
}

.service-icon-box {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--ep-white);
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.service-icon-box:hover {
  border-color: var(--ep-primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(2,83,159,0.15);
}

.service-icon-box i {
  font-size: 2.5rem;
  color: var(--ep-primary);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.service-icon-box:hover i {
  color: var(--ep-accent);
  transform: scale(1.1);
}

.service-icon-box h4 {
  font-size: 1.125rem;
  color: var(--ep-dark);
  margin-bottom: 0.5rem;
}

.service-icon-box p {
  font-size: 0.9rem;
  color: var(--ep-secondary);
  margin: 0;
}

/* Vehicle CTA Section */
.vehicle-cta-section {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 80px 0;
  text-align: center;
}

.vehicle-cta-section h2 {
  color: var(--ep-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.vehicle-cta-section .lead {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

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

/* Responsive Styles for Vehicles */
@media (max-width: 991.98px) {
  .vehicle-sidebar {
    position: static;
    margin-top: 3rem;
  }
}

@media (max-width: 767.98px) {
  .vehicles-landing-hero h1,
  .vehicle-hero h1 {
    font-size: 2rem;
  }

  .vehicles-landing-hero .lead,
  .vehicle-hero .lead {
    font-size: 1.125rem;
  }

  .vehicles-landing-hero {
    padding: 60px 0 50px;
  }

  .vehicle-hero {
    padding: 60px 0 50px;
  }

  .vehicle-cta,
  .vehicles-cta-section .cta-buttons,
  .vehicle-cta-section .cta-buttons {
    flex-direction: column;
  }

  .vehicle-cta .btn,
  .vehicles-cta-section .btn,
  .vehicle-cta-section .btn {
    width: 100%;
  }

  .vehicles-why-choose h2,
  .vehicle-services-section h2 {
    font-size: 1.75rem;
  }

  .vehicle-grid-image {
    height: 180px;
  }
}

/* ==========================================================================
   Blog Section (Homepage)
   ========================================================================== */
.blog-section {
  padding: 80px 0;
  background-color: var(--ep-white);
}

/* Blog Card */
.blog-card {
  background: var(--ep-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(2,83,159,0.15);
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
}

.blog-card-category span {
  display: inline-block;
  background: var(--ep-primary);
  color: var(--ep-white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.blog-card-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.blog-card-meta span {
  color: var(--ep-secondary);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card-meta i {
  color: var(--ep-primary);
}

.blog-card-title {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-card-title a {
  color: var(--ep-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: var(--ep-primary);
}

.blog-card-excerpt {
  color: var(--ep-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.blog-read-more {
  color: var(--ep-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.blog-read-more:hover {
  color: var(--ep-accent);
  gap: 0.75rem;
}

.blog-read-more i {
  transition: transform 0.3s ease;
}

.blog-read-more:hover i {
  transform: translateX(5px);
}

/* No Posts Message */
.no-posts-message {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--ep-light);
  border-radius: 12px;
}

.no-posts-message i {
  font-size: 3rem;
  color: var(--ep-secondary);
  margin-bottom: 1rem;
  display: block;
}

.no-posts-message h3 {
  color: var(--ep-dark);
  margin-bottom: 1rem;
}

.no-posts-message p {
  color: var(--ep-secondary);
  font-size: 1.125rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Blog Landing Page
   ========================================================================== */
.blog-landing-hero {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 100px 0 80px;
  margin-bottom: 4rem;
  text-align: center;
}

.blog-landing-hero h1 {
  color: var(--ep-white);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.blog-landing-hero .lead {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.98;
}

.blog-landing-hero p {
  font-size: 1.125rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.blog-posts-section {
  padding: 0 0 80px;
  background-color: var(--ep-light);
}

/* Blog Pagination */
.blog-pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.blog-pagination nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-pagination .page-numbers li {
  margin: 0;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0.5rem 1rem;
  background: var(--ep-white);
  color: var(--ep-dark);
  border: 2px solid var(--ep-light);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-pagination .page-numbers a:hover {
  background: var(--ep-primary);
  color: var(--ep-white);
  border-color: var(--ep-primary);
  transform: translateY(-2px);
}

.blog-pagination .page-numbers .current {
  background: var(--ep-primary);
  color: var(--ep-white);
  border-color: var(--ep-primary);
}

.blog-pagination .page-numbers .dots {
  border: none;
  background: transparent;
  color: var(--ep-secondary);
}

/* Blog Categories Section */
.blog-categories-section {
  padding: 80px 0;
  background-color: var(--ep-white);
}

.category-card {
  display: block;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--ep-light);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  height: 100%;
  border: 2px solid transparent;
}

.category-card:hover {
  border-color: var(--ep-primary);
  background: var(--ep-white);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(2,83,159,0.15);
}

.category-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: var(--ep-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  background: var(--ep-accent);
  transform: rotate(5deg) scale(1.1);
}

.category-icon i {
  font-size: 2rem;
  color: var(--ep-white);
}

.category-card h4 {
  color: var(--ep-dark);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.category-card p {
  color: var(--ep-secondary);
  margin: 0;
  font-size: 0.95rem;
}

/* Blog CTA Section */
.blog-cta-section {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 80px 0;
  text-align: center;
}

.blog-cta-section h2 {
  color: var(--ep-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.blog-cta-section .lead {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

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

/* Responsive Styles for Blog */
@media (max-width: 767.98px) {
  .blog-landing-hero h1 {
    font-size: 2rem;
  }

  .blog-landing-hero .lead {
    font-size: 1.125rem;
  }

  .blog-landing-hero {
    padding: 60px 0 50px;
  }

  .blog-card-image {
    height: 180px;
  }

  .blog-card-title {
    font-size: 1.25rem;
  }

  .blog-card-meta {
    gap: 1rem;
  }

  .blog-cta-section .cta-buttons {
    flex-direction: column;
  }

  .blog-cta-section .btn {
    width: 100%;
  }

  .blog-pagination .page-numbers a,
  .blog-pagination .page-numbers span {
    min-width: 40px;
    height: 40px;
    padding: 0.5rem;
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   Single Blog Post Page
   ========================================================================== */
.single-post-page {
  background-color: var(--ep-white);
}

/* Post Hero */
.post-hero {
  padding: 60px 0 30px;
  background-color: var(--ep-light);
}

.post-category-badge {
  margin-bottom: 1.5rem;
}

.post-category-badge a {
  display: inline-block;
  background: var(--ep-primary);
  color: var(--ep-white);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-category-badge a:hover {
  background: var(--ep-accent);
  transform: translateY(-2px);
}

.post-title {
  font-size: 2.5rem;
  color: var(--ep-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.post-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--ep-secondary);
  font-size: 0.95rem;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-meta i {
  color: var(--ep-primary);
}

/* Featured Image */
.post-featured-image {
  padding: 3rem 0;
  background-color: var(--ep-light);
}

.post-featured-image img {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Post Content */
.post-content-section {
  padding: 60px 0;
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ep-dark);
}

.post-content h2 {
  color: var(--ep-primary);
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--ep-light);
}

.post-content h2:first-child {
  margin-top: 0;
}

.post-content h3 {
  color: var(--ep-dark);
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.post-content strong {
  color: var(--ep-dark);
  font-weight: 600;
}

.post-content a {
  color: var(--ep-primary);
  text-decoration: underline;
}

.post-content a:hover {
  color: var(--ep-accent);
}

/* Post Tags */
.post-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--ep-light);
}

.post-tags h4 {
  color: var(--ep-dark);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-tags i {
  color: var(--ep-primary);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--ep-light);
  color: var(--ep-dark);
  border-radius: 50px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.tag-badge:hover {
  background: var(--ep-primary);
  color: var(--ep-white);
  border-color: var(--ep-primary);
}

/* Share Buttons */
.post-share {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--ep-light);
  border-radius: 12px;
}

.post-share h4 {
  color: var(--ep-dark);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--ep-white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.125rem;
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share-btn.facebook {
  background: #1877f2;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.linkedin {
  background: #0a66c2;
}

.share-btn.email {
  background: var(--ep-secondary);
}

/* Author Bio */
.post-author-bio {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--ep-light);
  border-radius: 12px;
  display: flex;
  gap: 2rem;
  align-items: start;
}

.author-avatar img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

.author-info h4 {
  color: var(--ep-dark);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.author-info p {
  color: var(--ep-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Post Navigation */
.post-navigation {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--ep-light);
}

.nav-post {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--ep-light);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.nav-post:hover {
  background: var(--ep-white);
  border-color: var(--ep-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(2,83,159,0.15);
}

.nav-label {
  font-size: 0.875rem;
  color: var(--ep-secondary);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-title {
  color: var(--ep-dark);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
}

.next-post {
  text-align: right;
}

/* Related Posts */
.related-posts-section {
  padding: 80px 0;
  background-color: var(--ep-light);
}

.related-posts-section .section-title {
  color: var(--ep-dark);
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

/* Post CTA Section */
.post-cta-section {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 80px 0;
  text-align: center;
}

.post-cta-section h2 {
  color: var(--ep-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.post-cta-section .lead {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

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

/* Responsive Styles for Single Post */
@media (max-width: 991.98px) {
  .post-author-bio {
    flex-direction: column;
    text-align: center;
  }

  .author-avatar img {
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .post-title {
    font-size: 1.75rem;
  }

  .post-meta {
    gap: 1rem;
  }

  .post-content {
    font-size: 1rem;
  }

  .post-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .post-content h3 {
    font-size: 1.25rem;
  }

  .post-author-bio {
    padding: 1.5rem;
  }

  .nav-post {
    padding: 1rem;
  }

  .nav-title {
    font-size: 1rem;
  }

  .post-cta-section .cta-buttons {
    flex-direction: column;
  }

  .post-cta-section .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Book Appointment Page
   ========================================================================== */

/* Appointment Hero Section */
.appointment-hero {
  background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-accent) 100%);
  color: var(--ep-white);
  padding: 80px 0 60px;
  text-align: center;
}

.appointment-hero h1 {
  color: var(--ep-white);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.appointment-hero .lead {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.appointment-hero p {
  font-size: 1.125rem;
  margin-bottom: 0;
  opacity: 0.9;
}

.appointment-hero .hero-phone-link {
  color: var(--ep-white);
  font-weight: 600;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.appointment-hero .hero-phone-link:hover {
  opacity: 0.8;
}

/* Appointment Form Section */
.appointment-form-section {
  padding: 80px 0;
  background-color: var(--ep-light);
}

/* Appointment Info Card (Sidebar) */
.appointment-info-card {
  background: var(--ep-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  height: 100%;
}

.appointment-info-card h2 {
  font-size: 1.75rem;
  color: var(--ep-primary);
  margin-bottom: 1rem;
}

.appointment-info-card > p {
  color: var(--ep-secondary);
  margin-bottom: 2rem;
}

/* Appointment Features */
.appointment-features {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--ep-light);
}

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

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-icon {
  flex-shrink: 0;
}

.feature-icon i {
  color: var(--ep-white);
  font-size: 1.5rem;
}

.feature-text strong {
  display: block;
  color: var(--ep-dark);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature-text p {
  color: var(--ep-secondary);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Appointment Contact Info */
.appointment-contact-info {
  margin-top: 2rem;
}

.appointment-contact-info .contact-info-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.appointment-contact-info .contact-info-item:last-child {
  margin-bottom: 0;
}

.appointment-contact-info .contact-icon {
  background: var(--ep-primary);
  color: var(--ep-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.appointment-contact-info .contact-details h4 {
  font-size: 1rem;
  color: var(--ep-dark);
  margin-bottom: 0.25rem;
}

.appointment-contact-info .contact-details p {
  color: var(--ep-secondary);
  font-size: 0.875rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.appointment-contact-info .contact-details a {
  color: var(--ep-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

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

/* Appointment Form Card */
.appointment-form-card {
  background: var(--ep-white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.appointment-form-card h2 {
  font-size: 1.875rem;
  color: var(--ep-primary);
  margin-bottom: 0.75rem;
}

.appointment-form-card > p {
  color: var(--ep-secondary);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

/* Contact Form 7 Styling for Appointment Form */
.appointment-form-card .wpcf7 {
  margin: 0;
}

.appointment-form-card .wpcf7-form label {
  display: block;
  font-weight: 600;
  color: var(--ep-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.appointment-form-card .wpcf7-form input[type="text"],
.appointment-form-card .wpcf7-form input[type="email"],
.appointment-form-card .wpcf7-form input[type="tel"],
.appointment-form-card .wpcf7-form input[type="number"],
.appointment-form-card .wpcf7-form input[type="date"],
.appointment-form-card .wpcf7-form select,
.appointment-form-card .wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--ep-white);
}

.appointment-form-card .wpcf7-form input:focus,
.appointment-form-card .wpcf7-form select:focus,
.appointment-form-card .wpcf7-form textarea:focus {
  border-color: var(--ep-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 83, 159, 0.1);
}

.appointment-form-card .wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

.appointment-form-card .wpcf7-form .wpcf7-submit {
  background: var(--ep-primary);
  color: var(--ep-white);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(2, 83, 159, 0.3);
}

.appointment-form-card .wpcf7-form .wpcf7-submit:hover {
  background: var(--ep-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 83, 159, 0.4);
}

.appointment-form-card .wpcf7-form .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 1rem;
  border-radius: 8px;
}

.appointment-form-card .wpcf7-form .wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.appointment-form-card .wpcf7-form .wpcf7-validation-errors {
  border: 2px solid #dc3545;
  background-color: #f8d7da;
  color: #721c24;
}

.appointment-form-card .wpcf7-form .wpcf7-mail-sent-ok {
  border: 2px solid #28a745;
  background-color: #d4edda;
  color: #155724;
}

/* Appointment Form Fallback Alert */
.appointment-form-card .alert {
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 0;
}

.appointment-form-card .alert-warning {
  background-color: #fff3cd;
  border: 2px solid #ffc107;
  color: #856404;
}

.appointment-form-card .alert h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #856404;
}

.appointment-form-card .alert ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.appointment-form-card .alert hr {
  margin: 1.5rem 0;
  border-color: #ffc107;
  opacity: 0.3;
}

/* Appointment Additional Info */
.appointment-additional-info .info-box {
  background: var(--ep-light);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.appointment-additional-info .info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.appointment-additional-info .info-box i {
  font-size: 2rem;
  color: var(--ep-primary);
  margin-bottom: 1rem;
}

.appointment-additional-info .info-box h4 {
  font-size: 1.125rem;
  color: var(--ep-dark);
  margin-bottom: 0.5rem;
}

.appointment-additional-info .info-box p {
  color: var(--ep-secondary);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* Appointment Services Section */
.appointment-services-section {
  padding: 80px 0;
  background: var(--ep-white);
}

.appointment-services-section h2 {
  font-size: 2.25rem;
  color: var(--ep-dark);
  margin-bottom: 0.75rem;
}

.appointment-services-section .lead {
  color: var(--ep-secondary);
  margin-bottom: 3rem;
}

.appointment-services-section .service-box {
  background: var(--ep-light);
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.appointment-services-section .service-box:hover {
  background: var(--ep-primary);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(2, 83, 159, 0.2);
}

.appointment-services-section .service-box i {
  font-size: 2.5rem;
  color: var(--ep-primary);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.appointment-services-section .service-box:hover i {
  color: var(--ep-white);
}

.appointment-services-section .service-box h4 {
  font-size: 1rem;
  color: var(--ep-dark);
  margin-bottom: 0;
  font-weight: 600;
  transition: color 0.3s ease;
}

.appointment-services-section .service-box:hover h4 {
  color: var(--ep-white);
}

/* Responsive Styles for Appointment Page */
@media (max-width: 991.98px) {
  .appointment-hero {
    padding: 60px 0 40px;
  }

  .appointment-hero h1 {
    font-size: 2.25rem;
  }

  .appointment-hero .lead {
    font-size: 1.25rem;
  }

  .appointment-form-section {
    padding: 60px 0;
  }

  .appointment-services-section {
    padding: 60px 0;
  }

  .appointment-info-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .appointment-hero {
    padding: 50px 0 30px;
  }

  .appointment-hero h1 {
    font-size: 1.875rem;
  }

  .appointment-hero .lead {
    font-size: 1.125rem;
  }

  .appointment-hero p {
    font-size: 1rem;
  }

  .appointment-form-section {
    padding: 40px 0;
  }

  .appointment-form-card {
    padding: 1.5rem;
  }

  .appointment-info-card {
    padding: 1.5rem;
  }

  .appointment-services-section {
    padding: 40px 0;
  }

  .appointment-services-section h2 {
    font-size: 1.75rem;
  }

  .feature-item {
    margin-bottom: 1.25rem;
  }
}
