/* ═══════════════════════════════════════════════════════
   SAFAL KISWAHILI PRIZE — RED & WHITE THEME
   Shared stylesheet for ALL pages
   ═══════════════════════════════════════════════════════ */

/* ─── 1. RESET & BASE ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f5f5;
  color: #2d2d2d;
  padding-top: 100px; /* Offset for fixed nav on inner pages */
}

/* Home page has NO padding-top — hero fills viewport */
body.home-page {
  padding-top: 0;
  background: #fff;
}

#more { display: none; }
h1 { font-size: 2.5rem; font-weight: 700; }
span { font-size: .9rem; color: #757373; }
h6 { font-size: 1.1rem; color: rgb(24, 24, 49); }

/* ═══════════════════════════════════════════════════════
   2. NAVIGATION (Default = Inner Pages — White BG)
   ═══════════════════════════════════════════════════════ */

nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: height 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border-top: 3px solid #b71c1c;
}

nav > a { display: flex; align-items: center; text-decoration: none; }
nav > a > img {
  height: 70px; width: auto; object-fit: contain;
  transition: height 0.3s ease;
}

nav.scrolled {
  height: 75px;
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
  border-top: 3px solid #b71c1c !important;
}
nav.scrolled > a > img { height: 50px; }

/* ─── 3. NAV MENU LINKS ─── */
.navigation { display: flex; align-items: center; }

.navigation .nav-menu {
  list-style: none; display: flex; align-items: center; gap: 4px;
}

.navigation .nav-menu > li { position: relative; }

.navigation .nav-menu > li > a {
  text-decoration: none; color: #2d2d2d; font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.5px; padding: 10px 16px;
  border-radius: 6px; transition: color 0.3s, background 0.3s;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}

.navigation .nav-menu > li > a:hover {
  color: #b71c1c; background: rgba(183,28,28,0.08);
}

.navigation .nav-menu > li > a.active-link { color: #b71c1c; }

.navigation .nav-menu > li > a .arrow {
  font-size: 0.55rem; transition: transform 0.3s ease; margin-left: 2px;
}

/* ═══════════════════════════════════════════════════════
   4. DROPDOWN MENUS
   ═══════════════════════════════════════════════════════ */

.dropdown {
  position: absolute;
  top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 230px; background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border: 1px solid rgba(183,28,28,0.06);
  border-top: 3px solid #b71c1c;
  padding: 8px 0; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 2000; list-style: none;
}

.dropdown::before {
  content: ""; position: absolute; top: -9px; left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 6px solid #b71c1c;
}

/* Show on hover — DESKTOP ONLY */
.navigation .nav-menu > li:hover > .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navigation .nav-menu > li:hover > a .arrow { transform: rotate(180deg); }

/* Hover bridge */
.navigation .nav-menu > li::after {
  content: ""; position: absolute; top: 100%; left: 0;
  width: 100%; height: 12px;
}

/* Dropdown items */
.dropdown li a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 22px; font-size: 0.88rem; font-weight: 500;
  color: #444; text-decoration: none; transition: all 0.25s ease;
}

.dropdown li a:hover {
  color: #b71c1c; background: rgba(183,28,28,0.06); padding-left: 28px;
}

.dropdown li a i {
  width: 18px; text-align: center; font-size: 0.85rem;
  color: #b71c1c; opacity: 0.6; transition: opacity 0.25s ease;
}

.dropdown li a:hover i { opacity: 1; }

.dropdown li.divider { height: 1px; background: #f0e0e0; margin: 6px 18px; }

/* ═══════════════════════════════════════════════════════
   5. MENU BUTTON & CLOSE — Hidden by Default
   ═══════════════════════════════════════════════════════ */

#menu-btn {
  width: 30px; height: 30px; cursor: pointer;
  display: none; /* Shown only on mobile via media query */
}

#menu-close,
.navigation .nav-menu > .fa-times {
  display: none; /* Shown only on mobile via media query */
}

