@font-face {
    font-family: 'Mulish-Bold';
    src: url('../fonts/Mulish/static/Mulish-Bold.ttf');
}

@font-face {
    font-family: 'Mulish-light';
    src: url('../fonts/MulisH/static/Mulish-Light.ttf');
}

@font-face {
    font-family: 'Oswald-Bold';
    src: url('../fonts/Oswald/static/Oswald-Bold.ttf');
}

@font-face {
    font-family: 'Oswald-Regular';
    src: url('../fonts/Oswald/static/Oswald-Regular.ttf');
}

body,
div,
section,
p,
h1,
h2,
h3 {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: "Oswald-Regular", sans-serif;
    background-color: #a46ac7;
}

.bg-header {
    margin: 0 auto;
    width: 1440px;
    position: relative;
    background-image: url('../img/hero-background.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
}

/* .bg-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(164, 106, 199, 0.2);
    z-index: 0;
} */

img {
    max-width: 100%;
}

.header {
    position: relative;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    z-index: 5;
}

.liner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 85%;
    z-index: 0;
}

.logo {
    position: absolute;
    top: 9rem;
    left: 7rem;
    padding: 1rem 0;
}

.nav-menu {
    width: 600px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.menu-icon {
    display: inline-block;
    font-size: 30px;
    width: 3em;
    color: #FFE6D7;
}

.menu-icon:hover {
    color: #FFE6D7;
    cursor: pointer;
}

.nav-link {
    text-decoration: none;
    font-size: 18px;
    color: #FFE6D7;
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    background-color: #A46AC7;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 100;
    min-width: 180px;
}

.submenu a {
    color: #FFE6D7;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.submenu a:hover {
    background-color: #f1f1f1;
}

.nav-link.active .submenu {
    display: block;
}

.hero {
    height: calc(100vh - 4px);
    display: flex;
    justify-content: start;
    align-items: center;
    background-size: cover;
    position: relative;
}

.hero-content {
    text-align: right;
    color: #eeeaea;
}

.hero-title {
    font-family: 'Oswald-Bold', sans-serif;
    font-size: 4rem;
}

.hero-subtitle {
    width: 600px;
    font-family: 'Mulish-light', sans-serif;
    font-size: 1.5rem;
}

.accordion {
    background-color: white;
    width: 90%;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-item {
    color: #333;
    cursor: pointer;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: white;
    padding: 1rem;
}

.accordion-item:hover,
.accordion-item.active {
    font-weight: bold;
}

.active .accordion-content {
    max-height: 200px;
    /* Adjust based on content */
}

.profile {
    text-align: center;
    background-color: white;
    padding: 4rem;
    margin: 2rem auto;
    width: 90%;
    max-width: 600px;
}

.portfolio-category {
    display: block;
    background-color: white;
    padding: 2rem;
    margin: 0 auto;
    width: 90%;
    max-width: 1440px;
}

.project-card {
    display: flex;
    justify-content: start;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 1rem;
    gap: 20px;
}

.project-card img {
    width: 33%;
}

.project-image {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}

.services {
    background-color: white;
    padding: 2rem;
    margin: 2rem auto;
    width: 90%;
    max-width: 600px;
}

.service-item {
    color: #333;
    margin-bottom: 1rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    margin: 2rem auto;
    width: 90%;
    max-width: 600px;
}


@media (max-width: 1024px) {

    .bg-header {
    margin: 0 auto;
    width: 900px;
    position: relative;
    background-image: url('../img/hero-background.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
}
    .nav-menu {
        width: 60%;
        display: none;
    }

    .logo {
        width: 80%;
    }
    .hero-title {
    font-family: 'Oswald-Bold', sans-serif;
    font-size: 2.2rem;
}

    .hero-subtitle {
        width: 500px;
        font-family: 'Mulish-light', sans-serif;
        font-size: 1rem;
    }
    
    .project-card {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        border-bottom: 1px solid #ddd;
        padding: 1rem;
        gap: 20px;
    }

    .project-card img {
     width: 90%;
    }
}