*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2️⃣ COLOR VARIABLES */
:root {
  --bg: #f5f5f3;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #d4d4d0;
  --card: #fafaf8;
  --accent: #1a1a1a;
  --radius: 22px;

}

/* 3️⃣ BODY STYLES */
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  overflow-x: hidden;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #0f62fe;
  outline-offset: 3px;
}

.show-focus a:focus-visible,
.show-focus button:focus-visible {
  outline: 2px solid #0f62fe;
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Performance: GPU acceleration for smooth scrolling */
.section,
.expertise-card,
.project-card,
.hero-profile,
.about-video,
.hobby-item {
  will-change: transform, opacity;
}


/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(245, 245, 243, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
}


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

.nav-links a {
  position: relative;
  padding: 6px 0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--text);
  transition: width 0.3s ease;
}

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

main {
  padding: 80px 32px 120px;   /* less side padding */
  max-width: 1270px;         /* wider content */
  margin: 0 auto;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0 60px;
  min-height: 70vh;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-name {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 700;
}

.hero-role {
  font-size: 20px;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

.hero-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
  margin: 0;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero-profile {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-profile:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Add smooth transition for zoom */
  transition: transform 0.5s ease;
}

/* Zoom in when hovering */
.profile-image:hover {
  transform: scale(1.1); /* zooms 10% on hover */
}


.resume-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--accent);
  transition: all 0.3s ease;
  text-decoration: none;
}

.resume-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  background: #1a1a1a;
}

.resume-button svg {
  transition: transform 0.3s ease;
}

.resume-button:hover svg {
  transform: translate(2px, -2px);
}

/* About / Philosophy Section */
.about-philosophy {
  padding: 100px 0;
}

.about-philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-video {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 550px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);

  /* Add smooth transition for zoom */
  transition: transform 0.5s ease;
}

/* Zoom in when hovering */
.about-video:hover {
  transform: scale(1.05); /* zooms 5% on hover */
}


.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e6, #dcdcd8);
}

.philosophy-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.philosophy-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 20px;
}

.philosophy-text p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 8px;
  font-weight: 600;
}

.section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  opacity: 1;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.section.visible .section-header {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  margin-bottom: 48px;
}

/* ===============================
   PROJECT METRICS
   =============================== */


/* Make metric cards larger and more spacious */
.metric-card {
  padding: 70px 60px;           /* keeps the card spacious */
  min-width: 200px;             /* larger cards */
  border-radius: 20px;
  border: 2px solid rgba(0,0,0,0.15); /* slightly darker, visible border */
  background: var(--card);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); /* subtle default shadow */
  transition: transform 0.55s ease, box-shadow 0.35s ease, border 0.35s ease;
}

.metric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); /* your existing hover pop */
}


.metric-title {
  font-size: 16px;       /* larger title text */
}

.metric-value {
  font-size: 40px;       /* larger number / % */
  font-weight: 700;
}


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

.metric-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 8px;
  font-weight: 600;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-header h2 {
  margin: 20px 0 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.01em;
  font-weight: 700;
}

/* ===============================
   PROJECT DETAIL — TITLE LOGO
   =============================== */

/* Project detail logo — consistent size everywhere */
.project-title {
  display: flex;
  justify-content: center;  /* horizontal centering */
  align-items: center;      /* vertical centering */
}

.project-title img {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;

  margin-bottom: 0; /* ✅ correct way */

  transition: transform 0.35s ease, filter 0.35s ease;
}

.project-title:hover img {
  transform: scale(1.06) translateY(-2px);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.12));
}



/* Screen-reader only heading (SEO + accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Expertise Section */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
  overflow: visible;
}

/* Card */
.expertise-card {
  position: relative;
  z-index: 1;

  background: var(--card);
  border-radius: 22px;
  padding: 34px;

  display: flex;
  flex-direction: column;
  gap: 16px;

  cursor: pointer;

  /* HARD RESET */
  transform: perspective(1200px) translateZ(0) scale(1);
  box-shadow:
    0 10px 25px rgba(0,0,0,0.12);

  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease;
}

/* POP-UP ON HOVER */
.expertise-card:hover {
  z-index: 999;

  transform:
    perspective(1200px)
    translateY(-28px)
    translateZ(80px)
    scale(1.1);

  box-shadow:
    0 45px 90px rgba(0,0,0,0.45),
    0 20px 40px rgba(0,0,0,0.3);
}

/* Icon */
.expertise-icon {
  width: 48px;
  height: 48px;
}

/* Title */
.expertise-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

