/* General Body & Font Styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

/* Header Styling */
.profile-header {
    text-align: center;
    padding: 0;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.header-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 220px;
    background-image: url('header-image.jpg'); /* Replace with your header image */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.profile-info {
    position: relative;
    z-index: 2;
    padding-top: 130px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.profile-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
    color: #004d40;
}

.profile-header .subtitle {
    font-size: 1.2rem;
    color: #555;
    font-weight: 300;
}

/* Card Styling for Sections */
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.card h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #004d40;
    border-bottom: 2px solid #b2dfdb;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Grid layout for cards */
.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

/* List styling within cards */
#highlights ul {
    list-style-type: '✔  ';
    padding-left: 20px;
}

#highlights li {
    margin-bottom: 15px;
    padding-left: 10px;
}

/* CTA Button Styling */
.cta-button {
    display: inline-block;
    background-color: #00796b;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    background-color: #004d40;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #888;
    margin-top: 40px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .profile-header h1 {
        font-size: 2rem;
    }
    
    .header-image {
        height: 180px;
    }

    .profile-info {
        padding-top: 100px;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }
}
