/* =========================
   Google Fonts Imports
========================= */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600;700&display=swap');


/* =========================
   Base + Typography
========================= */
html {
  font-size: 14px; /* Base = 1rem = 14px */
   scroll-behavior: smooth; 
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'IBM Plex Sans', sans-serif; /* default body font */
  color: #111;
  line-height: 1.6;

}

/* base state */
.cards-grid .card.reveal-scale {
  --delay: 0s;                /* default delay */
  opacity: 0;
  transform: scale(0.2);
}

/* when active => run the bounce animation with delay */
.cards-grid .card.reveal-scale.active {
  animation: scaleBounce 0.9s cubic-bezier(0.22, 1.6, 0.78, 1) var(--delay) both;
  opacity:1;
  /* 'both' keeps the final state, and also applies styles during animation */
}

/* set delays per child (tweak timings as you like) */
.cards-grid .card.reveal-scale:nth-child(1) { --delay: 0.10s; }
.cards-grid .card.reveal-scale:nth-child(2) { --delay: 0.30s; }
.cards-grid .card.reveal-scale:nth-child(3) { --delay: 0.50s; }
.cards-grid .card.reveal-scale:nth-child(4) { --delay: 0.70s; }

/* keyframes (elastic bounce) */
@keyframes scaleBounce {
  0%   { opacity: 0; transform: scale(0.2); }
  60%  { opacity: 1; transform: scale(1.12); } /* overshoot */
  80%  { transform: scale(0.96); }             /* slight settle back */
  100% { transform: scale(1); }
}

.featured.reveal-scale.active {
 scale:1.1;}


.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease-out;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
  margin-bottom: 1rem;
  margin-right: 1rem;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease-out;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}


.reveal-bottom {
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.8s ease-out;
}

.reveal-bottom.active {
  opacity: 1;
  transform: translateY(0);
}







/* Headings */
h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
}

h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.8rem);
}

h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  line-height: 1.4;
   margin: .5rem 0;
  font-size: clamp(1.5rem, 2.5vw + 0.3rem, 2.2rem);
}

h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  margin: .5rem 0;
  line-height: 1.4;
  font-size: clamp(1.25rem, 2vw + 0.3rem, 1.8rem);
}

h5 {
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  line-height: 1.5;
  font-size: clamp(1.125rem, 1.5vw + 0.3rem, 1.5rem);
}

h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  line-height: 1.5;
  font-size: clamp(1rem, 1vw + 0.3rem, 1.25rem);
}

/* Paragraphs & Lists */
p, ul {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: clamp(1rem, 1vw + 0.2rem, 1.125rem);
  margin: 0 0 1rem;
}

/* Navigation text */
.nav a {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1vw + 0.2rem, 1.125rem);
  text-decoration: none;
  color: #000;
}

.nav a:hover,
.nav a:focus {
  color: #e63946;
  transition: color 0.3s ease;
}

/* Hero h1 override */
.hero-content h1 {
  font-family: 'Archivo', sans-serif;
}


/* =========================
   Header + Navigation
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 4rem; /* replaces left/right spacing */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent; /* or white if you want */
}

.header .logo img {
  height: 200px;
  transition: height 0.3s ease; /* smooth shrinking */
}
.header.scrolled .logo img {
  height: 100px; /* new smaller size on scroll */
}

.nav {
  background: white;
  border-radius: 12px;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
   box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Hamburger hidden on desktop */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: black;
  z-index: 4;
}


/* =========================
   Hero + Carousel
========================= */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Carousel container */
    .carousel {
      display: flex;
      width: 100%;
      height: 100%;
      animation: slide 15s infinite;
    }


    /* Each slide image */
    .carousel img {
      width: 100vw;
      height: 100vh;
      object-fit: cover; /* ensures full image visible */
      background: black;   /* fills empty space */
      flex-shrink: 0;
    }


/* Carousel container */
.carousel {
  display: flex;
  width: 100%;
  height: 100%;
  animation: slide 15s infinite;
}

/* Each slide image */
.carousel img {
  width: 100vw;
  height: 100vh;
  object-fit: cover; /* ensures full image visible */
  background: black; /* fills empty space */
  flex-shrink: 0;
}