/* Color variants */
.expertise-card:nth-child(1) {
  background: linear-gradient(135deg, #f5c660);
}

.expertise-card:nth-child(2) {
  background: linear-gradient(135deg, #8a7ef8);
}

.expertise-card:nth-child(3) {
  background: linear-gradient(135deg, #57eb99);
}

.expertise-card:nth-child(4) {
  background: linear-gradient(135deg, #f36ca0);
}



/* =======================
   SKILLS SECTION TOOLTIP
   ======================= */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  position: relative;
}

.skill-category {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: visible;
  z-index: 1;
  font-size: 16px; /* ⬆ base text size */
  transition: box-shadow 0.3s ease;
}

.skill-category:hover {
  z-index: 20;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Skill category heading (if present) */

.skill-category h3 {
  font-size: 22px; /* ⬆ heading size */
  margin-bottom: 16px;
}

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.skill-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
  font-size: 16px; /* ⬆ skill item text */
  line-height: 1.6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}




/* Tooltip box */
.skill-tooltip {
  position: absolute;
  left: 110%;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);

  width: 220px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;

  font-size: 13px;
  line-height: 1.5;
  color: var(--text);

  box-shadow: 0 10px 30px rgba(0,0,0,0.12);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 50;
}

.skill-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.skill-name {
  font-size: 14px;   /* 🔥 closer to original */
  line-height: 1.4;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}


.skill-item:hover .skill-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.skill-name {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.skill-item:hover {
  transform: translateY(-4px) scale(1.03); /* lift slightly and enlarge */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08); /* soft shadow */
  z-index: 100; /* make sure it stays above other skills */
}


/* Mobile safety */
@media (hover: none) {
  .skill-tooltip {
    display: none;
  }
}


/* Projects Section - Stacked Cards */
/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

/* Individual Project Card */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius, 20px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 400px; /* Increase this to make images taller */
}


.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Project Image */
.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures the image covers the whole card */
  transition: transform 0.4s ease;
}


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

/* Breadcrumbs row layout */
.breadcrumbs-row {
  display: flex;
  align-items: center;
  gap: 6px;
  
  /* Align with content, add left spacing */
  max-width: 1200px;      /* same as your detail grid or main content */
  margin: 0 auto 6px;     /* center horizontally and spacing below */
  padding-left: 24px;     /* slight left offset */
  padding-right: 24px;    /* optional, for symmetry */
}


/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(20px);
}

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

.brand-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(0, 0, 0, 0.7); /* semi-transparent black */
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 2; /* sits above the image but below overlay */
  pointer-events: none; /* doesn’t block hover effects */
}


/* Brands Section */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.brand-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2/1;
  transition: all 0.3s ease;
  overflow: hidden;
}

.brand-item:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: 0 10px 30px rgb(255, 254, 254);
}

.brand-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Extracurricular Section with Hobbies-style Hover Animation */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.reel-item {
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--card);
  transition: all 0.4s ease;
}

.reel-item a {
  display: block;
  aspect-ratio: 9 / 16;   /* 👈 makes it tall */
  overflow: hidden;
}


.reel-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.reel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.reel-item:hover img {
  transform: scale(1.1);
}

.timeline {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 180px;
}

.icon-box {
  width: 120px;
  height: 120px;
  background-color: var(--card);
  border-radius: 90px; /* rounded rectangle instead of circle */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 15px;
}

.icon-box:hover {
  transform: translateY(-8px); /* pop up on hover */
  box-shadow: 0 12px 25px rgba(0,0,0,0.2); /* shadow on hover */
}

.timeline-icon {
  width: 80px; /* smaller than the background box */
  height: 80px;
  object-fit: contain;
}

.committee-name {
  font-size: 16px;
  font-weight: 600;
  margin: 5px 0;
}

.position {
  font-size: 14px;
  color: var(--text);
  margin: 2px 0;
}

.period {
  font-size: 13px;
  color: var(--muted);
  margin: 2px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .icon-box {
    width: 140px;
    height: 140px;
  }

  .timeline-icon {
    width: 100px;
    height: 100px;
  }

  .timeline-item {
    max-width: 250px;
  }
}



/* Sponsors Section */
.sponsors-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.sponsors-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 32px;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}

.sponsor-item {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.sponsor-item img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.25s ease,
              opacity 0.25s ease;
  will-change: transform;
}


.sponsor-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%);
  opacity: 1;
}







/* Hobbies Section */
.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.hobby-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
}

.hobby-item:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.hobby-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, #e8e8e6, #dcdcd8);
}

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

.hobby-item:hover .hobby-image img {
  transform: scale(1.1);
}

