/* --- Basic Styles and Fonts --- */
body {
    /* Updated Fonts for English: Serif for headings, Sans-serif for body */
    font-family: 'Lato', sans-serif;
    background-color: #f0f4f8; /* Soft blue-grey background */
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    line-height: 1.7;
}

/* --- Main Container (The Card) --- */
.main-container {
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 50, 100, 0.1);
    overflow: hidden;
}

.content-wrapper {
    padding: 40px 50px;
}

/* Wide container for the profile page */
.content-wrapper.wide {
    max-width: 1000px; 
}

.text-center {
    text-align: center;
}

/* --- Typography --- */
.title {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
    color: #004a99; /* Deep, professional blue */
    margin-bottom: 10px;
}

.subtitle {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem; /* 24px */
    font-weight: 400;
    color: #0056b3;
    margin-top: 0;
    line-height: 1.4;
}

.section-title {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: #004a99;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

p {
    font-size: 1.1rem; /* 17.6px */
    color: #444;
    margin-bottom: 15px;
}

.divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 30px 0;
}

/* --- Button Styles --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px; /* Rounded pill button */
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700; /* Bolder font for buttons */
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin: 5px;
    font-family: 'Lato', sans-serif; /* Ensure button uses body font */
}

/* Primary Button */
.btn-primary {
    background-color: #0066cc; 
    color: white;
}

.btn-primary:hover {
    background-color: #004a99;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 74, 153, 0.3);
}

/* Secondary Button */
.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

.button-group {
    margin-top: 30px;
}

/* --- Profile Page Styles --- */
.main-profile-title {
    font-family: 'Merriweather', serif;
    text-align: center;
    font-size: 2.8rem;
    color: #004a99;
    margin-bottom: 30px;
}

.profile-header {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Circular picture */
    object-fit: cover;
    margin-right: 30px;
    border: 5px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-details h2 {
    font-family: 'Merriweather', serif;
    margin: 0 0 10px 0;
    font-size: 2.2rem;
    color: #333;
}
.header-details p {
    margin: 5px 0;
    font-size: 1.1rem;
    color: #555;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 25px; /* Gap between cards */
}

.profile-card {
    background: #ffffff;
    border: 1px solid #eaf0f6;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.profile-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    color: #0056b3;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.profile-card ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.profile-card ul li {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 12px;
    display: flex;
}

.profile-card ul li strong {
    min-width: 150px; /* Align labels */
    color: #111;
    margin-right: 10px;
}

/* --- NEW: Contact Info Styling --- */
.contact-info {
    background-color: #f9f9f9;
    border: 1px dashed #0066cc;
    border-radius: 8px;
    padding: 20px;
    margin: 30px auto;
    max-width: 400px;
}
.contact-info p {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 10px 0;
}
.contact-info p strong {
    color: #004a99;
}


/* --- Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInAnimation 0.8s ease-out 0.2s forwards;
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile Responsive (This makes it mobile-friendly) --- */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 25px 20px;
    }
    .profile-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    .profile-pic {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .title {
        font-size: 2rem;
    }
    .profile-card ul li {
        flex-direction: column;
        margin-bottom: 15px;
    }
    .profile-card ul li strong {
        margin-bottom: 3px;
    }
}