:root {
  --color-liberation: #ff6b4a;
  --color-syria: #4ade80;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans Arabic", sans-serif;
  overflow-x: hidden;
}

.hero-section {
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}

.content {
  text-align: center;
  color: white;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
}

/* .homepage-line-icon {
    display: flex;
    justify-content: center;
}

.homepage-line-icon img {
    max-width: 100%;
} */

.main-title {
  font-size: 4rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.sub-title {
  font-size: 3rem;
  background: linear-gradient(
    to left,
    var(--color-liberation) 0%,
    #ffffff 50%,
    var(--color-syria) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.slogan {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.date-range {
  display: block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: block;
  background: linear-gradient(to left, #017b56 0%, #019f6a 90%);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

.cta-button:hover {
  background-color: var(--color-syria);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 222, 128, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Timeline Section */
.timeline-section {
  background-color: #f5f5f5;
  padding: 4rem 2rem;
  min-height: 100vh;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-header {
  text-align: center;
  margin-bottom: 4rem;
}

.timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #d0fae5;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
  color: #2e7d32;
  margin-bottom: 1.5rem;
}

.timeline-badge img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(27%) sepia(95%) saturate(1000%)
    hue-rotate(100deg);
}

.timeline-title {
  font-size: 4rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 1rem;
}

.timeline-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  right: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--color-syria) 0%,
    var(--color-liberation) 50%,
    var(--color-syria) 75%
  );
  transform: translateX(50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  width: 100%;
}

.timeline-item-left {
  flex-direction: row;
  padding-right: calc(50% + 6rem);
}

.timeline-item-right {
  flex-direction: row-reverse;
  padding-left: calc(50% + 6rem);
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
  max-width: 450px;
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  background-color: #f0f0f0;
  padding: 0.1rem 0.7rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  color: #666;
}

.timeline-event-title {
  font-size: 1.3rem;
  color: #000;
  margin-bottom: 0.3rem;
}

.timeline-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.timeline-icon {
  position: absolute;
  transform: translateX(50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.timeline-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 40%;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50% 0 50% 0;
  pointer-events: none;
}

.timeline-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
}

.timeline-icon-green {
  right: 52%;
  background-color: var(--color-syria);
}

.timeline-icon-red {
  right: 48%;
  background-color: var(--color-liberation);
}

/* Responsive Design */
@media (max-width: 768px) {
  .homepage-line-icon img {
    width: 100%;
    max-width: 400px;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .sub-title {
    font-size: 2rem;
  }

  .slogan {
    font-size: 1.2rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.875rem 2rem;
  }

  .timeline-section {
    padding: 2rem 1rem;
    min-height: auto;
  }

  .timeline-header {
    margin-bottom: 2rem;
  }

  .timeline-title {
    font-size: 2rem;
  }

  .timeline-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .timeline {
    padding: 1rem 0;
    padding-right: 3rem;
  }

  .timeline-line {
    right: 1.5rem;
    transform: none;
    width: 3px;
  }

  .timeline-item {
    margin-bottom: 2.5rem;
    position: relative;
  }

  .timeline-item-left,
  .timeline-item-right {
    flex-direction: row;
    padding-right: 0;
    padding-left: 0;
    padding-top: 0;
    align-items: flex-start;
  }

  .timeline-content {
    max-width: 100%;
    width: 100%;
    margin-bottom: 0;
    padding: 1.2rem;
    margin-right: 1.5rem;
  }

  .timeline-date {
    font-size: 0.85rem;
    padding: 0.1rem 0.6rem;
    margin-bottom: 0.5rem;
  }

  .timeline-event-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .timeline-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .timeline-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    transform: translateX(50%);
    flex-shrink: 0;
  }

  .timeline-icon img {
    width: 20px;
    height: 20px;
  }

  .timeline-icon-green {
    right: 0;
  }

  .timeline-icon-red {
    right: 0;
  }
}

/* Heroes Section */
.heroes-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
  min-height: 100vh;
}

.heroes-container {
  max-width: 1200px;
  margin: 0 auto;
}

.heroes-header {
  text-align: center;
  margin-bottom: 4rem;
}

.heroes-badge {
  display: inline-block;
  background-color: #fce4ec;
  padding: 0.5rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #9f0712;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.heroes-title {
  font-size: 4rem;
  color: #000;
}

.heroes-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.heroes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.hero-card {
  background: white;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-photo {
  width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #000;
  text-align: right;
  padding: 1.5rem 1.5rem 0.5rem;
}

.hero-role {
  font-size: 1rem;
  color: var(--color-syria);
  font-weight: 500;
  text-align: right;
  padding: 0 1.5rem;
}

.hero-quote {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
}

.quote-line {
  width: 3px;
  height: 60px;
  background-color: var(--color-syria);
  border-radius: 2px;
}

.quote-text {
  flex: 1;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  font-style: italic;
  text-align: right;
}

/* Responsive Design for Heroes */
@media (max-width: 768px) {
  .heroes-section {
    padding: 2rem 1rem;
  }

  .heroes-title {
    font-size: 2.5rem;
  }

  .heroes-subtitle {
    font-size: 1rem;
  }

  .heroes-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Gallery Section */
.gallery-section {
  background-color: #1a1a2e;
  padding: 4rem 2rem;
  min-height: 100vh;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 4rem;
}

.gallery-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #666;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.gallery-badge img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(0.8);
}

.gallery-title {
  font-size: 4rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1rem;
}

.gallery-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.gallery-card-large {
  grid-column: 1 / 4;
  aspect-ratio: 3 / 1;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.gallery-label {
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: right;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: transform 0.3s ease;
}

.gallery-card-large:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Responsive Design for Gallery */
@media (max-width: 768px) {
  .gallery-section {
    padding: 2rem 1rem;
  }

  .gallery-title {
    font-size: 2.5rem;
  }

  .gallery-subtitle {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-card-large {
    grid-column: 1;
    aspect-ratio: 16 / 9;
  }
}

/* Values Section */
.values-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
  min-height: 100vh;
}

.values-container {
  max-width: 1200px;
  margin: 0 auto;
}

.values-header {
  text-align: center;
  margin-bottom: 4rem;
}

.values-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(
    to left,
    var(--color-liberation),
    var(--color-syria)
  );
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.values-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: linear-gradient(
    to left,
    var(--color-liberation),
    var(--color-syria)
  );
  z-index: -1;
}

.values-badge span {
  background: white;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  z-index: 1;
}

.values-badge img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(27%) sepia(95%) saturate(1000%)
    hue-rotate(100deg);
  position: relative;
  z-index: 1;
}

.values-title {
  font-size: 4rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 1rem;
}

.values-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.value-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem;
  text-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.value-icon img {
  width: 30px;
  height: 30px;
}

.value-icon-green {
  background-color: rgba(74, 222, 128, 0.1);
}

.value-icon-green img {
  filter: brightness(0) saturate(100%) invert(67%) sepia(95%) saturate(1000%)
    hue-rotate(100deg);
}

.value-icon-red {
  background-color: rgba(255, 107, 74, 0.1);
}

.value-icon-red img {
  filter: brightness(0) saturate(100%) invert(58%) sepia(95%) saturate(1000%)
    hue-rotate(340deg);
}

.value-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 1rem;
}

.value-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.value-line {
  height: 3px;
  width: 60px;
  margin: 0;
  border-radius: 2px;
}

.value-line-green {
  background-color: var(--color-syria);
}

.value-line-red {
  background-color: var(--color-liberation);
}

.values-quote {
  position: relative;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  background: white;
}

.values-quote::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(
    to right,
    var(--color-syria),
    var(--color-liberation)
  );
  z-index: -1;
}

.values-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: white;
  z-index: -1;
}

