/* ---- RESET & NORMALIZE ---- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #F7FAFC;
  color: #203050;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #213271;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2d44ad;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
}
:focus {
  outline: 2px solid #F2B92B;
  outline-offset: 2px;
}

/* ---- COLORS / VARIABLES ---- */
:root {
  --color-primary: #213271;
  --color-secondary: #F2B92B;
  --color-accent: #EDEDED;
  --color-bg: #F7FAFC;
  --color-dark: #172046;
  --color-gray: #90A0C4;
  --color-light: #FFFFFF;
  --color-shadow: rgba(33, 50, 113, 0.08);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Russo One', 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #213271;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  color: #213271;
}
p, ul, ol {
  font-size: 1rem;
  color: #203050;
}
strong {
  color: #213271;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 28px;
  font-size: 1rem;
  font-family: 'Russo One', 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
  border-radius: 24px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
  margin-top: 18px;
  border: none;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2d44ad;
  box-shadow: 0 4px 16px var(--color-shadow);
  transform: translateY(-2px) scale(1.025);
  color: #fff;
}

/* ---- LAYOUT CONTAINERS ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(33,50,113,0.07);
}

/* ---- HEADER ---- */
header {
  background: var(--color-light);
  box-shadow: 0 2px 14px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  gap: 24px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  height: 52px;
  margin-right: 20px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #213271;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.16s, color 0.15s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
header .btn-primary {
  margin: 0;
  margin-left: 20px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #213271;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.12s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,50,113,0.98);
  box-shadow: 0px 0px 64px rgba(33, 50, 113, 0.20);
  transform: translateX(100vw);
  transition: transform 0.34s cubic-bezier(.4,1.6,.4,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 36px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #F2B92B;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  margin-bottom: 24px;
  align-self: flex-end;
  margin-right: 24px;
  transition: color 0.2s, background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD652;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #fff;
  padding: 12px 32px;
  border-radius: 12px;
  font-family: 'Russo One', 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background 0.18s, color 0.18s;
  font-weight: 400;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255, 255, 255, 0.11);
  color: #F2B92B;
}

/* ---- HERO SECTION ---- */
.hero {
  background: linear-gradient(90deg, #f7fafd 60%, #e1e6f5 100%);
  padding: 44px 0 40px 0;
  margin-bottom: 24px;
}
.hero .container, .hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: #213271;
  font-size: 2.5rem;
  font-family: 'Russo One', 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
.hero p {
  font-size: 1.2rem;
  color: #2B3A61;
  margin-bottom: 16px;
  margin-top: 8px;
}
.hero .btn-primary {
  margin-top: 20px;
}

/* ---- FEATURES & GRID ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(33,50,113,0.07);
  padding: 28px 26px 24px 26px;
  min-width: 220px;
  max-width: 280px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.feature-item img {
  width: 48px;
  min-height: 48px;
  margin-bottom: 2px;
}
.feature-item h3 {
  font-size: 1.1rem;
  color: #213271;
}
.feature-item p {
  font-size: 0.98rem;
  color: #2b3a61;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 32px rgba(33,50,113,0.17);
  transform: translateY(-4px) scale(1.03);
}

/* ---- PROJECT/PORTFOLIO GRID ---- */
.project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.project-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 22px rgba(33,50,113,0.07);
  padding: 22px 18px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 320px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.project-item h3 {
  color: #213271;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.project-item p {
  font-size: 0.99rem;
}
.project-item:hover, .project-item:focus-within {
  box-shadow: 0 6px 24px rgba(33,50,113,0.16);
  transform: translateY(-3px) scale(1.018);
}

/* ---- SECTION GENERIC ---- */
section {
  margin-bottom: 60px;
  width: 100%;
}

/* ---- ABOUT US/BIO/TEAM ---- */
.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.about-values > div {
  flex: 1 1 210px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(33,50,113,0.07);
  padding: 24px 18px 20px 18px;
  min-width: 180px;
}
.about-values h3 {
  color: #2b3a61;
}
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.bio {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(33,50,113,0.08);
  padding: 22px 18px 16px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.bio h3 {
  margin-bottom: 8px;
}

/* ---- CONTACT INFO ---- */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 18px 0 16px 0;
  width: 100%;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7fafc;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 1rem;
  color: #213271;
  min-width: 210px;
}
.contact-info img {
  width: 24px;
  height: 24px;
}
.map-location {
  display: flex;
  align-items: center;
  background: #F2B92B2a;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.map-location img {
  width: 22px;
  margin-right: 8px;
}

/* ---- CARD CONTAINER ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(33,50,113,0.07);
  padding: 20px 16px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 36px rgba(33,50,113,0.14);
  transform: translateY(-2px) scale(1.015);
}

/* ---- CONTENT GRID ---- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 18px;
}

/* ---- FAQ ---- */
.faq-list, .faq-accordion {
  list-style: none;
  padding: 0;
  margin: 1em 0 2em 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-list li, .faq-accordion li {
  background: #fff;
  border-radius: 10px;
  padding: 18px 16px 12px 16px;
  box-shadow: 0 2px 12px rgba(33,50,113,0.08);
  margin-bottom: 14px;
}
.faq-accordion h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  background: #f5f9ff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(33,50,113,0.06);
  padding: 40px 0 20px 0;
}
.testimonial-carousel, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(33,50,113,0.09);
  min-width: 250px;
  max-width: 350px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.12s;
  color: #1a2234;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #213271;
}
.testimonial-card strong {
  font-size: 0.98rem;
  color: #213271;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(33,50,113,0.19);
  transform: translateY(-3px) scale(1.03);
}
.video-testimonial-info p {
  font-size: .98rem;
  color: #5268a3;
  margin-top: 12px;
}

/* ---- FOOTER ---- */
footer {
  background: var(--color-primary);
  color: #fff;
  width: 100%;
  padding: 0 0 10px 0;
  box-shadow: 0 -3px 18px rgba(33,50,113,0.11);
  margin-top: 48px;
}
footer .container {
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0 12px 0;
}
.footer-brand {
  flex: 1 1 140px;
  margin-bottom: 18px;
}
.footer-brand img {
  height: 48px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: #fff;
}
.footer-contact img {
  width: 20px; height: 20px;
  margin-right: 8px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-links a {
  color: #F2B92B;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.22s, text-decoration 0.16s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 12px;
}
.footer-social img {
  width: 32px;
  height: 32px;
  filter: brightness(1.13);
  transition: filter 0.17s, transform 0.13s;
  cursor: pointer;
}
.footer-social img:hover, .footer-social img:focus {
  filter: brightness(2.1) drop-shadow(0 0 6px #F2B92B);
  transform: scale(1.13) rotate(-2deg);
}
.footer-legal {
  width: 100%;
  margin-top: 24px;
}
.footer-legal p {
  font-size: 0.93rem;
  color: #cfd5e6;
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #213271;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 16px 22px 24px;
  z-index: 1500;
  box-shadow: 0 -6px 26px rgba(33,50,113,0.20);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  animation: cookie-banner-in 0.6s cubic-bezier(.1,.95,.4,1) 1;
  font-size: 1rem;
}
@keyframes cookie-banner-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-consent-banner .btn-cookie {
  background: #F2B92B;
  color: #213271;
  font-family: 'Russo One', 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 1rem;
  border: none;
  margin-left: 4px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  font-weight: 600;
}
.cookie-consent-banner .btn-cookie.settings {
  background: #fff;
  color: #213271;
  border: 1.5px solid #F2B92B;
}
.cookie-consent-banner .btn-cookie:hover, .cookie-consent-banner .btn-cookie:focus {
  background: #213271;
  color: #F2B92B;
  border: 1.3px solid #F2B92B;
}
.cookie-consent-banner .btn-cookie.settings:hover, .cookie-consent-banner .btn-cookie.settings:focus {
  background: #F2B92B;
  color: #213271;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(21,36,70,.86);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s, visibility 0.22s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px 22px 28px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 44px rgba(33,50,113,0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: cookie-modal-in 0.31s cubic-bezier(.1,1.55,.4,1.15) 1;
}
@keyframes cookie-modal-in {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  color: #213271;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.cookie-modal-category label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #213271;
}
.cookie-switch {
  width: 42px; height: 24px;
  border-radius: 16px;
  background: #EDEDED;
  position: relative;
  transition: background 0.18s;
  margin-right: 8px;
  cursor: pointer;
}
.cookie-switch input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.cookie-switch .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px;
  height: 20px;
  background: #90A0C4;
  border-radius: 50%;
  transition: left 0.16s, background 0.17s;
}
.cookie-switch input:checked + .slider {
  background: #F2B92B;
  left: 20px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 1.6rem;
  background: transparent;
  border: none;
  color: #213271;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F2B92B;
}

/* ---- RESPONSIVE (MOBILE-FIRST) ---- */
@media (max-width: 1020px) {
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .footer-brand img { height: 38px; }
  .footer-social img { width: 28px; height: 28px; }
  .bio, .about-values > div { min-width: 160px; }
  .feature-item, .project-item { min-width: 160px; }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
    font-size: 0.99rem;
  }
  .footer-brand, .footer-contact, .footer-links, .footer-social {
    flex: 1 1 140px;
    margin-bottom: 8px;
  }
  .content-wrapper, .container {
    padding: 0 6px;
  }
  .testimonial-card { min-width: 180px; max-width: 98vw;}
}
@media (max-width: 768px) {
  .container {
    max-width: 97vw;
    padding: 0 4vw;
  }
  .content-wrapper {
    padding: 0 0;
  }
  header .container {
    flex-direction: row;
    padding: 10px 12px;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .btn-primary {
    padding: 12px 18px;
    font-size: 1rem;
    min-width: 140px;
  }
  .hero {
    padding: 28px 0 22px 0;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 35px;
  }
  .feature-grid, .project-grid, .about-values, .team-bios, .content-grid, .card-container, .testimonial-carousel, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .footer-brand img {
    height: 32px;
  }
  .contact-info {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.99rem;
    padding: 22px 10px 18px 14px;
  }
  .footer-legal {
    margin-top: 14px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1.06rem; }
  .hero h1 { font-size: 1.2rem; }
  .cookie-consent-banner {
    font-size: 0.91rem;
    padding: 18px 6px 12px 8px;
  }
  .cookie-modal-content {
    min-width: 96vw;
    padding: 16px 5vw 14px 5vw;
  }
}

/* ---- MICRO-INTERACTIONS/TRANSITIONS ---- */
main a, nav a, .btn-primary, .main-nav a, .mobile-nav a {
  transition: color 0.18s, background 0.18s, box-shadow 0.16s, transform 0.14s;
}
.feature-item, .project-item, .card, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.16s;
}

/* Miscellaneous Alignment/Spacing Patterns */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---- END OF STYLE.CSS ---- */
