:root {
    --primary-blue: #1b5996;
    --bg-gray: #f9f9f9;
    --text-color: #15141A;
}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 2.5em;
    margin: 0px 0px 5px;
    text-align: center;
}

/* Improved Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-gray);
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    align-items: center; /* Vertically center items */
    justify-content: space-between; /* Space out logo and nav */
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* For centering the nav */
}

header .logo img {
    height: 100px; /* Logo height matches text */
    width: auto; /* Maintain aspect ratio */
}

header nav {
    position: absolute; /* Position nav absolutely for centering */
    left: 50%; /* Move nav to the center */
    transform: translateX(-50%); /* Center nav precisely */
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-right: 20px;
    position: relative;
}

header nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-size: 1.25em;
    line-height: 40px; /* Match logo height */
}

header nav ul li a:hover {
    background: var(--primary-blue);
    color: var(--bg-gray);
    border-radius: 5px;
}

/* Dropdown Menu */
header nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-gray);
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    z-index: 1000;
}

header nav ul li.dropdown .dropdown-menu li {
    margin: 0;
}

header nav ul li.dropdown .dropdown-menu li a {
    padding: 10px 20px;
    white-space: nowrap;
}

header nav ul li.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hamburger Menu Icon */
.hamburger {
    display: none; /* Hide by default */
    flex-direction: column;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 4px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger icon on small screens */
    }

    header nav {
        position: absolute;
        top: 100%; /* Position below the header */
        right: 0;
        width: 100%;
        background: var(--bg-gray);
        display: none; /* Hide nav by default on small screens */
    }

    header nav.active {
        display: block; /* Show nav when active */
    }

    header nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul li {
        margin: 0;
        width: 100%;
    }

    header nav ul li a {
        padding: 15px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    header nav ul li.dropdown .dropdown-menu {
        position: static; /* Remove absolute positioning */
        background: var(--bg-gray); /* Slightly darker background for dropdown */
    }

    header nav ul li.dropdown:hover .dropdown-menu {
        display: none;
    }
}

/* Hero Section with Slideshow */
.hero {
    position: relative;
    height: 400px; /* Adjust height as needed */
    overflow: hidden;
}

.hero .slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero .slideshow img.active {
    opacity: 1;
}

.hero .content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding-top: 100px; /* Adjust as needed */
}

.hero .content h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Add shadow to text */
}

.hero .content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Add shadow to text */
}

.hero .content .btn {
    background: var(--primary-blue);
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2em;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow to button */
}

.hero .content .btn:hover {
    background: #007BFF;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Enhance shadow on hover */
}

/* Contact Us Section */
.contact-us {
    padding: 50px 0;
    text-align: center;
}

.contact-us h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-us p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.contact-us form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-us .form-group {
    margin-bottom: 20px;
}

.contact-us label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-us input,
.contact-us textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-us button {
    background: var(--primary-blue);
    color: var(--bg-gray);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-us button:hover {
    background: #0056b3;
}

.contact-info {
    margin-top: 40px;
    text-align: left;
    max-width: 600px;
    margin: 40px auto 0;
}

.contact-info h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* Products Catalog */
.product-detail {
    padding: 50px 0;
    text-align: center;
}

.product-detail h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.product-detail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.products-catalog {
    padding: 50px 0;
    text-align: center;
}

.products-catalog h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 20px; /* Space between items */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Styles for Products Catalog */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr; /* Make each product take the full width */
    }

    .product-item {
        text-align: center; /* Center-align content for better appearance */
    }
}

.product-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    position: relative;
    background: #f9f9f9;
    padding: 20px;
}

.product-item img {
    width: 300px; /* Fixed width */
    height: 300px; /* Fixed height */
    object-fit: cover; /* Ensure images maintain aspect ratio */
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-item h3 {
    font-size: 1.5em;
    margin: 15px 0 10px;
}

.product-item p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-item .btn {
    background: var(--primary-blue);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

.product-item .btn:hover {
    background: #0056b3;
}

.product-detail p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.product-detail img {
    width: 90%;
    text-align: center;
    height: auto;
    display: block;
    margin-bottom: 30px;
}

.product-detail .btn {
    background: #007BFF;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2em;
    text-decoration: none;
    border-radius: 5px;
}

/* Footer Styles */
footer {
    background: #f9f9f9;
    color: #15141A;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

footer ul li {
    display: inline;
    margin-right: 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}

.content-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}
.image-container {
    flex: 1;
}
.image-container img {
    max-width: 100%;
    height: auto;
    display: block;
}
.table-container {
    flex: 1;
}


.full-width-div {
    width: 100%;
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    margin-top: 20px;
    text-align: justify;
}

/* Contact Page Header */
.contact-header {
    position: relative;
    height: 150px; /* Adjust height as needed */
    background-image: url('../images/contact-banner.png'); /* Add your image here */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-blue), transparent); /* Light blue to transparent gradient */
}

.contact-header h1 {
    position: relative;
    z-index: 2; /* Ensure text is above the gradient */
    color: #fff; /* White text for contrast */
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow for better readability */
}

/* Contact Page Header */
.product-header {
    position: relative;
    height: 150px; /* Adjust height as needed */
    background-image: url('../images/product-banner.png'); /* Add your image here */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-blue), transparent); /* Light blue to transparent gradient */
}

.product-header h1 {
    position: relative;
    z-index: 2; /* Ensure text is above the gradient */
    color: #fff; /* White text for contrast */
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow for better readability */
}