/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f9;
    color: #333;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 5%;
    background-color: #2e61fc;
    color: #fff;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    gap: 0.75rem;
}

.logo img {
    width: 20%; /* Adjusted to be relative */
    height: auto;
    margin-right: 0.5rem; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo a span {
    font-size: inherit;     
    font-family: inherit;   
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f0a500;
}

.burger-menu {
    display: none;
}

@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1.5rem;
        position: absolute;
        top: 4rem;
        right: 5%;
        background-color: #2e61fc;
        padding: 1rem;
        border-radius: 5px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    .nav-links.active {
        display: flex;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    background-color: #333;
    color: #000000;
    height: 60vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('../Designer.png') center/cover no-repeat;
    opacity: 0;
    animation: fadeUp 1.5s ease-in-out forwards;
    padding: 1rem
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #f0a500;
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #d48800;
}

/* Services Section */
.services {
    padding: 1rem 5%;
    background-color: #fff;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 35%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: #2e61fc;
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.service-link:hover {
    background-color: #f0a500;
}

/* Contact Section */
.contact {
    padding: 0.25rem 5%; 
    background-color: transparent; 
    text-align: center;
    margin: 1rem auto; 
    max-width: 90%; 
    box-shadow: none;
    border-radius: 0; /
}

.contact h2 {
    font-size: 2rem; 
    margin-bottom: 1rem; 
    color: #2e61fc;
}

.contact-info {
    max-width: 70%; 
    margin: 0 auto;
    line-height: 1.4; 
}

.contact-info address {
    font-style: normal;
    margin-bottom: 1rem; 
    font-size: 1.125rem;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 0.5rem; 
    color: #555;
}

.contact-info a {
    color: #2e61fc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #f0a500;
}


/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #222;
    color: #fff;
    font-size: 0.875rem;
}

/* Hero Section Animation */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
