/* ===========================================================
   Bright Discover Monochrome Sophisticated Theme - style.css
   =========================================================== */

/* =====================
   CSS RESET / 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,main,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 {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.5;
  font-size: 16px;
  color: #151515;
  background-color: #fcfcfc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  color: inherit;
  outline: none;
}
ul, ol {
  list-style: none;
}

::-webkit-scrollbar {
  width: 8px;
  background: #ededed;
}
::-webkit-scrollbar-thumb {
  background: #bbb;
}

/* =============================
   TYPOGRAPHY – Elegant & Modern
   ============================= */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #20232a;
  background: #fff;
  letter-spacing: 0.02em;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #111;
  line-height: 1.13;
  font-weight: 700;
}
h1 {
  font-size: 2.75rem; /* 44px */
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1rem; /* 16px */
  margin-bottom: 8px;
}
p, li, label {
  font-size: 1rem;
  color: #212426;
  margin-bottom: 12px;
}
blockquote {
  font-style: italic;
  font-size: 1.20rem;
  color: #222;
  border-left: 4px solid #222;
  padding-left: 20px;
  margin-bottom: 12px;
  background: #fafafa;
}
strong, b {
  font-weight: 700;
}
.text-section ul, .text-section ol, ul, ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
.text-section ul li::marker, ul li::marker {
  color: #888;
}
.text-section ul li, ul li {
  margin-bottom: 6px;
  font-size: 1rem;
}

/* =============================
   MONOCHROME COLORS & VARIABLES
   ============================= */
:root {
  --color-primary: #123B59; /* Brand primary dark blue */
  --color-accent: #fff;
  --color-secondary: #F4B31B; /* Brand accent yellow (use sparingly) */
  --color-neutral-dark: #121212;
  --color-grey-900: #222;
  --color-grey-800: #313336;
  --color-grey-700: #444;
  --color-grey-600: #666;
  --color-grey-300: #E0E0E0;
  --color-grey-200: #f7f7f7;
  --shadow: 0 5px 25px 0 rgba(0,0,0,0.07), 0 1.5px 3px 0 rgba(0,0,0,0.03);
  --radius: 12px;
  --radius-s: 6px;
  --transition: all 0.2s cubic-bezier(.32,.72,.24,1);
  --focus-outline: 2px solid var(--color-primary);
}

/* ===============================
   LAYOUT: Container & Spacing
   =============================== */
.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 12px 36px 0 rgba(11, 29, 47, 0.09);
  z-index: 2;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.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;
  background: #f5f5f5;
  border-radius: var(--radius);
  box-shadow: 0 2.5px 8px 0 rgba(0,0,0,0.05);
  margin-bottom: 24px;
  border-left: 4px solid var(--color-primary);
  color: #191A1C;
}
.testimonial-card blockquote {
  color: #181818;
  background: none;
  border-left: none;
}
.testimonial-card p {
  margin-bottom: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f9f9f9;
  border-radius: var(--radius-s);
  padding: 18px 18px 16px 18px;
  margin-bottom: 20px;
  box-shadow: 0 0.5px 4px 0 rgba(0,0,0,0.03);
}

