:root{
  --primary: #0f4cff;
  --dark: #0b1220;
  --text: #4b5563;
  --border: #e5e7eb;
  --light: #f7f9fc;
  --color-1: #D9CFC1;
  --color-2: #F2EDE6;
  --color-3: #F7E3C8;
  --color-4: #EFCB9C;
}

*{margin:0;padding:0;box-sizing:border-box;font-family:Inter,system-ui,sans-serif;}
body{color:var(--text);line-height:1.6;}
a{text-decoration:none;color:inherit;}

.container{
  max-width:1200px;
  margin:auto;
  padding:0 24px;        /* horizontal only */
  background:transparent;
}

/* HEADER */
header{
  position:sticky;
  top:0;
  border-bottom:1px solid var(--border);
  background-color: #efe9e3;
  z-index:1000;
}

.nav{
  max-width:1200px;
  margin:auto;
  padding:16px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px; /* space between logo & text */
  cursor:pointer;
  transition:opacity 0.3s ease;
}

.logo:hover{
  opacity:0.8;
}

.logo img{
  height:40px; /* adjust if needed */
  width:auto;
}

.logo-text{
  font-size:20px;
  font-weight:600;
  color:var(--dark);
  white-space:nowrap;
}

/* NAV LINKS */
.nav-links{
  display:flex;
  gap:28px;
  align-items:center;
}

.nav-links a{
  font-weight:500;
  color:var(--dark);
}

.nav-links .btn{
  background:var(--primary);
  color:#fff;
  padding:10px 18px;
  border-radius:8px;
  font-weight:600;
}

/* HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.hamburger span{
  width:24px;
  height:2px;
  background:var(--dark);
}

/* MOBILE MENU */
.mobile-menu{
  display:none;
  background:#fff;
  border-top:1px solid var(--border);
}

.mobile-menu a{
  display:block;
  padding:14px 24px;
  border-bottom:1px solid var(--border);
  font-weight:500;
}

/* HERO */
.hero-banner{
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:#fff;
  overflow:hidden;

  /* FIX */
  padding:20px;
}

.hero-banner img{
  width:100%;
  height:auto;
  object-fit:contain; /* IMPORTANT */
  display:block;
}

.hero{background:linear-gradient(180deg,#f9fbff,#fff);}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:60px;
  align-items:center;
}

.hero h1{
  font-size:46px;
  color:var(--dark);
  margin-bottom:16px;
}

.hero p{
  font-size:18px;
  margin-bottom:28px;
}

.actions a{
  display:inline-block;
  padding:14px 26px;
  border-radius:10px;
  font-weight:600;
  margin-right:12px;
}

.primary{
  background: #8d7b68;
  border: 1px solid #8d7b68;
  color: var(--dark);
}

.actions a.secondary{
  background:#c8b7a7;
  border:1px solid #c8b7a7;
  color:#0b1220;
}

.actions a.secondary:hover{
  background:#b8a796;
}

.mock{
  border:1px solid var(--border);
  border-radius:16px;
  height:360px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9ca3af;
  font-weight:600;
}

/* FEATURES */
.features{background:var(--light);}
.section-title{text-align:center;max-width:620px;margin:0 auto 60px;}
.section-title h2{color:var(--dark);font-size:34px;margin-bottom:10px;}

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

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:28px;
}

.card h3{color:var(--dark);margin-bottom:8px;}

/* SPLIT */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.checklist li{
  list-style:none;
  padding-left:28px;
  margin-bottom:14px;
  position:relative;
}

.checklist li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:#c7a979;
  font-weight:700;
}

/* CTA */
.cta{
  background:var(--primary);
  color:#fff;
  text-align:center;
}

.cta h2{font-size:36px;margin-bottom:14px;}
.cta a{
  display:inline-block;
  margin-top:20px;
  background:#fff;
  color:var(--primary);
  padding:14px 30px;
  border-radius:12px;
  font-weight:700;
}

/* FOOTER */
footer{
  background:#0b1220;
  color:#9ca3af;
  padding:60px 0;
}

footer .container{
  display:grid;
  grid-template-columns:6fr 3fr 3fr;
  gap:40px;
  justify-items:center;
}

footer .container > div:nth-child(4){
  grid-column:1/-1;
}

