/* style.css - Nigeria–SL Trade Fair (metallic green gradient + 3D) */
:root{
  --metal-1: #0b6b3f;
  --metal-2: #18b26a;
  --metal-3: #0f8a57;
  --bg: #f6faf7;
  --muted: #6b7a73;
  --card-bg: #ffffff;
  --glass: rgba(255,255,255,0.6);
  --max-width: 1200px;
  --shadow-3d: 0 14px 30px rgba(6,40,25,0.18);
  --soft-shadow: 0 6px 18px rgba(8,34,20,0.08);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
}

/* Page base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: linear-gradient(180deg,#eaf7ef 0%, #f7fbfa 30%);
  color:#072b1e;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}

/* containers */
.container{max-width:var(--max-width);margin:0 auto;padding:28px}

/* header */
.top-header{background:transparent;padding:12px 0}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;gap:12px;align-items:center}
.logo{
  width:56px;height:56px;border-radius:12px;
  background:linear-gradient(135deg,var(--metal-2),var(--metal-1));
  display:flex;align-items:center;justify-content:center;color:white;font-weight:800;
  box-shadow: var(--shadow-3d);
}
.brand-text .title{font-weight:700;font-size:16px}
.brand-text .subtitle{font-size:13px;color:var(--muted)}

/* desktop nav */
.main-nav ul{display:flex;gap:18px;list-style:none;margin:0;padding:0}
.main-nav a{text-decoration:none;color:rgba(2,16,12,0.9);padding:8px 12px;border-radius:8px;font-weight:600}
.main-nav a:hover{background:linear-gradient(90deg,rgba(24,178,106,0.12),rgba(11,107,63,0.08))}

/* actions */
.actions .btn{margin-left:10px}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;text-decoration:none;font-weight:700}
.btn.small{padding:8px 10px;font-size:14px}
.btn.primary{
  color:white;
  background:linear-gradient(90deg,var(--metal-2),var(--metal-3));
  box-shadow:0 8px 20px rgba(8,50,26,0.18), inset 0 -3px 12px rgba(255,255,255,0.06);
}
.btn.ghost{
  background:transparent;border:2px solid rgba(6,40,25,0.06);color:#083;box-shadow:var(--soft-shadow)
}

