/* ===========================
   RESET & BASELINE 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-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #1C232D;
  color: #EFEFEF;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  accent-color: #4CA6A8;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #4CA6A8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
  text-decoration: underline;
}
strong, b {
  font-weight: bold;
}
ul, ol {
  margin: 1em 0 1em 1.5em;
  padding: 0;
}
li {
  margin-bottom: 0.5em;
}

/* FONT IMPORTS (assumes font-face or Google Fonts loaded) */
h1, h2, h3, h4, h5, h6, .cta-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 700;
}

/* ===========================
   COLORS & BRAND TOKENS
   =========================== */
:root {
  --clr-primary: #1C3552;
  --clr-primary-dark: #121D2C;
  --clr-secondary: #4CA6A8;
  --clr-accent: #EFEFEF;
  --clr-bg-darker: #171c23;
  --clr-bg-metal: #232a34;
  --clr-meta: #818A99;
  --clr-danger: #b84444;
  --shadow-md: 0 4px 18px rgba(20, 30, 45, 0.12);
  --shadow-lg: 0 8px 24px rgba(32, 40, 54, 0.23);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 18px;
  --border-metal: 1.5px solid #343f4a;
  --transition-basic: 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* ===========================
   CONTAINERS & LAYOUT
   =========================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-bg-metal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--clr-bg-darker);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-md);
  border: var(--border-metal);
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  transition: box-shadow var(--transition-basic), border var(--transition-basic);
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-secondary);
}
.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: #EFEFEF;
  color: #222c34;
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(18,29,44,0.09);
  border-left: 4px solid var(--clr-secondary);
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--clr-bg-darker);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-md);
  min-width: 180px;
  flex:1 1 200px;
  border: var(--border-metal);
  transition: box-shadow var(--transition-basic), border var(--transition-basic);
}
.feature-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-secondary);
}

/***** Utilities *****/
.mt-0 {margin-top:0 !important;}
.mb-0 {margin-bottom:0 !important;}
.hide {display:none !important;}
.text-center {text-align: center;}
.full-width {width: 100%;}

/* ===========================
   HEADER, NAVIGATION, LOGO
   =========================== */
header {
  width: 100%;
  background: var(--clr-primary-dark);
  box-shadow: 0 3px 18px rgba(10,18,29,0.11);
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 60px;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
}
.logo img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #EFEFEF;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-basic), border-color var(--transition-basic);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--clr-secondary);
  border-bottom: 2px solid var(--clr-secondary);
}
.cta-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: var(--clr-secondary);
  color: #10212C;
  padding: 10px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(80,120,140,0.13);
  margin-left: 32px;
  transition: background var(--transition-basic), color var(--transition-basic), box-shadow var(--transition-basic);
  outline: none;
  text-align: center;
  display: inline-block;
  min-width: 120px;
  text-decoration: none;
}
.cta-button:hover, .cta-button:focus {
  background: #368a8d;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

/***** MOBILE MENU BUTTON & MENU *****/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #EFEFEF;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 20px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
  z-index: 101;
}
.mobile-menu-toggle:focus {
  background: #16202a;
  outline: 2px solid var(--clr-secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--clr-primary);
  box-shadow: 0 10px 32px rgba(7,15,24,0.19);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.5,0.05,0.1,1);
  padding: 24px 32px 0 22px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #EFEFEF;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 8px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-close:focus {
  background: #16202a;
  outline: 2px solid var(--clr-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 22px;
}
.mobile-nav a {
  color: #EFEFEF;
  font-size: 22px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 12px 0;
  border-bottom: 1px solid #27364b;
  transition: color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--clr-secondary);
}

/***** MOBILE NAV VISIBILITY *****/
@media (max-width: 1024px) {
  .main-nav, .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 650px) {
  .mobile-menu {
    padding: 18px 6vw 0 6vw;
  }
  .mobile-nav a {
    font-size: 19px;
  }
}

/* ===========================
   HERO, HEADINGS, TYPOGRAPHY
   =========================== */
