:root {
  --primary-color: #843a8d;
  --primary-dark: #4a2113;
  --background-light: #fbf8f5;
  --text-dark: #5d5d5d;
  --text-light: #ffffff;
  --accent-color: #a67c52;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text-dark);
  background-color: var(--text-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header.main-header {
  position: relative;
  background-color: transparent;
  padding: 0;
  top: 0;
  z-index: 1000;
  box-shadow: none;
}

.top-bar {
  background: transparent;
  border-bottom: none;
}

.top-bar .container {
  min-height: 90px;
}

.logo img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
}

.contact-slot .icon-bg {
  background-color: #68a063;
  color: #fff;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.5rem;
}

.slot-text .fw-bold {
  color: #2b3543;
  font-size: 0.95rem;
  line-height: 1.1;
}

.slot-text .text-muted {
  font-size: 0.9rem;
  line-height: 1.1;
}

/* Nav Bar Styling */
.nav-bar {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  display: flex;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}

.nav-container {
  display: flex;
  justify-content: center;
  width: auto;
}

.nav-bar nav {
  background-color: rgba(86, 173, 118, 0.92);
  padding: 0 36px;
  position: relative;
  min-width: fit-content;
  width: max-content;
  max-width: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
}

.nav-bar nav::before,
.nav-bar nav::after {
  display: none;
}

.nav-links {
  display: flex !important;
  list-style: none;
  gap: 30px;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
}

.nav-links a {
  text-decoration: none;
  color: #fff !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 5px;
  display: block;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Dropdown Support */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  padding: 10px 0;
  z-index: 1001;
  border-radius: 0 0 5px 5px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  color: #333 !important;
  padding: 10px 20px;
  font-size: 0.85rem;
}

.dropdown-menu li a:hover {
  background-color: #f8f9fa;
  opacity: 1;
}

@media (max-width: 991px) {
  .nav-bar {
    background: none;
    border: none;
    position: static;
  }
  
  .nav-bar nav {
    clip-path: none;
    background: none;
    width: 100%;
    padding: 0;
  }
  .nav-bar nav::after{
    display: none;
  }
.nav-bar nav::before{
  display: none;
}
  .nav-links {
    display: none !important; /* Hide horizontal links on mobile */
  }

  header.main-header {
    padding: 10px 0;
  }

  .contact-info {
    display: none !important; /* Already hidden via Bootstrap d-none, but being explicit */
  }
}

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 2005; 
  position: relative;
}

@media (max-width: 991px) {
  .menu-toggle {
    display: block; /* Show on tablet/mobile */
  }
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--text-dark);
  margin: 6px 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-toggle.active span {
  background-color: var(--primary-color);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
  position: relative;
  height: 82vh;
  min-height: 560px;
  overflow: hidden;
  color: var(--text-light);
  background: #1a1a1a;
}

.hero-slider-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  padding-top: 70px;
}

.hero-content {
  position: relative;
  z-index: 3;
  margin-top: 30px;
}

.hero h1 {
  background-color: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 40px;
  font-weight: 400;
  margin: 0 auto 10px;
  padding: 10px 20px;
  width: fit-content;
}

.hero h2 {
  background-color: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 35px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0 auto;
  padding: 10px 10px;
  width: fit-content;
}

.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(132, 58, 141, 0.9);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev { left: 24px; }
.hero-next { right: 24px; }



/* Intro Section */
.intro {
  padding: 80px 0;
}

.intro-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.intro-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.intro-text .highlight {
  color: #56ad76;
  font-weight: 700;
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: #333333;
  padding: 80px 0;
  color: #ffffff;
}

.why-title {
  color: #68a063; /* Premium Green */
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.why-subtitle {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.why-subtitle .highlight {
  color: #68a063;
}

.why-list {
  list-style: none;
  padding: 0;
}

.why-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  position: relative;
  padding-left: 25px;
  color: rgba(255, 255, 255, 0.9);
}

.why-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-size: 1.2rem;
}

.why-house-icon {
  width: 100%;
  max-width: 350px;
  height: auto;
}

.left-image-placeholder {
  width: 100%;
  height: 400px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
  font-weight: 500;
}

/* Service Previews */
.service-previews {
  padding: 40px 0 80px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: #3b3f3f !important;
  color: #fff;
  padding: 40px;
  border-radius: 15px !important;
  text-align: left;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.card div{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card img {
  height: 100px;
  width: 100px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: var(--text-light);
  font-weight: 300;
}

.card p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.services-section {
  position: relative;

}
/* ================= SLIDER ================= */

.slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  z-index: 2;
  /* Add padding to container so arrows have space outside the slider */
  padding: 0 40px;
}

@media (max-width: 768px) {
  .slider-container {
    padding: 0 20px;
  }
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.slider-track {
  display: flex; /* Place slides side by side */
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.slide {
  min-width: 100%; /* Ensure each slide takes full width */
  width: 100%;
  display: block;
}

/* Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #fff;
  border: none;
  font-size: 40px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.prev:hover, .next:hover {
  color: #843a8d;
  transform: translateY(-50%) scale(1.1);
}

.prev { left: 0; }
.next { right: 0; }

.services-overlay {
  margin-top: -300px;
  padding: 350px 0 100px;
  background: url("../images/service-bg.png");
  background-size: cover;
  min-height: 700px;
  height: auto;
  background-position: center;
  color: #fff;
}

.service-box {
  text-align: left;
}
.service-box img{
  height: 70px;
  width: 70px;
}
.service-box h4 {
  color: #fff;
  margin-bottom: 15px;
}

.service-box ul {

  padding-left: 14px;
  font-size: 16px;
}

.service-box ul li {
  margin-bottom: 8px;
}



/* About Us Section */
.about-us {
  padding: 100px 0;
  background-color: #ffffff;
}

.about-title {
  color: #56ad76;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.about-image img {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto;
}

footer {
  text-align: center;
  color: #fff;
}

.top-footer {
  background: linear-gradient(180deg, #3b3f3f 0%, #1a1a1b 100%);
  padding: 60px 0;
}

.footer-cta {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.footer-logo {
  max-width: 180px;
  height: auto;
}

.contact-item {
  color: #fff;
}

.footer-icon {
  font-size: 2.5rem;
  color: #fff; /* Green from branding */
}

.contact-label {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.contact-value {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.contact-value:hover {
  color: #56ad76;
}

.bottom-footer {
  background-color: #1a1a1b;
  padding: 30px 0; 
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 auto 20px;
  max-width: 1200px;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;    
} 


@media (max-width: 991px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero h1 {
    font-size: 32px;
  }
  
  .hero h2 {
    font-size: 28px;
  }

  .services-overlay {
    margin-top: -150px;
    padding: 200px 20px 80px;
  }

  #navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 79%;
    height: 58vh;
    background: rgba(43, 53, 67, 0.98); /* Match the new dark theme */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2000;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  #navbar.active {
    left: 210px;
  }

  #navbar ul.nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
    padding: 0;
  }

  #navbar ul.nav-links li a {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff !important;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Hide dropdowns on mobile for simplicity, or we can make them clickable */
  .dropdown-menu {
    position: static;
    display: none;
    background: none;
    box-shadow: none;
    text-align: center;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  /* Hide normal nav in header flow */
  header nav:not(.active) {
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }

  .why-subtitle {
    font-size: 1.8rem;
  }

  .about-title {
    font-size: 1.8rem;
  }
  
  .footer-cta {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .card {
    padding: 20px;
  }

  .card h3 {
    font-size: 22px;
  }
}
