/* CSS Variables */

:root {
  --primary: #d8232a;
  --primary-foreground: #ffffff;
  --accent: #ffa500;
  --accent-foreground: #1a1a1a;
  --brand-black: #1a1a1a;
  --brand-gray-dark: #333333;
  --brand-gray-medium: #666666;
  --brand-gray-light: #f0f0f0;
  --brand-white: #ffffff;
  --border: #e5e7eb;
  --radius: 0.5rem;
}
/* Reset and Base Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  color: var(--brand-black);
  line-height: 1.5;
  background-color: var(--brand-white);
}
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}
/* Navigation Styles */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  height: 5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 20px 0px;
}
.navbar.scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}
.nav-link {
  color: var(--brand-gray-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}
.nav-buttons {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .nav-buttons {
    display: flex;
  }
}
.mobile-book-ticket-btn {
  display: block;
  margin-right: 0.5rem;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}
/* for desktop and laptop  */

@media (min-width: 768px) {
  .mobile-book-ticket-btn {
    display: none !important;
  }
}
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}
.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--brand-black);
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--brand-black);
  transition: all 0.3s ease;
}
.hamburger::before {
  top: -8px;
}
.hamburger::after {
  top: 8px;
}
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--border);
}
.mobile-menu.active {
  display: block;
}
.mobile-menu-content {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav-link {
  color: var(--brand-gray-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}
.mobile-nav-link:hover {
  color: var(--primary);
}
.mobile-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
/* Button Styles */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  /* border: 1px solid transparent; */
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-8px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.btn-primary:hover {
  background-color: rgba(216, 35, 42, 0.9);
}
.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background-color: rgba(216, 35, 42, 0.1);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--brand-white);
  border-color: var(--brand-white);
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--accent);
}
.btn-accent:hover {
  background-color: rgba(255, 165, 0, 0.9);
}
.btn-lg {
  padding: 0.5rem 2rem;
  font-size: 1.125rem;
}
.btn-full {
  width: 100%;
}
/* Main Content */

.main-content {
  padding-top: 5rem;
}
/* Hero Section */

.hero-section {
  /* background: linear-gradient(to bottom, #d2a1ff55, #ffa2a256); */
  background: linear-gradient(to bottom, #bfdbfe, #e3e0f4);
  padding: 2rem 0;
  position: relative;
  min-height: 520px;
}
/* @media (min-width: 1024px) {
    .hero-section {
        padding: 8rem 0;
    }
} */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.hero-heading {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--brand-white);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.hero-heading.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 1024px) {
  .hero-heading {
    font-size: 3.25rem;
  }
}
.text-primary {
  color: var(--primary);
}
.ifta-text {
  background: linear-gradient(to right, #dc2626, #9333ea) !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
}
.hero-description {
  font-size: 1rem;
  color: var(--brand-white);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}
.hero-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.25);
}
/* Section Styles */

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 1rem;
}
@media (min-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }
}
.section-description {
  font-size: 1.25rem;
  color: var(--brand-gray-dark);
  max-width: 48rem;
  margin: 0 auto;
}
.section-footer {
  text-align: center;
  margin-top: 3rem;
}
/* Programs Section */

