/* Global Variables */
:root {
  --primary-green: #2b5e2c;
  --accent-orange: #e67e22;
  --font-main: "Plus Jakarta Sans", sans-serif;
}

/* Slider Container */
.hero-slider {
  font-family: var(--font-main);
  overflow: hidden;
}

/* Background Image Setup */
.slide-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

/* Premium Dark Overlay (Taki White Text clear dikhe) */
.slide-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: -1;
}
.slide-content {
  padding: 160px 0 160px 0;
  color: #ffffff;
  max-width: 800px;
  z-index: 2;
}

/* Typography */
.slide-subtitle {
  color: var(--accent-orange);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 15px;
  display: inline-block;
}

.slide-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.slide-text {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 600px;
}

/* Premium Buttons */
.btn-theme {
  background-color: var(--primary-green);
  color: white;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-green);
  display: inline-block;
}

.btn-theme:hover {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-outline-theme {
  background-color: transparent;
  color: white;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid white;
  margin-left: 15px;
  display: inline-block;
}

.btn-outline-theme:hover {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
  color: white;
}

/* 🌟 Smooth Text Animations 🌟 */
.carousel-item .animate-box {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Jab slide active hogi tabhi text upar aayega */
.carousel-item.active .slide-subtitle {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.carousel-item.active .slide-title {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateY(0);
}
.carousel-item.active .slide-text {
  transition-delay: 0.6s;
  opacity: 1;
  transform: translateY(0);
}
.carousel-item.active .slide-buttons {
  transition-delay: 0.8s;
  opacity: 1;
  transform: translateY(0);
}

/* Customizing Carousel Indicators (Dots) */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: white;
  margin: 0 6px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--accent-orange);
  border-color: white;
  transform: scale(1.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .slide-content {
    /* Mobile me padding thodi kam taki screen se bahar na jaye */
    padding: 120px 0 100px 0;
    text-align: center;
  }

  .slide-bg::before {
    /* Mobile me background thoda aur dark taki text easily padha jaye */
    background: rgba(0, 0, 0, 0.65);
  }

  .slide-title {
    font-size: 2.2rem;
  }
  .slide-text {
    font-size: 1rem;
    margin: 0 auto 30px auto;
  }

  .btn-outline-theme {
    margin-left: 0;
    margin-top: 15px;
    display: block; /* Mobile me buttons niche-upar aayenge */
  }
  .btn-theme {
    display: block;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
       ABOUT US SECTION STYLING
       ============================== */
.about-section {
  padding: 100px 0;
  background-color: #ffffff;
  overflow: hidden;
}

/* Overlapping Image Premium Design */
.about-img-wrapper {
  position: relative;
  padding-right: 40px;
  padding-bottom: 40px;
}

.about-img-main {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.about-img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border-radius: 15px;
  border: 8px solid #ffffff; /* Gives the cut-out overlapping effect */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.experience-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--accent-orange);
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  z-index: 3;
  box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}
.experience-badge h3 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
}
.experience-badge p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Text Styling */
.section-subtitle {
  color: var(--accent-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.about-features {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
}

.about-features li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
}

.about-features li i {
  color: var(--accent-orange);
  font-size: 1.2rem;
  margin-right: 15px;
  background: rgba(230, 126, 34, 0.1);
  padding: 8px;
  border-radius: 50%;
}

/* ==============================
       WHY CHOOSE US SECTION STYLING
       ============================== */
.wcu-section {
  padding: 100px 0;
  background-color: var(--bg-light); /* Light gray for separation */
}

.wcu-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  height: 100%;
  border-bottom: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.wcu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-bottom: 4px solid var(--primary-green);
}

.wcu-icon {
  width: 70px;
  height: 70px;
  background: rgba(43, 94, 44, 0.05);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.wcu-card:hover .wcu-icon {
  background: var(--primary-green);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

.wcu-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.wcu-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .about-img-wrapper {
    margin-bottom: 50px;
    padding-right: 20px;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .experience-badge {
    left: 0;
    top: 10px;
  }
}

/* ==============================
       PRODUCTS SECTION STYLING
       ============================== */
.products-section {
  padding: 100px 0;
  background-color: #ffffff;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .subtitle {
  color: var(--accent-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.section-header .title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-green);
}

/* Product Card Design */
.product-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy smooth transition */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: rgba(43, 94, 44, 0.2);
}

/* Image Wrapper with Zoom Effect */
.product-img-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3; /* Sabhi images ka size same rakhne ke liye */
  overflow: hidden;
  position: relative;
  background: #f9f9f9; /* Image load hone tak ka color */
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Image stretch na ho */
  transition: transform 0.6s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08); /* Hover par image zoom hogi */
}

/* View Details Overlay Text on Image */
.view-details-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.product-img-wrapper:hover .view-details-overlay {
  opacity: 1;
}

.view-details-overlay span {
  background: white;
  color: var(--primary-green);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 13px;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.product-img-wrapper:hover .view-details-overlay span {
  transform: translateY(0);
}

/* Product Content */
.product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title-link {
  text-decoration: none;
  color: var(--text-dark);
  display: block;
  margin-bottom: 15px;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  transition: color 0.3s ease;
}

.product-title-link:hover .product-title {
  color: var(--primary-green);
}

/* Action Buttons Area */
.product-actions {
  margin-top: auto; /* Buttons hamesha bottom par rahenge */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
}

/* Request to Quote Button */
.btn-quote-sm {
  flex-grow: 1;
  background: transparent;
  color: var(--primary-green);
  border: 1.5px solid var(--primary-green);
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-quote-sm:hover {
  background: var(--primary-green);
  color: white;
}

/* Phone Call Button */
.btn-call-sm {
  width: 38px;
  height: 38px;
  background: rgba(230, 126, 34, 0.1);
  color: var(--accent-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.btn-call-sm:hover {
  background: var(--accent-orange);
  color: white;
  transform: scale(1.1);
}

/* Responsive for mobile grid */
@media (max-width: 575px) {
  .product-img-wrapper {
    aspect-ratio: 16 / 10;
  }
}

/* ==============================
       BUSINESS STATS (COUNTER) SECTION
       ============================== */
.stats-section {
  /* Premium Dark Green Gradient Background */
  background: linear-gradient(135deg, var(--primary-green) 0%, #143615 100%);
  padding: 80px 0;
  color: #ffffff;
  position: relative;
}

/* Subtle background pattern for texture */
.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.5;
}

.stat-box {
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--accent-orange);
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.stat-box:hover .stat-icon {
  transform: translateY(-10px) scale(1.1);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-number span {
  color: var(--accent-orange);
}

.stat-text {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.8);
}

/* ==============================
       PHOTO GALLERY SECTION
       ============================== */
.gallery-section {
  padding: 100px 0;
  background-color: #f9fafb;
}

/* CSS Grid for Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* Perfect Square boxes */
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 94, 44, 0.7); /* Green transparent overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-overlay i {
  color: #ffffff;
  font-size: 2.5rem;
  transform: scale(0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* --- Custom Lightbox (Badi Image Khulne ke liye) --- */
.k2k-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.k2k-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.k2k-lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  transition: transform 0.4s ease;
}

.k2k-lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--accent-orange);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .stat-box {
    margin-bottom: 30px;
  }
}
@media (max-width: 575px) {
  .stat-number {
    font-size: 2.8rem;
  }
}

/* ==============================
       BLOG & NEWS & INSIGHTS SECTION
       ============================== */
.blog-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid #f5f5f5;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.blog-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.08); /* Smooth Zoom in on Hover */
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-orange);
  color: #fff;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.blog-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.blog-meta i {
  color: var(--primary-green);
  margin-right: 5px;
}

.blog-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title:hover {
  color: var(--primary-green);
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  color: var(--primary-green);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.read-more-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.read-more-btn:hover {
  color: var(--accent-orange);
}

.read-more-btn:hover i {
  transform: translateX(5px); /* Arrow moves right on hover */
}

/* ==============================
       NEWSLETTER SECTION
       ============================== */
.newsletter-section {
  background:
    linear-gradient(rgba(43, 94, 44, 0.9), rgba(43, 94, 44, 0.9)),
    url("https://images.unsplash.com/photo-1596040033229-a9821ebd058d?q=80&w=2000&auto=format&fit=crop")
      center/cover fixed;
  padding: 80px 0;
  position: relative;
}

.newsletter-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

.newsletter-wrapper h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.newsletter-wrapper p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.newsletter-form {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.newsletter-form input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 15px 25px;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-btn {
  background: var(--accent-orange);
  color: #ffffff;
  border: none;
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.newsletter-btn:hover {
  background: #d35400;
  transform: scale(1.05);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
    border-radius: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
  }
  .newsletter-form input {
    padding: 10px 15px;
    margin-bottom: 10px;
  }
  .newsletter-btn {
    width: 100%;
    border-radius: 8px;
    padding: 15px;
  }
}