/* ═══════════════════════════════════════════════════════
   6. HOME PAGE — HERO HEADER
   ═══════════════════════════════════════════════════════ */

.header {
  min-height: 80vh; width: 100%;
  background-image: linear-gradient(rgba(183,28,28,0.7), rgba(4,9,30,0.7));
  background-position: center; background-size: cover;
  position: relative;
}

/* Nav is transparent on home hero */
.header nav {
  background: transparent; box-shadow: none; border-top-color: transparent;
}

/* Home nav links = white on transparent */
.header nav .nav-menu > li > a { color: #ffffff; }

/* Scrolled nav on home = solid white */
.header nav.scrolled .nav-menu > li > a { color: #2d2d2d; }
.header nav.scrolled .nav-menu > li > a:hover {
  color: #b71c1c; background: rgba(183,28,28,0.08);
}
.header nav.scrolled .nav-menu > li > a.active-link { color: #b71c1c; }

/* Hero text */
.text-box {
  width: 90%; color: #fff; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  text-align: center;
}
.text-box h1 {
  font-size: 50px; font-family: 'Playfair Display', serif;
  letter-spacing: 3px;
}
.text-box h2 {
  font-size: 1.5rem; font-weight: 300;
  letter-spacing: 4px; margin-top: 10px; opacity: 0.9;
}
.text-box p { margin: 10px 0 40px; font-size: 14px; color: #fff; }

.hero-btn {
  display: inline-block; text-decoration: none; color: #fff;
  border: 1px solid #fff; padding: 12px 34px; font-size: 13px;
  background: transparent; cursor: pointer; transition: all 0.3s ease;
}
.hero-btn:hover { border-color: #b71c1c; background: #b71c1c; }

/* ═══════════════════════════════════════════════════════
   7. INNER PAGES — SUB-HEADER BANNER
   ═══════════════════════════════════════════════════════ */

.sub-header {
  height: 40vh; width: 100%;
  background-image: linear-gradient(rgba(183,28,28,0.75), rgba(183,28,28,0.75)),
    url('images/2025/2025-COVER.jpg');
  background-position: center; background-size: cover;
  text-align: center; color: #fff;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  margin-top: 0; /* No extra margin — body padding-top handles offset */
}

.sub-header h1 {
  font-size: 3rem; letter-spacing: 2px;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 3px 15px rgba(0,0,0,0.25);
}

/* ═══════════════════════════════════════════════════════
   8. COURSE SECTION
   ═══════════════════════════════════════════════════════ */

.course {
  width: 80%; margin: auto; text-align: center; padding-top: 100px;
}
.course h1 { font-size: 36px; font-weight: 600; color: #b71c1c; }
.course p { color: #777; font-size: 14px; font-weight: 300; line-height: 22px; padding: 10px; }

.row { margin-top: 5%; display: flex; justify-content: space-between; }

.course-col {
  flex-basis: 31%; background: #fff3f3; border-radius: 10px;
  margin-bottom: 5%; padding: 20px 12px; transition: 0.5s;
}
.course-col h3 { text-align: center; font-weight: 600; margin: 10px 0; color: #b71c1c; }
.course-col:hover { box-shadow: 0 0 20px rgba(183,28,28,0.15); }
.course-col img { width: 50%; height: fit-content; }

/* ═══════════════════════════════════════════════════════
   9. EVENTS SECTION
   ═══════════════════════════════════════════════════════ */

.events { width: 80%; margin: 80px auto; }

.title { text-align: center; margin-bottom: 30px; }
.title h1, .title h3 { color: #b71c1c; }
.title h3 { font-size: 2.5rem; }

.line { width: 100px; height: 3px; background-color: #b71c1c; margin: 10px auto; }

.rows { display: flex; flex-wrap: wrap; justify-content: space-between; }

.cols {
  flex: 0 0 calc(30.33% - 20px); margin-bottom: 100px;
  text-align: center; background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1); border-radius: 10px;
  overflow: hidden; transition: transform 0.3s ease;
  border-top: 3px solid #b71c1c;
}
.cols:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(183,28,28,0.12); }
.cols img { width: 100%; height: auto; }
.cols h4 { font-size: 1.5rem; color: #b71c1c; margin: 20px 0; }
.cols p { margin: 0; padding: 0 20px; color: #555; }

.ctn {
  display: inline-block; padding: 10px 20px; background-color: #b71c1c;
  color: #fff; text-decoration: none; border-radius: 5px;
  margin-bottom: 20px; transition: background-color 0.3s ease;
}
.ctn:hover { background-color: #921616; }

/* ═══════════════════════════════════════════════════════
   10. EXPLORE SECTION
   ═══════════════════════════════════════════════════════ */

.explore {
  width: 100%; height: 100vh; background-color: #b71c1c;
  display: flex; justify-content: center; align-items: center; text-align: center;
}
.explore-content {
  max-width: 600px; padding: 40px; background-color: rgba(0,0,0,0.6);
  color: #fff; border-radius: 10px; box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.explore-content h1 { font-size: 5rem; margin-bottom: 20px; font-family: 'Playfair Display', serif; }
.explore-content .line { width: 100px; height: 3px; background-color: #fff; margin: 0 auto 20px; }
.explore-content p { font-size: 1.2rem; margin-bottom: 30px; }
.explore-content .ctn { background-color: #b71c1c; }
.explore-content .ctn:hover { background-color: #921616; }

/* ═══════════════════════════════════════════════════════
   11. TOURS / CONTAINER SECTION
   ═══════════════════════════════════════════════════════ */

.container {
  max-width: 1200px; margin: 60px auto; padding: 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.content-col { width: 48%; padding: 20px; }
.content-col h1 { font-size: 3em; color: #b71c1c; margin-bottom: 20px; }
.content-col p { font-size: 1.2em; line-height: 1.6; color: #666; }
.image-col { width: 48%; display: flex; justify-content: center; }
.image-gallery { display: grid; grid-template-columns: repeat(2,1fr); grid-gap: 20px; }
.image-gallery img {
  max-width: 100%; height: auto; border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1); transition: transform 0.3s ease;
}
.image-gallery img:hover { transform: scale(1.1); }

/* ═══════════════════════════════════════════════════════
   12. REGISTRATION SECTION
   ═══════════════════════════════════════════════════════ */

#registration {
  padding: 6vw 8vw; background: linear-gradient(to right, #b71c1c, #921616);
  color: white; width: 100%; display: flex;
  flex-direction: column; justify-content: center; align-items: center;
}
#registration .reminder { max-width: 500px; text-align: center; }
#registration .reminder h1 { margin-bottom: 20px; font-size: 2.5rem; }
#registration .reminder .time { display: flex; justify-content: space-around; margin-top: 20px; }
#registration .reminder .time .date {
  text-align: center; padding: 10px 20px;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18); font-size: 1.1rem;
  font-weight: 600; margin: 0 5px;
}
#registration .reminder .time .date i { margin-bottom: 10px; font-size: 2rem; }

/* ═══════════════════════════════════════════════════════
   13. ABOUT PAGE
   ═══════════════════════════════════════════════════════ */

.about-us { width: 80%; margin: auto; padding-top: 60px; padding-bottom: 80px; }
.about-text p {
  color: #444; font-size: 16px; font-weight: 300;
  line-height: 1.8; margin-bottom: 20px; text-align: justify;
}
.partners-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: 30px; margin-top: 50px;
}
.partner-card {
  background: #fff; border-radius: 10px; padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  border-top: 4px solid #b71c1c; transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column; align-items: flex-start;
}
.partner-card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(183,28,28,0.12); }
.partner-card img { max-width: 160px; max-height: 80px; object-fit: contain; margin-bottom: 20px; }
.partner-card h3 { color: #b71c1c; font-size: 1.3rem; margin-bottom: 15px; }
.partner-card p { font-size: 14.5px; color: #555; line-height: 1.6; margin-bottom: 15px; }
.partner-card a { color: #b71c1c; text-decoration: none; font-weight: 600; margin-top: auto; }
.partner-card a:hover { text-decoration: underline; color: #921616; }

/* ═══════════════════════════════════════════════════════
   14. FOOTER — RED & WHITE
   ═══════════════════════════════════════════════════════ */

footer {
  position: relative; background: #b71c1c; width: 100%;
  bottom: 0; left: 0; z-index: 10;
}
footer::before {
  content: ''; position: absolute; left: 0; top: 100px;
  height: 1px; width: 100%; background: rgba(255,255,255,0.2);
}
footer .content { max-width: 1250px; margin: auto; padding: 30px 40px 40px; }
footer .content .top {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 50px;
}
.content .top .logo-details { color: rgba(255,255,255,0.7); font-size: 30px; }

.content .top .media-icons { display: flex; }
.content .top .media-icons a {
  height: 40px; width: 40px; margin: 0 8px; border-radius: 50%;
  text-align: center; line-height: 40px; color: #fff; font-size: 17px;
  text-decoration: none; transition: all 0.4s ease;
  background: rgba(255,255,255,0.15);
}
.content .top .media-icons a:hover {
  background: #fff; color: #b71c1c; transform: translateY(-3px);
}

footer .content .link-boxes { width: 100%; display: flex; justify-content: space-between; }
footer .content .link-boxes .box { width: calc(100% / 5 - 10px); }

.content .link-boxes .box .link_name {
  color: #fff; font-size: 18px; font-weight: 400;
  margin-bottom: 10px; position: relative;
}
.link-boxes .box .link_name::before {
  content: ''; position: absolute; left: 0; bottom: -2px;
  height: 2px; width: 35px; background: rgba(255,255,255,0.5);
}
.content .link-boxes .box li { margin: 6px 0; list-style: none; }
.content .link-boxes .box li a {
  color: #fff; font-size: 14px; font-weight: 400;
  text-decoration: none; opacity: 0.8; transition: all 0.4s ease;
}
.content .link-boxes .box li a:hover { opacity: 1; text-decoration: underline; padding-left: 4px; }

.content .link-boxes .input-box { margin-right: 55px; }
.link-boxes .input-box input {
  height: 40px; width: calc(100% + 55px); outline: none;
  border: 2px solid rgba(255,255,255,0.3); background: #fefeff;
  border-radius: 4px; padding: 0 15px; font-size: 15px; color: #333; margin-top: 5px;
}
.link-boxes .input-box input::placeholder { color: #AFAFB6; font-size: 16px; }
.link-boxes .input-box input[type="button"] {
  background: transparent; color: #fff; border: 2px solid #fff;
  font-size: 18px; font-weight: 500; margin: 4px 0; cursor: pointer;
  transition: all 0.4s ease;
}
.link-boxes .input-box input[type="button"]:hover { background: #fff; color: #b71c1c; }

footer .bottom-details { width: 100%; background: rgba(0,0,0,0.1); }
footer .bottom-details .bottom_text {
  max-width: 1250px; margin: auto; padding: 20px 40px;
  display: flex; justify-content: space-between;
}
.bottom-details .bottom_text span,
.bottom-details .bottom_text a {
  font-size: 14px; font-weight: 300; color: #fff; opacity: 0.8; text-decoration: none;
}
.bottom-details .bottom_text a:hover { opacity: 1; text-decoration: underline; }
.bottom-details .bottom_text a { margin-right: 10px; }

/* ═══════════════════════════════════════════════════════
   15. UTILITY CLASSES
   ═══════════════════════════════════════════════════════ */

.hidden { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.show { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   16. RESPONSIVE — TABLET (900px)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  nav { height: 80px; padding: 0 4%; }
  nav > a > img { height: 55px; }
  body { padding-top: 80px; }
  body.home-page { padding-top: 0; }
  nav.scrolled { height: 65px; }
  nav.scrolled > a > img { height: 42px; }
  .navigation .nav-menu > li > a { font-size: 0.78rem; padding: 8px 10px; }
  .row { flex-direction: column; }
  footer .content .link-boxes { flex-wrap: wrap; }
  footer .content .link-boxes .input-box { width: 40%; margin-top: 10px; }
}

/* ═══════════════════════════════════════════════════════
   17. RESPONSIVE — MOBILE (768px)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  nav { height: 75px; padding: 0 4%; }
  nav > a > img { height: 50px; }
  body { padding-top: 75px; }
  body.home-page { padding-top: 0; }
  nav.scrolled { height: 60px; }
  nav.scrolled > a > img { height: 38px; }

  .sub-header { height: 200px; }
  .sub-header h1 { font-size: 2.2rem; }
  .text-box h1 { font-size: 28px; }
  .text-box h2 { font-size: 1rem; letter-spacing: 2px; }

  /* ── SHOW MENU BUTTON ── */
  #menu-btn { display: block !important; }

  /* ── SLIDE-OUT MOBILE PANEL ── */
  .navigation .nav-menu {
    position: fixed !important;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 0 30px;
    gap: 0;
    box-shadow: -4px 0 30px rgba(0,0,0,0.18);
    transition: right 0.35s ease;
    z-index: 3000;
    overflow-y: auto;
    display: flex;
  }

  .navigation .nav-menu.active { right: 0; }

  /* ── SHOW CLOSE BUTTON ── */
  .navigation .nav-menu > .fa-times {
    display: block !important;
    position: absolute; top: 25px; right: 25px;
    font-size: 1.4rem; cursor: pointer; color: #2d2d2d;
  }

  /* ── MOBILE NAV LINKS ── */
  .navigation .nav-menu > li {
    width: 100%; border-bottom: 1px solid #f0e8e8;
  }

  .navigation .nav-menu > li > a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    font-size: 1rem;
    border-radius: 0;
    color: #2d2d2d !important; /* Override home hero white */
  }

  .navigation .nav-menu > li > a:hover {
    color: #b71c1c !important;
    background: rgba(183,28,28,0.05);
  }

  .navigation .nav-menu > li > a.active-link {
    color: #b71c1c !important;
  }

  /* ── MOBILE DROPDOWN ACCORDION ── */
  .navigation .nav-menu > li > .dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 100%;
    background: #fdf5f5;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .navigation .nav-menu > li > .dropdown::before { display: none; }

  .navigation .nav-menu > li > .dropdown.open { max-height: 500px; }

  .dropdown li a {
    padding: 14px 24px 14px 44px;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(183,28,28,0.04);
  }
  .dropdown li a:hover { padding-left: 50px; }
  .dropdown li.divider { margin: 4px 24px; }

  /* Arrow rotation on mobile */
  .navigation .nav-menu > li > a .arrow.rotated {
    transform: rotate(180deg) !important;
  }

  /* DISABLE desktop hover on mobile */
  .navigation .nav-menu > li:hover > .dropdown {
    max-height: 0; transform: none !important;
  }
  .navigation .nav-menu > li:hover > a .arrow {
    transform: none;
  }

  /* Events / cols responsive */
  .cols { flex: 0 0 calc(50% - 20px); }

  /* Tours responsive */
  .container { flex-direction: column; }
  .content-col, .image-col { width: 100%; }
  .image-gallery { grid-template-columns: 1fr; }

  /* About responsive */
  .about-us { width: 90%; }
  .partners-grid { grid-template-columns: 1fr; }

  /* Footer responsive */
  footer .content .link-boxes .box { width: calc(100% / 3 - 10px); }
  footer .content .link-boxes .input-box { width: 60%; }
  .content .top .media-icons a { height: 35px; width: 35px; font-size: 14px; line-height: 35px; }
  .bottom-details .bottom_text span,
  .bottom-details .bottom_text a { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════
   18. RESPONSIVE — SMALL MOBILE (576px)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 576px) {
  .cols { flex: 0 0 calc(100% - 20px); }
}

/* ═══════════════════════════════════════════════════════
   19. RESPONSIVE — 520px
   ═══════════════════════════════════════════════════════ */

@media (max-width: 520px) {
  footer::before { top: 145px; }
  footer .content .top { flex-direction: column; }
  .content .top .media-icons { margin-top: 16px; }
  footer .content .link-boxes .box { width: calc(100% / 2 - 10px); }
  footer .content .link-boxes .input-box { width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   20. RESPONSIVE — 480px
   ═══════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  .sub-header { height: 160px; }
  .navigation .nav-menu { width: 100%; }
  #registration { padding: 10vw 4vw; }
  #registration .reminder h1 { font-size: 2rem; }
  #registration .reminder .time { flex-wrap: wrap; }
  #registration .reminder .time .date { flex: 1 1 45%; margin-bottom: 10px; }
}



/* ═══════════════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════════════ */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 15px;
  margin-right: 10px;
}

.lang-btn {
  background: transparent;
  border: 2px solid rgba(183, 28, 28, 0.2);
  color: #888;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.lang-btn:hover {
  border-color: #b71c1c;
  color: #b71c1c;
}

.lang-btn.active {
  background: linear-gradient(135deg, #b71c1c, #d32f2f);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(183, 28, 28, 0.25);
}

.lang-divider {
  color: #ccc;
  font-size: 0.8rem;
  user-select: none;
}

[data-lang-content="sw"] {
  display: none;
}

@media (max-width: 768px) {
  .lang-switch {
    position: absolute;
    top: 25px;
    left: 25px;
    margin: 0;
    z-index: 2001;
  }
}


/* ═══════════════════════════════════
   PRESS PAGE STYLES
   ═══════════════════════════════════ */

.press-featured {
  margin-bottom: 50px;
}

.featured-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.press-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.press-filter button {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.3s;
}

.press-filter button.active,
.press-filter button:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.press-card img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════
   NEWS & MEDIA PAGES — Shared Component Styles
   (Press · Events · Testimonials · Articles)
   Add this block to the BOTTOM of your main.css
   ═══════════════════════════════════════════════════════ */

/* ---- Page container ---- */
.page-wrap {
  max-width: 1120px;
  margin: 60px auto 85px;
  padding: 0 20px;
}

/* ---- Intro ---- */
.intro {
  text-align: center;
  margin-bottom: 45px;
}

.intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #b71c1c;
  margin-bottom: 12px;
}

.intro p {
  color: #666;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* ---- Featured block ---- */
.featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border-top: 5px solid #b71c1c;
  margin-bottom: 48px;
}

.featured img,
.featured-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.featured-content {
  padding: 35px 40px;
}

.featured-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #2d2d2d;
  line-height: 1.3;
  margin-bottom: 14px;
}

.featured-content p {
  color: #666;
  line-height: 1.75;
}

/* ---- Badge ---- */
.badge {
  display: inline-block;
  background: #fdeaea;
  color: #b71c1c;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 50px;
  margin-bottom: 14px;
}

/* ---- Date ---- */
.date {
  font-size: 0.86rem;
  color: #999;
  margin-bottom: 10px;
}

/* ---- Read More ---- */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b71c1c;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 18px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.read-more:hover {
  gap: 12px;
  color: #921616;
}

/* ---- Card grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.055);
  border-top: 4px solid #b71c1c;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 40px rgba(183, 28, 28, 0.12);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body {
  padding: 25px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #2d2d2d;
  line-height: 1.35;
  margin: 8px 0 10px;
}

.card p {
  color: #666;
  line-height: 1.7;
  font-size: 0.96rem;
}

/* ---- Press filter buttons ---- */
.press-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.press-filter button {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.3s;
}

.press-filter button.active,
.press-filter button:hover {
  background: #b71c1c;
  color: #fff;
  border-color: #b71c1c;
}

/* ---- Event meta (Events page) ---- */
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  color: #888;
  font-size: 0.88rem;
}

.event-meta i {
  color: #b71c1c;
  margin-right: 5px;
}

/* ---- Quote feature (Testimonials page) ---- */
.quote-feature {
  background: linear-gradient(135deg, #b71c1c, #d32f2f);
  color: #fff;
  border-radius: 16px;
  padding: 50px 45px;
  margin-bottom: 45px;
  position: relative;
  overflow: hidden;
}

.quote-feature::before {
  content: "\201C";
  font-family: 'Playfair Display', serif;
  font-size: 9rem;
  position: absolute;
  top: -10px;
  left: 22px;
  opacity: 0.14;
  line-height: 1;
}

.quote-feature blockquote {
  font-size: 1.4rem;
  line-height: 1.7;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.quote-feature p {
  margin-top: 18px;
  font-weight: 700;
}

/* ---- Person (Testimonials cards) ---- */
.person {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 6px;
}

.person img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fdeaea;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .intro h2 {
    font-size: 2rem;
  }
  .featured {
    grid-template-columns: 1fr;
  }
  .featured img,
  .featured-image {
    height: 250px;
    min-height: auto;
  }
  .featured-content {
    padding: 28px 25px;
  }
  .featured-content h3 {
    font-size: 1.5rem;
  }
  .quote-feature {
    padding: 35px 25px;
  }
  .quote-feature blockquote {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .card img {
    height: 200px;
  }
  .press-filter button {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}



  .countdown-bar {
    max-width: 1100px;
    margin: -60px auto 45px;
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #b71c1c, #d32f2f);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(183, 28, 28, 0.32);
    padding: 34px 38px;
    overflow: visible;   /* visible so the NEW badge can peek out the corner */
  }

  .countdown-bar::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -8%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 18px;
  }

  /* ─── Animated NEW badge (top-left corner) ─── */
  .new-badge {
    position: absolute;
    top: -14px;
    left: -14px;
    z-index: 12;
    background: #ffd200;
    color: #b71c1c;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    animation: badgePop 0.6s ease-out, badgeBounce 2.2s ease-in-out infinite 0.6s;
  }

  /* Pulsing halo ring behind the badge */
  .new-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: #ffd200;
    z-index: -1;
    animation: badgePulse 2s ease-out infinite;
  }

  .new-badge i {
    font-size: 0.7rem;
    animation: bellShake 2.2s ease-in-out infinite;
    transform-origin: top center;
  }

  @keyframes badgePop {
    0%   { transform: scale(0); opacity: 0; }
    70%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
  }

  @keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
  }

  @keyframes badgePulse {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
  }

  @keyframes bellShake {
    0%, 88%, 100% { transform: rotate(0); }
    90% { transform: rotate(14deg); }
    92% { transform: rotate(-12deg); }
    94% { transform: rotate(10deg); }
    96% { transform: rotate(-8deg); }
    98% { transform: rotate(4deg); }
  }

  .countdown-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }

  .countdown-info { flex: 1; min-width: 260px; }

  .countdown-info .pill {
    display: inline-block;
    background: #fff;
    color: #b71c1c;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
  }

  .countdown-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .countdown-info p {
    font-size: 0.95rem;
    opacity: 0.92;
    margin: 0;
  }

  .countdown-info p i { margin-right: 7px; }

  .countdown-timer {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
  }

  .cd-unit {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.864);
    border-radius: 12px;
    padding: 14px 10px;
    min-width: 74px;
    text-align: center;
  }

  .cd-unit .cd-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    display: block;
  }

  .cd-unit .cd-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
    margin-top: 6px;
    display: block;
  }

  .countdown-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
    position: relative;
    z-index: 1;
  }

  .countdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .countdown-btn.primary { background: #fff; color: #b71c1c; }
  .countdown-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  }

  .countdown-btn.outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
  }
  .countdown-btn.outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
  }

  .countdown-live {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
  }

  @media (max-width: 768px) {
    .countdown-bar { margin: -35px 18px 40px; padding: 28px 24px; }
    .countdown-top { flex-direction: column; text-align: center; }
    .countdown-info { min-width: auto; }
    .countdown-timer { justify-content: center; flex-wrap: wrap; }
    .countdown-info h3 { font-size: 1.35rem; }
    .cd-unit { min-width: 64px; padding: 12px 8px; }
    .cd-unit .cd-num { font-size: 1.7rem; }
    .countdown-actions { justify-content: center; }
    .new-badge { top: -12px; left: 50%; transform: translateX(-50%); }
    @keyframes badgeBounce {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50%      { transform: translateX(-50%) translateY(-4px); }
    }
  }


 /* winner banner */

  .winners-bar {
    max-width: 1100px;
    margin: -60px auto 45px;
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #b71c1c, #d32f2f);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(183, 28, 28, 0.32);
    padding: 36px 40px;
    overflow: visible;
    text-align: center;
  }

  .winners-bar::before {
    content: "";
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
  }

  /* Animated celebration badge (top center) */
  .winners-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    background: #ffd200;
    color: #b71c1c;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    animation: wbPop 0.6s ease-out, wbBounce 2.4s ease-in-out infinite 0.6s;
  }

  .winners-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: #ffd200;
    z-index: -1;
    animation: wbPulse 2s ease-out infinite;
  }

  .winners-badge i {
    animation: wbSpin 3s ease-in-out infinite;
  }

  @keyframes wbPop {
    0%   { transform: translateX(-50%) scale(0); opacity: 0; }
    70%  { transform: translateX(-50%) scale(1.15); opacity: 1; }
    100% { transform: translateX(-50%) scale(1); }
  }

  @keyframes wbBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-4px); }
  }

  @keyframes wbPulse {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.55); opacity: 0; }
  }

  @keyframes wbSpin {
    0%, 70%, 100% { transform: rotate(0); }
    80% { transform: rotate(18deg); }
    90% { transform: rotate(-18deg); }
  }

  .winners-bar .pill {
    display: inline-block;
    background: #fff;
    color: #b71c1c;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin: 10px 0 14px;
  }

  .winners-bar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .winners-bar p {
    font-size: 0.98rem;
    opacity: 0.92;
    margin: 0 auto;
    max-width: 620px;
    line-height: 1.6;
  }

  .winners-bar p i { margin-right: 7px; }

  .winners-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 26px;
    position: relative;
    z-index: 1;
  }

  .winners-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .winners-btn.primary { background: #fff; color: #b71c1c; }
  .winners-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  }

  .winners-btn.outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
  }
  .winners-btn.outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
  }

  @media (max-width: 768px) {
    .winners-bar { margin: -35px 18px 40px; padding: 30px 24px; }
    .winners-bar h3 { font-size: 1.45rem; }
    .winners-bar p { font-size: 0.92rem; }
    .winners-actions { flex-direction: column; }
    .winners-btn { justify-content: center; }
  }


  /* ═══════════════════════════════════════════
   MOBILE NAV FIXES
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {

  /* 1) Make sure the hamburger button SHOWS on mobile */
  #menu-btn {
    display: block !important;
    width: 30px;
    height: 30px;
    cursor: pointer;
    order: 3;                /* keeps it on the far right */
  }

  /* Keep the nav items spaced: logo left · lang+menu right */
  nav {
    justify-content: space-between;
  }

  /* 2) Move the EN|SW switch away from the logo.
        Put it beside the menu button, not over the logo. */
  .lang-switch {
    position: static !important;   /* cancels the old top/left overlap */
    margin: 0 12px 0 auto;         /* pushes it to the right, before menu btn */
    order: 2;
    z-index: 1;
  }

  /* Make the switch compact so it fits next to the menu icon */
  .lang-btn {
    padding: 4px 9px;
    font-size: 0.7rem;
  }

  /* Logo stays on the far left */
  nav > a { order: 1; }
}

@media (max-width: 768px) {
  #menu-btn {
    display: block !important;
    font-size: 1.6rem;
    color: #b71c1c;      /* red to match your theme */
    cursor: pointer;
    order: 3;
  }
}
