body {
  font-family: "poppins", sans-serif;
  background-color: #fff;
  color: #155998;
}

.event-container {
  background: #ffffff;
  color: #155998;
  padding: 60px 0;
}

/* ================================
   Event Support Intro Section
================================ */
.event-intro {
  text-align: start;
  margin-bottom: 40px;
}
 
 /* .intro-title {
  font-size: 32px;
  color: #155998;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.4;
}  */

.event-intro .intro-sub {
  font-size: 16px;
  color: #155998;
  margin-bottom: 20px;
  line-height: 1.6;
}

.intro-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff1493 0%, #4acecd 100%);
  margin-top: 20px;
  border-radius: 2px;
}

/* ================================
   Event Cards Grid - 2 Columns with Alternating Layout
================================ */
.event-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.banner-content h1 {
  color: #fff;
}

.event-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 0;
  height: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(21, 89, 152, 0.08);
  border-radius: 8px;
}

.event-card:hover {
  box-shadow: 0 12px 30px rgba(21, 89, 152, 0.15);
  transform: translateY(-4px);
}

.event-card.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.event-card.reverse > * {
  direction: ltr;
}

.event-card__img {
  position: relative;
  width: 100%;
  max-height: 320px !important;
  min-height: 320px !important;
  overflow: hidden;
}

.event-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  max-height: 320px !important;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 89, 152, 0.3);
  transition: background 0.3s ease, opacity 0.4s ease;
  z-index: 1;
  opacity: 0;
}

.event-card:hover .card-overlay {
  /* background: rgba(21, 89, 152, 0.5); */
  opacity: 0.5;
}

.event-card:hover .event-card__img img {
  transform: scale(1.05);
}

.event-card__text {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f8f9fa;
  position: relative;
  z-index: 2;
  height: 320px;
  max-height: 320px !important;
}

.event-card:nth-child(odd) .event-card__text {
  background: #ffffff;
}

.event-card:nth-child(even) .event-card__text {
  background: #f8f9fa;
}

