/* Reset CSS and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Header Styles */
header {
    background-color: #1A1A1A;
    padding: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 100px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px;
}

/* Hero Section Styles */
#hero {
    background-image: url('../images/header.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000;
    position: relative;
}

#hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Hero Button Styles */
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1A1A1A;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

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

/* About Section Styles */
#about {
    padding: 50px;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#about img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

#about h2 {
    flex-basis: 100%;
    margin-bottom: 20px;
}

#about p {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 20px;
}

/* Services Section Styles */
#services {
    padding: 50px;
    background-color: #f9f9f9;
    clear: both;
}

/* Portfolio Section Styles */
#portfolio {
    padding: 50px;
    background-color: #fff;
}

/* Testimonials Section Styles */
#testimonials {
    padding: 50px;
    background-color: #f9f9f9;
}

/* Contact Section Styles */
#contact {
    padding: 50px;
    background-color: #fff;
}

/* Footer Styles */
footer {
    background-color: #1A1A1A;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer p {
    font-size: 14px;
    margin-bottom: 10px;
}

footer ul {
    list-style: none;
    margin-bottom: 10px;
}

footer ul li {
    display: inline-block;
    margin-right: 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        display: none;
    }

    nav ul.open {
        display: flex;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    nav .menu-icon {
        display: block;
        cursor: pointer;
    }

    /* Profile Picture Responsive Styles */
    #about img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Profile Picture Responsive Styles */
    #about img {
        width: 50%;
        height: auto;
        margin-right: 20px;
        float: left;
    }

    #about h2,
    #about p {
        flex-basis: 100%;
        text-align: center;
    }
}

@media (min-width: 1025px) {
    /* Profile Picture Responsive Styles */
    #about img {
        width: calc(33.33% - 20px);
        height: auto;
        margin-right: 20px;
        float: left;
    }

    #about h2,
    #about p {
        flex-basis: calc(66.66% - 20px);
        text-align: left;
    }
}