/* General Body & Background Styling */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
    background-image: url('PD3.jpg');
    background-size: cover;
    background-position: center top; /* Keeps top of photo visible */
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

/* Dark Overlay for Readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: -1;
}

/* Main Content Card */
.content-wrapper {
    /* <-- UPDATED: Simpler, more compatible translucent background */
    background-color: rgba(255, 255, 255, 0.65); /* 75% opaque white */

    padding: 2.5rem 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    max-width: 700px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Slightly more visible border */
    
    /* Animation settings */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
h1, h2, h3, p {
    /* <-- NEW: Subtle shadow added to ALL text for readability */
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #555;
    margin-top: 0;
    font-family: 'Lato', sans-serif;
}

h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(224, 224, 224, 0.8);
    padding-bottom: 0.5rem;
    display: inline-block;
}

p {
    font-weight: 400;
    text-align: justify;
}

.affiliation {
    color: #d13030;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-family: 'Lato', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .content-wrapper {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.2rem;
    }
}