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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: disc inside;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

h1, h2, h3, h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Header */
header {
    background-color: #003366;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    transition: opacity 0.3s ease;
}

nav ul li a:hover {
    opacity: 0.8;
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
}

.hero {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: white;
    color: #003366;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: #e0e0e0;
}

/* About Section */
.about-section p {
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.certifications ul {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

/* Services & Products Tabs */
.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab {
    padding: 0.75rem 1.5rem;
    border: none;
    background-color: #e0e0e0;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.tab.active {
    background-color: #003366;
    color: white;
}

.tabcontent {
    display: none;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.tabcontent.active {
    display: block;
}

/* Projects Showcase */
.projects-showcase .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.project-item img {
    height: 200px;
    object-fit: cover;
}

.project-item h4 {
    padding: 1rem;
    margin: 0;
}

.project-item p {
    padding: 0 1rem 1rem;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

form input,
    form textarea {
        width: 100%;
        padding: 0.8rem;
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1rem;
    }

    form button {
        padding: 0.8rem 2rem;
        background-color: #003366;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1rem;
        transition: background-color 0.3s ease;
    }

    form button:hover {
        background-color: #002244;
    }

    /* Footer */
    footer {
        background-color: #003366;
        color: white;
        text-align: center;
        padding: 2rem;
        font-size: 0.9rem;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        nav ul {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }

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

        .btn {
            font-size: 1rem;
        }
    }

    /* Services Overview */
    .services-overview {
        padding: 4rem 2rem;
        background-color: #f0f4f8;
        text-align: center;
    }

    .services-overview h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #003366;
    }

    .service-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        justify-content: center;
        max-width: 1100px;
        margin: auto;
    }

    .service-card {
        background: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

    .service-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .service-card h3 {
        padding: 1rem;
        margin: 0;
        font-size: 1.2rem;
        color: #003366;
    }

    .service-card p {
        padding: 0 1rem 1rem;
        font-size: 0.95rem;
        color: #555;
    }
