/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #003b73;
  --color-secondary: #005ba8;
  --color-accent: #0066cc;
  --color-gray: #6b6b6b;
  --color-light-gray: #e5e8ec;
  --color-bg: #ffffff;
  --color-bg-alt: #faf8f3;
  --color-cream: #f5f5dc;
  --color-light-blue: #e8f2f7;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0,59,115,0.1);
  --shadow-md: 0 4px 16px rgba(0,59,115,0.15);
  --shadow-lg: 0 8px 32px rgba(0,59,115,0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-primary);
  line-height: 1.6;
  overflow-x: hidden;
}


/* ========================================
   HEADER & NAVIGATION
======================================== */

/* kept both .site-header and .header because original used both */
.site-header,
.header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* header inner / container */
.header-inner,
.header-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 15px 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  flex-wrap: nowrap;
  gap: 20px;
}

.header-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(255,255,255,0.2));
  transition: var(--transition);
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.title-atas {
  font-size: 24px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.5px;
}

.title-bawah {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.5px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px; /* jarak antara logo dan teks */
}

/* Navbar variants: keep both .nav-menu and .navbar (both used in original) */
/* =========================
   NAVBAR DESKTOP
   ========================= */
.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  gap: 30px;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 5px;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.nav-menu ul li a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  padding: 12px 24px;
  display: block;
  position: relative;
  transition: 0.3s;
}

.nav-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-menu ul li a:hover {
  color: white;
  transform: translateY(-2px);
}

.nav-menu ul li a:hover::after {
  width: 60%;
}

/* Badge visitor di kanan navbar */
.nav-visitor {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.visitor-icon {
    font-size: 16px;
}

/* CTA Login Button */
.cta-login {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white !important;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 500;
  margin-left: auto;
}

.cta-login:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
  background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
}

.cta-login:active {
  transform: scale(0.98);
}

/* =========================
   HAMBURGER
   ========================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 3000; /* pastikan selalu di atas */
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
}

/* Transform X saat menu terbuka */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   MOBILE NAVBAR
   ========================= */
@media (max-width: 768px) {
  
  .hamburger {
    display: flex;
  }

  /* Menu overlay */
  .nav-menu {
    position: absolute;
    top: 60px; /* jarak navbar/hamburger */
    right: 20px;
    background: #4d4d4d;
    padding: 15px 25px;
    border-radius: 10px;
    display: none; /*awalnya disembunyikan */
    gap: 15px;
    z-index: 999;
    flex-direction: column;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding-left: 20px;
  }

  .nav-menu ul li a {
    font-size: 18px;
    padding: 10px 0;
    color: white;
  }

  .cta-login {
    position: static;
    transform: none;
    margin-left: auto;
    margin-top: 15px;
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 25px;
  }

  .cta-login:hover {
    transform: scale(1.05);
  }

  .cta-login:active {
    transform: scale(0.98);
  }

}

/* =========================
   NONAKTIFKAN SISTEM NAVBAR LAMA (PENTING)
   ========================= */
.navbar,
.mobile-menu-toggle {
  display: none !important;
}

.mobile-visitor {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
}

.mobile-visitor span {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    font-weight: 700;
}

/* ========================================
   HERO SECTION
======================================== */

.hero-section {
  position: relative;
  width: 100vw;              /* FIX */
  max-width: 100%;           /* FIX */
  height: 85vh;
  margin: 0;
  padding: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;        /* FIX PALING PENTING */
  margin-right: -50vw;       /* FIX PALING PENTING */

  background-image: url('uploads/IMG_7646.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}



/* overlay gradient present in original */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: white;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 22px;
  margin-bottom: 35px;
  color: rgba(255,255,255,0.95);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.hero-btn {
  display: inline-block;
  padding: 16px 40px;
  background: white;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  letter-spacing: 0.5px;
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  background: var(--color-primary);
  color: white;
}


/* ========================================
   TENTANG KAMI SECTION
======================================== */

.tentang-section {
  padding: 70px 0 40px;
  padding-bottom: 80px;
  background: var(--color-primary);
}

.tentang-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.tentang-img {
  flex: 0 0 auto;
  animation: fadeIn 0.8s ease-out;
}

.tentang-img img {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  filter: none;
  display: block;
  margin: 0 auto;
}

.tentang-img img:hover {
  transform: scale(1.03);
  filter: none;
}

.tentang-text {
  flex: 1;
  max-width: 600px;
  text-align: center;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tentang-text h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-bg);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  letter-spacing: -1px;
}

.tentang-text h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 100%;
  height: 4px;
  background: var(--color-bg);
  transform: translateX(-50%);
}

