


/* Your container */
.page-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  min-height: 200vh;            /* demo long page */
  box-sizing: border-box;

  position: relative;            /* create stacking context */
  z-index: 0;                    /* content above background layer */
}


.dashboard-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;

  border-bottom: 1.5px solid #d0a53b;
  padding: 0 0 7px 0;
   font-family: 'Rubik', sans-serif;
  color: #272727;
}


.title-stack{
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 🔑 ensures no centering drift */
  line-height: 1.4;
  margin-left: 4px;
}


.system-title{
 
}

.system-subtitle{
  font-size: 0.78rem;
  font-weight: 500;
  color: white;        /* muted gold – matches your theme */
  letter-spacing: 0.8px;
    word-spacing: 0.15em;

  text-transform: uppercase;
  margin-top: 4px;
   border-radius: 3px;
  padding: 4.5px 7px;
  background-color: #550d0dd5;
  
}



.system-title{
  color: black;
  font-size: 17px;
}


.header-left {
  display: flex;
  justify-content: center;  /* Centers horizontally if space allows */
  align-items: center;       /* ✅ Vertically centers all children */
  gap: 6px;
 
}

.header-right {
   display: flex;
    justify-content: flex-end;
    gap: 12px;
    color: #000;
}

  
.whatsapp-icon, .chat-icon{
    color: #550d0d;
}
.help-text{
  color: #550d0d;
}

.signout-link {
    margin-left: 4px;
    color: #d79e17;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.signout-link:hover svg {
    stroke: #f10c0c; /* highlight on hover */
}

.help-section {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap; /* prevents wrapping to 2 lines */
}

.phone-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 4.5px;
    background-color: #c69014;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Coda', sans-serif;
}

.logo {
    height: 60px;
    width: 185px;
}

.vertical-divider {
    width: 0.3px;
    height: 71px;
    background-color: #272727;
}

.admin-name,
.help-section,
.header-title {
    display: flex;
    align-items: center; /* 🔑 vertically centers icons & text */
    gap: 6px; /* space between items */
}

.admin-name svg,
.help-section svg {
    vertical-align: middle;
    position: relative;
    top: 1px; /* fine-tune if needed */
}

/* Hover effect */
.header svg:hover,
.header a:hover,
.help-section svg:hover,
.help-section a:hover {
    color: #c69014; /* 🔴 red hover (pick your brand color) */
    cursor: pointer;
}



 





.mobile-menu-btn {
  display: none;
  width: 46px;
  height: 42px;
  border: none;
  border-radius: 6px;
  background: #d79e17;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
   z-index: 10001;

}

.mobile-menu-btn span {
  width: 22px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 10px;
  display: block;
}

@media (max-width: 868px) {
  .page-container {
  width: 95%;                     /* content above background layer */
}

  .dashboard-header {
    min-height: 75px;
    padding: 10px 0;
    box-sizing: border-box;
    border-bottom: 2px solid #d0a53b;
  }

  .header-right {
    display: none;
  }
  .header-center {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
    flex-shrink: 0;
  }

  .header-left {
    justify-content: flex-start;
    gap: 7px;
    min-width: 0;
  }

  .logo {
    width: 160px;
    height: auto;
  }

  .vertical-divider {
    height: 54px;
  }

  .title-stack {
    min-width: 0;
    line-height: 1.2;
  }

  .system-title {
    font-size: 15px;
    line-height: 1.2;
  }

  .system-subtitle {
    font-size: 0.62rem;
    padding: 4px 6px;
    margin-top: 5px;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
    .page-container {
  width: 95%;                     /* content above background layer */
}
  .dashboard-header {
    min-height: 88px;
    padding: 12px 0;
  }

  .logo {
    width: 115px;
  }

  .system-title {
    font-size: 12px;
  }

  .system-subtitle {
    font-size: 0.58rem;
  }

  .mobile-menu-btn {
    width: 42px;
    height: 40px;
  }
}







/* =========================================
   MOBILE SIDEBAR
========================================= */

.mobile-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 9998;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -290px;

  width: 280px;
  max-width: 82vw;
  height: 100vh;
  background: #ffffff;

  box-shadow: 4px 0 24px rgba(0,0,0,0.18);

  transition: left 0.38s ease;
  z-index: 9999;

  display: flex;
  flex-direction: column;
}

.mobile-sidebar-top {
  padding: 22px 18px 0;

 }

.sidebar-logo {
  display: block;
  width: 215px;
  height: auto;
  margin: 0 auto;
}

