/* ================================================================== */
/*              CSS RESET & FONT IMPORT                                */
/* ================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;700&family=Montserrat:wght@400;500;700&display=swap');

html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.18;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
ul ul, ol ol {
  margin-bottom: 0;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 14px;
}
a {
  color: #A8835A;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #0B1821;
  text-decoration: underline;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #0B1821;
  background: #EAF2EF;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
}

/* ================================================================== */
/*                   BRAND COLOR VARIABLES                            */
/* ================================================================== */
:root {
  --primary: #0B1821;
  --secondary: #A8835A;
  --accent: #EAF2EF;
  --surface: #fff8f2;
  --highlight: #fff3e2;
  --danger: #e86d56;
  --shadow: 0 6px 24px rgba(168, 131, 90, 0.08), 0 2px 8px rgba(11,24,33,0.08);
  --card-radius: 16px;
  --button-radius: 24px;
}

/* ================================================================== */
/*                   LAYOUT SPACING & CONTAINERS                      */
/* ================================================================== */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 26px 20px 22px 20px;
  flex: 1 1 300px;
  min-width: 260px;
  transition: box-shadow .18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 32px rgba(168, 131, 90, 0.14), 0 3px 12px rgba(11,24,33,0.14);
}

.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: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--highlight);
  border-radius: 20px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--secondary);
  max-width: 660px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  background: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 16px;
}

/* Ensure minimum 20px margin between all content cards and sections */
.section:not(:last-child) {
  margin-bottom: 64px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

/* ================================================================== */
/*                     TYPOGRAPHY                                     */
/* ================================================================== */
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--primary);
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 18px;
}
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 10px;
}
blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  color: var(--primary);
  background: none;
  border-left: none;
  margin: 0;
  padding: 0;
}
blockquote::before, blockquote::after {
  content: '“';
  color: var(--secondary);
  font-size: 2rem;
  vertical-align: -0.4em;
  font-family: inherit;
  opacity: 0.7;
}
blockquote::after {
  content: '”';
}
footer {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #79542b;
  margin-top: 2px;
}
strong {
  color: var(--primary);
  font-weight: 600;
}
li > strong {
  display: inline-block;
  margin-bottom: 4px;
}

/* ================================================================== */
/*            HEADER & NAVIGATION                                    */
/* ================================================================== */
header {
  position: relative;
  background: var(--surface);
  padding: 0 0 0 0;
  box-shadow: 0 0.5px 10px rgba(168, 131, 90, 0.12);
  z-index: 20;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  height: 64px;
  padding: 0 20px;
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 12px;
  vertical-align: middle;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 18px;
  transition: background 0.16s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--highlight);
  color: var(--secondary);
}

/* Hamburger */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 14px;
  background: var(--highlight);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  z-index: 90;
  cursor: pointer;
  transition: background .15s, box-shadow .16s;
  box-shadow: 0 2px 12px rgba(11,24,33,0.08);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--secondary);
  color: #fff;
}

/* MOBILE NAV */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--accent);
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-102%);
  transition: transform .34s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 4px 38px #c7ad8b0d, 0 8px 30px #A8835A10;
  padding: 36px 18px 24px 18px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: background .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary);
  background: transparent;
  border-radius: 12px;
  padding: 10px 8px;
  width: 100%;
  transition: background .14s, color .17s;
  outline: 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--highlight);
  color: var(--secondary);
}

/* Hide Main nav on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ================================================================== */
/*                       BUTTONS / CTA                               */
/* ================================================================== */
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: var(--secondary);
  border: none;
  border-radius: var(--button-radius);
  padding: 14px 32px;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(168,131,90, 0.15);
  transition: background .19s, box-shadow .21s, color 0.14s;
  margin-top: 12px;
  letter-spacing: 0.04em;
  outline: none;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--primary);
  color: #fff8f2;
  box-shadow: 0 4px 22px rgba(168,131,90, 0.22);
}

/* ================================================================== */
/*                             FOOTER                                */
/* ================================================================== */
footer {
  background: var(--surface);
  color: var(--primary);
  border-top: 2px solid #eae3dd;
  padding: 38px 0 22px 0;
  margin-top: 48px;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-bottom: 18px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .13s, color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--highlight);
  color: var(--primary);
}
footer small {
  display: block;
  color: #79542b;
  font-size: 0.98rem;
  margin-top: 8px;
}

