/* ---------------------------------------------------------- */
/* 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, 
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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #101A2C;
  color: #f5f7fa;
  min-height: 100vh;
}

ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* ---------------------------------------------------------- */
/* FONT IMPORTS                                              */
/* ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Open+Sans:400,600&display=swap');

:root {
  --color-primary: #154B93;
  --color-primary-dark: #11386d;
  --color-bg: #101A2C;
  --color-bg-light: #1F2A44;
  --color-secondary: #E0E8F7;
  --color-white: #ffffff;
  --color-accent: #F9A143;
  --color-neon: #00fff1;
  --color-gray-100: #f5f7fa;
  --color-gray-300: #e0e8f7;
  --shadow-main: 0 6px 24px rgba(0,34,120,0.14);
  --shadow-card: 0 2px 8px rgba(20,60,120,0.15);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition-fast: 0.22s cubic-bezier(.61,.23,.24,.98);
  --transition: 0.33s cubic-bezier(.61,.23,.24,.98);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ---------------------------------------------------------- */
/* GLOBAL STYLES                                             */
/* ---------------------------------------------------------- */
body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #101A2C 0%, #154B93 100%);
  color: var(--color-gray-100);
  font-size: 16px;
  letter-spacing: 0.01em;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }

p, li, blockquote, address, span {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1em;
}
strong { font-weight: 700; }
blockquote {
  font-style: italic;
  color: var(--color-accent);
  padding-left: 1.5em;
  border-left: 3px solid var(--color-accent);
  margin-bottom: 12px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

section {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
  margin-bottom: 60px;
  padding: 40px 20px;
  transition: box-shadow var(--transition);
}
@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: var(--radius-md);
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-container, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition-fast);
}
.card:hover {
  box-shadow: 0 6px 24px 0 var(--color-accent);
  transform: translateY(-6px) scale(1.03);
}

.service-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 16px;
  min-width: 240px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  border-color: var(--color-neon);
  box-shadow: 0 8px 24px 0 var(--color-primary);
}
.price {
  margin-top: 8px;
  color: var(--color-accent);
  font-weight: bold;
}

.features, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-secondary);
  box-shadow: 0 2px 10px 0 rgba(0,16,128,0.065);
  border-radius: var(--radius-md);
  color: #1B254C;
  margin-bottom: 20px;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px var(--color-accent), 0 2px 4px 0 #fff4;
}
.testimonial-card blockquote {
  color: var(--color-primary-dark);
  font-size: 1.1rem;
}
.testimonial-author {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-left: 0.75em;
}

/* ---------------------------------------------------------- */
/* MAIN NAVIGATION                                            */
/* ---------------------------------------------------------- */
header {
  position: relative;
  background: var(--color-bg);
  box-shadow: 0 1px 12px 0 #0006;
  z-index: 99;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav > a img {
  height: 38px;
  width: auto;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-secondary);
  font-size: 1.05rem;
  position: relative;
  padding: 7px 0;
  transition: color var(--transition-fast);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
}
.cta-button {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 100px;
  padding: 10px 32px;
  font-size: 1.13rem;
  letter-spacing: .02em;
  box-shadow: 0 2px 8px 0 var(--color-accent)33;
  margin-left: 16px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-neon);
  color: #112f50;
  box-shadow: 0 6px 24px 0 var(--color-neon), 0 4px 16px 0 var(--color-accent)33;
}

/* Hide the desktop nav on mobile */
@media (max-width: 768px) {
  .main-nav ul,
  .main-nav .cta-button {
    display: none !important;
  }
}

/* ---------------------------------------------------------- */
/* MOBILE MENU                                                */
/* ---------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--color-accent);
  background: transparent;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 6px 12px;
  z-index: 101;
  transition: color var(--transition);
}
.mobile-menu-toggle:focus {
  color: var(--color-neon);
  outline: 2px solid var(--color-neon);
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 28px;
    top: 18px;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  max-width: 98vw;
  background: linear-gradient(135deg, #101A2C 80%, #11386d 100%);
  z-index: 1999;
  transform: translateX(100vw);
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: -2px 0 24px 0 #101A2C66;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-accent);
  font-size: 2.5rem;
  border: none;
  align-self: flex-end;
  margin: 26px 16px;
  cursor: pointer;
  z-index: 1999;
  transition: color var(--transition-fast);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-neon);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 36px 32px 36px 32px;
}
.mobile-nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.20rem;
  font-weight: 600;
  margin: 4px 0;
  padding: 11px 0 9px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-neon);
  background: rgba(249,161,67, 0.07);
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* Overlay for mobile menu (if needed) */
.mobile-menu.active:before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  height: 100vh; width: 100vw;
  background: rgba(16, 26, 44, 0.52);
  z-index: 1998;
  pointer-events: none;
}

/* ---------------------------------------------------------- */
/* FOOTER                                                     */
/* ---------------------------------------------------------- */
footer {
  background: var(--color-bg);
  border-top: 1.5px solid #263759;
  padding: 32px 0 40px 0;
  margin-top: 40px;
  color: #c9eafd;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-menu a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color var(--transition);
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-neon);
}
.brand-desc {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: center;
  margin-bottom: 10px;
  flex-direction: row;
}
.brand-desc img {
  width: 40px; height: 40px; border-radius: 70%; border: 2px solid var(--color-accent);
}
.brand-desc p {
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 1rem;
}
.contact-info {
  text-align: center;
  color: #eee8ff;
  margin-top: 10px;
  font-size: 0.96rem;
}
.contact-info a {
  color: var(--color-neon);
  text-decoration: underline;
  transition: color var(--transition);
}
.contact-info a:hover {
  color: var(--color-accent);
}
@media (max-width: 768px) {
  .footer-menu, .brand-desc {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
    padding-left: 9px;
  }
}