.sidebar-system-title {
  display: block;

  margin-top: 5px;
  padding: 0 12px;
letter-spacing: 0.1px;
  text-align: center;
  line-height: 1.35;

  font-family: 'Rubik', sans-serif;
  font-size: .95rem;
  font-weight: 500;

  color: #272727;

  letter-spacing: 0.15px;
 }

.mobile-sidebar-content {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  padding: 12px 0;

}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px 14px;
  border-radius: 7px;

  text-decoration: none;

  color: #222;
  font-family: 'Rubik', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;

  transition: 0.25s ease;
}

.mobile-link i {
  color: #550d0d;
  font-size: 1rem;
  width: 20px;
}

.mobile-link:hover {
  background: #f4f4f4;
  color: #550d0d;
}

/* OPEN STATE */

.mobile-sidebar.active {
  left: 0;
}

.mobile-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================================
   HAMBURGER TO X
========================================= */

.mobile-menu-btn {
  color: #000;
  position: relative;
}

.mobile-menu-btn span {
  transition: 0.32s ease;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}



 


.mobile-sidebar {
  justify-content: space-between;
}

.mobile-sidebar-bottom {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid #eeeeee;
  background: #fafafa;
  margin-bottom: 20px;
}

.mobile-help-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 12px;
  font-family: 'Rubik', sans-serif;
}

.mobile-help-section .help-text {
  font-size: 1rem;
  font-weight: 600;
  color: #1d1d1d;
}

.mobile-help-section .chat-icon,
.mobile-help-section .whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #550d0d;
  font-size: 1.8rem;
}

.mobile-phone-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    width: fit-content;
    border-radius: 4.5px;
    background-color: #c69014;
    color: #fff;
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: .5px;
    font-family: 'coda', sans-serif;
    margin: auto;
}

.mobile-phone-box i {
  font-size: 0.85rem;
}









.mobile-sidebar-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;

  padding: 30px 0;
 }

.mobile-sidebar-social a {
  color: #550d0d;
  font-size: 1.6rem;
  transition: all 0.25s ease;
}

.mobile-sidebar-social a:hover {
  color: #c69014;
  transform: translateY(-2px);
}














/* ==========================================================
   UNIVERSAL MODAL BASE (Applies to all modals)
========================================================== */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.modal.show {
  opacity: 1;
  pointer-events: all;
}

.modal.hide {
  opacity: 0;
  pointer-events: none;
}

 
.modal.show .modal-content { transform: scale(1); }
.modal.hide .modal-content { transform: scale(0.95); }

















/* Footer container */
.footer-container {
  margin-top: 60px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 30px;
  width: 100%;
  min-height: 300px;
  padding: 40px 30px;
  background-color: #776161;

  /* 🆕 center the grid items (columns) vertically */
  align-items: center;

  overflow: hidden;
}

/* Each column */
.footer-container .colom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;

  /* 🆕 center the cards inside each column */
  justify-content: center;   /* vertical */
  align-items: center;       /* horizontal */

  gap: 10px;
  text-align: left;
  color: #fff;
  padding: 0;
  height: 100%;
}


/* Background image */
.footer-container .footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.85;
}

 
/* Contact card */
.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: left;
 
  background: rgba(255, 255, 255, 0.651);
  color: #1a1a1a;
  padding: 20px;
  border-radius: 4px;
  max-width: 260px;
  font-size: 0.95rem;
  line-height: 1.5;
  font-family: 'rubik';
}



/* Contact card */
.values-card {
  display: flex;
  flex-direction: column;
  justify-content: left;
  background: rgba(255, 255, 255, 0.267);
  color: #1a1a1a;
  padding: 10px;
  border-radius: 4px;
  max-width: 260px;
  font-size: 0.90rem;
  line-height: 1.4;
  font-family: 'rubik';
}



.values-card h3 {
  font-size: 20px;
  line-height: 1;
  color: white;
  margin: 0;
  margin-bottom: 4px;      /* reduce spacing */
}

.values-card ul {
  margin-top: 4px;         /* close the gap */
 
}


/* Logo */
.card-logo {
  display: block;       /* make the image a block */
  width: 200px;
  margin: 0 auto 12px;  /* top 0, bottom 12px, horizontally centered */
}

/* Contact list */
.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  text-shadow: 0.2px 0.2px 0.3px #ffffff; /* subtle black shadow */

}

.contact-card li {
  display: flex;
  align-items: first baseline;
  margin: 8px 0;
}

.contact-card li i {
  color: #f3ae1b;
  margin-right: 10px;
  vertical-align: baseline; /* 'first baseline' isn't valid in CSS */
  text-shadow: 0.5px 0.5px 0.5px #000; /* subtle black shadow */
}

