/* CSS Variables for Theme Colors */
:root {
  --primary-color: #1e3a8a; /* Royal Blue */
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --secondary-color: #ffffff;
  --accent-color: #f8fafc;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Header and Navigation */
.header {
  background: var(--secondary-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.active {
    background: var(--primary-dark);
  color: var(--secondary-color);
  transform: translateY(-2px);
}
.nav-link {
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 1px 1px 2px 1px black;
  border-radius: 4px;
  padding: 7px 23px;
  transform: translateY(1px);
  transition: all .3s ease-in;
}

.nav-link:hover {
  background: var(--primary-dark);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  position: relative;
  transition: all 0.3s ease;

}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
  right: 0;
}

.hamburger::after {
  top: 8px;
  right: 0;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

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

/* Hero Section */
.hero {
  color: var(--secondary-color);
  padding: 15rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../images/bg.png) center/cover;
  filter: brightness(30%);
  z-index: -1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--accent-color);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
  filter: brightness(150%);
  animation: fadeInUp 1s ease 0.4s both;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--secondary-color);
}

/* Car Cards */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.car-card {
  background: var(--secondary-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.car-image {
  width: 100%;
  height: 200px;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.1rem;
  overflow: hidden;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.car-card:hover .car-image img {
  transform: scale(1.05);
}

.car-content {
  padding: 1.5rem;
}

.car-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.car-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.car-type {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.car-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  display: flex;
  gap: 0.2rem;
}

.star {
  color: #fbbf24;
  font-size: 1rem;
}

.star.empty {
  color: var(--border-color);
}

/* Filters and Search */
.filters-section {
  background: var(--accent-color);
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border-color);
  background: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.search-box {
  display: flex;
  gap: 0.5rem;
}

.search-input {
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  min-width: 250px;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

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

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

.form-error {
  color: var(--error-color);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  pointer-events: none;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Fallback for browsers that don't support backdrop-filter */
  background: rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 0 1rem;
}

.testimonial-item {
  text-align: center;
  padding: 2rem;
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  /* Fallback for browsers that don't support backdrop-filter */
  background: rgba(0, 0, 0, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.testimonial-item.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.testimonials .section-title {
  position: relative;
  z-index: 2;
}

.testimonials .section-title h2 {
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.testimonials .section-title p {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
  color: var(--text-dark);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 3;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  /* Fallback for browsers that don't support backdrop-filter */
  background: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.slider-dot.active {
  background: rgba(30, 58, 138, 0.8);
  border: 1px solid rgba(30, 58, 138, 0.9);
  box-shadow: 0 0 15px rgba(30, 58, 138, 0.4);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--secondary-color);
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
  color: var(--text-light);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 15px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Fallback for browsers that don't support backdrop-filter */
    background: rgba(255, 255, 255, 0.95) !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 3rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
  }

  .nav-menu.active {
    left: 0;
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    margin: 0.1rem 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .nav-menu.active li {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
  .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
  .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }

  .nav-link {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    min-width: 180px;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
  }

  .nav-toggle {
    display: block;
  }

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

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

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

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

  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input {
    min-width: auto;
  }

  .car-specs {
    grid-template-columns: 1fr;
  }

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

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .nav-link {
    min-width: auto;
    padding: 0.8rem 1.5rem;
  }

  .section {
    padding: 2rem 0;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
  }

  .btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Prevent horizontal overflow */
  body {
    overflow-x: hidden;
  }
  
  /* Fix footer width issues */
  .footer-bottom div[style*="min-width: 250px"] {
    min-width: auto !important;
    flex: none !important;
  }
  
  /* Fix contact cards on mobile */
  .contact-card {
    padding: 1.5rem !important;
  }
  
  /* Fix social cards */
   .social-card {
     padding: 1.5rem !important;
   }
   
   /* Fix grid layouts on mobile */
   div[style*="minmax(300px"] {
     grid-template-columns: 1fr !important;
     gap: 1rem !important;
   }
   
   div[style*="minmax(280px"] {
     grid-template-columns: 1fr !important;
     gap: 1rem !important;
   }
   
   div[style*="minmax(240px"] {
     grid-template-columns: 1fr !important;
     gap: 1rem !important;
   }
   
   /* Fix inline padding and margins */
   div[style*="padding: 2rem"] {
     padding: 1rem !important;
   }
   
   div[style*="gap: 3rem"] {
     gap: 1.5rem !important;
   }
   
   div[style*="gap: 2rem"] {
     gap: 1rem !important;
   }
   
   /* Ensure all elements fit within viewport */
   * {
     max-width: 100%;
     box-sizing: border-box;
   }
   
   /* Fix footer flex items */
   .footer-bottom div {
     flex-direction: column !important;
     text-align: center !important;
   }
 }

/* Blog Styles */
.blog-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.9rem;
}

.category-btn.active,
.category-btn:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--secondary-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: fit-content;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

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

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

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.blog-date {
  font-weight: 500;
}

.blog-read-time {
  background: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

.blog-title {
  margin-bottom: 1rem;
}

.blog-title a {
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  transition: var(--transition);
}

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

.blog-excerpt {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.read-more-btn {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.read-more-btn:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

.tag {
  background: var(--accent-color);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Newsletter Styles */
.cta-banner {
  background: #002449 !important;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content h2 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--text-light);
}

/* Breadcrumb Styles */
.breadcrumb {
  background: var(--accent-color);
  padding: 1rem 0;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb-list li {
  color: var(--text-light);
  font-size: 0.9rem;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--border-color);
}

.breadcrumb-list a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-list a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Blog Article Styles */
.blog-article {
  padding: 3rem 0;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.article-meta .category {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.article-excerpt {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Related Articles */
.related-articles {
  background: var(--accent-color);
  padding: 3rem 0;
}

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

.related-card {
  background: var(--secondary-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.related-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
  transform: scale(1.05);
}

.related-content {
  padding: 1.5rem;
}

.related-content h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.3;
}

.related-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
  .blogs-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-categories {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  
  .category-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .article-title {
    font-size: 2rem;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .blog-card {
    margin: 0 -0.5rem;
  }
  
  .blog-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .article-title {
    font-size: 1.8rem;
  }
  
  .cta-content h2 {
    font-size: 1.5rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.hidden { display: none; }
.visible { display: block; }

/* FontAwesome Fallback Icons */
.fa-phone::before, .fas.fa-phone::before { content: "📞"; }
.fa-whatsapp::before, .fab.fa-whatsapp::before { content: "💬"; }
.fa-calendar-check::before, .fas.fa-calendar-check::before { content: "📅"; }
.fa-car::before, .fas.fa-car::before { content: "🚗"; }
.fa-home::before, .fas.fa-home::before { content: "🏠"; }
.fa-blog::before, .fas.fa-blog::before { content: "📝"; }
.fa-info-circle::before, .fas.fa-info-circle::before { content: "ℹ️"; }
.fa-phone-alt::before, .fas.fa-phone-alt::before { content: "📞"; }
.fa-envelope::before, .fas.fa-envelope::before { content: "✉️"; }
.fa-map-marker-alt::before, .fas.fa-map-marker-alt::before { content: "📍"; }
.fa-clock::before, .fas.fa-clock::before { content: "🕐"; }
.fa-facebook::before, .fab.fa-facebook::before { content: "📘"; }
.fa-instagram::before, .fab.fa-instagram::before { content: "📷"; }
.fa-globe::before, .fas.fa-globe::before { content: "🌐"; }

/* Button Visibility Enforcement */
.btn {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 40px;
  min-width: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* Ensure hero buttons are always visible */
.hero-cta .btn {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0.5rem;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success Messages */
.success-message {
  background: var(--success-color);
  color: var(--secondary-color);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  text-align: center;
}

.error-message {
  background: var(--error-color);
  color: var(--secondary-color);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  text-align: center;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--secondary-color);
  padding: 3rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--accent-color);
  margin-bottom: 2rem;
}

/* Fixed Floating Buttons */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  fill: white;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive adjustments for floating buttons */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    left: 15px;
  }
  
  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }
  
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
  }
  
  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}