.card-number {
  font-size: 48px;
  font-weight: 700;
  color: #ff1493;
  margin-bottom: 10px;
  opacity: 0.1;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #155998;
  margin-bottom: 15px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.event-card:hover .card-title {
  color: #ff1493;
}

.card-desc {
  font-size: 16px;
  color: #155998;
  line-height: 1.8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-read {
  color: #ff1493;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  width: fit-content;
}

.card-read:hover {
  gap: 12px;
  color: #155998;
}

.card-read i {
  transition: transform 0.3s ease;
}

.card-read:hover i {
  transform: translateX(4px);
}
/* ================================
   They Trust Us Section
================================ */
.they-trust-us-section {
  margin: 0 !important;
  padding: 40px 0 20px 0 !important;
}

/* ================================
   CTA Section
================================ */
.event-cta {
  grid-column: 1 / -1;
  padding: 40px 40px;
  margin: 0 !important;
  background: linear-gradient(
    135deg,
    rgba(255, 20, 147, 0.05) 0%,
    rgba(74, 206, 205, 0.05) 100%
  );
  border-radius: 12px;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-sub {
  font-size: 32px;
  font-weight: 600;
  color: #155998;
  margin-bottom: 12px;
  line-height: 1.4;
}

.cta-text {
  font-size: 16px;
  color: #155998;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-contact-primary {
  font-size: 16px !important;
  padding: 14px 32px !important;
  background: #185fa0 !important;
  border: 1px solid #185fa0 !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  color: #fff !important;
  transition: all 0.3s ease;
}

.btn-contact-primary:hover {
  background: #ff1493 !important;
  border-color: #ff1493 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 20, 147, 0.2);
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 1024px) {
  .event-intro .intro-title {
    font-size: 28px;
  }

  .event-intro .intro-sub {
    font-size: 15px;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card.reverse {
    grid-template-columns: 1fr;
  }

  .event-card.reverse > * {
    order: 2;
  }

  .event-card__text {
    padding: 40px 30px;
    min-height: 250px;
  }

  .event-card__img {
    min-height: 250px;
  }

  .card-number {
    font-size: 36px;
  }

  .card-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .event-container {
    padding: 40px 0;
  }

  .event-intro .intro-title {
    font-size: 24px;
  }

  .event-intro .intro-sub {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .event-card__text {
    padding: 30px 20px;
    /* min-height: auto; */
  }

  .event-card__img {
    min-height: 250px;
  }

  .card-number {
    font-size: 32px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-desc {
    font-size: 15px;
  }

  .cta-sub {
    font-size: 24px;
  }

  .cta-text {
    font-size: 15px;
  }

  .event-cta {
    padding: 40px 30px;
  }
}

@media (max-width: 576px) {
  .event-intro .intro-title {
    font-size: 20px;
  }

  .event-intro .intro-sub {
    font-size: 14px;
  }

  .event-card__text {
    padding: 25px 15px;
    /* min-height: auto; */
  }

  .event-card__img {
    min-height: 200px;
  }

  .card-number {
    font-size: 28px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-desc {
    font-size: 14px;
  }

  .cta-sub {
    font-size: 20px;
  }

  .cta-text {
    font-size: 14px;
  }

  .event-cta {
    padding: 30px 20px;
  }

  .btn-contact-primary {
    font-size: 14px !important;
    padding: 12px 24px !important;
  }
}

/* Image wrapper with overlay */
.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

/* Overlay */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  padding: 20px;
}

.overlay-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  font-family: Poppins;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.card-image-wrapper:hover img {
  filter: blur(4px);
}

.card-image-wrapper:hover .card-overlay {
  opacity: 0.5;
}

.event-card-title {
  position: absolute;
  bottom: 0px;
  align-items: center;
  text-align: center;
  width: 100%;
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  z-index: 3;
  line-height: 1.2;
  -webkit-backdrop-filter: blur(6px); /* Safari */
  backdrop-filter: blur(6px);
  padding: 10px 20px;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.event-card:hover .event-card-title {
  opacity: 0;
  pointer-events: none;
}

.event-card:hover {
  outline: none;
}

.event-note {
  margin-top: 8px;
  color: #155998;
  text-align: center;
}

.event-note .note-title {
  font-size: 36px;
  font-weight: 500;
  color: #155998;
  font-weight: 700;
}

.event-note p {
  font-size: 36px;
  font-weight: 500;
}

/* ================================
   Expo Details Page Styles
================================ */
.expo-intro {
  text-align: start;
  margin-bottom: 40px;
}

.expo-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #155998;
  margin-bottom: 20px;
}

.expo-subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  color: #155998;
  margin-bottom: 20px;
  line-height: 1.6;
}

.expo-image-container {
  width: 100%;
  margin: 40px 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.expo-featured-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}

.expo-details {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  border-left: 5px solid #6dd5dc;
}

.expo-event-title {
  font-size: 2rem;
  font-weight: 700;
  color: #155998;
  margin-bottom: 20px;
}

.expo-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.expo-date,
.expo-location {
  font-size: 1.1rem;
  color: #155998;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.expo-date i,
.expo-location i {
  color: #6dd5dc;
  font-size: 1.2rem;
}

.expo-description {
  margin-top: 40px;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #e0f2fe;
}

.expo-description h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #155998;
  margin-bottom: 20px;
}

.expo-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #155998;
}

/* ================================
   Responsive behavior
================================ */

/* Large Laptops and Desktops (1200px+) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Medium Laptops (992px - 1199px) */
@media (max-width: 1199px) {
  .expo-title {
    font-size: 2.2rem;
  }

  .expo-subtitle {
    font-size: 1.2rem;
  }

  .expo-event-title {
    font-size: 1.8rem;
  }

  .container .section-title {
    font-size: 28px;
  }

  .container .intro-title {
    font-size: 28px;
  }

  .container .intro-sub {
    font-size: 15px;
  }

  .event-card {
    flex: 1 1 calc(33.33% - 25px); /* 3 per row */
    max-width: calc(33.33% - 25px);
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
  .expo-title {
    font-size: 2rem;
  }

  .expo-subtitle {
    font-size: 1.1rem;
  }

  .expo-event-title {
    font-size: 1.6rem;
  }

  .expo-details {
    padding: 25px;
  }

  .expo-description {
    padding: 25px;
  }

  .expo-description h3 {
    font-size: 1.5rem;
  }

  .expo-description p {
    font-size: 1rem;
  }

  .expo-date,
  .expo-location {
    font-size: 1rem;
  }

  .container .section-title {
    font-size: 24px;
  }

  .container .intro-title {
    font-size: 24px;
  }

  .container .intro-sub {
    font-size: 15px;
  }

  .expo-featured-image {
    max-height: 450px;
  }

  .event-card {
    flex: 1 1 calc(50% - 20px); /* 2 per row */
    max-width: calc(50% - 20px);
  }
}

/* Mobile Landscape and Small Tablets (600px - 767px) */
@media (max-width: 767px) {
  .expo-title {
    font-size: 1.8rem;
  }

  .expo-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  .expo-event-title {
    font-size: 1.4rem;
  }

  .expo-details {
    padding: 20px;
  }

  .expo-description {
    padding: 20px;
  }

  .expo-description h3 {
    font-size: 1.3rem;
  }

  .expo-description p {
    font-size: 0.95rem;
  }

  .expo-date,
  .expo-location {
    font-size: 0.95rem;
  }

  .expo-image-container {
    margin: 30px 0;
  }

  .expo-featured-image {
    max-height: 350px;
  }

  .container .section-title {
    font-size: 20px;
  }

  .container .intro-title {
    font-size: 20px;
  }

  .container .intro-sub {
    font-size: 14px;
    margin-bottom: 40px;
  }
}

/* Mobile Portrait (320px - 599px) */
@media (max-width: 599px) {
  .expo-intro {
    margin-bottom: 30px;
  }

  .expo-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .expo-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .expo-event-title {
    font-size: 1.2rem;
  }

  .expo-details {
    padding: 15px;
    margin: 30px 0;
  }

  .expo-meta {
    gap: 10px;
  }

  .expo-date,
  .expo-location {
    font-size: 0.85rem;
    flex-wrap: wrap;
  }

  .expo-description {
    padding: 15px;
    margin-top: 30px;
  }

  .expo-description h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .expo-description p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .expo-image-container {
    margin: 20px 0;
    border-radius: 8px;
  }

  .expo-featured-image {
    max-height: 250px;
  }

  .container .section-title {
    font-size: 18px;
  }

  .container .intro-title {
    font-size: 18px;
  }

  .container .intro-sub {
    font-size: 13px;
    margin-bottom: 30px;
  }

  .container .event-intro {
    margin-top: 30px;
  }

  .event-card {
    flex: 1 1 100%; /* 1 per row */
    max-width: 100%;
  }

  .event-card-title {
    font-size: 16px;
  }

  .event-note .note-title {
    font-size: 24px;
  }

  .event-note p {
    font-size: 20px;
  }

  .event-support-cards {
    padding: 40px 0;
    gap: 25px;
  }
}

/* === Overrides: make event cards match services hover/overlay behavior === */
.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s ease;
}

.card-image-wrapper:hover img,
.event-card:hover .event-card__img img {
  transform: scale(1.08);
  filter: none;
}

.event-card__img img {
  transition: transform 0.6s ease !important;
}

.card-overlay {
  background: rgba(21, 89, 152, 0.3) !important;
  transition: opacity 0.4s ease, background 0.3s ease !important;
}

.event-card:hover .card-overlay,
.card-image-wrapper:hover .card-overlay {
  opacity: 0.5 !important;
  /* background: rgba(21, 89, 152, 0.5) !important; */
}

.event-card:hover .card-title {
  color: #FF1493 !important;
}