h1 {
  font-size: 2.8rem;
  color: var(--clr-secondary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.18;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
h2 {
  font-size: 2rem;
  color: #EFEFEF;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h3 {
  font-size: 1.3rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: var(--clr-secondary);
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--clr-secondary);
}
p, ul, ol, li, span {
  font-size: 1rem;
  color: #EFEFEF;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.text-section p,
.text-section ul,
.text-section ol,
.text-section li {
  color: #EFEFEF;
}
.news-item p {
  color: #ededed;
}
small, .meta {
  color: var(--clr-meta);
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

/* ===========================
   CARDS, FEATURES, BENEFITS
   =========================== */
.feature-grid,
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.benefit-item {
  background: var(--clr-bg-darker);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: var(--border-metal);
  padding: 22px 20px;
  min-width: 180px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow var(--transition-basic), border var(--transition-basic);
}
.benefit-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-secondary);
}
.benefit-item img,
.feature-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(20%) contrast(1.2) brightness(1.3) drop-shadow(0 1px 4px #111b21);
}

/* ===========================
   TESTIMONIALS & REVIEWS
   =========================== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  max-width: 370px;
  flex: 1 1 340px;
  box-shadow: 0 3px 16px rgba(64,70,82,0.09);
  border-radius: var(--radius);
  border-left: 4px solid var(--clr-secondary);
  transition: box-shadow .19s, border-color .14s;
  background: #EFEFEF;
  color: #232a34;
}
.testimonial-card p {
  color: #232a34;
  font-size: 1.08rem;
  margin-bottom: 10px;
  font-style: italic;
}
.testimonial-card span {
  font-weight: 600;
  color: #1C3552;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-left: 4px solid #1C3552;
}

/* ===========================
   NEWS LIST
   =========================== */
.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.news-item {
  background: var(--clr-bg-darker);
  border: var(--border-metal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  flex: 1 1 320px;
  min-width: 260px;
  padding: 28px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border var(--transition-basic), box-shadow var(--transition-basic);
}
.news-item h3 {
  color: var(--clr-secondary);
  font-size: 1.25rem;
  margin-bottom: 7px;
}
.news-item a {
  color: var(--clr-secondary);
  font-weight: 600;
  transition: color .15s;
  align-self: flex-end;
}
.news-item a:hover {
  color: #FFFFFF;
}
.news-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-secondary);
}

