/* 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%;
  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;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #E0EEF1;
  color: #182548;
  scrollbar-width: thin;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
a {
  color: #182548;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #4DAFA7;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 24px;
}
li:not(:last-child) {
  margin-bottom: 12px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #182548;
  text-shadow: 0 2px 12px rgba(77,175,167,0.06);
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, li, td, th {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #22325d;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-style: italic;
  color: #182548;
  border-left: 5px solid #4DAFA7;
  padding-left: 20px;
  background: #f6fcfd;
  margin: 0 0 12px 0;
  font-size: 1.1rem;
}

/* COLOR PALETTE CSS VARIABLES */
:root {
  --primary: #182548;
  --secondary: #4DAFA7;
  --accent: #E0EEF1;
  --info: #ffd947;
  --info-dark: #ffb700;
  --danger: #ff6681;
  --white: #fff;
  --shadow: rgba(24,37,72,0.10);
  --radius: 18px;
  --radius-sm: 10px;
}

/* SPACING & LAYOUT */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 16px var(--shadow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform 0.15s cubic-bezier(0.33,1,0.68,1), box-shadow 0.18s;
  padding: 22px 24px;
  min-width: 250px;
}
.card:hover, .service-card:hover {
  transform: translateY(-4px) scale(1.03) rotate(-1.2deg);
  box-shadow: 0 10px 32px 0 rgba(77, 175, 167,0.13), 0 2px 16px rgba(24,37,72,0.09);
}

.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;
  padding: 20px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px var(--shadow);
  margin-bottom: 20px;
  flex-wrap: wrap;
  min-width: 230px;
  transition: box-shadow 0.25s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px var(--secondary), 0 2px 12px var(--shadow);
  transform: scale(1.025) rotate(0.4deg);
}
.testimonial-card blockquote {
  flex: 1 1 220px;
  background: transparent;
  border-left: 4px solid var(--secondary);
  padding-left: 18px;
  font-size: 1.06rem;
}

.testimonial-card strong {
  color: var(--primary);
  font-weight: 700;
}
.testimonial-card span {
  color: #ffb700;
  font-weight: bold;
  margin-left: 6px;
  letter-spacing: 0.08em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.service-card {
  background: var(--white);
  border: 3px solid var(--secondary);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(77,175,167,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.11s;
}
.service-card h2 {
  margin-bottom: 12px;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
}

/* BUTTONS & CTA */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--secondary);
  border-radius: 90px;
  padding: 12px 32px;
  margin-top: 8px;
  box-shadow: 0 2px 16px 0 rgba(77,175,167,0.16);
  border: 2px solid var(--secondary);
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, color 0.16s, box-shadow 0.17s, border 0.17s, transform 0.16s;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  box-shadow: 0 12px 32px rgba(24,37,72,0.10);
  transform: translateY(-2px) scale(1.03);
}

/* Header & Navigation */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 24px 0 rgba(24,37,72,0.09);
  position: relative;
  z-index: 100;
}
header img {
  height: 38px;
  margin-right: 16px;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 14px;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: background 0.2s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
header .cta-btn {
  margin-left: 20px;
  background: var(--info);
  color: var(--primary);
  border-color: var(--info-dark);
}
header .cta-btn:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 102;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: none;
  font-size: 2rem;
  box-shadow: 0 2px 10px 0 rgba(77,175,167,0.19);
  transition: background 0.18s, color 0.15s, box-shadow 0.14s;
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--white);
  outline: 2px solid var(--info-dark);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--white);
  z-index: 104;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(0.85,0.15,0.38,1);
  box-shadow: 0 4px 40px rgba(24,37,72,0.45);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--info);
  background: none;
  border: none;
  align-self: flex-end;
  margin: 24px 24px 18px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--danger);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 32px;
  margin-top: 24px;
}
.mobile-nav a {
  color: var(--white);
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 12px;
  border-radius: 10px;
  background: none;
  transition: background 0.16s, color 0.14s, box-shadow 0.18s;
  font-weight: 600;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Table styles (pricing) */
table {
  width: 100%;
  border-spacing: 0;
  margin-bottom: 18px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px var(--shadow);
  overflow: hidden;
  font-size: 1rem;
}
th, td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #b8dad7;
}
th {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:nth-child(odd) td {
  background: var(--white);
}

/* Footer styles */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 30px 0 18px 0;
}
footer .container {
  max-width: 1080px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  height: 46px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1rem;
  color: var(--info);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: var(--info);
  padding: 3px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.16s;
}
footer nav a:hover {
  color: var(--secondary);
}
.legal-disclaimer {
  width: 100%;
  text-align: right;
  font-size: 0.95rem;
  color: #a9cede;
  margin-top: 18px;
  letter-spacing: 0.01em;
}

/* Testimonial grid (testimonials.html) */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .testimonial-grid {
    gap: 18px;
  }
}

