/* Responsive profile image */
.profile-img {
    float: right;
    margin: 0 0 1.5rem 2rem;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(255,126,103,0.10);
    max-width: 180px;
    width: 100%;
}

@media (max-width: 700px) {
    main {
        padding: 1.2rem 0.5rem;
        margin: 1.2rem 0.2rem;
        font-size: 1rem;
    }
    .profile-img {
        float: none;
        display: block;
        margin: 0 auto 1.2rem auto;
        max-width: 70vw;
        width: 100%;
    }
    ul[style*="columns"] {
        columns: 1 !important;
        max-width: 100% !important;
    }
    header, footer {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        border-radius: 0 0 18px 18px;
    }
    header h1 {
        font-size: 2rem;
    }
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #ffe5d0 0%, #a7ffeb 100%);
    color: #3a3a3a;
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.6;
}

header, footer {
    background: linear-gradient(90deg, #20b2aa 0%, #167e7e 100%);
    color: #fff8f0;
    padding: 2rem 1rem 1.5rem 1rem;
    text-align: center;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 4px 24px rgba(32, 178, 170, 0.10);
    letter-spacing: 0.5px;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 2.7rem);
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(255, 126, 103, 0.18);
    color: #ff7e67;
    line-height: 1.2;
}

header p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin: 0;
    font-weight: 300;
    opacity: 0.95;
}

main {
    padding: 2.5rem 2rem;
    max-width: 650px;
    margin: 3rem auto 2rem auto;
    background: #f7f7f7;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(32, 178, 170, 0.08);
    font-size: 1.1rem;
    line-height: 1.7;
    border-top: 4px solid #20b2aa;
    border-bottom: 4px solid #ff7e67;
    transition: box-shadow 0.3s;
}

/* Typography hierarchy */
h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #167e7e;
    margin: 0 0 1rem 0;
    font-weight: 600;
    line-height: 1.3;
}

h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #167e7e;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
    line-height: 1.3;
    border-bottom: 2px solid #20b2aa;
    padding-bottom: 0.5rem;
}

p {
    margin: 0 0 1.2rem 0;
    font-weight: 400;
}

p:last-child {
    margin-bottom: 0;
}

section {
    margin-bottom: 3rem;
}

section:last-child {
    margin-bottom: 0;
}

ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    font-weight: 400;
}

strong {
    font-weight: 600;
    color: #167e7e;
}

main:hover {
    box-shadow: 0 8px 48px rgba(32, 178, 170, 0.16);
}

footer {
    margin-top: 2rem;
    font-size: 1rem;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -4px 24px rgba(32, 178, 170, 0.10);
    border-top: 3px solid #20b2aa;
}

a {
    color: #20b2aa;
    text-decoration: none;
    border-bottom: 1px dashed #ff7e67;
    transition: color 0.2s, border-bottom 0.2s;
    font-weight: 500;
}
a:hover {
    color: #ff7e67;
    border-bottom: 1px solid #20b2aa;
}

@media (max-width: 700px) {
    main {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0.5rem;
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
    }
    
    .profile-img {
        float: none;
        display: block;
        margin: 0 auto 1.5rem auto;
        max-width: 70vw;
        width: 100%;
    }
    
    ul[style*="columns"] {
        columns: 1 !important;
        max-width: 100% !important;
    }
    
    header, footer {
        padding: 1.5rem 1rem;
        border-radius: 0 0 18px 18px;
    }
    
    section {
        margin-bottom: 2rem;
    }
    
    .two-column {
        columns: 1 !important;
        max-width: 100% !important;
    }
}

.two-column {
    columns: 2;
    column-gap: 2rem;
    max-width: 500px;
}
