/* IIT Jodhpur Robotics Club - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Share+Tech+Mono&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* --- CSS Variables & Design System --- */
:root {
  --bg-primary: #08090d;
  --bg-secondary: #0c0f16;
  --bg-card: #121622;
  --bg-card-hover: #171d2b;

  --color-yellow: #e6ff00;
  --color-orange: #ff5500;
  --color-text-primary: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(230, 255, 0, 0.3);

  --grad-accent: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
  --grad-accent-horizontal: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
  --grad-glow: linear-gradient(135deg, rgba(230, 255, 0, 0.15), rgba(255, 85, 0, 0.15));
  --grad-glow-strong: linear-gradient(135deg, rgba(230, 255, 0, 0.35), rgba(255, 85, 0, 0.35));

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Share Tech Mono', 'Space Mono', monospace;

  --container-max-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* --- Base Styles & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Tech Grid Background Motif */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

/* Radial Glow Behind Content */
body::after {
  content: "";
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.08) 0%, rgba(230, 255, 0, 0.04) 50%, transparent 100%);
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}

/* Typography Customizations */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.font-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

p {
  color: var(--color-text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #1c2130;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-orange);
}

/* --- Common UI Components --- */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.gradient-text {
  background: var(--grad-accent-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Styling */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-tag {
  color: var(--color-yellow);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  font-size: 2.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--grad-accent);
  color: #000;
  border: none;
  box-shadow: 0 0 15px rgba(230, 255, 0, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(230, 255, 0, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-yellow);
  transform: translateY(-2px);
}

/* Cards (Standard Modern Tech style) */
.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-accent-horizontal);
  opacity: 0;
  transition: var(--transition-smooth);
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 85, 0, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tech-card:hover::before {
  opacity: 1;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--color-text-secondary);
}

.badge-ongoing {
  background: rgba(230, 255, 0, 0.1);
  border-color: rgba(230, 255, 0, 0.3);
  color: var(--color-yellow);
}

.badge-completed {
  background: rgba(0, 255, 128, 0.1);
  border-color: rgba(0, 255, 128, 0.3);
  color: #00ff80;
}

/* --- Shared Navigation & Header --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 13, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--grad-accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(230, 255, 0, 0.3);
}

.logo-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.logo-sub {
  color: var(--color-yellow);
  font-weight: 700;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-yellow);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* The Crown Jewel: Knowledge Base Link */
.kb-link {
  background: linear-gradient(135deg, rgba(230, 255, 0, 0.1), rgba(255, 85, 0, 0.1));
  border: 1px solid var(--color-yellow);
  color: var(--color-yellow) !important;
  border-radius: 4px;
  padding: 0.5rem 1rem !important;
  transition: var(--transition-smooth) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 0 10px rgba(230, 255, 0, 0.1);
}

.kb-link::after {
  display: none !important;
}

.kb-link:hover {
  background: var(--grad-accent) !important;
  color: #000 !important;
  border-color: transparent !important;
  box-shadow: 0 0 15px rgba(230, 255, 0, 0.4) !important;
}

/* Mobile Toggle Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* --- Home Page Specific Styles --- */
.hero {
  padding: 7rem 0 5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-tag {
  font-family: var(--font-mono);
  background: rgba(230, 255, 0, 0.05);
  border: 1px solid rgba(230, 255, 0, 0.2);
  color: var(--color-yellow);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 15px rgba(230, 255, 0, 0.05);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 650px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Flagship Project Strip */
.flagship-strip {
  background: rgba(12, 15, 22, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 5rem 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* Core Pillars "What we do" */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  text-align: left;
}

.pillar-icon {
  width: 50px;
  height: 50px;
  background: rgba(230, 255, 0, 0.06);
  border: 1px solid rgba(230, 255, 0, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-yellow);
}

.pillar-title {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

/* Notion KB Promo Banner */
.kb-promo {
  margin-top: 2rem;
  background: var(--grad-glow);
  border: 1px solid var(--border-glow);
  padding: 3.5rem 3rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.kb-promo::after {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(230, 255, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.kb-promo-content {
  max-width: 650px;
}

.kb-promo-tag {
  color: var(--color-yellow);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}

.kb-promo-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.kb-promo-desc {
  margin-bottom: 0;
}

/* --- About Page Specific --- */
.about-hero {
  padding: 5rem 0 3rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.about-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-hero-visual {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-card);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.circuit-visual {
  stroke: var(--color-orange);
  stroke-width: 1.5px;
  fill: none;
  opacity: 0.4;
  animation: pulse-stroke 4s infinite ease-in-out;
}

.history-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
  border-left: 2px solid var(--border-subtle);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: calc(-2rem - 6px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 10px var(--color-yellow);
}

.timeline-year {
  font-family: var(--font-mono);
  color: var(--color-yellow);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.timeline-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.subteams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* --- Team Page Specific --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-avatar-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 4px;
  background: var(--border-subtle);
}

.team-card:hover .team-avatar-wrapper {
  background: var(--grad-accent);
  box-shadow: 0 0 20px rgba(230, 255, 0, 0.2);
}

.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #181d2a;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
}

.team-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #181d2a 0%, #202737 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--color-yellow);
  font-weight: bold;
  border: 2px solid var(--bg-card);
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-yellow);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.team-socials {
  display: flex;
  gap: 1rem;
  margin-top: auto;
  justify-content: center;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--grad-accent);
  color: #000;
  border-color: transparent;
  transform: scale(1.1);
}

/* --- Alumni Page Specific --- */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.alumni-card {
  display: flex;
  flex-direction: column;
}

.alumni-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.alumni-name {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.alumni-batch {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-yellow);
}

.alumni-role {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

/* --- Projects Page Specific --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  color: var(--color-text-secondary);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--grad-accent);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(230, 255, 0, 0.25);
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.project-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.project-summary {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.project-details {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  margin-top: auto;
}

.project-detail-item {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.project-detail-label {
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  width: 110px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.project-detail-value {
  color: var(--color-text-secondary);
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.project-link-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-yellow);
  transition: var(--transition-fast);
}

.project-link-btn:hover {
  color: var(--color-text-primary);
  text-shadow: 0 0 10px rgba(230, 255, 0, 0.4);
}

/* --- Contact & Join Page Specific --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.contact-section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.recruitment-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.recruitment-step {
  display: flex;
  gap: 1.5rem;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--grad-accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(230, 255, 0, 0.2);
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.5rem;
}

.contact-card-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.contact-card-value {
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.copy-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  color: var(--color-yellow);
  transition: var(--transition-fast);
}

.copy-btn:hover {
  background: var(--color-yellow);
  color: #000;
  border-color: transparent;
}

.social-grid-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.social-grid-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.social-grid-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-yellow);
  transform: translateY(-2px);
}

.social-grid-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Shared Footer --- */
footer {
  background: #050608;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem 0;
  color: var(--color-text-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-info-desc {
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-heading {
  font-family: var(--font-mono);
  color: var(--color-text-primary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-yellow);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

/* --- Keyframe Animations --- */
@keyframes pulse-stroke {

  0%,
  100% {
    opacity: 0.3;
    stroke-dashoffset: 0;
  }

  50% {
    opacity: 0.6;
    stroke-dashoffset: 20;
  }
}

/* --- Responsive Media Queries (Mobile First) --- */
@media (max-width: 968px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-hero-visual {
    order: -1;
  }

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .hero-desc {
    font-size: 1.1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  /* Menu Hamburger Interactions */
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(8, 9, 13, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-subtle);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    font-size: 1.2rem;
    display: block;
    width: 100%;
  }

  .kb-link {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    font-size: 1.1rem !important;
    margin-top: 1rem;
  }

  /* Hamburger transform when menu open */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .kb-promo {
    flex-direction: column;
    padding: 2.5rem 2rem;
    gap: 2rem;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-info-desc {
    max-width: 100%;
  }

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