/* === CSS RESET & BASE STYLES === */
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.6; background: #F6E0B5; color: #206241; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; outline: none; transition: color .2s; }
button, input, select, textarea {
  font-family: inherit; font-size: inherit; color: inherit;
  background: none; border: none; outline: none;
}

/* === VARS for Nature Organic branding === */
:root {
  --clr-primary: #206241;
  --clr-primary-light: #38805b;
  --clr-primary-dark: #174C33;
  --clr-accent: #A0223F;
  --clr-yellow: #F6E0B5;
  --clr-bg: #FAF4EB;
  --clr-surface: #FFFFFF;
  --clr-surface-alt: #E1DBC7;
  --clr-text: #206241;
  --clr-text-dark: #183b26;
  --clr-text-light: #fff;
  --clr-grey: #78735E;
  --clr-border: #E1DBC7;
  --card-shadow: 0 4px 16px rgba(32,98,65,0.07), 0 1.5px 6px rgba(164, 142, 100, 0.13);
  --radius-small: 16px;
  --radius-medium: 36px;
  --radius-pill: 999px;
  --transition: all 0.22s cubic-bezier(.67,.11,.68,.87);
}

/* === FONT FACES (Google Fonts) === */
@import url('https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@600;700&family=Hind+Siliguri:wght@400;500;700&display=swap');

body {
  font-family: 'Hind Siliguri', Arial, sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
}

h1, h2, h3, h4, h5 {
  font-family: 'Baloo Da 2', cursive;
  font-weight: 700;
  color: var(--clr-primary-dark);
  letter-spacing: .01em;
}
h1 { font-size: 2.4rem; margin-bottom: 24px; line-height: 1.25; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.3; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }

p, li {
  font-family: 'Hind Siliguri', Arial, sans-serif;
  font-size: 1.08rem;
  color: var(--clr-text-dark);
  margin-bottom: 8px;
}

strong, b { font-weight: 700; color: var(--clr-primary); }
small { font-size: .92em; }

/* === SPACING UTILITIES === */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  padding: 0;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--clr-surface);
  border-radius: var(--radius-small);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-small);
  box-shadow: var(--card-shadow);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 7px solid var(--clr-primary);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 28px;
}

/* === NATURAL ORGANIC/BRAND BUTTONS === */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo Da 2', cursive;
  font-size: 1.15rem;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px 34px 12px 34px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  box-shadow: 0 2px 12px 0 rgba(32,98,65,0.07),0 1.5px 6px rgba(164, 142, 100, 0.08);
  letter-spacing: .01em;
  font-weight: 700;
  outline: none;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: var(--clr-accent);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(160, 34, 63, 0.08);
  transform: translateY(-2px) scale(1.04);
}

/* === HEADER & MAIN NAVIGATION === */
header {
  background: linear-gradient(90deg,#FAF4EB 70%,var(--clr-yellow));
  box-shadow:0 6px 28px rgba(32,98,65,0.08);
  border-bottom: 2.5px solid var(--clr-border);
  position: relative;
  z-index: 30;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 80px;
  width: 100%;
}
.header-bar img {
  height: 50px; width: auto; border-radius: 12px;
  box-shadow: 0 1.5px 8px 0 rgba(32,98,65,0.04);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Baloo Da 2', cursive;
  font-size: 1.07rem;
  font-weight: 500;
}
.main-nav a {
  color: var(--clr-primary-dark);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--clr-primary);
  color: #fff;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--clr-primary);
  color: #fff;
  font-size: 2rem;
  border-radius: var(--radius-pill);
  padding: 3px 17px;
  margin-left: 12px;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 101;
  border: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--clr-accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(236,234,225,0.97);
  box-shadow: 0 4px 18px rgba(32,98,65,0.13);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.6,.01,.31,1.02);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: var(--clr-accent);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 1.7rem;
  margin: 18px 0 12px 20px;
  padding: 2px 19px;
  align-self: flex-start;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
  z-index: 130;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--clr-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 20px 0 0 36px;
  font-size: 1.19rem;
  font-family: 'Baloo Da 2', cursive;
}
.mobile-nav a {
  padding: 11px 28px 9px 13px;
  color: var(--clr-primary-dark);
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--clr-primary-dark);
  color: #fff;
}

