/* ======================
   GLOBAL STYLE
=========================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #0d0d0d;
  color: white;
  overflow-x: hidden;
}

section {
  padding: 100px 10%;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

/* ======================
   NAVBAR
=========================*/
.navbar {
  width: 100%;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.menu a {
  margin-left: 25px;
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

.menu a:hover {
  color: #ff7b00;
}

.btn-contact {
  padding: 8px 18px;
  background: #ff7b00;
  border-radius: 6px;
}

/* ======================
   HERO SECTION
=========================*/
.hero {
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  font-size: 60px;
  font-weight: 700;
  align-items: center;
}

.hero-text h2 {
  margin-top: 10px;
  font-size: 35px;
  color: #ff7b00;
  align-items: center;
}

.hero-text h3 {
  margin-bottom: 10px;
  font-size: 25px;
  opacity: 0.8;
  align-items: center;
}

/* ======================
   ABOUT SECTION
=========================*/
.about p {
  text-align: center;
  max-width: 800px;
  margin: auto;
  opacity: 0.8;
}

.services {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}

.service {
  width: 280px;
  padding: 25px;
  background: #1a1a1a;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(255, 123, 0, 0.2);
}

.service h3 {
  margin-bottom: 15px;
  color: #ff7b00;
}

/* ======================
   SKILLS
=========================*/
.skills {
  text-align: center;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.skill-card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  font-size: 20px;
  transition: 0.3s;
}

.skill-card:hover {
  background: #ff7b00;
  color: black;
}

/* ======================
   PORTFOLIO SLIDER
=========================*/
.slider {
  width: 80%;
  margin: auto;
  position: relative;
}

.slide {
  width: 100%;
  border-radius: 20px;
  display: none;
}

.slide.active {
  display: block;
}

/* ======================
   CONTACT FORM
=========================*/
.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  background: #1a1a1a;
  border: none;
  color: white;
  outline: none;
}

.contact-form button {
  padding: 14px;
  background: #ff7b00;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  opacity: 0.8;
}

/* ======================
   FOOTER
=========================*/
.footer {
  background: #0a0a0a;
  padding: 40px;
  text-align: center;
  margin-top: 80px;
}

.footer .socials a {
  margin: 0 10px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.footer .socials a:hover {
  color: #ff7b00;
}

.back-top {
  margin-top: 10px;
  color: #ff7b00;
  cursor: pointer;
}

/* ======================
   SCROLL REVEAL ANIMATION
=========================*/
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
