/* =============================================
   Hero Slider Styles
   ============================================= */
.hero-slider {
    position: relative;
    height: calc(100vh - 93px);
    overflow: hidden;
    background-color: #333;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.caption-container {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 2;
    color: white;
    max-width: 50%;
}

.caption,
.sub-caption {
    opacity: 0;
    white-space: normal;
}

.caption {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.sub-caption {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #fff;
}

/* --- Caption Animations --- */
.slide.active .caption {
    animation: caption-in 1s ease 0.3s forwards;
}

.slide.active .sub-caption {
    animation: subcaption-in 1s ease 0.6s forwards;
}

@keyframes caption-in {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes subcaption-in {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Slider Navigation */
.hero-slider {
  position: relative;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.3);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(0,0,0,0.7);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* Dots navigation */
.hero-slider .dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.hero-slider .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hero Slider Navigation */
.hero-slider {
  position: relative;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.3);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(0,0,0,0.7);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* Hero Slider Navigation */
.hero-slider {
  position: relative;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.3);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(0,0,0,0.7);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* Dots navigation */
.hero-slider .dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.hero-slider .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider .dot.active {
  background: white;
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .slider-prev {
    left: 10px;
  }
  
  .slider-next {
    right: 10px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .slider-prev {
    left: 10px;
  }
  
  .slider-next {
    right: 10px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .slider-prev {
    left: 10px;
  }
  
  .slider-next {
    right: 10px;
  }
}


/* =============================================
   "Why Choose Us" Section - Implementation 1 (Diamonds)
   ============================================= */
#wcu-section {
    padding: 60px 20px;
    text-align: center;
}

.wcu-title {
    font-size: 2.5rem;
    color: #e69500;
    margin-bottom: 40px;
    font-weight: bold;
}

#wcu-container {
    background: url('images/HOME_IMG_BG_section_2.webp') no-repeat center center;
    background-size: cover;
    padding: 50px 0;
    position: relative;
}

#wcu-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 254, 203, 0.7);
    z-index: 1;
}

.wcu-features-grid {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.wcu-feature-item {
    width: 200px;
    height: 200px;
    background-color: #e69500;
    transform: rotate(45deg);
    margin: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    opacity: 0;
    transform: translateY(30px);
}

.wcu-feature-item.visible {
    opacity: 1;
    transform: translateY(0) rotate(45deg);
}

.wcu-content-wrapper {
    transform: rotate(-45deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wcu-icon {
    font-size: 2rem;
    margin-bottom: 5px;
}

.wcu-value {
    font-size: 2.2rem;
    font-weight: bold;
}

.wcu-label {
    font-size: 0.9rem;
    margin: -8px 0 0 0;
}

/* --- Responsive for Diamond Design --- */
@media (max-width: 992px) {
    .wcu-feature-item {
        width: 180px;
        height: 180px;
        margin: 20px;
    }
}

@media (max-width: 768px) {
    .wcu-title {
        font-size: 2rem;
    }

    .wcu-features-grid {
        max-width: 450px;
        margin: 0 auto;
    }

    .wcu-feature-item {
        width: 110px;
        height: 110px;
        margin: 14px 14px;
    }

    .wcu-value {
        font-size: 1.8rem;
    }

    .wcu-label {
        font-size: 0.5rem;
        padding-left: 18px;
        padding-right: 18px;
    }
}


/* =============================================
   "Why Choose Us" Section - Implementation 2 (Parallelograms)
   NOTE: This is a second, conflicting implementation.
   ============================================= */
#wcu-section {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
    text-align: center;
    background-color: #fdfaf3;
    overflow: hidden;
}

.wcu-title {
    color: #d18c2c;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.wcu-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 250px;
    background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?q=80&w=2070');
    background-size: cover;
    background-position: center center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.wcu-item-wrapper {
    flex: 1;
    transform: skewX(-20deg);
    transition: background-color 0.4s ease, opacity 0.6s ease, transform 0.6s ease;
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) skewX(-20deg);
}

#wcu-section.visible .wcu-item-wrapper:nth-child(1) {
    transition-delay: 0.1s;
}

#wcu-section.visible .wcu-item-wrapper:nth-child(2) {
    transition-delay: 0.2s;
}

#wcu-section.visible .wcu-item-wrapper:nth-child(3) {
    transition-delay: 0.3s;
}

#wce-section.visible .wcu-item-wrapper:nth-child(4) {
    transition-delay: 0.4s;
}

