body {
    margin: 0;
    /* background: #f5f5f5; */
    background: #fffeea;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Georgia', serif;
}

a {
    color: inherit;          /* keeps same text color */
    text-decoration: none;   /* removes underline */
}

a:hover {
    text-decoration: none; /* optional hover effect */
    color: #1f6b4f;
}

/* Card Container */
.card {
    width: 90%;
    max-width: 900px;
    /* background: #e9e6d8; */
    background: #fffeea;
    display: flex;
    padding: 40px;
    box-sizing: border-box;
    gap: 20px;
}

/* Left Section */
.left {
    /* flex: 1; */
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .logo {
    font-size: 100px;
    color: #1f6b4f;
    position: relative;
    font-weight: bold;
}

.logo::before {
    content: "👑";
    position: absolute;
    top: -50px;
    left: 30px;
    font-size: 40px;
} */

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 120%;   /* 120% of 120px = 144px */
    height: auto;
    object-fit: contain;
}

/* Optional: if you still want crown above image */
/* .logo::before {
    content: "👑";
    position: absolute;
    top: -40px;
    font-size: 30px;
} */

.logo::before {
    top: -50px;
    font-size: 35px;
}

/* Right Section */
.right {
    flex: 2;
    display: flex;
    flex-direction: column;   /* stack vertically */
    justify-content: space-between; /* push top & bottom apart */
    padding-left: 60px;
    border-left: 3px solid #1f6b4f;
}

/* Optional spacing inside bottom */
.bottom {
    margin-top: 20px;
}

.tagline {
    font-size: 22px;
    margin-bottom: 5px;
    color: #1f6b4f;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.name {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #1f6b4f;
    font-family: 'Noto Serif Ethiopic', serif;
}

.role {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.contact {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.bio {
    border: 2px solid #1f6b4f;
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    font-family: 'Noto Serif Ethiopic', serif;

}

.slider-container {
    width: 100%;
    /* max-width: 1000px; */
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-slide {
    width: 100%;
    min-height: 500px;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card {
    display: flex;
    gap: 20px;
}

.card-slide-content h1 {
    font-size: 60px;
    color: #1f6b4f;
    margin-bottom: 10px;
}

.card-slide-content p {
    font-size: 18px;
    color: #333;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.controls button {
    background: #1f6b4f;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.controls button:hover {
    opacity: 0.9;
}

.portfolio-wrapper {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portfolio-title {
    font-family: 'Noto Serif Ethiopic', serif;
    font-size: 54px;
    color: #1f6b4f;
    margin-bottom: 120px;
    font-weight: 400;
}

.portfolio-tags {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 40px;
}

.portfolio-tag {
    border: 3px solid #1f6b4f;
    border-radius: 16px;
    padding: 14px 18px;
    color: #1f6b4f;
    font-size: 28px;
    font-family: 'Noto Serif Ethiopic', serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
}

.search-icon {
    width: 28px;
    height: 28px;
    border: 2px solid #1f6b4f;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.search-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: #1f6b4f;
    right: -7px;
    bottom: -2px;
    transform: rotate(45deg);
}

.tag-1 {
    transform: rotate(-8deg);
}

.tag-2 {
    transform: rotate(8deg);
}

.tag-3 {
    transform: rotate(1deg);
}

.tag-4 {
    transform: rotate(8deg);
}

/* 📱 Tablet */
@media (max-width: 768px) {
    .portfolio-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .portfolio-tag {
        font-size: 20px;
        padding: 10px 14px;
    }

    .card {
        flex-direction: column;
        padding: 25px;
        text-align: center;
    }

    .right {
        border-left: none;
        padding-left: 0;
    }

    .logo {
        font-size: 80px;
    }

    .logo::before {
        top: -40px;
        left: 20px;
        font-size: 30px;
    }

    .card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .card-slide-content h1 {
        font-size: 42px;
    }
}

/* 📱 Mobile */
@media (max-width: 480px) {
    .portfolio-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .portfolio-tags {
        gap: 20px;
    }

    .portfolio-tag {
        font-size: 14px;
        padding: 8px 12px;
    }

    .search-icon {
        width: 18px;
        height: 18px;
    }

    .search-icon::after {
        width: 8px;
        right: -5px;
    }
    
    .card {
        padding: 20px;
    }

    .logo {
        font-size: 60px;
    }

    .logo::before {
        top: -30px;
        left: 15px;
        font-size: 25px;
    }

    .tagline {
        font-size: 14px;
    }

    .name {
        font-size: 22px;
    }

    .bio {
        font-size: 12px;
    }

    .card,
    .card-slide {
        padding: 20px;
    }

    .card-slide-content h1 {
        font-size: 32px;
    }
}