/* General Page Styling */
body {
    background: linear-gradient(to bottom, #ffffff, #f8f8f8);
    color: #333;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title Styling */
.title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #444;
}

/* Topper Card */
.topper-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 90%;
    margin: 20px 0;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s ease-out forwards;
}

/* Hover Effect */
.topper-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.topper-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    margin: auto;
    border: 3px solid #ddd;
    transition: transform 0.3s ease-in-out;
}

/* Image Hover Effect */
.topper-image img:hover {
    transform: scale(1.1);
}

/* List Styling */
ul {
    padding-left: 20px;
}

li {
    line-height: 1.6;
    font-size: 16px;
}

/* Signature Styling */
.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
    font-style: italic;
    text-align: right;
    margin-top: 20px;
    color: #777;
}

/* Quote Styling */
.quote {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #444;
    margin: 10px 0;
}

/* Scroll Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Individual Fade-in Effect */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