#wcu-section.visible .wcu-item-wrapper {
    opacity: 1;
    transform: translateY(0) skewX(-20deg);
}

.wcu-item-wrapper:nth-child(odd) {
    background-color: rgba(200, 131, 27, 0.85);
}

.wcu-item-wrapper:nth-child(even) {
    background-color: rgba(232, 182, 107, 0.85);
}

.wcu-item-wrapper:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.wcu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    height: 100%;
    padding: 20px;
    transform: skewX(20deg);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.wcu-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 1.5px;
    margin-bottom: 10px;
}

.wcu-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.wcu-label {
    font-weight: 300;
    margin-top: 5px;
}

/* --- Responsive for Parallelogram Design --- */
@media (max-width: 768px) {
    .wcu-title {
        font-size: 2rem;
    }

    .wcu-container {
        flex-direction: column;
    }

    .wcu-item-wrapper {
        width: 100%;
        transform: skewX(0);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    #wcu-section.visible .wcu-item-wrapper {
        transform: translateY(0) skewX(0);
    }

    .wcu-item-wrapper:last-child {
        border-bottom: none;
    }

    .wcu-content {
        transform: skewX(0);
        min-height: 180px;
    }
}


/* =============================================
   Stats Section
   ============================================= */
.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 2rem 0.7rem;
    flex-wrap: wrap;
    background-color: #f8f9fa;
    margin-top: -76px;
}

.stat-box {
    flex: 1 1 300px;
    max-width: 350px;
    padding: 25px;
    border-radius: 16px;
    text-align: left;
    color: #ffffff;
    background: #E29A25;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    color: #E29A25;
    border: 2px solid #E29A25;
}

.stat-box .counter {
    font-size: 48px;
    font-weight: 700;
}

.plus-sign {
    font-size: 2rem;
    font-weight: bold;
    vertical-align: super;
    margin-left: 2px;
}

.stat-box h4 {
    font-size: 18px;
    margin: 10px 0 10px;
    font-weight: 600;
}

.stat-box p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    text-align: justify;
}


/* =============================================*/

/* Services Section */
.services {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.services h2 {
  text-align: center;
  font-size: 32px;
  color: #E29A25;
  font-weight: 700;
  margin-bottom: 40px;
}

.carousel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

/* Desktop View - Static 4 Cards */
.carousel-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card .image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-card .content {
  padding: 20px;
}

.service-card h4 {
  font-size: 18px;
  color: #000;
  margin: 0 0 10px 0;
}

.service-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 15px;
}

.btn-small {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 20px;
  background-color: #E29A25;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-small:hover {
  background-color: #fff;
  color: #E29A25;
  box-shadow: 0 0 0 2px #E29A25;
}

/* Mobile View - Slider with Auto-loop */
@media (max-width: 767px) {
  .carousel-wrapper {
    padding: 0 40px; /* Space for navigation buttons */
    overflow: hidden;
  }

  .carousel-track {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding-bottom: 0;
    scroll-behavior: smooth;
  }

  .service-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    margin-right: 0;
    transition: transform 0.5s ease;
  }

  /* Navigation buttons */
  .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    color: #E29A25;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s;
  }

  .carousel-nav:hover {
    opacity: 1;
  }

  .carousel-prev {
    left: 5px;
  }

  .carousel-next {
    right: 5px;
  }

  .carousel-dots-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    padding-bottom: 10px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .carousel-dot.active {
    background-color: #E29A25;
  }
}




/* =============================================
   General Responsive Styles
   ============================================= */
@media (max-width: 1024px) {
    .caption-container {
        max-width: 65%;
    }

    .service-card {
        flex-basis: 48%;
        margin-right: 2%;
    }
}

@media (max-width: 768px) {
    .caption-container {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 100%;
        text-align: center;
    }

   
}



