html {
  scroll-behavior: smooth;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(1.1); /* Slight zoom out at start */
  animation: fadeZoomIn 1.8s ease-out forwards;
}

@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1); /* Back to normal */
  }
}


    
    section {
      padding: 80px 90px !important;
      display: flex;
      align-items: center;
      gap: 40px;
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s ease-in-out;
    }

    section.visible {
      opacity: 1;
      transform: translateY(0);
    }

    section:nth-child(even) {
      background: #f4f4f9;
    }
    /*---flex-direction: row;----*/

    .section-content {
      flex: 1;
    }

    .section-image {
      flex: 1;
    }

    .section-image img {
      width: 80%;
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      transition: transform 0.4s ease;
    }

    .section-image img:hover {
      transform: scale(1.05);
    }

/* ---------- Section wrapper ---------- */
.brands {
  max-width: 100%;
  margin: 0 auto;
  padding: 8% 10%;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

/* ---------- Cards (shared) ---------- */
.card,
.brand-card,
.brand-parent {
  background: linear-gradient(135deg, #fff, #fafafa);
  border: 1px solid #eee;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

/* ---------- Parent (top) ---------- */
.brand-parent {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 36px;
  position: relative;
}

.brand-parent .brand-logo {
  width: 96px;
  height: 96px;
}

/* vertical line drop from parent */
.brand-connector {
  position: relative;
  height: 44px;                 /* space for the connector */
}
.brand-connector::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #e3e6ea;
}

/* ---------- Children groups row ---------- */
.brand-children {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 32px 40px;
  align-items: start;
  margin-top: 8px;
}

/* horizontal rail connecting the two groups */
.brand-children::before {
  content: "";
  position: absolute;
  top: -22px;                 /* sits just above the group titles */
  left: 8%;
  right: 8%;
  height: 2px;
  background: #e3e6ea;
}

/* little vertical nib from rail down into each group */
.brand-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brand-group::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 22px;
  background: #e3e6ea;
}

/* group titles */
.brand-group h4 {
  margin: 0 0 6px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2937;
}

/* ---------- Brand cards (children) ---------- */
.brand-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

/* logo: fixed, safe, never overflows */
.brand-logo {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0px;               /* breathing room for irregular logos */
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* text */
.brand-text h3,
.brand-text h5 {
  margin: 0 0 6px;
  font-weight: 700;
  color: #111827;
}
.brand-text h3 { font-size: 1.35rem; }
.brand-text h5 { font-size: 1.15rem; }

.brand-text p {
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.98rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .brand-card { display: ruby;}
  .brand-parent { flex-direction: column; text-align: center; }
  .brand-children { grid-template-columns: 1fr; gap: 24px; }

  /* simplify lines on small screens */
  .brand-children::before,
  .brand-group::before,
  .brand-connector::before { display: none; }
}





    


    /* Responsive */
    @media(max-width: 900px) {
      section {
        flex-direction: column !important;
        text-align: center;
        padding: 30px !important;
      }
      .brand-item {
        flex-direction: column;
        text-align: center;
      }
    }

/* Team Section */
.team-section {
  padding: 80px 15%;
  background: #f9fafc;
  text-align: center;
}

.team-section h2 {
  font-size: 34px;
  margin-bottom: 12px;
  color: #222;
  font-weight: 700;
}

.team-section p {
  font-size: 16px;
  color: #555;
  max-width: 750px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Container */
.team-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Card */
.team-card {
  background: #fff;
  padding: 24px 20px;
  border-radius: 14px;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.08);
  text-align: left;
  width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.12);
}

/* Image */
.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

/* Name */
.team-card h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 4px;
  font-weight: 600;
}

/* Role */
.team-card span {
  display: block;
  font-size: 14px;
  color: #0b2c5d;
  font-weight: 500;
  margin-bottom: 12px;
}

/* Description */
.team-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .team-card {
    width: 90%;
  }
}
.founder-section {
    flex-direction: row-reverse !important;
}


    /* Responsive */
    @media(max-width: 900px) {
      .founder-section {
        flex-direction: column-reverse !important;
      }
    }


/* Section Wrapper */
.expo-unified {
  padding: 80px 20px;
  background: #f9fafc;
  text-align: center;
}
.expo-unified h2 {
  font-size: 34px;
  margin-bottom: 16px;
  color: #0b2c5d;
  font-weight: 700;
}
.expo-unified h3 {
  font-size: 24px;
  margin: 50px 0 25px;
  color: #222;
  font-weight: 700;
  position: relative;
  display: inline-block;  /* keeps underline aligned to text */
  padding-bottom: 6px;
}

.expo-unified h3 {
  font-size: 24px;
  margin: 50px 0 25px;  /* balanced spacing */
  color: #222;
  font-weight: 700;
  text-align: center;   /* keeps section titles centered */
}



/* Stall Images */
.expo-stall.multi {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
  width: 100%;
}
.stall-img { flex: 1; }
.stall-img img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  object-fit: cover;
}
.stall-img img:hover { transform: scale(1.03); }
/* Sizing rules */
.stall-img.square {
  max-width: 500px;
  flex: 0 0 40%;
}
.stall-img.wide {
  flex: 1;
  aspect-ratio: 16/9;
}

/* Special Guest Cards - bigger images */
.special-guest .expo-card {
  padding: 0;
  background: none;
  box-shadow: none;
  max-width: 340px; /* increased from default */
}

.special-guest .expo-card img {
  display: block;
  width: 100%;
  height: 280px; /* was 240px */
  object-fit: cover;
  border-radius: 16px;
  margin: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.guest-name {
  font-size: 22px; /* slightly larger */
  font-weight: 700;
  margin: 16px 0 6px;
  color: #0b2c5d;
}

.guest-role {
  font-size: 15px;
  color: #555;
  margin-bottom: 40px;
}

/* Divider */
.expo-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #d9d9d9, transparent);
  margin: 50px auto;
  max-width: 600px;
}

/* Other Guests */
.expo-guests {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px; /* slightly wider spacing */
}

.expo-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 15px;
  width: 280px; /* was 240px */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.14);
}

.expo-card img {
  display: block;
  width: 100%;
  height: 220px; /* was 190px */
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.expo-card h4 {
  font-size: 17px;
  margin: 0 0 6px;
  color: #222;
}

.expo-card span {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  display: block;
}


/* Gallery Button */
.expo-gallery-btn { margin-top: 40px; }
.btn-primary {
  display: inline-block;
  margin-bottom: 28px;
  padding: 10px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #222;
  border-radius: 50px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: #fff;
  color: #0b2c5d;
  border-color: #fff;
  transform: translateX(-4px);
  text-decoration: none;
}

/* Responsive - Special Guest */
@media (max-width: 768px) {
  .special-guest {
    grid-template-columns: 1fr;
  }
  .special-guest img {
    height: auto;
    max-height: 400px;
  }
}

/* Responsive - Other Guests */
@media (max-width: 768px) {
  .expo-card {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
  }
  .expo-card img {
    height: auto;
    max-height: 320px;
  }
}






