/* =========================================    1. RESET & FONTS (CORE)    ========================================= */
@font-face {
  font-family: "Lexend Deca Fallback";
  ascent-override: 91%;
  descent-override: 23%;
  line-gap-override: 0%;
  src: local("Arial");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Lexend Deca", "Lexend Deca Fallback", sans-serif !important;
  background-color: #f4f6f8 !important;
  color: #222222;
  line-height: 1.6;
} /* =========================================    2. NAVIGATION & HEADER    ========================================= */
.site-header {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-top-bar {
  background-color: #111827;
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}
.header-top-bar .container {
  flex-wrap: wrap;
  gap: 10px;
}
.header-top-bar a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}
.header-top-bar a:hover {
  opacity: 1;
}
.logo-area,
.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-main {
  background-color: #fff;
  padding: 15px 0;
}
.logo-main img.logo {
  height: 45px;
  width: auto;
  display: block;
}
.logo-text {
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 1px solid #e0e0e0;
  padding-left: 20px;
}
.logo-text strong {
  font-size: 20px;
  color: #333;
  display: block;
  font-weight: 700;
  line-height: 1.2;
}
.logo-text small {
  font-size: 13px;
  color: #666;
  display: block;
} /* Navbar */
.navbar {
  background: #f7f8fa;
  border-top: 1px solid #e7e7e7;
}
.nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: #444;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  display: block;
} /* UPDATED: Nav Hover Colors (Darker variation for text visibility) */
.nav-menu a:hover,
.nav-menu a.active {
  color: #d69e2e; /* Darker gold/yellow for text readability */
  background-color: rgba(252, 215, 150, 0.15); /* Very light yellow BG */
}
.nav-menu a.active {
  border-bottom-color: #fcd796; /* The main requested color */
  font-weight: 700;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
} /* Header/Nav Media Queries */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 80%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 0 20px;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.35s ease-in-out;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu a {
    border-bottom: 1px solid #f0f0f0;
  }
  .hamburger {
    display: flex;
    z-index: 1100;
  }
  .navbar .container {
    justify-content: flex-end;
  }
}
@media (min-width: 769px) {
  .logo,
  .nav-menu {
    width: 100%;
  }
  .nav-menu {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .logo-area {
    flex-direction: row;
    gap: 15px;
  }
  .logo-text {
    border-left: none;
    padding-left: 0;
  }
  .logo-text small {
    font-size: 11px;
  }
  .mobile-hide {
    display: none !important;
  }
  .header-top-bar .container {
    justify-content: center;
    text-align: center;
  }
  .header-main .container {
    display: flex;
    justify-content: space-between;
  }
} /* =========================================    3. FOOTER    ========================================= */
.site-footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 60px 20px 30px;
  font-size: 0.95rem;
  margin-top: 4rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-column h3 {
  color: #fcd796; /* UPDATED: Changed footer headers to main color */
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li a {
  color: #d1d5db;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  transition: all 0.2s;
}
.footer-column ul li a:hover {
  color: #fff;
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 50px;
  padding-top: 30px;
  text-align: center;
}
.social-icons a {
  margin: 0 10px;
  display: inline-block;
  transition: transform 0.2s;
}
.social-icons a:hover {
  transform: scale(1.1);
  opacity: 1;
}
.help-footer {
  display: none;
} /* =========================================    4. HERO STATUS SECTION    ========================================= */
.hero-section {
  background: white;
  padding: 3rem 0;
  min-height: 400px;
  /* display: flex; */
  align-items: center;
  justify-content: center;
}
.status-check-card {
  background: #ffffff;
  max-width: 90vh;
  width: 100%;
  margin: 0 auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #eef0f2;
}
.status-header {
  text-align: center;
  margin-bottom: 25px;
}
.status-header h1 {
  font-size: 1.75rem;
  color: #111827;
  margin-bottom: 8px;
  font-weight: 700;
}
.status-header p {
  font-size: 0.95rem;
  color: #6b7280;
}
.status-form .form-group {
  margin-bottom: 20px;
}
.status-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
} /* UPDATED: Icon Color */
.status-form label i {
  color: #db9c30; /* Darker Gold for visibility on white */
  margin-right: 5px;
  width: 16px;
}
.status-form input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #f9fafb;
} /* UPDATED: Input Focus Colors */
.status-form input:focus {
  outline: none;
  border-color: #fcd796;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(252, 215, 150, 0.3);
} /* UPDATED: Button Colors */
.btn-check-status {
  width: 100%;
  padding: 14px;
  background-color: #fcd796; /* Main Color */
  color: #111827; /* Dark text for contrast against light yellow */
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
} /* UPDATED: Button Hover */
.btn-check-status:hover {
  background-color: #f0c475; /* Slightly darker/richer yellow */
}
.btn-check-status:active {
  transform: scale(0.98);
} /* =========================================    5. SERVICES GRID SECTION    ========================================= */
.services-section {
  padding: 4rem 0;
  background-color: #f4f6f8;
}
.section-title {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
}
.section-title h2 {
  font-size: 1.8rem;
  color: #111827;
  margin-bottom: 10px;
}
.section-title p {
  color: #6b7280;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.service-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
} /* Hover Animation */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(252, 215, 150, 0.8); /* UPDATED */
} /* UPDATED: Green top border -> Yellow top border */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #fcd796; /* Main Color */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::before {
  transform: scaleX(1);
} /* UPDATED: Icon Box Colors */
.icon-box {
  width: 50px;
  height: 50px;
  background-color: rgba(252, 215, 150, 0.2); /* Very light yellow BG */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #db9c30; /* Darker gold/yellow for icon visibility */
  font-size: 1.4rem;
  transition: background-color 0.3s, color 0.3s;
}
.service-card:hover .icon-box {
  background-color: #fcd796; /* Main Color on hover */
  color: #111827; /* Dark icon on hover for contrast */
}
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1f2937;
}
.service-card p {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.5;
} /* UPDATED: Link Text Color */
.link-text {
  margin-top: auto;
  font-weight: 600;
  color: #db9c30; /* Darker gold/yellow for readability */
  font-size: 0.9rem;
} /* =========================================    6. RESPONSIVE ADJUSTMENTS    ========================================= */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 15px;
    max-width: 80vh !important;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .status-check-card {
    padding: 20px;
  }
  .status-header h1 {
    font-size: 1.5rem;
  }
}