.hobby-item h3 {
  margin: 24px 24px 12px;
  font-size: 20px;
  font-weight: 600;
}

.hobby-item p {
  margin: 0 24px 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  max-width: 900px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.faq-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.faq-item {
  background: var(--card);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}


/* Contact Section */
.contact {
  border-top: 1px solid var(--border);
  padding: 80px 20px;
  background: var(--bg);
}

.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

/* Text */
.contact-text {
  flex: 1; /* takes remaining space */
}

.contact-text h4 {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-text h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-text p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* Links */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  color: var(--text);
}

.contact-link:hover {
  transform: translateY(-2px);
  border-color: var(--border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background: #fafafa;
}







/* Footer */
.footer {
  padding: 32px 48px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  color: inherit;
  margin-left: 16px;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--text);
}
.footer-title {
  display: block;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 12px;
}



/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  pointer-events: none;
  z-index: 10000;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, opacity 0.2s ease;
  opacity: 0;
}

.cursor-ring {
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(15, 15, 15, 0.6);
  border-radius: 50%;
  transform: scale(0.92);
  transition: transform 0.5s ease, border-color 0.2s ease;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--text);
  border-radius: 50%;
  transition: transform 0.15s ease;
}

.cursor-active .cursor-ring {
  transform: scale(1.2);
  border-color: rgba(15, 15, 15, 0.85);
}

.cursor-active .cursor-dot {
  transform: scale(0.8);
}

/* Mobile Menu Toggle Button - Hidden on Desktop */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
}


