/* ========================
   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, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #181C24;
  color: #F3EADA;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #90A7B2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F3EADA;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
  background: none;
}
/* ===============
  BRAND FONTS
================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F3EADA;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
  color: #F3EADA;
}
/* ===============
  CONTAINER
================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
/* =========================
  HEADER & NAVIGATION STYLES
============================ */
header {
  background: #222C40;
  border-bottom: 3px solid #2D393F;
  box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.13);
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  height: 80px;
  justify-content: space-between;
  gap: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #F3EADA;
  opacity: 0.85;
  letter-spacing: 0.055em;
  position: relative;
}
header nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #006F5F;
  transition: width 0.22s cubic-bezier(0.4,0,0.2,1);
  position: absolute;
  left: 0; bottom: -4px;
}
header nav a:hover:after, header nav a:focus:after {
  width: 100%;
}
header nav a:hover, header nav a:focus {
  color: #F3EADA;
  opacity: 1;
}
header img {
  max-height: 44px;
  margin-right: 18px;
}
.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #006F5F;
  color: #F3EADA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  border: 2px solid #006F5F;
  margin-left: 16px;
  box-shadow: 0px 2px 8px 0px rgba(17,31,43,0.16);
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.25s, box-shadow 0.26s;
  text-transform: uppercase;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F3EADA;
  color: #222C40;
  border: 2px solid #A3AAAF;
  box-shadow: 0px 4px 22px 0px rgba(17,31,43,0.18);
  text-decoration: none;
}
/* Burger menu button */
.mobile-menu-toggle {
  display: none;
  background: #222C40;
  color: #F3EADA;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 16px;
  transition: background 0.18s, color 0.18s;
  margin-left: 20px;
  z-index: 150;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #006F5F;
  color: #F3EADA;
}
/* ==================
  MOBILE NAVIGATION
===================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,44,64,0.98);
  z-index: 250;
  transform: translateX(-110vw);
  transition: transform 0.33s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #F3EADA;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 34px 26px 16px 0;
  cursor: pointer;
  transition: color 0.17s, background 0.17s;
  border-radius: 6px;
  z-index: 260;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F3EADA;
  background: #006F5F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}
.mobile-nav a {
  color: #F3EADA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  padding: 10px 0;
  width: 90vw;
  text-align: center;
  letter-spacing: 0.06em;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #006F5F;
  color: #F3EADA;
}
/* ======================
  HERO & MAIN SECTIONS
======================= */
main {
  flex: 1 0 auto;
  margin-bottom: 0;
}
section {
  background: #1E2632;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 14px;
  box-shadow: 0px 4px 32px 0 rgba(24,28,36,0.09);
  position: relative;
  overflow: visible;
}
section:last-of-type {
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* =============================
   FLEXBOX LAYOUT PATTERNS
===============================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232A36;
  border: 1px solid #29313C;
  border-radius: 10px;
  box-shadow: 0px 2px 14px 0px rgba(34,44,64,0.07);
  margin-bottom: 20px;
  padding: 24px 22px;
  position: relative;
  flex: 1 1 260px;
  transition: box-shadow 0.20s, border 0.18s;
  min-width: 230px;
}
.card:hover, .card:focus-within {
  box-shadow: 0px 6px 36px 0px rgba(34,44,64,0.14);
  border: 1.8px solid #006F5F;
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F3EADA;
  color: #222C40;
  border-radius: 14px;
  box-shadow: 0px 2px 14px 0 rgba(34,44,64,0.13);
  min-width: 260px;
  max-width: 370px;
  margin-bottom: 20px;
  border-left: 7px solid #006F5F;
  font-size: 1rem;
  position: relative;
}
.testimonial-card p {
  color: #232A36;
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #006F5F;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* =========================
  FLEXBOX FOR SPECIAL LISTS
===========================*/
.features-list, .category-list, .ebook-teasers, .team-list, .blog-list, .category-grid, .ebook-list, .ebook-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 24px;
}
.features-list li, .category-list li, .team-list li, .blog-list li, .category-grid li, .ebook-list li, .ebook-grid li {
  background: #232A36;
  border-radius: 10px;
  padding: 22px 20px;
  margin-bottom: 20px;
  box-shadow: 0px 2px 10px 0 rgba(34,44,64,0.10);
  flex: 1 1 260px;
  min-width: 200px;
  color: #F3EADA;
  border: 1px solid #28313D;
  position: relative;
  transition: border 0.18s, box-shadow 0.20s;
}
.features-list li:hover, .category-list li:hover, .team-list li:hover, .blog-list li:hover, .category-grid li:hover, .ebook-list li:hover, .ebook-grid li:hover {
  border: 1.7px solid #006F5F;
  box-shadow: 0px 4px 22px 0px rgba(0,111,95,0.10);
  z-index: 2;
}
.features-list img, .category-list img, .category-grid img {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}
.features-list h3, .category-list a, .team-list strong, .blog-list h3, .ebook-list strong, .ebook-grid strong {
  color: #F3EADA;
}
.category-list a, .category-grid a {
  color: #006F5F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 12px;
  letter-spacing: 0.025em;
  transition: color 0.18s;
}
.category-list a:hover, .category-grid a:hover {
  color: #F3EADA;
}
/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #1E2632;
  color: #F3EADA;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 24px 14px 24px 24px;
  box-shadow: 0px -2px 18px 0px rgba(34,44,64,0.09);
  border-top: 3px solid #222C40;
  z-index: 9999;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.38s, transform 0.35s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(45px);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.cookie-btn {
  padding: 8px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: 1.8px solid #006F5F;
  background: #006F5F;
  color: #F3EADA;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background .18s, color .18s, border .18s;
  cursor: pointer;
}
.cookie-btn.cookie-reject {
  background: #232A36;
  color: #F3EADA;
  border: 1.8px solid #A3AAAF;
}
.cookie-btn.cookie-settings {
  background: transparent;
  color: #006F5F;
  border: 1.8px solid #006F5F;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F3EADA;
  color: #222C40;
  border: 1.8px solid #222C40;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  color: #F3EADA;
  background: #222C40;
  border: 1.8px solid #F3EADA;
}
/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  z-index: 99999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,44,64,0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #232A36;
  color: #F3EADA;
  border-radius: 16px;
  box-shadow: 0px 8px 36px 0px #222c4066;
  padding: 40px 30px 30px 30px;
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 2.2rem;
  color: #F3EADA;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  z-index: 100;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #006F5F;
  background: #F3EADA;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.cookie-toggle-row label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F3EADA;
  font-weight: 600;
  font-size: 1.06rem;
}
.cookie-switch {
  width: 40px;
  height: 21px;
  display: inline-block;
  position: relative;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch .slider {
  position: absolute;
  left: 0; top: 0; 
  width: 40px; height: 21px;
  background: #29313C;
  border-radius: 21px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .slider {
  background: #006F5F;
}
.cookie-switch .slider:before {
  content: "";
  position: absolute;
  width: 17px; height: 17px;
  left: 2px; top: 2px;
  background: #F3EADA;
  border-radius: 100%;
  transition: transform 0.2s, background 0.18s;
}
.cookie-switch input:checked + .slider:before {
  transform: translateX(19px);
  background: #181C24;
}
.cookie-modal-category-desc {
  color: #A3AAAF;
  font-size: 0.97rem;
  margin-bottom: 5px;
}
/* Search bar */
.search-bar {
  margin: 18px 0 0 0;
  display: flex;
  gap: 0;
  width: 100%;
}
.search-bar input {
  padding: 10px 16px;
  border-radius: 6px;
  border: 1.5px solid #29313C;
  background: #1E2632;
  color: #F3EADA;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  width: 100%;
  transition: border 0.17s;
}
.search-bar input::placeholder {
  color: #A3AAAF;
  opacity: 1.0;
}
.search-bar input:focus {
  border: 1.5px solid #006F5F;
  background: #232A36;
}
/* Filter options */
.filter-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 14px 0 28px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #A3AAAF;
}
.filter-options a {
  color: #006F5F;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  font-weight: 700;
}
.filter-options a:hover, .filter-options a:focus {
  background: #222C40;
  color: #F3EADA;
}
/* Contact details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 14px 0 24px 0;
}
.contact-details img {
  vertical-align: middle;
  width: 20px;
  margin-right: 8px;
}
.map-embed {
  margin: 16px 0;
  background: #232A36;
  border-radius: 7px;
  padding: 16px 12px;
  color: #A3AAAF;
}
.map-embed img {
  width: 20px;
  margin-right: 8px;
}
.address-block, .opening-hours {
  margin-bottom: 14px;
}
/* Blog list cta button alignment */
.blog-list li .cta-btn {
  margin-top: 10px;
  margin-left: 0;
}
/* ===============
   FOOTER STYLES
================== */
footer {
  background: #232A36;
  border-top: 4px solid #222C40;
  padding: 30px 0 0 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 34px;
  flex-wrap: wrap;
}
.footer-nav, .footer-contact, .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav {
  flex: 1 1 220px;
  gap: 8px;
}
.footer-nav a {
  color: #A3AAAF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F3EADA;
}
.footer-contact {
  flex: 2 1 320px;
}
.footer-contact img {
  width: 18px;
  margin-right: 7px;
  position: relative; top: 2px;
}
.footer-brand {
  align-items: flex-start;
  gap: 9px;
  flex: 1 1 180px;
}
.footer-brand img {
  max-width: 42px;
  margin-bottom: 5px;
}
.footer-brand span {
  color: #A3AAAF;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
/* ===============
   MODAL BACKDROP
================== */
.modal-backdrop {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,44,64,0.70);
  z-index: 350;
  opacity: 1;
}
/* ===============
   INDUSTRIAL MODERN EFFECTS
================== */
section, .card, .features-list li, .category-list li, .team-list li, .blog-list li, .category-grid li, .ebook-list li, .ebook-grid li {
  border: 1px solid #2D393F;
  box-shadow: 0 4px 28px rgba(34,44,64,0.05);
}
.cta-btn, .cookie-btn {
  box-shadow: 0px 1.5px 6px rgba(0,0,0,0.10), 0 2px 10px rgba(0,111,95,0.09);
}
.card, .features-list li, .category-list li, .team-list li, .blog-list li, .category-grid li, .ebook-list li, .ebook-grid li {
  border-radius: 10px;
}
/* ===============
   CUSTOM SCROLLBAR
================== */
::-webkit-scrollbar {
    width: 7px;
    background: #232A36;
}
::-webkit-scrollbar-thumb {
    background: #2D393F;
    border-radius: 6px;
}
/* ===============
   MEDIA QUERIES
================== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    height: auto;
    padding: 15px 0;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    font-size: 0.98rem;
    padding: 11px 18px;
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
    margin-left: auto;
  }
  section, .section {
    padding: 22px 5px;
    margin-bottom: 38px;
  }
  .testimonials {
    flex-direction: column;
    gap: 17px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .features-list, .category-list, .ebook-teasers, .team-list, .blog-list, .category-grid, .ebook-list, .ebook-grid {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 13px;
  }
  .features-list li, .category-list li, .team-list li, .blog-list li, .category-grid li, .ebook-list li, .ebook-grid li {
    min-width: 0;
    width: 100%;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 19px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 8px 17px 10px;
  }
  .cookie-banner .cookie-actions {
    gap: 12px;
  }
  .cookie-modal-content {
    min-width: 90vw;
    padding: 22px 10px 17px 10px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.35rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.10rem;
    margin-bottom: 13px;
  }
  .footer-nav, .footer-contact, .footer-brand {
    gap: 6px;
  }
  .footer-brand img {
    max-width: 35px;
  }
}
@media (max-width: 430px) {
  .cookie-modal-content {
    min-width: 96vw;
    padding: 12px 4px 7px 6px;
  }
}
/* ===============
   UTILITY CLASSES
================== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; }
.mb-1 { margin-bottom: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 32px; }
.mb-3 { margin-bottom: 32px; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.055em;
}
.hide { display: none !important; }
.flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
/* ===============
   ANIMATIONS
================== */
@keyframes slideInLeft {
  from { transform: translateX(-120vw); }
  to { transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mobile-menu.active {
  animation: slideInLeft 0.33s cubic-bezier(.4,0,.2,1);
}
.cookie-modal.active .cookie-modal-content {
  animation: fadeIn 0.25s cubic-bezier(.4,0,.2,1);
}
/* ===============
   FOCUS STATES
================== */
:focus {
  outline: 2.5px solid #00b09d;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #A3AAAF; }
::-moz-placeholder { color: #A3AAAF; }
:-ms-input-placeholder { color: #A3AAAF; }
::placeholder { color: #A3AAAF; }
/* ===============
   END OF STYLE.CSS
================== */