/* =========================================
   3. ARTICLE & TYPOGRAPHY
   ========================================= */
article {
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem !important;
    color: #222222;
}

article h1, article h2, article h3, article h4, article h5 {
    color: #1e1e1e;
    margin-bottom: 1rem;
    line-height: 1.3;
    max-width: 600px;
}

article h1 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

article h2 {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 5px solid #dca535;
}

article h3 {
    font-weight: 600;
}

article p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

/* Images within article */
article img {
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 4px;
}

article .in-article-img {
    margin: auto;
    height: 50vh;
    padding: 2vh;
    object-fit: contain;
}

/* Blockquotes */
article blockquote {
    border-left: 4px solid #dca535;
    background-color: #fffbf2;
    padding: 1.5rem;
    margin: 2rem 0;
    color: #444;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* Lists styling */
article ol, article ul {
    margin: 1.5rem 0 2rem 0;
    padding: 2rem;
    background-color: #fcfcfc;
    list-style-position: inside;
}

/* Remove border for nested lists */
article ol ol, article ol ul, article ul ol, article ul ul {
    border: none !important;
    background: transparent;
    padding: 0 0 0 1.5rem;
    margin: 0.5rem 0;
}

article li {
    margin-bottom: 0.75rem;
}

article ol li::marker, article ul li::marker {
    color: #dca535;
    font-weight: bold;
}

/* Tables */
article table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

article th, article td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

article th {
    background-color: #f1f3f5;
    font-weight: 700;
    color: #333;
}

article tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* =========================================
   7. RESULTS & LOADER STYLING
   ========================================= */

/* Loader */
.hidden { display: none !important; }

.sassa-loader {
    text-align: center;
    padding: 20px;
    margin-top: 15px;
}
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #fcd796; /* Your Gold Color */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Result Container */
.result-container {
    margin-top: 25px;
    border-top: 1px solid #eef0f2;
    padding-top: 20px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Application Info Box */
.app-info-box {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.info-item { display: flex; flex-direction: column; }
.info-label { font-size: 0.75rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.info-value { font-size: 0.95rem; color: #111827; font-weight: 600; }

/* Period Cards (The Months) */
.period-card {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}
.period-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.05); }

.period-left { display: flex; flex-direction: column; }
.period-name { font-weight: 700; font-size: 1rem; color: #111827; }
.period-date { font-size: 0.85rem; color: #6b7280; margin-top: 4px; }

/* Outcome Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: capitalize;
}

.status-approved { background-color: #d1fae5; color: #065f46; } /* Green */
.status-declined, .status-failed { background-color: #fee2e2; color: #991b1b; } /* Red */
.status-pending { background-color: #fef3c7; color: #92400e; } /* Orange */

/* Scrollbar for results if list is long */
.result-container {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #fcd796 #f9fafb;
}


.top-display-ad {
  display: block;             /* Standard block element */
  width: 100%;                /* Full width of the screen */
  text-align: center;         /* Centers the ad content horizontally */
  
  /* ⚠️ CRITICAL: Fixes the "Height of 0" issue */
  min-height: 280px;          /* Reserves space before the ad loads */
  
  /* Optional styling */
  margin-bottom: 15px;        /* Spacing below the ad */
  background-color: #f4f4f4;  /* Light grey background to see the box */
  overflow: hidden;           /* Keeps the content inside the box */
}