.tentang-text p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-bg);
  margin-bottom: 30px;
}

.btn-biru {
  background: var(--color-secondary);
  padding: 14px 32px;
  border-radius: 50px;
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-biru:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   STRUKTUR ORGANISASI
======================================== */

.content {
  padding: 90px 40px;
  text-align: center;
  background: white;
}


/* Note: original repeated .title font-size multiple times — keep single definition */
.title {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 50px;
  margin-bottom: 60px;
  letter-spacing: -1px;
}

.org-structure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.position-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.position-group h3 {
  font-size: 16px; /* original had two sizes; final kept 16px as the last occurrence */
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.members-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.member-card {
  background: white;
  border: 3px solid var(--color-primary); /* border biru permanen */
  border-radius: 20px;
  padding: 20px;
  width: 260px;
  max-width: 260px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.member-photo {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  background: var(--color-light-gray);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: var(--transition);
}

.member-card:hover .member-photo img {
  filter: none;
  transform: scale(1.1);
}

.member-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
  margin: 8px 0 4px;
}

.member-role {
  color: var(--color-gray);
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .member-card {
    width: 160px;
  }
}

/* ========================================
   KEGIATAN SECTION
======================================== */

.section-kegiatan {
  background: var(--color-primary);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.section-kegiatan::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.03) 50%, transparent 70%);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.section-kegiatan h2 {
  color: white;
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
  letter-spacing: -1px;
}

.kegiatan-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.kegiatan-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.kegiatan-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.kegiatan-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: none;
  transition: var(--transition);
}

.kegiatan-card:hover img {
  filter: none;
  transform: scale(1.05);
}

.kegiatan-content {
  padding: 25px;
}

.kegiatan-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.kegiatan-date {
  font-size: 14px;
  color: var(--color-gray);
  font-weight: 500;
}

/* Mobile Slider behaviour preserved */
@media (max-width: 768px) {
  .kegiatan-wrapper {
    display: flex !important;
    overflow-x: auto;
    gap: 16px;
    padding: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .kegiatan-card {
    flex: 0 0 50%;
    max-width: 80%;
    scroll-snap-align: center;
    border-radius: 18px;
  }

  .kegiatan-wrapper::-webkit-scrollbar {
    display: none;
  }

  .kegiatan-card img {
    height: 200px;
  }
}

/* ========================================
   GALERI SECTION
======================================== */

.section-galeri,
.section {
  padding: 60px 20px;
  text-align: center;
  background: white;
}

.section-galeri h2,
.section h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 30px;
  letter-spacing: -1px;
  text-align: center;
}

.galeri-wrapper,
.galeri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* FIX: selalu 3 kolom */
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px 0 20px;
}

.galeri-card,
.galeri-item {
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  display: none; /* disembunyikan dulu */
}

.galeri-item.show {
  display: block; /* yang ditampilkan saat ada class show */
}

.galeri-card a,
.galeri-item a {
  display: block;
  width: 100%;
}

.galeri-card img,
.galeri-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  filter: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: block;
}

.galeri-card:hover,
.galeri-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.galeri-card:hover img,
.galeri-item:hover img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.judul-foto {
  display: block;
  padding: 12px;
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  font-size: 18px;
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

.judul-foto:hover {
  color: var(--color-gray);
}

/* Button style (kept final background as in last occurrence) */
.button {
  padding: 10px 20px;
  background: #005ad1;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s ease-in-out;
}

.button-wrapper {
    text-align: center;
    margin-top: 20px;
}

#lihatSelengkapnyaBtn {
    padding: 10px 20px;
    background: #005ad1;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s ease-in-out;
}

#lihatSelengkapnyaBtn:hover {
    background: #004bb0;
}

/* gallery specific rules from original */
.galeri {
  display: grid;
  gap: 30px;
}

.galeri-item {
  width: 100%;
}