/* ================================================================== */
/*               FORMS & LISTS                                       */
/* ================================================================== */
ul, ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
ul li, ol li {
  list-style: disc inside;
  font-size: 1rem;
  color: var(--primary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 10px;
  line-height: 1.7;
  background: transparent;
  padding: 0 0 0 0;
}
ul li img {
  height: 34px;
  width: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  margin-right: 2px;
}

/* ================================================================== */
/*             RESPONSIVE STYLES                                     */
/* ================================================================== */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    padding: 16px;
    font-size: 1rem;
  }
  .text-section {
    padding: 18px 10px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.32rem;
  }
  .main-nav img {
    height: 36px;
  }
  .cta-btn {
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
  }
  .testimonial-card {
    font-size: 0.95rem;
  }
}

/* ================================================================== */
/*           HOVER, FOCUS & MICRO-INTERACTIONS                       */
/* ================================================================== */
.card, .testimonial-card, .content-section, .text-section {
  transition: box-shadow .16s, background .11s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(168,131,90, 0.15);
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  background: #f5e9db;
}
li img {
  transition: transform .15s;
}
ul li:hover img {
  transform: scale(1.09) rotate(-4deg);
}

/* ================================================================== */
/*                    COOKIE CONSENT BANNER                          */
/* ================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff8f2;
  color: var(--primary);
  box-shadow: 0 -4px 18px #a8835a19;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 20px 18px 20px;
  font-size: 1rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform .25s;
  will-change: transform;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-text {
  flex: 2 1 auto;
  line-height: 1.5;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  margin-right: 4px;
  transition: background .13s, color .13s, box-shadow .12s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.accept:hover { background: #79542b; }
.cookie-btn.reject {
  background: #eae3dd;
  color: var(--primary);
}
.cookie-btn.reject:hover { background: var(--danger); color: #fff; }
.cookie-btn.settings {
  background: var(--highlight);
  color: var(--primary);
}
.cookie-btn.settings:hover { background: var(--surface); }

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    font-size: 0.98rem;
    padding: 16px 8px;
    gap: 10px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .cookie-banner-actions .cookie-btn {
    width: 100%;
    margin-bottom: 0;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: rgba(20,12,1,0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .17s;
  animation: cookie-modal-fadein .23s;
}
@keyframes cookie-modal-fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  padding: 34px 28px 22px 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-width: 320px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h3 {
  font-size: 1.29rem;
  color: var(--secondary);
  margin-bottom: 10px;
}
.cookie-category {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category span {
  flex: 1 1 auto;
}
.cookie-toggle {
  accent-color: var(--secondary);
  width: 22px;
  height: 22px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  min-width: 110px;
}
@media (max-width: 550px) {
  .cookie-modal {
    padding: 16px 8px 14px 8px;
    min-width: 0;
    gap: 14px;
  }
  .cookie-modal h3 {
    font-size: 1.05rem;
  }
}

/* ================================================================== */
/*                  UTILITY / MINOR CLASSES                          */
/* ================================================================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.rounded {
  border-radius: var(--card-radius);
}
.shadow {
  box-shadow: var(--shadow);
}
.flex {
  display: flex !important;
}
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.align-center { align-items: center !important; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }


/* ================================================================== */
/*          ENSURE NO OVERLAPPING & SCROLLING                       */
/* ================================================================== */
main, .container, .content-wrapper, .section {
  overflow: visible;
}

/* Prevent content from ever overlapping on small screens */
@media (max-width: 520px) {
  .section, .card, .testimonial-card, .text-section {
    min-width: 0;
    max-width: 99vw;
    padding-left: 4vw !important;
    padding-right: 4vw !important;
  }
}

/* ================================================================== */
/*          ENSURE HIGH CONTRAST IN TESTIMONIALS                     */
/* ================================================================== */
.testimonial-card,
blockquote, .testimonial-card blockquote, .testimonial-card footer {
  color: #271a08;
  background: none;
}

/* ================================================================== */
/*         REMOVE ABSOLUTE POSITIONING FOR CONTENT CARDS             */
/* ================================================================== */
/* (Handled by not adding position: absolute to any .card/.testimonial-card) */

/* ================================================================== */
/*               PRINT SUPPORT (Optional)                            */
/* ================================================================== */
@media print {
  header, nav, .main-nav, .footer-nav, .mobile-menu, .cookie-banner {
    display: none !important;
  }
  body, main, .container, .section { background: #fff !important; }
}/* ================================================================== */
/*     END STYLE.CSS (Generated for Masa Anggun Malacca)              */
/* ================================================================== */
