/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #054ba6;
    color: white;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    text-align: center;
    max-width: 500px;
    width: 100%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
}

.profile {
    margin-bottom: 20px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.1);
}

.name {
    margin-top: 10px;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
}

.about {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
}

.social-links {
    margin: 20px 0;
}

.social-link {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #262626;
}

/* Cards Section */
.cards-section {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.card {
    margin-bottom: 25px;
    text-align: center; /* Centered card title */
    text-decoration: none;
    color: inherit;
}

.image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-title {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 600;
    color: white;
}

/* Buttons Section */
.buttons-section {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.action-button {
    background-color: #1663A0;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
}

.action-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.action-button:hover {
    transform: translateY(-3px);
}

.action-button:active {
    transform: translateY(0);
}

footer {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Media Queries for Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 15px !important; /* Reduced padding for mobile */
    }

    .profile-pic {
        width: 100px !important; /* Reduced size for mobile */
        height: 100px !important; /* Reduced size for mobile */
    }

    .name {
        font-size: 20px !important; /* Reduced font size for mobile */
    }

    .about {
        font-size: 14px !important; /* Reduced font size for mobile */
    }

    .social-link {
        font-size: 20px !important; /* Reduced font size for mobile */
        margin: 0 10px !important; /* Reduced margin for mobile */
    }

    .card-title {
        font-size: 18px !important; /* Reduced font size for mobile */
    }

    .action-button {
        font-size: 16px !important; /* Reduced font size for mobile */
        padding: 10px !important; /* Reduced padding for mobile */
    }

    footer {
        font-size: 12px !important; /* Reduced font size for mobile */
    }
}
.profile-pic {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}