/* =========================
   CSS RESET & BASE STYLES
========================= */
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, caption, article, aside, details, figcaption, figure, 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: #FAFAFA;
  color: #222;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, svg {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 1.5em;
}
a {
  color: #14213D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FCA311;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  color: #14213D;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  margin-bottom: .65em;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: .8em;
}
h2 {
  font-size: 2rem;
  margin-bottom: .75em;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: .7em;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
}
p {
  margin-bottom: 1.2em;
}
strong, b {
  font-weight: 700;
}
button, .btn-primary, .btn-secondary {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
:focus {
  outline: 2px solid #FCA311;
  outline-offset: 2px;
}


/* =========================
   BRAND & COLOR SCHEME
========================= */
:root {
  --primary: #14213D;
  --secondary: #FCA311;
  --accent: #FFFFFF;
  --background: #FAFAFA;
  --text-dark: #222;
  --text-light: #FFF;
  --muted: #EFF0F3;
  --border-color: #DDD;
  --shadow: 0 6px 24px rgba(20,33,61,0.09), 0 1.5px 4px rgba(20,33,61,0.04);
  --card-radius: 18px;
  --transition: 0.25s cubic-bezier(.7,.2,.2,1);
}


/* =========================
   LAYOUT CONTAINERS & FLEX
========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--background);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}

/* =========================
   HEADER, NAV, HERO
========================= */
header {
  background: var(--accent);
  box-shadow: 0 2px 16px rgba(20,33,61,0.045);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 997;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 38px;
}
.main-nav {
  display: flex;
  gap: 27px;
  align-items: center;
}
.main-nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.05rem;
  padding: 8px 2px;
  color: var(--primary);
  position: relative;
  transition: color var(--transition);
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width var(--transition);
  margin: 0.5em auto 0;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}

.btn-primary {
  display: inline-block;
  padding: 11px 32px;
  background: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: 99px;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(20,33,61,0.11);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 16px rgba(20,33,61,0.17);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  padding: 6px 16px;
  z-index: 1000;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  background: linear-gradient(104deg, #EFF0F3 68%, #FCA31107 100%);
  padding: 70px 0 50px 0;
  margin-bottom: 0;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  box-shadow: none;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 28px;
}
.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 0.3em;
  font-family: 'Georgia', serif;
  color: var(--primary);
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.21rem;
  color: #292929;
  max-width: 680px;
}
.hero .btn-primary {
  margin-top: 12px;
}

/* =========================
   FEATURES, CARDS, FLEX
========================= */
/* feature-grid, service-overview, technology-overview, industry-cards, team-grid, use-case-grid */
.feature-grid,
.service-overview,
.technology-overview,
.industry-cards,
.team-grid,
.use-case-grid,
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.feature-item,
.technology-item,
.industry-item,
.service-item,
.team-profile,
.use-case-item {
  flex: 1 1 260px;
  background: var(--accent);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 32px 22px 26px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 220px;
  max-width: 320px;
}
.feature-item:hover, .technology-item:hover, .industry-item:hover, .service-item:hover, .team-profile:hover, .use-case-item:hover {
  box-shadow: 0 6px 28px rgba(20,33,61,0.15);
  transform: translateY(-4px) scale(1.03);
  border-color: var(--secondary);
}
.feature-item img,
.technology-item img,
.team-profile img {
  height: 44px;
  margin-bottom: 8px;
}
.feature-item h3,
.technology-item h3,
.industry-item h3,
.service-item h3,
.team-profile h3,
.use-case-item h3 {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 0.4em;
  font-family: 'Georgia', serif;
}

