/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    padding-top: 80px; /* Add padding to avoid content overlapping the fixed header */
}

/* Header Section */
header {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: fixed; /* Fix the header at the top of the viewport */
    top: 0;
    left: 0;
    background-color: #ffffff; /* Ensure header has a background color */
    z-index: 1000; /* Keep header above other elements */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow for better visibility */
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0070C0 ; /* Dark blue background */
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.top-bar .contact-info {
    display: flex;
    gap: 2rem;
    align-items: center;
    color: #ffffff; /* White text color */
    font-size: 0.9rem;
}

.top-bar .contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar .contact-info span i {
    font-size: 1rem;
}

.get-quote-button {
    background-color: #ffffff; /* Yellow button background */
    color: #0070C0; /* Dark blue text */
    padding: 0.6rem 1rem; /* Slightly larger button */
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.8rem; /* Adjusted font size for balance */
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.get-quote-button:hover {
    color: #000000; /* Darker text color on hover */
    background-color: #176071; /* Slightly darker yellow on hover */
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Navbar */
.navbar {
    padding: 0.25rem 10%;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo {
    margin-right: 2rem;
}

.navbar .logo img {
    max-height: 60px; /* Adjust the logo size */
}

.menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.menu li {
    position: relative;
}

.menu a {
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #06038D;
}

/* Submenu */
.submenu {
    position: fixed;
    top: 17.5%;
    left: 10%;
    width: 80vw;
    height: 60vh;
    background-color: #0070C0;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    animation: slideDown 0.3s ease-in-out;
}

.submenu h4 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.submenu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Submenu Styling */
.submenu ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.submenu ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 200px;
}

.submenu ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.submenu ul li a img {
    width: 80px; /* Adjust size as needed */
    height: 80px;
    margin-bottom: 0.5rem;
    border-radius: 10px; /* Optional: Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add depth */
}

.submenu ul li a:hover {
    color: #2aabcc;
}

.submenu ul li p {
    font-size: 0.85rem;
    color: #d1d1d1;
    line-height: 1.4;
}

.submenu ul li:hover img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}



/* Show submenu on hover */
.menu li:hover .submenu {
    display: flex;
}
/* Contact Details Styling */
.submenu .contact-details p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #ffffff; /* Darker gray for text */
}
.submenu .contact-details a {
    color: #0070C0; /* Blue color for email link */
    text-decoration: none;
    font-weight: bold;
}



/* Slide-down animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Section Styling */
.category-section {
    padding-top: 100px;
    background: #f9f9f9;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}
.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px;
    padding: 40px;

}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    text-align: center;
}

.category-item:hover {
    transform: translateY(-10px); /* Lift on hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.1); /* Zoom effect on hover */
}
.category-section h2 {
    font-size: 2rem;
    color: #000000;
    text-align: center;
    margin: 20px;
}

.category-item h2 {
    font-size: 1.5rem;
    color: #000000; /* Consistent blue theme */
    margin-bottom: 10px;
}

.category-item p {
    font-size: 1rem;
    color: #666;
}
/* Footer Section */
.footer {
    background-color: #0070C0 ;
    color: #ffffff;
    padding: 3rem 2rem;
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Horizontal Sections */
.footer-sections-horizontal {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    max-width: 250px;
    text-align: center;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 0.5rem;
}

.footer-section p,
.footer-section ul {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-section ul li a:hover {
    color: #000000;
}

/* Follow Us */
.footer-section.follow-us {
    text-align: center;
    width: 100%;
}

.footer-section.follow-us .social-icons {
    display: flex;
    flex-direction: column; /* Change layout to vertical */
    align-items: center;
    gap: 1rem; /* Space between icons */
}

.footer-section.follow-us .social-icons a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.2rem;
    color: #ffffff;
    transition: color 0.3s ease-in-out, transform 0.3s ease;
}

.footer-section.follow-us .social-icons a:hover {
    color: #000000; /* Change color on hover */
    transform: scale(1.1); /* Slight scale-up on hover */
}

.footer-section.follow-us .social-icons i {
    font-size: 1.5rem; /* Size of the icons */
}

/* Divider Line */
.footer-divider {
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 1rem;
}

.menu-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Take the full width */
    height: 100%;
    color: #000000;
    z-index: 1000;
    display: none; /* Hidden by default */
    flex-direction: column;
    overflow: hidden;
}

.menus-container {
    display: flex;
    position: relative;
    height: 100%;
    width: auto; /* Dynamic width */
    overflow-x: auto;
    overflow-y: hidden;
    transition: width 0.3s ease-in-out; /* Smooth transition when resizing */
}
.menu-section.open {
    display: flex; /* Show menu when open */
}

.menu-list {
    flex-shrink: 0;
    width: 300px; /* Fixed width for each menu */
    height: 100%;
    background-color: #4c96bf;
    overflow-y: auto;
}

.menu-header {
    padding: 1rem;
    background-color: #4c96bf;
    display: block;
    justify-content: space-between;
    align-items: center;
    width:100%;
}

.menu-header h2 {
    font-size: 1.2rem;
}

.menu-header button {
    background: none;
    color: #000000;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list ul li {
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-list ul li:hover {
    background-color: #17688e;
}
.hidden {
    display: none;
}
