/* RESET AND NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #232323;
  color: #EFF6FA;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #EFF6FA;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #045EAA;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin: 1em 0;
}
ul {
  list-style: disc outside;
}
ol {
  list-style: decimal outside;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0 24px 0;
  background: #2D2D2C;
  box-shadow: 0 2px 14px 0 rgba(60,60,59,0.13);
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  padding: 16px;
  text-align: left;
}
th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #232323;
  color: #045EAA;
  font-size: 18px;
  letter-spacing: 0.03em;
}
td {
  border-top: 1px solid #343439;
}
tr:nth-child(even) td {
  background: #252528;
}

/* ROOT COLORS/FONTS */
:root {
  --color-primary: #045EAA;
  --color-secondary: #3C3C3B;
  --color-accent: #EFF6FA;
  --color-bg-dark: #232323;
  --color-surface: #27282B;
  --color-card: #313234;
  --color-metal: #B0B2B8;
  --color-shadow: rgba(22, 26, 32, 0.2);
  --color-heading: #EFF6FA;
  --color-body: #f4f7fa;
  --shadow-md: 0 2px 14px 0 rgba(60, 60, 59, 0.13);
  --font-display: 'Montserrat', Impact, Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* LAYOUT CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-wrapper {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  color: var(--color-accent);
  flex: 1 1 290px;
  border: 1.5px solid #424246;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px 0 #045eaa33;
  border-color: var(--color-primary);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #EFF6FA;
  color: #232323;
  box-shadow: 0 2px 14px 0 rgba(60,60,59,0.13);
  border-left: 5px solid #045EAA;
  min-width: 250px;
  max-width: 500px;
  font-size: 17px;
  font-family: var(--font-body);
  transition: transform 0.18s, box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 8px 22px 0 #045EAA22;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.feature-item, .features ul > li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  background: var(--color-card);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 28px 20px;
  border-left: 4px solid #045EAA;
  color: #EFF6FA;
  transition: box-shadow 0.18s, border-color 0.2s, transform 0.16s;
  min-width: 230px;
  max-width: 355px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features ul > li:hover, .features ul > li:focus-within {
  border-color: var(--color-metal);
  box-shadow: 0 6px 18px 0 #045eaa20;
  transform: translateY(-2px) scale(1.0125);
}
@media (max-width: 900px) {
  .features ul {
    gap: 16px;
  }
  .feature-item, .features ul > li {
    padding: 22px 14px;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .features ul {
    flex-direction: column;
    gap: 14px;
  }
}

.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.blog-categories ul li a {
  background: #27282B;
  color: var(--color-accent);
  border-radius: 6px;
  padding: 9px 18px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  border: 1.5px solid #35363b;
  transition: background 0.13s, color 0.15s, border-color 0.18s;
  box-shadow: 0 1px 4px 0 rgba(60,60,59,0.08);
}
.blog-categories ul li a:hover, .blog-categories ul li a:focus {
  background: #045EAA;
  color: #EFF6FA;
  border-color: #045EAA;
}

/* HERO AREA */
.hero {
  background: linear-gradient(108deg, #252628 68%, #045EAA 180%);
  padding: 48px 0 64px 0;
  margin-bottom: 60px;
  border-bottom: 1.5px solid #232323;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #EFF6FA;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 16px #045eaa22;
}
.hero .lead {
  font-size: 20px;
  color: #b0b2b8;
  margin-bottom: 32px;
  font-family: var(--font-body);
  font-weight: 400;
}

/* HEADINGS & TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #EFF6FA;
  font-weight: 700;
  line-height: 1.13;
}
h1 {font-size: 2.3rem; margin-bottom: 20px;}
h2 {font-size: 1.7rem; margin-bottom: 18px;}
h3 {font-size: 1.13rem; margin-bottom: 13px; letter-spacing: 0.01em;}
.text-section h2, .text-section h3 {
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 6px;
}
p, ul, ol {
  margin-bottom: 16px;
}
p:last-child, ul:last-child, ol:last-child {
  margin-bottom: 0;
}

.text-section {
  flex: 1 1 282px;
  min-width: 230px;
  background: transparent;
  color: #EFF6FA;
  font-size: 17px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .text-section {
    min-width: 0;
    width: 100%;
  }
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: #045EAA;
  color: #EFF6FA;
  border: none;
  outline: none;
  padding: 13px 34px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 2px 10px 0 #045eaa33;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, transform 0.14s, box-shadow 0.14s;
  margin-top: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1698e1;
  color: #232323;
  box-shadow: 0 7px 18px #045eaa52;
  transform: translateY(-2px) scale(1.031);
  outline: none;
}

/* HEADER & NAVIGATION */
header {
  background: #232323ee;
  box-shadow: 0 2px 8px 0 #238cc332;
  position: relative;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
header img {
  max-height: 52px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 23px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 15.5px;
  color: #EFF6FA;
  padding: 10px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.2s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #045EAA;
  color: #EFF6FA;
}
.main-nav .btn-primary {
  margin-top: 0;
  margin-left: 10px;
}
@media (max-width: 1100px) {
  .main-nav {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 6px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: #045EAA;
  color: #EFF6FA;
  border: none;
  border-radius: 7px;
  font-size: 32px;
  padding: 3px 12px;
  cursor: pointer;
  display: none;
  transition: background 0.16s, color 0.16s;
  z-index: 310;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1698e1;
  color: #232323;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #232323ee;
  box-shadow: 0 0 80px #045eaa44;
  z-index: 301;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.86,0,.07,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 16px 16px 24px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 34px;
  background: none;
  border: none;
  color: #EFF6FA;
  cursor: pointer;
  margin-bottom: 22px;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.15s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #045EAA;
  color: #232323;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 19px;
  color: #EFF6FA;
  padding: 14px 8px;
  border-radius: 7px;
  font-weight: 600;
  background: none;
  transition: background 0.15s, color 0.2s;
}
.mobile-nav .btn-primary {
  width: 92%;
  margin-left: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #045EAA;
  color: #EFF6FA;
}
@media (max-width: 820px) {
  .mobile-menu {
    display: flex;
  }
}

/* Main content padding fix for fixed header */
main {
  margin-top: 0;
}
@media (max-width: 820px) {
  header .container {
    height: 62px;
    padding-top: 7px;
  }
  main {margin-top: 0;}
}

/* FOOTER */
footer {
  background: #19191A;
  color: #B0B2B8;
  padding: 44px 0 18px 0;
  border-top: 2px solid #232323;
  font-size: 15px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
footer .text-section {
  max-width: 350px;
  color: #B0B2B8;
}
footer img {
  max-width: 108px;
  margin-bottom: 12px;
}
.footer-links, .legal-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 156px;
}
.footer-links a, .legal-links a {
  color: #B0B2B8;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-size: 16px;
  transition: color 0.16s;
}
.footer-links a:hover, .legal-links a:hover,
.footer-links a:focus, .legal-links a:focus {
  color: #EFF6FA;
}
footer p {
  color: #606368;
  font-size: 15px;
  margin: 0;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links, .legal-links {
    min-width: 0;
    width: 100%;
    gap: 7px;
  }
}

/* CONFIRMATION SECTION (thanks.php) */
.confirmation {
  background: linear-gradient(108deg, #252628 68%, #045EAA 180%);
  border-radius: 18px;
  box-shadow: 0 2px 22px #045eaa1d;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
  color: #EFF6FA;
}
.confirmation h1 {
  font-size: 2.1rem;
  color: #EFF6FA;
  margin-bottom: 22px;
}
.confirmation .text-section {
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9970;
  background: #27282B;
  box-shadow: 0 -2px 24px #19191a55;
  border-top: 2px solid #045EAA;
  color: #EFF6FA;
  padding: 22px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  font-size: 15.5px;
  transition: transform 0.35s cubic-bezier(.68,0,.24,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(140%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 15px;
  margin-left: 13px;
  border-radius: 6px;
  border: none;
  padding: 8px 22px;
  background: #045EAA;
  color: #EFF6FA;
  font-weight: 600;
  box-shadow: 0 1px 6px #045eaa15;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #1698e1;
  color: #232323;
}
.cookie-banner .cookie-settings-btn {
  background: #232323;
  color: #EFF6FA;
  border: 1px solid #b0b2b85f;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #3c3c3b;
  color: #EFF6FA;
}
@media (max-width: 600px) {
  .cookie-banner {flex-direction: column; align-items: flex-start; gap: 14px;}
  .cookie-banner button {margin-left: 0;}
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #19191A99;
  z-index: 9980;
  opacity: 1;
  transition: opacity 0.26s;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 9991;
  transform: translate(-50%, -50%) scale(1);
  background: #232323;
  color: #EFF6FA;
  padding: 38px 32px 30px 32px;
  min-width: 330px;
  max-width: 96vw;
  border-radius: 15px;
  box-shadow: 0 8px 44px #19191a93;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 1;
  transition: opacity 0.3s, transform 0.4s cubic-bezier(.61,-0.4,.01,1.38);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -30%) scale(0.93);
}
.cookie-modal h3 {
  color: #045EAA;
  font-size: 20px;
  font-family: var(--font-display);
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
}
.cookie-category input[type=checkbox] {
  accent-color: #045EAA;
  width: 20px; height: 20px;
}
.cookie-category.essential label {font-weight: 700;}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 12px;
}
.cookie-modal-actions button {
  min-width: 120px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 24px;
  top: 16px;
  background: none;
  border: none;
  color: #EFF6FA;
  font-size: 29px;
  cursor: pointer;
  outline: none;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #045EAA;
}

@media (max-width: 410px) {
  .cookie-modal {
    padding: 24px 9px 18px 9px;
    min-width: 0;
    font-size: 15px;
  }
}

/* RESPONSIVE LAYOUT */
@media (max-width: 1024px) {
  html {font-size: 98%;}
  .container {max-width: 99vw;}
}
@media (max-width: 768px) {
  html {font-size: 97%;}
  .section, section {padding: 22px 9px;}
  .testimonial-card, .feature-item, .features ul > li {padding: 16px 10px;}
}
@media (max-width: 540px) {
  .hero h1, h1 {
    font-size: 1.29rem;
  }
  .container {padding: 0 8px;}
  th, td {padding: 8px;}
}

/* MICRO-INTERACTIONS */
button, .btn-primary, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button,
.footer-links a, .legal-links a, .main-nav a, .mobile-nav a, .cookie-modal-close {
  transition: background 0.18s, color 0.15s, box-shadow 0.15s, transform 0.14s;
}

/* ACCESSIBLE FOCUS STATES */
a:focus, .btn-primary:focus, button:focus {
  outline: 2px dashed #045EAA;
  outline-offset: 2px;
}

/* CUSTOM SCROLLBAR STYLING */
body::-webkit-scrollbar {
  width: 12px;
  background: #232323;
}
body::-webkit-scrollbar-thumb {
  background: #2d2d2c;
  border-radius: 6px;
  border: 2px solid #232323;
}
body {
  scrollbar-color: #045EAA #232323;
  scrollbar-width: thin;
}

/* INDUSTRIAL MODERN DECORATIVE TOUCHES */
hr {
  border: none;
  border-top: 2px solid #045EAA;
  margin: 32px 0;
  opacity: 0.3;
}

/* MISC */
::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder,
::placeholder {
  color: #888fa6;
  opacity: 1;
  font-family: var(--font-body);
}

/* General spacing for all content elements (no overlap) */
section, .section, .card, .testimonial-card, .feature-item, .features ul > li, .text-section, .blog-categories ul li, .blog-categories ul, table, .confirmation {
  margin-bottom: 20px;
}

/* Additional desktop-specific style if any content grid used */
@media (min-width: 1200px) {
  .content-wrapper {
    gap: 36px;
  }
}

/* END CSS */
