/* =========================================================
   FinSecure Advisory — Shared Stylesheet (site.css)
   Tech: CSS3, responsive, accessible, variables, minimal JS.
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root{
  --bg: #ffffff;
  --text: #2b2b2b;
  --muted: #6C6D71;
  --brand: #24C3C9;     /* header blue */
  --accent: #24C3C9;    /* tiffany */
  --line: rgba(108,109,113,.22);
  --shadow: 0 16px 44px rgba(108,109,113,.18);
  --radius: 20px;
  --max: 1180px;

  --cityOpacity: .20; /* background image opacity */
  --headerH: 96px;

  --focus: 0 0 0 4px rgba(36,195,201,.18);
}

/* ---------- Base ---------- */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: var(--muted);
  background: var(--bg);
  line-height: 1.55;
}

/* City background layer (subtle) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: url("assets/cityview.jpg") center/cover no-repeat fixed;
  opacity: var(--cityOpacity);
  z-index: -2;
}
body::after{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.92);
  z-index: -1;
}

img{ max-width:100%; display:block; }
a{ color: inherit; }
.container{ max-width: var(--max); margin: 0 auto; padding: 0 18px; }

/* ---------- Accessibility helpers ---------- */
.skip-link{
  position:absolute;
  left:-999px;
  top:8px;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
}
.skip-link:focus{ left: 12px; outline:none; box-shadow: var(--focus), var(--shadow); }

:focus-visible{
  outline: none;
  box-shadow: var(--focus);
  border-radius: 12px;
}

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--brand);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.header-inner{
  height: var(--headerH);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  min-width: 240px;
}

.brand-logo{
  width: 90px;
  height: 90px;
  padding: 3px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 14px 36px rgba(0,0,0,.14);
  object-fit: contain;
}


.brand-name{
  color: rgba(255,255,255,.96);
  font-size: 22px;      /* BIGGER text */
  font-weight: 600;
  letter-spacing: .3px;
}

.nav{
  display:flex;
  align-items:center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a{
  color: rgba(255,255,255,.92);
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.nav a:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
}

.nav a[aria-current="page"]{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.24);
}

/* Mobile menu button */
.menu-btn{
  display:none;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor:pointer;
}
.menu-btn:hover{ background: rgba(255,255,255,.18); }

.menu-panel{
  display:none;
  padding: 12px 18px 18px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.menu-panel a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  color: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.12);
  margin-top: 10px;
}
.menu-panel a:hover{ background: rgba(255,255,255,.12); }

/* ---------- Layout Blocks ---------- */
main{ padding: 22px 0 70px; }

.surface{
  background: rgba(255,255,255,.93);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero{
  padding: 22px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(36,195,201,.28);
  background: rgba(36,195,201,.10);
  margin-bottom: 12px;
  color: var(--muted);
}

h1,h2,h3{
  margin: 0 0 10px;
  line-height: 1.15;
  letter-spacing: -0.3px;
  font-weight: 500;
  color: var(--text);
}

.lead{
  margin:0;
  max-width: 92ch;
  color: var(--muted);
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

.card{ padding: 18px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(36,195,201,.35);
  background: rgba(36,195,201,.14);
  color: var(--text);
  text-decoration:none;
  cursor:pointer;
  font: inherit;
}
.btn:hover{ background: rgba(36,195,201,.20); }

/* ---------- Home Slider ---------- */
.slider{
  margin-top: 16px;
  overflow:hidden;
}
.slides{
  display:flex;
  transition: transform .65s ease;
  will-change: transform;
}
.slide{
  min-width: 100%;
  padding: 18px;
}
.slide-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items: start;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius:999px;
  border: 1px solid rgba(36,195,201,.28);
  background: rgba(36,195,201,.10);
  margin-bottom: 10px;
  color: var(--muted);
}
.bullets{ margin: 14px 0 0; padding-left: 18px; }
.bullets li{ margin: 8px 0; }

.mediaBox{
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow);
}
.mediaBox + .mediaBox{ margin-top: 12px; }
.mediaBox img{
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
  width: 100%;
  height: 280px;
}

/* Slider controls */
.slider-controls{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.navbtns{ display:flex; gap: 10px; }
.navbtn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(108,109,113,.35);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  cursor:pointer;
  font-size: 18px;
  color: var(--muted);
}
.dots{
  display:flex;
  gap: 10px;
  align-items:center;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(108,109,113,.45);
  background: rgba(108,109,113,.18);
  cursor:pointer;
}
.dot.is-active{
  background: rgba(36,195,201,.95);
  border-color: rgba(36,195,201,.95);
}