.programs-section {
  padding: 5rem 0;
  padding-top: 2rem;
  background-color: #efefef6e;
}
.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.program-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
}
.program-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  background-color: var(--brand-gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
}
.icon {
  width: 2rem;
  height: 2rem;
}
.icon-primary {
  color: var(--primary);
}
.icon-accent {
  color: var(--accent);
}
.program-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 1rem;
}
.program-description {
  color: var(--brand-gray-dark);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
/* Events Section */

.events-section {
  padding: 5rem 0;
  background-color: var(--brand-gray-light);
}
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.event-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.event-type {
  background-color: rgba(216, 35, 42, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.event-date {
  color: var(--brand-gray-medium);
  font-size: 0.875rem;
}
.event-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 1rem;
}
.event-description {
  color: var(--brand-gray-dark);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.event-location {
  color: var(--brand-gray-medium);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
/* Membership Teaser */

.membership-teaser {
  padding: 5rem 0;
  background-color: var(--brand-black);
  color: white;
  text-align: center;
}
.membership-content {
  /* margin-bottom: 4rem; */
}
.membership-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (min-width: 1024px) {
  .membership-title {
    font-size: 2.25rem;
  }
}
.membership-description {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.logos-text {
  font-size: 1.125rem;
  color: var(--brand-dark);
  margin-bottom: 2rem;
  margin-top: 2rem;
  text-align: center;
}
.logos-section {
  text-align: center;
  padding-bottom: 2rem;
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
  opacity: 1;
}
@media (min-width: 768px) {
  .logos-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.member-logo {
  height: 60px;
  width: auto;
  filter: brightness(1) invert(0);
  border-radius: 10px;
}

@media (max-width: 480px) {
  .member-logo {
    height: 40px;
  }
}
/* Media Section */

.media-section {
  padding: 5rem 0;
  background-color: white;
}
.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.media-item {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.media-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}
.media-content {
  padding: 1.5rem;
}
.media-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-black);
}
/* Footer */

.footer {
  background-color: var(--brand-black);
  color: var(--brand-gray-light);
  padding: 3rem 0 1rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}
.footer-title {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-text {
  color: #9ca3af;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.social-links {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}
.social-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}
.social-link:hover {
  color: white;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: white;
}
.contact-info p {
  color: #9ca3af;
  margin-bottom: 0.5rem;
}
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: rgb(156, 163, 175);
}
/* Card Hover Effect */

.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
/* Lightbox */

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
}
.lightbox-content {
  position: relative;
  margin: auto;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
}
.lightbox-close:hover {
  color: #ccc;
}
.lightbox-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
/* Hero Slider Styles */

.hero-slider {
  position: relative;
  overflow: hidden;
  touch-action: pan-y; /* Allow vertical scrolling but handle horizontal gestures */
  user-select: none; /* Prevent text selection during drag */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  margin-top: 2rem;
}
.hero-slide {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform; /* Optimize for animations */
}
.hero-slide.active {
  display: block;
  position: relative;
  z-index: 2;
}
.hero-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  gap: 10px;
}
.hero-slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cdcdcd;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
  margin-top: 20px;
}
.hero-slider-dots .dot.active {
  background: var(--primary);
}

.hero-image {
  padding: 1rem;
}
/* Responsive adjustments */

@media (max-width: 768px) {
  .hero-slide,
  .hero-slide.active {
    position: relative;
    min-height: 400px;
  }
  .hero-image {
    display: none;
  }
}
/* Responsive Design */

@media (max-width: 767px) {
  .hero-heading {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .membership-title {
    font-size: 1.5rem;
  }
}
/* hero counter */

.pt-8 {
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .pt-8 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .pt-8 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.gap-6 {
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .gap-6 {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .gap-6 {
    gap: 0.75rem;
  }
}

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

@media (max-width: 768px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.grid {
  display: grid;
}
.text-center {
  text-align: center;
}
.p-4 {
  padding: 1rem;
}

@media (max-width: 768px) {
  .p-4 {
    padding: 0.75rem;
  }
}

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

.bg-white\/80 {
  background-color: transparent;
  border: 2px solid #9333ea;
  /* border-image: linear-gradient(to right, #dc2626, #9333ea) 1; */
}

.rounded-xl {
  border-radius: calc(0.5rem + 4px);
}

@media (max-width: 480px) {
  .rounded-xl {
    border-radius: 0.5rem;
  }
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 480px) {
  .shadow-lg {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.text-3xl {
  font-size: 1.5rem;
  line-height: 2.25rem;
}

@media (max-width: 768px) {
  .text-3xl {
    font-size: 1.25rem;
    line-height: 2rem;
  }
}

@media (max-width: 480px) {
  .text-3xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.font-bold {
  font-weight: 700;
}

.text-grey-900 {
  color: #111827;
}

.text-white-900 {
  color: var(--brand-white);
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

@media (max-width: 480px) {
  .text-sm {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}

.text-gray-600 {
  color: #111827;
}

.font-medium {
  font-weight: 500;
}

/* hero animation */

.hero-animate-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.animate-element {
  position: absolute;
  top: 20%;
  left: 80px;
  z-index: 1;
  animation: verticalMove 3s ease-in-out infinite;
}

.animate-element2 {
  position: absolute;
  bottom: 20%;
  right: 80px;
  z-index: 1;
  animation: verticalMove 3s ease-in-out infinite;
}

.animate-element3 {
  position: absolute;
  bottom: 10%;
  left: 100px;
  z-index: 1;
  animation: verticalMove 3s ease-in-out infinite;
}

@keyframes verticalMove {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-image {
  width: 64px;
  height: 64px;
}

@media (max-width: 768px) {
  .animate-element {
    left: 20px;
    top: 15%;
  }

  .animate-element2 {
    right: 20px;
    top: 15%;
  }

  .animate-element3 {
    left: 10px;
    bottom: 10%;
  }

  .animate-image {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .animate-element {
    left: 10px;
    top: 10%;
  }

  .animate-element2 {
    right: 10px;
    top: 10%;
  }

  .animate-element3 {
    left: 10px;
    bottom: 10%;
  }

  .animate-image {
    width: 32px;
    height: 32px;
  }
}

.ai-background-section {
  background: rgb(0, 11, 36);
  /* background:linear-gradient(227deg, rgba(250,40,82,1) 22%, rgba(144,15,111,1) 49%, rgba(56,15,144,1) 100%) !important; */
  background: linear-gradient(
    227deg,
    rgb(47 4 138 / 76%) 8%,
    rgb(144, 15, 111) 30%,
    rgb(56, 15, 144) 100%
  ) !important;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: auto; /* Allows height to adjust based on content */
  color: white;
  z-index: 3;
}

.ai-content {
  /* margin-top: 6rem; */
  /* margin-bottom: 4rem; */
  z-index: 5;
}

.background-section {
  position: relative; /* Ensure relative positioning for children */
  z-index: 1; /* Bring text and images above particles */
  background: rgb(0, 11, 36);
  background: linear-gradient(
    227deg,
    rgba(250, 40, 82, 1) 22%,
    rgba(144, 15, 111, 1) 49%,
    rgba(56, 15, 144, 1) 100%
  );
  color: white;
  width: 100%;
  height: auto;
}

/* ---- stats.js ---- */
.count-particles {
  background: black;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13e8e9;
  font-size: 0.8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}
.js-count-particles {
  font-size: 1.1em;
}
#stats,
.count-particles {
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}
#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}
.count-particles {
  border-radius: 0 0 3px 3px;
}
.ai-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  z-index: 1; /* Place above particles but below text */
}

.logos-slider {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  padding: 2rem 0;
}

.logos-track {
  display: flex;
  gap: 2rem;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.member-logo {
  width: 120px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  /* filter: grayscale(100%); */
  opacity: 1;
  transition: all 0.3s ease;
}

.member-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1rem));
  }
}

@media (max-width: 768px) {
  .member-logo {
    width: 100px;
    max-height: 50px;
  }

  .logos-track {
    gap: 1.5rem;
    animation: scroll 25s linear infinite;
  }

  .logos-slider {
    padding: 1.5rem 0;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-50% - 0.75rem));
    }
  }
}

@media (max-width: 480px) {
  .member-logo {
    width: 80px;
    max-height: 40px;
  }

  .logos-track {
    gap: 1rem;
    animation: scroll 20s linear infinite;
  }

  .logos-slider {
    padding: 1rem 0;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-50% - 0.5rem));
    }
  }
}

.program-image {
  margin-bottom: 1rem;
}

.program-image img {
  border-radius: 10px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.program-image img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Video Thumbnail Styles */
.video-thumbnail {
  position: relative;
  cursor: pointer;
}

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(216, 35, 42, 0.9);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.play-button-overlay:hover {
  background-color: rgba(216, 35, 42, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button-overlay i {
  color: white;
  font-size: 24px;
  margin-left: 4px; /* Slight adjustment to center the play icon */
}

/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.video-modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 800px;
  height: 80vh;
  max-height: 450px;
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
}

.video-close:hover {
  color: var(--primary);
}

.video-modal-content iframe,
.video-modal-content #player {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .play-button-overlay {
    width: 60px;
    height: 60px;
  }

  .play-button-overlay i {
    font-size: 18px;
  }

  .video-modal-content {
    width: 95%;
    margin: 10% auto;
    height: 60vh;
  }
}

/* Smooth transitions for all slide elements during swipe */
.hero-slide * {
  transition: inherit;
}

/* Cursor styles for desktop drag */
.hero-slider:hover {
  cursor: grab;
}

.hero-slider:active {
  cursor: grabbing;
}

/* Disable pointer events on images during swipe to prevent drag conflicts */
.hero-slider img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Dropdown Menu Styles */

/* Desktop dropdown inside navbar */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-toggle {
  background: transparent;
  border: 0;
  padding: 0; /* match .nav-link spacing */
  margin: 0;
  color: var(--brand-gray-dark);
  font-weight: 500;
  box-shadow: none;
  display: inline; /* avoid inline-flex from .btn */
  /* font-size: inherit;  */
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
}

.nav-links .dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 0.35rem;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--brand-gray-dark);
  vertical-align: middle;
}

