/* css/style.css */
:root {
    --primary: #2b6cb0;
    --secondary: #4299e1;
    --dark: #2d3748;
    --light: #f7fafc;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

/* --- Slider Specific Styles --- */
#hero-slider {
    width: 100%;
}

#hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Ensures image covers the entire slide area */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents image repetition */
    opacity: 0; /* Hidden by default */
    transition: opacity 1s ease-in-out; /* Smooth fade transition for slides */
    z-index: 1; /* Base layer */
}

#hero-slider .slide.active {
    opacity: 1; /* Active slide is visible */
    z-index: 2; /* Active slide on top */
}

/* Ensure hero-content layers correctly over the background image */
.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}
/* --- End Slider Specific Styles --- */


h2, p {
    transition: opacity 0.8s, transform 0.8s;
}

h2.fade, p.fade {
    opacity: 0;
    transform: translateY(20px);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.certification-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.certification-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.testimonial-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

/* Responsive navigation styling */
.mobile-nav-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%; /* Position below the header */
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    border-top: 1px solid #eee;
    z-index: 40; /* Lower than sticky header */
}

.mobile-nav-open a {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.mobile-nav-open a:last-child {
    border-bottom: none;
}