/* General Body & Typography */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background */
    /* padding-top will be dynamically adjusted by JS if header height changes, or kept consistent */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #2c3e50; /* Darker tone for headings */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2196F3; /* Primary blue for main titles */
}

/* Colors */
:root {
    --primary-blue: #2196F3;
    --success-green: #4CAF50;
    --light-gray: #f2f6fa;
    --dark-text: #333;
    --dark-heading: #2c3e50;
    --white: #fff;
}

.bg-primary { background-color: var(--primary-blue) !important; }
.bg-success { background-color: var(--success-green) !important; }
.text-primary { color: var(--primary-blue) !important; }
.text-success { color: var(--success-green) !important; }
.bg-light-gray { background-color: var(--light-gray) !important; }

/* Header & Navigation */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    background-color: var(--white);
    z-index: 1030; /* Bootstrap's navbar-fixed-top uses 1030 */
}

.navbar-brand .logo {
    height: 40px; /* Adjust logo size */
}

.navbar-brand .tagline {
    font-size: 0.8em;
    color: #6c757d;
    margin-top: -5px;
}

.navbar-nav .nav-link {
    color: var(--dark-text);
    font-weight: 600;
    padding: 0.8rem 1rem;
    transition: color 0.3s ease;
}

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

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 0.3rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #1a7bbd; /* Slightly darker blue */
    border-color: #1a7bbd;
    transform: translateY(-2px);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 85vh; /* Increased height for better visual impact */
    min-height: 550px;
    margin-top: -100px; /* Adjust to pull content up behind fixed header */
    padding-top: 100px; /* Compensate for margin-top, ensures content starts below header */
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    position: absolute; /* Take full space within hero-section */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for text readability */
}

.hero-section .carousel-caption {
    position: absolute; /* Important for positioning */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    z-index: 1; /* Ensure text is above image filter */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white); /* Ensure text color */
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p.lead {
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.btn-secondary {
    background-color: var(--success-green);
    border-color: var(--success-green);
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    border-radius: 0.3rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background-color: #3e8e41; /* Slightly darker green */
    border-color: #3e8e41;
    transform: translateY(-2px);
}

/* Why Choose Us Section */
.icon-box {
    background-color: var(--white);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.icon-box i {
    color: var(--primary-blue); /* Default icon color */
}

.icon-box:nth-child(2) i, .icon-box:nth-child(4) i {
    color: var(--success-green); /* Alternate icon color */
}


.icon-box.hover-grow:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Services Overview */
.service-card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-card.hover-shadow-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.5rem;
}

/* Product Categories */
.product-category-card {
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-category-card.hover-shadow-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-category-card img {
    height: 180px; /* Uniform height for product images */
    width: 100%;
    object-fit: cover;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(45deg, var(--primary-blue), var(--success-green));
    padding: 80px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.cta-section .btn-warning {
    background-color: #ffc107; /* Bootstrap yellow */
    border-color: #ffc107;
    color: #333;
    font-weight: 700;
    padding: 1rem 3rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.cta-section .btn-warning:hover {
    background-color: #e0a800; /* Darker yellow */
    border-color: #e0a800;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #2c3e50 !important; /* Dark blue/grey */
    color: rgba(255, 255, 255, 0.8);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
}

.social-icons a {
    font-size: 1.5rem;
}

/* Scroll to top button */
.scroll-to-top {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* WhatsApp Button Styles */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* WhatsApp Green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-decoration: none;
    opacity: 0; /* Initially hidden */
    transform: scale(0); /* Initially scaled down */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.whatsapp-button.show {
    opacity: 1;
    transform: scale(1);
}

.whatsapp-button:hover {
    background-color: #128c7e; /* Darker green on hover */
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px; /* Position next to the button */
    background-color: #555;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0; /* Hidden by default */
    visibility: hidden;
    transform: translateX(10px); /* Slightly off to the right */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.whatsapp-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* Slide into view */
}

/* Optional: For smaller screens, adjust position if needed */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-tooltip {
        right: 60px;
        padding: 6px 10px;
        font-size: 12px;
    }
}
/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-brand .tagline {
        display: none; /* Hide tagline on smaller screens if needed */
    }
    .hero-section {
        height: 70vh; /* Adjust height for tablets */
        min-height: 450px;
        margin-top: -70px; /* Adjust for potentially smaller header height */
        padding-top: 70px;
    }
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p.lead {
        font-size: 1.3rem;
    }
    body {
        /* padding-top: 70px;  This will be handled by the main pt-5 and hero-section adjustments */
    }
}

@media (max-width: 767.98px) {
    