/* == HERO/SECTION VARIANTS == */
.hero, .blog-hero, .confirmation {
  background: linear-gradient(120deg, #fff 70%, #f3f3f5 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 60px 0 40px 0;
  margin-bottom: 60px;
}
.hero h1, .blog-hero h1, .confirmation h1 {
  color: #111;
  font-family: 'Montserrat', 'Roboto', sans-serif;
}

/* ==============================
   NAVIGATION & HEADER
   ============================== */
header {
  background: #fff;
  box-shadow: 0 1.5px 10px 0 rgba(0,0,0,0.03);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 24px 20px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}
.main-nav img {
  height: 36px;
  margin-right: 36px;
}
.main-nav a,
.footer-nav a {
  color: #101217;
  padding: 4px 0;
  position: relative;
  border-radius: 2px;
  transition: color 0.16s, background 0.16s;
}
.main-nav a:hover,
.footer-nav a:hover,
.main-nav a:active {
  color: var(--color-primary);
  background: #F8F9F9;
  text-decoration: underline;
}
.main-nav .btn-primary {
  margin-left: 20px;
  padding: 10px 28px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-radius: 24px;
  background: var(--color-primary);
  color: #fff !important;
  box-shadow: var(--shadow);
  border: none;
  position: relative;
  z-index: 1;
  transition: color 0.15s, background 0.15s, box-shadow 0.19s;
}
.main-nav .btn-primary:hover, .main-nav .btn-primary:focus {
  background: #1f4f73;
  color: #fff;
  box-shadow: 0 2.5px 10px 0 rgba(18,59,89,0.13);
}


/* Hamburger Menu Button - Mobile Only */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 28px;
  top: 26px;
  background: transparent;
  color: #101217;
  font-size: 2rem;
  border: none;
  z-index: 303;
  cursor: pointer;
  transition: color 0.13s;
}
.mobile-menu-toggle:focus {
  outline: var(--focus-outline);
  color: var(--color-primary);
}


/* ==============================
   MOBILE MENU OVERLAY
   ============================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 8px 32px 0 rgba(20,20,27,0.16);
  z-index: 401;
  transform: translateX(105%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 25px;
  font-size: 2.2rem;
  color: #222;
  background: none;
  border: none;
  z-index: 999;
  cursor: pointer;
  padding: 2px 12px;
  transition: color 0.16s;
  border-radius: 4px;
}
.mobile-menu-close:focus {
  outline: var(--focus-outline);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 80px 32px 36px 32px;
  gap: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.17rem;
  font-weight: 600;
}
.mobile-nav a {
  color: #191A1C;
  padding: 12px 2px;
  border-radius: var(--radius-s);
  background: none;
  margin-bottom: 3px;
  transition: color 0.17s, background 0.17s;
  font-size: 1.17rem;
  display: block;
  min-width: 32vw;
}
.mobile-nav a:active, .mobile-nav a:hover {
  color: var(--color-primary);
  background: #F5F7F9;
}

/* Hide menu & burger on desktop */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Ensure menu covers full screen on mobile */
@media (max-width: 631px) {
  .mobile-nav {
    font-size: 1.035rem;
    padding: 64px 16px 16px 16px;
  }
}

/* ===============================
   BUTTONS
   =============================== */
.btn-primary, a.btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff !important;
  padding: 12px 32px;
  border-radius: 26px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  transition: background 0.17s, box-shadow 0.18s, color 0.17s, outline 0.15s;
  box-shadow: 0 5px 18px 0 rgba(12, 39, 73, 0.07);
  border: none;
  outline: none;
  vertical-align: middle;
}
.btn-primary:focus, .btn-primary:active {
  background: #254A67;
  color: #fff;
  outline: var(--focus-outline);
}
.btn-primary:hover {
  background: #254A67;
  color: #fff;
  box-shadow: 0 5px 32px 0 rgba(18,59,89,0.13);
}

.btn-secondary, a.btn-secondary {
  display: inline-block;
  background: #fff;
  color: var(--color-primary) !important;
  border: 1.5px solid var(--color-primary);
  padding: 11px 30px;
  border-radius: 26px;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, border 0.18s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-primary);
  color: #fff !important;
  border-color: #092233;
}

.btn-tertiary, a.btn-tertiary {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 25px;
  background: #ededed;
  color: var(--color-grey-700) !important;
  font-weight: 500;
  transition: background 0.17s, color 0.15s;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background: #000;
  color: #fff !important;
}

/* =========================
   FEATURE + CARD GRIDS
   ========================= */