/***** STATISTICS (About Eelised) *****/
.statistics {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px 40px;
  margin-top: 20px;
}
.statistics p {
  font-size: 1.18rem;
  color: var(--clr-secondary);
  font-weight: 700;
  letter-spacing:0.01em;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  width: 100%;
  background: var(--clr-primary-dark);
  color: #d2dde2;
  padding: 0;
  box-shadow: 0 -4px 24px #151c24a3;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-top: 50px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
  padding: 40px 20px 30px 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.17em;
  color: #EFEFEF;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
}
.footer-brand img {
  height: 36px;
  filter: grayscale(15%) contrast(1.25);
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-menu a {
  color: #d2dde2;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus{
  color: var(--clr-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  color: #c6d2db;
}
.footer-contact img {
  width:18px;
  vertical-align:middle;
  margin-right:7px;
  opacity: 0.91;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .footer-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 12px;
  }
}
@media (max-width: 600px) {
  footer .container {
    flex-direction: column;
    gap: 15px;
    padding-top: 22px;
    padding-bottom: 18px;
  }
}

/* ==========================
   BUTTONS & INTERACTION
   ========================== */
button, .cta-button {
  outline: none;
  border: none;
  user-select: none;
}
button:active, .cta-button:active {
  transform: translateY(1px) scale(0.97);
}

/* ==========================
   COOKIE BANNER & MODAL
   ========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--clr-primary-dark);
  color: #EFEFEF;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 3200;
  padding: 24px 10px 24px 10px;
  box-shadow: 0 -2px 24px #151c2450;
  gap: 32px;
  transition: transform 0.38s cubic-bezier(0.56,.15,.18,1.12), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
}
.cookie-banner .cookie-banner-text {
  max-width: 650px;
  font-size: 1.06rem;
  color: #EFEFEF;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.15s, box-shadow 0.12s;
}
.cookie-banner .accept {
  background: var(--clr-secondary);
  color: #171c23;
}
.cookie-banner .accept:hover {
  background: #368a8d;
  color: #fff;
}
.cookie-banner .reject {
  background: var(--clr-danger);
  color: #fff;
}
.cookie-banner .reject:hover {
  background: #932828;
}
.cookie-banner .settings {
  background: #293242;
  color: #efefef;
}
.cookie-banner .settings:hover {
  background: #353f54;
  color: var(--clr-secondary);
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 3300;
  background: rgba(26,37,52,0.77);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal {
  background: var(--clr-bg-metal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  padding: 38px 28px 32px 28px;
  color: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width:270px;
  animation: cookieModalFadeIn .35s cubic-bezier(.53,-0.14,.38,1.27);
  position: relative;
}
@keyframes cookieModalFadeIn {
  from { transform: scale(0.95) translateY(42px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--clr-secondary);
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-size:1rem;
  color: #EFEFEF;
  cursor: pointer;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  background: #425266;
  border-radius: 12px;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
  display: inline-block;
}
.cookie-toggle input {
  opacity:0;
  position:absolute;
  width:36px;
  height:20px;
  left:0; top:0;
  margin:0;
}
.cookie-toggle .slider {
  position: absolute;
  left: 3px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--clr-accent);
  box-shadow: 0 1px 5px rgba(44,54,67,0.16);
  transition: left .19s, background .15s;
}
.cookie-toggle input:checked ~ .slider {
  left: 17px;
  background: var(--clr-secondary);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 7px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background:none;
  border:none;
  color:#8fa2b6;
  cursor:pointer;
  font-size:1.5rem;
  padding: 2px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.13s, color 0.11s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #23314c;
  color: var(--clr-secondary);
}

@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 17px 14px 17px 14px;
    align-items: flex-start;
  }
  .cookie-modal {
    max-width: 95vw;
    padding: 26px 12vw;
  }
}
@media (max-width: 450px) {
  .cookie-modal {
    padding: 18px 5vw;
    min-width: 0;
  }
  .cookie-banner {
    padding: 11px 3vw;
  }
}

/* ========================
   RESPONSIVE ADJUSTMENTS
   ======================== */
@media (max-width: 1100px) {
  .container, .footer .container {
    max-width: 95vw;
  }
  .feature-grid,
  .benefits-grid,
  .news-list,
  .testimonial-list {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .feature-grid,
  .benefits-grid,
  .news-list,
  .testimonial-list{
    flex-direction: column;
    gap: 14px;
  }
  .content-grid, .section {
    gap:14px;
  }
}
@media (max-width: 700px) {
  .section {
    padding: 32px 6vw;
  }
  .container {
    padding: 0 8px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .content-wrapper {
    max-width:100vw;
    padding: 0;
  }
  .statistics {
    gap: 16px 20px;
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .content-wrapper, .section {
    padding-left: 0;
    padding-right: 0;
  }
  .card, .feature-item, .benefit-item, .news-item {
    padding: 18px 10px;
  }
  .feature-item, .benefit-item {
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 7vw;
  }
  .footer-menu {
    gap: 18px;
  }
  .footer-brand img {
    height: 30px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.07rem; }
}

/* ============================
   MISC, MICRO-INTERACTIONS
   ============================ */
*:focus {
  outline: 2px solid var(--clr-secondary);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--clr-secondary);
}

.card, .feature-item, .benefit-item, .news-item, .testimonial-card {
  transition: box-shadow .17s, border .15s;
}
.card:hover, .feature-item:hover, .benefit-item:hover, .news-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-secondary);
}
.cta-button, button, .cookie-banner button {
  transition: background 0.18s, color 0.15s, box-shadow 0.13s;
}

/* ==========================
   PRINT STYLES
   ========================== */
@media print {
  body {
    background: #fff !important;
    color: #000;
  }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  .section, .feature-item, .benefit-item, .news-item, .testimonial-card {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #bbb !important;
    box-shadow: none !important;
  }
}
