/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
}

.container {
  width: 85%;
  margin: auto;
  max-width: 1200px;
}

/* ===== HEADER ===== */
header {
  background: #000;
  padding: 20px 0;
  border-bottom: 1px solid #111;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  padding-left: 6px;
}

header .logo:hover {
  color: #f7a328;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: #60a5fa;
}

/* Hamburger menu */
.menu-toggle {
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  display: none;
  margin-left: auto;
  margin-right: 15px;
  transition: transform 0.3s ease;
}

.menu-toggle.active {
  transform: rotate(90deg); /* Animation effect */
}

/* ===== HERO SECTION ===== */
.hero {
  display: flex;
  align-items: center;
  padding: 100px 0;
  min-height: 80vh;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-text {
  max-width: 50%;
}

.hero-text .hello {
  color: #f7a328;
  letter-spacing: 2px;
  font-weight: 600;
}

.hero-text h1 {
  font-size: 3rem;
  margin: 15px 0;
}

.hero-text h1 span {
  color: #f7a328;
}

.hero-text h2 {
  font-weight: normal;
  margin-bottom: 25px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.3s;
}

.btn-primary {
  background: #f7a328;
  color: #000;
}

.btn-primary:hover {
  background: #fff;
  color: #000;
}

.btn-secondary {
  border: 1px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: #f7a328;
  color: #000;
}

.hero-image img {
  max-width: 800px;
  border-radius: 10px;
  width: 100%;
  height: auto;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 100px 0;
  border-top: 1px solid #111;
}

.about-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.about-image img {
  max-width: 800px;
  border-radius: 10px;
  width: 100%;
  margin: 0 auto;
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 20px;
  color: #ccc;
}

.about-info {
  margin: 20px 0;
  list-style: none;
  text-align: left;
  display: inline-block;
}

.about-info li {
  margin-bottom: 10px;
}

.about-info strong {
  color: #f7a328;
}

/* ===== SKILLS SECTION ===== */
.skills {
  padding: 100px 0;
  text-align: center;
}

.skills h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.skills p {
  margin: 20px auto 40px;
  color: #ccc;
  max-width: 800px;
}

.skills-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.skill-card {
  background: #111;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
  width: 500px;
}

.skill-card:hover {
  transform: translateY(-8px);
}

.skill-card h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.skill-logo {
  width: 28px;
  height: 28px;
}

.skill-progress {
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  height: 20px;
}

.skill-bar {
  background: #f7a328;
  height: 100%;
  font-size: 0.9rem;
  font-weight: bold;
  text-align: right;
  padding-right: 8px;
  border-radius: 8px;
}

/* Divider */
.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #f7a328, transparent);
  margin: 60px auto 40px;
  width: 60%;
  border-radius: 5px;
}

/* ===== FOOTER ===== */
footer {
  background: #000;
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #111;
  margin-top: 50px;
}

footer p {
  font-size: 0.9rem;
  color: #bbb;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    padding: 70px 0;
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-text h2 {
    font-size: 1.3rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .about-info {
    text-align: center;
  }
  .skill-card {
    width: 90%;
    max-width: 400px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  header nav ul {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 70px;
    right: 15px;
    padding: 15px;
    border-radius: 10px;
    width: 100px;
  }

  header nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .skills-grid {
    flex-direction: column;
  }

  .skill-card {
    width: 100%;
  }

  .about-info {
    text-align: center;
  }
}