/* hero */
.hero{display:grid;grid-template-columns:1fr 520px;gap:28px;align-items:center;padding:46px 0}
.hero-left{padding:28px;border-radius:18px;background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.95));box-shadow:var(--shadow-3d)}
.eyebrow{display:inline-block;background:linear-gradient(90deg,rgba(11,107,63,0.08),rgba(24,178,106,0.06));padding:6px 10px;border-radius:9999px;font-weight:700;color:var(--metal-1);font-size:13px}
h1{font-size:36px;margin:12px 0 10px;color:#052a1b;line-height:1.04}
.lead{color:var(--muted);margin-bottom:18px}

/* quick stats */
.quick-stats{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}
.stat{padding:12px 16px;border-radius:12px;background:linear-gradient(180deg,#ffffff,#fbfffe);box-shadow:var(--soft-shadow);min-width:120px;text-align:center}
.stat .num{font-weight:800;color:var(--metal-1);font-size:20px}
.stat .lbl{font-size:13px;color:var(--muted)}

/* hero-right image */
.hero-right{border-radius:18px;padding:0;overflow:hidden;position:relative}
.hero-image img{width:100%;height:auto;display:block;transform:translateZ(0)}
.hero-side-info{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;background:linear-gradient(90deg,rgba(255,255,255,0.98), rgba(255,255,255,0.95))}
.pill{background:linear-gradient(90deg,var(--metal-2),var(--metal-1));color:white;padding:8px 12px;border-radius:10px;font-weight:700;display:inline-block}

/* section layouts */
.section{padding:46px 0}
.grid-2{display:grid;grid-template-columns:1fr 420px;gap:28px;align-items:start}
.align-center{align-items:center}

/* card grid */
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:5px}
.cards-3 .item{padding:12px;border-radius:14px;background:linear-gradient(180deg,#fff,#fbfffe);box-shadow:var(--shadow-3d);transition:transform .35s ease, box-shadow .35s ease}
.cards-3 .item:hover{transform:translateY(-8px) rotateX(2deg);box-shadow:0 30px 60px rgba(6,40,25,0.12)}

/* press cards */
.press-cards{display:flex;flex-direction:column;gap:12px}
.press-card{display:flex;gap:12px;overflow:hidden;border-radius:12px;align-items:center}
.press-card img{width:36%;height:auto;object-fit:cover}
.card-body{padding:12px}

/* agenda */
.agenda-cards{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.agenda{padding:16px;border-radius:12px;min-width:200px;background:linear-gradient(180deg,#fff,#fbfffe);box-shadow:var(--soft-shadow)}

/* sponsors */
.sponsors-row{display:flex;gap:18px;align-items:center;justify-content:flex-start;padding:18px;border-radius:12px;background:linear-gradient(180deg,#ffffff,#fbfffe);box-shadow:var(--soft-shadow)}
.sponsors-row img{width:140px;height:auto;object-fit:contain;opacity:0.95}

/* footer */
.footer{padding:20px 0;background:transparent}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:14px}

/* 3D card helper */
.card-3d{
  border-radius:14px;
  background:linear-gradient(180deg,#ffffff,#fbfffe);
  box-shadow: var(--shadow-3d);
  transition:transform .45s cubic-bezier(.2,.9,.3,1), box-shadow .45s;
  transform-style:preserve-3d;
}
.card-3d:hover{transform:translateY(-10px) perspective(800px) rotateX(2deg);box-shadow:0 40px 80px rgba(6,40,25,0.16)}

/* image stack */
.image-stack{display:flex;flex-direction:column;gap:12px;padding:12px}
.image-stack img{width:100%;height:auto;border-radius:10px;object-fit:cover;box-shadow:var(--soft-shadow)}

/* responsive & mobile floating nav */
@media (max-width: 980px){
  .container{padding:18px}
  /* desktop main nav hidden on mobile */
  .main-nav{display:none}
  .hero{grid-template-columns:1fr;gap:18px;padding:22px 0}
  .grid-2{grid-template-columns:1fr;gap:18px}
  .cards-3{grid-template-columns:1fr}
  .press-cards{flex-direction:row;overflow:auto}
  .press-card{min-width:320px}
  .sponsors-row{overflow:auto;padding:12px}
}

/* mobile bottom floating nav */
.mobile-nav{
  display:none;
}
@media (max-width:980px){
  .mobile-nav{
    display:flex;
    gap:8px;
    position:fixed;
    bottom:14px;
    left:50%;
    transform:translateX(-50%);
    width:calc(100% - 36px);
    max-width:680px;
    background:linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.98));
    padding:10px;
    border-radius:12px;
    box-shadow:0 18px 40px rgba(4,34,22,0.12);
    align-items:center;justify-content:space-between;z-index:1100;
  }
  .mnav-btn{
    background:transparent;border:0;padding:8px 10px;border-radius:10px;font-weight:700;color:#063;flex:1;text-align:center;
  }
  .mnav-btn:active,.mnav-btn:focus{outline:none;background:linear-gradient(90deg,var(--metal-2),var(--metal-1));color:white}
}

/* small screens tweaks */
@media (max-width:520px){
  h1{font-size:26px}
  .hero-left{padding:18px}
  .logo{width:48px;height:48px}
}
.top-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.8);
  z-index: 1000;
}
/* Sticky header */
.top-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.8);
  z-index: 1000;
}

/* Team cards */
.team-card img {
  width: 100%;
  border-radius: 12px 12px 0 0;
  height: 240px;
  object-fit: cover;
}
.team-card .socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px;
}
.team-card .socials img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.team-card .socials img:hover { opacity: 1; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.gallery-grid img, .gallery-grid video {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--soft-shadow);
  object-fit: cover;
}

/* Fade-up animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

/* Mobile nav active */
.mnav-btn.active {
  background: linear-gradient(90deg,var(--metal-2),var(--metal-1));
  color: white;
}
/* Sticky header */
.top-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.8);
  z-index: 1000;
}

