/* style.css - classic green & white theme with fixed hero background */

/* Google fonts: clean sans for UI and a trustworthy serif for headings */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Merriweather:wght@700&display=swap');

:root{
  --green: #1E5F3F;
  --accent: #A67C52;
  --muted: #E6CBA8;
  --card: #ffffff;
  --text: #05203a;
  --shadow: 0 12px 30px rgba(4,22,66,0.08);
  --toast-bg: #059669;
}

/* reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;font-family:Inter,system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial;background:linear-gradient(180deg,#f7fbf9,#fff);color:var(--text);-webkit-font-smoothing:antialiased}
.container{max-width:1100px;margin:0 auto;padding:0 16px}

/* Header */
.header{background:linear-gradient(90deg, rgba(30,95,63,0.95), rgba(34,104,68,0.95));padding:14px 0;box-shadow:var(--shadow);position:relative;z-index:50}
.header-container{display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand-link{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.logo-icon{width:56px;height:56px;border-radius:10px;overflow:hidden;box-shadow:0 8px 22px rgba(0,0,0,0.12);background:linear-gradient(180deg,var(--accent),#8d6446);display:flex;align-items:center;justify-content:center}
.logo-icon .logo-img{width:100%;height:100%;object-fit:cover;display:block}
.brand-title{font-family:'Merriweather',serif;font-size:18px;color:var(--muted);font-weight:700}
.brand-slogan{font-size:12px;color:#e8dfcf}

/* Nav */
.nav-list{display:flex;gap:22px;list-style:none}
.nav-list a{color:#fff;text-decoration:none;font-weight:600}
.nav-list a:hover{color:var(--muted)}

/* Hamburger */
.hamburger{display:none;background:transparent;border:0;cursor:pointer;padding:8px}
.hamburger span{display:block;width:26px;height:3px;background:#fff;margin:4px 0;border-radius:3px}

/* Mobile menu */
.mobile-menu{display:none;background:linear-gradient(180deg,var(--green),#2e6f4d);color:#fff}
.mobile-menu ul{list-style:none;margin:0;padding:12px}
.mobile-menu a{color:#fff;text-decoration:none;display:block;padding:8px 0}

/* Hero - fixed background */

.hero {
  position: relative;
  padding: 100px 0 80px;
  background-image: url('../image/hero-image.jpg'), linear-gradient(180deg, #e6cba8 0%, #1e5f3f 100%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 340px;
}
.hero-overlay {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(30,95,63,0.68), rgba(255,255,255,0.08));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 36px 16px;
  text-shadow: 0 2px 12px rgba(30,95,63,0.18);
}
.hero-content h1 {
  font-family: 'Merriweather', serif;
  font-size: 36px;
  margin-bottom: 8px;
  line-height: 1.15;
}
.hero-sub {
  color: rgba(230,203,168,0.98);
  max-width: 820px;
  margin: 8px auto 16px;
  font-size: 18px;
  text-shadow: 0 1px 8px rgba(30,95,63,0.12);
}
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(166,124,82,0.14);
  transition: background 0.2s;
}
.cta-btn:hover {
  background: #8d6446;
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 0 40px;
    min-height: 180px;
    background-attachment: scroll;
  }
  .hero-content h1 {
    font-size: 22px;
  }
  .hero-sub {
    font-size: 14px;
  }
}

/* sections */
.section-container{max-width:1100px;margin:36px auto;padding:0 16px}
.h2{font-size:18px;font-weight:800;margin-bottom:8px}
.lead{color:#334155;max-width:720px;margin:0 auto 12px}

/* grid & cards */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.card{background:var(--card);border-radius:12px;padding:18px;box-shadow:var(--shadow);border:1px solid rgba(7,18,40,0.03)}
.service h3{font-family:'Playfair Display',serif;font-size:18px;margin-bottom:8px}
.service h3{font-family:'Merriweather',serif;font-size:18px;margin-bottom:8px}

/* testimonials */
.test-row{display:flex;gap:14px;align-items:center}
.test-row img{width:84px;height:84px;border-radius:12px;object-fit:cover;box-shadow:0 8px 20px rgba(6,18,40,0.12);border:2px solid rgba(255,255,255,0.08)}
.test-row strong{display:block;font-size:15px;color:var(--text)}
.test-row .small{margin-top:4px;color:#6b7280}

/* auth card */
.auth-card{max-width:640px;margin:20px auto}
.center-card{margin-left:auto;margin-right:auto}
.tabs{display:flex;border-bottom:1px solid rgba(6,18,40,0.04)}
.tab{flex:1;padding:12px 14px;text-align:center;cursor:pointer;background:transparent;border:0;font-weight:700;color:var(--text)}
.tab.active{color:var(--green);border-bottom:3px solid var(--green)}
.tab-content{padding-top:14px;display:none}
.tab-content.active{display:block}

/* form controls */
.input{width:100%;padding:12px;border-radius:10px;border:1px solid #eef4f2;margin-top:10px;background:#fff}
.btn{display:inline-block;padding:10px 14px;border-radius:10px;border:0;cursor:pointer;color:#fff;background:var(--green);font-weight:700}
.btn.alt{background:var(--accent)}
.logout-btn{padding:10px 18px;background:#ef4444;color:#fff;border:0;border-radius:10px;cursor:pointer}

/* tx list */
.tx-item{padding:12px;border-bottom:1px solid #f3f6fb;display:flex;flex-direction:column;gap:6px}

/* footer */
.footer-actions{padding:18px;text-align:center;color:var(--muted);font-size:14px;margin-top:20px}

/* toast */
#toast{position:fixed;right:18px;top:18px;z-index:9999;background:var(--toast-bg);color:#fff;padding:10px 14px;border-radius:10px;box-shadow:0 6px 20px rgba(5,150,105,0.18);opacity:0;transform:translateY(-8px);transition:opacity .28s ease, transform .28s ease}
#toast.show{opacity:1;transform:translateY(0)}

.muted{color:#6b7280;font-size:13px}
.small{font-size:12px;color:#94a3b8}

/* responsive */
@media (max-width:920px){
  .nav-list{display:none}
  .hamburger{display:block}
  .mobile-menu{display:none}
  .mobile-menu.active{display:block}
  .hero-content h1{font-size:28px}
  .brand-title{font-size:16px}
}

/* Withdrawal Carousel Banner - Below Header */
.withdrawal-banner {
  background: linear-gradient(90deg, #059669 0%, #10b981 100%);
  padding: 12px 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 40;
}

.carousel-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  animation: fadeInSlide 0.6s ease-in-out;
}

.carousel-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

#carouselName, #carouselAmount {
  animation: slideTextIn 0.4s ease-in-out;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideTextIn {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}
