/* ==========================================================================
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #181C20;
  color: #F4F6F8;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  word-break: break-word;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 32px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #F4D29C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7CA86E;
  text-decoration: underline;
}
button {
  font-family: inherit;
  cursor: pointer;
  outline: none;
}
strong, b {
  font-weight: 600;
}
hr {
  border: none;
  border-top: 1px solid #24292F;
  margin: 32px 0;
}

/* Industrial Modern Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  color: #F4F6F8;
  font-weight: 700;
}
h1 { font-size: 2.25rem; margin-top: 0; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p, .body-text {
  color: #DBE2E8;
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
}
@media (min-width:768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.5rem; }
}

/* ==========================================================================
   Brand Colors -- Industrial Modern Palette
   ========================================================================== */
:root {
  --color-primary: #1E4159;
  --color-secondary: #7CA86E;
  --color-accent: #F4D29C;
  --color-bg: #181C20;
  --color-metal: #A9B2B9;
  --color-dark-bg: #22272C;
  --color-card: #23272E;
  --color-card-light: #262c33;
  --color-border: #40464D;
  --color-btn: #23272E;
  --color-btn-hover: #345168;
  --color-btn-secondary: #7CA86E;
  --color-btn-secondary-hover: #89B087;
  --color-testimonial-bg: #F4F6F8;
  --color-testimonial-text: #22272C;
  --color-shadow: 0 4px 24px 0 rgba(30,65,89,0.08);
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (min-width: 900px) {
  .content-wrapper { gap: 40px; }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  background: var(--color-dark-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 6px 20px 0 rgba(30,65,89,0.05);
  position: relative;
  z-index: 40;
}
.main-nav {
  display: flex;
  align-items: center;
  height: 76px;
  gap: 20px;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-metal);
  font-weight: 600;
  padding: 0 10px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.18s;
  line-height: 1;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-accent);
}
.main-nav img {
  height: 38px;
  margin-right: 16px;
  vertical-align: middle;
  display: inline-block;
}
.main-nav .cta.primary {
  background: var(--color-primary);
  color: #fff !important;
  border-radius: 6px;
  padding: 11px 28px;
  margin-left: 16px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(30,65,89,0.10);
  border-bottom: 2px solid var(--color-accent);
  transition: background 0.15s, color 0.15s, border-bottom 0.2s;
}
.main-nav .cta.primary:hover {
  background: var(--color-btn-hover);
  color: var(--color-accent) !important;
  border-bottom: 2px solid var(--color-secondary);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 12px;
  }
  .main-nav .cta.primary {
    padding: 9px 20px;
  }
}

/* Hide nav on small screens */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  background: var(--color-dark-bg);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 8px;
  height: 44px;
  width: 44px;
  font-size: 2rem;
  margin: 18px;
  transition: background 0.18s, color 0.2s, border 0.15s;
  z-index: 102;
  position: absolute;
  right: 0;
  top: 10px;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-btn-hover);
  color: #fff;
}
@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-dark-bg);
  box-shadow: 4px 0 24px rgba(30,65,89,0.20);
  z-index: 1000;
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(.4,1,.2,1);
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  margin: 0 26px 16px 0;
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 2.3rem;
  border: none;
  border-radius: 8px;
  transition: background 0.15s;
  z-index: 1100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-btn-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 0 36px;
  margin-top: 30px;
}
.mobile-nav a {
  color: var(--color-metal);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.07em;
  margin: 0 0 6px 0;
  transition: color 0.17s, background 0.12s;
  border-radius: 4px;
  padding: 12px 6px 10px 0;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(124, 168, 110, 0.13);
}

/* Overlay z-index layering for animation smoothness */
.mobile-menu {
  z-index: 9999;
}