.feature-grid, .post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 26px 0 10px 0;
}
.feature-grid li,
.post-list li {
  flex: 1 1 260px;
  min-width: 260px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 18px 20px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  transition: box-shadow 0.21s;
}
.feature-grid li:hover, .post-list li:hover {
  box-shadow: 0 6px 22px 0 rgba(11,29,47,0.08);
}
.feature-grid li img {
  width: 42px;
  height: 42px;
}

/* Blog Categories & Search Bar */
.categories-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 10px 0 16px 0;
  align-items: center;
  font-size: 1rem;
  color: #393939;
}
.categories-filter a {
  background: #f2f2f2;
  color: #111;
  border-radius: 16px;
  padding: 4px 16px;
  transition: background 0.18s, color 0.18s;
  font-size: 0.96rem;
  font-weight: 500;
}
.categories-filter a:hover, .categories-filter a.active {
  background: var(--color-primary);
  color: #fff;
}
.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 6px 0 16px 0;
  align-items: center;
}
.search-bar label {
  font-weight: 500;
  font-size: 1rem;
}
.search-bar input[type="text"] {
  border: 1.5px solid #bbb;
  background: #fff;
  padding: 10px 22px;
  border-radius: 22px;
  min-width: 180px;
  font-size: 1rem;
  color: #161a1c;
  outline: none;
  transition: border-color 0.14s;
}
.search-bar input[type="text"]:focus {
  border-color: var(--color-primary);
}

/* =========================
   FAQ & Accordions
   ========================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fafbfc;
  border-radius: var(--radius-s);
  box-shadow: 0 0.5px 2px 0 rgba(10,10,20,0.03);
  padding: 18px 20px 16px 18px;
  margin-bottom: 10px;
}
.faq-item h3 {
  margin-bottom: 4px;
  font-size: 1.02rem;
  color: #161617;
}
.faq-item p {
  font-size: 0.98rem;
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: #fff;
  border-top: 1.5px solid #ececec;
  padding: 32px 24px 20px 24px;
  margin-top: 48px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #23374b;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 2px;
}
footer p {
  font-size: 0.97rem;
  color: #888;
  margin-bottom: 0;
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #191c1e;
  color: #fff;
  z-index: 9000;
  padding: 22px 18px;
  box-shadow: 0 -1.5px 12px 0 rgba(0,0,0,0.08);
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius) var(--radius) 0 0;
  animation: slideUp 0.45s cubic-bezier(.25,.74,.23,1);
}
@keyframes slideUp {
  0% { transform: translateY(120%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner__text {
  font-size: 1.02rem;
  flex: 1 1 220px;
  color: #fff;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner__btn {
  padding: 9px 26px;
  border-radius: 22px;
  font-size: 1rem;
  margin:0 2px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #1f4f73;
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: #1a1a1a;
  border: 1.5px solid #aaa;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #ededed;
}
.cookie-settings {
  background: var(--color-grey-900);
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-grey-700);
  color: #fff;
  border-color: #000;
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(16,16,24,0.48);
  z-index: 10010;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeInModal 0.24s cubic-bezier(.22,.72,.26,1);
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: var(--radius);
  max-width: 440px;
  min-width: 270px;
  padding: 34px 28px 28px 28px;
  box-shadow: 0 12px 40px 0 rgba(15,23,43,0.13);
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal__header {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #161617;
}
.cookie-modal__categories {
  margin-top: 12px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__cat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-modal__label {
  font-size: 1rem;
  color: #20232a;
  flex: 1 1 140px;
}
.cookie-modal__toggle {
  appearance: none;
  width: 42px; height: 22px;
  background: #e6e6e6;
  border-radius: 13px;
  border: 1px solid #bbb;
  position: relative;
  transition: background 0.14s, border 0.14s;
  outline: none;
  cursor: pointer;
}
.cookie-modal__toggle:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.cookie-modal__toggle::after {
  content: "";
  display: block;
  width: 18px; height: 18px;
  position: absolute;
  left: 1.5px; top: 1px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0.5px 2.5px 0 rgba(12,29,47,0.08);
  transition: left 0.19s, background 0.18s;
}
.cookie-modal__toggle:checked::after {
  left: 21px;
  background: #d5e7f9;
}
.cookie-cat-fixed {
  opacity: 0.74;
  font-size: 0.97rem;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-modal__close {
  position: absolute;
  right: 13px;
  top: 13px;
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: #1e1e23;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal__close:hover {
  color: var(--color-primary);
}

/* Responsive adaptations for cookie banner and modal */
@media (max-width: 631px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 8px;
  }
  .cookie-modal__dialog {
    padding: 20px 7vw 18px 7vw;
  }
}

