/* ---------------------------------
   CSS RESET & BASELINE NORMALIZE
--------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0;
  font-size: 100%; font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
body {
  line-height: 1.5;
  background: #F7FAFC;
  color: #20405A;
  font-family: 'Hind Siliguri', Noto Sans Bengali, Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
u, ins { text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; transition: color .2s cubic-bezier(.4,0,.2,1); }
ul, ol { padding-left: 24px; }

/* Custom Scrollbar */
body::-webkit-scrollbar { width: 10px; background: #F7FAFC; }
body::-webkit-scrollbar-thumb { background: #CED9E2; border-radius: 6px; }

/* --------------------------------- */
/*       BRAND VARIABLES            */
/* --------------------------------- */
:root {
  --clr-primary: #20405A;
  --clr-secondary: #FFD166;
  --clr-accent: #FFFFFF;
  --clr-neutral: #F7FAFC;
  --clr-dark: #142433;
  --clr-border: #D8E2EC;
  --clr-shadow: rgba(44,64,94,.08);
  --font-display: 'Noto Sans Bengali', Noto Sans, Arial, sans-serif;
  --font-body: 'Hind Siliguri', Noto Sans Bengali, Arial, sans-serif;
}

/* Fallback for fonts */
@font-face {
  font-family: 'Noto Sans Bengali';
  font-style: normal;
  font-weight: 400;
  src: local('Noto Sans Bengali'), local('NotoSansBengali'),
    url('https://fonts.gstatic.com/s/notosansbengali/v18/nKKU-Go6G5tXcr3QEsL1zqE8kndi1-E.woff2') format('woff2');
  unicode-range: U+0900-097F, U+0980-09FF;
}
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 400;
  src: local('Hind Siliguri'), local('HindSiliguri-Regular'),
    url('https://fonts.gstatic.com/s/hindsiliguri/v12/mem2YaGSYVwJqYfNIssy3Tf2f3zgsbU.woff2') format('woff2');
  unicode-range: U+0900-097F, U+0980-09FF;
}

/* --------------------------------- */
/*         TYPOGRAPHY               */
/* --------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--clr-dark);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .5px;
}
h1 {
  font-size: 2.25rem; /* 36px */
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 16px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #284968;
}
strong { font-weight: 700; }

ul, ol {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 16px;
  color: #274259;
  line-height: 1.65;
}
li { margin-bottom: 10px; }
blockquote {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--clr-dark);
  background: var(--clr-neutral);
  border-left: 4px solid var(--clr-secondary);
  padding: 16px 20px 16px 24px;
  margin-bottom: 12px;
  margin-top: 4px;
  border-radius: 8px;
  font-style: italic;
}

/* Angular heading style for geometric feel */
h1, h2, h3 {
  text-transform: none;
  font-family: var(--font-display);
  font-variation-settings: 'wght' 700;
  /* geometric boldness, use alternate chars on available fonts */
}

/* --------------------------------- */
/*          SPACING + LAYOUT        */
/* --------------------------------- */
.container {
  width: 100%; max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-accent);
  box-shadow: 0 2px 16px var(--clr-shadow);
  border-radius: 24px;
}
.content-wrapper {
  /* Default: column layout */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--clr-accent);
  border: 1.5px solid var(--clr-border);
  border-radius: 16px;
  box-shadow: 0 4px 16px var(--clr-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  min-width: 250px;
  flex: 1 1 250px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(32,64,90,0.19);
  border-color: var(--clr-secondary);
  z-index: 2;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--clr-neutral);
  border: 1.5px solid var(--clr-border);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--clr-shadow);
  margin-bottom: 24px;
  position: relative;
  min-width: 260px;
}
.testimonial-card blockquote {
  border-left: 6px solid var(--clr-secondary);
  background: var(--clr-accent);
  color: #1D3242;
  font-size: 1.15rem;
}
.testimonial-card p {
  margin: 0;
  color: #184355;
  font-size: 1rem;
}
.testimonial-card img {
  width: 28px; height: 28px; margin-right: 3px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 18px 18px 24px;
  border-radius: 13px;
  border: 1px solid var(--clr-border);
  background: var(--clr-neutral);
  margin-bottom: 20px;
  position: relative;
}