@keyframes slide {
  0%   { transform: translateX(0%); }
  30%  { transform: translateX(0%); }
  35%  { transform: translateX(-100%); }
  65%  { transform: translateX(-100%); }
  70%  { transform: translateX(-200%); }
  100% { transform: translateX(-200%); }
}


/* Hero content overlay */
.hero-content {
  position: absolute;
  bottom: 8rem;
  left: 4rem;
  color: white;
  z-index: 2;
  max-width: 60vw;
}

.hero-content p {
  background: rgba(0, 0, 0, 0.9);
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  letter-spacing: 1.2px;
}

.hero-content h1 {
  background: rgba(0, 0, 0, 0.9);
  padding: 1rem;
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  line-height: 1.1;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #e63946;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 999px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #b02a37;
}


/* =========================
   Countdown Section
========================= */
.countdown-section {
  background: #fff;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}

.countdown-box {
  background: #0a2342;
  color: white;
  border-radius: 30px;
  padding: 2rem 3rem;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.time-unit {
  text-align: center;
  padding: 0 1rem;
  flex: 1 1 auto;
}

.time-unit .number {
  font-size: clamp(6rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.time-unit .label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}


/* =========================
   Presented By Section
========================= */
.presented-by {
  background: linear-gradient(-45deg, #F9E8D2, #DFF3FF, #F9E8D2, #DFF3FF);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  padding: 4rem 2rem;
  text-align: center;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.presented-content {
  max-width: 800px;
  margin: 0 auto;
  color: #111;
}

.presented-event {
  color: #e63946;
  font-weight: 800;
}
.presented-logo img {
  max-width: 150px;
  height: auto;
  margin: 0;
}

/* =========================
   About Section
========================= */
.about {
  display: flex;
  padding: 4rem 10% 0 5%;
  background-color: #E63946;
  gap: 2rem;
}

/* Left column - image */
.about-left {
  flex: 0 0 40%;
  overflow: hidden;
}

.about-left img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: bottom; /* fix #2 */
}

/* Right column - text */
.about-right {
  flex: 0 0 60%;
  color: #fff;
}

.cards-section {

  background-color: #d2b48c; /* light brown */
  padding: 8rem 8%;

}


.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card h4,
.card p {
  text-align: left;
  padding: 0 15px 0;
}


.speakers {
background-image: url('../images/speaker-bg.png');
  background-color: #ccc;
  padding: 8%;
  color: #fff;
}





.speaker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ✅ 4 columns desktop */
  gap: 20px;
}

.speaker {
  text-align: center;
}

.image-container {
  position: relative;
  background-image: url('../images/background.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 15%;
  aspect-ratio: 1 / 1; /* square */
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* circular images */
  display: block;
}

.speaker-name {
  font-weight: bold;
  margin-top: 15px;
  font-size: 1.2em;
}

.speaker-title {
  font-style: italic;
  color: gray;
  margin: 5px 0;
}

.speaker-quote {
  margin-top: 10px;
  font-size: 0.95em;
  line-height: 1.4;
}





.sponsors {

  padding: 60px 8%;
  color: #fff;
  text-align: left;
    background-image: url('../images/sponsor-bg.png'); /* replace with your image path */
  background-repeat: repeat; /* repeats both x and y */
  background-size: auto; /* keeps the image at original size */
  background-position: top left; /* starting point of repeat */
}



/* Gold section with animated gradient */
.gold-section {
  background: linear-gradient(-45deg, #fff8e1, #f7e9b9, #ffe066, #fff8e1);
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  border-radius: 20px;
   color: #111;
  padding: 40px 20px;
  margin-bottom: 40px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
}

/* Silver section with animated gradient */
.silver-section {
  background: linear-gradient(-45deg, #f0f0f0, #d9d9d9, #e6e6e6, #f0f0f0);
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  border-radius: 20px;
  padding: 40px 20px;
 margin-bottom: 40px;
  color: #111;
   box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
}

/* Silver section with animated gradient */
.special-section {
background: linear-gradient(-45deg, #FCF2BD, #F3D675, #D8D8D8, #E8E8E8);
  background-size: 300% 300%;
  animation: gradientMove 8s ease infinite;
  border-radius: 20px;
  padding: 40px 20px;
  color: #111;
   box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.category-heading {
  font-size: 1.4em;
  font-weight: bold;
  text-align: left;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-heading img {
  height: 50px;
}

/* Sponsor grid */
.sponsor-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.sponsor-grid.gold, .sponsor-grid.special {
  grid-template-columns: repeat(2, 1fr); /* desktop */
}

.sponsor-grid.silver {
  grid-template-columns: repeat(2, 1fr); /* desktop */
}

.sponsor, .sponsor2 {
    display: flex;
  align-items: center;
  justify-content: center;
    min-height: 100px;
  
}



.sponsor img {
  max-width: 30vw;
  object-fit: contain;
}

.sponsor2 img {
  max-width: 18vw;
  object-fit: contain;
}

.partners {
  background: url('../images/partner-bg.png')center center no-repeat;
  background-size: cover; 
  padding: 5% 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.partners h2 {
  margin-bottom: 2rem;
}

.partners-scroll {
  overflow: hidden;
  padding: 5% 0;
  position: relative;
}

.scroll-content {
  display: inline-flex;
  gap: 3rem;
  animation: scroll-left 40s linear infinite;
}

.scroll-content img {
  height: 200px;
  width: auto;
  object-fit: contain;
}
/* Keyframes for continuous scroll */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.partners-scroll:hover .scroll-content {
  animation-play-state: paused;
}


/* Main Register button */
/* Container fixed at bottom-right */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column-reverse; /* ✅ extra buttons appear above */
  align-items: flex-end;
  gap: 10px;
  z-index: 9999;
}

/* Main Register button */
.main-btn {
  background: #e63946;
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  border-radius: 50px;
  padding: 12px 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

.main-btn:hover {
  background: #c62828;
}

/* Hidden extra buttons */
.extra-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px); /* starts lower */
  transition: all 0.3s ease;
}

/* On hover of main container, reveal */
.floating-buttons:hover .extra-btns {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Style for extra buttons */
.extra-btns .btn {
  background: #fff;
  color: #e63946;
  font-family: 'Archivo', sans-serif;
  font-weight: bold;
  border: 2px solid #e63946;
  border-radius: 50px;
  padding: 10px 20px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.extra-btns .btn:hover {
  background: #e63946;
  color: #fff;
}



.venue {
  display: flex;
  /* adjust as needed */
  overflow: hidden;
}

.venue-image {
  flex: 2; /* 2/3 width */
  position: relative;
  overflow: hidden;
}

.venue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ✅ always fills the area */
}

.venue-text {
  flex: 1; /* 1/3 width */
  background: #f9f9f9;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  color: #111;
}

.calendar {
  padding: 2% 8%;  /* top/bottom 2%, left/right 8% */
  background: #d2b48c;


}
.calendar h2 {
  
 
  margin-bottom: 30px;

}


.calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

}

.calendar-day {
  background: #fff;
  border: 2px solid #eee;
 
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}



.calendar-day .event {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
}

.event-time {
  
  font-size: 0.95rem;
  padding-left: 5px;
  color: #555;
}

.event-name {
  flex: 1; /* takes up most space */
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0 1rem;
}

.event-speaker {
  
  font-size: 0.95rem;
  color: #333;
}


.calendar-day h3 {
    font-size: 1.6rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.event {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 10px 12px;
  border-left: 4px solid #2196f3;
  background: #F5F2EF;
  border-radius: 6px;
}

.break
{  background: #ACF6FE;}

.event p {
  margin: 0;
 
  font-size: 1.1rem;
  color: #555;
}

.accommodation {
  background: url('../images/hotel.png') center center no-repeat;
  background-size: cover;
  padding: 60px 8%;
  text-align: center;
  
}

.accommodation h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #fff;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  flex: 1;
  max-width: 350px;
  text-align: left;
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;

  object-fit: cover;
}


.card p {
  padding: 0 15px;
margin-bottom: 1rem;
}

.card p.strong {
 margin-bottom: 0;
}


.card h4 {
  padding: 0 15px;
  margin-top: 0;

}
.cards a {text-decoration:none;
color:#e63946;
font-weight: bold;

}

.card a:hover
{text-decoration: underline;}

.card button {
  margin: 15px ;
  padding: 10px 20px;
  border: none;
  background: #0077cc;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.card button:hover {
  background: #005fa3;
}

/* Center card is larger */
.card.featured {
  transform: scale(1.1);
  max-width: 320px;
  z-index: 1;
}

.team {
  padding: 4% 8%;
  background: linear-gradient(270deg, #CDE6FF, #FFECCD, #FCCDFF);
  background-size: 600% 600%;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Section + Headings */
.team-section {
  padding: 60px 8%;
  text-align: center;
}

.team-heading {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #111;
}

.team-group {
  margin-bottom: 3rem;
  text-align: center;
}

.team-subheading {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #333;
}

/* Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15%, 20%));
  gap: 30px;
  justify-content: center; /* makes sure smaller sets are centered */
}

.team-grid-advisory {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Card */
.team-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.2s ease;

}

.team-card:hover {
  transform: translateY(-5px);
}

/* Image */
.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Text */
.team-card h4 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: #111;
}

.team-card .role {
  font-size: 1rem;
  color: #6a1b9a; /* accent color */
  margin-bottom: 10px;
  font-weight: 600;
}

.team-card .bio {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}



.footer img {
  display: block;
  width: 100%;
  height: auto;   /* keep aspect ratio */
  object-fit: cover; /* ensures it fills horizontally */
}

.footer {
  
  color: #000;
  text-align: center;
  padding: 30px 0 0 0;
  font-family: Arial, sans-serif;
background: linear-gradient(270deg, #CDE6FF, #FFECCD, #FCCDFF);
  background-size: 600% 600%;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.footer p {
  margin: 8px 0;
  font-size: 1rem;
}

.footer-tagline {
  font-size: 18px;
  font-weight: bold;
  color: #e0e0e0;
  margin-bottom: 12px;
}

.footer-credits {
  font-size: 14px;
  color: #ccc;
}

.footer-contact a {
  color: #333;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 1rem;
  color: #888;
  margin-top: 15px;
}

.map-section {
      padding: 40px;
      text-align: center;
      background-color: #333; /* light background for contrast */
    }

    .map-container {
      display: inline-block;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* drop shadow */
      border-radius: 12px; /* optional, makes edges softer */
      overflow: hidden; /* ensures rounded corners apply to iframe */
    }

    .map-container iframe {
      display: block;
      width: 90vw;
      height: 80vhpx;
      border: 0;
    }

.full-screen-section {
  height: 100vh;
  width: 100vw;
  background: url('../images/bg1.png') no-repeat center center/cover;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff; /* adjust depending on background */
  position: relative;
  overflow: hidden;
}

.center-text h1 {
  font-family: 'Sora', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  padding: 8%;
  text-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* Elastic reveal (like we did before) */
.reveal-scale {
  opacity: 0;
  transform: scale(0.2);
}

.reveal-scale.active {
  animation: scaleBounce 0.9s cubic-bezier(0.22, 1.6, 0.7, 1) both;
  opacity: 1;
}

@keyframes scaleBounce {
  0%   { opacity: 0; transform: scale(0.2); }
  60%  { opacity: 1; transform: scale(1.12); } /* overshoot */
  80%  { transform: scale(0.96); }             /* settle */
  100% { transform: scale(1); }
}

.footer-socials {
  margin-bottom: 1rem;
}

.footer-socials a {
  color: #000;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #e63946; /* accent color on hover */
}

.exhibition-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 4% 8%;
  background: url('../images/layout-bg.png') no-repeat center center/cover;
}

.exhibition-left {
  flex: 0 0 50%;

}

.exhibition-left img {
  width: 100%;
  height: auto; /* ensures full image is visible */
  display: block;
}

.exhibition-right {
  flex: 0 0 50%;
  color: #fff;
}

.our-partners {
  height: 100vh;
  padding: 2rem;
  display: flex;
  padding: 20px 8%;
  color: #fff;
  flex-direction: column;
  justify-content: center;
 background: url('../images/our-partners-bg.png') no-repeat center center/cover;
 }

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cards-partner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
  height: 100%;
}

.pcard {

 
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pcard img {
  max-width: 250px;
  height: auto;
  margin-bottom: 1rem;
}

.pcard:hover {
  transform: translateY(-6px);

}















  .wr-container {
            
            padding: 2rem 8%;
                background-color: rgb(210, 180, 140);
        }
        
          
        
        .wr-card-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }
        
        .wr-card-container {
     
            height: 400px;
            border-radius:12px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }
        
        .wr-card {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border-radius: 12px;
        }
        
        .wr-card-container:hover .wr-card {
            transform: rotateY(180deg);
        }
        
        .wr-card-front, .wr-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .wr-card-front {
            background-color: #1a1a1a;
        }
        
        .wr-card-front img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
    
        
        .wr-card-back {
            background: linear-gradient(135deg, #8B4513, #D2691E);
            color: white;
            transform: rotateY(180deg);
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 25px;
            text-align: center;
            box-sizing: border-box;
        }
        
        .wr-card-back p 
        {line-height: 1.3rem;}
  
        .wr-card-back .wr-years {
            font-style: italic;
            margin-top: 10px;
            color: #FFD700;
        }
        


































/* =========================
   Responsive Styles
========================= */
@media (max-width: 768px) {
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;              /* full width so it sticks */
  max-width: 100vw;          /* prevents overflow */
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  padding: 0 1rem;
  background: transparent; 
  box-sizing: border-box;
}
 .cards-partner {
    grid-template-columns: 1fr;
    height: auto;
  }
  .our-partners {
  height: auto;}

.header .logo img {
  height: 80px; /* reduce from 100px so it fits better on mobile */
}

.header.scrolled .logo img {
  height: 50px; /* shrink on scroll */
}

.hamburger {
  display: block;
  z-index: 1001;
  background-color: #fff;
  border-radius: 4px;
  margin-right: 0; /* stop it from getting cut off */
}

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 70%;
    background: white;
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    font-size: 1.5rem;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    align-items: flex-start;
  }

  .nav.active {
    right: 0;
  }

  .hero-content {
    bottom: 12rem;
    left: 1rem;
    max-width: 90vw;
  }

  .countdown-timer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }

  .time-unit .number {
    font-size: clamp(1.5rem, 5vw, 3rem);
  }

  .about {
    flex-direction: column;
  }

  .about-left {
    width: 100%;
    height: 300px;
  }

   .about-left img {
    object-fit: contain;   /* show entire image */
    object-position: center; /* center it */
    height: auto;          /* keep natural height */
  }

  .about-right {
    width: 100%;
    padding: 1rem 0;
    text-align: left;
  }

  .carousel-item {
    width: 30%;
  }

 .cards-grid {
    grid-template-columns: 1fr;
  }

.speaker-grid {
    grid-template-columns: repeat(2, 1fr); /* 1 per row */
  }

    .sponsor-grid.gold,
  .sponsor-grid.silver {
    grid-template-columns: 1fr; /* single column on mobile */
  }

  .category-heading {
    font-size: 1.2em;
  }

 .partner-logos {
    grid-template-columns: repeat(2, 1fr);/* 1 per row */
  }

  .partners-heading {
    font-size: 1.5em;
  }

 .venue {
    flex-direction: column;
    height: auto;

  }

  .venue-image {
    width: 100%;
    height: 300px; /* cropped image on mobile */
  }

  .venue-text {
    width: 80%;
    padding: 20px;
    text-align: left;
  }

 .calendar-grid {
    grid-template-columns: 1fr; /* stack days */
  }

  .calendar-day {
    margin-bottom: 20px;
  }

    .cards {
    flex-direction: column;
    align-items: center;
  }
  .card.featured {
    transform: none;
    max-width: 100%;
  }
   .team-grid {
    grid-template-columns: 1fr;

  }

.map-section {
      padding: 20px;
      text-align: center;
      background-color: #f9f9f9; /* light background for contrast */
    }


    .map-container iframe {
      display: block;
      width: 90vw;
      height: 80vh;
      border: 0;
    }

    .center-text h1 {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  padding: 8%;
  text-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.exhibition-layout {
    flex-direction: column;
    text-align: center;
  }

  .exhibition-left,
  .exhibition-right {
    flex: 0 0 100%;
  }

  .wr-card-grid {
                grid-template-columns: 1fr;
            }
            
            .wr-section-title {
                font-size: 2.2rem;
            }

            .wr-card-container {
     
            height: auto;
     
        }

}
