/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #004287;
    text-transform: capitalize;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #004287;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 5px;
}

nav a:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Header (Blue Box) */
header {
    background-color: #004287;
    color: #FFFFFF;
    padding: 20px 0;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 60px;
    /* Match the height of the fixed navbar */
}
header p {
    font-size: 24px;
    color:  white;
}

/* Container */
.container {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    /* Add space below the header */
}

/* Products Section */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    justify-content: center;
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.product {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.product img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product:hover img {
    transform: scale(1.05);
}

.product h3 {
    margin: 10px 0;
    color: #004287;
    font-size: 14px;
    font-weight: bold;
}

.call-btn {
    background: #004287;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

.call-btn:hover {
    background: #003366;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #004287;
    color: #FFFFFF;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
}

/* Blog Section */
.blog {
    width: 90%;
    max-width: 700px;
    margin: 20px auto;
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.blog h3 {
    font-size: 18px;
    color: #004287;
    margin-bottom: 10px;
    font-weight: bold;
}

.blog p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        font-size: 20px;
        padding: 15px 0;
    }

    nav {
        padding: 8px 0;
    }

    nav a {
        font-size: 12px;
        padding: 6px 10px;
        margin: 0 3px;
    }

    .container {
        padding: 15px;
    }

    .products {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }

    .product {
        padding: 10px;
    }

    .product img {
        height: 100px;
    }

    .product h3 {
        font-size: 12px;
    }

    .call-btn {
        padding: 6px 12px;
        font-size: 10px;
    }

    .blog {
        width: 95%;
        padding: 10px;
    }

    .blog h3 {
        font-size: 16px;
    }

    .blog p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    header {
        font-size: 18px;
        padding: 10px 0;
    }

    nav {
        padding: 6px 0;
    }

    nav a {
        font-size: 10px;
        padding: 5px 8px;
        margin: 0 2px;
    }

    .container {
        padding: 10px;
    }

    .products {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }

    .product {
        padding: 8px;
    }

    .product img {
        height: 80px;
    }

    .product h3 {
        font-size: 10px;
    }

    .call-btn {
        padding: 5px 10px;
        font-size: 8px;
    }

    .blog {
        width: 100%;
        padding: 8px;
    }

    .blog h3 {
        font-size: 14px;
    }

    .blog p {
        font-size: 10px;
    }
}