/* Prevent scroll on mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  background: linear-gradient(92deg, #1E4159 70%, #22272C 100%);
  color: #fff;
  padding-top: 48px;
  padding-bottom: 40px;
  margin-bottom: 60px;
  box-shadow: 0 6px 18px 0 rgba(30,65,89,0.11);
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-section .content-wrapper {
  max-width: 700px;
  gap: 30px;
}
.hero-section h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.hero-section p {
  font-size: 1.18rem;
  color: #F4F6F8;
  margin-bottom: 30px;
}
.hero-section .cta {
  margin-top: 12px;
  font-size: 1.12rem;
  padding: 14px 36px;
  border-radius: 7px;
  background: var(--color-secondary);
  color: #22272C;
  font-weight: 700;
  box-shadow: 0 2px 16px 0 rgba(124,168,110,0.21);
  border: none;
  transition: background 0.21s,color 0.17s, box-shadow 0.22s;
}
.hero-section .cta:hover {
  background: #9ACF82;
  color: #111;
  box-shadow: 0 8px 28px 0 rgba(124,168,110,0.33);
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 31px;
    padding-bottom: 24px;
  }
  .hero-section .content-wrapper {
    padding-right: 0;
    max-width: 98vw;
    gap: 21px;
  }
  .hero-section h1 { font-size: 1.48rem; }
}

/* ==========================================================================
   Feature Grids (Cards/Services/Team Grid/Technology List)
   ========================================================================== */
.feature-grid, .service-list, .service-list-detailed, .team-grid, .technology-list, .project-summaries, .testimonial-slider, .testimonial-quotes, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid>div, .service-list>div, .service-list-detailed>div, .team-member-card, .technology-list>div, .project-summaries>div, .faq-list>div, .simple-chart {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--color-shadow);
  border-radius: 10px;
  padding: 32px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.14s, box-shadow 0.18s, border-color 0.15s;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid>div:hover, .service-list>div:hover, .service-list-detailed>div:hover,
.team-member-card:hover, .technology-list>div:hover, .faq-list>div:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 8px 30px 0 rgba(30,65,89,0.18);
  border-color: var(--color-accent);
}
.feature-grid img, .service-list img, .service-list-detailed img, .team-member-card img, .technology-list img {
  margin-bottom: 18px;
  height: 50px;
}
.feature-grid h3, .service-list h3, .service-list-detailed h3, .team-member-card h3, .technology-list h3, .faq-list h3 {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-grid p, .service-list p, .service-list-detailed p, .team-member-card p, .technology-list p, .faq-list p {
  color: #C3CBD4;
  font-size: 1rem;
  margin-bottom: 6px;
}
.price {
  display: inline-block;
  background: var(--color-metal);
  color: #1E4159;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 1px 8px rgba(169,178,185,0.13);
  font-size: 1rem;
}
@media (max-width: 768px) {
  .feature-grid, .service-list, .service-list-detailed, .team-grid, .technology-list, .project-summaries, .testimonial-slider, .testimonial-quotes, .faq-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid>div, .service-list>div, .service-list-detailed>div, .team-member-card, .technology-list>div, .project-summaries>div, .faq-list>div {
    min-width: 0;
    width: 100%;
    padding: 20px 12px 18px 14px;
  }
}

/* Team grid sizing fix on desktop */
.team-grid {
  gap: 24px;
  margin-bottom: 24px;
}
.team-member-card {
  min-width: 210px;
  max-width: 320px;
  flex: 1 1 210px;
  text-align: left;
  align-items: flex-start;
  margin-bottom: 20px;
}

/* CTA Banners */
.cta-banner {
  background: var(--color-secondary);
  border-radius: 12px;
  box-shadow: 0 6px 29px rgba(124,168,110,0.19);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 20px 0 0 0;
}
.cta-banner h2 {
  color: #23272E;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.cta-banner p {
  color: #384044;
}
.cta-banner .cta.primary {
  margin-top: 12px;
  background: #23272E;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
  box-shadow: 0 1px 10px rgba(30,65,89,0.08);
  border: none;
  transition: background 0.18s, color 0.13s;
}
.cta-banner .cta.primary:hover {
  background: #1E4159;
  color: var(--color-accent);
}

/* Generic CTA Button Styles */
.cta, .cta.primary, .cta.secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  display: inline-block;
  border-radius: 6px;
  padding: 12px 32px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 3px 12px 0 rgba(30,65,89,0.12);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.17s, color 0.12s, transform 0.14s;
  margin-right: 8px;
  margin-bottom: 18px;
}
.cta.primary {
  background: var(--color-primary);
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-btn-hover);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.02);
}
.cta.secondary {
  background: var(--color-btn-secondary);
  color: #23272E;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-btn-secondary-hover);
  color: #181C20;
  transform: translateY(-1.5px) scale(1.01);
}

