:root {
  --bg-black: #0a0a0a;
  --bg-dark-grey: #1a1a1a;
  --f1-red: #e10600;
  --f1-red-hover: #b30500;
  --text-white: #ffffff;
  --text-light-grey: #cccccc;

  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: #151515;
  /* Base dark color for the carbon fiber */
  /* Real Seamless Carbon Fiber Texture */
  background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
  background-repeat: repeat;
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-dark-grey);
  border: 1px solid var(--f1-red);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--f1-red);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin: 0 auto 3rem auto;
  position: relative;
  display: block;
  width: fit-content;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--f1-red);
  transform: skewX(-45deg);
}

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

.racing-stripe {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--f1-red) 20%, var(--f1-red) 80%, transparent);
  box-shadow: 0 0 10px rgba(225, 6, 0, 0.4);
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 0;
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
  z-index: -1;
  transform: skewX(-20deg);
}

.btn:hover::before {
  left: 0;
}

.btn-primary {
  background-color: var(--f1-red);
  color: var(--text-white);
  border: 1px solid var(--f1-red);
}

.btn-primary:hover {
  background-color: var(--f1-red-hover);
  box-shadow: 0 0 15px rgba(225, 6, 0, 0.5);
}

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

.btn-outline:hover {
  background: var(--text-white);
  color: var(--bg-black);
}

.explore-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-light-grey);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.explore-link i {
  margin-left: 10px;
  color: var(--f1-red);
  transition: transform 0.3s ease;
}

.explore-link:hover {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.explore-link:hover i {
  transform: translateX(8px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  padding: 1rem 0;
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  transform: translateY(5px);
}

.footer-logo-container {
  margin-bottom: 1rem;
}

.nav-logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(225, 6, 0, 0.4));
  transition: var(--transition-normal);
}

.nav-logo-img:hover {
  filter: drop-shadow(0 0 10px rgba(225, 6, 0, 0.8));
}

.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 5px rgba(225, 6, 0, 0.4));
}

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

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--f1-red);
  transition: var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-white);
  transition: var(--transition-normal);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--bg-black);
  /* Fallback */
  background-image: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.4) 100%), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-light-grey);
  animation: fadeUp 1s ease 0.3s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  animation: fadeUp 1s ease 0.6s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  color: var(--text-white);
  font-size: 2rem;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background-color: var(--bg-dark-grey);
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><rect width="4" height="4" fill="transparent"/><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--f1-red);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(225, 6, 0, 0.3);
}

.stat-text {
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--text-light-grey);
}

/* Services Section */
.services {
  padding: 6rem 0;
  background-color: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--f1-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #3a3a3a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(225, 6, 0, 0.15);
}

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

.service-icon {
  width: 65px;
  height: 65px;
  background: rgba(225, 6, 0, 0.1);
  color: var(--f1-red);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--f1-red);
  color: var(--text-white);
  transform: scale(1.05);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--text-white);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.service-desc {
  color: var(--text-light-grey);
  line-height: 1.6;
  font-size: 0.95rem;
}

font-size: 0.9rem;
margin-bottom: 1.5rem;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--f1-red);
  margin-top: auto;
}

/* Why Us Section */
.why-us {
  padding: 6rem 0;
  background-color: var(--bg-dark-grey);
  position: relative;
}

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

.why-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #2a2a2a;
}

.why-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.8), transparent);
  pointer-events: none;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.why-card {
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  padding: 1.8rem;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: #3a3a3a;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(225, 6, 0, 0.1);
}

.why-icon {
  width: 50px;
  height: 50px;
  background: rgba(225, 6, 0, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  color: var(--f1-red);
  transition: all 0.3s ease;
}

.why-card:hover .why-icon {
  background: var(--f1-red);
  color: var(--text-white);
  transform: scale(1.05);
}

.why-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-white);
  font-weight: 600;
}

