body {
    font-family: 'Josefin Sans', sans-serif;
    margin: 0;
    background-color: #252525; /* Charcoal */
    color: #f4f4f4; /* Light Grey */
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #252525;
}

header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

nav {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    box-sizing: border-box;
    background-color: rgba(37, 37, 37, 0.85);
    backdrop-filter: blur(10px);
}

nav .logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #76d7c4; /* Mint Green */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #f4f4f4;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #76d7c4;
}

.hero h1 {
    font-size: 3.5em;
    margin: 0;
    font-weight: 700;
    color: #76d7c4;
}

.hero p {
    font-size: 1.5em;
    color: #a9a9a9; /* Medium Grey */
}

#success-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(37, 37, 37, 0.9); /* Darker Charcoal with opacity */
    color: #f4f4f4; /* Light Grey */
    padding: 15px 30px;
    border-radius: 5px;
    z-index: 1000;
    opacity: 1;
    border: 1px solid #76d7c4; /* Mint Green border */
}

#success-message.fade-out {
    transition: opacity 0.5s ease-in-out;
}


#success-message.hidden {
    opacity: 0;
    pointer-events: none; /* Prevents interaction when hidden */
}

section {
    padding: 100px 50px;
    text-align: center;
}

h2 {
    font-size: 3em;
    margin-bottom: 60px;
    font-weight: 700;
    color: #76d7c4;
}

.service-container, .about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-box, .about-box {
    background-color: rgba(45, 45, 45, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(118, 215, 196, 0.2);
    padding: 40px;
    border-radius: 15px;
    width: 320px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-box p, .about-box p {
    font-size: 1.1em;
}

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

.service-box i, .about-box i {
    font-size: 3em;
    color: #76d7c4;
    margin-bottom: 20px;
}

.service-box h3, .about-box h3 {
    font-size: 1.8em;
    margin-top: 0;
    font-weight: 600;
    color: #f4f4f4;
}

#about {
    background-color: transparent;
}

#contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#contact input,
#contact textarea {
    width: 550px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #76d7c4;
    background-color: #252525;
    color: #f4f4f4;
    font-size: 1.1em;
}

#contact textarea {
    height: 180px;
}

#contact button {
    padding: 20px 40px;
    border-radius: 10px;
    border: none;
    background-color: #76d7c4;
    color: #252525;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact button:hover {
    background-color: #63bba9;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        padding: 0;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    #contact input,
    #contact textarea {
        width: 100%;
    }
}
