:root {
    --primary-green: #2ecc71;
    --dark-green: #1e8449;
    --light-green: #eafaf1;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: 76px;
    /* Offset for fixed navbar */
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-green) !important;
    display: flex !important;
    align-items: center;
    padding: 4px 0 !important;
}

.navbar-brand i {
    color: var(--primary-green);
}

.navbar-brand img.brand-logo,
.navbar-brand img {
    height: 70px !important;
    width: auto !important;
    max-height: 100px !important;
    max-width: 180px !important;
    object-fit: contain;
    display: block;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green) !important;
}

.btn-quote {
    background-color: var(--primary-green);
    color: white;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background-color: var(--dark-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

/* Hero Section */
.hero {
    height: calc(100vh - 76px);
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1488459716781-31db52582fe9?q=80&w=2070&auto=format&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1542838132-92c53300491e?q=80&w=1974&auto=format&fit=crop') center/cover;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero h1,
.page-header h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header h1 {
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Static Certifications Section (Before Footer) */
.cert-section {
    background-color: #ffffff;
    padding: 50px 0;
    border-top: 1px solid #eee;
}

.cert-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.cert-logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    gap: 10px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.cert-logo:hover {
    color: var(--dark-green);
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-3px);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.4);
}

/* WhatsApp Chat Widget */
.whatsapp-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 320px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
    transform-origin: bottom right;
    animation: popupChat 0.3s ease;
}

@keyframes popupChat {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.whatsapp-chat-header {
    background-color: #075e54;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.whatsapp-chat-body {
    padding: 20px;
    background-color: #e5ddd5;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    position: relative;
    height: 150px;
}

.whatsapp-chat-message {
    background-color: #fff;
    padding: 12px 15px;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    color: #444;
    display: inline-block;
    position: relative;
    line-height: 1.5;
}

.whatsapp-chat-message::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    border: 5px solid transparent;
    border-top-color: #fff;
    border-right-color: #fff;
}

.whatsapp-chat-footer {
    padding: 15px;
    background-color: #fff;
    text-align: center;
}

.btn-start-chat {
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    transition: all 0.3s;
}

.btn-start-chat:hover {
    background-color: #128c7e;
    color: white;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-green);
}

.section-title .divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-green);
    margin: 15px auto 0;
}

/* Products Section */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 2px solid var(--primary-green);
    color: var(--dark-green);
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-green);
    color: white;
}

.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.product-card .card-body {
    padding: 20px;
    text-align: center;
}

.product-card h5 {
    font-weight: 700;
    color: var(--dark-green);
}

.pagination {
    justify-content: center;
    margin-top: 30px;
}

.page-link {
    color: var(--dark-green);
    border-radius: 5px;
    margin: 0 5px;
    border: 1px solid #dee2e6;
}

.page-item.active .page-link {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* Footer / Contact */
.footer {
    background-color: var(--dark-green);
    color: white;
    padding: 60px 0 20px;
}

.contact-info i {
    color: var(--primary-green);
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-icons a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-green);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}