/* Animations & playful touches */
.cta-btn,
.card,
.service-card, 
.testimonial-card {
  transition: box-shadow 0.19s, transform 0.18s;
}
.cta-btn:active, .card:active, .service-card:active, .testimonial-card:active {
  transform: scale(0.97);
}
.cta-btn {
  box-shadow: 0 4px 26px 0 rgba(240,183,7,0.06);
  animation: pop-in 0.48s cubic-bezier(0.25,1.9,0.6,1.01) both;
}
@keyframes pop-in {
  0% { opacity: 0; transform: translateY(20px) scale(.9); }
  80% { opacity: 1; transform: translateY(-1px) scale(1.09); }
  100% { opacity: 1; transform: none; }
}
.section {
  animation: fade-in-section 0.88s cubic-bezier(0.13,0.84,0.27,1) both;
}
@keyframes fade-in-section {
  0% { opacity: 0; transform: translateY(40px) scale(0.96); }
  100% { opacity: 1; transform: none; }
}

/* Fun font for titles! */
h1, h2, h3 {
  font-family: 'Montserrat', 'Comic Sans MS', cursive, Arial, Helvetica, sans-serif;
  letter-spacing: 0.012em;
}

/* Icons inside ul */
ul img {
  height: 26px;
  width: 26px;
  margin-right: 10px;
  vertical-align: middle;
  filter: drop-shadow(0 1px 8px #e0eef1b5);
  margin-bottom: -4px;
}

/* Cookie Consent Banner (fixed bottom) */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: var(--info);
  color: #213255;
  box-shadow: 0 -2px 24px 0 rgba(77,175,167,0.21);
  padding: 22px 22px 20px 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  border-radius: 18px 18px 0 0;
  animation: slide-up-banner 0.63s cubic-bezier(0.34,1.08,0.68,0.91);
}
@keyframes slide-up-banner {
  0% { transform: translateY(80px); opacity:0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  flex: 1 1 auto;
  color: #22325d;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 90px;
  border: none;
  font-size: 1rem;
  padding: 8px 26px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.16s, color 0.13s, box-shadow 0.13s;
  margin-right: 4px;
}
.cookie-accept {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-accept:hover {
  background: var(--primary);
  color: var(--white);
}
.cookie-reject {
  background: var(--danger);
  color: var(--white);
}
.cookie-reject:hover {
  background: #fff;
  color: var(--danger);
  border: 2px solid var(--danger);
}
.cookie-settings {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-settings:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2050;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,37,72,0.29);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in-modal .33s;
}
@keyframes fade-in-modal {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 17px;
  box-shadow: 0 2px 42px 0 rgba(77,175,167,0.16);
  padding: 32px 26px 24px 26px;
  max-width: 420px;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  min-width: 300px;
  animation: pop-in 0.35s;
}
.cookie-modal h2 {
  color: var(--secondary);
  margin-bottom: 6px;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #d6f3ee;
  font-size: 1.03rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-switch {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #d7eaea;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-switch:checked {
  background: var(--secondary);
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.22s;
}
.cookie-switch:checked:before {
  transform: translateX(16px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  right: 13px;
  top: 13px;
  font-size: 1.55rem;
  color: var(--secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: var(--danger);
}

/* MEDIA QUERIES */
@media (max-width: 1080px) {
  .footer .content-wrapper, .container, footer .container {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .section, .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  footer .content-wrapper {
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
  .container {
    padding-left: 4px; padding-right: 4px;
  }
  .content-wrapper {
    gap: 16px;
  }
  header {
    flex-direction: row;
    padding: 15px 10px 15px 10px;
  }
  header nav {
    display: none;
  }
  header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-contact {
    font-size: .95rem;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .testimonial-card, .service-card, .card {
    min-width: 0;
    font-size: 1rem;
    padding: 16px 10px;
  }
  .testimonial-grid {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.15rem; }
  .section {
    padding: 16px 3px;
  }
  .mobile-menu {
    padding-left: 0; padding-right: 0;
  }
  .mobile-nav a { font-size: 1.05rem; }
  .cookie-modal {
    padding: 18px 7px 10px 8px;
  }
}
@media (max-width: 600px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .footer .content-wrapper {
    gap: 10px;
  }
}

/* Playful icon wiggle animation */
ul img, .service-card:hover h2 {
  animation: wiggle 1.12s infinite alternate cubic-bezier(.77,0,.18,1.08);
}
@keyframes wiggle {
  0% { transform: rotate(-2deg) scale(1.01); }
  10% { transform: rotate(4deg) scale(1.03); }
  25% { transform: rotate(-4deg) scale(0.98); }
  50% { transform: rotate(2deg) scale(1.04); }
  70% { transform: rotate(-2deg) scale(1.01); }
  100% { transform: rotate(1deg) scale(1); }
}

/* MISC */
::-webkit-scrollbar {
  width: 8px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: #d4f4ed;
  border-radius: 7px;
}

::selection {
  background: var(--secondary);
  color: var(--primary);
}

/* End of playful dynamic responsive Flexbox CSS for Navra Shield CRM */
