/* Variables */
:root {
  --bg-color: #121212;
  --bg-light: #1e1e1e;
  --primary: #ff7b00;
  --secondary: #ff3333;
  --cta: #00a8ff;
  --accent: #ffcc00;
  --text: #ffffff;
  --text-light: #cccccc;
  --text-dark: #333333;
  --border: #2a2a2a;
  --shadow: rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
  --bubble-color1: rgba(255, 123, 0, 0.6);
  --bubble-color2: rgba(0, 168, 255, 0.6);
  --bubble-color3: rgba(255, 204, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 350px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}


.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Buttons & CTAs */
.cta-primary {
  display: inline-block;
  background-color: var(--cta);
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.cta-primary:hover {
  background-color: #0186c8;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--shadow);
}

.cta-secondary {
  display: inline-block;
  background-color: transparent;
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: 2px solid var(--primary);
}

.cta-secondary:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--shadow);
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center; /* Center the buttons horizontally */
  flex-wrap: wrap; /* Allow wrapping on very small screens */
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(18, 18, 18, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: var(--transition);
}

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

.logo h1 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Logo styles - updated for round logo with border */
.logo-image {
  height: 50px;
  width: 50px; /* Make width equal to height for perfect circle */
  border-radius: 50%; /* Make the logo round */
  border: 3px solid var(--primary); /* Add border with primary color (orange) */
  object-fit: cover; /* Ensure the image fills the circle properly */
  transition: var(--transition);
  box-shadow: 0 3px 10px var(--shadow); /* Add subtle shadow for depth */
}

/* Footer logo image */
.footer-logo-image {
  height: 50px;
  width: 50px; /* Make width equal to height for perfect circle */
  border-radius: 50%; /* Make the logo round */
  border: 3px solid var(--primary); /* Add border with primary color (orange) */
  object-fit: cover; /* Ensure the image fills the circle properly */
  margin-bottom: 15px;
  box-shadow: 0 3px 10px var(--shadow); /* Add subtle shadow for depth */
}

/* Responsive adjustments for the logo */
@media (max-width: 768px) {
  .logo-image {
    height: 40px;
    width: 40px;
    border-width: 2px; /* Slightly thinner border on smaller screens */
  }

  .logo-text {
    font-size: 1.4rem;
  }

  .footer-logo-image {
    height: 40px;
    width: 40px;
    border-width: 2px;
  }
}

@media (max-width: 576px) {
  .logo-image {
    height: 45px; /* Slightly larger on very small screens since text is hidden */
    width: 45px;
  }
  .logo-text {
    transform: scale(0.8); /* Helps prevent wrapping at the top */
    white-space: nowrap;
    margin-left: -1rem;
  }

  .footer-logo-image {
    height: 40px;
    width: 40px;
  }
}

.logo span {
  color: var(--primary);
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}
@media (max-width: 375px) {
  .logo.logo-text {
    transform: scale(0.9);
  }

  
  .service-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    padding-bottom: 20px;
  }
}

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

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

.nav-cta {
  background-color: var(--cta);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
}

.nav-cta:hover {
  background-color: var(--accent);
  color: var(--text-dark);
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(25, 25, 25, 25), rgba(126, 114, 108, 0.266)), url("/background.webp") no-repeat center center;
  background-size: cover;
  background-color: #000; /* fallback background */
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: scroll;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px); /* This applies the slight blur */
  -webkit-backdrop-filter: blur(2px); /* Safari support */
  z-index: 1;
}

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


/* Bubbles Animation */
.bubbles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -100px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  opacity: 0;
  animation: rise 10s infinite ease-in;
}

.bubble:nth-child(1) {
  width: 60px;
  height: 60px;
  left: 10%;
  animation-duration: 8s;
  background-color: var(--bubble-color1);
}

.bubble:nth-child(2) {
  width: 40px;
  height: 40px;
  left: 20%;
  animation-duration: 5s;
  animation-delay: 1s;
  background-color: var(--bubble-color2);
}

.bubble:nth-child(3) {
  width: 70px;
  height: 70px;
  left: 35%;
  animation-duration: 7s;
  animation-delay: 2s;
  background-color: var(--bubble-color3);
}

.bubble:nth-child(4) {
  width: 100px;
  height: 100px;
  left: 50%;
  animation-duration: 11s;
  animation-delay: 0s;
  background-color: var(--bubble-color1);
}

