@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
  --bg: #ffffff;
  --text: #000000;
  --accent: #ffb742;
  --subtitle: #444;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #212529;
    --text: #ffffff;
    --subtitle: #ccc;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 50px;
  align-items: center;
}

.navbar h2 {
  color: var(--accent);
}

.navbar ul {
  display: flex;
  gap: 20px;
}

.navbar ul li {
  list-style: none;
}

.navbar ul li a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: var(--accent);
}

.hire-btn {
  background: var(--accent);
  color: #000;
  padding: 8px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.hire-btn:hover {
  background: #fb8c00;
}

.main, .about, .skills {
  padding: 80px 50px;
}

.main h4 span {
  color: var(--accent);
  text-decoration: underline;
}

.title {
  font-size: 32px;
  margin: 10px 0;
}

.subtitle {
  color: var(--subtitle);
  font-size: 16px;
}

.about {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.about img {
  width: 250px;
  border-radius: 15px;
}

.about .info p {
  margin-top: 20px;
  color: var(--subtitle);
}

.seprator {
  margin: 50px 50px 30px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-block;
  color: var(--accent);
  border-radius: 12px;
  font-size: 18px;
}

.experience {
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.experience-item {
  background-color: rgba(255, 183, 66, 0.05);
  border-left: 4px solid var(--accent);
  padding: 20px;
  border-radius: 10px;
}

.experience-item h3 {
  color: var(--accent);
  margin-bottom: 5px;
}

.experience-item h4 {
  color: var(--text);
  font-weight: 500;
}

.experience-item .duration {
  font-size: 14px;
  color: var(--subtitle);
  display: block;
  margin-bottom: 10px;
}

.experience-item p {
  color: var(--subtitle);
  font-size: 14px;
  line-height: 1.5;
}


.skills {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.skills .left, .skills .right {
  flex: 1;
  margin: 20px;
}

.skills .right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills .right .item {
  background: rgba(255, 183, 66, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.skills .right .item i {
  font-size: 28px;
  color: var(--accent);
}

footer {
  background: #1c1c1c;
  color: #fff;
  padding: 100px 50px 40px;
  position: relative;
}

footer .start {
  background: var(--accent);
  color: #000;
  padding: 20px;
  border-radius: 12px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  text-align: center;
}

footer .cols {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

footer .cols a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin: 6px 0;
}

footer .cols a:hover {
  color: var(--accent);
}

footer input {
  padding: 10px;
  width: 70%;
  border: none;
  border-radius: 50px;
  margin-top: 10px;
}

footer button {
  background: var(--accent);
  border: none;
  padding: 10px 16px;
  border-radius: 50%;
  cursor: pointer;
}

@media (prefers-color-scheme: dark) {
  .experience-item {
    background-color: #292b2e;
  }
}

.skills .left ul {
  margin-top: 15px;
  padding-left: 0;
}
.skills .left ul li {
  color: var(--subtitle);
  font-size: 14px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  
  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .main, .about, .skills, .experience {
    padding: 40px 20px;
  }
  
  .seprator {
    margin: 30px 20px 15px;
  }
  
  .about {
    flex-direction: column;
    text-align: center;
  }
  
  .skills .left, .skills .right {
    flex: 100%;
    margin: 10px 0;
  }
  
  .skills .right {
    justify-content: center;
  }
  
  footer .start {
    width: 90%;
    padding: 20px;
  }
  
  footer .cols {
    flex-direction: column;
    gap: 30px;
  }
}

.main img {
  display: block;
  margin: 30px auto 0;
  max-width: 250px;
  border-radius: 50%;
  border: 5px solid var(--accent);
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  max-height: 80%;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.modal .close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}

.modal .close:hover {
  color: #000;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  max-height: 80%;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  color: #000;
}

.modal .close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}

.modal .close:hover {
  color: #000;
}

.skills-list ul {
  list-style-type: disc;
  padding-left: 20px;
}

.skills-list ul ul {
  list-style-type: square;
  padding-left: 20px;
}

.skills-list li {
  margin-bottom: 8px;
}
