
:root {
    --bg-main: #f9fafb;
    --text-main: #1f2937;
    --text-secondary: #4b5563;
    --accent: #111827;
    --bubble-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.08);
}

body.dark-mode {
    --bg-main: #0f172a;
    --text-main: #e5e7eb;
    --text-secondary: #9ca3af;
    --accent: #f9fafb;
    --bubble-bg: #111827;
    --shadow: rgba(0, 0, 0, 0.4);
}


.whoami-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 20px;
    background-color: var(--bg-main);
    color: var(--text-main);
    transition: 0.3s;
}


.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .tag {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.section-header h4 {
    font-size: 2rem;
    margin: 0.5rem 0 1rem;
}

.section-header .subtitle {
    color: var(--text-secondary);
    max-width: 700px;
    margin: auto;
}

.whoami-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}


.whoami-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}


.whoami-item.left {
    flex-direction: row;
}

.whoami-item.right {
    flex-direction: row-reverse;
}


.whoami-image img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px var(--shadow);
}


.whoami-text {
    max-width: 65%;
    background: var(--bubble-bg);
    padding: 1rem 1.2rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px var(--shadow);
    position: relative;
    transition: 0.3s;
}


.whoami-text h3 {
    margin-bottom: 0.3rem;
    font-size: 1.4rem;
}

.whoami-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}
.whoami-item.left .whoami-text::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 15px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent var(--bubble-bg) transparent transparent;
}

.whoami-item.right .whoami-text::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 15px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent transparent var(--bubble-bg);
}


.whoami-text:hover {
    transform: translateY(-3px);
}


@media (max-width: 768px) {
    .whoami-item {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .whoami-text {
        max-width: 100%;
    }


    .whoami-text::after {
        display: none;
    }
}


@media (max-width: 480px) {
    .section-header h4 {
        font-size: 1.6rem;
    }

    .whoami-image img {
        width: 60px;
        height: 60px;
    }
}