/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    width: auto;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #2c3e50;
    color: white;
    position: relative;
}

header .logo {
    max-width: 500px;
}

header .logo h1 {
    font-size: 32px;
    font-weight: bold;
}

header .logo p {
    margin-top: 5px;
    font-size: 15px;
    font-style: italic;
    color: rgba(255,255,255,0.7);
}

header nav {
    display: flex;
    align-items: center;
}

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

header nav ul li a {
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #18bc9c;
}

/* Mobile Hamburger Menu */
.hamburger-menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    background: #34495e;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #18bc9c;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #1abc9c;
}

/* Services Section */
.services {
    padding: 60px 20px;
    background-color: #ecf0f1;
    text-align: center;
}

.services h2 {
    font-size: 28px;
    margin-bottom: 40px;
}

.service-item {
    margin-bottom: 30px;
}

.service-item h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px;
    color: #7f8c8d;
}

/* About Section */
.about {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.about h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about p {
    font-size: 18px;
    color: #7f8c8d;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #ecf0f1;
    text-align: center;
}

.contact h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.contact form {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    padding: 15px;
    font-size: 16px;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
}

.contact button {
    background-color: #18bc9c;
    color: white;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact button:hover {
    background-color: #1abc9c;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background-color: #34495e;
    color: white;
    font-size: 14px;
}


/* Contact form and messages */
#contact-form {
    opacity: 1;
    transition: opacity 1s;
}

.success-message {
    background-color: #18bc9c;
    color: white;
    padding: 15px;
    font-size: 18px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    transition: opacity 1s ease-in-out;
}



/* Media Query for Mobile */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header .logo {
        max-width: calc(100% - 40px);
    }

    header nav {
        width: 100%;
    }

    header nav ul {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 10px;
    }

    header nav ul.active {
        display: flex;
    }

    header nav ul li a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #bdc3c7;
        text-align: center;
    }

    .hamburger-menu {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }
}