.bubble:nth-child(5) {
  width: 35px;
  height: 35px;
  left: 55%;
  animation-duration: 6s;
  animation-delay: 1s;
  background-color: var(--bubble-color2);
}

.bubble:nth-child(6) {
  width: 45px;
  height: 45px;
  left: 65%;
  animation-duration: 8s;
  animation-delay: 3s;
  background-color: var(--bubble-color3);
}

.bubble:nth-child(7) {
  width: 25px;
  height: 25px;
  left: 75%;
  animation-duration: 7s;
  animation-delay: 2s;
  background-color: var(--bubble-color1);
}

.bubble:nth-child(8) {
  width: 80px;
  height: 80px;
  left: 80%;
  animation-duration: 12s;
  animation-delay: 2s;
  background-color: var(--bubble-color2);
}

.bubble:nth-child(9) {
  width: 15px;
  height: 15px;
  left: 70%;
  animation-duration: 5s;
  animation-delay: 1s;
  background-color: var(--bubble-color3);
}

.bubble:nth-child(10) {
  width: 50px;
  height: 50px;
  left: 85%;
  animation-duration: 9s;
  animation-delay: 4s;
  background-color: var(--bubble-color1);
}

.bubble:nth-child(11) {
  width: 40px;
  height: 40px;
  left: 5%;
  animation-duration: 10s;
  animation-delay: 3s;
  background-color: var(--bubble-color2);
}

.bubble:nth-child(12) {
  width: 30px;
  height: 30px;
  left: 15%;
  animation-duration: 7s;
  animation-delay: 5s;
  background-color: var(--bubble-color3);
}

.bubble:nth-child(13) {
  width: 25px;
  height: 25px;
  left: 30%;
  animation-duration: 6s;
  animation-delay: 2s;
  background-color: var(--bubble-color1);
}

.bubble:nth-child(14) {
  width: 60px;
  height: 60px;
  left: 40%;
  animation-duration: 10s;
  animation-delay: 4s;
  background-color: var(--bubble-color2);
}

.bubble:nth-child(15) {
  width: 45px;
  height: 45px;
  left: 60%;
  animation-duration: 8s;
  animation-delay: 3s;
  background-color: var(--bubble-color3);
}

.bubble:nth-child(16) {
  width: 35px;
  height: 35px;
  left: 25%;
  animation-duration: 7s;
  animation-delay: 1s;
  background-color: var(--bubble-color1);
}

.bubble:nth-child(17) {
  width: 55px;
  height: 55px;
  left: 45%;
  animation-duration: 9s;
  animation-delay: 2s;
  background-color: var(--bubble-color2);
}

.bubble:nth-child(18) {
  width: 28px;
  height: 28px;
  left: 90%;
  animation-duration: 6s;
  animation-delay: 3s;
  background-color: var(--bubble-color3);
}

.bubble:nth-child(19) {
  width: 70px;
  height: 70px;
  left: 95%;
  animation-duration: 11s;
  animation-delay: 4s;
  background-color: var(--bubble-color1);
}

.bubble:nth-child(20) {
  width: 22px;
  height: 22px;
  left: 3%;
  animation-duration: 5s;
  animation-delay: 2s;
  background-color: var(--bubble-color2);
}

@keyframes rise {
  0% {
    bottom: -100px;
    opacity: 0;
    transform: translateX(0);
  }
  20% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.9;
    transform: translateX(20px);
  }
  75% {
    opacity: 0.8;
    transform: translateX(-20px);
  }
  90% {
    opacity: 0.6;
  }
  100% {
    bottom: 100%;
    opacity: 0;
    transform: translateX(0);
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center; /* Ensure all content is centered */
  position: relative;
  z-index: 2; /* Place content above bubbles */
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 300px);
  justify-content: center;
  gap: 20px;
}


@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr; /* 1 card per row */
    justify-items: center; /* center the single column */
  }
}



/* Add these styles for the card flip effect */

