* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding-top: 70px;
    /* equal to header height */
}

header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgb(239, 237, 241);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    height: 40px;
    width: 80px;
    /* ensure it's a square */
    object-fit: cover;
    border-radius: 50%;
    /* makes it circular */
    border: 2px solid #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.6);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: rgb(3, 3, 3);
    text-decoration: none;
    font-weight: 600;
}

.menu-icon {
    color: rgb(3, 3, 3);
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #f0f1f5;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}

.mobile-menu a {
    padding: 1rem;
    border-top: 1px solid rgb(8, 8, 8);
    text-decoration: none;
    color: rgb(8, 8, 8);
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-left: 1rem;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .menu-icon {
        display: block;
    }
    .mobile-menu.show {
        display: flex;
    }
    .whatsapp-btn {
        display: none;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.logo img {
    height: 80px;
    width: 80px;
    /* ensure it's a square */
    object-fit: cover;
    border-radius: 50%;
    /* makes it circular */
}

section {
    padding: 100px 20px;
    margin-top: 60px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

.hero {
    text-align: center;
    padding: 2rem;
    background: #eff0f1;
    color: #0c4a6e;
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

.tab-btn.active {
    color: #2563eb;
    /* Blue text color for active tab */
    border-bottom: 2px solid #2563eb;
    /* Optional underline */
}

.tab-btn {
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #192413;
    /* Slightly darker blue on hover */
}

.intro-section {
    background: #457bb1;
    border-left: 6px solid #4ade80;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.intro-section h2 {
    color: #080808;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #eaedf1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.card {
    background: rgb(220, 225, 241);
    padding: 1rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.card img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.card img:hover {
    transform: scale(1.05);
}

.features-applications-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background: #ebe2e2;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.features-box,
.applications-box {
    flex: 1 1 300px;
    border-left: 6px solid #60a5fa;
    padding-left: 1rem;
}

.features-box h2,
.applications-box h2 {
    color: #0c4a6e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.features-box ul,
.applications-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-box li,
.applications-box li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: #374151;
    position: relative;
    padding-left: 1.5rem;
}

.features-box li::before,
.applications-box li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 1.5rem;
}

.simple-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.simple-product:hover {
    background-color: #f3f4f6;
    /* subtle hover effect */
}

.simple-product img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4ade80;
    /* optional green ring */
}

.product-info h3 {
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-info p {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: #4b5563;
}

.blue-arrow {
    color: #007bff;
}

.image-overlay-container {
    position: relative;
    width: 100%;
    height: 300px;
    /* Adjust height as needed */
    overflow: hidden;
}

.overlay-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    /* Makes image semi-transparent */
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(2, 2, 2);
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.contact-details {
    text-align: center;
    padding: 2rem;
}

.certifications {
    margin-top: 2rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
}

.certifications h3 {
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.certifications ul {
    margin: 0 0 1rem 1.5rem;
}

.cert-img {
    max-width: 150px;
    margin: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

footer {
    background: #1f2937;
    color: #fff;
    text-align: center;
    padding: 1rem;
}


/* WhatsApp link in mobile menu */

.mobile-menu a.mobile-whatsapp {
    background-color: #25D366;
    font-weight: bold;
    color: white;
    text-align: center;
    margin: 0.5rem 1rem;
    border-radius: 8px;
}

#products {
    padding-top: 120px;
    scroll-margin-top: 120px;
}

.product-layout {
    display: flex;
    min-height: 80vh;
}


/* Base layout */

.product-container {
    display: flex;
    height: 100%;
}


/* Sidebar fixed on left */

.product-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-sidebar li {
    margin-bottom: 1rem;
}

.product-sidebar a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    display: block;
    padding: 0.5rem;
    border-radius: 5px;
}

.product-sidebar a.active {
    background: #0c94d3;
    color: rgb(255, 255, 255);
}


/* Right side (iframe content) */

.product-content iframe {
    width: 100%;
    min-height: 400px;
    border: none;
}


/* 📱 Mobile responsive */

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


/* Push product section below header */

.product-section {
    display: flex;
    margin-top: 120px;
    /* adjust this to your header height */
}


/* Sidebar */


/* Content area */

.product-content {
    margin-left: 240px;
    /* space for sidebar */
    padding: 1rem;
    flex-grow: 1;
}


/* Product section below header */

.product-section {
    display: flex;
    margin-top: 120px;
    /* match your header height */
}


/* Sidebar (desktop view) */


/* Desktop: fixed sidebar */

.product-sidebar {
    position: fixed;
    top: 120px;
    left: 0;
    width: 250px;
    height: calc(100% - 60px);
    background: #f8f8f8;
    padding: 15px;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    z-index: 999;
    transition: left 0.3s ease-in-out;
}

.product-content {
    margin-left: 250px;
    padding: 20px;
    width: calc(100% - 250px);
}


/* 📱 Mobile: sidebar becomes hidden by default */

@media (max-width: 768px) {
 .product-sidebar {
    left: -260px;
    /* hidden by default */
    width: 220px;
    top: 120px;
    height: calc(100% - 120px);
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    z-index: 900;
    }
    
    .product-sidebar.show {
        left: 0;
        /* slide in */
    }
    .product-content {
        margin-left: 0;
        width: 100%;
    }
    /* Add a toggle button for mobile */
    .product-toggle-btn {
        display: inline-block;
        background: #007bff;
        color: white;
        padding: 10px 15px;
        margin: 10px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
    }
    .sidebar-toggle {
        display: inline-block;
        background: #8fafeb;
        color: #fff;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        margin-bottom: 1rem;
        cursor: pointer;
    }
}


/* Desktop hides mobile toggle button */

@media (min-width: 769px) {
    .product-toggle-btn {
        display: none;
    }
}