footer h4{color:#fff;margin-bottom:14px;}
footer p,footer a{font-size:14px;}

.certificates{
  display:flex;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
}

.certificates img{
  height:3rem;
  width:auto;
  object-fit:contain;
  opacity:0.8;
  transition:opacity 0.3s ease;
}

.certificates img:hover{
  opacity:1;
}

.footer-bottom{
  max-width:1200px;
  margin:40px auto 0;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,0.1);
  text-align:center;
  color:#6b7280;
  font-size:13px;
}

/* RESPONSIVE */
@media(max-width:900px){
  .hero-grid,.split{grid-template-columns:1fr;}
  .about-intro .split,
  .about-why .split {
    grid-template-columns: 1fr 1fr;
  }
  footer .container {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }
  footer .container > div:nth-child(4){
    grid-column: 1;
  }
  footer .certificates {
    justify-content: flex-start;
  }
  .actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .actions a {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }
  .hero h1{font-size:36px;}
  .nav-links{display:none;}
  .hamburger{display:flex;}
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #FFF6E6;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question span {
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* #faq {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
} */

/* ANALYTICS */
.analytics-box{
  background: var(--color-3);
  border:1px solid var(--border);
  border-radius:16px;
  padding:28px;
}

.analytics-box h4{
  color:var(--dark);
  margin-bottom:20px;
}

.chart .bar{
  margin-bottom:18px;
}

.chart .bar span{
  display:block;
  font-size:14px;
  margin-bottom:6px;
  color:var(--dark);
  font-weight:600;
}

.bar-track{
  width:100%;
  height:10px;
  background:#eef1f6;
  border-radius:20px;
  overflow:hidden;
}

.bar-fill{
  height:100%;
  background:#c7a979;
  border-radius:20px;
}

.trusted{
  background:#fff;
  padding:80px 0;
  overflow:hidden;
}

.trusted-title{
  text-align:center;
  font-size:22px;
  font-weight:600;
  color:#0b1220;
  margin-bottom:40px;
}

/* MARQUEE */
.logo-marquee{
  width:100%;
  overflow:hidden;
  position:relative;
}

.logo-track{
  display:flex;
  align-items:center;
  width:max-content;
  animation:scroll 30s linear infinite;
}

.logo-track img{
  height:40px;
  margin:0 40px;
  opacity:0.6;
  filter:grayscale(100%);
  transition:0.3s ease;
}

.logo-track img:hover{
  opacity:1;
  filter:grayscale(0%);
}

/* ANIMATION */
@keyframes scroll{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-50%);
  }
}

.hero {
  background: var(--color-1);
  padding-top: 5rem;
}
.trusted {
  background: var(--color-1);
}
#product {
  padding: 4rem 0;
  background: var(--color-2);
}
#analytics {
    background: var(--color-3);
}
#faq {
  padding: 4rem 0;
    background: var(--color-4);
}
.learning-section{
  padding: 4rem 0;
}

/* FORCE RESOURCES PAGE BACKGROUND VISIBILITY */
.resources-page .resources-section{
  background: var(--color-1);
  padding: 4rem 0;
}

.resources-section .grid {
  align-items: start;
  margin-top: -40px;
}


.learning-image {
  width: 100%;
  overflow: hidden;
}

.learning-image img {
  width: 100%;
  height: auto;
  max-height: 18rem;
  object-fit: contain;
  display: block;
}


/* =========================
   PAGE SECTION BACKGROUNDS
========================= */

/* ABOUT PAGE */
.about-intro,
.about-values,
.about-why{
  padding:80px 0;
}

.about-intro{
  background: var(--color-2);
}

.about-intro img,
.about-why img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.about-values{
  background: var(--light);
}

.about-why{
  background: var(--color-2);
}

/* CONTACT PAGE FIX */
.contact-page .contact-hero .container{
  text-align: center;
}

.contact-page .contact-section .grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.contact-page .contact-section .card{
  text-align: center;
}

/* FIX FAQ → FOOTER GAP (FINAL) */
/* #faq.features {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
} */


@media (min-width: 758px){
  .nav-links{
    gap: 20px;
  }
.nav-links a{
  padding: 5px 10px;
  background-color: #c8b7a7;
  transition: ease all .3s;
  border-radius: 10px;
}

.nav-links a:hover{
  background-color: #8d7b68;
}
}