/* ---------- People cards ---------- */
.people{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.people4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.person{
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow);
  padding: 12px;
}
.person .img{
  height: 170px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(36,195,201,.06);
  overflow:hidden;
}
.person .img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person .name{ margin-top: 10px; color: var(--text); font-weight: 600; }
.person .role{ margin-top: 4px; font-size: 14px; }
.person .desc{ margin-top: 8px; font-size: 13.5px; }

/* ---------- Services cards ---------- */
.service-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.icon3d{
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  margin: 10px 0 12px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,.72) 35%, rgba(36,195,201,.16) 68%, rgba(108,109,113,.14));
  border: 1px solid rgba(108,109,113,.22);
  box-shadow: 0 18px 40px rgba(108,109,113,.18), inset 0 1px 0 rgba(255,255,255,.70);
}
.icon3d svg{ width: 38px; height: 38px; }
.icon3d path{ fill: var(--brand); }

ul{ margin: 10px 0 0; padding-left: 18px; }
li{ margin: 8px 0; }

/* ---------- Gallery ---------- */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.gallery-item{
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow:hidden;
  background: rgba(36,195,201,.06);
  box-shadow: var(--shadow);
  height: 190px;
}
.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Testimonials ---------- */
.testimonial-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.client-img{
  height: 180px;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow:hidden;
  background: rgba(36,195,201,.06);
}
.client-img img{ width: 100%; height: 100%; object-fit: cover; }
.tag{
  display:inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(36,195,201,.28);
  background: rgba(36,195,201,.10);
}

/* ---------- Contact form ---------- */
.form label{ display:block; margin-top: 12px; color: var(--text); }
.form input, .form textarea{
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(108,109,113,.35);
  font: inherit;
  background: rgba(255,255,255,.96);
}
.form input:focus, .form textarea:focus{
  border-color: rgba(36,195,201,.70);
  box-shadow: var(--focus);
}
.form textarea{ min-height: 120px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer{
  margin-top: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* ---------- WhatsApp Floating Button ---------- */
.wa-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: transparent;            /* PNG already has background */
  box-shadow: 0 18px 40px rgba(108,109,113,.22);
  border: 0;
  overflow: hidden;                   /* keep it perfectly round */
}

.wa-float img{
  width: 100%;
  height: 100%;
  object-fit: cover;                  /* fills the circle nicely */
  display: block;
}

/* ---------- Enquiry Toast (Social Proof) ---------- */
.toast{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1500;
  width: min(320px, calc(100vw - 32px));
  padding: 12px 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(108,109,113,.28);
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 44px rgba(108,109,113,.28);
  color: var(--text);
  transform: translateX(-110%);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease;
}

.toast.is-show{
  transform: translateX(0);
  opacity: 1;
}

.toast-title{
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.2px;
  margin-right: 30px; /* leave room for close button */
}

.toast-meta{
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  font-style: italic;
}

.toast-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(108,109,113,.25);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
}

.toast-close:hover{
  background: rgba(36,195,201,.14);
  border-color: rgba(36,195,201,.35);
}



/* ---------- Responsive ---------- */
@media (max-width: 980px){
  :root{ --headerH: 88px; }
  .brand{ min-width: unset; }
  .brand-logo{ width: 64px; height: 64px; }
  .nav{ display:none; }
  .menu-btn{ display:inline-flex; }
  .menu-panel.is-open{ display:block; }

  .slide-inner{ grid-template-columns: 1fr; }
  .mediaBox img{ height: 220px; }

  .service-grid{ grid-template-columns: 1fr; }
  .people, .people4{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-item{ height: 160px; }
  .testimonial-grid{ grid-template-columns: 1fr; }
}

/* ================= Google Map ================= */
.map-wrapper{
  margin-top: 14px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.map-wrapper iframe{
  width: 100%;
  height: 420px;
  border: 0;
}

@media (max-width: 768px){
  .map-wrapper iframe{
    height: 300px;
  }
}

/* ================= Vision Mission Core Value Image ================= */

.vmv-image-wrapper{
  margin-top: 16px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.vmv-image-wrapper img{
  width: 100%;
  height: auto;
  display: block;
}

/* Optional: give breathing space on mobile */
@media (max-width: 768px){
  .vmv-image-wrapper{
    border-radius: 18px;
  }
}

