 :root {
    --teal-primary: #1a5276; 
    --teal-dark: #0f3954; /* A darker shade for the gradient */
    /* --teal-dark: #02131e; */
    --sage-accent: #99c68e; 
    --soft-gold: #f39c12;
    --background-light: #f9f9f9;
    --text-dark: #333333;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-light);
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    color: var(--text-dark);
}

.biodata-wrapper {
    width: 100%;
    max-width: 1100px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

/* --- HEADER --- */

.profile-header {
    background-color: var(--teal-primary);
    background-image: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-primary) 100%);
    
    color: white;
    padding: 30px 40px; 
    text-align: center;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.profile-header h1 {
    font-family: 'Merriweather', serif;
    font-size: 2.8em;
    margin: 0;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1em;
    font-weight: 300;
    color: #c0d3e1;
}

.profile-header h1 {
    font-family: 'Merriweather', serif;
    font-size: 2.8em;
    margin: 0;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1em;
    font-weight: 300;
    color: #c0d3e1;
}








/* --- MAIN GRID LAYOUT --- */
.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 800px;
}

/* --- SIDEBAR (LEFT) --- */
.sidebar-section {
    background-color: #eaf3f8;
    padding: 30px;
    border-right: 1px solid #e0e0e0;
}

.photo-box {
    width: 100%;
    height: 250px;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;

}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h3 {
    color: var(--teal-primary);
    font-size: 1.2em;
    border-bottom: 2px solid var(--sage-accent);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.info-block ul {
    list-style: none;
    padding: 0;
}

.info-block li {
    margin-bottom: 8px;
    font-size: 0.95em;
}

.contact-block p {
    margin: 5px 0;
    font-size: 0.9em;
}

/* --- MAIN COLUMN (RIGHT) --- */
.main-column {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.content-card {
    padding: 20px;
    border-left: 5px solid var(--sage-accent);
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 0 8px 8px 0;
}

.content-card h2 {
    color: var(--teal-primary);
    font-family: 'Merriweather', serif;
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
}

.content-card h4 {
    color: var(--sage-accent);
    margin-top: 15px;
    margin-bottom: 5px;
}

/* Specific elements */
.course-name {
    font-weight: 600;
    color: var(--soft-gold);
    font-size: 1.1em;
}

.focus-text {
    font-style: italic;
    font-size: 0.95em;
}

.two-col-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.key-focus {
    list-style-type: '• ';
    padding-left: 20px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.skill-list, .interest-list {
    list-style: none;
    padding-left: 0;
}

.skill-list li::before {
    content: "✓ ";
    color: var(--teal-primary);
    font-weight: bold;
}

.interest-list li::before {
    content: "★ ";
    color: var(--soft-gold);
    font-weight: bold;
}

/* Personality Badges */
.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.badge {
    background: var(--sage-accent);
    color: var(--teal-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

/* Footer */
.final-note {
    background-color: var(--teal-primary);
    color: #c0d3e1;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
    border-radius: 0 0 15px 15px;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 900px) {

    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    .sidebar-section {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .two-col-list, .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Target the Header for height reduction on mobile */
    .profile-header {
        /* Reduced vertical padding */
        padding: 20px 20px; 
    }
    .profile-header h1 {
        font-size: 2.2em; /* Slightly smaller text */
    }
    .subtitle {
        font-size: 0.95em; /* Smaller subtitle text */
    }
}