/* Logo and icon geometric sizing */
header img, .content-wrapper img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  margin-right: 12px;
}

/* --------------------------------- */
/*      HEADER & MAIN NAVIGATION     */
/* --------------------------------- */
header {
  background: var(--clr-primary);
  padding: 0;
  box-shadow: 0 2px 14px -8px var(--clr-shadow);
  border-bottom: 4px solid var(--clr-secondary);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  min-height: 64px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
header nav a {
  color: var(--clr-accent);
  padding: 8px 0 8px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.04rem;
  border-bottom: 2.5px solid transparent;
  transition: border .2s, color .15s;
}
header nav a:hover, header nav a:focus {
  color: var(--clr-secondary);
  border-bottom: 2.5px solid var(--clr-secondary);
  outline: none;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--clr-secondary);
  color: var(--clr-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(204,157,62,.10);
  transition: background .18s, color .18s, box-shadow .17s;
  margin-left: 18px;
  margin-bottom: 0;
  text-shadow: 0 1px 1px rgba(255,255,255,0.10);
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFE17C;
  color: var(--clr-dark);
  box-shadow: 0 6px 24px rgba(204,157,62,.14);
  outline: none;
}

a.cta-btn { text-align: center; }

/* Hamburger Menu Styles */
.mobile-menu-toggle {
  display: none;
  background: var(--clr-secondary);
  color: var(--clr-primary);
  width: 44px; height: 44px;
  border: none;
  border-radius: 9px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  margin-left: 18px;
  z-index: 1050;
  transition: background .18s, color .17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFE17C;
  color: var(--clr-dark);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: var(--clr-primary);
  z-index: 2000;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform .38s cubic-bezier(.46, .03, .52, .96), opacity .25s cubic-bezier(.55,0,.6,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: var(--clr-secondary);
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 26px 28px 0 0;
  cursor: pointer;
  transition: color .18s;
  z-index: 2100;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #FFE17C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  padding: 44px 40px 0 32px;
}
.mobile-nav a {
  color: var(--clr-accent);
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: .04em;
  padding: 12px 0;
  margin-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: border .17s, color .18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--clr-secondary);
  border-bottom: 2px solid var(--clr-secondary);
}

@media (max-width: 1024px) {
  header .container nav { gap: 10px; }
  .cta-btn { margin-left: 8px; }
}
@media (max-width: 900px) {
  header .container {
    padding: 0 10px;
  }
}
@media (max-width: 820px) {
  header .container nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --------------------------------- */
/*             MAIN                  */
/* --------------------------------- */
main {
  padding: 32px 0 0;
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-accent);
  box-shadow: 0 2px 16px var(--clr-shadow);
  border-radius: 24px;
}

/* Use geometric ornament between sections */
section:not(:last-child):after {
  content: "";
  display: block;
  width: 60px;
  height: 6px;
  background: var(--clr-secondary);
  border-radius: 8px;
  margin: 34px auto 0 auto;
  opacity: 0.22;
}

/* --------------------------------- */
/*         FOOTER                    */
/* --------------------------------- */
footer {
  background: var(--clr-primary);
  color: var(--clr-accent);
  border-top: 4px solid var(--clr-secondary);
  box-shadow: 0 -2px 12px var(--clr-shadow);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 14px;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--clr-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px;
  border-radius: 4px;
}
footer nav a:hover, footer nav a:focus {
  background: var(--clr-secondary);
  color: var(--clr-primary);
}
footer p {
  opacity: 0.74;
}

/* --------------------------------- */
/*       LISTS/ICONS/IMAGES          */
/* --------------------------------- */
ul li, ol li {
  position: relative;
  padding-left: 24px;
  line-height: 1.75;
}
ul li img, ol li img {
  position: absolute; left: 0; top: 1px;
  display: inline-block;
  width: 20px; height: 20px;
  object-fit: contain;
  margin-right: 7px;
}

/* -----------------------------------
    BUTTONS + FORMS + INTERACTIONS
----------------------------------- */
button, .cta-btn {
  outline: none;
  user-select: none;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid var(--clr-secondary);
  outline-offset: 2px;
}

/* Subtle scale for interactives */
button:active, .cta-btn:active {
  transform: scale(.96);
}

/* --------------------------------- */
/*           ANIMATIONS             */
/* --------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  a, button, .cta-btn {
    transition: background .2s, color .2s, box-shadow .17s;
  }
  .card, .testimonial-card, .feature-item, section {
    transition: box-shadow .24s cubic-bezier(.6,0,.4,1), border .15s;
  }
}

/* --------------------------------- */
/*           RESPONSIVE              */
/* --------------------------------- */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .section { padding: 32px 10px; }
  .content-wrapper { gap: 18px; }
}
@media (max-width: 768px) {
  section { padding: 30px 5px; }
  .card-container { gap: 16px; }
  .testimonial-card, .feature-item, .card, .content-wrapper { min-width: 0; }
  .content-grid { gap: 12px; flex-direction: column; }
  .text-image-section { flex-direction: column; gap: 14px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.34rem; margin-bottom: 16px; }
  h2 { font-size: 1.11rem; margin-bottom: 12px; }
  .section { border-radius: 7vw; }
  .testimonial-card, .feature-item, .card { border-radius: 13px; padding: 16px 8px; }
  .container { padding: 0 3vw; }
}

