* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
  background: #0d0f15;
  color: #ddd;
  display: flex;
  min-height: 100vh;
}


a {
  text-decoration: none;
  color: #ffd369;
}


h2, h3 {
  color: #ffd369;
  margin-bottom: 1rem;
}

.sidebar {
  background: #1a1c23;
  width: 180px;
  height: 350px;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 15px;
  margin: 1rem;
  margin-top: 5rem;
}

#Home #Profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#Home #Profile img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}


#Profile h1 {
    margin: 0.5rem 0;
  font-size:40px;
  color: #ffd369;
  margin-left: 0.5em;
  letter-spacing: 0.6px;
  
}
#Profile h4 {
  font-size: 30px;
  margin-left: 1.5em;
  letter-spacing: 1px;
}

#Home .info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

#Home .info div {
  background: linear-gradient(270deg, #262933, #3a3f54, #262933, #3a3f54);
  background-size: 400% 300%;
  padding: 1.5rem;
  border-radius: 0.5em;
  font-weight: 600;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
}


.info div:hover {
  box-shadow: 0 0 5px #ffd369, 0 0 10px rgba(255, 211, 105, 0.5);
}
#Home .btn-group {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6rem;
}
#Home .social {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.social a i{
  padding: 4px;
}

.social a {
  background: #262933;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd369;
}

.sidebar .social a:hover {
  background: #ffd369;
  color: #111;
}

.sidebar div p {
  color: #ffd369;
  margin-left: 3.5em;
}

.main {
  flex: 1;
  margin: 1rem;
  background: #1a1c23;
  border-radius: 15px;
  padding: 2rem;
}


nav {
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

nav a {
  padding: 1rem 0.5rem;
  color: #ccc;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #ffd369;
  transition: width 0.3s ease-in-out;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a.active,
nav a:hover {
  color: #ffd369;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ffd369;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.card {
  background: #262933;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card:hover {
  background: #2e323f;
  box-shadow: 0 0 2px #ffd369, 0 0 30px rgba(255, 211, 105, 0.3);
}
#about h2{
    margin-top: 2rem;
}
#about p{
    margin-top: 1rem;
    font-weight: 500;
}

#skills {
  margin-top: 2rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 2rem;
}

.skill-card {
  flex: 1 1 120px;
  background: linear-gradient(270deg, #262933, #3a3f54, #262933, #3a3f54);
  background-size: 400% 400%;
  color: #ccc;
  padding: 1.5rem;
  border-radius: 0.5em;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  
}

.skill-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.skill-card:hover {
  box-shadow: 0 0 5px #ffd369, 0 0 10px rgba(255, 211, 105, 0.5);
}

.map-container {
  width: 100%;
  height: 300px;
  border: 1px solid #ffd369;
  margin-bottom: 2rem;
  border-radius: 10px;
}

.map-container iframe {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
  height: 100%;
  filter: grayscale(1) invert(1);
  border: none;
}

form {
  display: grid;
  gap: 20px;
  margin-bottom: 25px;
}

textarea,
input {
  color: #ddd;
  background: #262933;
  font-size: 1rem;
  padding: 13px 20px;
  border: 1px solid #333;
  border-radius: 14px;
  outline: none;
}

input {
  width: 49%;
}

button {
  padding: 0.8rem;
  background: #ffd369;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

button:hover {
  background: #ffb347;
}

.resume-btn {
  display: inline-block;
  background: #ffd369;
  color: #111;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background 0.3s, color 0.3s;
}

.resume-btn:hover {
  background: #ffb347;
  color: #fff;
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
    padding: 0;
  }

  .sidebar {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 1rem;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 0;
  }

  nav {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #1a1c23;
    width: 100%;
    padding: 1rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    border-top: 1px solid #333;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 1rem;
    text-align: center;
  }

  .main {
    margin: 0;
    border-radius: 0;
    padding: 1rem;
  }
  #Profile h1 {
    font-size: larger;
  }
  #Profile h4 {
    font-size: large;
  }
  #Home .info {
    flex-direction: column;
    margin: 1.5rem 0;
    gap: 1rem;
  }
  #Home .info div{
    width: 82%;
    font-size:90%;  
    margin: 0 2rem;
    padding: 0.5rem;
  }

  #Home .btn-group {
    gap: 2rem;
    flex-direction: column;
  }

  .skills-list {
    flex-direction: column;
    align-items: center;
  }
  .skill-card{
    width: 15rem;
  }
  .card img {
    max-width: 100%;
    height: auto;
  }

  form {
    display: flex;
    flex-direction: column;
  }

  input {
    width: 100%;
    margin-bottom: 1rem;
  }
}