.nav-links .dropdown:hover .dropdown-toggle::after,
.nav-links .dropdown:focus-within .dropdown-toggle::after {
  border-top-color: var(--primary);
}

.nav-links .dropdown-toggle:hover {
  color: var(--primary);
  transform: none; /* override .btn hover translate */
}

/* Ensure button base class doesn't affect visual style */
.nav-links .dropdown .btn {
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
  color: var(--brand-gray-dark);
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
  border-radius: 0;
}

.nav-links .dropdown .btn:hover,
.nav-links .dropdown .btn:focus {
  color: var(--primary);
}

.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--brand-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}

.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--brand-gray-dark);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links .dropdown-item:hover {
  background: var(--brand-gray-light);
  color: var(--primary);
}

/* Remove button hover lift for dropdown trigger in navbar */
.nav-links .dropdown .btn {
  box-shadow: none;
}

.nav-links .dropdown .btn:hover {
  transform: none;
}

/* Mobile menu dropdown: render items inline under trigger */
.mobile-menu .dropdown {
  padding-top: 0.25rem;
}

.mobile-menu .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0.5rem 0;
  color: var(--brand-gray-dark);
  box-shadow: none;
  font-size: 1rem; /* match .mobile-nav-link */
  font-weight: 500; /* match .mobile-nav-link */
  text-align: left;
}

