/* ===============================
   FARAJA YANGU TV – PREMIUM UI 2.0
   Style: Luxury • Broadcast • Smooth Animations
================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --primary: #0c3c48;
  --primary-light: #165a6b;
  --secondary: #c9602b;
  --accent: #f9a826;
  --white: #ffffff;
  --bg-soft: #f8fafb;
  --text-main: #1a2b30;
  --text-muted: #5a7177;
  --radius-sm: 12px;
  --radius-md: 20px;
  --shadow-premium: 0 20px 50px rgba(12, 60, 72, 0.08);
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-soft);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ===== HERO HEADER ===== */
.hero {
  position: relative;
  height: 90vh;
  background: url("../assets/images/hero-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 60, 72, 0.85),
    rgba(0, 0, 0, 0.6)
  );
}

.hero-content {
  position: relative;
  max-width: 900px;
  padding: 20px;
  animation: fadeUp 1.2s ease;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  background: var(--secondary);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(201, 96, 43, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(201, 96, 43, 0.45);
  background: #d96d36;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* ===== CONTENT BACKDROP ===== */
body {
  /* Hapa sasa ndipo picha kuu inakaa */
  background: url("../assets/images/vipindibackdrop.jpg") center/cover no-repeat fixed;
  color: var(--white); /* Maandishi yawe meupe ili yaonekane kwenye giza */
  line-height: 1.8;
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
}

body::before {
  content: "";
  position: fixed; /* Inakaa palepale hata ukiscroll */
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 60, 72, 0.92), rgba(0, 0, 0, 0.85));
  z-index: -1; /* Inakaa nyuma ya maudhui yote */
}

/* Ondoa overlay ya zamani ya content-backdrop */
.content-backdrop::before {
  display: none;
}

/* 4. MAREKEBISHO YA SECTIONS ILI ZISOMEKE */
.about, .shows, .packages-section {
  background: transparent !important; /* Hakikisha hakuna background nyeupe inayoziba picha kuu */
  color: white;
}

.about p, .shows-intro, .footer p {
  color: rgba(255, 255, 255, 0.85);
}

/* MAREKEBISHO YA SEHEMU YA PACKAGE IWE NYEUPE */
.packages-section {
    background: #ffffff !important; /* Rangi nyeupe safi */
    color: var(--text-main) !important; /* Maandishi yawe meusi ili yasomeke kwenye nyeupe */
    border-radius: var(--radius-md);
    margin: 40px 20px; /* Inatengeneza nafasi ili background ya picha ionekane pembeni */
    padding: 60px 20px;
    box-shadow: var(--shadow-premium);
}

.package-info h3, .package-info p {
  color: white;
}
.content-backdrop {
  position: relative;
  min-height: auto; 
  background: transparent; /* Ondoa background hapa kwa sababu ipo kwenye body */
  padding-top: 50px;
  z-index: 1;
}

/* ===== SHOWS SECTION ===== */
.shows {
  padding: 10px 10px;
  text-align: center;
}

.shows h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 01px;
}

.shows-header h2 {
  font-size: 2rem;       /* Uzito mkubwa */
  font-weight: 700;      /* Bold */
  text-align: center;    /* Center juu */
  margin-bottom: 15px;   /* Nafasi kidogo chini ya header */
  color: #222;
}


.shows-intro {
  color: rgba(255, 255, 255, 0.85);
  max-width: 850px;
  margin: 0 auto 70px;
}

/* GRID */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

/* CARD */
.show-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.show-card:hover {
  transform: translateY(-5px);
}


.show-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.show-overlay {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(12,60,72,0.96) 0%, rgba(12,60,72,0.75) 45%, transparent 100%);
  padding: 26px;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.show-content {
  transform: translateY(12px);
  transition: transform 0.4s ease;
}

.show-category {
  display: block;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: capitalize;
  margin-bottom: 6px;
}

.show-overlay h3 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

/* STATUS BADGE */
.show-status {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #e50914;
  color: #fff;
  padding: 5px 14px;
  font-size: 0.7rem;
  font-weight: 900;
  border-radius: 4px;
  z-index: 3;
  box-shadow: 0 6px 14px rgba(229, 9, 20, 0.4);
}

/* HOVER EFFECTS */
.show-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}

.show-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

.show-card:hover .show-content {
  transform: translateY(0);
}

.show-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--secondary);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 14px;
  pointer-events: none;
}

