/* ============================= */
/*            RESET              */
/* ============================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: #0f0f14;
  color: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}


/* ============================= */
/*            NAVBAR             */
/* ============================= */

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1200px;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  z-index: 1000;

  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  background: linear-gradient(90deg, #ff6a00, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

.navbar ul li a {
  text-decoration: none;
  color: #ccc;
  font-size: 0.95rem;
  transition: 0.3s ease;
  position: relative;
}

.navbar ul li a:hover {
  color: #ffffff;
}

.navbar ul li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -6px;
  background: linear-gradient(90deg, #ff6a00, #ffb347);
  transition: 0.3s ease;
}

.navbar ul li a:hover::after {
  width: 100%;
}


/* ============================= */
/*             HERO              */
/* ============================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8%;
}

.hero-content {
  width: 100%;
  max-width: 1300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

/* TEXT SIDE */

.text-box {
  flex: 1;
}

.text-box h1 {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(90deg, #ff6a00, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  margin: 25px 0 40px;
  font-size: 1.2rem;
  color: #b5b5b5;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(90deg, #ff6a00, #ffb347);
  color: #000;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(255,106,0,0.4);
}

/* IMAGE SIDE */

.image-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.image-box::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,0,0.25) 0%, transparent 70%);
}

.image-box img {
  width: 340px;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
  transition: 0.4s ease;
  animation: floatImage 4s ease-in-out infinite;
}

.image-box img:hover {
  transform: scale(1.05);
}

@keyframes floatImage {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}


/* ============================= */
/*            SECTIONS           */
/* ============================= */

.section {
  padding: 120px 8%;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(90deg, #ff6a00, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ============================= */
/*             ABOUT             */
/* ============================= */

.section p {
  max-width: 850px;
  margin: auto;
  text-align: center;
  font-size: 1.15rem;
  color: #cccccc;
}


/* ============================= */
/*             SKILLS            */
/* ============================= */

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.skills-container span {
  padding: 14px 24px;
  background: #1a1a25;
  border-radius: 12px;
  border: 1px solid #2a2a38;
  transition: 0.3s ease;
}

.skills-container span:hover {
  background: linear-gradient(90deg, #ff6a00, #ffb347);
  color: #000;
  transform: translateY(-6px);
}


/* ============================= */
/*         EXPERIENCE            */
/* ============================= */

.exp-entry,
.edu-entry {
  background: #1a1a25;
  padding: 35px;
  margin-bottom: 35px;
  border-radius: 18px;
  border: 1px solid #2a2a38;
  transition: 0.3s ease;
}

.exp-entry:hover,
.edu-entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.exp-entry ul {
  margin-top: 15px;
  padding-left: 20px;
  color: #cccccc;
}

.exp-entry ul li {
  margin-bottom: 8px;
}


/* ============================= */
/*            PROJECTS           */
/* ============================= */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.project-card {
  background: #1a1a25;
  padding: 30px;
  border-radius: 18px;
  border: 1px solid #2a2a38;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.project-card h3 {
  margin-bottom: 15px;
  color: #ffb347;
}


/* ============================= */
/*            CONTACT            */
/* ============================= */

.contact p {
  text-align: center;
  color: #cccccc;
  margin-bottom: 10px;
}

.socials {
  margin-top: 35px;
  text-align: center;
}

.socials a {
  margin: 0 15px;
  color: #ffb347;
  font-size: 1.1rem;
  text-decoration: none;
  transition: 0.3s ease;
}

.socials a i {
  margin-right: 6px;
}

.socials a:hover {
  color: #ffffff;
}


/* ============================= */
/*            FOOTER             */
/* ============================= */

footer {
  padding: 50px 0;
  text-align: center;
  background: #0b0b10;
  color: #666;
  font-size: 0.9rem;
  margin-top: 60px;
}


/* ============================= */
/*          RESPONSIVE           */
/* ============================= */

@media (max-width: 900px) {

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .image-box {
    margin-top: 40px;
  }

  .text-box h1 {
    font-size: 2.8rem;
  }

  .navbar ul {
    display: none;
  }
}