/* ==========================================================================
   Miscellaneous Layouts
   ========================================================================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section ul,
.simple-chart ul,
.project-stats ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: #C3CBD4;
  font-size: 1rem;
}
.simple-chart ul li { margin-bottom: 10px; }

.project-stats ul {
  display: flex;
  flex-direction: row;
  gap: 28px;
  flex-wrap: wrap;
}
.project-stats li {
  background: var(--color-card-light);
  border-radius: 10px;
  padding: 18px 28px;
  font-size: 1.07rem;
  color: #F4F6F8;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0;
  font-weight: 600;
  min-width: 180px;
  box-shadow: var(--color-shadow);
}
@media (max-width: 768px) {
  .project-stats ul {
    flex-direction: column;
    gap: 14px;
  }
  .project-stats li {
    min-width: 0;
  }
}

/* Contact Info */
.contact-info, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 18px;
}
.contact-info > div, .contact-details > div {
  display: flex;
  align-items: center;
  gap: 17px;
  color: #C3CBD4;
  font-size: 1rem;
}
.contact-info img, .contact-details img {
  width: 30px;
  height: 30px;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonial-slider, .testimonial-quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-testimonial-bg);
  color: var(--color-testimonial-text);
  border-radius: 11px;
  padding: 24px 30px;
  box-shadow: 0 4px 28px 0 rgba(30,65,89,0.11);
  border: 1.8px solid #C4C7CB;
  min-width: 260px;
  max-width: 420px;
  margin-bottom: 20px;
  font-size: 1rem;
  transition: box-shadow 0.16s, border-color 0.13s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 14px 44px rgba(30,65,89,0.17);
  border-color: var(--color-secondary);
  transform: translateY(-2px) scale(1.018);
}
.testimonial-card p {
  color: #384044;
  font-size: 1rem;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 0.98rem;
  font-family: 'Montserrat',Arial,sans-serif;
}
@media (max-width: 768px) {
  .testimonial-slider, .testimonial-quotes {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
    padding: 16px 11px;
  }
}

/* ==========================================================================
   Footer Layout
   ========================================================================== */
