/* CSS Variables */
:root {
  --color-bg: #0c1629;
  --color-bg-light: #131d35;
  --color-bg-card: #1a2744;
  --color-primary: #6366f1;
  --color-primary-light: #818cf8;
  --color-secondary: #ec4899;
  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-border: #2d3a52;
  --gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-card);
  border-color: var(--color-primary);
}

/* ========== PLAY BUTTON WRAPPER ========== */
    .btn-play-wrapper {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.875rem 1.75rem;
      border-radius: 0.75rem;
      font-weight: 600;
      font-size: 0.9375rem;
      text-decoration: none;
      transition: all 0.3s ease;
      cursor: pointer;
      border: none;
      background: var(--gradient);
      color: white;
      box-shadow: 0 4px 15px rgba(99,102,241,0.4);
      position: relative;
      overflow: hidden;
    }
    .btn-play-wrapper:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(99,102,241,0.6);
    }
    .btn-play-wrapper::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
      pointer-events: none;
    }

    /* The animated play circle icon */
    .play-icon-circle {
      width: 2rem;
      height: 2rem;
      border-radius: 50%;
      background: rgba(255,255,255,0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      position: relative;
      transition: background 0.3s ease, transform 0.3s ease;
    }
    .btn-play-wrapper:hover .play-icon-circle {
      background: rgba(255,255,255,0.4);
      transform: scale(1.1);
    }
    /* Ripple ring on play icon */
    .play-icon-circle::after {
      content: '';
      position: absolute;
      inset: -3px;
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,0.4);
      animation: play-ring-pulse 2s ease-in-out infinite;
    }
    @keyframes play-ring-pulse {
      0%, 100% { opacity: 0.6; transform: scale(1); }
      50% { opacity: 0; transform: scale(1.4); }
    }
    .play-icon-circle svg {
      width: 0.875rem;
      height: 0.875rem;
      fill: white;
      stroke: none;
      margin-left: 2px; /* optical centering for play triangle */
    }
    .btn-play-label { font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.01em; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(12, 22, 41, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.navbar-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gradient);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.navbar-link:hover {
  color: var(--color-text);
}

.navbar-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-toggle svg {
  stroke: currentColor;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('foto/hero-bg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*filter: blur(5px); ini untuk blurr foto*/
  transform: scale(1.1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 22, 41, 0.75) 0%,
    rgba(12, 22, 41, 0.85) 50%,
    rgba(12, 22, 41, 0.95) 100%
  );
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blob-float 20s ease-in-out infinite;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  bottom: -100px;
  left: -100px;
  animation-delay: -10s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(30px, 10px) scale(1.02); }
}

.hero-content {
  max-width: 1200px; /* Lebarkan agar teks punya ruang */
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-bg-card);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem); /* Ukuran lebih proposional */
  font-weight: 800;
  line-height: 1.2;
  display: block;
  width: 100%;
  max-width: 1000px; /* Memberi ruang lebih lebar ke samping */
}
.hero-description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  stroke: currentColor;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* About Section */
.about {
  background: var(--color-bg-light);
  padding-bottom: 0rem; 
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 1rem;
}

.about-card {
  background: var(--color-bg-card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.about-card-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.about-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.about-card-text {
  color: var(--color-text-muted);
  line-height: 1.7;
}

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

.about-feature {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-bg-card);
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease;
}

.about-feature:hover {
  border-color: var(--color-primary);
}

.about-feature-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.about-feature-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Materi Section */
.materi-section {
  margin-top: 0%;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.materi-main-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}

.materi-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

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

.materi-card {
  background: var(--color-bg);
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.materi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.materi-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
}

.materi-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--gradient);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.materi-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.materi-content {
  padding: 1.5rem;
}

.materi-description {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.materi-details {
  background: var(--color-bg-card);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.materi-details h5 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: 0.75rem;
}

.materi-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.materi-details li {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.materi-details li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.materi-details li strong {
  color: var(--color-text);
}

.materi-formula {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.formula-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.materi-formula code {
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 0.875rem;
  color: var(--color-text);
  background: transparent;
}

.materi-highlight {
  background: var(--gradient);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.materi-highlight span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.materi-highlight strong {
  font-size: 1rem;
  color: white;
}

/* Featured Materi Card */
.materi-card-featured {
  border: 2px solid transparent;
  background: 
    linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
    var(--gradient) border-box;
}

.materi-card-featured .materi-header {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
}

/* CTA Materi Card */
.materi-card-cta {
  border: 2px solid transparent;
  background: 
    linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
    linear-gradient(135deg, #f59e0b, #ef4444) border-box;
}

.materi-card-cta .materi-header {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.15));
}

.materi-card-cta .materi-icon {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.materi-cta {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.cta-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cta-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .materi-grid {
    grid-template-columns: 1fr;
  }
  
  .materi-section {
    margin-top: 3rem;
    padding-top: 2rem;
  }
  
  .materi-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .materi-highlight {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .materi-cta {
    padding: 1.25rem;
  }
  
  .cta-text {
    font-size: 1rem;
  }
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--color-bg-card);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 8rem;
  height: 8rem;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  object-fit: cover;
}


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

.team-role {
  color: var(--color-primary-light);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-role-nim {
  color: var(--color-primary-light);
  font-size: 0.875rem;
  font-weight: 500;
}

.team-bio {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.team-social {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--color-bg);
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

.team-social:hover {
  background: var(--color-primary);
  color: white;
}

/* Timeline Section */
.timeline {
  background: var(--color-bg-light);
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

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

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

.timeline-marker {
  position: absolute;
  left: 0;
  width: 3rem;
  height: 3rem;
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-content {
  background: var(--color-bg-card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--color-primary);
}

.timeline-date {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-primary-light);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Gallery Section */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.gallery-filter {
  padding: 0.625rem 1.25rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-filter:hover {
  border-color: var(--color-primary);
  color: var(--color-text);
}

.gallery-filter.active {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

/* Grid utama */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Card foto */
.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* GAMBAR (INI PALING PENTING) */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* biar tidak gepeng & tetap rapi */
  display: block;
  transition: transform 0.3s ease;
}

/* Zoom halus saat hover */
.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-light) 100%);
}

.gallery-placeholder-icon {
  width: 3rem;
  height: 3rem;
  stroke: var(--color-text-muted);
  stroke-width: 1.5;
  opacity: 0.5;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 22, 41, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gallery-date {
  font-size: 0.8125rem;
  color: var(--color-primary-light);
}

.gallery-cta {
  text-align: center;
}

/* Footer */
.footer {
  background: var(--color-bg);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.navbar-logo .logo-img {
  width: 30px;
  height: 30px;
}

.footer-logo .logo-img {
  width: 40px;
  height: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.footer-social {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--color-bg-card);
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

.footer-social:hover {
  background: var(--color-primary);
  color: white;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-copyright {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--color-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item-wide {
    grid-column: span 2;
  }

  .gallery-item-tall {
    grid-row: span 2;
  }

  .gallery-overlay {
    opacity: 1;
  }

  .navbar-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--color-border);
  }

  .navbar-nav.active {
    transform: translateY(0);
    opacity: 1;
  }

  .navbar-toggle {
    display: block;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .timeline-line {
    left: 1rem;
  }

  .timeline-item {
    padding-left: 3rem;
  }

  .timeline-marker {
    width: 2rem;
    height: 2rem;
  }

  .timeline-marker svg {
    width: 1rem;
    height: 1rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 6rem;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item-wide,
  .gallery-item-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-filters {
    gap: 0.5rem;
  }

  .gallery-filter {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
}