/* General Styling */
body {
    font-family: 'Comfortaa', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #FFFFFF; /* White text for readability */
    background: radial-gradient(circle, #013979, #069494); /* Gradient background */
}

/* Header Styling */
header {
    background: linear-gradient(to right, #013A63, #06B6D4); /* Deep Blue to Teal */
    color: #FFFFFF; /* White text */
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center content */
}

.header-content {
    display: flex;
    flex-direction: column; /* Stack the logo and nav-bar vertically */
    align-items: center;
    gap: 1rem; /* Add spacing between logo and nav-bar */
}

.logo {
    height: 80px;
    width: auto; /* Maintain aspect ratio */
}

/* Navigation Bar */
.nav-bar {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center; /* Center links */
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-bar a {
    text-decoration: none;
    color: #FFFFFF; /* White links */
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s;
}

.nav-bar a:hover {
    background-color: #06B6D4; /* Teal hover effect */
    transform: scale(1.05);
}

/* Main Content */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

.services-section h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #06B6D4;
    margin-bottom: 2rem;
    text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service {
    background: rgba(255, 255, 255, 0.1); /* Translucent card background */
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.service h3 {
    font-size: 1.8rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
}

.service p {
    font-size: 1rem;
    line-height: 1.6;
    color: #F0F0F0; /* Light gray text */
    margin-bottom: 1.5rem;
}

.service-button {
    display: inline-block;
    font-size: 1rem;
    color: #06B6D4;
    font-weight: bold;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #06B6D4;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-button:hover {
    background-color: #06B6D4;
    color: #FFFFFF;
}

/* Footer Styling */
footer {
    background: linear-gradient(to top, #013979, #06B6D4); /* Gradient background */
    color: #FFFFFF;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

.footer-content a {
    color: #06B6D4;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.footer-content a:hover {
    color: #E63946; /* Red hover effect */
}

.footer-content p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem; /* Reduce spacing for smaller screens */
    }

    .nav-bar {
        flex-direction: column; /* Stack navigation links vertically */
        gap: 1rem;
    }

    .services-section h1 {
        font-size: 2.5rem;
    }

    .service {
        padding: 1rem;
    }

    .service h3 {
        font-size: 1.6rem;
    }

    .service p {
        font-size: 0.9rem;
    }

    .service-button {
        font-size: 0.9rem;
    }

    footer {
        padding: 1rem;
    }
}
