/* ------------------------------------------------------
   Synergy Flare style.css | Modern Bold Flexbox Design
   ------------------------------------------------------
   Brand Colors:
     Primary:   #123765 (deep blue)
     Secondary: #FFB700 (vivid yellow)
     Accent:    #F3F3F3 (soft gray)
   Fonts:
     Display:   Montserrat, Arial, sans-serif
     Body:      Open Sans, Arial, sans-serif
   -------------------
   RESET & BASE STYLES
   ------------------- */
/* Box sizing and reset */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F3F3F3;
  color: #222;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #F3F3F3;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #123765;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #FFB700;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
strong, b {
  font-weight: bold;
  color: #123765;
}
hr {
  border: none;
  border-bottom: 2px solid #FFB700;
  margin: 32px 0;
}

/* --------------
   TYPOGRAPHY
   -------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #123765;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
}
/* ----------------------
   MAIN LAYOUT & CONTAINERS
   ---------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Sections with mandatory spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
}

/* ----------
   HEADER
   ---------- */
header {
  width: 100%;
  background: #123765;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
  min-height: 72px;
  z-index: 40;
  box-shadow: 0 4px 18px rgba(18, 55, 101, 0.08);
  border-bottom: 4px solid #FFB700;
}
.logo {
  margin-left: 28px;
  margin-right: 24px;
  display: flex;
  align-items: center;
  height: 64px;
}
.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1 1 auto;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 0;
  transition: color 0.15s;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FFB700;
}
.cta-primary {
  background: #FFB700;
  color: #123765;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 13px 28px;
  border: none;
  border-radius: 32px;
  margin-left: 28px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(18, 55, 101, 0.09);
  cursor: pointer;
  letter-spacing: 0.07em;
  display: inline-block;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #123765;
  color: #FFB700;
  box-shadow: 0 8px 32px 0 rgba(18, 55, 101, 0.17);
}
.cta-secondary {
  background: #123765;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.97rem;
  padding: 11px 22px;
  border: none;
  border-radius: 28px;
  margin-top: 14px;
  margin-bottom: 4px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 16px 0 rgba(18, 55, 101, 0.11);
  cursor: pointer;
  outline: none;
  display: inline-block;
  letter-spacing: 0.04em;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #FFB700;
  color: #123765;
  box-shadow: 0 8px 32px 0 rgba(255, 183, 0, 0.18);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #FFB700;
  cursor: pointer;
  margin-right: 20px;
  z-index: 51;
  transition: color 0.18s;
  padding: 6px 8px;
  border-radius: 8px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #fff;
  background: #FFB700;
  color: #123765;
}
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    padding-right: 0;
  }
}

/* -------------
   MOBILE MENU
   ------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #123765;
  box-shadow: 0 6px 30px 0 rgba(18,55,101,.16);
  z-index: 1001;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.85,.01,.36,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFB700;
  color: #123765;
  font-size: 2.1rem;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  margin: 24px 0 16px 24px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.18s, color 0.18s;
  z-index: 1051;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #123765;
  color: #FFB700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  align-items: flex-start;
  padding: 16px 36px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 11px 0;
  width: 100%;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
  letter-spacing: 0.04em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB700;
  color: #123765;
  outline: none;
}

/* -------------
   SECTIONS
   ------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  section {
    padding: 24px 6px;
    margin-bottom: 38px;
  }
}

/* ------------
   CARD SYSTEM
   ------------ */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(18,55,101,0.07);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  min-width: 245px;
  max-width: 340px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover, .card:focus-within {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 10px 28px rgba(18,55,101,0.20);
  z-index: 3;
}
@media (max-width: 768px) {
  .card-container, .card-grid {
    flex-direction: column;
    gap: 15px;
  }
  .card {
    max-width: 100%;
    min-width: unset;
  }
}

/* Service List/Card (Index) */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 22px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(18,55,101,0.07);
  margin-bottom: 20px;
  min-width: 255px;
  max-width: 335px;
  flex: 1 1 235px;
  padding: 23px 20px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  /* geometric accent */
  border-top: 7px solid #FFB700;
  transition: transform 0.2s, box-shadow 0.18s;
}
.service-card:hover, .service-card:focus-within {
  transform: scale(1.025) translateY(-5px);
  box-shadow: 0 10px 32px rgba(255,183,0,0.18);
  z-index: 2;
}
@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    gap: 17px;
  }
  .service-card {
    max-width: 100%;
    min-width: unset;
  }
}

/* Feature List (w/Icons) */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 1.07rem;
  line-height: 1.6;
  color: #222;
}
ul li img, ul li svg, ol li img, ol li svg {
  width: 34px;
  min-width: 28px;
  height: 34px;
  vertical-align: middle;
}

/* Special Section Layouts */
.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: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
}

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

/* -------------
   TESTIMONIALS
   ------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px 19px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 26px rgba(18, 55, 101, 0.062);
  margin-bottom: 22px;
  border-left: 7px solid #FFB700;
  min-width: 230px;
  max-width: 620px;
  transition: box-shadow 0.22s, border-left-color 0.21s;
  font-size: 1.06rem;
  color: #222;
}
.testimonial-card span {
  color: #123765;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 2px;
  opacity: 0.75;
}
.testimonial-card p {
  color: #222;
  margin: 0 0 2px 0;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 12px 38px #FFE799, 0 2px 12px rgba(18,55,101,0.09);
  border-left-color: #123765;
}
@media (max-width: 768px) {
  .testimonial-card {
    max-width: 100%;
    padding: 18px 12px 17px 16px;
  }
}

/* -------------
   FOOTER
   ------------- */
