/* ============================================================
   CSS RESET & NORMALIZATION
   ============================================================ */

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;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #F6F7F9;
    color: #182A36;
    font-size: 16px;
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #20507A;
  margin-bottom: 0.6em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 0.7em;
  line-height: 1.2;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 0.6em;
}
h3 {
  font-size: 1.15rem;
}
h4,h5,h6 {
  font-size: 1rem;
}
p, li, blockquote {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  color: #1d2936;
}
strong {
  font-weight: 700;
  color: #20507A;
}
em {
  font-style: italic;
}
blockquote {
  font-style: italic;
  border-left: 3px solid #20507A;
  padding-left: 18px;
}

/* ============================================================
   CONTAINERS & LAYOUT
   ============================================================ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(32,80,122,0.08);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  min-width: 280px;
  max-width: 420px;
  flex: 1 1 320px;
}
.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;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(32,80,122,0.10);
  padding: 20px 30px;
  margin-bottom: 20px;
  min-width: 280px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ====================== ELEGANT CLASSIC SPACING ========================== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* ============================================================
   BRAND & ACCENT COLORS
   ============================================================ */

:root {
  --primary: #20507A;
  --primary-dark: #163655;
  --secondary: #79A842;
  --secondary-dark: #70943e;
  --accent: #F6F7F9;
  --white: #fff;
  --gray-100: #e8ecef;
  --gray-200: #d5dae2;
  --gray-400: #bac2c9;
  --gray-800: #1d2936;
  --shadow-lg: 0 4px 22px 0 rgba(32, 80, 122, 0.10);
  --shadow-md: 0 2px 12px 0 rgba(32,80,122,0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

/* ============================================================
   HEADER & MAIN NAVIGATION
   ============================================================ */
header {
  background: var(--white);
  box-shadow: 0 4px 18px rgba(32,80,122,0.04);
  border-bottom: 1px solid var(--gray-100);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  min-height: 60px;
  gap: 28px;
  position: relative;
  z-index: 50;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  transition: color 0.2s;
  padding-bottom: 3px;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-radius: 30px;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 12px 32px;
  box-shadow: 0 2px 8px 0 rgba(32,80,122,0.08);
  transition: background 0.25s, box-shadow 0.25s, color 0.2s;
  border: none;
  outline: none;
  margin-left: 20px;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 18px 0 rgba(121,168,66,0.14);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-radius: 30px;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(121,168,66,0.09);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 3px 12px 0 rgba(32,80,122,0.11);
}

/* ===================== BURGER & MOBILE MENU ============================== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--white);
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  margin-left: 12px;
  transition: background 0.2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  box-shadow: -8px 0 32px 0 rgba(32,80,122,0.1);
  z-index: 2500;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 32px 32px 30px;
}
.mobile-menu.open {
  transform: translateX(0px);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  margin-bottom: 20px;
  padding: 4px 12px;
  border-radius: 5px;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.16rem;
  color: var(--primary);
  font-family: 'Georgia', serif;
  font-weight: 540;
  padding: 12px 4px;
  border-radius: 10px;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
@media (max-width: 1150px) {
  .main-nav {
      gap:18px;
  }
  .btn-primary { margin-left:10px; }
}
@media (max-width: 991px) {
  .main-nav, .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}
/* Scroll locking for mobile menu must be handled via JS */

/* ============================================================
   HERO, ACCENT BG, SECTIONS
   ============================================================ */
.hero, .accent-bg, .service-steps, .local-presence, .contact-cta, .faq-short, .seminars-info, .thank-you {
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 18px rgba(32,80,122,0.03);
}
.hero {
  margin-bottom: 50px;
  min-height: 240px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}

.features ul, .services-overview ul, .services-detail ul, .values ul, .faq-short ul, .articles ul, .seminars-info ul, .resources-overview ul, .about ul, .policy ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.features ul li, .values ul li, .services-overview ul li, .services-detail ul li, .faq-short ul li, .resources-overview ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0.5em 0;
  font-size: 1.04rem;
  color: #233343;
}
.features ul li img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  filter: grayscale(0.18);
}

.text-section {
  font-size: 1.03rem;
  color: #233343;
}
.text-section ul {
  margin-left: 8px;
  gap: 8px;
}
.text-section a {
  color: var(--primary);
  text-decoration: underline;
  font-style: italic;
  transition: color 0.18s;
}
.text-section a:hover, .text-section a:focus {
  color: var(--secondary);
}

.accent-bg {
  background: var(--accent);
  box-shadow: 0 3px 18px rgba(32,80,122,0.06);
}