.why-desc {
  color: var(--text-light-grey);
  font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
  padding: 6rem 0;
  background-color: var(--bg-black);
}

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

.testimonial-card {
  background-color: var(--bg-dark-grey);
  padding: 2rem;
  border-radius: 5px;
  border-left: 4px solid var(--f1-red);
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: 0 5px 15px rgba(225, 6, 0, 0.2);
}

.stars {
  color: #ffc107;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-light-grey);
}

.reviewer-name {
  font-weight: bold;
  text-transform: uppercase;
}

.reviewer-car {
  font-size: 0.8rem;
  color: var(--f1-red);
  text-transform: uppercase;
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background-color: var(--bg-dark-grey);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-black);
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid #333;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  transition: var(--transition-normal);
}

.faq-question:hover {
  color: var(--f1-red);
}

.faq-question i {
  transition: var(--transition-normal);
}

.faq-item.active .faq-question {
  border-bottom: 1px solid #333;
  color: var(--f1-red);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: #111;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 300px;
}

/* Contact/Location */
.contact {
  padding: 6rem 0;
  background-color: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--f1-red);
}

.contact-details {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-details i {
  color: var(--f1-red);
  font-size: 1.2rem;
  margin-top: 4px;
}

.contact-details a {
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-details a:hover {
  color: var(--f1-red);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.hours-table th,
.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
  text-align: left;
}

.hours-table th {
  color: var(--text-light-grey);
}

.map-container {
  width: 100%;
  height: 400px;
  background-color: var(--bg-dark-grey);
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background-color: rgba(5, 5, 5, 0.7);
  padding: 4rem 0 2rem;
}

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

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--f1-red);
}

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

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  color: var(--text-light-grey);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--f1-red);
  padding-left: 5px;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background-color: var(--bg-dark-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition-normal);
}

.social-links a:hover {
  background-color: var(--f1-red);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #222;
  color: var(--text-light-grey);
  font-size: 0.9rem;
}

.seo-text {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #666;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: var(--transition-normal);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-20px) translateX(-50%);
  }

  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Subpage Header */
.subpage-header {
  padding: 120px 0 60px;
  background-color: transparent;
  text-align: center;
  border-bottom: 1px solid var(--bg-dark-grey);
}

.subpage-header h1 {
  font-size: 4rem;
  color: var(--f1-red);
  margin-bottom: 1rem;
}

.subpage-header p {
  color: var(--text-light-grey);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Gallery Section */
.gallery {
  padding: 4rem 0;
  background-color: transparent;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(225, 6, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: white;
  font-size: 2rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--f1-red);
}

/* Media Queries */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 4rem;
  }

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

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

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

  .why-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

  .nav-links {
    position: absolute;
    top: 100%;
    right: -100%;
    left: auto;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-black);
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 15vh;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    display: block;
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active .bar2 {
    opacity: 0;
  }

  .hamburger.active .bar3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

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

  .btn {
    text-align: center;
  }

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

  .why-image {
    min-height: 250px;
  }

  .subpage-header h1 {
    font-size: 2.5rem;
  }

  .subpage-header {
    padding: 100px 0 40px;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .map-container {
    height: 250px;
  }

  /* Reduce section padding on mobile */
  .services,
  .why-us,
  .testimonials,
  .faq,
  .contact,
  .gallery,
  .stats {
    padding: 3rem 0;
  }

  .footer {
    padding: 2rem 0 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

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

  .service-card {
    padding: 1.5rem 1rem;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .service-desc {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-title::after {
    width: 50%;
    left: 25%;
    /* centers the 50% width line */
  }

  .why-card {
    padding: 1.2rem 0.8rem;
  }

  .why-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

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

  .why-desc {
    font-size: 0.8rem;
  }

  .testimonial-card {
    padding: 1.2rem;
  }

  .review-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .stars {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

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

  .footer-col:first-child {
    grid-column: 1 / -1;
  }
}