/* --------------------------------- */
/*         COOKIE BANNER             */
/* --------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: var(--clr-primary);
  color: var(--clr-accent);
  box-shadow: 0 -4px 30px rgba(32,64,90,.15);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  z-index: 3000;
  padding: 18px 32px;
  font-size: 1rem;
  letter-spacing: .01em;
  font-family: var(--font-body);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  opacity: 0.98;
  animation: slideUpCookie 0.55s ease;
}
@keyframes slideUpCookie {
  from { transform: translateY(130%); opacity: 0; }
  to { transform: translateY(0); opacity: 0.98; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-left: auto;
}
.cookie-banner button {
  font-family: var(--font-display);
  padding: 7px 18px;
  border-radius: 10px;
  border: none;
  background: var(--clr-secondary);
  color: var(--clr-primary);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.98rem;
  transition: filter 0.17s, background .18s, color .18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFE17C;
  color: var(--clr-dark);
  filter: brightness(1.1);
  outline: none;
}
.cookie-banner .cookie-settings-btn {
  background: var(--clr-accent);
  color: var(--clr-primary);
  border: 1.5px solid var(--clr-secondary);
  font-size: 0.97rem;
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--clr-secondary);
  color: var(--clr-primary);
  box-shadow: 0 2px 12px var(--clr-shadow);
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 16px; padding: 12px 5vw; font-size: 0.96rem; align-items: flex-start; }
  .cookie-banner .cookie-buttons { margin-left: 0; gap: 8px; }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32,64,90, 0.32);
  animation: fadeInModal .35s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal .cookie-modal-content {
  background: var(--clr-accent);
  color: var(--clr-primary);
  padding: 36px 30px 30px 30px;
  min-width: 312px;
  max-width: 92vw;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 5px 34px 0 rgba(32,64,90,0.16);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal .cookie-modal-content h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--clr-primary);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.03rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.cookie-modal input[type='checkbox'] {
  appearance: none;
  width: 18px; height: 18px;
  border: 2px solid var(--clr-primary);
  border-radius: 6px;
  background: var(--clr-neutral);
  margin: 0 8px 0 0;
  cursor: pointer;
  transition: background .16s;
}
.cookie-modal input[type='checkbox']:checked {
  background: var(--clr-secondary);
  border-color: var(--clr-secondary);
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 18px; top: 15px;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--clr-primary);
  cursor: pointer;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 22px;
}
.cookie-modal button {
  padding: 7px 18px;
  border-radius: 10px;
  border: none;
  background: var(--clr-secondary);
  color: var(--clr-primary);
  font-weight: 600;
  cursor: pointer;
  transition: background .16s, color .18s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #FFE17C;
  color: var(--clr-dark);
}
@media (max-width: 460px) {
  .cookie-modal .cookie-modal-content {
    padding: 24px 8px 18px 8px;
    border-radius: 12px;
  }
}

/* ------------------------------ */
/*        GEOMETRIC DESIGN        */
/* ------------------------------ */
.card, .feature-item, .testimonial-card {
  border-radius: 16px 32px 12px 20px / 14px 23px 14px 20px;
  /* geometric corners */
}
section {
  border-radius: 24px 48px 18px 32px / 22px 40px 18px 28px;
}

