/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f4f7fa;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e90ff, #00b7eb);
    color: white;
    text-align: center;
    padding: 100px 20px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out 0.9s forwards;
    opacity: 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #1e90ff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    animation: fadeIn 1s ease-out 1.2s forwards;
    opacity: 0;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e0e0e0;
}

/* Section Styles */
.section {
    padding: 60px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: slideIn 1s ease-out forwards;
}

.section:nth-child(2) { animation-delay: 0.5s; } /* Skills */
.section:nth-child(3) { animation-delay: 0.8s; } /* Projects */
.section:nth-child(4) { animation-delay: 1.1s; } /* Resume */
.section:nth-child(5) { animation-delay: 1.4s; } /* Contact */

@keyframes slideIn {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1e90ff;
}

/* Skills Grid */
.skills-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.skill-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.skill-card img {
    width: 50px;
    margin-bottom: 10px;
}

.skill-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Projects Grid */
.projects-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.project-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-link {
    color: #1e90ff;
    text-decoration: none;
    font-weight: bold;
}

.project-link:hover {
    text-decoration: underline;
}

/* Resume Section */
.resume-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

/* Contact Section */
#contact p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

#contact a {
    color: #1e90ff;
    text-decoration: none;
}

/* Footer */
footer {
    background: #1e90ff;
    color: white;
    text-align: center;
    padding: 20px;
}