/* Base Styles */
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f5;
    color: #333;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
}

header {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

nav ul li {
    margin: 5px 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #ffcc00;
    border-bottom: 2px solid #ffcc00;
}

/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 85vh;
    background: linear-gradient(to bottom, #b6daf2, #060612);
    color: white;
    text-align: center;
    padding: 20px;
}

.hero-content {
    max-width: 90%;
}

.hero-content h2 span {
    color: #ffd5ad;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    transition: 0.4s ease-in-out;
}

.profile-pic:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

#skills p {
  font-size: 1.1rem;
  color: #555;
  letter-spacing: 1px;
  margin-top: 15px;
  word-spacing: 10px;
}

.btn,
.download-cv {
    display: inline-block;
    background-color: #ab7f60;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    margin: 20px auto;
    transition: all 0.3s ease-in-out;
}

.btn:hover,
.download-cv:hover {
    background-color: #593d13;
    box-shadow: 0 8px 16px rgba(255, 126, 179, 0.4);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 40px 20px;
    text-align: center;
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 10px;
}

.project-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 400px;
    transition: 0.3s ease-in-out;
}

.project-card img {
    width: 100%; 
    height: auto;
    max-width: 300px; 
    display: block;
    margin: 0 auto;
}
.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: #fafafa;
}

.contact-details p {
    font-size: 18px;
    margin: 5px 0;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: #0077b5;
    transform: scale(1.05);
}

.social-links img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* Footer */
footer {
    background: #111;
    color: white;
    padding: 15px;
    text-align: center;
}

/* Scroll Smooth */
html {
    scroll-behavior: smooth;
}

/* Animations for hidden elements */
.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (min-width: 600px) {
    .project-card {
        width: 45%;
    }
}

@media (min-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .profile-pic {
        width: 180px;
        height: 180px;
    }

    .project-card {
        width: 40%;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        max-width: 700px;
    }

    .download-cv {
        font-size: 18px;
    }

    .contact-details p {
        font-size: 20px;
    }
}