section, .card, .feature-item, .testimonial-card , .cookie-modal-content {
  border-width: 1.5px;
  border-style: solid;
  border-color: var(--clr-border);
}

hr { margin: 23px 0; border: none; border-bottom: 1.5px dashed var(--clr-border); }

/* Visual accent triangles */
.card:before, .testimonial-card:before {
  content: "";
  position: absolute;
  right: 16px; top: 15px;
  width: 23px; height: 23px;
  background: linear-gradient(45deg, var(--clr-secondary) 70%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0.23;
  pointer-events: none;
}
.card:after, .testimonial-card:after {
  content: "";
  position: absolute;
  left: 16px; bottom: 14px;
  width: 12px; height: 12px;
  background: var(--clr-secondary);
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  opacity: 0.21;
  pointer-events: none;
}

/* Geometry: bold line under major headings */
h1, h2 {
  position: relative;
}
h1:after, h2:after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--clr-secondary);
  margin-top: 10px;
  border-radius: 1.2px;
  opacity: 0.55;
}

/* Responsive visual order */
@media (max-width: 768px) {
  .content-wrapper {
    gap: 14px;
  }
  .card, .testimonial-card, .feature-item {
    min-width: 0;
    padding: 16px 4px;
    border-radius: 11px;
  }
  h1:after, h2:after {
    width: 26px; height: 2px;
  }
}

/* --------------------------------- */
/*           MISC STYLE             */
/* --------------------------------- */
a {
  color: var(--clr-primary);
  transition: color .19s;
}
a:hover, a:focus {
  color: var(--clr-secondary);
  text-decoration: underline;
}
a.cta-btn:hover, a.cta-btn:focus { text-decoration: none; }

/* List styles with geometric dots */
ul li::before {
  content: "";
  display: inline-block;
  background: var(--clr-secondary);
  width: 10px; height: 10px;
  border-radius: 2px 8px 2px 8px;
  margin-left: -18px;
  margin-right: 8px;
  vertical-align: middle;
}

ol {
  counter-reset: num;
}
ol li {
  counter-increment: num;
}
ol li::before {
  content: counter(num) ". ";
  color: var(--clr-secondary);
  margin-left: -22px;
  font-weight: bold;
  font-family: var(--font-display);
  font-size: 1em;
}

/* Contact info specific */
.content-wrapper ul {
  list-style: none;
  padding-left: 0;
}
.content-wrapper ul li {
  padding-left: 34px;
  margin-bottom: 12px;
  position: relative;
}
.content-wrapper ul li img {
  left: 0; top: 1px; position: absolute;
  margin-right: 0; width: 22px; height: 22px;
}

/* Cards & Testimonials: strong readable contrast */
.testimonial-card,
.card {
  background: var(--clr-accent);
  color: #1D3242;
}
.testimonial-card blockquote, .testimonial-card p, .testimonial-card strong {
  color: #24405B;
}

/* Ratings stars */
.testimonial-card div img {
  display: inline-block;
  margin: 0 2px 0 0;
  width: 23px;
  height: 23px;
}

/* Blog subscribe / callout */
.content-wrapper .cta-btn {
  margin-top: 10px;
}

/* Thank you, privacy, etc. */
main .content-wrapper a {
  font-weight: 600;
  text-decoration: underline;
  color: var(--clr-primary);
}
main .content-wrapper a:hover {
  color: var(--clr-secondary);
}

/* --------------------------------- */
/*           Z-INDEX                */
/* --------------------------------- */
header { z-index: 100; position: relative; }
footer { z-index: 50; position: relative; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 3500; }

/* Prevent card overlapping */
.card, .feature-item, .testimonial-card, section {
  z-index: 1;
}

/* --------------------------------- */
/*         PRINT SUPPORT            */
/* --------------------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .container { box-shadow: none!important; background: white!important; border-color: #bbb!important; }
  a { color: #20405A!important; text-decoration: underline!important; }
}