/* =========================
   TESTIMONIALS / LOGO WALL
========================= */
.testimonials {
  background: #FAF8F2;
  border-radius: var(--card-radius);
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.testimonials .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.testimonial-card {
  background: #FFF;
  border: 1px solid #E1DFDC;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 20px 28px 18px 28px;
  min-width: 220px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  color: #1a1a1a;
}
.testimonial-card p {
  font-size: 1.12rem;
  font-style: italic;
}
.testimonial-card span {
  font-weight: 700;
  color: var(--primary);
}
.logo-wall {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 16px;
}

/* =========================
   GENERIC CARD CONTAINER
========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 32px 22px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 28px rgba(20,33,61,0.13);
  transform: translateY(-3px) scale(1.015);
}

/* =========================
   FOOTER & SOCIAL LINKS
========================= */
footer {
  background: var(--primary);
  color: var(--text-light);
  margin-top: 60px;
  padding: 0 0 0 0;
}
footer .container {
  padding-top: 40px;
  padding-bottom: 40px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 2;
}
.footer-menu a {
  color: var(--secondary);
  font-size: 1rem;
  transition: color var(--transition);
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
}
.footer-menu span {
  font-size: 0.98rem;
  color: #EFEFEF;
  opacity: 0.85;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.98rem;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #EEE;
  margin-bottom: 0;
}
.contact-info a {
  color: var(--secondary);
  transition: color var(--transition);
}
.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.social-links a img {
  display: block;
  height: 23px;
  transition: filter var(--transition);
}
.social-links a:hover img {
  filter: brightness(1.25) drop-shadow(0 2px 4px #FCA31133);
}


/* =========================
   BLOG TAGS & PREVIEWS
========================= */
.tags-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.tag {
  background: #ececec;
  color: var(--primary);
  border-radius: 12px;
  padding: 5px 15px;
  font-size: 0.96rem;
  font-family: 'Georgia', serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.blog-post-preview {
  background: var(--accent);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 25px 18px 17px 18px;
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.blog-post-preview:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 26px rgba(20,33,61,0.10);
  cursor: pointer;
}


/* =========================
   CTA SECTIONS
========================= */
.cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--card-radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta h2,
.cta p {
  color: var(--primary);
}
.cta .btn-primary {
  margin-top: 18px;
}


/* =========================
   LEGAL/TEXT SECTIONS
========================= */
.legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--card-radius);
}
.text-section h2 {
  font-size: 1.22rem;
  margin-top: 1em;
}
.text-section ul {
  margin-top: 0.7em;
  margin-bottom: 1.2em;
}
.text-section li {
  margin-bottom: 0.38em;
}


/* =========================
   ADDRESS & MAPS, MISC FLEX
========================= */
.text-section, .address-map {
  margin-bottom: 1.5em;
}
.address-map {
  background: #F8FAFD;
  border: 1px solid #E3E4EA;
  border-radius: 14px;
  padding: 18px 18px;
  color: #17213B;
}


/* =========================
   RESPONSIVE - MOBILE
========================= */
@media (max-width: 1050px) {
  .feature-grid,
  .service-overview,
  .technology-overview,
  .industry-cards,
  .team-grid,
  .use-case-grid,
  .service-cards {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 6px;
    padding-right: 6px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .btn-primary {
    display: none;
  }
  .hero {
    padding: 50px 0 35px 0;
  }
  .section, .cta, .legal {
    padding: 30px 7px;
    margin-bottom: 40px;
  }
  .feature-grid,
  .service-overview,
  .technology-overview,
  .industry-cards,
  .team-grid,
  .use-case-grid,
  .service-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .testimonial-slider {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .logo-wall {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .feature-item,
  .service-item,
  .technology-item,
  .team-profile,
  .industry-item {
    padding: 20px 10px;
  }
  .cta {
    font-size: 0.99rem;
    padding: 25px 5px;
  }
  .card, .testimonial-card {
    padding: 16px 8px;
  }
}

/* =========================
   FLEXBOX ALIGN PATTERNS
========================= */
.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: stretch;
    gap: 18px;
  }
}

/* =========================
   MOBILE MENU STYLES
========================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,33,61,0.97);
  color: #fff;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.80,.1,.19,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2rem;
  position: absolute;
  top: 22px;
  right: 28px;
  cursor: pointer;
  z-index: 2010;
}
.mobile-nav {
  padding: 88px 34px 34px 34px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-family: 'Georgia', serif;
  color: var(--secondary);
  padding: 13px 8px;
  border-radius: 6px;
  border: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}
/* Hide mobile menu by default on desktop */
@media (min-width: 769px) {
  .mobile-menu { display: none; }
  .mobile-menu-toggle { display: none; }
}

/* ===========================
   COOKIE CONSENT BANNER
=========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFFFFF;
  color: #14213D;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 -4px 32px rgba(20,33,61,.07);
  border-top: 2px solid #FCA31133;
  z-index: 5005;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  animation: slideInCookie 0.44s cubic-bezier(.8,.2,.2,1);
}
@keyframes slideInCookie {
  from { transform: translateY(120%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  color: #14213D;
  font-size: 1.08rem;
  margin-bottom: 0.6em;
}
.cookie-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-actions button,
.cookie-actions .btn-secondary {
  padding: 7px 18px;
  border-radius: 99px;
  border: none;
  background: var(--primary);
  color: var(--accent);
  font-size: 1rem;
  font-family: 'Georgia', serif;
  transition: background var(--transition), color var(--transition);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(20,33,61,0.04);
}
.cookie-actions button:hover, .cookie-actions .btn-secondary:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-actions .btn-secondary {
  background: #ececec;
  color: var(--primary);
  border: 1px solid #DFDFDF;
  box-shadow: none;
}
.cookie-actions .btn-secondary:hover, .cookie-actions .btn-secondary:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 5500;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,33,61,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s cubic-bezier(.83,.1,.18,.95);
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #222;
  padding: 34px 32px 28px 32px;
  border-radius: 16px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 6px 28px rgba(20,33,61,0.16);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.05rem;
  animation: slideInCookieModal 0.33s cubic-bezier(.77,.04,.29,1);
}
@keyframes slideInCookieModal {
  from { transform: scale(.95) translateY(40px); opacity:0; }
  to { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h3 {
  margin-bottom: .6em;
  font-family: 'Georgia', serif;
  font-size: 1.19rem;
  color: var(--primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1.05rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-actions {
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 2;
}

/* ==============
   MISC + UTILS
============== */
::selection {
  background: #FCA31122;
}
::-webkit-scrollbar {
  width: 10px; background: #F6F6F6;
}
::-webkit-scrollbar-thumb {
  background: #cfcbbe; border-radius: 8px;
}

/* Gap between sections */
main>section {
  margin-bottom: 60px;
}

/* Hide visually */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Card content flex pattern */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Focus transition for BUTTONS */
button, .btn-primary, .btn-secondary {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

/* Loader (optional for banner/modal) */
.loader {
  border: 4px solid #ddd;
  border-top: 4px solid var(--secondary);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
