/* --- Stunning Animations & Color Play --- */
/* Entrance animation classes removed to keep content always visible */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 0.7s ease-out;
}

.fade-in-scale {
  animation: fadeInScale 0.7s ease-out;
}

/* --- Stunning Animations & Color Play --- */
.services {
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #f59e0b 100%);
}

.service-card {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 24px rgba(37,99,235,0.08), 0 1.5px 8px rgba(16,185,129,0.10);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s cubic-bezier(.23, 1.01, .32, 1) forwards;
  opacity: 0;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.18);
  border-color: #f59e0b;
  background: linear-gradient(120deg, #f0f9ff 60%, #3b82f6 100%);
  opacity: 1;
}

.service-title {
  color: #f59e0b;
}

.service-features li {
  color: #10b981;
}

.service-features li::before {
  color: #3b82f6;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animate service cards on load */
/* Entrance animation classes removed to keep content always visible */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animate service cards on load */
.services-grid .service-card {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(.23, 1.01, .32, 1) forwards;
}

.services-grid .service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
  animation-delay: 0.4s;
}

.services-grid .service-card:nth-child(4) {
  animation-delay: 0.6s;
}

.services-grid .service-card:nth-child(5) {
  animation-delay: 0.8s;
}

.services-grid .service-card:nth-child(6) {
  animation-delay: 1s;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Color Variables */
:root {
  --primary: #3b82f6;
  --secondary: #10b981;
  --professional-navy: #1e293b;
  --clean-white: #ffffff;
  --light-blue: #f0f9ff;
  --warm-orange: #f59e0b;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--clean-white) 50%, var(--light-blue) 100%);
  padding: 4rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Hero Section Slideshow */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-cta .btn {
  margin: 0.5rem;
}

/* Figma-inspired Hero Image Styles */
.figma-hero-image {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 8px 40px 0 rgba(31, 38, 135, 0.18), 0 1.5px 8px 0 rgba(16, 185, 129, 0.10);
  border: 2.5px solid rgba(37, 99, 235, 0.12);
  background: #f8fafc;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.figma-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 2.5rem;
  filter: brightness(1.08) saturate(1.18) contrast(1.12) drop-shadow(0 0 24px rgba(37, 99, 235, 0.10)) drop-shadow(0 0 48px rgba(16, 185, 129, 0.08));
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.10), 0 8px 32px 0 rgba(37, 99, 235, 0.10);
  transition: filter 0.3s, box-shadow 0.3s;
}
.figma-img:hover {
  filter: brightness(1.13) saturate(1.22) contrast(1.18) drop-shadow(0 0 32px #f59e0b88) drop-shadow(0 0 64px #10b98155);
  box-shadow: 0 0 0 3px #f59e0b55, 0 16px 48px 0 rgba(37, 99, 235, 0.13);
}

.figma-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.18) 0%, rgba(16, 185, 129, 0.13) 60%, rgba(245, 158, 11, 0.10) 100%);
  pointer-events: none;
  z-index: 2;
}

.figma-hero-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.82);
  padding: 1.2rem 2.2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  max-width: 90vw;
}

.figma-gradient-text {
  background: linear-gradient(90deg, #2563eb, #10b981, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  display: inline-block;
  width: 80vw;
  max-width: 1100px;
  min-width: 320px;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: figmaHeroIn 1.2s cubic-bezier(.6, -0.01, 0, .99) 0.2s forwards;
  transition: box-shadow 0.3s, transform 0.3s;
}

.figma-hero-image:hover {
  box-shadow: 0 16px 56px 0 rgba(37, 99, 235, 0.18), 0 4px 24px 0 rgba(16, 185, 129, 0.13);
  transform: translateY(-4px) scale(1.015);
}

@keyframes figmaHeroIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }

  80% {
    opacity: 1;
    transform: translateY(-6px) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.figma-hero-overlay-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.5rem 0;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  min-width: 320px;
  max-width: 540px;
  margin: 0 auto;
}

.hero-description {
  font-size: 1.25rem;
}

@keyframes overlayFadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -60%) scale(0.98);
  }

  80% {
    opacity: 1;
    transform: translate(-50%, -52%) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.figma-gradient-overlay {
  opacity: 0.95;
  transition: opacity 0.3s;
}

.figma-hero-image:hover .figma-gradient-overlay {
  opacity: 1;
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--professional-navy);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center; /* Center the buttons */
  margin-top: 1.5rem;
}

