body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(-45deg, #a1c4fd, #c2e9fb, #d4fc79, #96e6a1);
    background-size: 400% 400%;
    animation: gradientBackground 5s ease infinite; /* Adjusted the duration to 5s for a faster animation */
    color: #333;
}

@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

header {
    position: relative;
    text-align: center;
    color: #ecf0f1;
}

.banner {
    background: url('background-7276646_1280.jpg') no-repeat center center/cover;
    padding: 100px 0;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: -75px;
    border: 5px solid #ecf0f1;
}

section {
    padding: 20px;
    margin: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #2980b9;
    margin-bottom: 15px;
    border-bottom: 2px solid #2980b9;
    padding-bottom: 10px;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}

.project-card {
    background-color: #e3e8ee;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    width: 30%;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: scale(1.05);
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin: 8px 0;
}

a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3498db;
}


/* Adjusted CSS for footer */
footer {
    text-align: center;
    padding: 15px 0;
    background: #2c3e50;
    color: #ecf0f1;
    margin-top: 20px; /* Add margin-top to create space */
    clear: both; /* Ensure footer clears both floats and content */
}


.linkedin-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.post {
    background-color: #e3e8ee;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.post:hover {
    transform: scale(1.02);
}

.post a {
    color: #2980b9;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.post a:hover {
    color: #3498db;
}

/* Fade-in animation */
.animated {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animated.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Certificate container styling */
.certificate-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.certificate-card {
    width: 30%;
    margin: 10px;
    background-color: #e3e8ee;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.certificate-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.certificate-card a {
    display: block;
    margin-top: 10px;
    color: #0066cc;
    text-decoration: none;
}

.certificate-card:hover {
    transform: scale(1.05);
}