/* ---------------------------------------------------------- */
/* BUTTONS, INPUTS, FORMS                                     */
/* ---------------------------------------------------------- */
button, .cta-button {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border var(--transition);
}
input[type='text'], input[type='email'], textarea {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--color-secondary);
  color: #1B254C;
  font-size: 1rem;
  margin-bottom: 20px;
  border: 1.2px solid var(--color-primary);
  box-shadow: 0 1px 4px #11223322;
  outline: none;
  width: 100%;
  transition: border-color var(--transition);
}
input[type='text']:focus, textarea:focus {
  border-color: var(--color-accent);
}
label {
  font-weight: 600;
  margin-bottom: 6px;
}

/* ---------------------------------------------------------- */
/* BLOG CONTROLS, LISTS, NEWSLETTER                           */
/* ---------------------------------------------------------- */
.blog-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--color-bg);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 26px;
  box-shadow: 0 2px 8px 0 #11274e1a;
}
.blog-categories {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-categories li {
  background: #152f56;
  color: var(--color-accent);
  border-radius: 100px;
  padding: 4px 15px;
  font-weight: 600;
  font-size: 0.98rem;
}
input#search-blog {
  background: #f9fafc;
  border-radius: var(--radius-sm);
  border: 1.5px solid #bbb;
  color: #2d3353;
  padding: 11px 20px;
  font-size: 1rem;
  margin-top: 6px;
  margin-bottom: 0;
  width: 100%;
  box-shadow: 0 1px 4px #b8cee829;
  transition: border-color var(--transition);
}
input#search-blog:focus {
  border-color: var(--color-primary);
}

/* ---------------------------------------------------------- */
/* COOKIE CONSENT BANNER                                      */
/* ---------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-bg-light);
  color: var(--color-white);
  z-index: 4000;
  padding: 24px 20px 18px 20px;
  box-shadow: 0 -2px 16px 0 #001c3c44;
  border-top: 2px solid var(--color-accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: cookieBannerIn .65s cubic-bezier(.61,.23,.24,.98);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  80% { transform: translateY(-12px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  font-size: 1rem;
  max-width: 480px;
  font-family: var(--font-body);
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-radius: var(--radius-sm);
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px #F9A14344;
  transition: background var(--transition), color var(--transition);
}
.cookie-btn.reject {
  background: #11192a;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-neon);
  color: #101A2C;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 6px 13px 6px;
    gap: 17px;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    gap: 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -54%) scale(0.98);
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px #153060dd, 0 2px 8px #154B9344;
  color: var(--color-secondary);
  max-width: 380px;
  width: 96vw;
  padding: 35px 28px;
  z-index: 5000;
  display: none;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn .55s cubic-bezier(.61,.32,.24,.94);
}
.cookie-modal.active {
  display: flex;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translate(-50%, -44%) scale(.94); }
  100% { opacity: 1; transform: translate(-50%, -54%) scale(1); }
}
.cookie-modal-title {
  font-size: 1.33rem;
  font-weight: 700;
  color: var(--color-accent);
}
.cookie-category {
  margin-bottom: 14px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-checkbox {
  transform: scale(1.25);
  margin-right: 8px;
}
.cookie-switch {
  position: relative;
  width: 42px;
  height: 24px;
  display: inline-block;
}
.cookie-switch input {
  display: none;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #222A39;
  border-radius: 20px;
  transition: .2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-accent);
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: var(--color-neon);
  border-radius: 50%;
  transition: .2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  background: var(--color-primary-dark);
  left: 21px;
}
.cookie-modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: transparent;
  color: var(--color-accent);
  font-size: 1.42rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 14px; top: 12px;
  transition: color var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-neon);
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,38,66,0.64);
  z-index: 4999;
  display: none;
}
.cookie-modal-overlay.active {
  display: block;
}

/* ---------------------------------------------------------- */
/* ICONS & NEON EFFECTS                                       */
/* ---------------------------------------------------------- */
ul li img, li img {
  display: inline-block;
  vertical-align: middle;
  width: 27px;
  height: 27px;
  margin-right: 12px;
  filter: drop-shadow(0 0 2px var(--color-neon)) drop-shadow(0 0 8px var(--color-accent));
}

/* ---------------------------------------------------------- */
/* Spacing for between elements                               */
/* ---------------------------------------------------------- */
ul, ul li, ol {
  margin-bottom: 12px;
  line-height: 1.7;
}
ul > li, ol > li {
  margin-bottom: 8px;
  padding-left: 0;
}

/* ---------------------------------------------------------- */
/* MISCELLANEOUS                                              */
/* ---------------------------------------------------------- */
address {
  font-style: normal;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 8px;
}

.table {
  width: 100%;
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.text-right {
  text-align: right;
}

/* ---------------------------------------------------------- */
/* RESPONSIVE ADJUSTMENTS                                     */
/* ---------------------------------------------------------- */
@media (max-width: 1000px) {
  .services-list, .card-container, .features, .content-grid {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .service-card, .card {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .content-wrapper {
    gap: 12px;
  }
  .service-card, .card {
    padding: 18px 11px;
  }
  .brand-desc {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
  .testimonial-card, .feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Utility classes */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }

/* Scrollbars (Tech look) */
::-webkit-scrollbar {
  width: 8px;
  background: #172340;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #19294A 0%, #154B93 31%, #F9A143 100%);
  border-radius: 4px;
}

/* Hide when printing (no print styles for this brief) */
@media print {
  .main-nav, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