.values-quote .quote-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  line-height: 1.8;
  text-align: center;
  margin: 0;
}

/* Responsive Design for Values */
@media (max-width: 768px) {
  .values-section {
    padding: 2rem 1rem;
  }

  .values-title {
    font-size: 2.5rem;
  }

  .values-subtitle {
    font-size: 1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .values-quote .quote-text {
    font-size: 1.2rem;
  }
}

/* Footer Section */
.footer-section {
  background-color: #1a1a2e;
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.footer-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin: 0;
}

.footer-title-small {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ccc;
  display: block;
  margin-top: 0.5rem;
}

.footer-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(to right, var(--color-liberation), var(--color-syria));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-icon img {
  width: 30px;
  height: 30px;
}

.footer-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  margin: 0;
}

.footer-description {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 600px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin: 0;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links-list li a {
  color: #ccc;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-links-list li a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  color: #999;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-legal a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

.footer-separator {
  color: #666;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
  .footer-section {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-title {
    font-size: 2rem;
  }

  .footer-subtitle {
    font-size: 1.5rem;
  }

  .footer-description {
    font-size: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Hero Detail Page */
.hero-detail-page {
  background-color: #fff;
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .hero-detail-card {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  max-width: 1200px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
} */

.hero-detail-image {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;

}

.hero-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hero-detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 2rem 3rem;
}

.hero-detail-content {
  width: 100%;
}

.hero-detail-name {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.hero-detail-subtitle {
  font-size: 1.3rem;
  color: var(--color-syria);
  font-weight: 500;
}

.hero-detail-text {
  padding: 3rem;
}

.hero-detail-description {
  font-size: 1.1rem;
  line-height: 2;
  color: #333;
  text-align: right;
  margin: 0;
}

.hero-detail-gallery {
  padding: 3rem;
  background-color: #f5f5f5;
}

.hero-detail-gallery .gallery-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 2rem;
  text-align: right;
}

.hero-detail-button-container {
  padding: 2rem 3rem 3rem;
  display: flex;
  justify-content: center;
}

.hero-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch-video-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--color-liberation);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.watch-video-button:hover {
  background-color: #e55a3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 74, 0.4);
}

.watch-video-button svg {
  width: 20px;
  height: 20px;
}

/* Responsive Design for Hero Detail */
@media (max-width: 768px) {
  .hero-detail-page {
    padding: 1rem;
  }

  .hero-detail-card {
    border-radius: 12px;
  }

  .hero-detail-image {
    height: 350px;
  }

  .hero-detail-name {
    font-size: 2rem;
  }

  .hero-detail-subtitle {
    font-size: 1.1rem;
  }

  .hero-detail-text {
    padding: 2rem 1.5rem;
  }

  .hero-detail-description {
    font-size: 1rem;
  }

  .hero-detail-gallery {
    padding: 2rem 1.5rem;
  }

  .hero-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .hero-detail-button-container {
    padding: 1.5rem;
  }

  .watch-video-button {
    font-size: 1rem;
    padding: 0.875rem 2rem;
  }
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: background-color 0.3s ease;
}

.video-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-color: #000;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive Design for Video Modal */
@media (max-width: 768px) {
  .video-modal {
    padding: 1rem;
  }

  .video-modal-content {
    max-width: 100%;
  }

  .video-modal-close {
    top: 0.5rem;
    left: 0.5rem;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
}

/* Image Gallery Modal */
.image-gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.gallery-modal-content {
  position: relative;
  width: 100%;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 3rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: background-color 0.3s ease;
  line-height: 1;
}

.gallery-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: background-color 0.3s ease, transform 0.3s ease;
  line-height: 1;
  user-select: none;
  padding: 0;
  margin: 0;
}

.gallery-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev-btn {
  right: 2rem;
}

.gallery-next-btn {
  left: 2rem;
}

/* Responsive Design for Image Gallery Modal */
@media (max-width: 768px) {
  .image-gallery-modal {
    padding: 0.5rem;
  }

  .gallery-close-btn {
    top: 0.5rem;
    right: 0.5rem;
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
    z-index: 10002;
  }

  .gallery-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
  }

  .gallery-prev-btn {
    right: 0.5rem;
    left: auto;
  }

  .gallery-next-btn {
    left: 0.5rem;
    right: auto;
  }

  .gallery-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.05);
  }

  .gallery-modal-content {
    max-width: 100%;
    max-height: 100vh;
    padding: 3rem 0.5rem;
  }

  .gallery-modal-content img {
    max-height: calc(100vh - 6rem);
  }
}
