/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Navigation Bar */
header {
    background-color: #222;
    padding: 15px 8%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    color: #00adb5;
}

#darkModeBtn {
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #00adb5, #393e46);
    color: white;
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 15px;
}

.hero span {
    color: yellow;
}

.hero p {
    font-size: 22px;
    margin-bottom: 25px;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    background-color: #00adb5;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    opacity: 0.8;
}

/* General Section */
.section {
    padding: 70px 10%;
    text-align: center;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

/* Skills */
.skills-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.skill-card {
    background-color: white;
    padding: 25px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.skill-card h3 {
    color: #00adb5;
    margin-bottom: 10px;
}

/* Contact Form */
form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    height: 120px;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Dark Mode */
.dark-mode {
    background-color: #121212;
    color: white;
}

.dark-mode .skill-card {
    background-color: #333;
    color: white;
}

.dark-mode input,
.dark-mode textarea {
    background-color: #333;
    color: white;
}