/* Social media icons */
.social-icons {
  display: flex;
  gap: 17px;
  align-items: center;
  justify-content: center; /* center horizontally */
  margin-top: 12px;
}

.social-icons a {
  color: #2f0702;
  font-size: 1.7em;
  transition: transform 0.2s, color 0.2s;
    text-shadow: 0.5px 0.5px 0.5px #b9b9b9; /* subtle black shadow */

}

.social-icons a:hover {
  transform: scale(1.2);
  color: #ffd95b;
}


.global-search-box {
  display: flex;
  width: 100%;               /* always take full column width */
  max-width: 600px;          /* increase max width */
  margin: 0 auto;            /* center horizontally */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
  padding: 0 10px;
  box-sizing: border-box;
  margin-top: 30px;
   box-shadow:  1px 1px rgba(0, 0, 0, 0.4); /* smooth shadow */
}




.global-search-box input {
  flex: 1;                    
  padding: 12px 16px;
  border: none;
  font-size: 0.95rem;
  outline: none;
}

.global-search-box button {
  padding: 12px 16px;
  border: none;
  background-color: #ffffff;
  color: #651313;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.global-search-box button:hover {
 
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .global-search-box {
    max-width: 100%;        
    padding: 0 5px;         
  }

  .global-search-box input, 
  .global-search-box button {
    padding: 10px;
    font-size: 0.9rem;
  }
}
/* Website overlay – small card under values card */
/* Small card under the values-card, same column */
.website-overlay {
  width: 100%;
  max-width: 260px;              /* match values-card width */
  box-sizing: border-box;

  background: rgba(0, 0, 0, 0.74);
  color: #ffffff;

  padding: 10px 14px;
  border-radius: 4px;
  margin-top: 8px;               /* small gap under values-card */

  display: flex;
  flex-direction: column;        /* stack disclaimer + link */
  align-items: flex-start;       /* left-align content */

  font-family: 'Rubik', sans-serif;
  font-size: 0.9rem;
  text-align: left;
}
/* Disclaimer text */
.website-overlay .disclaimer {
  margin: 0 0 6px 0;
  font-size: 11px;
  line-height: 1.3;
  color: #f5f5f5;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.7);
}

/* ROW: Globe + “Official Website” + Link */
.website-link-line {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
}

/* Globe icon */
.website-link-line i {
  color: #d99f1a;
  font-size: 1.2rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Icon hover pulse */
.website-link-line:hover i {
  transform: scale(1.2);
  color: #ffcf5b;
}

/* Link */
.website-link-line a {
  text-decoration: none;
  font-weight: bold;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  position: relative;
  transition: color 0.3s ease;
}

/* Underline slide effect */
.website-link-line a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #a77406, #ffcf5b);
  transition: width 0.3s ease;
}

/* Hover underline expands */
.website-link-line a:hover::after {
  width: 100%;
}

/* Hover glow */
.website-link-line a:hover {
  color: #ffcf5b;
  text-shadow: 0px 0px 6px rgba(255, 198, 70, 0.8);
}

/* “ntonga” */
.site-name-part1 {
  color: #a77406;
  font-family: 'Rubik';
   transition: color 0.3s ease;
}

/* “.africa” */
.site-name-part2 {
  color: #f5f5f5;
  transition: color 0.3s ease;
}

/* Text shimmer on hover */
.website-link-line a:hover .site-name-part1 {
  color: #ffcf5b;
}

.website-link-line a:hover .site-name-part2 {
  color: #ffcf5b;
  text-shadow: 2px 2px 2px 4px rgb(255, 255, 255);}


/* Globe icon inside footer website line */
.website-link-line i.fa-globe {
  position: static;       /* cancel absolute */
  transform: none;
  right: auto;
  top: auto;
  font-size: 1.2rem;
  color: #d99f1a;
}




.brown-line {
  width: 100% !important;         
  margin: 0 !important;           
  padding: 0;

  height: 60px;                   /* your preferred height */
  
  display: flex;
  justify-content: center;
  align-items: center;

  background-color: #2b0000;     /* your brown footer bar */
  color: #ffffff;
  
  font-size: 0.80rem;
  font-family: 'rubik';

  border-radius: 0 !important;   /* ensure square full-width */
  box-shadow: none !important;   /* no shrink effect */
}




.footer-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}



.registered-counter {
  margin-top: 60px;   /* reduced gap */
  color: #fff;
  font-family: 'Rubik', sans-serif;
  line-height: 1;
  padding: 0;
}

