/* ================================
   Our Services / Branding Cards
================================ */
.branding-section {
  margin-top: 60px;
  text-align: center;
}

.branding-cards-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 40px;
}

.branding-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 280px; /* reduced size for 4 per row */
  height: auto;
}

.branding-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.branding-card img {
  width: 100%;
  height: 180px; /* smaller height */
  object-fit: cover;
}

.branding-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #155998;
  padding: 15px 0;
  text-align: center;
}

.event-support-cards img {
  max-height: 596px;
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto; /* centers the image */
  object-fit: contain;
}

@media (max-width: 1200px) {
  .branding-card {
    width: 230px; /* slightly smaller if screen reduces */
  }
}

@media (max-width: 992px) {
  .branding-card {
    width: 45%; /* 2 cards per row */
  }
}

@media (max-width: 576px) {
  .branding-card {
    width: 100%; /* 1 per row on mobile */
  }
  .branding-card img {
    height: 160px;
  }
}

/* ================================
   Expo Details Page Styles
================================ */
.expo-intro {
  text-align: start;
  margin-bottom: 40px;
  margin-top: 43px;
}

.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;
}

.intro-title {
  font-size: 32px;
  color: #155998;
  font-weight: 600;
  margin-bottom: 14px;
}

.intro-sub {
  font-size: 16px;
  color: #155998;
  margin-bottom: 72px;
  line-height: 1.6;
}

.expo-image-container {
  width: 100%;
  margin: 40px 0;
  overflow: hidden;
  padding: 8px;
    border:black 1px solid;
  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;
}

.expo-event-title {
  font-size: 32px;
  font-weight: 700;
  color: #155998;
  margin-bottom: 20px;
}

.expo-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.expo-date,
.expo-location {
  font-size: 16px;
  color: #155998;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.expo-date i,
.expo-location i {
  color: red;
  font-size: 1.2rem;
}

.expo-description {
  margin-top: 40px;
  padding: 30px;
}

.expo-description h3 {
  font-size: 32px;
  font-weight: 700;
  color: #155998;
  margin-bottom: 20px;
}

.expo-description p {
  font-size: 16px;
  line-height: 1.8;
  color: #155998;
}

.projects-grid{
    margin-bottom: 20px;
}

/* ================================
   Responsive Breakpoints
================================ */

/* 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: 28px;
  }

  .expo-subtitle {
    font-size: 15px;
  }

  .expo-event-title {
    font-size: 28px;
  }

  .intro-title {
    font-size: 28px;
  }

  .intro-sub {
    font-size: 15px;
  }

  .expo-description h3 {
    font-size: 28px;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
  .expo-intro {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .expo-title {
    font-size: 24px;
  }

  .expo-subtitle {
    font-size: 14px;
  }

  .expo-event-title {
    font-size: 24px;
  }

  .expo-details {
    padding: 25px;
  }

  .expo-description {
    padding: 25px;
    margin-top: 30px;
  }

  .expo-description h3 {
    font-size: 24px;
  }

  .expo-description p {
    font-size: 15px;
  }

  .expo-date,
  .expo-location {
    font-size: 15px;
  }

  .intro-title {
    font-size: 24px;
  }

  .intro-sub {
    font-size: 15px;
    margin-bottom: 50px;
  }

  .expo-featured-image {
    max-height: 450px;
  }

  .event-support-cards img {
    width: 70%;
    max-height: 450px;
  }
}

/* Mobile Landscape and Small Tablets (600px - 767px) */
@media (max-width: 767px) {
  .expo-intro {
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .expo-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .expo-subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  .expo-event-title {
    font-size: 20px;
  }

  .expo-details {
    padding: 20px;
    margin: 30px 0;
  }

  .expo-description {
    padding: 20px;
    margin-top: 30px;
  }

  .expo-description h3 {
    font-size: 20px;
  }

  .expo-description p {
    font-size: 14px;
  }

  .expo-date,
  .expo-location {
    font-size: 14px;
  }

  .expo-image-container {
    margin: 30px 0;
    border-radius: 10px;
  }

  .expo-featured-image {
    max-height: 350px;
  }

  .intro-title {
    font-size: 20px;
  }

  .intro-sub {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .event-support-cards img {
    width: 85%;
    max-height: 350px;
  }
}

/* Mobile Portrait (320px - 599px) */
@media (max-width: 599px) {
  .expo-intro {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .expo-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .expo-subtitle {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  .expo-event-title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .expo-details {
    padding: 15px;
    margin: 25px 0;
    border-radius: 10px;
  }

  .expo-meta {
    gap: 10px;
  }

  .expo-date,
  .expo-location {
    font-size: 13px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .expo-date i,
  .expo-location i {
    font-size: 1rem;
  }

  .expo-description {
    padding: 15px;
    margin-top: 25px;
    border-radius: 10px;
  }

  .expo-description h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .expo-description p {
    font-size: 13px;
    line-height: 1.6;
  }

  .expo-image-container {
    margin: 20px 0;
    border-radius: 8px;
  }

  .expo-featured-image {
    max-height: 250px;
  }

  .intro-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .intro-sub {
    font-size: 13px;
    margin-bottom: 30px;
  }

  .event-support-cards img {
    width: 100%;
    max-height: 250px;
  }
}