.hero-cta .btn {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.hero-cta .btn-primary {
  background-color: #2563eb; /* Blue background */
  color: #ffffff; /* White text */
  border: none;
}

.hero-cta .btn-primary:hover {
  background-color: #1e40af; /* Darker blue on hover */
}

.hero-cta .btn-outline {
  background-color: transparent;
  color: #2563eb; /* Blue color */
  border: 2px solid #2563eb;
}

.hero-cta .btn-outline:hover {
  background-color: #2563eb;
  color: #ffffff;
}

/* Payment Section */
.payment-section {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  margin: 40px auto;
  padding: 40px 20px;
  max-width: 500px;
  text-align: center;
}

.payment-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.payment-section p {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.payment-section .btn-primary {
  background: linear-gradient(90deg, #00c853, #009688);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.payment-section .btn-primary:hover {
  background: linear-gradient(90deg, #009688, #00c853);
}

/* Mpesa Modal */
#mpesaModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0, 0, 0, 0.4);
}

#mpesaModal .modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 32px 24px;
  border-radius: 16px;
  max-width: 400px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  text-align: center;
}

#mpesaModal .btn-success {
  background: linear-gradient(90deg, #00c853, #009688);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.2s;
}

#mpesaModal .btn-success:hover {
  background: linear-gradient(90deg, #009688, #00c853);
}

#mpesaModal .close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}

#mpesaModal .modal-note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: #009688;
}

.services-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  backdrop-filter: blur(8px);
  border-top: 4px solid var(--primary);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 40px -10px rgba(59, 130, 246, 0.15);
  border-color: var(--primary);
}

.service-card.popular {
  border-color: var(--warm-orange);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--warm-orange);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  z-index: 10;
}

.service-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.service-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
  letter-spacing: 0.5px;
}

.service-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--secondary);
}

.service-features li::before {
  content: "✔";
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.5rem;
  border-radius: 50%;
  display: inline-block;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.service-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.services-cta {
  text-align: center;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--clean-white) 100%);
}

.benefits-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

.benefit-card {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  width: 4rem;
  height: 4rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.benefit-title {
  font-size: 1.25rem;
  color: var(--professional-navy);
  margin-bottom: 1rem;
}

.benefit-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  background-color: var(--clean-white);
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial-card {
  background-color: var(--clean-white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.quote-icon {
  font-size: 2rem;
  color: rgba(59, 130, 246, 0.2);
}

.testimonial-text {
  color: var(--muted-foreground);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.author-name {
  font-weight: 600;
  color: var(--professional-navy);
}

.author-location {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.service-badge {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  border: 1px solid var(--secondary);
}

.overall-rating {
  background-color: var(--light-blue);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.rating-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rating-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--professional-navy);
}

.rating-text {
  font-size: 1.125rem;
  color: var(--professional-navy);
}

.highlight {
  font-weight: 600;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Contact CTA Section */
.contact-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(59, 130, 246, 0.9) 100%);
  color: white;
}

.cta-content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-cards {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-detail {
  opacity: 0.9;
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .cta-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* Footer */
.footer {
  background-color: var(--professional-navy);
  color: var(--clean-white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 4rem;
  width: auto;
  display: block;
  margin: 0 auto; /* Centers the logo */
  filter: brightness(0) invert(1); /* Ensures visibility on dark backgrounds */
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.1); /* Adds a subtle hover effect */
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.contact-info-list {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: white;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* General Responsive Adjustments */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem; /* Smaller font size for mobile */
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .nav-links {
    flex-direction: column; /* Stack navigation links on mobile */
    gap: 1rem;
  }

  .nav-cta {
    flex-direction: column; /* Stack Call Now and Get Quote buttons */
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr; /* Single column for services on mobile */
  }

  .testimonials-grid {
    grid-template-columns: 1fr; /* Single column for testimonials on mobile */
  }

  .gallery-grid {
    grid-template-columns: 1fr; /* Single column for gallery images on mobile */
  }

  .footer-content {
    grid-template-columns: 1fr; /* Stack footer content on mobile */
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* Two columns for services on tablets */
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr); /* Two columns for testimonials on tablets */
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* Two columns for gallery images on tablets */
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr); /* Two columns for footer content on tablets */
  }
}

/* Optimized image styles for faster loading */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.service-image img,
.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1.2rem;
  background: #f8fafc;
}

/* Gallery Section */
.gallery {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.gallery .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
  gap: 1.5rem; /* Space between images */
}

.gallery-item {
  overflow: hidden;
  border-radius: 1rem; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.gallery-item:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure images fill the container */
  display: block;
}

/* Hero Section Typography */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff; /* White text */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.hero-title .text-primary {
  color: #2563eb; /* Blue color instead of green */
}

.hero-description {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: #f3f4f6;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-cta .btn {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.hero-cta .btn-primary {
  background-color: #2563eb; /* Blue background */
  color: #ffffff; /* White text */
  border: none;
}

.hero-cta .btn-primary:hover {
  background-color: #1e40af; /* Darker blue on hover */
}

.hero-cta .btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.hero-cta .btn-outline:hover {
  background-color: #ffffff;
  color: #10b981;
}

/* General Navigation Links (Home, About Us, Our Services, etc.) */
.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #2563eb; /* Blue color */
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
  background-color: #2563eb; /* Blue background on hover */
  border-radius: 0.5rem;
}

/* Hide mobile menu by default */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

/* Show mobile menu when active */
.mobile-menu.active {
  display: flex;
}

/* Consolidated navigation link styles */
.nav-link,
.mobile-nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover,
.mobile-nav-link:hover {
  color: #ffffff;
  background-color: #2563eb;
  border-radius: 0.5rem;
}

/* Booking Buttons */
#bookingModal1 button {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

#bookingModal1 button#bookWhatsapp {
  background-color: #25d366; /* WhatsApp green */
  color: #ffffff;
}

#bookingModal1 button#bookWhatsapp:hover {
  background-color: #1c9c5d;
}

