/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #080808;
  font-family: "DM Sans", sans-serif;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: #ec4899;
  border-radius: 4px;
}

/* ===== TYPOGRAPHY ===== */
.syne {
  font-family: "Syne", sans-serif;
}
.pink {
  color: #ec4899;
}

.section-label {
  letter-spacing: 0.3em;
  font-size: 12px;
  color: #ec4899;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes pulse-pink {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(236, 72, 153, 0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.7s ease forwards;
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}
.animate-pulse-pink {
  animation: pulse-pink 2s infinite;
}

/* ===== NAVBAR ===== */
.glass {
  background: rgba(17, 18, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #ec4899, #7c3aed);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  font-family: "Syne", sans-serif;
  flex-shrink: 0;
}

.nav-name {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #aaa;
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ec4899;
  transition: width 0.3s;
}
.nav-link:hover,
.nav-link.active {
  color: #ec4899;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-hire {
  background: #ec4899;
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-hire:hover {
  background: #db2777;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #080808;
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav-overlay.open {
  display: flex;
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.mobile-nav-link {
  font-family: "Syne", sans-serif;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.mobile-nav-link:hover {
  color: #ec4899;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #ec4899;
  color: #fff;
  padding: 10px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
}

/* ===== SECTION WRAPPER ===== */
.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO ===== */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.13) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  padding: 60px 24px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-content p {
  color: #888;
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 500px;
  font-size: 15px;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-card {
  background: #111218;
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: default;
  transition: border-color 0.2s;
  font-weight: 600;
  font-size: 14px;
}
.feature-card:hover {
  border-color: rgba(236, 72, 153, 0.4);
}
.feature-card .icon {
  color: #ec4899;
  font-size: 16px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #ec4899;
  color: #fff;
  border: none;
  padding: 13px 30px;
  border-radius: 99px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  font-family: "DM Sans", sans-serif;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #db2777;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #2e2e4e;
  padding: 13px 30px;
  border-radius: 99px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  font-family: "DM Sans", sans-serif;
  transition: border-color 0.2s;
}
.btn-outline:hover {
  border-color: #ec4899;
}

.hero-img-wrap {
  display: flex;
  justify-content: center;
}

.hero-img-float {
  position: relative;
}

.hero-img-box {
  width: 320px;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(236, 72, 153, 0.3);
  box-shadow: 0 0 60px rgba(236, 72, 153, 0.15);
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #111218;
  border: 1px solid #1e1e2e;
  border-radius: 16px;
  padding: 14px 22px;
  text-align: center;
}

.hero-badge-num {
  font-family: "Syne", sans-serif;
  color: #ec4899;
  font-size: 26px;
  font-weight: 800;
}

.hero-badge-label {
  color: #888;
  font-size: 12px;
}

/* ===== CARDS ===== */
.card {
  background: #111218;
  border: 1px solid #1e1e2e;
  border-radius: 16px;
  transition: all 0.3s;
}
.card:hover {
  border-color: rgba(236, 72, 153, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.08);
}

/* ===== SKILLS ===== */
#skills {
  padding: 100px 0;
}

.skills-header {
  text-align: center;
  margin-bottom: 64px;
}

.skills-header h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

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

.skills-col h3,
.services-col h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 28px;
}

#skillsContainer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.skill-pct {
  color: #ec4899;
  font-weight: 700;
}

.skill-bar {
  height: 6px;
  background: #1e1e2e;
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, #ec4899, #f472b6);
  border-radius: 3px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  background: #111218;
  border: 1px solid #1e1e2e;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.service-card:hover {
  border-color: rgba(236, 72, 153, 0.4);
}

.service-num {
  font-family: "Syne", sans-serif;
  color: rgba(236, 72, 153, 0.4);
  font-weight: 800;
  font-size: 22px;
  min-width: 32px;
  flex-shrink: 0;
}

.service-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.service-desc {
  color: #888;
  font-size: 14px;
  line-height: 1.6;
}

/* ===== PROJECTS ===== */
#projects {
  padding: 100px 0;
  background: #0a0a0f;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.section-header p {
  color: #888;
  margin-top: 12px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: #111218;
  border: 1px solid #1e1e2e;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  border-color: rgba(236, 72, 153, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.08);
}

.project-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #1a1a2e;
  flex-shrink: 0;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #ec4899;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-body h3 {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px;
}

.project-body p {
  color: #888;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag {
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #ec4899;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12px;
}

.project-btns {
  display: flex;
  gap: 10px;
}

.btn-ghost {
  background: #1a1a2e;
  border: 1px solid #2e2e4e;
  color: #fff;
  padding: 8px 18px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
}
.btn-ghost:hover {
  border-color: #ec4899;
  color: #ec4899;
}