/* =========================
   UTILITIES & ANIMATIONS
   ========================= */
.transition {
  transition: var(--transition);
}
.rounded {
  border-radius: var(--radius);
}
.shadow {
  box-shadow: var(--shadow);
}

/* Subtle card and button active states */
.card:active, .feature-grid li:active, .post-list li:active {
  box-shadow: 0 1.5px 5px 0 rgba(8,22,43,.07);
}
.btn-primary:active {
  background: #0B243B;
}

/* Microinteractions */
.card, .feature-grid li, .btn-primary {
  will-change: box-shadow, transform;
  transition: box-shadow 0.21s cubic-bezier(.58,.58,.45,1), transform 0.17s cubic-bezier(.4,.8,.3,1);
}
.btn-primary:active {
  transform: scale(0.973);
}
.card:hover, .feature-grid li:hover, .post-list li:hover {
  transform: translateY(-4px) scale(1.017);
}

/* ===============================
   RESPONSIVE DESIGN - MOBILE FIRST
   =============================== */
/* -- Initially mobile styles, then scale to larger screens -- */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.44rem;
  }
  .main-nav {
    flex-direction: column;
    gap: 10px;
    padding: 18px 10px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    margin-bottom: 38px;
    padding: 27px 8px;
  }
  .feature-grid, .post-list {
    gap: 14px;
  }
  .feature-grid li, .post-list li {
    padding: 16px 10px 16px 10px;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .card-container,
  .content-grid {
    gap: 10px;
  }
}
@media (max-width: 431px) {
  h1 {
    font-size: 1.2rem;
    margin-bottom: 12px; 
  }
  h2 {
    font-size: 1.02rem;
    margin-bottom: 9px;
  }
  .footer-nav {
    gap: 10px;
  }
}

/* ===============================
   ADDITIONAL SECTION STYLES
   =============================== */
.text-section h3 {
  font-size: 1.12rem;
  margin-bottom: 7px;
  color: #35363E;
}
.text-section p, .text-section li {
  font-size: 1rem;
}
.text-section img {
  vertical-align: middle;
  margin-right: 6px;
  height: 20px;
  width: auto;
}

/* Forms (for newsletter/contact) */
input[type="email"], input[type="text"], textarea {
  padding: 10px 18px;
  border: 1.5px solid #bababa;
  border-radius: 22px;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border-color 0.13s;
  width: 100%;
  color: #181818;
}
input[type="email"]:focus, input[type="text"]:focus, textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* ==========================
   VISUAL HIERARCHY
   ========================== */
/* High contrast for monochrome sophistication */
.section, .feature-grid li, .card, .post-list li, .testimonial-card, .faq-item {
  border: 1.5px solid #ededed;
}
.hero, .blog-hero, .confirmation {
  border-bottom: 3.5px solid var(--color-primary);
  background: linear-gradient(110deg, #fff 65%, #f8f8fa 100%);
}

/* ==========================
   OVERLAY EFFECTS
   ========================== */
[aria-modal="true"] {
  background: rgba(30,30,40,0.36) !important;
}

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

/* ==========================
   ACCESSIBILITY
   ========================== */
:focus {
  outline: var(--focus-outline);
}

/* == END == */
