:root {
  --primary-dark: #121212;
  --secondary-dark: #1a1a1a;
  --accent-color: #c62828;
  --text-light: #f5f5f5;
  --text-secondary: #aaaaaa;
}

body {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.hero-content {
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 300;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #c62828;
}

.hero-subtitle {
  font-size: 1.5rem;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Navigation */
.navbar {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-link {
  color: var(--text-light) !important;
  margin: 0 0.8rem;
  font-weight: 400;
  position: relative;
  transition: all 0.3s ease;
}

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

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

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

.section-title {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
  text-align: center;
}

.section-title:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Commemoration Section */
.commemoration-card {
  background: var(--secondary-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  height: 100%;
}

.commemoration-card:hover {
  transform: translateY(-10px);
}

.flyer-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.event-details {
  padding: 2rem;
}

.event-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.register-btn {
  background: var(--accent-color);
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1.5rem;
}

.register-btn:hover {
  background: #9e1e1e;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(198, 40, 40, 0.4);
}

.isaha {
  color: #f1f50f;
  font-weight: 600;
}

/* Q&A Section */
.accordion-button {
  background-color: var(--secondary-dark);
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
  background-color: #9e1e1e !important;
  color: var(--text-light);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  background-color: rgba(30, 30, 30, 0.8);
  color: var(--text-secondary);
  line-height: 1.8;
  padding: 1.5rem;
}

/* Testimonials */
.testimonial-card {
  background-color: var(--light);
  border-left: 3px solid var(--accent-color);
}

/* Articles Grid */
.article-card {
  background: var(--secondary-dark);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-card:hover {
  transform: translateY(-10px);
}

.testimony-image {
  height: 200px;
  background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimony-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.article-content {
  padding: 1.5rem;
}

.article-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.article-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.read-more {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Article Detail Page */
.article-detail-page {
  padding: 120px 2rem 4rem;
}

.article-header {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

.article-title-large {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.article_subtitle {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
  font-weight: 300;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.article-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-category {
  background: rgba(198, 40, 40, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.image-caption {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: -30px;
  margin-bottom: 40px;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  margin: 3rem 0 1.5rem;
  color: var(--accent-color);
  font-size: 1.8rem;
}

.article-content blockquote {
  border-left: 4px solid var(--accent-color);
  padding: 1rem 2rem;
  margin: 2rem 0;
  background: rgba(30, 30, 30, 0.5);
  font-style: italic;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

.author-section {
  max-width: 800px;
  margin: 4rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid #333;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.author-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.author-title {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.author-bio {
  color: var(--text-secondary);
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--text-light);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

/* Past Events */
.year-tabs .nav-link {
  background: transparent;
  color: var(--text-light);
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  position: relative;
}

.year-tabs .nav-link.active {
  color: var(--accent-color);
}

.year-tabs .nav-link.active:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.media-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  height: 200px;
  background: var(--secondary-dark);
}

.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-item:hover img,
.media-item:hover video {
  transform: scale(1.05);
}

.media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.8rem;
  font-size: 0.9rem;
}

/* About us */
.about-us {
  /* background: white; */
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

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

.mission-card {
  padding: 2rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent-color);
}

/* Educational Resources Section */
#educational-resources {
  background: #0d0d0d;
  padding: 5rem 2rem;
}

.resource-tabs .nav-link {
  background: transparent;
  color: var(--text-light);
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 600;
  position: relative;
  border-radius: 0;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.resource-tabs .nav-link.active {
  color: var(--accent-color);
  background: rgba(198, 40, 40, 0.1);
}

.resource-tabs .nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.resource-tabs .nav-link.active:after {
  width: 100%;
}

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

.resource-card {
  background: var(--secondary-dark);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(198, 40, 40, 0.2);
  border-color: var(--accent-color);
}

.resource-header {
  padding: 1.5rem;
  border-bottom: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.resource-icon {
  width: 50px;
  height: 50px;
  background: rgba(198, 40, 40, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-color);
}

.resource-title {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.resource-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.resource-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.resource-meta {
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 0.9rem;
  margin-top: auto;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
}

.resource-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.resource-link:hover i {
  transform: translateX(5px);
}

/* Contact Form */
.contact-form {
  background: var(--secondary-dark);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-control {
  background: rgba(40, 40, 40, 0.7);
  border: 1px solid #333;
  color: var(--text-light);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.form-control:focus {
  background: rgba(40, 40, 40, 0.7);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem rgba(198, 40, 40, 0.25);
  color: var(--text-light);
}

.submit-btn {
  background: var(--accent-color);
  border: none;
  padding: 0.8rem 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: #9e1e1e;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(198, 40, 40, 0.4);
}

/* Footer */
footer {
  background: #0a0a0a;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--secondary-dark);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
}

.moto {
  max-width: 500px;
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  border-left: 3px solid var(--accent-color);
  padding-left: 1.5rem;
}

.copyright {
  text-align: center;
  color: var(--text-secondary);
  padding-top: 2rem;
  border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/Candle.png");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
  }
  .subtitle {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #9c291a;
  }
  .hero-image-container {
    display: none;
  }
  .hero-content {
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    margin: 0 20px;
  }
  .section {
    padding: 4rem 1.5rem;
  }
  .resource-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #9c291a;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  /* Hide image column on tablet/mobile */
  .hero-image-col {
    display: none !important;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .footer-content {
    flex-direction: column;
  }
  .moto {
    margin-top: 2rem;
  }
  .resource-tabs .nav-link {
    padding: 0.8rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .subtitle {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #9c291a;
    font-size: 1.4rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-section {
    padding: 40px 0;
  }
  .navbar {
    padding: 1rem;
  }
  .section {
    padding: 5rem 1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .resource-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}