.btn-pink {
  background: #ec4899;
  color: #fff;
  padding: 8px 18px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border: none;
  font-family: "DM Sans", sans-serif;
}
.btn-pink:hover {
  background: #db2777;
}

/* ===== EDUCATION ===== */
#education {
  padding: 100px 0;
}

.education-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.edu-card {
  background: #111218;
  border: 1px solid #1e1e2e;
  border-radius: 16px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  transition: border-color 0.3s;
}
.edu-card:hover {
  border-color: rgba(236, 72, 153, 0.4);
}

.edu-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.edu-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ec4899, #7c3aed);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.edu-title {
  font-weight: 700;
  font-size: 16px;
}
.edu-inst {
  color: #888;
  font-size: 14px;
  margin-top: 2px;
}

.edu-date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ec4899;
  font-size: 13px;
  margin-bottom: 14px;
}

.edu-desc {
  color: #aaa;
  font-size: 14px;
  line-height: 1.7;
}

.edu-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
}

.edu-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.edu-line {
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, #ec4899, transparent);
  margin-top: 8px;
}

/* ===== CONTACT ===== */
#contact {
  padding: 100px 0;
  background: #0a0a0f;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-card {
  background: #111218;
  border: 1px solid #1e1e2e;
  border-radius: 20px;
  padding: 32px;
}

.contact-card h3 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
}

.contact-card > p {
  color: #888;
  font-size: 14px;
  margin-bottom: 24px;
}

.contact-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.meta-box {
  background: #1a1a2e;
  border-radius: 12px;
  padding: 14px;
}

.meta-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
}

.meta-val {
  color: #aaa;
  font-size: 13px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.contact-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-row-left .icon {
  font-size: 18px;
}
.contact-row-label {
  font-weight: 600;
  font-size: 14px;
}
.contact-row-val {
  color: #888;
  font-size: 13px;
}

.copy-btn {
  background: #1a1a2e;
  border: 1px solid #2e2e4e;
  color: #aaa;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.copy-btn:hover {
  border-color: #ec4899;
  color: #ec4899;
}

.social-label {
  color: #888;
  font-size: 13px;
  margin-bottom: 14px;
}

.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a1a2e;
  border: 1px solid #2e2e4e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  text-decoration: none;
  transition: all 0.2s;
}
.social-btn:hover {
  border-color: #ec4899;
  color: #ec4899;
}

.contact-input {
  background: #1a1a2e;
  border: 1px solid #2e2e4e;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  width: 100%;
  outline: none;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  transition: border-color 0.2s;
}
.contact-input:focus {
  border-color: #ec4899;
}
.contact-input::placeholder {
  color: #555;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.submit-btn {
  background: #ec4899;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
  font-family: "DM Sans", sans-serif;
  transition: background 0.2s;
}
.submit-btn:hover {
  background: #db2777;
}

.form-note {
  color: #555;
  font-size: 12px;
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  padding: 48px 0;
  border-top: 1px solid #1e1e2e;
  text-align: center;
}

.footer-name {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-sub {
  color: #888;
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  color: #444;
  font-size: 13px;
}

.contact-divider {
  width: 60px;
  height: 3px;
  background: #ec4899;
  margin: 16px auto 0;
}

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

/* Tablet: 992px */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-grid {
    gap: 40px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-img-box {
    width: 260px;
    height: 340px;
  }
}

/* Mobile large: 768px */
@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }
  .mobile-menu-btn {
    display: block !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-inner {
    padding: 40px 20px;
  }

  .hero-content {
    text-align: center;
    order: 2;
  }
  .hero-content p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-features {
    grid-template-columns: 1fr 1fr;
  }

  /* .hero-img-wrap { display: none; } */
  .hero-img-wrap {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 45px;
    order: 1;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-meta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .edu-timeline {
    display: none;
  }

  .section-wrap {
    padding: 0 16px;
  }
  .hero-inner {
    padding: 40px 16px;
  }

  #skills,
  #projects,
  #education,
  #contact {
    padding: 70px 0;
  }
  footer {
    padding: 40px 0;
  }
}

/* Mobile small: 480px */
@media (max-width: 480px) {
  .nav-inner {
    padding: 14px 16px;
  }
  .nav-name {
    font-size: 13px;
  }
  .nav-logo {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section-header h2,
  .skills-header h2 {
    font-size: 1.8rem;
  }

  .contact-meta-grid {
    grid-template-columns: 1fr;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .project-body {
    padding: 16px;
  }

  .contact-card {
    padding: 20px;
  }

  .footer-links {
    gap: 16px;
  }

  .edu-card {
    padding: 20px;
  }

  .btn-primary,
  .btn-outline {
    padding: 11px 22px;
    font-size: 14px;
  }
}

/* Mobile XS: 360px */
@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }
}