/* Team cards */
.team-card img {
  width: 100%;
  border-radius: 12px 12px 0 0;
  height: 240px;
  object-fit: cover;
}
.team-card .socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px;
}
.team-card .socials img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.team-card .socials img:hover { opacity: 1; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.gallery-grid img, .gallery-grid video {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--soft-shadow);
  object-fit: cover;
}

/* Fade-up animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

/* Mobile nav active */
.mnav-btn.active {
  background: linear-gradient(90deg,var(--metal-2),var(--metal-1));
  color: white;
}
/* === UNIVERSAL IMAGE FIXES === */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* === CARD IMAGES CONTAINED PROPERLY === */
.cards-3 .item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

/* === MAKE MULTIPLE CARDS FIT NICELY INTO SCREEN === */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 20px;
  justify-items: center;
}

/* Prevent section overflow */
.section {
  overflow: hidden;
  padding: 60px 0;
}

/* === TEAM SECTION === */
.team-card {
  background: linear-gradient(180deg,#fff,#fbfffe);
  box-shadow: var(--shadow-3d);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
}
.team-card img {
  height: 260px;
  object-fit: cover;
  width: 100%;
}

/* === GALLERY FIX === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.gallery-grid img, .gallery-grid video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--soft-shadow);
}

/* === MAP AREA === */
.map {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
}
.map img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

/* === HERO AREA RESPONSIVENESS === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
}

/* === PREVENT PAGE SCROLL BLEED === */
html, body {
  overflow-x: hidden;
}
/* CONTACT SECTION */
.contact-section {
  background: #f5f5f5;
  padding: 80px 0;
  color: #333;
  overflow: hidden;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.contact-info, 
.contact-map {
  flex: 1 1 500px;
  min-width: 300px;
  max-width: 600px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Equal height setup */
.contact-info,
.contact-map iframe {
  height: 100%;
  display: block;
}

/* Contact Info Styling */
.contact-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  color: #0d5825; /* Metallic green */
  margin-bottom: 20px;
}

.contact-info p {
  margin: 10px 0;
  font-size: 15px;
}

.contact-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  resize: none;
}

.contact-form button {
  background-color: #0d5825;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background-color: #118f3e;
}

/* Map styling */
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-info,
  .contact-map {
    max-width: 100%;
  }
}
/* === MOBILE NAVIGATION BAR === */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 30, 18, 0.95);
  backdrop-filter: blur(8px);
  border-top: 2px solid #00b86b;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 5px;
  z-index: 9999;
  box-shadow: 0 -3px 15px rgba(0, 184, 107, 0.3);
}

.mnav-btn {
  flex: 1;
  text-align: center;
  color: #caffde;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 6px;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Button hover and active states */
.mnav-btn:hover {
  background: rgba(0, 255, 128, 0.1);
  color: #00ff88;
}

.mnav-btn.active {
  background: linear-gradient(135deg, #00b86b, #00ff88);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
}

/* Prevent overflow on smaller screens */
@media (max-width: 480px) {
  .mobile-nav {
    padding: 6px 2px;
  }
  .mnav-btn {
    font-size: 13px;
    padding: 8px 3px;
  }
}

/* Ensure main content doesn't hide behind nav */
body {
  padding-bottom: 70px; /* gives space so nav doesn't overlap content */
}
/* === MOBILE NAVIGATION - Metallic Green Premium Look === */
.mobile-nav {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 700px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 255, 245, 0.9));
  border: 2px solid rgba(11, 107, 63, 0.4);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(6, 40, 25, 0.2), inset 0 1px 8px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px;
  z-index: 9999;
}

