/* General Body and HTML Reset */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

*, *::before, *::after {
  box-sizing: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.primary-button {
  background-color: #FF0000; /* Red */
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.primary-button:hover {
  background-color: #CC0000; /* Darker Red */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.4);
}

.secondary-button {
  background-color: #007bff; /* Sky Blue */
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.secondary-button:hover {
  background-color: #0056b3; /* Darker Sky Blue */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

/* Navigation Bar */
.navbar {
  background-color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.navbar .logo img {
  height: 50px;
  width: 50px;
  border-radius: 10px; /* Rounded corners for logo */
}

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

.nav-menu ul li a {
  font-weight: 500;
  color: #333;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #FF0000;
  transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
  width: 100%;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
  color: #FF0000;
}

.navbar .call-button {
  background-color: #007bff; /* Sky Blue */
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.navbar .call-button:hover {
  background-color: #0056b3;
}

.menu-toggle {
  display: none; /* Hidden on desktop */
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-overlay .close-button {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  cursor: pointer;
  color: #333;
}

.mobile-nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: center;
}

.mobile-nav-menu ul li a {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;
}

.mobile-nav-menu ul li a:hover {
  color: #FF0000;
}

.mobile-call-button {
  margin-top: 30px;
  font-size: 20px;
}

/* Hero Section */
.hero-section {
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Adjust as needed */
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

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

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

.hero-content p {
  font-size: 1.3em;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
  text-align: center;
  background-color: #fff;
}

.pricing-section h2 {
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #333;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.pricing-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border-color: #FF0000;
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.2);
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.03);
}

.pricing-card h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FF0000;
  font-weight: 600;
}

.pricing-card .price {
  font-size: 2.8em;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 25px;
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 30px;
  flex-grow: 1; /* Allows list to take available space */
}

.pricing-card ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #555;
}

.pricing-card .button {
  width: 100%;
}

/* Testimonials Section */
.testimonials-section {
  background-color: #F8F9FA;
  padding: 80px 0;
  text-align: center;
  overflow: hidden; /* Hide overflowing cards */
}

.testimonials-section h2 {
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #333;
  font-weight: 700;
}

.testimonial-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding-bottom: 20px; /* Space for shadow */
}

.testimonial-card {
  flex: 0 0 100%; /* Each card takes full width of its container */
  max-width: 600px; /* Max width for single card in carousel */
  margin: 0 10px; /* Space between cards */
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  min-height: 220px; /* Ensure consistent height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-card h4 {
  font-size: 1.2em;
  color: #FF0000;
  font-weight: 600;
  text-align: right;
}

.carousel-nav {
  margin-top: 30px;
}

.carousel-nav button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 50%;
  font-size: 1.2em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-nav button:hover {
  background-color: #0056b3;
}

/* Footer */
.footer {
  background-color: #333;
  color: #fff;
  padding: 50px 0 20px;
  font-size: 0.9em;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-section h3 {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: #FF0000;
  font-weight: 600;
}

.footer-section p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-section p i {
  margin-right: 10px;
  color: #007bff;
}

.social-icons a {
  color: #fff;
  font-size: 1.5em;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #007bff;
}

.footer-bottom {
  text-align: center;
  width: 100%;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
}

/* About Page Specific Styles */
.about-page-section {
  padding: 80px 0;
  background-color: #fff;
}

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

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

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

.about-text h2 {
  font-size: 2.5em;
  margin-bottom: 25px;
  color: #FF0000;
  font-weight: 700;
}

.about-text p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
}

/* Services Page Specific Styles */
.services-page-section {
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-overlay {
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay for readability */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0; /* Ensures content is centered vertically */
}

.services-page-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.services-page-section h2 {
  font-size: 2.8em;
  margin-bottom: 50px;
  color: #fff;
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 250px; /* Ensure consistent height */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card i {
  font-size: 3.5em;
  color: #FF0000;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #007bff;
  font-weight: 600;
}

.service-card p {
  font-size: 1.05em;
  line-height: 1.7;
  color: #555;
}

/* Portfolio Page Specific Styles */
.portfolio-page-section {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}

.portfolio-page-section h2 {
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #333;
  font-weight: 700;
}

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

.portfolio-item {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
  width: 100%;
  height: 250px; /* Fixed height for images */
  object-fit: cover; /* Ensures images cover the area without distortion */
  border-bottom: 1px solid #eee;
}

.portfolio-info {
  padding: 20px;
  text-align: left;
}

.portfolio-info h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FF0000;
  font-weight: 600;
}

.portfolio-info p {
  font-size: 1em;
  color: #777;
  margin-bottom: 20px;
}

.portfolio-info .button {
  width: auto;
  padding: 8px 18px;
  font-size: 0.9em;
}

/* Contact Page Specific Styles */
.contact-page-section {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}

.contact-page-section h2 {
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #333;
  font-weight: 700;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.contact-form-container {
  flex: 2;
  min-width: 300px;
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.contact-form-container p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 30px;
}

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

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
  outline: none;
}

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

.contact-form .button {
  width: auto;
  padding: 12px 30px;
  font-size: 1.1em;
}

.contact-info-sidebar {
  flex: 1;
  min-width: 280px;
  background-color: #007bff; /* Sky Blue */
  color: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
  text-align: left;
}

.contact-info-sidebar h3 {
  font-size: 1.8em;
  margin-bottom: 25px;
  color: #fff;
  font-weight: 600;
}

.contact-info-sidebar p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.contact-info-sidebar p i {
  margin-right: 10px;
  color: #FF0000; /* Red icon */
}

.contact-info-sidebar a {
  color: #fff;
  text-decoration: underline;
}

.contact-info-sidebar a:hover {
  color: #f0f0f0;
}

.map-placeholder {
  margin-top: 30px;
  background-color: #ccc;
  border-radius: 10px;
  overflow: hidden;
}

.map-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}


/* Responsive Design - Media Queries */
@media (max-width: 992px) {
  .navbar .nav-menu {
      display: none; /* Hide desktop menu */
  }

  .menu-toggle {
      display: block; /* Show hamburger icon */
  }

  .hero-content h1 {
      font-size: 2.8em;
  }

  .hero-content p {
      font-size: 1.1em;
  }

  .pricing-grid,
  .services-grid,
  .portfolio-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .about-content,
  .contact-content {
      flex-direction: column;
      align-items: center;
  }

  .about-image,
  .about-text,
  .contact-form-container,
  .contact-info-sidebar {
      min-width: unset;
      width: 100%;
  }

  .about-image {
      max-width: 600px; /* Constrain image width on smaller screens */
  }

  .contact-form-container,
  .contact-info-sidebar {
      padding: 30px;
  }
}

@media (max-width: 768px) {
  .navbar .container {
      padding: 0 15px;
  }

  .hero-section {
      padding: 80px 15px;
      min-height: 500px;
  }

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

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

  .pricing-section,
  .testimonials-section,
  .about-page-section,
  .services-page-section,
  .portfolio-page-section,
  .contact-page-section {
      padding: 60px 0;
  }

  h2 {
      font-size: 2em;
      margin-bottom: 40px;
  }

  .pricing-card,
  .service-card,
  .portfolio-item {
      padding: 25px;
  }

  .pricing-card h3,
  .service-card h3 {
      font-size: 1.6em;
  }

  .pricing-card .price {
      font-size: 2.5em;
  }

  .testimonial-card {
      padding: 25px;
      min-height: 200px;
  }

  .testimonial-card p {
      font-size: 1em;
  }

  .testimonial-card h4 {
      font-size: 1.1em;
  }

  .footer-section {
      min-width: 100%; /* Stack footer sections */
      text-align: center;
  }

  .footer-section p {
      text-align: center;
  }

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

  .about-text h2 {
      font-size: 2em;
  }

  .about-text p {
      font-size: 1em;
  }

  .services-page-section h2 {
      font-size: 2.2em;
  }

  .service-card i {
      font-size: 3em;
  }

  .portfolio-info h3 {
      font-size: 1.3em;
  }

  .contact-form-container,
  .contact-info-sidebar {
      padding: 25px;
  }

  .contact-info-sidebar h3 {
      font-size: 1.6em;
  }

  .contact-info-sidebar p {
      font-size: 1em;
  }
}

@media (max-width: 480px) {
  .hero-section {
      padding: 60px 15px;
      min-height: 400px;
  }

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

  .hero-content p {
      font-size: 0.9em;
  }

  .button {
      padding: 10px 20px;
      font-size: 0.9em;
  }

  h2 {
      font-size: 1.8em;
      margin-bottom: 30px;
  }

  .pricing-card .price {
      font-size: 2em;
  }

  .pricing-card h3 {
      font-size: 1.4em;
  }

  .testimonial-card {
      margin: 0 5px; /* Reduce margin on very small screens */
  }

  .footer-section h3 {
      font-size: 1.2em;
  }

  .footer-section p {
      font-size: 0.85em;
  }

  .social-icons a {
      font-size: 1.3em;
      margin-right: 10px;
  }

  .about-text h2 {
      font-size: 1.8em;
  }

  .services-page-section h2 {
      font-size: 1.8em;
  }

  .service-card h3 {
      font-size: 1.4em;
  }

  .portfolio-info h3 {
      font-size: 1.2em;
  }

  .contact-form label,
  .contact-form input,
  .contact-form textarea,
  .contact-info-sidebar p {
      font-size: 0.9em;
  }

  .contact-info-sidebar h3 {
      font-size: 1.4em;
  }
}