.show-card:hover::after {
  opacity: 1;
}

/* ===== ABOUT, BOOKING, PACKAGES, FOOTER ===== */
section, .footer {
  padding: 80px 20px;
  animation: fadeInUp 0.8s ease-out both;
}

.about {
  max-width: 850px;
  margin: auto;
  text-align: center;
  color: white;
}

.booking form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 50px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

@media (max-width: 768px) {
  .booking form { grid-template-columns: 1fr; }
}

.booking input, .booking textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid #e1e8ea;
  background: #fcfdfe;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.booking input:focus {
  border-color: var(--secondary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 96, 43, 0.05);
  outline: none;
}

.booking button {
  grid-column: 1 / -1;
  background: var(--primary);
  padding: 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: capitalize;
  border: none;
  color: white;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.booking button:hover {
  background: var(--text-main);
  letter-spacing: 2px;
}

.packages {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: 50px;
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: var(--shadow-premium);
  text-align: center;
  margin: 60px auto;
}

.packages:hover {
  transform: translateY(-10px);
}

.footer {
  background: var(--primary);
  padding: 60px 20px;
  color: white;
  text-align: center;
  border-top: 4px solid var(--secondary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ===== HERO CARDS LAYOUT ===== */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  perspective: 1000px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 25px;
  border-radius: 18px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 240px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-card .card-icon {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.15);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.hero-card .card-text {
  text-align: left;
}

.hero-card .card-text span {
  display: block;
  font-size: 0.7rem;
  text-transform: capitalize;
  color: #00d2ff; /* Rangi ya kitalamu ya maelezo madogo */
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-card .card-text h4 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}

/* Tofautisha kadi ya 'Book Shughuli' kwa rangi ya Brand (Secondary) */
.hero-card.accent {
  background: rgba(201, 96, 43, 0.2);
  border-color: rgba(201, 96, 43, 0.4);
}

.hero-card.accent .card-text span {
  color: var(--secondary);
}

/* HOVER EFFECT */
.hero-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-card:active {
  transform: translateY(2px);
}

/* Card-style banner ya shows header */
.shows-header-card {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 25px;
  border-radius: 18px;
  margin: 0 auto 15px; /* Nafasi ndogo chini ya header */
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  max-width: fit-content;
  transition: all 0.3s ease;
}

.shows-header-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 1px;
}

/* Optional: hover effect ili liwe lively kama hero cards */
.shows-header-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
/* ===== PACKAGES SECTION ===== */
.packages-section {
  padding: 60px 20px;
  text-align: center;
  background: transparent !important; /* Hakikisha hakuna background nyeupe */
  color: white; /* Maneno ya default meupe */
}

/* Header ya Packages */
.packages-header-card {
  display: inline-block;
  background: transparent !important; /* Background iwe transparent */
  padding: 15px 30px;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: none;
  margin-bottom: 30px;
}

.packages-header-card h2,
.packages-header-card p {
  color: white; /* Header iwe meupe */
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

.packages-header-card p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
}

/* PACKAGES GRID */
.packages-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
  margin-top: 20px;
}

/* PACKAGE CARD */
.package-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: transparent !important; /* Ondoa background nyeupe */
  box-shadow: none !important; /* Ondoa shadow */
  transition: var(--transition-smooth);
  border: 1px solid rgba(255,255,255,0.1); /* Optional: light border for visibility */
}

.package-card img {
  width: 100%;
  height: 2500x;
  object-fit: cover;
}

.package-info {
  padding: 18px 15px;
}

.package-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: white; /* Maandishi meupe ili yaonekane kwenye background */
  margin-bottom: 8px;
}

.package-info .price {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(249, 168, 38, 0.9); /* Optional: accent color */
  margin-bottom: 8px;
  display: block;
}

.package-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85); /* Maandishi meupe kidogo transparent */
  margin-bottom: 15px;
}

.btn-small {
  background: var(--secondary);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.btn-small:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}


/* ===== BOOKING CARD SPECIAL ===== */
/* Wrapper ili booking card ionekane chini ya grid */
.booking-cta-wrapper {
  margin-top: 30px; /* nafasi juu */
  display: flex;
  justify-content: center; /* center card */
}