/* Ensure desktop navigation remains unchanged */
@media (min-width: 1024px) {
  .nav-links {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    flex-direction: row !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .nav-links a {
    padding: 6px 0 !important;
    border-bottom: none !important;
    min-height: auto !important;
  }

  .nav-links a::after {
    display: block !important;
  }
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Design */
@media (max-width: 1100px) {
  .expertise-grid {
    gap: 24px;
  }

  .project-card-stacked[data-index="1"] {
    top: 140px;
  }

  .project-card-stacked[data-index="2"] {
    top: 160px;
  }

  .project-card-stacked[data-index="3"] {
    top: 180px;
  }

  .project-card-stacked[data-index="4"] {
    top: 200px;
  }
}

/* Tablet Styles (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 769px) {
  .navbar {
    padding: 18px 32px;
  }

  main {
    padding: 70px 32px 110px;
  }

  .hero {
    gap: 60px;
    padding: 70px 0 50px;
  }

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

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

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Styles (≤768px) */
@media (max-width: 768px) {
  /* Prevent horizontal scrolling */
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  /* Navbar Mobile */
  .navbar {
    padding: 16px 20px;
    position: relative;
  }


  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: 0;
    transition: right 0.3s ease;
    z-index: 100;
    border-left: 1px solid var(--border);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

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

  .nav-links a {
    display: block;
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-links a::after {
    display: none;
  }

  /* Main Content */
  main {
    padding: 40px 20px 80px;
    max-width: 100%;
  }

  /* Hero Section Mobile */
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 30px;
    min-height: auto;
  }

  .hero-left {
    gap: 16px;
    order: 2;
  }

  .hero-name {
    font-size: 36px;
    line-height: 1.1;
  }

  .hero-role {
    font-size: 18px;
  }

  .hero-intro {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-right {
    order: 1;
    gap: 24px;
  }

  .hero-profile {
    max-width: 100%;
    aspect-ratio: 4/5;
  }

  .resume-button {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 15px;
    min-height: 44px;
  }

  /* About Section Mobile */
  .about-philosophy {
    padding: 60px 0;
  }

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

  .about-video {
    min-height: 450px;
    aspect-ratio: 16/9;
  }

  .video-container {
    height: 100%;
  }

  .philosophy-video {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .about-content {
    gap: 20px;
  }

  .philosophy-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  /* Section Spacing Mobile */
  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  /* Expertise Grid Mobile */
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .expertise-card {
    padding: 28px 24px;
  }

  .expertise-card h3 {
    font-size: 20px;
  }

  .expertise-card:hover {
    transform: translateY(-8px) scale(1.02);
  }

  /* Skills Grid Mobile */
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .skill-category {
    padding: 24px 20px;
  }

  .skill-category h3 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .skill-item {
    padding: 8px 0;
    min-height: 44px;
  }

  .skill-name {
    font-size: 14px;
  }

  .skill-icon {
    width: 20px;
    height: 20px;
  }

  /* Projects Grid Mobile */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .project-card {
    height: 320px;
  }

  .project-card:hover {
    transform: scale(1.02);
  }

  .brand-tag {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  /* Brands Grid Mobile */
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
  }

  .brand-item {
    padding: 20px;
    aspect-ratio: 2/1;
  }

  /* Hobbies Grid Mobile */
  .hobbies-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .hobby-item h3 {
    font-size: 18px;
    margin: 20px 20px 10px;
  }

  .hobby-item p {
    font-size: 14px;
    margin: 0 20px 20px;
  }

  /* Reels Grid Mobile */
  .reels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
  }

  /* Timeline Mobile */
  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 32px 16px;
  }

  .timeline-item {
    max-width: 100%;
  }

  .icon-box {
    width: 100px;
    height: 100px;
    margin-bottom: 12px;
  }

  .timeline-icon {
    width: 70px;
    height: 70px;
  }

  .committee-name {
    font-size: 15px;
  }

  .position {
    font-size: 13px;
  }

  .period {
    font-size: 12px;
  }

  /* Sponsors Section Mobile */
  .sponsors-section {
    margin-top: 48px;
    padding-top: 32px;
  }

  .sponsors-title {
    font-size: 18px;
    margin-bottom: 24px;
  }

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

  /* Contact Section Mobile */
  .contact {
    padding: 60px 20px;
  }

  .contact-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 20px;
  }

  .contact-content h2 {
    font-size: 24px;
  }

  .contact-content p {
    font-size: 15px;
  }

  .contact-links {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .contact-link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 20px;
    min-height: 44px;
    font-size: 14px;
  }

  /* FAQ Mobile */
  .faq-section {
    padding: 0 20px;
    margin-top: 60px;
  }

  .faq-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .faq-item {
    padding: 18px 20px;
    margin-bottom: 12px;
  }

  .faq-item summary {
    font-size: 15px;
    padding-right: 24px;
  }

  .faq-item p {
    font-size: 14px;
    margin-top: 12px;
  }

  /* Footer Mobile */
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 20px;
    text-align: left;
  }

  .footer-right {
    width: 100%;
  }

  .footer-title {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .footer a {
    display: inline-block;
    margin: 0 12px 0 0;
    min-height: 44px;
    line-height: 44px;
  }

  /* Extracurricular Content Mobile */
  .extracurricular-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .extracurricular-content p {
    margin-bottom: 16px;
    font-size: 15px;
  }

  /* Project Metrics Mobile */
  .project-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .metric-card {
    padding: 32px 24px;
    min-width: auto;
  }

  .metric-value {
    font-size: 32px;
  }

  .metric-title {
    font-size: 12px;
  }

  /* Overview Images Mobile */
  .overview-images {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }

  .overview-images img {
    height: 280px;
  }

  /* Badge Grid Mobile */
  .badge-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .seo-badge {
    padding: 24px 20px;
  }

  /* Breadcrumbs Mobile */
  .breadcrumbs-row {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 16px;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .hero-name {
    font-size: 32px;
  }

  .hero-role {
    font-size: 16px;
  }

  .hero-intro {
    font-size: 15px;
  }

  .section-header h2 {
    font-size: 24px;
  }

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

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

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


  .nav-links {
    width: 100%;
    right: -100%;
  }
}

@media (pointer: coarse) {
  body {
    cursor: auto;
  }

  .custom-cursor {
    display: none;
  }
}

/* Remove unwanted top border lines under project-metrics */
.project-metrics + .section {
  border-top: none;   /* removes the line */
  padding-top: 60px;  /* optional: adjust space above next section */
}
/* Overview images under project overview */
.overview-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.overview-images img {
  width: 100%;
  height: 420px; /* BIGGER */
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

/* Hover effect */
.overview-images img:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.seo-badges {
    padding-top: 0;
}

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

.seo-badge {
    padding: 28px 30px;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid rgba(0,0,0,0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: default;
}


.seo-badge h3 {
    margin-bottom: 12px;
}

.seo-badge p {
    color: var(--muted);
    line-height: 1.6;
}

/* Hover effect */
.seo-badge:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    border-color: rgba(0,0,0,0.25);
}

/* MOBILE STICKY NAVBAR */
@media (max-width: 1023px) {
  .navbar {
    position: fixed;      /* Stick to top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;         /* Above everything */
    background: #f5f5f3;  /* or your navbar bg color */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  body {
    padding-top: 60px;   /* Adjust to navbar height so content isn't hidden */
  }

  .nav-links {
    display: none;        /* Hide by default on mobile */
    flex-direction: column;
    background: #f5f5f3;
    width: 100%;
  }

  .mobile-menu-toggle[aria-expanded="true"] + .nav-links {
    display: flex;        /* Show nav when toggle clicked */
  }
}