.galeri-item.show {
  display: block;
}

.galeri-item { display: block; } /* default visible — original logic hid then showed via JS; keep block to avoid accidental hidden layout */
/* If you rely on JS to toggle, keep .galeri-item.show rules — left intact above. */

/* tanggal style */
.galeri-item .tanggal {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: -10px;
  margin-bottom: 10px;
}

/* ===== FORCE GRID FINAL ===== */
.section-galeri .galeri {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px;
}

.section-galeri .galeri-item {
  width: 100% !important;
}


@media (max-width: 992px) {
  .galeri-wrapper,
  .galeri {
    grid-template-columns: repeat(2, 1fr);
  }

   .galeri-item img {
    height: 140px;
  }
}

@media (max-width: 768px) {
  .section-galeri .galeri-item img {
    height: 100px;   /* KUNCI TINGGI MOBILE */
  }
}

@media (max-width: 480px) {
  .galeri {
    grid-template-columns: repeat(3, 1fr); /* tetap 3 */
    gap: 10px;
  }

  .galeri-item img {
    height: 85px;
  }

  .judul-foto {
    font-size: 12px;
  }
}

@media (min-width: 1200px) {
  .galeri {
    grid-template-columns: repeat(4, 1fr);
  }
}



/* ========================================
   RESPONSIVE (global)
======================================== */

@media (max-width: 1024px) {
  .hero-title { font-size: 44px; }

  .navbar ul { gap: 0; }

  .navbar ul li a {
    padding: 12px 16px;
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .galeri { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 20px; }
  .section h2 { font-size: 32px; }

  .galeri { grid-template-columns: 1fr; gap: 25px; }

  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 18px; }

  .tentang-container { gap: 40px; }
  .tentang-img img { width: 100%; max-width: 400px; }

  .title,
  .section h2,
  .section-kegiatan h2 { font-size: 32px; }

  .kegiatan-wrapper { grid-template-columns: 1fr; }

  .footer-container { flex-direction: column; gap: 40px; }

  .tentang-container { flex-direction: column; text-align: center; gap: 40px; }

  .tentang-img img { max-width: 300px; }
}

@media (max-width: 600px) {
  .section { padding: 60px 20px; }
  .section h2 { font-size: 32px; }

  .galeri-item img { height: 200px; }
}

@media (max-width: 480px) {
  .header-logo { width: 50px; height: 50px; }
  .title-atas { font-size: 18px; }
  .title-bawah { font-size: 14px; }

  .hero-section { height: 70vh; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 16px; }

  .hero-btn { padding: 14px 28px; font-size: 14px; }
  .members-row { gap: 20px; }
  .member-card { width: 160px; }
}

/* ========================================
   FOOTER
======================================== */

.footer {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  padding: 80px 40px 30px;
  margin-top: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.footer-logo h3 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0;
}

.footer-text {
  display: flex;
  flex-direction: column;
  color: white;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.footer-contact h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}

.footer-contact .icon {
    font-size: 22px;   /* ukuran ikon */
    width: 26px;       /* agar kolom rapi */
    display: inline-block;
}

.footer hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 0 auto 30px;
  max-width: 1200px;
}

.footer-copy {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 400;
}

.contact-link {
    color: white !important;
    text-decoration: none;
}
.contact-link:hover {
    text-decoration: underline;
}


/* ========================================
   ANIMATIONS & EFFECTS
======================================== */

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.member-card,
.kegiatan-card,
.galeri-item {
  animation: fadeInScale 0.5s ease-out both;
}

.member-card:nth-child(1) { animation-delay: 0.1s; }
.member-card:nth-child(2) { animation-delay: 0.2s; }
.member-card:nth-child(3) { animation-delay: 0.3s; }
.member-card:nth-child(4) { animation-delay: 0.4s; }

.kegiatan-card:nth-child(1) { animation-delay: 0.1s; }
.kegiatan-card:nth-child(2) { animation-delay: 0.2s; }
.kegiatan-card:nth-child(3) { animation-delay: 0.3s; }

.galeri-item:nth-child(1) { animation-delay: 0.1s; }
.galeri-item:nth-child(2) { animation-delay: 0.2s; }
.galeri-item:nth-child(3) { animation-delay: 0.3s; }

