.hero-section {
    height: 100vh;
    color: white;
    padding-top: 120px;
    margin-top: 0;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.chimney-slide {
    background-image: url('/assets/images/chimneybg.jpg');
}

.water-purifier-slide {
    background-image: url('/assets/images/empty-modern-room-with-furniture.jpg');
}

.carousel-item {
    transition: transform .6s ease-in-out;
    height: 50vh;
}

.carousel-item > div {
    height: 100%;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.chimney-slide {
    background-image: url('../images/chimneybg.jpg');
    background-size: cover;
    background-position: center;
}

.water-purifier-slide {
    background-image: url('../images/empty-modern-room-with-furniture.jpg');
    background-size: cover;
    background-position: center;
}

.carousel-item {
    transition: transform .6s ease-in-out;
}

#testimonialCarousel .carousel-item {
    height: 50vh;
}

#heroCarousel .carousel-item {
    height: 100vh;
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    padding: 0;
}

.announcement-bar {
    background-color: #1e2f5d;
    color: white;
    padding: 8px 0;
    font-size: 14px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1030;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 40px;
    z-index: 1020;
    padding: 15px 0;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img.logo {
    height: 50px;
    width: auto;
}

.nav-link {
    font-weight: 600;
    color: #1e2f5d !important;
    padding: 0.5rem 1rem !important;
}

.contact-info .phone-number {
    background-color: #ff6b00;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Quick Enquiry Form Styling */
#contact {
    background: #f8f9fa;
}

#contact .quick-enquiry-form {
    height: 100%;
}

#contact .object-fit-cover {
    object-fit: cover;
}

#contact .form-control {
    border: none;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

#contact .form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

#contact textarea.form-control {
    resize: none;
}

#contact .btn {
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#contact .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-body {
    padding: 1.5rem;
    background: #fff;
}

.card-title {
    color: #1e2f5d;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    line-height: 1.6;
}

.bg-primary-dark {
    background-color: #1e2f5d;
}

.btn-primary {
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #007bff;
    margin: 1rem auto;
}

@media (max-width: 768px) {
    .announcement-bar {
        display: none;
    }
    
    .navbar {
        top: 0;
        margin: 0;
        padding: 10px 0;
        position: fixed;
        width: 100%;
        z-index: 1030;
        background-color: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .hero-section {
        padding-top: 76px;
        margin-top: 0;
        height: calc(100vh - 76px);
        min-height: 500px;
    }

    .navbar-brand {
        padding: 8px 15px;
    }

    .navbar-toggler {
        margin: 8px 15px;
    }

    footer {
        text-align: center;
    }

    footer .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    footer .text-md-start,
    footer .text-md-end {
        text-align: center !important;
    }

    footer .mb-lg-0 {
        margin-bottom: 2rem !important;
    }
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
    background-color: #1e2f5d;
    color: #fff;
    padding: 4rem 0 2rem;
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #ff6b00;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

footer .list-unstyled li {
    margin-bottom: 1rem;
}

footer .list-unstyled a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .list-unstyled a:hover {
    color: #ff6b00;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: #ff6b00;
    transform: translateY(-3px);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

footer .fas, footer .fab {
    color: #ff6b00;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .announcement-bar {
        display: none;
    }
    
    .navbar {
        top: 0;
        margin: 0;
        padding: 10px 0;
        position: fixed;
        width: 100%;
        z-index: 1030;
        background-color: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .hero-section {
        padding-top: 76px;
        margin-top: 0;
        height: calc(100vh - 76px);
        min-height: 500px;
    }

    .navbar-brand {
        padding: 8px 15px;
    }

    .navbar-toggler {
        margin: 8px 15px;
    }

    footer {
        text-align: center;
    }

    footer .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    footer .text-md-start,
    footer .text-md-end {
        text-align: center !important;
    }

    footer .mb-lg-0 {
        margin-bottom: 2rem !important;
    }
}
#about h2 {
    display: block;
    position: relative;
    z-index: 1;
    margin: 4rem 0 1.5rem;
    color: #333;
    clear: both;
}

/* Testimonial Section Styles */
#testimonials {
    padding: 3rem 0;
}

.testimonial-card {
    margin: 0 auto;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
}

.testimonial-card p.mb-4 {
    margin-bottom: 1rem !important;
}

.testimonial-card .text-warning.mb-2 {
    margin-bottom: 0 !important;
}

#testimonialCarousel {
    position: relative;
    padding-bottom: 2rem;
}

#testimonialCarousel .carousel-indicators {
    bottom: -10px;
    margin-bottom: 0;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

#testimonialCarousel .carousel-control-prev:hover,
#testimonialCarousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

#testimonialCarousel .carousel-control-prev {
    left: 0;
}

#testimonialCarousel .carousel-control-next {
    right: 0;
}
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    margin: 0 20px;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

#heroCarousel .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

#heroCarousel .carousel-indicators button.active {
    background-color: #fff;
}
#testimonialCarousel .carousel-control-prev {
    left: 0;
}

#testimonialCarousel .carousel-control-next {
    right: 0;
}

/* Brand Section Styling */
#brands {
    background-color: #f8f9fa;
}

.brand-item {
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.brand-item img {
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .brand-item {
        height: 100px;
    }
    
    .brand-item img {
        max-height: 60px;
    }
}


/* Why Us Section Styling */
#why-us {
    padding: 80px 0;
    background-color: #f8f9fa;
}

#why-us .feature-item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #ff4500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


#why-us .feature-item h3 {
    color: #1e2f5d;
    font-size: 1.25rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

#why-us .feature-item h3 i {
    margin-right: 10px;
    color: #ff4500;
}

#why-us .feature-item p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

#why-us .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
/* Why Us Section Styling */
#why-us {
    padding: 80px 0;
    background-color: #f8f9fa;
}

#why-us .row {
    display: flex;
    align-items: stretch;
}

#why-us .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

/* Ensure the image container has the same height as the text content */
#why-us .image-container {
    height: 790px;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex; 
    align-items: center; /* Center image */
    justify-content: center;
}

/* Ensure image fills the container properly */
#why-us .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Make sure the text section is the same height */
#why-us .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    #why-us .image-container {
        height: 350px;
        margin-bottom: 30px;
    }
}
