:root {
  --navy: #0c213f;
  --navy-light: #122a4a;
  --lime: #a9d53a;
  --lime-dark: #6d961d;
  --text-light: #ffffff;
  --text-muted: #cfd5e4;
  --bg-light: #f4f8e9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--navy);
  color: var(--text-light);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER / NAV */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(
    to right,
    #1d4b3a,
    #2e7c47,
    #5aa93c,
    #91c93b
  );
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 16px;
  position: relative;
  z-index: 1;
}
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;  /* only left 30% of header */
  height: 100%;
  background: url("images/header-left-bg.jpg") no-repeat left center;
  background-size: cover;
  opacity: 0.2;  /* lighter so the green shines through */
  pointer-events: none;
}



.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
}

.logo-block img {
  height: 40px;
  width: auto;
}
.logo-main {
  height: 40px;
  width: auto;
  display: block;
}

.logo-badge {
  height: 30px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: flex-end;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.nav-link {
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  background: #ffffff;
  color: #234163;
}

.nav-link.active {
  background: #ffffff;
  color: #234163;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  padding: 6px 10px;
  font-size: 14px;
  cursor: pointer;
}

/* GENERIC SECTION STYLES */

main {
  min-height: 70vh;
}

section {
  padding: 60px 0;
}

section:nth-of-type(odd) {
  background-color: var(--navy);
}

section:nth-of-type(even) {
  background-color: var(--navy-light);
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0;
}

.section-title {
  text-align: center;
  margin-bottom: 32px;
}

.section-title span.kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: 26px;
}

.pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: #234163;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  border: none;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--lime);
  color: #234163;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  color: var(--lime);
  border: 2px solid var(--lime);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  color: #222;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
#home .plans .card {
  width: 300px;
}

.card img {
  height: 800px; /* adjust until perfect */
  width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
}

.card-title {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  margin-bottom: 16px;
}

.card .btn {
  font-size: 11px;
  padding: 8px 16px;
}

/* HOME SECTION */

#home .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}

#home .gallery img {
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  background:#222;
}

#home .hero-copy {
  text-align: center;
  margin-bottom: 40px;
}

#home .hero-copy h1 {
  font-size: 28px;
  color: var(--lime);
  margin-bottom: 10px;
}

#home .hero-copy p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 15px;
}

#home .plans {
  margin-bottom: 40px;
}

#home .plans .card {
  text-align: center;
  background: #ffffff;
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #f4f8e9 60%,
    #d9e9a8 100%
  );
}

#home .plans-bg {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 40px 24px;
  border-radius: 30px;
  background-image:
    linear-gradient(rgba(12, 33, 63, 0.75), rgba(12, 33, 63, 0.75)),
    url("images/plans-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


#home .plans .price {
  font-size: 20px;
  font-weight: 900;
  color: var(--lime-dark);
  margin-bottom: 4px;
}

#home .plans .note {
  font-size: 12px;
  color: #777;
  margin-bottom: 16px;
}

#home .testimonials {
  padding: 40px 0 10px;
  background: #ffffff;
  color: #222;
  border-radius: 40px 40px 0 0;
  margin-top: 30px;
}

#home .testimonial-cards .card {
  background: #ffffff;                          /* solid white */
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);     /* subtle depth */
  border-radius: 18px;
  padding: 20px 18px;
  border-top: 4px solid var(--lime);            /* lime accent bar */
  text-align: left;
}

#home .testimonial-cards .card p {
  font-size: 13px;
  color: #4a5568;
  font-style: italic;
  margin-bottom: 10px;
}

#home .testimonial-name {
  font-weight: 700;
  margin-bottom: 4px;
   text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: #7b8ba3;
}

#home .stars {
  margin-top: 10px;
  color: #f3b000;
  font-size: 13px;
}

#home .open-competitions {
  margin-top: 30px;
  text-align: center;
}

/* ABOUT SECTION */

#about .about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 30px;
  align-items: center;
}
/* ABOUT PAGE STYLING */
#about .about-hero {
  text-align: center;
  padding: 40px 0 20px;
}

#about .about-hero-img {
  width: 100%;
  max-width: 950px;
  border-radius: 20px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* FUNERAL PLANS */

#funeral-plans .plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

#funeral-plans .plan-header {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: #fff;
}

#funeral-plans .plan-name {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--lime);
}

#funeral-plans .plan-price {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 4px;
}

#funeral-plans ul {
  padding-left: 18px;
  margin: 6px 0 8px;
  font-size: 13px;
  color: #e6ecff;
}

#funeral-plans .premium-packages .card {
  background: #203459;
  color: #f9f9f9;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Funeral Plans – card layout refinements */
#funeral-plans .plan-card {
  text-align: left;
}

#funeral-plans .plan-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 6px 0 10px;
}