/* Service Card Container */
.service-card-container {
  perspective: 1000px;
  height: 450px;
  width: 300px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.service-card-container.flipped .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 8px;
  padding: 30px;
  background-color: var(--bg-color);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

/* Front card layout with fixed heights */
.service-card-front {
  justify-content: space-between;
}

.service-card-front .service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-card-front h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  height: 50px; /* Fixed height for titles */
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.service-card-front p {
  color: var(--text-light);
  margin-bottom: 20px;
  height: 80px; /* Fixed height for descriptions */
  overflow: hidden;
}

.service-card-front .flip-card-btn {
  margin-top: auto; /* Push to bottom */
}

/* Back card layout */
.service-card-back h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  padding-top: 2rem;
  height: 30px; /* Fixed height for titles */
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 20px;
}

/* Before and After Images */
.before-after-container {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
  flex: 1;
}

.before-image,
.after-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48%;
}

.before-image img,
.after-image img {
  width: 100%;
  height: 10rem;
  border-radius: 4px;
  border: 2px solid var(--primary);
}

.before-image span,
.after-image span {
  margin-top: 8px;
  font-weight: bold;
  color: var(--text-light);
}

.before-image span {
  color: var(--text-light);
}

.after-image span {
  color: var(--primary);
}

/* Back Card Buttons */
.flip-back-btn {
  background: none;
  border: 1px solid var(--text-light);
  color: var(--text-light);
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: var(--transition);
  width: 100%;
  margin-top: auto; /* Push to bottom of flex container */
}

.flip-back-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Make the Learn More button look like a button */
.flip-card-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
  position: relative;
  padding: 0;
  font-size: 1rem;
}

.flip-card-btn::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.flip-card-btn:hover::after {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card-container {
    height: 380px; /* Increased from 320px to allow more space for text */
  }

  .service-card-front,
  .service-card-back {
    padding: 20px;
  }

  .service-card-front h3 {
    height: 40px;
  }

  .service-card-front p {
    height: 120px; /* Increased from 70px to allow more text to be visible */
    overflow: auto; /* Changed from hidden to auto to allow scrolling if needed */
  }
}

/* Add a more specific media query for the problematic range */
@media (min-width: 560px) and (max-width: 768px) {
  .service-card-container {
    height: 400px; /* Even taller for this specific range */
  }

  .service-card-front p {
    height: 140px; /* More space for text in this range */
  }
  .before-image , 
  .after-image {
    padding-top: 1rem;

  }
  .before-image img, 
  .after-image img {
    height: 8rem;
  }
  .before-after-container{
    align-items: center;
  }
  
}

@media (max-width: 559px) {
  .before-image img, 
  .after-image img {
    height: 10rem;
  }
}



.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

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

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  position: relative;
}

.service-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.service-link:hover::after {
  width: 100%;
}

/* About Section */
.about {
  padding: 100px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

.about-text p {
  margin-bottom: 30px;
  color: var(--text-light);
  font-size: 1.1rem;
}

.benefits-list {
  margin-bottom: 30px;
}

.benefits-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.benefits-list i {
  color: var(--primary);
  margin-right: 10px;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px var(--shadow);
  border: 3px solid var(--primary);
}

/* Testimonials Section - Updated */
.testimonials {
  padding: 100px 0;
  background-color: var(--bg-light);
}

/* Update the testimonials container to use flexbox */
.testimonials-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Update testimonial card styling */
.testimonial-card {
  background-color: var(--bg-color);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 5px 15px var(--shadow);
  flex: 1;
  min-width: 280px;
  max-width: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 300px; /* Fixed height for all testimonial cards */
}

/* Add hover effect to testimonial cards */
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

/* For mobile, only show the first testimonial */
@media (max-width: 991px) {
  .testimonial-card {
    display: none;
    max-width: 600px;
    width: 100%;
  }

  .testimonial-card.active {
    display: flex; /* Changed from block to flex */
    animation: fadeIn 0.5s ease;
  }
}

/* For desktop, show all testimonials */
@media (min-width: 992px) {
  .testimonial-card {
    display: flex; /* Changed from block to flex */
    max-width: 32%;
  }
}

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

.testimonial-rating {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-align: center;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-light);
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  flex: 1; 
  height: 120px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-author {
  text-align: center;
  margin-top: auto; /* Push to bottom */
  padding-top: 20px;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.testimonial-author p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--primary);
  height: auto; /* Reset height for author description */
  padding: 0;
  margin: 0;
}

