
.contact-form textarea {
  width: 100% !important;
  /* full width inside container */
  max-width: 100% !important;
  box-sizing: border-box;
  /* include padding in width */
  font-size: 15px;
  padding: 12px;
  border-radius: 8px;
}
.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}



/* =========================
   HAMBURGER MENU
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 10001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #2ee6e6;
  border-radius: 2px;
  transition: 0.3s;
}

/* MOBILE NAV */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #050606;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.4s ease;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 22px;
    margin: 0;
  }
}

/* HAMBURGER ANIMATION */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* STATUS FORM */

.form-status {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
}

.form-status.success {
  color: #2ee6e6;
}

.form-status.error {
  color: red;
}





















/* =======================
   RESET & BASE
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at top, #0f1111, #050606);
  color: #ffffff;
  min-height: 100vh;
  padding-top: 90px; /* navbar height ke barabar */
}

/* =======================
   NAVBAR
======================= */
/* .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 80px;
} */

.navbar {
  position: fixed;              /* 🔥 IMPORTANT */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;                /* always on top */
  background: rgba(5, 6, 6, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
}


.logo {
  font-size: 20px;
  font-weight: 600;
}

nav a {
  margin-left: 35px;
  text-decoration: none;
  color: #bfbfbf;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active,
nav a.contact {
  color: #2ee6e6;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #2ee6e6;
  bottom: -6px;
  left: 0;
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after,
nav a.contact::after {
  width: 100%;
}

/* =======================
   HERO SECTION
======================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 140px;
  padding: 275px 0;
}

.profile-wrapper {
  position: relative;
}

.glow-ring {
  width: 280px;
  height: 280px;
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2ee6e6, #19a8a8);
  box-shadow: 0 0 35px rgba(46, 230, 230, 0.6);
}

.glow-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

/* SOCIAL ICONS */
.socials {
  position: absolute;
  left: -45px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.socials span {
  width: 34px;
  height: 34px;
  background: #0e0f0f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ccc;
  cursor: pointer;
  border: 1px solid #1e1e1e;
  transition: 0.3s ease;
  
}

.socials span:hover {
  color: #000;
  box-shadow: 0 0 15px rgba(46, 230, 230, 0.6);
}


.socials a:hover svg {
  stroke: #2ee6e6;
  /* transform: translateX(3px);  */
}


/* HERO TEXT */
.hero-text {
  max-width: 480px;
}

.intro {
  font-size: 14px;
  margin-bottom: 12px;
}

.intro span {
  color: #2ee6e6;
}

.hero-text h1 {
  font-size: 54px;
  color: #2ee6e6;
  margin-bottom: 20px;
}

.desc {
  color: #cfcfcf;
  line-height: 1.6;
  margin-bottom: 35px;
}

/* =======================
   BUTTONS
======================= */
.buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 30px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn.primary {
  background: #2ee6e6;
  border: none;
  color: #000;
}


.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(46, 230, 230, 0.6);
}

.btn.outline {
  background: transparent;
  border: 1px solid #2ee6e6;
  color: #2ee6e6;
}

.btn a {
  text-decoration: none;
  color: inherit;
  display: block;
}


.btn.outline:hover {
  background: #2ee6e6;
  color: #000;
}

/* =======================
   ABOUT SECTION
======================= */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 80px;
  gap: 80px;
}

.about-left {
  max-width: 520px;
}

.about-left h2 {
  font-size: 42px;
  color: #2ee6e6;
  margin-bottom: 20px;
}

.about-left p {
  color: #cfcfcf;
  line-height: 1.7;
  margin-bottom: 30px;
}

.skills {
  margin-top: 40px;
}

.skills h4 {
  color: #2ee6e6;
  margin-bottom: 15px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tags span {
  padding: 8px 14px;
  background: #0e0f0f;
  border-radius: 20px;
  font-size: 13px;
  color: #2ee6e6;
  border: 1px solid #1e1e1e;
  transition: 0.3s ease;
}

.skill-tags span:hover {
  background: #2ee6e6;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(46, 230, 230, 0.4);
}

/* ABOUT IMAGE */
.about-right img {
  width: 360px;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(46, 230, 230, 0.35);
}

/* =======================
   PROJECTS
======================= */
.projects {
  padding: 100px 80px;
  text-align: center;
}

.section-title {
  font-size: 42px;
  color: #2ee6e6;
  margin-bottom: 60px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.project-card {
  background: #0e0f0f;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.4s ease;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 35px rgba(46, 230, 230, 0.45);
}

/* =======================
   RESUME
======================= */
.resume {
  padding: 115px 80px;
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}

.resume-heading {
  color: #2ee6e6;
  margin-bottom: 30px;
}

.resume-item {
  margin-bottom: 35px;
}

.resume-item h4 {
  font-size: 18px;
}

.resume-item span {
  display: block;
  font-size: 13px;
  color: #8f8f8f;
  margin-bottom: 10px;
}

.resume-item p {
  color: #cfcfcf;
  line-height: 1.6;
}

/* =======================
   CONTACT
======================= */
.contact {
  padding: 100px 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}


.info-item {
  margin-bottom: 14px;
}

.info-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #5c666d;
  font-size: 14px;
  transition: color 0.3s ease;
}

/* SVG default */
.info-item svg {
  margin-right: 12px;
  flex-shrink: 0;
  stroke: #5c666d;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

/* 🔥 Hover effect */
.info-item a:hover {
  color: #2ee6e6;
}

.info-item a:hover svg {
  stroke: #2ee6e6;
  transform: translateX(3px); 
}



.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 1px solid #2ee6e6;
  padding: 14px;
  border-radius: 6px;
  color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 20px rgba(46, 230, 230, 0.45);
}

/* =======================
   SCROLL ANIMATION (SAFE)
======================= */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}







/* FOOTER */
.footer {
  border-top: 1px solid #2d2d2d;
  padding: 32px 16px;
  margin-top: 48px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af; /* gray */
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer .tech {
  margin-top: 4px;
}








/* =======================
   RESPONSIVE
======================= */
@media (max-width: 900px) {
  .hero,
  .about,
  .resume-grid,
  .contact-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    padding: 20px 30px;
  }
}





/* =====================================
   LARGE TABLET / SMALL LAPTOP
   (max-width: 1200px)
===================================== */
@media (max-width: 1200px) {
  .hero {
    gap: 80px;
    padding: 180px 40px;
  }

  .about {
    padding: 50px 40px;
  }

  .resume,
  .projects,
  .contact {
    padding: 60px 40px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================
   TABLET
   (max-width: 900px)
===================================== */
@media (max-width: 900px) {
  /* NAVBAR */
  .navbar {
    padding: 18px 25px;
  }

  /* HERO */
  .hero {
    flex-direction: column;
    gap: 60px;
    padding: 180px 30px;
  }

  .hero-text h1 {
    font-size: 44px;
  }

  /* ABOUT */
  .about {
    flex-direction: column;
    text-align: center;
    padding: 100px 30px;
  }

  .about-right img {
    width: 300px;
  }

  .skill-tags {
    justify-content: center;
  }

  /* PROJECTS */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* RESUME */
  .resume-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* CONTACT */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-form button {
    align-self: center;
  }
}

/* =====================================
   MOBILE
   (max-width: 600px)
===================================== */
@media (max-width: 600px) {
  body {
    padding-top: 80px;
  }

  /* HERO */
  .hero {
    padding: 150px 20px;
  }

  .glow-ring {
    width: 220px;
    height: 220px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* SOCIAL ICONS */
  .socials {
    left: -35px;
  }

  /* ABOUT */
  .about {
    padding: 50px 20px;
  }

  .about-left h2,
  .section-title {
    font-size: 34px;
  }

  /* PROJECT CARD */
  .project-card img {
    height: 160px;
  }

  /* RESUME */
  .resume {
    padding: 100px 20px;
  }

  /* CONTACT */
  .contact {
    padding: 100px 20px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 13px;
  }
}

/* =====================================
   EXTRA SMALL DEVICES
   (max-width: 400px)
===================================== */
@media (max-width: 400px) {
  .hero-text h1 {
    font-size: 30px;
  }

  .glow-ring {
    width: 190px;
    height: 190px;
  }

  .about-right img {
    width: 260px;
  }
}


