* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

:root {
  --bg-color: #080808;
  --second-bg-color: #101010;
  --text-color: white;
  --main-color: #ea580c;
  --card-bg: #0d0d0d;
}

.light-theme {
  --bg-color: #f9f9f9;
  --second-bg-color: #ffffff;
  --text-color: #121212;
  --main-color: #ea580c; /* keep your accent */
  --card-bg: #e9e9e9;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 10%;
  background: var(--bg-color);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto; /* pushes to the right */
}


#menu-icon {
  font-size: 3rem;
  color: var(--main-color);
  display: none;
}

.logo {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-color);
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.logo:hover {
  transform: scale(1.1);
}

span {
  background: linear-gradient(270deg, #df8908 10%, #ff1d15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-left: 0.5rem;
}

.navbar a {
  font-size: 1.6rem;
  color: var(--text-color);
  font-weight: 500;
  margin-left: 3rem;
  transition: 0.3s ease-in-out;
  border-bottom: 2px solid transparent;
}

.navbar a:hover {
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
}

.gradient-btn {
  font-size: 1.4rem;
  padding: 1rem 2.5rem;
  border-radius: 2rem;
  background: linear-gradient(45deg, #df8908, #ff1d15);
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  border: none;
  white-space: nowrap;
}

.gradient-btn:hover {
  transform: scale(1.04);
}

.small-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  background: linear-gradient(45deg, #df8908, #ff1d15);
  margin-top: 2rem;
}

.btn-wrapper {
  display: none;
}

section {
  padding: 12rem 10% 5rem;
  min-height: 100vh;
}

.home {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  align-items: center;
  justify-content: center;
}

.home-content {
  flex: 1 1 500px;
  max-width: 600px;
}

.home-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
}

.home-content h3 {
  font-size: 2.5rem;
  margin: 1.5rem 0;
}

.home-content p {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.home-img {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: -3rem;
}

.img-crop {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 25px orange, 0 0 50px red;
  transition: transform 0.3s ease-in-out;
}

.img-crop:hover {
  transform: scale(1.05);
}

.img-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1rem;
}

.social-icons a {
  font-size: 2.4rem;
  color: var(--text-color);
  transition: 0.3s ease-in-out;
}

.social-icons a:hover {
  color: var(--main-color);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
    padding: 2rem 5%;
  }

  #menu-icon {
    display: block;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--second-bg-color);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 2rem 0;
  }

  .navbar a {
    margin: 1.5rem 0;
    font-size: 2rem;
  }

  .home {
    flex-direction: column;
    text-align: center;
  }

  .home-img, .home-content {
    width: 100%;
  }

  .gradient-btn {
    margin-top: 2rem;
  }

  .btn-wrapper {
    display: none;
  }
}
.section-title {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 4rem;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.6rem;
  color: #ccc;
  line-height: 1.8;
  text-align: center;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.project-card {
  background: var(--second-bg-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px var(--main-color);
}

.project-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--main-color);
}

.project-card p {
  font-size: 1.4rem;
  color: #ccc;
}


/* Responsive tweaks */
@media (max-width: 768px) {
  .projects-container {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 3.2rem;
  }
}
.contact {
  background-color: var(--bg-color);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05); /* subtle divider */
}


.contact-content {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.6rem;
  color: #ccc;
  line-height: 1.8;
}

.contact-content a {
  color: #1e90ff;
  transition: color 0.3s ease;
}

.contact-content a:hover {
  color: var(--main-color);
}
.footer {
  background: var(--bg-color);
  padding: 3rem 10%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-content p {
  font-size: 1.8rem;
  color: #aaa;
}

.footer-content span {
  background: linear-gradient(270deg, #df8908 10%, #ff1d15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.footer-icons {
  display: flex;
  gap: 2rem;
}

.footer-icons a {
  font-size: 3rem;
  color: #aaa;
  transition: 0.3s ease;
}

.footer-icons a:hover {
  color: var(--main-color);
  transform: scale(1.2);
}
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
}

.skill-card {
  background-color: var(--second-bg-color);
  padding: 2rem 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.03);
  max-width: 300px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--main-color);
}

.skill-card h3 {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.skill-tags span {
  background-color: #0d0d0d;
  color: white;
  padding: 0.8rem 1.5rem;
  font-size: 1.4rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s ease;
}

.skill-tags span:hover {
  background-color: var(--main-color);
  color: white;
}
#theme-toggle {
  font-size: 2.6rem;
  color: var(--main-color);
  cursor: pointer;
  margin-left: 2rem;
  transition: transform 0.3s ease;
}

#theme-toggle:hover {
  transform: rotate(20deg) scale(1.1);
}
/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--second-bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff1d15;
}