#funeral-plans .plan-section {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#funeral-plans .plan-section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--lime);
  margin: 0 0 4px;
}

#funeral-plans .plan-footnote {
  font-size: 11px;
  margin-top: 10px;
  color: var(--text-muted);
}

/* Premium packages on this page – keep them neat and readable */
#funeral-plans .premium-card {
  text-align: left;
}

#funeral-plans .premium-card ul {
  color: #e6ecff;
}

/* ION BASE */

#ion-base-integration .section-title h2 {
  font-size: 32px;
  letter-spacing: 0.25em;
}

/* CONTACT */

#contact .contact-box {
  background: rgba(3, 6, 20, 0.6);
  border-radius: 30px;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

#contact .contact-details h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

#contact .contact-details p {
  margin: 4px 0;
  font-size: 14px;
  color: var(--text-muted);
}

#contact .help-24 {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 900;
  color: var(--lime);
}

#contact .help-number {
  font-size: 22px;
  font-weight: 900;
}

/* FAQ */

#faq .faq-group-title {
  font-size: 16px;
  color: var(--lime);
  margin-top: 22px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

#faq dl {
  margin: 0;
}

#faq dt {
  font-weight: 700;
  margin-top: 10px;
  font-size: 14px;
}

#faq dd {
  margin: 4px 0 6px 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* PRIVACY */

#privacy .policy-inner {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 8px;
  background: rgba(5, 13, 32, 0.85);
  border-radius: 20px;
  padding: 24px 20px;
  font-size: 13px;
  color: var(--text-muted);
}

#privacy h3 {
  font-size: 16px;
  color: var(--lime);
  margin-top: 16px;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* MEDIA PAGE */
.media-page {
  padding: 80px 0;
  text-align: center;
}

.media-title {
  font-size: 60px;
  font-weight: 800;
  color: #b4d430; /* WISANI GREEN */
  margin-bottom: 40px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 80%;
  margin: 0 auto;
}

.media-card {
  background: #0d1e3c;
  border-radius: 20px;
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 20px;
  align-items: center;
  color: white;
}

.media-card img {
  width: 180px;
  height: 160px;
  object-fit: cover;
  border-radius: 15px;
}

.media-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: left;
}

.media-text p {
  font-size: 14px;
  text-align: left;
  line-height: 1.4;
  margin-bottom: 20px;
}

.read-more {
  color: #b4d430;
  font-weight: 700;
  text-decoration: none;
}

/* FULL WIDTH CARD (BOTTOM) */
.media-card.full {
  grid-column: span 2;
  grid-template-columns: 1fr 250px;
}

.media-card.full img {
  width: 250px;
  height: 200px;
}


/* COMPETITIONS */

#competitions .promo-image {
  margin-bottom: 26px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  background:#000;
}

#competitions .how-to-enter {
  max-width: 720px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-muted);
}

#competitions .how-to-enter h3 {
  color: var(--lime);
  margin-top: 20px;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0.04em;
}

#competitions ol {
  padding-left: 20px;
  margin-top: 4px;
}

/* FOOTER */

footer {
  background: #050a1a;
  padding: 24px 16px 18px;
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  margin: 0 6px;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-social {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 14px;
}

.footer-social span.icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.footer-brand-logos {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-disclaimer {
  margin-top: 10px;
  font-size: 10px;
  color: #8f98af;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .header-inner {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  #main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 8px;
  }

  #main-nav.open {
    display: flex;
  }

  #about .about-layout,
  #contact .contact-box {
    grid-template-columns: 1fr;
  }
}
/* Horizontal Image Strip */
.image-strip {
  width: 100%;
  overflow: hidden;
  margin: 20px auto 40px auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

.image-strip .strip-track {
  display: flex;
  gap: 20px;
  animation: slide-left 40s linear infinite;
}

.image-strip img {
  height: 220px;
  width: auto;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}

/* keyframes for auto sliding */
@keyframes slide-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.promo-banner {
  margin: 40px auto 20px auto;
  max-width: 1200px;  /* matches your wrapper width */
  padding: 0 16px;    /* matches site padding */
}

.promo-banner img {
  width: 100%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
/* ABOUT PAGE – background behind the text block */
.about-content-bg {
  margin-top: 30px;
  padding: 70px 24px;
  border-radius: 30px;
  background-image:
    linear-gradient(rgba(12, 33, 63, 0.65), rgba(12, 33, 63, 0.65)),
    url("images/plans-bg.jpg");  /* same background image as plans */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Centered text on top of that background */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

/* ABOUT US title – same lime green as used elsewhere */
.about-content h1 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--lime);  /* same green as “24 HOUR CONTROL ROOM” */
}

/* Paragraph styling */
.about-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: #f2f5f8;
}