/* Testimonials Section - Controls */
.testimonial-controls {
  display: none; /* Hide by default */
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.testimonial-control {
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.testimonial-control:hover {
  background-color: var(--accent);
  transform: scale(1.1);
}

.testimonial-control:disabled {
  background-color: var(--border);
  cursor: not-allowed;
  opacity: 0.5;
  transform: scale(1);
}

.testimonial-pagination {
  display: none; /* Hide by default */
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pagination-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--bg-color);
  border: 2px solid var(--primary);
  transition: var(--transition);
  cursor: pointer;
}

.pagination-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* Show controls only on mobile */
@media (max-width: 991px) {
  .testimonial-controls,
  .testimonial-pagination {
    display: flex;
  }
}

/* Gallery Section */
.gallery {
  padding: 100px 0;
}

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

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

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

.gallery-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.gallery-overlay p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background-color: var(--bg-light);
}

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

/* Add this to ensure consistent heights in the pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch; /* Ensures all cards stretch to the same height */
}

.pricing-card {
  background-color: var(--bg-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.featured {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 15px 30px var(--shadow);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary);
  color: white;
  padding: 8px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom-left-radius: 8px;
}

.pricing-header {
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-features {
  padding: 30px;
  flex: 1; /* This makes the features section take up available space */
}

.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.pricing-features i {
  color: var(--primary);
  margin-right: 10px;
}

.pricing-card .cta-primary {
  display: block;
  margin: 0 30px 30px;
  text-align: center;
}

/* Contact Section */
.contact {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background-color: var(--bg-color);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

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

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.contact-info-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  width: 100%;
}

.contact-info-full .social-links {
  grid-column: 1 / -1;
  margin-top: 20px;
}

.info-card {
  background-color: var(--bg-light);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.info-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-light);
}

.info-card a {
  color: var(--text-light);
}

.info-card a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  grid-column: 1 / -1;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("/placeholder.svg?height=600&width=1200");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

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

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--bg-light);
  padding: 80px 0 20px;
}

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

.footer-logo h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--primary);
  font-size: 1.4rem;
}

.footer-logo p {
  color: var(--text-light);
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-links a:hover,
.footer-services a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 15px;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.footer-contact i {
  color: var(--primary);
  margin-right: 10px;
  width: 20px;
}

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

.footer-bottom p {
  color: var(--text-light);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

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

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2.2rem;
  }

  .hero {
    height: auto;
    min-height: 80vh;
    padding: 120px 0 60px;
    background-size: cover;
    background-position: 33% top;
    background-repeat: no-repeat;
    background-color: #000; /* fallback fill if image doesn't cover full height */
  }
  .hero img{
    min-height: 10vh;
  }

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

  .services-grid,
  .pricing-grid {
    gap: 20px;
  }

  .service-card,
  .pricing-card,
  .info-card {
    padding: 20px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
    transform: translateY(-150%);
    transition: var(--transition);
    box-shadow: 0 10px 20px var(--shadow);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

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

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center; /* Center buttons when in column layout */
  }

  /* Make sure the featured card doesn't break the alignment */
  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 576px) {
  .service-card-container {
    width: 350px;
    height: 400px;
    margin: 0 auto; /* Optional: center the card */
  }

  .service-card,
  .service-card-inner,
  .service-card-front,
  .service-card-back {
    width: 100%;
    height: 100%;
  }

  .service-card-back h3 {
    padding-top: 1rem;
    margin-bottom: 25px;
  }

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

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .about-content {
    gap: 30px;
  }

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

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

/* Lightbox Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  border: 3px solid var(--primary);
}

.image-modal-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
}

/* this is the pricing styles for the cards */

.multi-price {
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 15px;
}

.price-tier {
  flex: 1;
  text-align: center;
  padding: 10px 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background-color: var(--bg-light);
}

.price-tier:not(:last-child) {
  border-right: 2px solid var(--primary); /* vertical orange divider */
}

.vehicle-type {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.price-tier:hover {
  background-color: var(--bg-color);
}



@media (max-width: 576px) {
  .multi-price {
    gap: 1px; /* still apply small gap */
  }

  .amount {
    font-size: 1.3rem;
  }

  .vehicle-type {
    font-size: 0.75rem;
  }
}
/*Add ons */

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

.addons-list-static {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}

.addons-list-static li {
  background-color: var(--bg-color);
  border: 1px solid var(--border);
  padding: 15px 20px;
  border-radius: 6px;
  font-size: 1rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.addons-list-static li span {
  font-weight: bold;
  color: var(--primary);
}

