* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
    padding-top: 70px;
}

/* Light/Dark mode colors */
body.light-mode {


body.light-mode header {
    background: #fff;
    color: #111;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
body.light-mode nav {
    color: #111;
}
body.light-mode .logo,
body.light-mode .logo span {
    color: #111;
}
body.light-mode .logo,
body.light-mode .hero-title {
    color: #111 !important;
}

body.light-mode footer {
    color: #fff !important;
}
body.light-mode .nav-links a,
body.light-mode #darkModeToggle {
    color: #111;
}
body.light-mode .nav-links a:hover,
body.light-mode #darkModeToggle:hover {
    color: rgb(193, 196, 196);
}
    background-color: #ffffff;
    color: #222;
}
body.dark-mode {
    background-color: #0a0a0a;
    color: #eee;
}

/* Navbar */
header {
    background: #111;
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1001;
}
nav {
    width: 85%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
}
.logo span {
    color: #0ff;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}
.nav-links a, #darkModeToggle {
    color: white;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
#darkModeToggle {
    font-size: 1.3rem;
}

/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
    background: linear-gradient(120deg, #232526 0%, #414345 100%);
    color: white;
    text-align: center;
    padding: 2rem;
}
.hero-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}
.hero-content p {
    max-width: 600px;
    margin: auto;
    margin-bottom: 1.5rem;
}
.btn {
    background: white;
    color: rgb(2, 2, 2);
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: #b800cc;
    color: white;
}

/* Sections */
section {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
}
h2 {
    text-align: center;
    margin-bottom: 1rem;
}

/* Project Cards */
.project-card {
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(217, 217, 217, 0.2);
}
body.light-mode .project-card {
    border: 1.5px solid #e0e0e0;
}
.project-card:hover {
    box-shadow: 0 0 12px rgba(0,255,255,0.4);
}
body.light-mode .project-card:hover {
    box-shadow: 0 0 24px 6px rgba(180,180,180,0.45), 0 0 12px 2px #fff;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
input, textarea, button {
    padding: 0.8rem;
    font-size: 1rem;
}
button.btn {
    background: #232526;
    color: #fff;
    transition: background 0.2s, color 0.2s;
}
button.btn:hover {
    background: #414345;
    color: #fff;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: #111;
    color: white;
}

/* Home Page */
.home-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.home-container h1 span {
    color: rgb(92, 140, 207);
}
.contact-links {
    margin: 1.5rem 0;
}
.contact-links a {
    margin: 0 10px;
    color: rgb(0, 106, 255);
    text-decoration: none;
    font-weight: bold;
}
.contact-links a:hover {
    color: #0063cc;
}

