/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  background: #000000;
  overflow: hidden;
  font-family: 'Inter', 'Josefin Sans', sans-serif;
  color: #ffffff;
}

::selection {
  background: #d84e2c;
  color: #fff;
}

/* ═══════════════════════════════════════
   PARTICLES
   ═══════════════════════════════════════ */
#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════
   MAIN WRAPPER
   ═══════════════════════════════════════ */
#main {
  display: none;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════
   SECTION CONTAINER (reusable)
   ═══════════════════════════════════════ */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #d84e2c;
  margin-bottom: 20px;
  font-weight: 500;
}

.section-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 50px;
  color: #fff;
}

.accent {
  color: #d84e2c;
}

/* ═══════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  background: #6C2716;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
  font-family: 'Josefin Sans', sans-serif;
}

#preloader-logo {
  font-size: 2rem;
  letter-spacing: 2px;
  color: white;
  z-index: 2;
}

.text-wrapper {
  text-align: center;
  z-index: 5;
}

#subtext {
  margin-top: 10px;
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.904);
  white-space: pre-line;
}

/* STRIPS */
.loader-cards {
  position: absolute;
  inset: 0;
  display: flex;
}

.loader-card {
  flex: 1.1;
  margin-left: -1px;
  background: linear-gradient(to bottom, #000000, #0a0a0a, #111111);
  transform: translateY(-100%);
  position: relative;
  overflow: hidden;
}

/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: 'Josefin Sans', sans-serif;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #d84e2c;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1.5px;
  background: #d84e2c;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 60px;
}

.hero-content {
  text-align: center;
  width: 100%;
  max-width: 1400px;
}

/* Giant name — outline version */
.hero-big-text {
  line-height: 0.9;
  margin-bottom: 10px;
  overflow: hidden;
}

.hero-name-outline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(4rem, 14vw, 14rem);
  font-weight: 700;
  letter-spacing: 8px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  display: block;
  user-select: none;
}

/* Giant name — filled version */
.hero-name-filled {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(4rem, 14vw, 14rem);
  font-weight: 700;
  letter-spacing: 8px;
  color: #fff;
  text-transform: uppercase;
  display: block;
  user-select: none;
  text-shadow: 0 0 80px rgba(216, 78, 44, 0.15);
}

.hero-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.hero-line {
  width: 60px;
  height: 1.5px;
  background: #d84e2c;
  flex-shrink: 0;
}

.hero-details {
  text-align: left;
}

.hero-role {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-role .amp {
  color: #d84e2c;
  font-weight: 300;
  margin: 0 4px;
}

.hero-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */
.about {
  padding: 120px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 8px;
}

.about-subheading {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.about-description {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  font-weight: 300;
}

/* Stats row */
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #d84e2c;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* About image */
.about-image {
  display: flex;
  justify-content: center;
}

.image-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.image-frame:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(0, 0, 0, 0.7) 100%
  );
  pointer-events: none;
}

/* ═══════════════════════════════════════
   QUOTE MARQUEE
   ═══════════════════════════════════════ */
.quote-section {
  padding: 50px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-track {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}

.marquee-content span {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #d84e2c;
  padding-right: 60px;
  text-transform: uppercase;
  letter-spacing: 3px;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   SKILLS
   ═══════════════════════════════════════ */
.skills {
  padding: 120px 0;
}

.stack-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 30px;
  margin-top: 50px;
  color: #fff;
}

.stack-heading:first-of-type {
  margin-top: 20px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.skill-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: default;
}

.skill-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(216, 78, 44, 0.3);
  transform: translateY(-2px);
}

.skill-card i {    
  font-size: 1.6rem;
  flex-shrink: 0;
}

.skill-card span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.skill-icon-text {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #88ce02 !important;
  letter-spacing: 1px;
  min-width: 26px;
  text-align: center;
}

/* ═══════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════ */
.projects {
  padding: 120px 0;
}

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

.project-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.project-card:hover {
  border-color: rgba(216, 78, 44, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-view {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  transition: all 0.3s ease;
}

.project-view:hover {
  background: #d84e2c;
  border-color: #d84e2c;
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.project-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: 300;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  font-size: 0.72rem;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact {
  padding: 120px 0;
}

.contact-heading {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 60px;
  font-weight: 300;
}

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

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(216, 78, 44, 0.3);
  transform: translateX(6px);
}

.contact-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 78, 44, 0.12);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all 0.3s ease;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(216, 78, 44, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.btn-submit {
  padding: 16px 36px;
  background: #d84e2c;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
}

.btn-submit:hover {
  background: #c44425;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(216, 78, 44, 0.3);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-submit:hover .btn-arrow {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {

  .section-container {
    padding: 0 20px;
  }

  /* Navbar mobile */
  .nav-container {
    padding: 16px 20px;
  }

  .logo {
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: #0a0a0a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: 0.4s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
  }

  /* Hero mobile */
  .hero {
    padding: 100px 20px 60px;
    min-height: 100svh;
  }

  .hero-name-outline,
  .hero-name-filled {
    letter-spacing: 4px;
  }

  .hero-info {
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
  }

  .hero-line {
    width: 40px;
  }

  .hero-details {
    text-align: center;
  }

  /* About mobile */
  .about {
    padding: 80px 0;
  }

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

  .about-image {
    order: -1;
  }

  .image-frame {
    max-width: 280px;
  }

  .about-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  /* Skills mobile */
  .skills {
    padding: 80px 0;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .skill-card {
    padding: 12px 14px;
  }

  .skill-card i {
    font-size: 1.3rem;
  }

  .skill-card span {
    font-size: 0.78rem;
  }

  /* Projects mobile */
  .projects {
    padding: 80px 0;
  }

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

  /* Contact mobile */
  .contact {
    padding: 80px 0;
  }

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

  /* Footer mobile */
  .footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Quote */
  .quote-section {
    padding: 30px 0;
  }
}

/* ═══════════════════════════════════════
   LARGE SCREENS
   ═══════════════════════════════════════ */
@media (min-width: 1940px) {
  #preloader-logo {
    font-size: 3.5rem;
    letter-spacing: 2px;
  }

  #subtext {
    font-size: 1.8rem;
  }

  .logo {
    font-size: 1.6rem;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}