/* === HERO SECTION === */
.hero-section {
  background:  var(--clr-bg);
  background-size: 330px auto, auto;
  border-radius: 0 0 60px 60px;
  box-shadow: 0 7px 32px rgba(32,98,65,0.04);
  margin-bottom: 38px;
  min-height: 300px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section .container {
  display: flex;
  align-items: center; justify-content: center;
  min-height: 278px;
  flex-wrap: wrap;
}
.hero-section h1 { color: var(--clr-primary); }
.hero-section h2 {
  color: var(--clr-grey);
  font-weight: 400;
  font-family: 'Hind Siliguri', Arial, sans-serif;
  font-size: 1.18rem;
  margin-bottom: 20px;
}

/* === ORGANIC/NATURE DECORATIVE EFFECTS === */
section { border-radius: 50px 50px 36px 36px/70px 60px 45px 45px; background: var(--clr-surface); box-shadow: 0 2.5px 18px rgba(32,98,65,0.07); margin-bottom: 46px; }
section .content-wrapper { margin: 0 auto; }

/* === LIST (& Feature/FAQ) === */
ul li, .text-section li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
ul li::before, .text-section li::before {
  content: ''; display: inline-block;
  position: absolute; left: 0; top: 7px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--clr-primary-light);
  opacity: .19;
}

.testimonial-list {
  margin-top: 20px;
}
.testimonial-card p {
  color: var(--clr-text-dark);
  font-size: 1.12rem;
  font-family: 'Hind Siliguri', Arial, sans-serif;
  margin-bottom: 11px;
}
.testimonial-card h3 {
  color: var(--clr-primary-dark);
  font-size: 1.07rem;
  margin-bottom: 2px;
  font-family: 'Baloo Da 2', cursive;
}
.testimonial-card span {
  font-size: 1.18rem;
  color: var(--clr-accent);
  letter-spacing: .09em;
}

/* === FOOTER === */
footer {
  background: linear-gradient(90deg,var(--clr-primary) 60%,#38805b 100%);
  color: #fff;
  border-top: 2.5px solid var(--clr-border);
  font-size: 1.01rem;
  padding: 34px 0 22px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Baloo Da 2', cursive;
  font-size: 1.18rem;
  font-weight: 700;
}
.footer-brand img {
  height: 45px; width: auto; border-radius: 13px;
  box-shadow: 0 1.5px 8px 0 rgba(255,255,255,.07);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--clr-yellow);
  color: var(--clr-primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
  color: #fff;
  font-size: 1rem;
}
.footer-contact img {
  display: inline; height: 18px; width: 18px; vertical-align: sub; margin-right:6px;
}
footer p, footer span {
  color: #fff;
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; gap: 22px; }
  .footer-contact, .footer-nav, .footer-brand { align-items: flex-start; }
}

/* === FORMS & TEXT SECTIONS === */
.text-section {
  font-size: 1.07rem;
  background: var(--clr-bg);
  border-radius: var(--radius-small);
  padding: 18px 22px;
  box-shadow: 0 2px 10px rgba(32,98,65,0.015);
}
.text-section h2, .text-section h3 {
  margin-top: 14px;
  margin-bottom: 10px;
  color: var(--clr-primary-dark);
}

/* === RESPONSIVE DESIGN (MOBILE FIRST) === */
@media (max-width: 1199px) {
  .container { max-width: 970px; }
}
@media (max-width: 900px) {
  .container { max-width: 700px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.17rem; }
  .hero-section {
    min-height: 195px;
    border-radius: 0 0 32px 32px;
    background-size: 180px auto;
  }
  .header-bar {
    height: 56px;
  }
  .footer-brand img, .header-bar img { height: 36px; }
  section { border-radius: 32px; margin-bottom: 32px; }
  .section { margin-bottom: 32px; padding: 22px 10px; }
  .text-section { padding: 14px 11px; }
  .content-grid,
  .testimonial-list,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 480px) {
  html { font-size: 96%; }
  .container { padding-left: 8px; padding-right: 8px; }
  .hero-section .container { min-height: 110px; }
  section, .section { border-radius: 17px; }
  .footer-brand { font-size: .95rem; }
}

