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

html {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #333;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  padding-top: 90px;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sticky Header */
.site-header {
  width: 100%;
  background: #0385ff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo img {
  height: 50px;
  width: auto;
  border-radius: 3px;
}

.header-phone {
  display: none;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  font-weight: 600;
}

.site-nav a:hover {
  color: #000;
}

/* Header Booking Buttons */
.header-booking-btns {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.header-booking-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #00a8ff, #007bff);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 3px 12px 3px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.header-booking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.header-booking-btn:active {
  transform: translateY(0);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* WhatsApp Floating Icon */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(
      135deg,
      rgba(0, 138, 210, 0.6),
      rgba(0, 0, 0, 0.8)
    ),
    url("../images/acton-car-care.webp") center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-content .header-booking-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-content .header-booking-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #00a8ff, #007bff);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 3px 12px 3px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.hero-content .header-booking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.hero-content .header-booking-btn:active {
  transform: translateY(0);
}

.hero-booking-form {
  margin-top: 40px;
  padding: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-booking-form h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
  color: #fff;
}

.hero-booking-form > p {
  font-size: 1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-reg-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  width: 100%;
}

.hero-booking-form .header-booking-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  width: 100%;
  margin-top: 15px;
}

.hero-reg-form input {
  width: 100%;
  max-width: 400px;
  padding: 15px 20px;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.hero-reg-form input:focus {
  outline: none;
  border-color: #fff;
  background: #fff;
}

.hero-reg-form input::placeholder {
  text-transform: none;
  font-weight: 400;
  color: #999;
}

.hero-reg-form button {
  width: 100%;
  max-width: 400px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #00a8ff, #007bff);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
  background: #007bff;
  color: #fff;
}

.btn-secondary:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

/* About Section */
.about {
  background: #fff;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.about-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
}

/* Services Section */
.services {
  background: #f8f9fa;
}

.services h2 {
  text-align: center;
  margin-bottom: 50px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
  width: 273px;
  height: 177px;
  margin-bottom: 20px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.service-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

.service-card ul {
  text-align: left;
  margin: 15px 0;
  padding-left: 0;
  list-style: none;
  max-width: 100%;
}

.service-card ul li {
  font-size: 0.9rem;
  color: #555 !important;
  line-height: 1.6;
  margin-bottom: 5px;
  padding-left: 20px;
  position: relative;
}

.service-card ul li:before {
  content: "✓";
  color: #007bff;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

/* Booking Section */
.booking {
  background: #fff;
}

.booking h2 {
  text-align: center;
  margin-bottom: 20px;
}

.booking > .container > p {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.reg-display {
  text-align: center;
  margin-bottom: 30px;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 5px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.reg-display-hidden {
  display: none;
}

.reg-display p {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

.reg-display strong {
  color: #007bff;
}

.reg-display span {
  font-weight: 600;
  color: #333;
  letter-spacing: 2px;
}

.booking-widget {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.booking-widget iframe {
  width: 100%;
  min-height: 650px;
  border: none;
}

/* Booking Calendars Section */
.booking-calendars {
  background: #f8f9fa;
}

.booking-calendars h2 {
  text-align: center;
  margin-bottom: 40px;
}

.calendar-wrapper {
  flex: 1;
  min-width: 300px;
  margin-bottom: 30px;
}

.calendar-wrapper-group {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.calendar-toggle-btn {
  width: 100%;
  padding: 18px 25px;
  background: linear-gradient(135deg, #00a8ff, #007bff);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.calendar-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.calendar-toggle-btn:active {
  transform: translateY(0);
}

.calendar-toggle-btn .btn-text {
  flex: 1;
  text-align: left;
}

.calendar-toggle-btn .btn-icon {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.calendar-toggle-btn[aria-expanded="true"] .btn-icon {
  transform: rotate(180deg);
}

.collapsible-calendar {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #fff;
  animation: slideDown 0.3s ease;
  width: 100%;
}

.collapsible-calendar iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 1000px;
  }
}

@media (max-width: 768px) {
  .calendar-wrapper-group {
    flex-direction: column;
    gap: 15px;
  }

  .calendar-wrapper {
    width: 100%;
    min-width: 100%;
    margin-bottom: 0;
  }

  .calendar-toggle-btn {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .collapsible-calendar {
    width: 100%;
    margin-top: 15px;
  }

  .collapsible-calendar iframe {
    height: 500px;
    width: 100%;
  }
}

/* Testimonials Section */
.testimonials {
  overflow: hidden;
  background: #f8f9fa;
}

/* Force mobile styles early in CSS for maximum priority */
@media screen and (max-width: 768px) {
  #testimonialSlider {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 0 !important;
    overflow: visible !important;
    width: 100% !important;
    transform: none !important;
    -webkit-transform: none !important;
    height: auto !important;
  }
  
  #testimonialPrev,
  #testimonialNext {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 20px;
}

.testimonials-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.testimonial-slider-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}

.testimonial-slider {
  display: flex;
  overflow: hidden;
  gap: 30px;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  user-select: none;
  /* Ensure all testimonials are in the flow for proper sliding */
  min-width: fit-content;
  will-change: transform;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 123, 255, 0.9);
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-nav-btn:hover {
  background: rgba(0, 123, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

@media (max-width: 768px) {
  .slider-nav-btn {
    display: none !important;
  }
}

.testimonial {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 300px;
  max-width: 350px;
  background: #fff;
  padding: 25px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial .testimonial-header {
  flex-shrink: 0;
}

.testimonial h4 {
  flex-shrink: 0;
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.testimonial img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-stars {
  color: #ffc107;
  font-size: 1rem;
  display: flex;
  align-items: center;
  letter-spacing: 1px;
  line-height: 1;
  margin-top: 2px;
}

.testimonial p.review-text {
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1 1 0;
  overflow: hidden;
  min-height: 70px;
  max-height: 140px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  word-break: break-word;
}

.testimonial h4 {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
  margin-bottom: 0;
  margin-top: auto;
  flex-shrink: 0;
  text-align: right;
  padding-top: 10px;
}

.review-date {
  display: block;
  font-size: 0.85rem;
  color: #999;
  margin-top: 5px;
}

.testimonials-footer {
  text-align: center;
  margin-top: 40px;
}

/* Contact Section */
.contact {
  background: #fff;
}

.contact h2 {
  text-align: center;
  margin-bottom: 50px;
}

.contact-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
}

.contact-info strong {
  color: #333;
  font-weight: 600;
}

.map {
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #007bff;
}

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

.contact-form button {
  align-self: flex-start;
  padding: 12px 30px;
}

/* Honeypot field - hidden from users */
.website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Form Messages */
.form-message {
  max-width: 700px;
  margin: 0 auto 30px;
  padding: 15px 20px;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
}

.form-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer */
.site-footer {
  background: #2c3e50;
  color: #fff;
  padding: 50px 0 30px;
}

.site-footer .container {
  text-align: center;
}

.footer-nav ul {
  list-style: none;
  display: inline-flex;
  gap: 25px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: #ecf0f1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #00a8ff;
}

.footer-social {
  margin-bottom: 25px;
}

.footer-social a {
  display: inline-block;
  margin: 0 12px;
  color: #ecf0f1;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #00a8ff;
}

.footer-contact {
  margin: 25px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact p {
  color: #ecf0f1;
  font-size: 0.95rem;
  margin: 8px 0;
  line-height: 1.6;
}

.footer-contact strong {
  color: #fff;
  font-weight: 600;
}

.footer-contact a {
  color: #00a8ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer p {
  color: #95a5a6;
  font-size: 0.9rem;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .site-header .container {
    padding: 15px 0;
    justify-content: space-between;
    position: relative;
  }

  .logo img {
    height: 34px; /* 15% smaller than 40px */
  }

  .header-phone {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0385ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .site-nav.active {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .site-nav a {
    color: #fff;
    display: block;
    padding: 10px;
  }

  .site-nav a:hover {
    color: #000;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 10px;
  }

  .header-booking-btns {
    width: 100%;
    gap: 10px;
  }

  .header-booking-btn {
    width: 100%;
    max-width: 200px;
    padding: 10px 16px;
  }

  .hero-content .header-booking-btns {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero-content .header-booking-btn {
    width: 100%;
    max-width: 250px;
    padding: 12px 20px;
    font-size: 1.1rem;
  }

  .hero {
    height: auto;
    min-height: 400px;
    padding: 60px 0 40px;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-booking-form {
    margin-top: 20px;
    padding: 20px;
  }

  .hero-booking-form {
    margin-top: 30px;
    padding: 20px;
  }

  .hero-booking-form h3 {
    font-size: 1.5rem;
  }

  .hero-booking-form > p {
    font-size: 0.95rem;
  }

  .hero-reg-form input {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .section {
    padding: 60px 0;
  }

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

  .about-content {
    flex-direction: column;
  }

  .about-image {
    order: 1;
  }

  .about-text {
    order: 2;
  }

  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    max-width: 100%;
  }

  .service-card ul {
    padding-left: 0;
    margin: 15px 0;
    max-width: 100%;
  }

  .service-card ul li {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 5px;
    padding-left: 20px;
    color: #666 !important;
  }

  .testimonials {
    padding: 30px 0;
  }

  .testimonials h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .testimonials-subtitle {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }

  .testimonial-slider-wrapper {
    padding: 0 5px;
    margin: 0 0 15px 0;
    position: relative;
    overflow: visible;
  }

  .slider-nav-btn {
    display: none !important;
  }

  #testimonialSlider {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    padding: 0;
    overflow: visible !important;
    width: 100% !important;
    transform: none !important;
    height: auto !important;
    -webkit-transform: none !important;
    -webkit-flex-direction: column !important;
  }
  
  .testimonial-slider-wrapper .testimonial-slider {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    padding: 0;
    overflow: visible !important;
    width: 100% !important;
    transform: none !important;
    height: auto !important;
    -webkit-transform: none !important;
    -webkit-flex-direction: column !important;
  }

  .testimonial {
    flex: none;
    min-width: 0;
    max-width: 100%;
    padding: 12px 10px;
    margin: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 130px;
  }

  .testimonial:nth-child(n+4) {
    display: none;
  }

  .testimonial-header {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .testimonial img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .review-stars {
    font-size: 0.7rem;
    margin-top: 2px;
    line-height: 1;
  }

  .testimonial p.review-text {
    font-size: 0.7rem;
    line-height: 1.3;
    margin-bottom: 6px;
    color: #555;
    font-style: italic;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    max-height: 3.9em;
    text-overflow: ellipsis;
  }

  .testimonial h4 {
    font-size: 0.65rem;
    margin-top: auto;
    margin-bottom: 0;
    text-align: right;
    color: #333;
    font-weight: 600;
  }

  .testimonials-footer {
    margin-top: 20px;
  }

  .testimonials-footer .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .contact-wrap {
    flex-direction: column;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float img {
    width: 30px;
    height: 30px;
  }
}

/* Additional mobile-specific rules for iOS Safari */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
  #testimonialSlider {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    padding: 0;
    overflow: visible !important;
    width: 100% !important;
    transform: none !important;
    -webkit-transform: none !important;
    height: auto !important;
  }
  
  #testimonialPrev,
  #testimonialNext {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
  #testimonialSlider {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    padding: 0;
    overflow: visible !important;
    width: 100% !important;
    transform: none !important;
    -webkit-transform: none !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

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

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

  .btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .service-card img {
    max-width: 100%;
  }
}