footer {
  background: var(--color-dark-bg);
  padding: 35px 0 24px 0;
  border-top: 1px solid #333840;
  box-shadow: 0 -2px 18px 0 rgba(30,65,89,0.05);
}
footer .container { }
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: flex-start;
}
.footer-brand img {
  width: 60px;
  margin-bottom: 18px;
}
.footer-nav, .legal-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 0;
}
.footer-nav a, .legal-nav a {
  color: #EAF0F8;
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: color 0.14s;
}
.footer-nav a:hover, .legal-nav a:hover {
  color: var(--color-accent);
}
.footer-contact {
  color: #8596A5;
  font-size: 0.98rem;
  margin-bottom: 0;
  line-height: 1.7;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.social-links a {
  background: #181C20;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  box-shadow: 0 1px 6px rgba(30,65,89,0.06);
  transition: background 0.14s;
}
.social-links a:hover {
  background: var(--color-secondary);
}
.social-links img {
  height: 24px;
  width: 24px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #24292F;
  color: #F4F6F8;
  z-index: 12000;
  padding: 16px 20px 20px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 -3px 24px rgba(30,65,89,0.14);
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(.45,1,.3,1);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner__text {
  flex: 3 1 180px;
  color: #F4F6F8;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex: 1 1 100px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
  border: none;
  border-radius: 6px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(30,65,89,0.07);
  margin-right: 6px;
  transition: background 0.15s, color 0.13s, transform 0.13s;
  cursor: pointer;
}
.cookie-banner__accept {
  background: var(--color-secondary);
  color: #1E4159;
}
.cookie-banner__accept:hover, .cookie-banner__accept:focus {
  background: #9ACF82;
}
.cookie-banner__reject {
  background: #fafafa;
  color: #1E4159;
}
.cookie-banner__reject:hover {
  background: #e5e8ee;
}
.cookie-banner__settings {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner__settings:hover {
  background: var(--color-btn-hover);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    gap: 8px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,65,89,0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 14000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.45,1,.3,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__content {
  background: #22272C;
  color: #F4F6F8;
  border-radius: 14px;
  box-shadow: 0 6px 32px 0 rgba(30,65,89,0.22);
  max-width: 430px;
  width: 96vw;
  padding: 36px 25px 30px 25px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  align-items: flex-start;
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #F4D29C;
  font-size: 1.6rem;
  cursor: pointer;
}
.cookie-modal__close:hover {
  color: #fff;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
.cookie-category .cookie-always {
  color: #7CA86E;
  font-weight: 600;
  font-size: 0.99rem;
}
.cookie-modal__actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.cookie-modal__save {
  background: var(--color-secondary);
  color: #22272C;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  padding: 10px 24px;
  cursor: pointer;
  font-family: 'Montserrat', Arial,sans-serif;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(124,168,110,0.09);
  transition: background 0.14s;
}
.cookie-modal__save:hover {
  background: #8cc888;
}
.cookie-modal__cancel {
  background: none;
  color: #bbb;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  font-family: 'Montserrat', Arial,sans-serif;
  font-size: 1rem;
  transition: background 0.13s,color 0.14s,border 0.13s;
}
.cookie-modal__cancel:hover {
  background: #191920;
  color: #fff;
  border-color: #fff;
}

/* ==========================================================================
   Utility Classes and Responsive Rules
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    margin-bottom: 40px;
    padding: 22px 8px;
  }
}

/* Alignment Patterns as per requirements */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Prevent overlap globally for cards/containers */
.card, .card-container > *, .feature-grid > *, .team-grid > *, .service-list > *, .service-list-detailed > *, .technology-list > *, .project-summaries > *, .faq-list > * {
  margin-bottom: 20px;
}

/* ==========================================================================
   Section Specific Utility
   ========================================================================== */
.map-embed {
  background: #202a31;
  border-radius: 12px;
  padding: 18px 20px;
  color: #C3CBD4;
  font-size: 0.99rem;
  font-style: italic;
  margin-bottom: 22px;
}
.thankyou-message {
  padding: 30px 26px;
  background: var(--color-card);
  border-radius: 12px;
  box-shadow: var(--color-shadow);
  color: #DBE2E8;
}

/* Policy and Legal Content */
.policy-text, .gdpr-text, .cookies-text, .terms-text {
  background: #23272E;
  color: #E6ECF8;
  border-radius: 10px;
  padding: 26px 20px;
  margin-top: 12px;
  box-shadow: 0 1px 12px rgba(30,65,89,0.08);
  font-size: 1rem;
}
@media (max-width:768px) {
  .policy-text, .gdpr-text, .cookies-text, .terms-text {
    padding: 14px 7px;
    margin-top: 6px;
  }
}

/* ==========================================================================
   Microinteractions & Animation
   ========================================================================== */
.cta, .cta.primary, .cta.secondary, .card, .service-highlight-card, .feature-grid > div, .technology-list > div, .team-member-card, .cookie-banner button, .cookie-modal__save {
  transition: background 0.17s, color 0.15s, box-shadow 0.19s, border-color 0.12s, transform 0.13s;
}
.cta:active, .cta.primary:active, .cta.secondary:active {
  transform: scale(0.98);
}
.card:active, .service-highlight-card:active, .team-member-card:active {
  transform: scale(0.99);
}

/* ==========================================================================
   Scrollbars for Modern, Industrial Look
   ========================================================================== */
::-webkit-scrollbar {
  width: 12px;
  background: #23272E;
}
::-webkit-scrollbar-thumb {
  background: #30363C;
  border-radius: 8px;
  border: 2px solid #181C20;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ==========================================================================
   Fonts loading (to be integrated via HTML or Fonts CDN)
   ========================================================================== */
/*@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700,800|Roboto:400,500,700&display=swap');*/
