.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: white;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #b45309, #92400e);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: transparent;
  color: #bf9425;
  border-color: #bf9425;
}
.btn-outline-gold:hover {
  background: #bf9425;
  color: white;
}

.btn-gold {
  background: #bf9425;
  color: white;
  border: none;
}
.btn-gold:hover {
  background: #6c5720;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191, 148, 37, 0.4);
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
  padding: 0 2rem;
  padding-top: 5rem;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s ease 0.2s both;
}
.hero-content h1 span {
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.35rem;
  max-width: 48rem;
  margin: 0 auto 1rem;
  line-height: 1.6;
  animation: fadeUp 1s ease 0.4s both;
  color: rgba(255, 255, 255, 0.95);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 60vh;
    padding: 4rem 1rem;
  }

  .hero-content {
    padding: 2rem 1rem 3rem 1rem;
    padding-top: 2rem;
  }

  .hero-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 50vh;
    padding: 3rem 0.75rem;
  }

  .hero-content {
    padding: 1.5rem 0.75rem 2rem 0.75rem;
    padding-top: 3.5rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .hero-content p {
    font-size: 1.25rem;
    margin: 0 auto 0.5rem;
  }
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.section-bar {
  width: 5px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.section-header h2 {
  font-size: 3.25rem;
  color: #111827;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.section-header h2 span.highlight,
.section-header h2 span:last-child {
  color: #d97706;
}

.section-header p {
  font-size: 1.125rem;
  color: #6b7280;
}

@media (max-width: 768px) {
  .section-header {
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }

  .section-bar {
    height: 3rem;
  }
}

@media (max-width: 480px) {
  .section-header {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }
}

.section {
  padding: 3rem 2rem;
}

.section-inner {
  max-width: 80rem;
  margin: 0 auto;
}
.organizer-section,
.alexandria-section,
.events-section,
.cta-section {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 50%, #fffbeb 100%);
}

.section-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.what-is-section,
.topics-section,
.attend-section {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 50%, #eff6ff 100%);
}
.what-is-section .cards-row {
  display: flex;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 20px;
}

.flip-card {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  cursor: pointer;
}

.flip-card-inner {
  background: linear-gradient(145deg, #bf9425, #6c5720);
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(108, 87, 32, 0.3);
}

.flip-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(108, 87, 32, 0.4);
}

.flip-card-inner h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.flip-card-inner .card-thumb {
  width: 100%;
  height: 200px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #2a9d5c;
}

.flip-card-inner .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expand-panel {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.4s ease;
  opacity: 0;
}

.expand-panel.open {
  max-height: 2000px;
  opacity: 1;
  margin-top: 3rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-item {
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(to right, #bf9425, #3e87c3);
}

.video-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.video-item h4 {
  padding: 1rem;
  font-size: 1.5rem;
  color: #6c5720;
  font-weight: 600;
  text-align: center;
}

.h-timeline-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1.5rem 0 2rem;
  scrollbar-width: thin;
  scrollbar-color: #bf9425 #e8e0cc;
}

.h-timeline-wrapper::-webkit-scrollbar {
  height: 6px;
}

.h-timeline-wrapper::-webkit-scrollbar-track {
  background: #e8e0cc;
  border-radius: 3px;
}

.h-timeline-wrapper::-webkit-scrollbar-thumb {
  background: #bf9425;
  border-radius: 3px;
}

.h-timeline {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding: 0 1rem;
  min-width: max-content;
  gap: 0;
}

.h-timeline-line {
  position: absolute;
  top: 50px;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: linear-gradient(to right, #bf9425, #3e87c3);
  z-index: 0;
}

.h-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  width: 120px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.h-timeline-dot {
  width: 14px;
  height: 14px;
  background: #bf9425;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(191, 148, 37, 0.25);
  margin-bottom: 0.75rem;
  margin-top: 43px;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.h-timeline-item:nth-child(even) .h-timeline-dot {
  background: #3e87c3;
  box-shadow: 0 0 0 3px rgba(62, 135, 195, 0.25);
}

.h-timeline-item:hover .h-timeline-dot {
  transform: scale(1.4);
  box-shadow: 0 0 0 5px rgba(191, 148, 37, 0.35);
}

.h-timeline-card {
  background: white;
  border-radius: 0.75rem;
  padding: 0.75rem 0.65rem;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  border-top: 3px solid #bf9425;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  width: 110px;
}

.h-timeline-item:nth-child(even) .h-timeline-card {
  border-top-color: #3e87c3;
}

.h-timeline-item:hover .h-timeline-card {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.h-timeline-card .year {
  display: block;
  font-size: 0.7rem;
  color: #bf9425;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
}

.h-timeline-item:nth-child(even) .h-timeline-card .year {
  color: #3e87c3;
}

.h-timeline-card h4 {
  font-family: "Crimson Text", serif;
  font-size: 0.9rem;
  color: #6c5720;
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.h-timeline-card .location {
  font-size: 0.7rem;
  color: #888;
  line-height: 1.3;
}

.h-timeline-card .theme {
  font-size: 0.65rem;
  color: #aaa;
  font-style: italic;
  margin-top: 0.2rem;
  line-height: 1.3;
}

.grid-design {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}
.left {
  position: relative;
}

.left img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
}

.left::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(212, 160, 23, 0.2);
  border-radius: calc(1.5rem + 10px);
  z-index: -1;
}

@media (max-width: 900px) {
  .grid-design {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.alexandria-section .section-text {
  max-width: 65rem;
}

.topics-section {
  padding: 5rem 2rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.topic-card {
  position: relative;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(212, 160, 23, 0.4),
    rgba(37, 99, 235, 0.4)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.4s ease;
  opacity: 0;
}

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

.topic-card:nth-child(odd) {
  background: linear-gradient(
    160deg,
    rgba(212, 160, 23, 0.08) 0%,
    rgba(212, 160, 23, 0.03) 100%
  );
}

.topic-card:nth-child(even) {
  background: linear-gradient(
    160deg,
    rgba(37, 99, 235, 0.08) 0%,
    rgba(37, 99, 235, 0.03) 100%
  );
}

.topic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
}

.topic-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.topic-card:nth-child(odd) .topic-icon {
  background: linear-gradient(
    135deg,
    rgba(212, 160, 23, 0.2),
    rgba(212, 160, 23, 0.1)
  );
}

.topic-card:nth-child(even) .topic-icon {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.2),
    rgba(37, 99, 235, 0.1)
  );
}

.topic-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #1f2937;
  line-height: 1.3;
}

.topic-card ul {
  list-style: disc;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.65;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .topics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .topics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .topics-grid {
    padding: 1.5rem 1rem;
    min-height: 250px;
  }

  .topic-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .topic-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .topic-card ul {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

.events-section {
  padding: 5rem 2rem;
}

.events-section .section-subtitle {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 2.5rem;
  max-width: 50rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.event-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover img {
  transform: scale(1.1);
}

.event-card:hover {
  height: max-content;
}

.event-card .event-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(
    to top,
    rgba(108, 87, 32, 0.95),
    rgba(108, 87, 32, 0.7) 60%,
    transparent
  );
  color: white;
  transition: all 0.4s ease;
}

.event-card .event-label h3 {
  font-size: 1rem;
  margin-bottom: 0;
  transition: margin 0.3s ease;
}

.event-card .event-label .event-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  margin-top: 0;
}

.event-card:hover .event-label {
  background: linear-gradient(
    to top,
    rgba(108, 87, 32, 0.98),
    rgba(108, 87, 32, 0.85) 80%,
    rgba(108, 87, 32, 0.6)
  );
  padding-bottom: 1.5rem;
}

.event-card:hover .event-label h3 {
  margin-bottom: 0.5rem;
}

.event-card:hover .event-label .event-desc {
  max-height: 200px;
  opacity: 1;
  margin-top: 0.25rem;
}

@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .event-card {
    padding: 1.5rem 1rem;
    min-height: 250px;
  }
}

.attend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 2.5rem;
}

.attend-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  min-height: 250px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

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

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

.attend-card .attend-label {
  position: absolute;
  padding: 0.5rem 1rem;
  background: #bf9425;
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.attend-card:nth-child(1) .attend-label {
  top: 1rem;
  right: 1rem;
}
.attend-card:nth-child(2) .attend-label {
  top: 1rem;
  left: 1rem;
}
.attend-card:nth-child(3) .attend-label {
  top: 1rem;
  right: 1rem;
}
.attend-card:nth-child(4) .attend-label {
  bottom: 1rem;
  left: 1rem;
}
.attend-card:nth-child(5) .attend-label {
  bottom: 1rem;
  right: 1rem;
}

.attend-card:nth-child(4) {
  grid-column: 1 / 2;
}
.attend-card:nth-child(5) {
  grid-column: 2 / 4;
}

@media (max-width: 1024px) {
  .attend-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .attend-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .attend-card {
    padding: 1.5rem 1rem;
    min-height: 250px;
  }

  .attend-card:nth-child(4) {
    grid-column: 1 / -1;
  }
  .attend-card:nth-child(5) {
    grid-column: 2 / -2;
  }
}

.cta-section {
  padding: 5rem 2rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
