/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    height: 100%;
  margin: 0;
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 8%;
    background: #fff;
    flex-wrap: wrap;
}

.hero-text {
    max-width: 50%;
}

.hero-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: #f9a825;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-buttons a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.view-btn {
    background-color: #0a3d2c;
    color: #fff;
}

.hire-btn {
    border: 2px solid #0a3d2c;
    color: #0a3d2c;
}

/* Visual group */
.hero-visual-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    right: 70px;
}

.hero-image-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.hero-image-circle {
    position: absolute;
    bottom: -70px;
    left: 50px;
    width: 350px;
    height: 350px;
    background: #f9a825;
    border-radius: 50%;
    z-index: 1;
}

.hero-image-container img {
    position: relative;
    z-index: 2;
    width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

/* Skill labels */
.skill-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.skill-label {
    position: relative;
    background-color: #0f4130;
    color: white;
    padding: 6px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
    z-index: 3;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
}

.arrow-left {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #f4fffb;
}

.arrow-right {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #f4fffb;
}

.skill-left {
    margin-top: 0;
    top: 20px;
    left: -70px;
}

.skill-right {
    margin-top: 0;
    top: -250px;
    left: 150px;
}

.box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a3d2c;
    margin-top: -30px;
    height: 40px;
    width: 100%;
    max-width: 1340px;
    margin-left: auto;
    margin-right: auto;
    transform: skewY(-2deg);
    box-sizing: border-box;
    padding: 0 20px;
}

.boxx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgb(88, 88, 88);
    padding: 10px 20px;
    background: #f9a825;
    margin-top: -40px;
    height: 40px;
    width: 100%;
    max-width: 1340px;
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
    transform: skewY(0.5deg);
    box-sizing: border-box;
    z-index: 4;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: flex-start;
    }

    .hero-text {
        max-width: 60%;
        text-align: left;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-visual-group {
        max-width: 40%;
        left: -15px;
        bottom: -120px;
    }

    .hero-image-container {
        width: 220px;
        height: 220px;
    }

    .hero-image-circle {
        width: 220px;
        height: 220px;
        bottom: -10px;
        left: 5px;
    }

    .hero-image-container img {
        width: 240px;
        height: 240px;
    }

    .skill-label {
        font-size: 12px;
        padding: 4px 24px;
        margin: 8px;
    }

    .arrow-left {
        left: 8px;
    }

    .arrow-right {
        right: 8px;
    }

    .skill-left {
        top: -20px;
        left: -40px;
    }

    .skill-right {
        top: -250px;
        left: 110px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 22px;
    }

    .hero-text {
        max-width: 55%;
    }

    .hero-visual-group {
        max-width: 45%;
    }

    .hero-image-container {
        width: 180px;
        height: 180px;
    }

    .hero-image-circle {
        width: 180px;
        height: 180px;
    }

    .hero-image-container img {
        width: 200px;
        height: 200px;
    }

    .skill-label {
        font-size: 10px;
        padding: 3px 20px;
        margin: 10px;
    }

    .arrow-left {
        left: 6px;
    }

    .arrow-right {
        right: 6px;
    }

    .skill-left {
        top: 5px;
        left: -20px;
    }

    .skill-right {
        top: -120px;
        left: 60px;
    }
}