/* === CARD STYLES === */
.card {
  border-left: 5px solid var(--clr-primary);
  background: #fff url('../assets/bg-card-decoration.svg') bottom right/120px auto no-repeat;
  filter: drop-shadow(0 3px 20px rgba(32,98,65,.06));
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
.card, .cta-button, .testimonial-card, .footer-nav a, .main-nav a, .mobile-nav a, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow .18s, background .16s, color .17s, transform .17s;
}
.card:hover { box-shadow:0 8px 32px rgba(32,98,65,0.10); transform: translateY(-3px) scale(1.02); }

/* === ORGANIC SHAPES / TEXTURES === */
section, .card, .testimonial-card {
  background-image: url('../assets/texture-paper-light.png');
  background-blend-mode: lighten;
  background-repeat: repeat;
}

/* === ACCESSIBLE CONTRAST FOR TESTIMONIALS === */
.testimonial-card, .testimonial-card p, .testimonial-card h3, .testimonial-card span {
  color: #206241;
  background: #fff;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #fffbea;
  border-top: 2.5px solid var(--clr-primary);
  box-shadow: 0 -3px 24px rgba(32,98,65,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 28px;
  font-size: 1.02rem;
  font-family: 'Hind Siliguri', Arial, sans-serif;
  min-height: 64px;
  animation: cookieBannerIn .45s cubic-bezier(.77,.06,.31,1.02);
}
@keyframes cookieBannerIn {
  from { transform: translateY(120px); opacity:0.7; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner p { flex: 1 1 0%; margin-bottom: 0; color: var(--clr-primary-dark); }
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.cookie-btn {
  font-family: 'Baloo Da 2', cursive;
  font-size: 1.01rem;
  border-radius: var(--radius-pill);
  padding: 8px 22px;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-btn.accept { background: var(--clr-primary); }
.cookie-btn.reject { background: var(--clr-accent); }
.cookie-btn.settings { background: var(--clr-yellow); color: var(--clr-primary-dark); }
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--clr-accent);
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus { background: var(--clr-primary-dark); color:#fff; }

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 5vw;
    gap: 12px;
  }
  .cookie-buttons { gap: 8px; }
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal {
  position: fixed;
  z-index: 3000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(236,234,225,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s;
  animation: fadeInModal .22s;
}
.cookie-modal.active {
  display: flex;
  pointer-events: auto;
  opacity: 1;
}
@keyframes fadeInModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-small);
  box-shadow: 0 5px 32px 0 rgba(32,98,65,0.15);
  max-width: 460px;
  width: 92vw;
  padding: 32px 26px 30px 26px;
  position: relative;
  font-size: 1.07rem;
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--clr-primary-dark);
}
.cookie-modal-close {
  position: absolute;
  right: 14px; top: 11px;
  background: var(--clr-accent);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 1.27rem;
  border: none;
  padding: 1px 16px;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus{ background: var(--clr-primary); }

.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--clr-primary);
  width: 18px; height: 18px;
  border-radius: 5px;
}
.cookie-category label {
  color: var(--clr-primary-dark);
  font-family: 'Hind Siliguri', Arial, sans-serif;
  font-size: 1.06rem;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 18px;
}

/* === UTILITY CLASSES === */
.d-none { display:none!important; }
.text-center { text-align:center; }
.text-left { text-align:left; }
.text-right { text-align:right; }
.mb-20 { margin-bottom: 20px; }
.mb-28 { margin-bottom: 28px; }
.mt-18 { margin-top: 18px; }
.rounded { border-radius: var(--radius-small); }
.shadow { box-shadow: var(--card-shadow); }

/* === ORGANIC/NATURE-INSPIRED EMBELLISHMENTS === */
section, .card, .testimonial-card, .text-section {
  border-radius: 32px 17px 42px 15px/48px 20px 50px 28px;
}

/* === PREVENT ABSOLUTE POSITIONING OF CONTENT CARDS === */
.card, .testimonial-card, .text-section { position: relative; z-index: 1; }

/* === REMOVE GRID AND COLUMNS (FOR LEGACY/SAFETY) === */
[class*="grid"], [class*="Grid"] {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* === ACCESSIBLE FOCUS === */
:focus-visible {
  outline: 2.5px solid var(--clr-accent);
  outline-offset: 2px;
}

/* === SCROLLBAR STYLING === */
body::-webkit-scrollbar { width: 8px; background: var(--clr-yellow); }
body::-webkit-scrollbar-thumb {
  background: var(--clr-primary-light); border-radius: 11px;
}

/* === HIDE MOBILE NAV WHEN UNNECESASRY === */
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}
