/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a192f; /* Dark blue background */
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}

header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

.logo img {
    height: 65px;
    width: auto;
}

header h1 {
    font-size: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background-color: #60a5fa;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

nav a:hover {
    background-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

main {
    margin-top: 120px;
}

section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#hero {
    text-align: center;
    background-color: #1e293b; /* Darker blue-gray */
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    padding: 2rem;
}

#hero h2 {
    margin-bottom: 1rem;
    color: #60a5fa; /* Light blue for headings */
}

#services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Keyframes for animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service {
    background-color: #1e293b; /* Dark blue-gray */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0; /* Start invisible */
}

.service:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.7);
}

.service:nth-child(1) { animation-delay: 0.1s; }
.service:nth-child(2) { animation-delay: 0.2s; }
.service:nth-child(3) { animation-delay: 0.3s; }
.service:nth-child(4) { animation-delay: 0.4s; }
.service:nth-child(5) { animation-delay: 0.5s; }
.service:nth-child(6) { animation-delay: 0.6s; }

#contact form {
    max-width: 400px;
    margin: 1rem auto;
}

#contact input, #contact textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #60a5fa;
    border-radius: 4px;
    background-color: #1e293b;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
}

#contact button {
    background-color: #60a5fa;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

#contact button:hover {
    background-color: #3b82f6;
}

.service-icon {
    font-size: 2rem;
    color: #60a5fa;
    margin-bottom: 0.5rem;
    display: block;
}

#consultation {
    background-color: #334155; /* Even darker */
    text-align: center;
    border-radius: 8px;
    margin-bottom: 2rem;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

#consultation h3 {
    color: #60a5fa;
}

#contact {
    background-color: #1e293b;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    padding: 2rem;
}

#contact h3 {
    color: #60a5fa;
}

#contact a {
    color: #ffffff;
    text-decoration: none;
}

#contact a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #007bff;
    color: white;
    margin-top: 2rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

.footer-logo {
    height: 80px; /* Increased from 40px for more prominence */
    width: auto;
    margin-bottom: 1rem; /* Increased margin for better spacing */
    filter: brightness(1.1); /* Slight brightness boost for visibility */
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 0.4rem;
        gap: 0;
    }

    .logo img {
        height: 35px;
    }

    .brand-name {
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.2;
    }

    nav a {
        display: none;
    }

    main {
        margin-top: 95px;
    }

    #hero {
        padding: 1rem;
    }

    #hero h2 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    #hero p {
        font-size: 0.9rem;
    }

    section {
        padding: 1rem;
    }

    #services {
        grid-template-columns: 1fr;
    }
}