.registered-counter .counter-title,
.registered-counter .counter-number,
.registered-counter .counter-subtitle {
  margin: 0;
  padding: 0;
  line-height: 1;   /* remove extra line spacing */
}

.registered-counter .counter-title {
  font-size: 1rem;
  font-weight: 500;
}

.registered-counter .counter-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ebac18;
  font-family: 'Rajdhani', sans-serif;
}

.registered-counter .counter-subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  max-width: 180px;
}






 









/* ================================
   FOOTER MOBILE RESPONSIVE
================================ */
@media (max-width: 1168px) {

  .footer-container {
   
   
  }


}
/* ===============================
   FOOTER RESPONSIVE FIX
   Put this at the VERY BOTTOM
================================ */

@media (max-width: 768px) {

    .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px 14px !important;
    overflow: visible;
  }

  .footer-container .colom {
    width: 100%;
    height: auto;
  }

  .footer-container .colom {
    height: auto;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
  }

  .contact-card,
  .values-card,
  .website-overlay {
    width: 100%;
    max-width: 265px;
    box-sizing: border-box;
  }

  .contact-card {
    padding: 14px;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .card-logo {
    width: 145px;
    margin-bottom: 8px;
  }

  .contact-card li {
    margin: 5px 0;
    align-items: flex-start;
    line-height: 1.25;
  }

  .contact-card li i {
    margin-right: 7px;
    font-size: 0.7rem;
    padding-top: 3px;
  }

  .social-icons {
    gap: 12px;
    margin-top: 8px;
  }

  .social-icons a {
    font-size: 1.15em;
  }

  .global-search-box {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 0 6px;
  }

  .global-search-box input {
    min-width: 0;
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .global-search-box button {
    padding: 8px 9px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .registered-counter {
    margin-top: 10px;
    text-align: center;
  }

  .registered-counter .counter-title {
    font-size: 0.75rem;
  }

  .registered-counter .counter-number {
    font-size: 2.2rem;
  }

  .registered-counter .counter-subtitle {
    font-size: 0.72rem;
    max-width: 190px;
    margin: 0 auto;
    line-height: 1.2;
  }

  .values-card {
    padding: 12px 14px;
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .values-card h3 {
    font-size: 13px;
    line-height: 1.15;
  }

  .values-card ul {
    margin: 4px 0 0;
    padding-left: 16px;
  }

  .values-card li {
    margin-bottom: 2px;
  }

  .website-overlay {
    padding: 9px 10px;
    margin-top: 0;
    font-size: 0.72rem;
    align-items: center;
    text-align: center;
  }

  .website-overlay .disclaimer {
    font-size: 9px;
    line-height: 1.2;
  }

  .website-link-line {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    font-size: 0.72rem;
  }

  .website-link-line i,
  .website-link-line i.fa-globe {
    font-size: 0.85rem;
  }

  .brown-line {
    height: auto;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.68rem;
    line-height: 1.25;
    text-align: center;
    box-sizing: border-box;
  }
}




























.page-container-admin {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  min-height: 200vh;            /* demo long page */
  box-sizing: border-box;

  position: relative;            /* create stacking context */
  z-index: 0;                    /* content above background layer */
}






 

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: clip;   /* best: prevents sideways scroll without layout weirdness */
}
:root{
  --grid-height: 100%;
  --tile: 22px;
  --sq: 4px;
  --gold: #caa25d;
  --mask-cycle: 100vh;   /* one fade-in/out cycle height */
  --header-h: 0px;       /* fallback if JS hasn't set it */
}




.page-container-admin {
  width: 100%;
   margin: 0 auto;
  padding: 20px 0;
  min-height: 200vh;            /* demo long page */
  box-sizing: border-box;

  position: relative;            /* create stacking context */
  z-index: 0;       
  padding-right:7px ;           
}

.page-container {
  position: relative;
  z-index: 0;

  --header-h: 0px;
  --grid-height: 100%;
  --tile: 28px;
  --mask-cycle: 260px;
}
.age-container::before {
  content: "";
  position: absolute;

  top: 50px;                    /* leave first 50px clean */
  left: 0;
  right: 0;
  height: calc(100% - 50px);

  pointer-events: none;
  z-index: -1;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Crect x='12' y='12' width='4' height='4' fill='%23c48c28'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: var(--tile) var(--tile);
  opacity: 0.4;

  -webkit-mask-image: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.85) 50%,
    rgba(0,0,0,0) 100%
  );
  mask-image: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.85) 50%,
    rgba(0,0,0,0) 100%
  );

  -webkit-mask-size: 100% var(--mask-cycle);
  mask-size: 100% var(--mask-cycle);
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}