/* RESET & BASE */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

* {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* {
  font-family: 'Poppins', sans-serif;
}

:root {
  --bg: transparent;
  --bg2: rgba(255,255,255,0.3);
  --bg3: rgba(255,255,255,0.2);
    --surface: #ffffff;
    --border: #e8ddd8;
    --text: #111111;
    --muted: #777777;
    --accent: #c93a0a;
    --accent2: #d45f3c;
    --accent3: #e05580;
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --radius: 14px;
    --transition: 0.3s ease;
  }

html { scroll-behavior: smooth; }

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  background: var(--bg);
  background-image: none;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

body {
  background: #ffffff;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 100% 50%; }
  50%  { background-position: 100% 0%; }
  75%  { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
  
  .nav-logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
  }
.dot { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #555555;
  transition: color var(--transition);
  position: relative;
  text-decoration: none;
}
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 0;
    transition: none;
  }
  .hamburger { display: none; ... }

.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  transition: all var(--transition);
}
.nav-links a,
.nav-links a:hover,
.nav-links a:visited,
.nav-links a.active {
  text-decoration: none !important;
}
/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
    background: #1a1a1a;
    color: #ffffff;
  }
  .btn-primary:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow:
      -4px -4px 16px rgba(100, 180, 255, 0.3),
      4px 4px 16px rgba(180, 100, 255, 0.3),
      0 8px 24px rgba(0,0,0,0.15);
  }
  .btn-outline {
    background: transparent;
    color: #1a1a1a;
    border: 1.5px solid #1a1a1a;
  }
  .btn-outline:hover {
    background: #1a1a1a;
    color: #ffffff;
    transform: translateY(-2px);
  }

/* SECTIONS */
section {
  width: 100%;
  box-sizing: border-box;
}
.section { padding: 120px 0; }
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 5%;
}
.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 3rem;
  letter-spacing: -1px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 5% 80px;
  text-align: center;
  background: linear-gradient(
    125deg,
    #fff8f6,
    #ffd6e8,
    #d6eaff,
    #d6fff0,
    #fff3d6,
    #f0d6ff,
    #ffd6d6,
    #fff8f6
  );
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.hero-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 20vw, 200px);
  font-weight: 800;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -5px;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-tag {
  display: inline-block;
  width: auto;
  background: rgba(201,145,10,0.12);
  color: var(--accent);
  border: 1px solid rgba(201,145,10,0.3);
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.hero-name {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 1.2rem;
  }
.role-slider { overflow: hidden; height: 2.5rem; margin-bottom: 1.5rem; }
.role-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.76,0,0.24,1);
}
.role-item {
  height: 2.5rem;
  line-height: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.hero-desc { color: var(--muted); font-size: 1.1rem; margin-bottom: 2.5rem; line-height: 1.6; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ABOUT */
.about { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center;
}
.about-photo-wrap { position: relative; }
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.about-photo-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-badge {
  position: absolute;
  bottom: -1rem; right: -1rem;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
}
.about-text p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.02rem; }
.about-text strong { color: var(--text); }
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin: 2rem 0 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #cc0000;
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; display: block; }

/* SKILLS */
.skills { background: var(--bg); }
.skills-tabs { display: flex; gap: 0.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.tab-btn {
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  background: #ffffff;
  color: #555;
  border: 1.5px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tab-btn.active {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}
.tab-btn:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 4px rgba(26,26,26,0.1);
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.skill-card {
    background: #ffffff;
    border: 1px solid #ecddd8;
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    transition: all var(--transition);
    color: #111111;
  }
  .skill-card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow:
      -4px -4px 16px rgba(100, 180, 255, 0.3),
      4px 4px 16px rgba(180, 100, 255, 0.3),
      0 12px 24px rgba(0,0,0,0.06);
  }
.skill-icon { font-size: 1.5rem; margin-bottom: 0.8rem; }
.skill-card h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.8rem; }
.skill-bar {height: 5px;background: #e0d0c8; border-radius: 50px; overflow: hidden; }
.skill-fill {
  height: 100%;
  width: var(--pct);
  background: var(--accent);
  border-radius: 50px;
  transition: width 1s ease 0.3s;
}

/* PROJECTS */
.projects { background: var(--bg2); }
.projects-filter { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: #ffffff;
  color: #555;
  border: 1.5px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn.active {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}
.filter-btn:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 4px rgba(26,26,26,0.1);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.project-card {
    background: #ffffff;
    border: 1px solid #ecddd8;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    color: #111111;
  }
 /* Clean AWS-style hover on all cards */
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-color: #d0d0d0;
}

.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  border-color: #d0d0d0;
}