/* Buttons inside mobile nav */
.mnav-btn {
  flex: 1;
  text-align: center;
  color: var(--metal-1);
  background: linear-gradient(180deg, #ffffff, #f2fbf7);
  border: 1px solid rgba(11, 107, 63, 0.25);
  border-radius: 12px;
  margin: 0 4px;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(8, 50, 26, 0.1);
}

/* Hover and Active Effects */
.mnav-btn:hover {
  background: linear-gradient(180deg, #18b26a, #0b6b3f);
  color: #fff;
  box-shadow: 0 4px 16px rgba(11, 107, 63, 0.4);
}

.mnav-btn.active {
  background: linear-gradient(180deg, var(--metal-2), var(--metal-3));
  color: white;
  box-shadow: 0 4px 18px rgba(11, 107, 63, 0.45), inset 0 -2px 6px rgba(255, 255, 255, 0.3);
  border-color: transparent;
}

/* Make sure it fits on all screens neatly */
@media (max-width: 520px) {
  .mobile-nav {
    bottom: 14px;
    width: calc(100% - 24px);
    padding: 8px 6px;
  }
  .mnav-btn {
    font-size: 13px;
    padding: 9px 0;
    margin: 0 3px;
  }
}

/* Prevent nav overlap with content */
body {
  padding-bottom: 100px;
}

/* Add soft entrance animation */
@keyframes navFloat {
  from { transform: translate(-50%, 30px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
.mobile-nav {
  animation: navFloat 0.8s ease forwards;
}
/* === MOBILE NAVIGATION - Metallic Green (Responsive + Hidden on Desktop) === */
.mobile-nav {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 700px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 255, 245, 0.9));
  border: 2px solid rgba(11, 107, 63, 0.4);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(6, 40, 25, 0.2), inset 0 1px 8px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px;
  z-index: 9999;
  animation: navFloat 0.8s ease forwards;
}

/* === MOBILE NAVIGATION BAR (Glossy Scrollable Style) === */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1.5px solid rgba(0, 184, 107, 0.25);
  box-shadow: 0 -4px 20px rgba(0, 184, 107, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 8px;
  z-index: 9999;
  border-radius: 35px;
  overflow-x: auto;              /* ✅ Enables sideways scrolling */
  overflow-y: hidden;
  scrollbar-width: none;         /* Hide scrollbar for Firefox */
  -ms-overflow-style: none;      /* Hide scrollbar for IE/Edge */
  scroll-behavior: smooth;       /* Smooth scroll motion */
}

/* ✅ Hide scrollbar visually */
.mobile-nav::-webkit-scrollbar {
  display: none;
}

/* Buttons */
.mnav-btn {
  flex: 0 0 auto;                /* Keeps each button’s width independent */
  text-align: center;
  color: #004422;
  background: transparent;
  border: none;
  font-size: clamp(11px, 3vw, 14px);
  font-weight: 600;
  padding: 10px 16px;
  margin: 0 4px;
  border-radius: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;           /* Keep text on one line */
}

/* Hover + active states */
.mnav-btn:hover {
  background: rgba(0, 184, 107, 0.1);
  color: #007a43;
}

.mnav-btn.active {
  background: linear-gradient(135deg, #00b86b, #00ff88);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 255, 127, 0.35);
}

/* Prevent overlap with page content */
body {
  padding-bottom: 85px;
}

/* Hide nav on desktop */
@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

/* Small-screen tuning */
@media (max-width: 480px) {
  .mobile-nav {
    padding: 8px 6px;
    border-radius: 30px;
  }

  .mnav-btn {
    font-size: clamp(10px, 2.8vw, 12px);
    padding: 8px 12px;
  }
}

/* Counting & Bubble Burst Animation */
@keyframes bubbleBurst {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.5); opacity: 0.7; }
  100% { transform: scale(0); opacity: 0; }
}

.num.burst {
  animation: bubbleBurst 0.6s ease-out forwards;
}

