/* ==== 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;
}
html {
  height: 100%;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  background: #F8FAFB;
  color: #19334C;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #19334C;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #FFC145;
  outline-offset: 2px;
}
*:focus-visible {
  outline: 2px solid #FFC145 !important;
  outline-offset: 2px;
}
/* ==== Typography ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #19334C;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p, li, cite {
  font-size: 1rem;
  color: #19334C;
  margin-bottom: 16px;
}
cite {
  font-style: normal;
  color: #566477;
  font-size: 0.95rem;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 24px;
}
strong {
  font-weight: 600;
}
.text-section {
  margin-bottom: 24px;
}
/* ==== Containers & Layout ==== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0; /* Section handles its own padding */
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 4px 16px 0 rgba(25, 51, 76, .050), 0 1.5px 5px 0 rgba(25,51,76,.03);
}
@media (max-width: 900px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 34px;
    border-radius: 16px;
  }
}
/* ==== Header & Navigation ==== */
header {
  width: 100%;
  background: linear-gradient(90deg, #19334C 0%, #284B6E 100%);
  box-shadow: 0 4px 14px 0 rgba(25,51,76,0.08);
  padding: 0 0 0 0;
  position: sticky;
  top: 0; 
  z-index: 50;
}
.header-flex {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  min-height: 74px;
  width: 100%;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: 'Inter', sans-serif;
}
.main-nav a {
  color: #F8FAFB;
  font-size: 1.03rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #FFC145;
  background: rgba(255,255,255,0.10);
}
.cta-button {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background: linear-gradient(90deg, #FFC145 30%, #FFD672 100%);
  color: #19334C;
  border: none;
  padding: 10px 32px;
  border-radius: 28px;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(25,51,76,.07);
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow .2s, transform .18s;
  outline: none;
  margin-left: 8px;
}
.cta-button:hover,
.cta-button:focus {
  background: linear-gradient(90deg, #FFD672 0%, #FFC145 100%);
  color: #152a3b;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 6px 24px rgba(25,51,76,.16);
}
.cta-link {
  color: #19334C;
  font-weight: 600;
  border-radius: 6px;
  background: linear-gradient(90deg, #FFC145 6%, #F8FAFB 100%);
  padding: 6px 18px;
  transition: background .15s, color .15s;
}
.cta-link:hover,
.cta-link:focus {
  background: #FFC145;
  color: #19334C;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFC145;
  font-size: 2.3rem;
  padding: 4px 10px;
  margin-left: 8px;
  border-radius: 6px;
  transition: background .15s, color .15s;
  cursor: pointer;
  z-index: 1202;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: rgba(255,193,69,0.14);
  color: #fff7e1;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 700px) {
  .header-flex {
    gap: 10px;
    min-height: 56px;
  }
}
/* ==== Mobile Menu ==== */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(100deg, #19334C 80%, #FFC145 120%);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.66,.23,.29,.99);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 3px 0 28px 0 rgba(25,51,76,.15);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFC145;
  font-size: 2.5rem;
  padding: 14px 20px 10px 10px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1202;
  transition: color .16s, background .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FFD672;
  background: rgba(25,51,76,0.10);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 30px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Inter', sans-serif;
  padding: 11px 0px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  width: 100%;
  transition: background .15s, color .15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(255,193,69,0.07);
  color: #FFC145;
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}
/* ==== Hero & Gradient Banner Decoration ==== */
section:first-of-type {
  background: linear-gradient(98deg, #F8FAFB 30%, #E5EDFA 120%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 4px 24px 0 rgba(25,51,76,0.05);
  position: relative;
}
section:first-of-type h1, section:first-of-type p {
  color: #19334C;
  text-shadow: 0 2px 12px #f6f6fa22;
}
/* ==== Feature, Card, Grid Layouts (Flex ONLY) ==== */
.feature-grid,
.service-highlights,
.insights-preview,
.team-grid,
.case-studies,
.service-grid,
.insights-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
  justify-content: space-between;
}
.team-grid > div,
.feature-grid > div,
.service-highlights > div,
.service-grid > div,
.case-studies > div,
.insights-preview > article, .insights-list > article {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 16px 0 rgba(25,51,76,.06);
  padding: 28px 22px;
  flex: 1 1 285px;
  min-width: 270px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .18s, transform .16s;
}
.team-grid > div:hover,
.feature-grid > div:hover,
.service-grid > div:hover,
.insights-preview > article:hover,
.insights-list > article:hover {
  box-shadow: 0 9px 36px 0 rgba(25,51,76,.09);
  transform: translateY(-2px) scale(1.027);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(25,51,76,.07);
  padding: 22px 18px;
  transition: box-shadow .18s, transform .16s;
}
.card:hover {
  box-shadow: 0 5px 26px rgba(25,51,76,0.12);
  transform: translateY(-2px) scale(1.02);
}
.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: 900px) {
  .feature-grid,
  .service-highlights,
  .service-grid,
  .team-grid,
  .case-studies,
  .insights-preview,
  .insights-list,
  .card-container,
  .content-grid {
    gap: 16px;
  }
  .team-grid > div,
  .feature-grid > div, .service-highlights > div,
  .service-grid > div,
  .card, .case-studies > div, .insights-preview > article, .insights-list > article {
    min-width: 180px;
    padding: 18px 12px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .service-grid, .team-grid, .card-container,
  .service-highlights, .case-studies, .insights-preview, .insights-list {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
/* ==== Testimonial Cards ==== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  background: #FAF5E2;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(25,51,76,0.08);
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
  width: 100%;
  color: #19334C;
  font-size: 1.1rem;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  border-left: 6px solid #FFC145;
  position: relative;
  min-width: 0;
}
.testimonial-card cite {
  color: #576178;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .testimonial-card {
    padding: 14px 8px 10px 14px;
  }
}
/* ==== Feature Items ==== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* ==== Footer ==== */
footer {
  background: linear-gradient(90deg, #19334C 98%, #284B6E 120%);
  color: #fff;
  font-size: 1rem;
  padding: 28px 0 0 0;
  position: relative;
}
.footer-flex {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.87;
  font-weight: 500;
  font-size: 1rem;
  transition: color .16s;
  margin-bottom: 2px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #FFC145;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: .98rem;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.80;
}
footer img[alt] {
  height: 38px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(1.3)
}
footer p {
  color: #fff;
  font-size: .96rem;
  opacity: 0.88;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .footer-flex {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
}
/* ==== Forms, Inputs (for Client Portal) ==== */
label {
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1d3040;
}
input[type="text"], input[type="password"] {
  font-size: 1rem;
  padding: 10px 14px;
  border: 1.5px solid #D5DCE5;
  border-radius: 8px;
  background: #F8FAFB;
  color: #19334C;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  margin-bottom: 14px;
  width: 100%;
  margin-top: 2px;
  box-shadow: 0 2px 10px 0 rgba(25,51,76,0.03) inset;
  transition: border .12s;
}
input[type="text"]:disabled, input[type="password"]:disabled {
  color: #A6B0BF;
  background: #F2F4F7;
  border-color: #E5E8EF;
}
input[type="text"]:focus, input[type="password"]:focus {
  border: 1.5px solid #FFC145;
  background: #fff9ee;
}
/* ==== Utility Classes ==== */
.muted { color: #697486; opacity: .77; }
.hide { display: none !important; }
.flex { display: flex; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.align-center { align-items: center; }
.full-width { width: 100%; }
/* ==== Responsive Typography ==== */
@media (max-width: 700px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.02rem; }
  .content-wrapper {
    gap: 12px;
  }
}
/* ==== Cookie Consent Banner ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #19334C;
  color: #FFF7E1;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100vw;
  padding: 20px 25px 20px 25px;
  box-shadow: 0 -3px 20px rgba(25,51,76,0.11);
  font-size: 0.98rem;
  z-index: 1500;
  animation: cookieSlideIn 0.44s cubic-bezier(.67,.2,.35,1.1);
  transition: background .18s;
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  flex: 1 1 400px;
  margin-right: 20px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-btn,
.cookie-btn-accept,
.cookie-btn-reject {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
  background: #FFC145;
  color: #19334C;
  padding: 9px 24px;
  border-radius: 20px;
  font-weight: 600;
  margin-left: 0;
  transition: background .18s, color .13s, box-shadow .14s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(25,51,76,.04);
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #FFD672;
  color: #19334C;
}
.cookie-btn-reject {
  background: #F8FAFB;
  color: #19334C;
  border: 1.5px solid #FFD672;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #FFC145;
  color: #fff;
}
.cookie-btn {
  background: transparent;
  color: #FFC145;
  border: 1.2px solid #FFC145;
  font-weight: 500;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFC145;
  color: #19334C;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px 10px 16px 10px;
    gap: 14px;
    font-size: 0.96rem;
  }
  .cookie-banner-message {
    margin-right: 0;
  }
  .cookie-banner-actions {
    gap: 8px;
  }
}
/* ==== Cookie Modal ==== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(25,51,76,0.37);
  z-index: 1550;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: cookieFade 0.22s cubic-bezier(.67,.34,.59,1.1);
}
@keyframes cookieFade {
  from {opacity: 0;} to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: #19334C;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 0 44px 0 rgba(25,51,76,0.13);
  width: 100%;
  max-width: 500px;
  margin-bottom: 0;
  padding: 30px 28px 18px 28px;
  z-index: 1551;
  font-size: 1rem;
  animation: cookieUp .28s cubic-bezier(.67,.19,.17,1.1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes cookieUp {
  from { transform: translateY(54px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 9px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #19334C;
  font-size: 2rem;
  position: absolute;
  right: 23px;
  top: 19px;
  cursor: pointer;
  z-index: 1552;
  transition: color .11s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #FFC145;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
  border-radius: 7px;
  background: #F8FAFB;
  padding: 8px 14px 7px 16px;
}
.cookie-toggle-label {
  font-weight: 600;
  font-size: 1rem;
  color: #19334C;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cookie-toggle-switch {
  width: 44px;
  height: 24px;
  background: #D5DCE5;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: background .17s;
  margin-left: 12px;
}
.cookie-toggle-switch.enabled {
  background: #FFC145;
}
.cookie-toggle-switch:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(25,51,76,0.08);
  transition: left .18s;
}
.cookie-toggle-switch.enabled:before {
  left: 23px;
  background: #FFF7E1;
  box-shadow: 0 2px 10px 0 rgba(255,193,69,0.10);
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  min-width: 108px;
}
/* ==== Animations for Interactive Elements ==== */
.cta-button,
.button,
.cta-link,
.main-nav a,
.mobile-nav a,
.cookie-btn,
.cookie-btn-accept,
.cookie-btn-reject {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.19s;
}
.card, .card-container > *,
.feature-grid > *, .service-grid > *,
.team-grid > *, .testimonial-card {
  transition: box-shadow .19s, transform .17s;
}
/* ==== Visual Hierarchy Spacing ==== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
  border-radius: 0;
}
@media (max-width: 900px) {
  section {
    padding: 28px 0;
    margin-bottom: 34px;
  }
}
/* ==== Miscellaneous ==== */
::-webkit-input-placeholder { color: #A6B0BF; opacity: 1; }
:-ms-input-placeholder { color: #A6B0BF; }
::placeholder { color: #A6B0BF; opacity: 1; }

/* Prevent Overlap of Cards */
section > .container > .content-wrapper > div, section > .container > .content-wrapper > ul,
section > .container > .content-wrapper > ol {
  margin-bottom: 20px;
}

/* ========== End of style.css ========== */