.contact .contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-color: #444444;
}

.btn-primary:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.project-card.hidden { display: none; }
.project-thumb { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.analyst-thumb { background: rgba(78,205,196,0.12); }
.dev-thumb { background: rgba(232,197,71,0.1); }
.design-thumb { background: rgba(255,107,107,0.1); }
.project-info { padding: 1.4rem 1.6rem; }
.project-tag {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232,197,71,0.1);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}
.project-info h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin: 0.8rem 0 0.6rem; }
.project-info p { color: #555555; font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.2rem; }
.project-links { display: flex; gap: 1rem; align-items: center; }
.plink { font-size: 0.88rem; font-weight: 500; color: var(--accent); }
.plink:hover { text-decoration: underline; }
.plink-gh {
  font-size: 0.82rem; color: var(--muted);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  transition: all var(--transition);
}
.plink-gh:hover { border-color: var(--text); color: var(--text); }

/* CONTACT */
.contact {
  background: #111111 !important;
  background-image: none !important;
  border-radius: 24px 24px 0 0;
  margin-top: -24px;
  position: relative;
  z-index: 2;
}
.contact-sub {
  color: #aaaaaa; font-size: 1.05rem; margin-top: -2rem; margin-bottom: 3rem; max-width: 500px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: #ffffff;
    border: 1px solid #ecddd8;
    border-radius: var(--radius);
    transition: all var(--transition);
    color: #111111;
  }
  .contact-item:hover {
    border-color: transparent;
    box-shadow:
      -4px -4px 16px rgba(100, 180, 255, 0.3),
      4px 4px 16px rgba(180, 100, 255, 0.3),
      0 12px 24px rgba(0,0,0,0.06);
    transform: translateY(-3px);
  }
.ci-icon { font-size: 1.3rem; }
.contact-item strong { display: block; font-size: 0.85rem; margin-bottom: 0.2rem; }
.contact-item a { color: var(--muted); font-size: 0.9rem; transition: color var(--transition); }
.contact-item a:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--muted); letter-spacing: 0.05em; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: transparent;
  outline: none;
  box-shadow:
    -3px -3px 12px rgba(100, 180, 255, 0.25),
    3px 3px 12px rgba(180, 100, 255, 0.25);
}

  /* FOOTER */
  .footer {
    background: #111111;
    border-top: 1px solid #222222;
    padding:2rem 5%;
  }
  
  .footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #aaaaaa;
  }

  /* CONTACT */
.contact { background: var(--bg); }
.contact-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
  max-width: 500px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.contact-item:hover { border-color: var(--accent); }
.ci-icon { font-size: 1.3rem; }
.contact-item strong { display: block; font-size: 0.85rem; margin-bottom: 0.2rem; }
.contact-item a {
  text-decoration: none !important;
}
.contact-item a:hover { color: var(--accent); }