footer {
  background: #123765;
  color: #fff;
  width: 100%;
  padding: 44px 0 20px 0;
  font-size: 1.01rem;
  border-top: 5px solid #FFB700;
}
footer .container {
  padding: 0 12px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 160px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.04em;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border-bottom 0.17s;
  font-size: 1.05rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFB700;
  border-bottom: 2px solid #FFB700;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  color: #e6e6e6;
  min-width: 210px;
}
.contact-info a {
  color: #FFB700;
  text-decoration: underline;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: #fff;
}
.social-links img {
  width: 32px;
  height: 32px;
  filter: brightness(1.07) drop-shadow(0 1px 4px #2221);
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  transition: transform 0.18s;
  cursor: pointer;
}
.social-links img:hover, .social-links img:focus {
  transform: scale(1.11) rotate(-7deg);
  box-shadow: 0 4px 24px #FFB70022;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  .footer-nav, .contact-info, .social-links {
    min-width: unset;
    width: 100%;
  }
}

/* -----------------------------------
   RESPONSIVE + MOBILE OPTIMIZATIONS
   ----------------------------------- */
@media (max-width: 700px) {
  .container {
    padding: 0 4px;
  }
  .logo {
    margin-left: 12px;
    margin-right: 10px;
  }
  .footer-nav, .contact-info {
    gap: 7px;
  }
}

/* Hide scrollbars for mobile menu overlay on iOS */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* -------------
   CONTACT DATA
   ------------- */
.contact-data {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

/* -------------
   FORMS/BUTTONS
   ------------- */
button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  box-shadow: none;
  font-size: 1rem;
  background: none;
  transition: background 0.18s, color 0.14s;
}
button:focus {
  outline: 2px solid #FFB700;
  outline-offset: 1px;
}

/* --------------
   COOKIE BANNER
   -------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 1900;
  background: #123765;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-shadow: 0 -2px 30px rgba(18,55,101,0.13);
  padding: 24px 11px 24px 11px;
  gap: 32px;
  font-size: 1.04rem;
  animation: slideUpBanner 0.8s cubic-bezier(.37,1.58,.68,.99);
}
@keyframes slideUpBanner {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  max-width: 410px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-banner button {
  border-radius: 24px;
  padding: 9px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.18s, color 0.12s, box-shadow 0.16s;
  outline: none;
}
.cookie-banner .accept {
  background: #FFB700;
  color: #123765;
  border: none;
  box-shadow: 0 3px 12px #FFB70027;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fff;
  color: #123765;
}
.cookie-banner .reject {
  background: #fff;
  color: #123765;
  border: 2px solid #FFB700;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #FFB700;
  color: #123765;
}
.cookie-banner .settings {
  background: #123765;
  color: #FFB700;
  border: 2px solid #FFB700;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #FFB700;
  color: #123765;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px 4px 16px 7px;
    gap: 12px;
    font-size: 0.99rem;
  }
  .cookie-banner p {
    max-width: 96vw;
  }
  .cookie-banner .cookie-btn-group {
    gap: 8px;
    flex-wrap: wrap;
  }
}
/* Cookie Modal  */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: #123765e9;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.4s cubic-bezier(.37,1.58,.68,.99);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #123765;
  border-radius: 20px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 8px 36px #12376545;
  padding: 38px 28px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popInModal 0.4s cubic-bezier(.37,1.58,.68,.99);
}
@keyframes popInModal {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.06rem;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  width: 22px;
  height: 22px;
  accent-color: #FFB700;
  margin-right: 4px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .modal-btn-group {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal .modal-accept-btn,
.cookie-modal .modal-reject-btn {
  border-radius: 19px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: #FFB700;
  color: #123765;
  border: none;
  transition: background 0.18s, color 0.13s;
}
.cookie-modal .modal-accept-btn:hover, .cookie-modal .modal-accept-btn:focus {
  background: #123765;
  color: #FFB700;
}
.cookie-modal .modal-reject-btn {
  background: #fff;
  color: #123765;
  border: 2px solid #FFB700;
}
.cookie-modal .modal-reject-btn:hover, .cookie-modal .modal-reject-btn:focus {
  background: #FFB700;
  color: #123765;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 21px;
  right: 21px;
  background: none;
  color: #123765;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-modal .modal-close:hover {
  color: #FFB700;
}
/* Modal Responsive */
@media (max-width: 500px) {
  .cookie-modal {
    max-width: 96vw;
    padding: 18px 7vw 18px 5vw;
  }
}

/* --------------
   ANIMATIONS
   -------------- */
.cta-primary, .cta-secondary, .mobile-menu-toggle, .mobile-menu-close, .card, .service-card, .testimonial-card, .social-links img, .footer-nav a, .cookie-banner button, .cookie-modal .modal-accept-btn, .cookie-modal .modal-reject-btn {
  transition: all 0.18s cubic-bezier(0.42, 0, 0.58, 1);
}

/* --------------
   FOCUS STATES
   -------------- */
a:focus, .cta-primary:focus, .cta-secondary:focus, button:focus, .footer-nav a:focus {
  outline: 2px solid #FFB700;
  outline-offset: 1px;
}

/* --------------
   UTILITY CLASSES
   -------------- */
.mt-24 { margin-top: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.text-center { text-align: center !important; }
.w-100 { width: 100%; }
.gap-16 { gap: 16px; }


/* END STYLES */
