/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Section */
header {
    background-color: #0077b6; /* Main color from your palette */
    padding: 15px 0;  
    overflow: hidden;

}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    max-height: 90px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}


header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-left: 25px; /* Space between menu items */
}

header nav ul li a {
    color: #caf0f8; /* Light color from your palette */
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #48cae4; /* Hover color */
}


.quote-button {
    background-color: #00b4d8; /* Accent color */
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.quote-button:hover {
    background-color: #0096c7; /* Darker accent color on hover */
}


/* Social Media Icons */
.social-icons {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.social-icons a {
    margin-left: 10px; /* Space between icons */
    transition: transform 0.3s ease;
}

.social-icons a img {
    width: 20px; /* Adjust icon size */
    height: 20px;
}

.social-icons a:hover {
    transform: scale(1.2); /* Slightly enlarge icon on hover */
}


/* Adjust for tablets and smaller devices */
@media (max-width: 768px) {
    .header-content {
        display: flex;
        flex-direction: column; /* Stack the content vertically */
        text-align: center;
    }

    header nav ul {
        display: flex;
        justify-content: center; /* Horizontally center the menu */
        flex-direction: row; /* Set navigation links in a horizontal line */
        padding: 0;
        margin: 10px 0;
    }

    header nav ul li {
        margin-left: 15px; /* Adjust spacing between menu items */
    }

    .social-icons {
        display: flex;
        justify-content: center; /* Center the social icons */
        margin-top: 10px;
    }

    .social-icons a {
        margin-left: 10px; /* Spacing between social icons */
    }

    .quote-button {
        margin-top: 15px;
        display: inline-block; /* Ensures the button appears as a block element */
    }
}

/* Adjust for smaller mobile devices (phones) */
@media (max-width: 480px) {
    header .logo img {
        max-height: 70px; /* Smaller logo */
    }

    header nav ul li a {
        font-size: 14px; /* Smaller font size for links */
    }

    .quote-button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .social-icons a img {
        width: 20px; /* Keep icon size smaller on phones */
        height: 20px;
    }
}

 /* Product first section CSS */
 .body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;

}


.product-header {
    background: url('img/slider3.jpg') center center/cover;
    padding: 150px 0;
    text-align: center;
    color: white;
    background-color: black;
}

.product-header h2 {
    text-align: center;
    font-size: 2.5em;
    margin: 0;

}

.product-header nav {
    margin-top: 10px;
}

.product-header nav a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}







/* Social Icons Container */
.social-icon {
    position: fixed; /* Keeps the icons fixed on the screen */
    top: 50%; /* Positions the container vertically centered */
    left: 10px; /* Adjust the distance from the left edge */
    transform: translateY(-50%); /* Centers the icons vertically */
    z-index: 1000; /* Ensures the icons stay on top of other elements */
    display: flex;
    flex-direction: column; /* Aligns icons in a vertical column */
    align-items: center;
    
}

/* Individual Icon Links */
.social-icon a {
    display: block;
    transition: transform 0.3s ease;
    margin: 10px 0; /* Adjust spacing between icons */
}

/* Icons Size */
.social-icon img {
    width: 25px; /* Adjust the size of the icons */
    height: auto;
    display: block;
   
  
}

.social-icon a:hover {
    transform: scale(1.2); /* Slightly enlarge icon on hover */
}





/* General product css  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.header {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
}

h1 {
    margin: 0;
}

.products-container {
    display: flex;
    flex-wrap: wrap; /* Allows the items to wrap based on width */
    justify-content: space-between; /* Distributes space between cards */
    padding: 20px;
    gap: 20px; /* Adds space between product cards */
}

.product-card {
    flex: 1 1 calc(33.33% - 20px); /* Three items per row, accounting for gaps */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    max-width: 300px; /* Optional, controls max size of product cards */
}

.product-card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain; /* Keeps image aspect ratio */
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.product-card a {
    display: inline-block;
    background-color: #023e8a; 
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.product-card a:hover {
    background-color:   #00b4d8; 
}

.product-card:hover {
    transform: translateY(-10px); /* Smooth hover effect */
}

/* Media Queries for Responsive Layout */
@media screen and (max-width: 900px) {
    .product-card {
        flex: 1 1 calc(50% - 20px); /* Two items per row on medium screens */
    }
}

@media screen and (max-width: 600px) {
    .product-card {
        flex: 1 1 100%; /* One item per row on small screens */
    }
}



/* css for view details */
 /* Modal */
 .modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 15px;
    border: 1px solid #888;
    width: 60%; /* Adjusted to make the modal smaller */
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Layout */
.modal-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.modal-image {
    width: 40%; /* Reduced image width */
    padding-right: 10px;
}

.modal-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.modal-details {
    width: 55%; /* Adjusted form section width */
}

/* Form Styling */
form {
display: flex;
flex-direction: column;
align-items: center; /* Centers the form contents horizontally */
}

label {
text-align: center; /* Center the label text */
width: 100%; /* Ensure the label takes full width */
font-size: 14px;
margin-bottom: 5px; /* Space between label and input */
color: black; /* Make label color professional */
}

input, textarea {
width: 100%;
padding: 8px; /* Reduced padding */
margin: 5px 0;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 12px;
}

textarea {
height: 60px; /* Reduced textarea height */
resize: none;
}

.submit-button {
background-color: #333;
color: #fff;
padding: 8px;
border: none;
border-radius: 4px;
font-size: 14px;
cursor: pointer;
width: 100%; /* Ensures the button is full width */
text-align: center;
}

.submit-button:hover {
background-color: #555;
}

h3 {
font-size: 18px; /* Smaller heading */
margin-bottom: 10px;
text-align: center; /* Center the heading */
}

p {
font-size: 12px;
color: #666;
text-align: center; /* Center the paragraph */
}







/* Footer General Styles */
footer {
    background-color: #03045e; /* Dark primary color from your palette */
    color: #48cae4;
    padding: 40px 10;
    overflow: hidden;

}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    width: 30%;
    margin-bottom: 20px;


}

.footer-section h3 {
    text-align: left;
    font-size: 18px;
    margin-bottom: 12px;
    color: #90e0ef; /* Light color from your palette */
}

.footer-section p,
.footer-section a {
    text-align: left;
    color: #caf0f8; /* Text color */
    font-size: 14px;
    margin: 5px 0;
    text-decoration: none;
}

.footer-section a:hover {
    color: #48cae4; /* Hover effect color */
}

.footer-bottom {
    background-color: #0077b6; /* Darker color for footer bottom */
    text-align: center;
    padding: 15px 0;
}

.footer-bottom p {
    margin: 40;
    font-size: 14px;
    color: white; 
}

/* Scroll Buttons General Styles */
.scroll-buttons {
    position: fixed;
    right: 20px; /* Distance from the right edge of the screen */
    bottom: 20px; /* Distance from the bottom edge of the screen */
    display: flex;
    flex-direction: column;
    z-index: 1000; /* Ensure the buttons are on top of other elements */
}

.scroll-btn {
    background-color: #023e8a; /* Button background color */
    color: #fff;
    border: none;
    padding: 10px;
    margin: 5px 0;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.scroll-btn:hover {
    background-color: #00b4d8; /* Hover color */
}

.scroll-btn:focus {
    outline: none;
}

.scroll-buttons button:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .scroll-btn {
        padding: 8px;
        font-size: 16px;
    }
}




