/* =========================
   GLOBAL
========================= */

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

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #0f2027;
  color: white;
  overflow-x: hidden;
  /*overscroll-behavior: none;*/
}
#smooth-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

#smooth-content {
  width: 100%;
  will-change: transform;
}

section {
  overflow-x: hidden;
  overflow-y: hidden;
  padding-top: 10px;
  margin-bottom: 10px;
  padding-inline-start: 25px;
  padding-right: 25px;
}

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

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  position: fixed;
  width: 100%;
  background: rgba(15, 32, 39, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-weight: 600;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links ul li a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.nav-links ul li a:hover {
  color: #ff4d5a;
}

.resume-btn {
  background: #ff4d5a;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  color: white;
  font-size: 14px;
}

/* HAMBURGER */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
}

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

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 160px 8% 120px;
  min-height: 100vh;
  flex-wrap: wrap;
  gap: 60px;
}

.hero-text {
  max-width: 600px;
}

.intro-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.intro-line span {
  width: 40px;
  height: 2px;
  background: #ff4d5a;
}

.intro-line p {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-text h1 span {
  color: #ff4d5a;
}

.hero-text h2 {
  margin: 15px 0;
  font-size: 22px;
  font-weight: 500;
  color: #ccc;
}

.hero-description {
  margin-top: 15px;
  max-width: 520px;
  line-height: 1.7;
  color: #bbb;
}

/* BUTTONS */

.buttons {
  margin-top: 30px;
}

.primary-btn,
.outline-btn {
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  margin-right: 15px;
  font-weight: 500;
  transition: 0.3s ease;
}

.primary-btn {
  background: #ff4d5a;
  color: white;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 77, 90, 0.4);
}

.outline-btn {
  border: 2px solid #ff4d5a;
  color: #ff4d5a;
}

.outline-btn:hover {
  background: #ff4d5a;
  color: white;
}

/* SOCIALS */

.socials {
  margin-top: 25px;
}

.socials a {
  font-size: 20px;
  margin-right: 18px;
  color: #ccc;
  transition: 0.3s;
}

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

/* HERO IMAGE */

.hero-img {
  position: relative;
}

.hero-img img {
  width: 340px;
  position: relative;
  z-index: 2;
}

/* GLOW CIRCLE */

.circle {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #ff4d5a33, transparent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* RIBBON */

.ribbon {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 60px;
  overflow: hidden;
  border-radius: 40px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  z-index: 5;
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: scrollRibbon 20s linear infinite;
}

.ribbon-content {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
}

.ribbon-content img {
  width: 28px;
  height: 28px;
  transition: 0.3s;
}

.ribbon-content img:hover {
  transform: scale(1.2);
}

@keyframes scrollRibbon {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

.about-section {
  padding: 120px 8%;
  background: #0c1b21;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.about-left h2 {
  font-size: clamp(60px, 10vw, 150px);
  font-weight: 700;
  color: #ff4d5a;
}

.about-right p {
  margin-bottom: 20px;
  color: #ccc;
  line-height: 1.7;
}

.about-highlights {
  margin-top: 30px;
}

.about-highlights div {
  margin-bottom: 12px;
  font-weight: 500;
}

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

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

.project-card {
  background: #1b2e36;
  padding: 25px;
  border-radius: 15px;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-links {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.project-links a {
  text-decoration: none;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #ff4d5a;
  color: #ff4d5a;
  transition: 0.3s;
}

.project-links a:hover {
  background: #ff4d5a;
  color: white;
}

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

.contact-section {
  padding: 120px 8%;
  text-align: center;
  background: #0c1b21;
}

.contact-section h2 {
  font-size: 48px;
  margin-bottom: 15px;
  color: #ff4d5a;
}

.contact-subtext {
  color: #bbb;
  margin-bottom: 50px;
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.icon {
  width: 60px;
  height: 60px;
  background: #132a33;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.icon img {
  width: 26px;
  height: 26px;
}

.icon:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* =========================
   SCROLL REVEAL
========================= */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.project-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.project-card.active {
  opacity: 1;
  transform: translateY(0);
}

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

footer {
  padding: 20px;
  text-align: center;
  background: #08161c;
}

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

@media (max-width: 900px) {

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-img {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    transform: translateY(-150%);
    transition: 0.4s ease-in-out;
    background: #0f2027;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links ul {
    flex-direction: column;
  }

  .menu-toggle {
    display: flex;
  }
}
.viewbutton{
  padding: 10px 10px 10px 10px;
  margin-top: 40px;
 }