#bookingModal1 button#bookInstagram {
  background-color: #e1306c; /* Instagram pink */
  color: #ffffff;
}

#bookingModal1 button#bookInstagram:hover {
  background-color: #c12a5c;
}

#bookingModal1 button#bookFacebook {
  background-color: #1877f3; /* Facebook blue */
  color: #ffffff;
}

#bookingModal1 button#bookFacebook:hover {
  background-color: #145dbf;
}

#bookingModal1 button#bookEmail {
  background-color: #2563eb; /* Blue color */
  color: #ffffff;
}

#bookingModal1 button#bookEmail:hover {
  background-color: #1e40af;
}

/* Logo Styling */
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align logo to the farthest left */
}

.logo-img {
  height: 2.5rem; /* Reduced logo size */
  width: auto; /* Maintain aspect ratio */
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 1.5rem; /* Add spacing between navigation links */
  margin-left: auto; /* Push navigation links to the right */
  align-items: center;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #2563eb; /* Blue color */
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 2px solid transparent; /* Default border for consistency */
  border-radius: 0.5rem;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
  background-color: #2563eb; /* Blue background on hover */
  border-color: #2563eb; /* Add border on hover */
}

/* Call Now and Get Quote Buttons */
.nav-cta .btn {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #2563eb; /* Blue color */
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 2px solid #2563eb; /* Blue border */
  border-radius: 0.5rem;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.nav-cta .btn:hover {
  color: #ffffff;
  background-color: #2563eb; /* Blue background on hover */
  border-color: #2563eb;
}

/* Navigation Container */
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Ensure proper spacing between logo and navigation links */
}

/* Center the Section Header */
.section-header {
  text-align: center; /* Center align the heading and description */
  margin-bottom: 2rem;
}

/* Blue Button Below the Heading */
.services-header-cta {
  margin-top: 1rem;
}

.services-header-cta .btn {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #2563eb; /* Blue background */
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.services-header-cta .btn:hover {
  background-color: #1e40af; /* Darker blue on hover */
}

/* General Blue Button Styling */
.btn-primary {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #2563eb; /* Blue background */
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #1e40af; /* Darker blue on hover */
}

/* Blue Button for "Book Now" in Service Section */
.service-footer .btn-outline {
  background-color: #2563eb; /* Blue background */
  color: #ffffff; /* White text */
  border: none; /* Remove border */
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.service-footer .btn-outline:hover {
  background-color: #1e40af; /* Darker blue on hover */
}

/* About Section Styling */
.about {
  padding: 4rem 0;
  background-color: #f9f9f9;
  font-family: 'Poppins', sans-serif; /* Modern font for the section */
}

.about .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.about-logo {
  width: 150px; /* Reduced logo size */
  height: auto;
  display: block;
  margin: 0 auto 2rem; /* Center the logo */
}

.about-title {
  font-family: 'Playfair Display', serif; /* Elegant font for titles */
  font-size: 1.8rem;
  color: #2563eb; /* Blue color for titles */
  margin-bottom: 1rem;
}

.about-description {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #4b5563; /* Neutral gray for text */
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about-values {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.about-values li {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #2563eb; /* Blue color for values */
  margin-bottom: 0.5rem;
}

/* Blue Button Styling */
.about-cta .btn {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #2563eb; /* Blue background */
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.about-cta .btn:hover {
  background-color: #1e40af; /* Darker blue on hover */
}