/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F5F5F5; /* Light gray base */
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #0089A9; /* Teal from logo */
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-img {
    height: 50px;
    width: auto;
    vertical-align: middle;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem; /* Added padding for better spacing */
}

.nav-links a.active,
.nav-links a:hover {
    color: #fff; /* White text */
    font-weight: 700; /* Bold font */
    background-color: rgba(255, 255, 255, 0.1); /* Subtle white hover background */
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* Hero Section */
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding: 0 1rem; /* Added padding for mobile */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 137, 169, 0.5); /* Adjusted to match #0089A9 */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px; /* Centered content */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5); /* Added shadow for readability */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5); /* Added shadow */
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0089A9; /* Consistent teal */
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
    font-size: 1.1rem; /* Slightly larger button */
}

.cta-button:hover {
    background-color: #006D87; /* Darker shade of #0089A9 */
}

/* Sections */
.section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #fff;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0089A9;
}

.section p {
    margin: 0 auto 2rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid #0089A9;
    text-align: center;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    margin-bottom: 1rem;
}

.product-card .cta-button {
    background-color: #0089A9; /* Ensure product page buttons match */
    color: #fff;
}

.product-card .cta-button:hover {
    background-color: #006D87;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    text-align: left;
    font-weight: 500;
    color: #333;
    font-size: 1.1rem; /* Slightly larger for emphasis */
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-info p {
    margin: 0.5rem 0;
    color: #333;
    font-size: 1rem; /* Consistent size */
    line-height: 1.4; /* Better readability */
    text-align: center; /* Added to center-align contact info */
}

/* Buttons */
.cta-button.secondary {
    background-color: #0089A9; /* Matches the teal theme */
}

.cta-button.secondary:hover {
    background-color: #006D87; /* Darker shade for hover consistency */
}

/* Footer and Contact Text Improvements */
footer {
    background-color: rgba(0, 137, 169, 0.1); /* Subtle teal tint */
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    color: #333;
    font-size: 0.9rem; /* Slightly smaller for balance */
}

/* About Content */
.about-content {
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: left;
}

.about-content p {
    margin: 1rem 0;
    color: #333;
    text-align: justify;
}

/* Table-like company-details styling */
.company-details {
    margin: 0 auto 2rem;
    padding: 1rem;
    border-collapse: separate;
    border-spacing: 12px 8px; /* space between cells */
    border: 1px solid #e6e6e6; /* light border */
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
}

.company-details th,
.company-details td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #f5f5f5;
}

.company-details tr:last-child th,
.company-details tr:last-child td {
    border-bottom: none;
}

.company-details th {
    background: #fafafa;
    font-weight: 600;
}

.company-details p {
    margin: 0.5rem 0;
    color: #333;
}

/* Social Media */
.social-media {
    margin-top: 1rem;
    text-align: center;
}

.social-media a {
    color: #0089A9; /* Teal to match theme */
    margin: 0 0.5rem;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #006D87; /* Darker teal on hover */
}

.social-media i {
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #0089A9;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .logo-img {
        height: 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }
}