/* =============================================
   Quick Connect Section
   ============================================= */
 /* General body styling */
        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            background-color: #f0f4f8; /* A light background for context */
        }

        /* Form Section */
        .form-section {
            position: relative;
            padding: 4rem 1rem; /* Increased padding for desktop */
            text-align: center;
            color: #fff;
            overflow: hidden;
            z-index: 1;
        }

        /* Background overlay and image */
        .form-section::before,
        .form-section::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
        }

        .form-section::before {
            background: rgba(10, 58, 96, 0.8); /* Slightly darker overlay for better text contrast */
        }

        .form-section::after {
            /* Using a placeholder for the background image */
            background: url('images/cont_bg.webp') no-repeat center center/cover;
            z-index: -2;
        }

        /* Form container using Flexbox for alignment */
        .form-container {
            display: flex;
            max-width: 1200px;
            margin: 0 auto;
            justify-content: center; /* Center items for better alignment */
            gap: 2rem;
            align-items: stretch; /* Make items stretch to the same height */
            flex-wrap: wrap; /* Allow items to wrap on smaller screens */
        }

        /* Left side with the image */
        .form-left {
            flex: 1; /* Allows the container to grow */
            min-width: 300px; /* Minimum width before wrapping */
        }

        .form-left img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensures the image covers the container without distortion */
            border-radius: 20px;
        }

        /* Right side with the form */
        .form-right {
            flex: 1; /* Allows the container to grow */
            min-width: 300px; /* Minimum width before wrapping */
            display: flex;
        }

        .form-right form {
            background: #fff;
            color: #333;
            border-radius: 20px;
            padding: 2.5rem; /* More padding */
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .form-heading {
            color:#e29a25;
            margin-bottom: 1.5rem;
            font-size: 2rem;
            font-weight: 700;
        }

        /* Input group styling */
        .input-group {
            display: flex;
            flex-direction: column; /* Stack inputs vertically by default */
            gap: 1rem;
            margin-bottom: 1rem;
        }

        /* Styling for all form fields */
        .input-group input,
        .input-group textarea,
        .input-group select {
            width: 94%;
            padding: 0.85rem;
            border-radius: 8px;
            border: 1px solid #ccc; /* A more neutral border color */
            font-size: 1rem;
            color: #333; /* Darker text for readability */
            outline: none;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        /* Placeholder styling */
        .input-group input::placeholder,
        .input-group textarea::placeholder {
            color: #999;
            opacity: 1;
        }

        /* Focus state for form fields */
        .input-group input:focus,
        .input-group textarea:focus,
        .input-group select:focus {
            border-color: #003366; /* Highlight with a brand color on focus */
            box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.2);
        }

        /* Custom dropdown arrow */
        .input-group select {
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            background-size: 1.2em;
            width: 100%;
        }
        
        /* Textarea specific styling */
        .input-group textarea {
            resize: vertical; /* Allow vertical resizing only */
            min-height: 120px;
        }

        /* Submit Button */
        .submit-btn {
            background-color: #E29A25;
            color: white;
            padding: 0.85rem 2rem;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            margin-top: 1rem;
            transition: background-color 0.3s ease, transform 0.2s ease;
            width: 100%; /* Full width button */
        }

        .submit-btn:hover {
            background-color: #c98a20;
            transform: translateY(-2px);
        }
        
        /* --- RESPONSIVE DESIGN --- */

        /* For tablets and medium-sized screens */
        @media (min-width: 768px) {
            .input-group.split {
                flex-direction: row; /* Place inputs side-by-side on larger screens */
            }
            .input-group.split > * {
                flex: 1; /* Each item takes equal space */
            }
            .submit-btn {
                width: auto; /* Auto width for button on larger screens */
                align-self: flex-end; /* Align to the right */
            }
        }

        /* For mobile screens */
        @media (max-width: 767px) {
            .form-section {
                padding: 2rem 1rem; /* Reduce padding on mobile */
            }
            .form-right form {
                padding: 1.5rem; /* Reduce form padding on mobile */
            }
            .form-heading {
                font-size: 1.5rem; /* Smaller heading for mobile */
            }
        }