/* styles.css */
html,
body {
    height: 100%;
    /* Ensure the body and HTML take full height */
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #f4f4f4;
}

header {
    background-image: url('./header.jpg');
    /* Add your image path here */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: Black;
    text-align: center;
    padding: 1em 0;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

nav ul {
    background-color: #444;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: block;
}

nav ul li a.active {
    background-color: #555;
    font-weight: bold;
}

nav ul li a:hover {
    background-color: #666;
}

main {
    flex: 1;
    /* Takes up available space to push footer to the bottom */
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

section {
    background-color: white;
    margin: 10px 0;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    display: none;
    /* Sections are hidden initially */
}

h2,
h3 {
    color: #333;
}

ul {
    padding-left: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table,
th,
td {
    border: 1px solid #ccc;
}

th,
td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}

footer {
    background-color: #f0f0f0;
    padding: 10px;
    text-align: center;
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* styles.css */
.success {
    color: green;
    font-weight: bold;
}

.error {
    color: red;
    font-weight: bold;
}


img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}


/* Styling for the Contact Us form */
form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input,
textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: #007BFF;
    outline: none;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    padding: 12px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* Styling for company details */
#companyDetails {
    margin-top: 30px;
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#companyDetails h3 {
    margin-bottom: 15px;
    color: #333;
}

#companyDetails p {
    margin: 5px 0;
}

#companyDetails a {
    color: #007BFF;
    text-decoration: none;
}

#companyDetails a:hover {
    text-decoration: underline;
}


/* Sleek Section Styling */
.sleek-section {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    text-align: center;
}

.sleek-section h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.sleek-section p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Image Styling for Sections */
.section-image {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Styling for the lists */
.styled-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.styled-list li {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.styled-list li:hover {
    background-color: #f0f0f0;
}

/* Sleek Header Styling */
.sleek-header {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 40px 20px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sleek-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.sleek-header p {
    font-size: 18px;
    margin: 0;
    font-weight: 300;
}

/* Sleek Navigation Bar Styling */
.sleek-nav {
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sleek-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.sleek-nav ul li {
    margin: 0 15px;
}

.sleek-nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}

.product-card,
.product-features,
.product-specs,
.product-additional,
.product-contact {
    background-color: #ffffff;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.product-card h3,
.product-features h3,
.product-specs h3,
.product-additional h3,
.product-contact h3 {
    color: #333;
    margin-bottom: 10px;
}

.product-card ul,
.product-features ul,
.product-specs ul,
.product-additional ul,
.product-contact ul {
    padding-left: 20px;
}

.product-card ul li,
.product-features ul li,
.product-specs ul li,
.product-additional ul li,
.product-contact ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

.section-image {
    max-width: 100%;
    margin-top: 15px;
    border-radius: 5px;
}

/* Industries List in Home Section */
.industries-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.industries-list li {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 150px;
    transition: transform 0.3s, background-color 0.3s;
}

.industries-list li:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

/* Services Section */
.Services-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.Services-list li {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.Services-list li strong {
    color: #007BFF;
}