.mobile-menu .dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 0.5rem;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--brand-gray-dark);
  transition: transform 0.2s ease, border-top-color 0.2s ease;
}

.mobile-menu .dropdown-menu {
  position: static;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0.25rem 0 0 0;
  list-style: none;
  display: none; /* collapsed by default */
}

.mobile-menu .dropdown.open .dropdown-menu {
  display: block;
}

.mobile-menu .dropdown.open .dropdown-toggle::after {
  transform: rotate(180deg);
  border-top-color: var(--primary);
}

.mobile-menu .dropdown-item {
  display: block;
  padding: 0.5rem 0;
  color: var(--brand-gray-dark);
  text-decoration: none;
}

.mobile-menu .dropdown-item:hover {
  color: var(--primary);
}

/* === PARTNERS & SPONSORS SECTION (copied from ifta-landing.css) === */
.partners-sponsors-section {
  padding: 100px 0;
  background: #ffffff;
  font-family: "Montserrat", sans-serif;
}

.partners-header {
  text-align: center;
  margin-bottom: 80px;
}

.partners-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  line-height: 1.2;
}

.partners-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.sponsors-category {
  margin-bottom: 30px;
}

.sponsors-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #6b7280;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.title-sponsors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.platinum-sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.all-sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.sponsor-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #f3f4f6;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.platinum-card {
  min-height: 150px;
  padding: 30px 20px;
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
  height: 80px;
}

.platinum-card .sponsor-logo {
  height: 60px;
  margin-bottom: 0;
}

.sponsor-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.3s ease;
}

.sponsor-card:hover .sponsor-img {
  filter: grayscale(0);
}

.sponsor-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #161616;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Design for Partners & Sponsors */
@media (max-width: 1024px) {
  .partners-sponsors-section {
    padding: 80px 0;
  }

  .partners-header {
    margin-bottom: 60px;
  }

  .partners-title {
    font-size: 2.25rem;
  }

  .sponsors-category {
    margin-bottom: 30px;
  }

  .title-sponsors-grid {
    gap: 30px;
  }

  .platinum-sponsors-grid {
    gap: 25px;
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }

  .all-sponsors-grid {
    gap: 25px;
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .partners-sponsors-section {
    padding: 60px 0;
  }

  .partners-header {
    margin-bottom: 50px;
  }

  .partners-title {
    font-size: 2rem;
  }

  .partners-subtitle {
    font-size: 1rem;
  }

  .sponsors-category {
    margin-bottom: 20px;
  }

  .title-sponsors-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 400px;
  }

  .amfi-card {
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }

  .platinum-sponsors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 350px;
  }

  .all-sponsors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 350px;
  }

  .sponsor-card {
    padding: 30px 25px;
    min-height: 160px;
  }

  .platinum-card {
    min-height: 120px;
    padding: 25px 20px;
  }

  .sponsor-logo {
    height: 60px;
    margin-bottom: 15px;
  }

  .platinum-card .sponsor-logo {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .partners-sponsors-section {
    padding: 50px 0;
  }

  .partners-header {
    margin-bottom: 40px;
  }

  .partners-title {
    font-size: 1.75rem;
  }

  .partners-subtitle {
    font-size: 0.95rem;
  }

  .sponsors-category {
    margin-bottom: 20px;
  }

  .category-title {
    font-size: 0.8rem;
    margin-bottom: 30px;
  }

  .sponsor-card {
    padding: 25px 20px;
    min-height: 140px;
  }

  .platinum-card {
    min-height: 100px;
    padding: 20px 15px;
  }

  .sponsor-logo {
    height: 50px;
    margin-bottom: 12px;
  }

  .sponsor-logo a {
    margin-bottom: 25px;
  }

  .sponsor-logo a img {
    width: 80%;
    position: relative;
    margin-top: 15px;
  }

  .platinum-card .sponsor-logo {
    height: 40px;
    margin-bottom: 0;
  }

  .sponsor-label {
    font-size: 0.8rem;
  }
}
