/* ═══════════════════════════════════════════════
   UNITED EXPORTERS FORUM — Main Stylesheet
   Theme: Navy Blue #1a3a6b | Gold #c9a84c
   Font: Cormorant Garamond + DM Sans
═══════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --navy:       #1a3a6b;
  --navy-dark:  #0f2347;
  --navy-light: #2a4f8f;
  --gold:       #c9a84c;
  --gold-light: #e2c170;
  --white:      #ffffff;
  --off-white:  #f8f7f4;
  --light-gray: #f0eff0;
  --mid-gray:   #9a9a9a;
  --dark:       #1a1a1a;
  --text:       #2d2d2d;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --header-h:   90px;
  --max-w:      1180px;
  --radius:     6px;
  --transition: 0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid rgba(26,58,107,0.1);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 20px;
}

/* Logo */
.logo-wrap { display: flex; align-items: center; flex-shrink: 0; }
.logo-img   { height: 72px; width: auto; object-fit: contain; }

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Header contact */
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.hc-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--navy);
  transition: color var(--transition);
}
.hc-item:hover { color: var(--gold); }
.hc-item svg   { width: 13px; height: 13px; flex-shrink: 0; stroke: var(--gold); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════
   CAROUSEL
═══════════════════════════════════════════════ */
.hero-carousel {
  margin-top: var(--header-h);
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  background: var(--navy-dark);
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,28,60,0.75) 0%, rgba(10,28,60,0.2) 100%);
  display: flex;
  align-items: center;
}
.slide-content {
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
  color: var(--white);
}
.slide-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 18px;
}
.slide-content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  max-width: 640px;
}
.slide-content p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.7;
}

/* Carousel controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 10;
}
.carousel-btn:hover { background: var(--gold); border-color: var(--gold); }
.carousel-btn svg   { width: 20px; height: 20px; }
.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }

/* Carousel dots */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

/* ═══════════════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════════════ */
section { padding: 80px 0; }
.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15px;
  color: var(--mid-gray);
  max-width: 560px;
  line-height: 1.7;
}
.gold-rule {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 18px 0 32px;
}
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .gold-rule { margin: 18px auto 32px; }
.section-head.center .section-sub { margin: 0 auto; }

/* ═══════════════════════════════════════════════
   INTRO / TAGLINE STRIP
═══════════════════════════════════════════════ */
.tagline-strip {
  background: var(--navy);
  padding: 40px 0;
  text-align: center;
}
.tagline-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 36px);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.tagline-strip h2 span { color: var(--gold); }
.tagline-strip p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════
   WHY JOIN — BENEFITS
═══════════════════════════════════════════════ */
.benefits { background: var(--off-white); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid rgba(26,58,107,0.08);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.benefit-card:hover {
  box-shadow: 0 8px 32px rgba(26,58,107,0.1);
  transform: translateY(-4px);
}
.benefit-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.benefit-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; }
.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.benefit-card p { font-size: 14px; color: var(--mid-gray); line-height: 1.7; }

/* ═══════════════════════════════════════════════
   LEADERSHIP STRIP
═══════════════════════════════════════════════ */
.leadership { background: var(--white); }
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.leader-card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid rgba(26,58,107,0.08);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.leader-card:hover { box-shadow: 0 8px 32px rgba(26,58,107,0.1); }
.leader-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 3px solid var(--gold);
  background: var(--light-gray);
}
.leader-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.leader-card .role {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
  font-weight: 500;
}
.leader-card .org {
  font-size: 13px;
  color: var(--mid-gray);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════
   BLOG PREVIEW
═══════════════════════════════════════════════ */
.blog-preview { background: var(--off-white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(26,58,107,0.07);
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(26,58,107,0.1);
  transform: translateY(-4px);
}
.blog-thumb {
  width: 100%; height: 200px;
  object-fit: cover;
  background: var(--light-gray);
}
.blog-body { padding: 24px; }
.blog-date {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card p { font-size: 14px; color: var(--mid-gray); line-height: 1.7; }
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-top: 16px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color var(--transition);
}
.blog-link:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   CTA STRIP
═══════════════════════════════════════════════ */
.cta-strip {
  background: var(--navy);
  padding: 60px 0;
  text-align: center;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  color: var(--white);
  margin-bottom: 14px;
}
.cta-strip p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-img { height: 64px; margin-bottom: 18px; border-radius: 4px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item svg { width: 15px; height: 15px; stroke: var(--gold); flex-shrink: 0; margin-top: 3px; fill: none; }
.footer-contact-item a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════
   IMAGE STORE / GALLERY SECTION
═══════════════════════════════════════════════ */
.image-gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,35,71,0.5);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { width: 28px; height: 28px; stroke: var(--white); fill: none; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid rgba(26,58,107,0.1);
    padding: 24px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0 24px; }
  .main-nav ul li a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(26,58,107,0.06); font-size: 15px; }
  .hamburger { display: flex; }
  .header-contact { display: none; }
  .hero-carousel { height: 420px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .benefits-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  section { padding: 56px 0; }
  .hero-carousel { height: 340px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   ADDITIONS — Header button, Social, Hero
═══════════════════════════════════════════════ */

/* Header right group */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.btn-sm {
  padding: 9px 20px;
  font-size: 12.5px;
  white-space: nowrap;
}

/* Social buttons */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}
.social-btn svg { width: 16px; height: 16px; }

/* Contact page fix */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-card   { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(26,58,107,0.07); }
.contact-card:last-child { border-bottom: none; }
.cc-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.cc-icon svg { width: 20px; height: 20px; stroke: var(--gold); }
.cc-body h4   { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.cc-body p, .cc-body a { font-size: 14px; color: var(--mid-gray); line-height: 1.7; }
.cc-body a:hover { color: var(--gold); }
.map-wrap { width: 100%; height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(26,58,107,0.1); }

/* Responsive header-right */
@media(max-width:1024px) {
  .header-contact { display: none; }
}
@media(max-width:768px) {
  .header-right .btn-sm { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}
