:root {
  --primary-color: #ff7f00;
  --primary-light: #ffa040;
  --primary-dark: #e65100;
  --secondary-color: #2e7d32;
  --secondary-light: #60ad5e;
  --secondary-dark: #005005;
  --text-color: #333;
  --text-light: #fff;
  --text-gray: #666;
  --bg-color: #fff;
  --card-bg: #f9f9f9;
  --section-bg: #f5f5f5;
  --footer-bg: #263238;
  --footer-text: #eceff1;
  --divider-color: rgba(0, 0, 0, 0.1);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

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

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  display: block;
  color: var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-color);
  position: relative;
  display: inline-block;
}

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 1rem auto;
  border-radius: 3px;
}

/* Navbar Styles */
.navbar {
  background-color: var(--bg-color);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--text-color);
  padding: 0.5rem 1.2rem;
  margin: 0 0.25rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:not(.contact-btn)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover:not(.contact-btn)::after,
.nav-link.active:not(.contact-btn)::after {
  width: 60%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}


.menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 70px; /* Account for fixed navbar */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide {
  min-width: 100%;
  position: relative;
  flex-shrink: 0;
  display: flex;
}

.slide img {
  /* width: 100%; */
  width: 100vw;
  height: auto;
  display: block;
  max-height: 700px; /* Adjust as needed */
  object-fit: cover;
}

/* Add overlay to each slide */
.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay with 50% opacity */
}

.caption {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* Changed to white */
  padding: 15px 25px;
  border-radius: 5px;
  max-width: 80%;
  z-index: 2; /* Ensure text appears above overlay */
  text-align: center;
}

.caption h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: white; /* Changed to white */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Add shadow for better readability */
}

.caption p {
  color: rgba(255, 255, 255, 0.9); /* Lighter white with slight transparency */
  margin-bottom: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Add shadow for better readability */
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 127, 0, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav:hover {
  background: var(--primary-dark);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}
/* Services Styles */
.services {
  padding: 6rem 0;
  background-color: var(--section-bg);
}

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

.service-card {
  background-color: var(--bg-color);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-dark)
  );
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-icon i,
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
  color: var(--text-light);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 127, 0, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: rgba(255, 255, 255, 0.2);
}

.service-icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  transition: var(--transition);
}

.service-card p {
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-link {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.service-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--primary-dark);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* About Styles */
.about {
  padding: 6rem 0;
  position: relative;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.about-image:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.about-features {
  margin: 2rem 0;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.feature i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--section-bg);
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-gray);
  text-align: center;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 8px;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-content h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.contact-content p,
.contact-content a {
  color: var(--text-gray);
  line-height: 1.6;
}

.contact-content a:hover {
  color: var(--primary-color);
}

.contact-form {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--divider-color);
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
}

.btn-block svg {
  width: 20px;
  height: 20px;
  transition: var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}



/* Footer Styles */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 5rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  position: relative;
  padding-bottom: 10px;
}

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

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  transition: var(--transition);
}

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

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

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-block;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-family: "Poppins", sans-serif;
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 0 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--primary-dark);
}

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
  .carousel-caption h1 {
    font-size: 3rem;
  }

  .carousel-caption p {
    font-size: 1.3rem;
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: var(--bg-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    margin: 1rem 0;
    padding: 1rem;
  }

  .caption {
    font-size: 14px;
    padding: 8px 12px;
  }

  .caption h2 {
    font-size: 18px;
  }

  .caption p {
    font-size: 14px;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .services-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
}

.contact-card {
    padding: 1.25rem;
}
  .footer-content {
    grid-template-columns: 1fr;
  }
}