/* Booking card style (inabaki kama nilikuonyesha awali) */
.booking-card {
  background: rgba(201, 96, 43, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 96, 43, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  max-width: 600px; /* ili iwe full-width-ish lakini si too big */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.booking-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.booking-card p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
}

.booking-card .btn-small {
  background: var(--secondary);
  color: #fff;
  padding: 16px 36px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.booking-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  background: rgba(201, 96, 43, 0.3);
}

    /*#About fouter-------->*/
.about-footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Tumeongeza min-width */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.about-footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  width: 120px;
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li,
.footer-social ul li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-links ul li a,
.footer-social ul li a,
.social-icons a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-social ul li a:hover,
.social-icons a:hover {
  color: var(--accent); /* highlight on hover */
}

/* ==========================================
   SOCIAL ICONS - FULL CLEAN VERSION
   ========================================== */

/* 1. Container ya Icons */
.social-icons {
  display: flex;
  gap: 8px;                  /* Tumepunguza nafasi kati ya kadi (toka 12px) */
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
  overflow-y: visible;
  padding: 8px 5px 12px 5px; /* Padding imepunguzwa kidogo */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.social-icons::-webkit-scrollbar {
  display: none;
}

/* Ongeza nafasi ya ziada mwishoni mwa YouTube */
.social-icons::after {
  content: "";
  padding-right: 20px; 
  flex-shrink: 0;
}

/* Individual Social Link - ILIYOPUNGUZWA */
.social-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;                  /* Nafasi kati ya logo na maandishi imepungua */
  padding: 6px 4px;         /* Padding ya ndani imepunguzwa (Slim look) */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;        /* Corner ndogo zaidi */
  text-decoration: none;
  color: #ffffff;
  font-size: 0.75rem;        /* Font imekuwa ndogo kidogo (toka 0.85rem) */
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Logo Images - NDOGO ZAIDI */
.social-link img {
  width: 20px;               /* Logo imepunguzwa (toka 20px) */
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Hover Effect */
.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  border-color: var(--secondary);
}

/* ===== FOOTER BOX CONTAINER ===== */
.about-footer {
    /* Black Gradient yenye Opacity */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(12, 60, 72, 0.95) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    margin: 40px 20px;
    padding: 60px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    color: #ffffff;
}

/* Kurekebisha Grid ndani ya Box */
/* ===== FOOTER BOX CONTAINER ===== */
.about-footer {
    /* Black Gradient yenye Opacity ya Kifahari */
    background: linear-gradient(180deg, rgba(12, 60, 72, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    margin: 40px 20px;
    padding: 60px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    color: #ffffff;
}

/* Gridi ya Footer (Vifungu 5 sasa viko sambamba) */
.about-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-section h4 {
    color: #f9a826; /* Accent color */
    margin-bottom: 20px;
    text-transform: capitalize;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Maandishi ya Paragraphs */
.brand-info p, .section-p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-logo {
    width: 130px;
    margin-bottom: 20px;
}

/* Ads Badge Style */
.ads-badge {
    background: #c9602b;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

/* Social Cards */
.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    background: rgba(255, 255, 255, 0.07);
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #c9602b;
    transform: translateY(-3px);
}

.social-link img {
    width: 18px;
    height: 18px;
}

/* ==========================================
   FOOTER BOTTOM (CENTERED AREA)
   ========================================== */

.footer-bottom-final {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 40px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.app-download-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.barcode-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-code {
    width: 80px;
    height: 80px;
    background: #ffffff;
    padding: 7px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.barcode-wrapper span {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: 600;
}

.play-badge {
    width: 165px;
    height: auto;
    transition: transform 0.3s ease;
}

.play-badge:hover { transform: scale(1.05); }

.copyright-text p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 600px) {
    .app-download-area { flex-direction: column; gap: 30px; }
    .about-footer { margin: 20px 10px; padding: 40px 15px; }
}

/* --- Background ya Modal (Inaziba tovuti yote ikiwa blur) --- */
.modal-overlay {
    display: none; /* Inajificha mwanzoni */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px); /* Blur ya tovuti ya nyuma */
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* --- Box la Fomu (Glass Design) --- */
.modal-glass-box {
    background: rgba(255, 255, 255, 0.1); /* Nyeupe ya uwazi sana */
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px); /* Blur ya ndani ya box */
    padding: 40px;
    border-radius: 30px;
    max-width: 650px;
    width: 100%;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    color: white;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 25px; top: 15px;
    font-size: 35px;
    cursor: pointer;
    color: #f9a826;
    transition: 0.3s;
}

.close-modal:hover { color: white; }

.modal-header h2 { color: #f9a826; margin-bottom: 5px; }
.modal-header p { font-size: 0.9rem; margin-bottom: 25px; opacity: 0.8; }

/* Grid ya Fomu */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-box label {
    font-size: 0.75rem;
    color: #f9a826;
    margin-bottom: 5px;
    display: block;
    text-transform: uppercase;
}

.input-box input, .input-box select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    outline: none;
    transition: 0.3s;
}

.input-box input:focus { border-color: #f9a826; background: rgba(255, 255, 255, 0.15); }

.btn-submit-modal {
    width: 100%;
    margin-top: 30px;
    padding: 15px;
    background: #c9602b;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit-modal:hover { background: #f9a826; transform: translateY(-2px); }

/* Kwenye Simu */
@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .modal-glass-box { padding: 25px; }
}

/* Muonekano wa kila boksi la kujaza (Input Box) */
.input-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

.input-box label {
    font-size: 13px;
    font-weight: 600;
    color: #f9a826; /* Rangi ya dhahabu/orange */
    margin-bottom: 5px;
    margin-left: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-box input, 
.input-box select {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important; /* Kingo laini zaidi */
    padding: 12px 15px !important;
    color: white !important;
    font-size: 15px !important;
    transition: all 0.3s ease;
    outline: none;
}

/* Wakati mteja anabonyeza kuandika (Focus Effect) */
.input-box input:focus, 
.input-box select:focus {
    background: rgba(0, 0, 0, 0.5) !important;
    border-color: #f9a826 !important; /* Inabadilika kuwa dhahabu */
    box-shadow: 0 0 10px rgba(249, 168, 38, 0.3);
    transform: translateY(-2px); /* Inajinyanyua kidogo */
}

/* Marekebisho ya Select Box (Dropdown) */
select#fpackage option {
    background-color: #121212 !important; /* Background nyeusi ya machaguo */
    color: white !important;
    padding: 15px !important;
}

/* Placeholder (Maandishi yanayofifia) */
::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

:root {
    --header-bg: #1a1a1a;
    --accent: #f9a826;
    --text-light: #ffffff;
}

.main-header {
    background: var(--header-bg);
    border-bottom: 3px solid var(--accent);
    padding: 12px 0;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 95%; /* Hii itaruhusu vitu vitanuke mpaka pembeni ya kioo */
    margin: 0 auto;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0 10px; 
}

.header-logo {
    height: 65px;
    width: auto;
    margin-left: 0px; /* Cheza na hii kusogeza logo kulia */
}

.contact-box {
    display: flex;
    gap: 20px;
    margin-left: auto; /* Hii inasukuma vibox vyote kulia kabisa mbali na logo */
    margin-right: 10px; /* Inatoa nafasi kidogo isiitegemee ukuta wa kulia (cheza na namba hii) */
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.07);
    padding: 10px 18px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item .icon {
    font-size: 20px;
    background: var(--accent);
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #000;
}

.contact-item .details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item small {
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* MUONEKANO WA LINKS (SIMU NA EMAIL) */
.contact-link {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none; /* Inafuta mstari wa chini */
    font-weight: bold;
    line-height: 1.3;
    transition: 0.3s;
}

.contact-link:hover {
    color: var(--accent); /* Inabadilika rangi kuwa dhahabu ukigusa */
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .contact-box {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .contact-item {
        justify-content: center;
    }
}

.official-logo {
    width: 120px; /* Unaweza kuongeza au kupunguza hapa */
    height: auto;
    border-radius: 15px; /* Inafanya video iwe na kona za duara kidogo */
    margin-bottom: 10px;
    object-fit: contain; /* Inahakikisha video haikatwi (crop) vibaya */
}



.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden; /* Muhimu: Inazuia video isivuje nje ya header */
}

/* Video ijaze kioo chote cha hero */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1; /* Inakaa nyuma kabisa */
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Overlay iwe juu ya video lakini chini ya maandishi */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Unaweza kuongeza namba hii ukitaka iwe kiza zaidi */
  z-index: 2;
}

/* Maandishi na vibox viwe juu kabisa */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

/* Kadi zako za hero-buttons zibaki na muonekano wako wa zamani */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* PRELOADER CSS */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
    transition: opacity 0.5s ease;
}

.loader-logo {
    width: 80px;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.loader-line {
    width: 150px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #f9a826, transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    100% { left: 100%; }
}