/* === IMPORT INTER FONT === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* === GLOBAL RESET & BASE TYPOGRAPHY === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f9;
    color: #222;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

/* === HEADER / NAVBAR — IDENTICAL TO HOMEPAGE === */
.header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 45px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #00aaff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #00aaff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* === MAIN LAYOUT === */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* === REUSABLE SECTION WRAPPER === */
.section-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

/* === CONSISTENT TEXT BLOCK STYLE === */
.section-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    margin: 0;
    padding: 30px;
    border: 2px solid #ccc;
    border-radius: 12px;
    background-color: #fff;
    flex: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-text h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #222;
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* === ABOUT SECTION === */
.about-container {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    border-radius: 12px;
    background-color: #fff;
    border: 2px solid #ccc;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0.3s;
}

.portrait {
    width: 180px;
    height: auto;
    border-radius: 12px;
    border: 3px solid #eee;
    padding: 8px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.portrait:hover {
    transform: scale(1.03);
}

/* === APPROACH SECTION === */
.approach-container {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    border-radius: 12px;
    background-color: #fff;
    border: 2px solid #ccc;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0.5s;
}

/* Hide image in approach if not used */
.approach .portrait {
    display: none;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .about-container,
    .approach-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .portrait {
        width: 150px;
        margin-top: 20px;
    }

    .section-text {
        padding: 20px;
    }

    .section-text h2 {
        font-size: 1.75rem;
    }

    .navbar {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* === EXTRA: LINK STYLES FOR CONSISTENCY === */
.section-text a {
    color: #00aaff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.section-text a:hover {
    border-bottom-color: #00aaff;
}