/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8; /* Yoghurt White */
    color: #222; /* Dark Gray */
    text-align: center;
}

/* Navigation Bar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #f8f9fa;
    border-bottom: 2px solid #ddd;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: #333;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.dropbtn:hover {
    background: #555;
}

/* Dropdown Animation */
.dropdown-content {
    display: block;
    position: absolute;
    right: 0;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width: 120px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    visibility: hidden;
}

.dropdown-content a {
    color: black;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    transition: background 0.3s ease-in-out;
}

.dropdown-content a:hover {
    background: #f1f1f1;
}

/* Show dropdown with animation */
.dropdown:hover .dropdown-content {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    }

/* WhatsApp Contact Section */
#whatsapp-contact {
    text-align: center;
    padding: 40px 20px;
    background: #e0f7e0;
}

.slider {
    position: relative;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: none;
    text-align: center;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    border-radius: 10px;
    max-height: 300px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 20px;
}

/* YouTube Slider */
.video-slider {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    scroll-behavior: smooth;
}
.video-slide {
    min-width: 300px;
}


/* Language Stats Section */
#languages {
    padding: 50px 20px;
    background: #ffffff;
}

#language-stats {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.language-bar {
    margin-bottom: 10px;
}

.progress {
    height: 10px;
    background: #336699;
    border-radius: 5px;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #cfd9df, #e2ebf0); /* Soft gray-blue gradient */
    padding: 100px 20px;
    color: #333;
}

.hero-content h1 {
    font-size: 3rem;
    margin: 0;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 15px;
    background: #444; /* Soft black */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #666; /* Slightly lighter black */
}

/* Skills Section */
#skills {
    padding: 50px 20px;
    background-color: #ffffff;
}

.skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.skill {
    background: #ececec; /* Soft gray */
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    font-size: 1rem;
}

/* Projects Section */
#projects {
    padding: 50px 20px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.repo {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Soft shadow */
}

.repo h3 a {
    color: #336699; /* Simple blue */
    text-decoration: none;
}

.repo p {
    font-size: 0.9rem;
    color: #555;
}

/* Contact Section */
#contact {
    padding: 50px 20px;
    background: #ffffff;
}

form input,
form textarea {
    width: 90%;
    max-width: 400px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background: #336699; /* Simple blue */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #27496d; /* Slightly darker blue */
}

/* Social Links */
.social-links a {
    color: #336699; /* Blue */
    margin: 0 10px;
    text-decoration: none;
}

/* Footer */
footer {
    background: #ececec;
    padding: 15px;
    font-size: 0.9rem;
    color: #333;
    }