/* Contact section — full dark background */
.contact {
  background: #111111 !important;
  background-image: none !important;
}
.contact .section-title { color: #ffffff; }
.contact .section-label { color: #e84747; }
.contact .contact-sub { color: #aaaaaa; }
.contact .contact-item { background: #1f1f1f; border-color: #2a2a2a; }
.contact .contact-item strong { color: #ffffff; }
.contact .contact-item a { color: #aaaaaa; }
.contact .contact-item a:hover { color: #ffffff; }
.contact .form-group label { color: #aaaaaa; }
.contact .form-group input,
.contact .form-group textarea {
  background: #1f1f1f;
  border-color: #333333;
  color: #ffffff;
}
.contact .form-group input::placeholder,
.contact .form-group textarea::placeholder { color: #555555; }

.contact .contact-item a,
.contact .contact-item div { color: #cccccc; }

.form-success {
  display: none;
  color: #4ecdc4;
  font-size: 0.92rem;
  padding: 0.8rem 1rem;
  background: rgba(78,205,196,0.1);
  border-radius: 8px;
  border: 1px solid rgba(78,205,196,0.2);
}

/* Hover glow effects */
.project-card {
  transition: all 0.3s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow:
    -4px -4px 20px rgba(100, 180, 255, 0.35),
    4px 4px 20px rgba(180, 100, 255, 0.35),
    0 16px 32px rgba(0,0,0,0.08);
}

.skill-card {
  transition: all 0.3s ease;
}
.skill-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow:
    -4px -4px 16px rgba(100, 180, 255, 0.3),
    4px 4px 16px rgba(180, 100, 255, 0.3),
    0 12px 24px rgba(0,0,0,0.06);
}

.contact .contact-item {
  transition: all 0.3s ease;
}
.contact .contact-item:hover {
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow:
    -4px -4px 16px rgba(100, 180, 255, 0.3),
    4px 4px 16px rgba(180, 100, 255, 0.3),
    0 12px 24px rgba(0,0,0,0.06);
}

.btn-primary:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow:
    -4px -4px 16px rgba(100, 180, 255, 0.3),
    4px 4px 16px rgba(180, 100, 255, 0.3),
    0 8px 24px rgba(0,0,0,0.15);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: transparent;
  outline: none;
  box-shadow:
    -3px -3px 12px rgba(100, 180, 255, 0.25),
    3px 3px 12px rgba(180, 100, 255, 0.25);
}

/* 3D tilt setup */
.project-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.project-card .project-thumb,
.project-card .project-info {
  transform: translateZ(20px);
}

.project-thumb {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

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

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

.resume-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.btn-resume {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  background: #1a1a1a;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-resume:hover {
  transform: translateY(-2px);
  box-shadow:
    -4px -4px 16px rgba(100, 180, 255, 0.3),
    4px 4px 16px rgba(180, 100, 255, 0.3);
}

.btn-resume:nth-child(1) { background: #1a1a1a; }
.btn-resume:nth-child(2) { background: #1a1a2e; }
.btn-resume:nth-child(3) { background: #2e1a1a; }

/* Remove all button underlines */
.btn, .btn-primary, .btn-outline, .btn-resume,
.btn:hover, .btn-primary:hover, .btn-outline:hover {
  text-decoration: none !important;
}

/* Fix Available for work badge */
.hero-tag {
  background: rgba(255, 255, 255, 0.6) !important;
  color: #111111 !important;
  border: 1.5px solid rgba(0,0,0,0.15) !important;
  font-weight: 600 !important;
  backdrop-filter: blur(8px);
}

/* Role text more vibrant */
.role-item {
  color: #cc0000 !important;
  font-weight: 800 !important;
}

/* EXPERIENCE TIMELINE */
.experience { background: #ffffff; }

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #cc0000, #ffcccc, transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2.45rem;
  top: 6px;
  width: 14px;
  height: 14px;
  background: #cc0000;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #cc0000;
}

.timeline-content {
  background: #ffffff;
  border: 1px solid #ecddd8;
  border-radius: 14px;
  padding: 1.5rem 2rem;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #cc0000;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.timeline-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-size: 0.85rem;
  color: #cc0000;
  font-weight: 500;
}

.timeline-date {
  font-size: 0.8rem;
  color: #888888;
  background: #f5f5f5;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  white-space: nowrap;
  font-weight: 500;
}

.timeline-points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-points li {
  font-size: 0.9rem;
  color: #555555;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}

.timeline-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #cc0000;
  font-weight: 700;
}

.about { background: #ffffff !important; }
.about .section-label { color: #cc0000; }

/* RESPONSIVE FIXES */
@media (max-width: 1024px) {
  .hero-main-row {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .hero-text-side .hero-name,
  .hero-text-side .hero-desc,
  .hero-text-side .role-slider { text-align: center; }
  .hero-text-side .hero-cta { justify-content: center; }
  .hero-logo-side { display: none; }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .about-photo-wrap { max-width: 260px; margin: 0 auto; }
  .about-stats { justify-content: center; }
  .resume-btns { justify-content: center; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .logo-showcase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar {
    width: calc(100% - 20px);
    padding: 0 1rem;
    top: 8px;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 10px;
    right: 10px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.1);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .hamburger { display: flex; }
  .section { padding: 80px 0; }
  .section-title { font-size: 2rem; }
  .hero-name { font-size: clamp(2.5rem, 10vw, 4rem); }
  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .timeline { padding-left: 1rem; }
  .timeline-header { flex-direction: column; gap: 0.5rem; }
  .footer .container { flex-direction: column; gap: 0.5rem; text-align: center; }
  .logo-3d-card { width: 260px; height: 260px; }
  .logo-showcase-img { width: 260px; height: 260px; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.5rem; }
  .about-stats { flex-direction: column; gap: 1rem; }
  .resume-btns { flex-direction: column; }
  .btn-resume { text-align: center; justify-content: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .container { padding: 0 1rem; }
}



/* ADDITIONAL WORKS SLIDESHOW */
.additional {
  background: #fdf6f0;
  animation: none;
}
.additional .section-label { color: #cc0000; }
.additional .section-title { color: #111111; }
.additional-sub { color: #666666; font-size: 1rem; margin-top: -2rem; margin-bottom: 3rem; }

.slideshow-wrap {
  position: relative;
  width: 70%;
  max-width: 850px;
  height: 480px;
  overflow: visible;
  margin: 0 auto;
  border-radius: 20px;
}

.slideshow {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  background: #f0f0f0;
}

.slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: all;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}



/* Prev / Next buttons */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1.5px solid #e0e0e0;
  color: #111111;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.slide-btn:hover {
  background: #cc0000;
  border-color: #cc0000;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(204,0,0,0.3);
}

.slide-btn:hover {
  background: rgba(204,0,0,0.6);
  border-color: #cc0000;
}

.slide-prev { left: -70px; }
.slide-next { right: -70px; }

/* Dots */
.slide-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.slide-dot.active {
  background: #cc0000;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .slideshow-wrap { height: 350px; }
  .slide-btn { width: 36px; height: 36px; font-size: 1rem; }
  .slide-prev { left: 0.8rem; }
  .slide-next { right: 0.8rem; }
}

/* MOBILE FIXES */
@media (max-width: 480px) {

  /* Fix top spacing */
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  /* Fix hamburger visibility */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111111;
    border-radius: 2px;
  }

  /* Buttons full width on mobile */
  .hero-cta {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Fix name size */
  .hero-name {
    font-size: 3rem !important;
    letter-spacing: -1px;
  }

  /* Fix role text */
  .role-item {
    font-size: 1.3rem !important;
  }

  /* Fix hero tag */
  .hero-tag {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  /* Reduce section padding */
  .section {
    padding: 60px 0;
  }

  /* Fix navbar pill on mobile */
  .navbar {
    width: calc(100% - 20px);
    top: 8px;
    padding: 0 1rem;
    height: 54px;
  }

  /* Fix about section */
  .about-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .about-photo-wrap {
    max-width: 220px;
    margin: 0 auto;
  }

  /* Fix resume buttons */
  .resume-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-resume {
    text-align: center;
    justify-content: center;
  }

  /* Fix projects grid */
  .projects-grid {
    grid-template-columns: 1fr !important;
  }

  /* Fix skills grid */
  .skills-grid {
    grid-template-columns: 1fr !important;
  }

  /* Fix contact layout */
  .contact-layout {
    grid-template-columns: 1fr !important;
  }

  /* Fix timeline */
  .timeline-header {
    flex-direction: column;
  }

  .timeline-date {
    align-self: flex-start;
  }

  /* Fix slideshow */
  .slideshow-wrap {
    width: 90% !important;
    height: 280px !important;
  }

  .slide-prev { left: -30px !important; }
  .slide-next { right: -30px !important; }
}