.policy {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 3px 18px rgba(32,80,122,0.03);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials .testimonial-card {
    background: #fff;
    box-shadow: 0 2px 14px 0 rgba(32,80,122,0.10);
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 20px;
    /* Flex by default; adapt for mobile below. */
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.testimonial-card blockquote {
  color: #20507A;
  font-size:1.08rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height:1.6;
  margin-bottom:0;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #54718b;
  font-style: italic;
  margin-left: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  margin-top: 54px;
}
footer .container {
  flex-direction: column;
  padding-top: 30px;
  padding-bottom: 12px;
  gap: 8px;
  align-items: center;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.footer-menu a {
  color: #20507A;
  transition: color 0.18s, text-decoration 0.18s;
  text-decoration: underline dotted transparent;
  border-radius: 3px;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #79A842;
  text-decoration: underline solid #79A842;
}
.footer-info span {
  color: #7c8187;
  font-size: 0.97rem;
  font-family: 'Georgia', serif;
}

/* ============================================================
   SPECIAL & UTILITY STYLES
   ============================================================ */

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.contact-details ul {
    margin-left:0;
    gap: 8px;
}
.map-location {
    margin-top: 12px;
    font-size:0.98rem;
    color: #54718b;
    background: var(--accent);
    padding: 15px 22px;
    border-radius: 8px;
}

.service-steps ol {
  margin-left: 22px; 
  font-size:1.03rem;
  color: #233343;
  gap: 8px;
  display: flex;
  flex-direction: column;
}
.service-steps ol li {
  padding: 4px 0;
}

/***** THANK YOU PAGE *****/
.thank-you {
  text-align: center;
  min-height: 40vh;
}
.thank-you .btn-primary {margin: 20px auto 0 auto; display: inline-block;}
.thank-you .text-section {margin-top:16px;}

/***** FAQ / SHORT-ANSWER *****/
.faq-short ul li {
  font-size: 1.04rem;
  color: #20507A;
  padding-left: 8px;
}

/***** SEEMLESS BUTTON ANIMATION *****/
.btn-primary, .btn-secondary {
  transition: background 0.22s, color 0.20s, box-shadow 0.21s, transform 0.18s;
}
.btn-primary:active, .btn-secondary:active {
  transform: translateY(2px) scale(.99);
}

/***** CARD SHADOWS, HOVERS, EFFECTS *****/
.card, .testimonial-card {
  transition: box-shadow 0.21s, transform 0.20s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(32,80,122,0.13);
  transform:translateY(-3px) scale(1.02);
}

/***** INTERACTIVE LINK TRANSITION *****/
a, .policy a {
  transition: color 0.18s, text-decoration 0.14s;
  color: #20507A;
}
a:hover, a:focus, .policy a:hover, .policy a:focus {
  color: #79A842;
  text-decoration: underline;
}

/***** ACCENT-LINK *****/
.text-section a {
  font-style: italic;
}

/* ============================================================
   COOKIE CONSENT BANNER & MODAL
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -6px 36px 0 rgba(32,80,122,0.10);
  border-top: 2px solid #79A842;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 18px 18px 18px;
  gap:16px;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.08rem;
  color: #233343;
  animation: cookie-fade-in 0.5s;
}
@keyframes cookie-fade-in {
  from { opacity:0; transform: translateY(50px); }
  to { opacity:1; transform: none; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', serif;
  font-weight: 700;
  font-size: 1.00rem;
  border-radius: 24px;
  padding: 10px 26px;
  border: none;
  transition: background 0.22s, color 0.18s, box-shadow 0.18s;
  background: var(--primary);
  color: var(--white);
}
.cookie-banner .cookie-reject {
  background: var(--gray-400);
  color: var(--gray-800);
}
.cookie-banner .cookie-settings {
  background: var(--secondary);
  color: var(--white);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(1.08);
  box-shadow: 0 2px 10px rgba(32,80,122,0.08);
}

/* COOKIE MODAL (for settings) */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32,80,122,0.22);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-in 0.25s;
}
@keyframes modal-in {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(32,80,122,0.16);
  padding: 38px 38px 24px 38px;
  min-width: min(97vw, 420px);
  color: #182A36;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1.07rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .cookie-switch {
  width: 38px;
  height: 24px;
  background: var(--gray-200);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  margin-left: 12px;
}
.cookie-modal .cookie-switch input {
  display:none;
}
.cookie-modal .cookie-switch span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.cookie-modal .cookie-switch input:checked + span {
  left: 16px;
  background: var(--secondary);
}
.cookie-modal .category-desc {
  font-size: 0.97rem;
  color: #4c6685;
  margin-top: 3px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 1.5rem;
  background: transparent;
  color: #233343;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  padding: 2px 8px;
  transition: background 0.20s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: var(--accent);
}

/* ============================================================
   RESPONSIVENESS (MOBILE-FIRST)
   ============================================================ */
@media (max-width: 991px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 96vw;
  }
  header .container { flex-wrap: wrap; gap:8px; }
  .main-nav, .btn-primary {display: none;}
}
@media (max-width: 900px) {
  .content-grid, .card-container {
    flex-direction: column;
    align-items: stretch;
    gap: 20px !important;
  }
}
@media (max-width: 768px) {
  section, .section {
    margin-bottom: 40px;
    padding: 24px 0;
    border-radius: var(--radius-md);
  }
  h1 { font-size: 1.52rem; }
  h2 { font-size: 1.19rem; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 14px;
  }
  .features ul li img { width: 26px; height: 26px; }
  .hero {min-height: 140px;}
  .content-wrapper { gap: 18px; }
  .footer-menu { gap: 16px; }
  .policy .text-section { font-size: 0.96rem; }
}
@media (max-width: 620px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
    max-width: 99vw;
  }
  header .container { height:68px; }
  .logo img { height:32px; }
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 6vw 18px 6vw;
    min-width:96vw;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  header,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal-overlay,
  footer {
    display: none !important;
  }
}
