* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    line-height: 1.6;
    scroll-behavior: smooth;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #1a1a1a;
    font-family: 'Orbitron', sans-serif;
    flex-wrap: wrap;
}

#head-name {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

nav a:hover {
    color: #00ffff;
    transition: 0.3s;
}

#toggle {
    padding: 8px 12px;
    background-color: #00ffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

#toggle:hover {
    background-color: #00dddd;
    transition: 0.3s;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

h2 {
    font-size: 2rem;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
    color: #00ffea;
}

#home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#home-intro {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Audiowide', cursive;
}

#home-para {
    font-size: 25px;
    margin-bottom: 30px;
    max-width: 800px;
}

#home button {
    padding: 10px 20px;
    margin-top: 0.8rem;
    font-size: 0.8rem;
    background-color: #00ffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

#download:hover {
    background-color: #00dddd;
    transition: 0.3s;
}

#boy-img {
    width: 380px;
    margin-top: 1rem;
    max-width: 100%;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 75rem;
  margin: 0 auto;
  padding: 30px 20px;
}
.about-img img {
  margin-left: -100px;
  width: 25rem;
  max-width: 100%;
}
.about-text {
  max-width: 600px;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  color: #d9d9d9;
  line-height: 1.8;
}
.about-text strong {
  color: #00ffea;
  font-weight: bold;
}
.about-buttons {
  margin-top: 5rem;
}

.about-buttons .btn,
.about-buttons .btn-outline {
  padding: 10px 20px;
  border-radius: 5px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  margin-right: 18px;
  cursor: pointer;
}

.about-buttons .btn {
  background-color: #00ffff;
  color: #000;
}

.about-buttons .btn:hover {
  background-color: #00dddd;
  box-shadow: 0 0 15px #00ffea;
}

.about-buttons .btn-outline {
  border: 2px solid #00ffea;
  color: #00ffea;
  background: transparent;
}

.about-buttons .btn-outline:hover {
  background-color: #00ffea;
  color: #000;
  box-shadow: 0 0 15px #00ffea;
}

#skills {
    min-height: 100vh;
    padding: 80px 20px;
    text-align: center;
}

#skills-name {
    margin-bottom: 50px;
}

#skills-intro {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-family: 'Roboto', sans-serif;
    color: #d9d9d9;
    line-height: 1.6;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.skill-card {
    background-color: #1a1a1a;
    border: 1px solid #00ffea;
    border-radius: 15px;
    width: 260px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 234, 0.1);
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 12px #00ffea, 0 0 27px #00ffea;
}

.skills-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.skill-card h3 {
    font-family: 'Rajdhani', sans-serif;
    color: #00ffea;
    margin-bottom: 10px;
}

.skill-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #bfbfbf;
    line-height: 1.5;
}

.projects-slider {
  display: flex;
  overflow-x: auto;
  gap: 40px;
  padding: 40px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.projects-slider::-webkit-scrollbar {
  display: none;
}

.project-slide {
  flex: 0 0 320px;
  scroll-snap-align: center;
  background-color: #1a1a1a;
  border: 1px solid #00ffea;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 255, 234, 0.2);
  transition: all 0.3s ease;
}
.project-slide:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 15px #00ffea, 0 0 35px #00ffea;
}

.project-slide img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 15px;
}

.project-slide h3 {
  font-family: 'Rajdhani', sans-serif;
  color: #00ffea;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.project-slide p {
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  color: #bfbfbf;
  margin-bottom: 20px;
  line-height: 1.4;
}

.proj-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.proj-btn,
.proj-btn-outline {
  padding: 8px 15px;
  border-radius: 6px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.proj-btn {
  background-color: #00ffff;
  color: #000;
}
.proj-btn:hover {
  background-color: #00dddd;
  box-shadow: 0 0 10px #00ffea;
}
.proj-btn-outline {
  border: 2px solid #00ffea;
  color: #00ffea;
  background: transparent;
}
.proj-btn-outline:hover {
  background-color: #00ffea;
  color: #000;
  box-shadow: 0 0 10px #00ffea;
}

#contact-para {
    font-size: 20px;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer {
    background-color: #1a1a1a;
    padding: 20px;
    text-align: center;
    color: #00ffea;
    font-family: 'Roboto', sans-serif;
}

/* 🌙 LIGHT MODE */
.light-mode {
    background-color: #f0f0f0;
    color: #000000;
}
.light-mode h2 { color: #007777; }
.light-mode header { background-color: #e0e0e0; }
.light-mode nav a { color: #000000; }
.light-mode nav a:hover { color: #007777; }
.light-mode #toggle { background-color: #007777; color: #ffffff; }
.light-mode #toggle:hover { background-color: #005555; }
.light-mode #download { background-color: #007777; color: #ffffff; }
.light-mode #download:hover { background-color: #005555; }
.light-mode .about-text { color: #111; }
.light-mode .about-text strong { color: #007777; }
.light-mode .btn { background-color: #007777; color: #fff; }
.light-mode .btn-outline { border-color: #007777; color: #007777; }
.light-mode .btn-outline:hover { background-color: #007777; color: #fff; }
.light-mode #skills-intro { color: #333333; }
.light-mode .skill-card { background-color: #e0e0e0; border-color: #007777; }
.light-mode .skill-card h3 { color: #007777; }
.light-mode .skill-card p { color: #000000; }
.light-mode .skill-card:hover { box-shadow: 0 0 15px #007777, 0 0 30px #007777; }
.light-mode #instagram-icon,
.light-mode #github-icon { filter: invert(1); }
.light-mode .project-slide {
  background-color: #e0e0e0;
  border-color: #007777;
}
.light-mode .project-slide:hover {
  box-shadow: 0 0 15px #007777, 0 0 30px #007777;
}
.light-mode .project-slide h3 { color: #007777; }
.light-mode .proj-btn { background-color: #007777; color: #fff; }
.light-mode .proj-btn-outline { border-color: #007777; color: #007777; }
.light-mode .proj-btn-outline:hover { background-color: #007777; color: #fff; }
.light-mode footer { background-color: #e0e0e0; color: #007777; }
.light-mode #contact-para { color: #000000; }


@media (max-width: 1024px) {
  #home-intro { font-size: 2rem; }
  #home-para { font-size: 1.2rem; }
  .about-container { flex-direction: column; text-align: center; }
  .about-img img { margin-left: 0; width: 300px; }
  .about-text { text-align: center; max-width: 90%; }
  .skills-container, .projects-slider { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  header { flex-direction: column; gap: 10px; text-align: center; }
  nav a { margin: 8px; font-size: 14px; }
  #boy-img { width: 250px; }
  .skill-card, .project-slide { width: 85%; max-width: 350px; }
  .about-text { font-size: 1rem; }
}

@media (max-width: 480px) {
  #home-intro { font-size: 1.7rem; }
  #home-para { font-size: 1rem; padding: 0 15px; }
  .about-img img { width: 220px; }
  .skill-card, .project-slide { width: 90%; }
  h2 { font-size: 1.5rem; }
  p { font-size: 0.9rem; }
  nav a { display: inline-block; }
  #head-name { font-size: 20px; }
  .about-buttons { display: flex; flex-direction: column; align-items: center; gap: 10px; }
}
