/* General Body and Container Styles for a cleaner, more fluent look */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #F0F0F0;
    color: #333;
    margin: 0;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center; /* Center vertically on page load for a smoother appearance */
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 40px;
    max-width: 650px;
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header & Logo */
header {
    margin-bottom: 30px;
}

.logo {
    width: 180px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

h1 {
    font-family: 'Merriweather', serif;
    font-size: 3em;
    color: #2F4F4F;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1em;
    color: #666;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-top: 0;
    font-weight: 500;
}

/* Profile Section */
.profile {
    margin-bottom: 40px;
    line-height: 1.7;
}

.profile-pic {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 4px solid #2F4F4F;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}
.profile-pic:hover {
    transform: scale(1.05);
}

h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.8em;
    color: #2F4F4F;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.profile p {
    font-size: 1.1em;
    color: #444;
}

.process-steps {
    font-weight: 700;
    color: #2F4F4F;
    margin: 20px 0;
    font-size: 1.15em;
}

/* Links Section */
.links {
    margin-bottom: 40px;
}

.link-button {
    display: block;
    width: calc(100% - 60px);
    padding: 18px 30px;
    margin: 18px auto;
    background-color: #2F4F4F;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.link-button:hover {
    background-color: #4CAF50;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Social Icons Section */
.social-icons {
    margin-top: 20px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-icons a {
    color: #2F4F4F;
    font-size: 2.2em;
    transition: color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: #4CAF50;
    transform: translateY(-3px);
}

/* Contact Section (similar styling to links) */
.contact {
    margin-bottom: 30px;
}

.contact h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.6em;
    margin-bottom: 25px;
}

.contact-button {
    display: block;
    width: calc(100% - 60px);
    padding: 18px 30px;
    margin: 18px auto;
    background-color: #2F4F4F;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
    background-color: #4CAF50;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    margin-top: 40px;
    font-size: 0.9em;
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
    }
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 1.6em;
    }
    .profile p {
        font-size: 1em;
    }
    .link-button, .contact-button {
        font-size: 1.1em;
        padding: 15px 20px;
        width: calc(100% - 40px);
    }
    .social-icons a {
        font-size: 2em;
        gap: 20px;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 25px 15px;
    }
    .logo {
        width: 150px;
    }
    h1 {
        font-size: 2.2em;
    }
    .tagline {
        font-size: 0.85em;
    }
    .profile-pic {
        width: 100px;
        height: 100px;
    }
    h2 {
        font-size: 1.4em;
    }
    .process-steps {
        font-size: 1.05em;
    }
    .link-button, .contact-button {
        padding: 12px 15px;
    }
    .social-icons a {
        font-size: 1.8em;
    }
}
