/* --- 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,
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.6;
  background: #F4F7FA;
  color: #184366;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;  
}
a {
  color: #184366;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #5FC7CF;
}
ul, ol {
  margin-left: 22px;
}
b, strong {
  font-weight: bold;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border-radius: 0;
  border: none;
  background: none;
}

/* --- FONT LOADING --- */
@import url('https://fonts.googleapis.com/css?family=Roboto:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
h1, h2, h3, h4, .logo {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
p, li, a, blockquote, .footer-info, .footer-nav {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
}

/* --- BRAND COLORS AS CSS VARIABLES + FALLBACKS --- */
:root {
  --primary: #184366;
  --secondary: #5FC7CF;
  --accent: #F4F7FA;
  --dark: #1c2834;
  --mid: #7f8ca4;
  --white: #fff;
  --border: #e4e8ed;
  --shadow: rgba(18, 38, 62, 0.06);
}

/* --- GENERAL LAYOUT & CONTAINER --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 8px var(--shadow);
  position: relative;
  z-index: 20;
}
header .container {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo img {
  height: 38px;
  vertical-align: middle;
  display: block;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-size: 16px;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.03em;
  opacity: 0.93;
  transition: color 0.18s;
  padding: 4px 2px;
}
nav a:hover, nav a.active {
  color: var(--secondary);
  opacity: 1;
}
.cta.primary {
  background: var(--primary);
  color: var(--white);
  border-radius: 30px;
  padding: 10px 30px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 2px 12px var(--shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-left: 12px;
  letter-spacing: 0.02em;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 16px var(--shadow);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--white);
  border: none;
  font-size: 30px;
  padding: 9px 14px;
  margin-left: 12px;
  border-radius: 8px;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 201;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--secondary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  box-shadow: 0 4px 32px 0 rgba(20,40,64,0.18);
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.69,.26,.25,1), opacity 0.22s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--primary);
  font-size: 28px;
  border: none;
  border-radius: 8px;
  padding: 11px 20px;
  margin: 18px 18px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 90%;
  margin: 34px auto 0 auto;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 20px;
  color: var(--primary);
  padding: 14px 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  width: 100%;
  border-radius: 6px;
  background: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--accent);
  color: var(--secondary);
}

/* Hide main nav and show burger in mobile */
@media (max-width: 900px) {
  header .container nav {
    display: none;
  }
  .cta.primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(111deg, var(--accent) 85%, var(--secondary) 120%);
  padding: 50px 0 42px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: 2.3rem;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 0px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--mid);
  margin-bottom: 8px;
}
@media (max-width: 600px) {
  .hero {
    padding: 40px 0 24px 0;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}

/* --- SECTION & SPACING --- */
.section, .about, .services-overview, .testimonials, .cta,
.about-mission, .about-team, .brand-story, .services-detail, .benefits, .case-studies, .faq-content, .contact-details, .policy, .thanks, .contact-cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 18px var(--shadow);
}
.section:last-child, .cta:last-child {
  margin-bottom: 0;
}

.content-grid, .feature-grid, .card-container, .card-grid, .service-list, .faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.feature-grid {
  gap: 32px;
  justify-content: flex-start;
  margin-top: 18px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  flex: 1 0 250px;
  background: var(--accent);
  border-radius: 13px;
  box-shadow: 0 2px 10px var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.24s, background 0.24s;
}
.feature img {
  width: 42px;
  height: 42px;
}
.feature:hover {
  box-shadow: 0 6px 24px 0 rgba(20,40,64,0.16);
  background: #ebf4f7;
}
.feature h3 {
  font-size: 1.28rem;
  color: var(--primary);
  margin-bottom: 0px;
}
.feature p {
  color: var(--mid);
  font-size: 1rem;
}

/* --- CARD LAYOUTS --- */
.card-container, .card-grid, .service-list {
  gap: 24px;
  margin-top: 10px;
}
.card, .service-block, .faq-block {
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--shadow);
  padding: 24px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 0 240px;
  transition: box-shadow 0.18s, background 0.22s;
  min-width: 230px;
}
.card:hover, .service-block:hover, .faq-block:hover {
  background: #eaf2f6;
  box-shadow: 0 6px 24px rgba(20,40,64,0.14);
}

/* --- TEXT SECTIONS, LISTS --- */
.text-section ul, .text-section ol {
  margin-top: 8px;
  margin-bottom: 8px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--primary);
}
.text-section strong {
  color: var(--secondary);
}

h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 10px;
}
h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 14px;
}
h3 {
  font-size: 1.15rem;
  color: var(--mid);
  font-weight: 700;
  margin-bottom: 8px;
}
h1, h2, h3 { line-height: 1.13; }

p {
  line-height: 1.6;
  color: var(--mid);
  font-size: 1rem;
  margin-bottom: 6px;
}

/* --- TESTIMONIALS --- */
.testimonials .content-wrapper {
  gap: 26px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 22px;
  background: #F4F7FA;
  border-left: 6px solid var(--secondary);
  border-radius: 13px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--shadow);
  color: var(--primary);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.22s;
}
.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(20,40,64,0.13);
}
.testimonial-card blockquote {
  color: #1c2834;
  font-size: 1.12rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 7px;
}
.testimonial-meta {
  font-size: 0.98rem;
  font-style: normal;
  color: var(--mid);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-left: 6px;
}

/* --- CTA --- */
.cta {
  background: var(--secondary);
  color: var(--primary);
  text-align: left;
  border-radius: 16px;
  box-shadow: 0 2px 14px var(--shadow);
}
.cta .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.cta h2 {
  color: var(--primary);
}
.cta .cta.primary {
  margin-top: 6px;
}

/* --- FOOTER --- */
footer {
  background: #f8fafc;
  padding: 36px 0 12px 0;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  font-size: 15px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  display: flex;
}
.footer-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 15px;
  opacity: .85;
  transition: color 0.2s;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: var(--secondary);
  opacity: 1;
}
.footer-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--mid);
  font-size: 14px;
  letter-spacing: 0.01em;
}

/* --- SERVICES DETAIL --- */
.service-list {
  flex-direction: column;
  gap: 24px;
}
.service-block {
  min-width: 220px;
  border-left: 5px solid var(--primary);
  background: var(--accent);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.service-block:hover {
  border-color: var(--secondary);
}
.service-block h3 {
  font-size: 1.23rem;
  color: var(--primary);
  margin-bottom: 5px;
}
.service-block h3 span {
  color: var(--secondary);
  font-size: 1rem;
  margin-left: 7px;
  font-weight: 400;
}
.service-block p {
  font-size: 1.01rem;
  color: var(--mid);
}

/* --- BENEFITS --- */
.benefits ul {
  margin: 8px 0 0 24px;
}
.benefits ul li {
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 7px;
}

/* --- FAQ --- */
.faq-accordion {
  flex-direction: column;
  gap: 18px;
}
.faq-block {
  background: var(--accent);
  border-radius: 13px;
  box-shadow: 0 2px 10px var(--shadow);
  transition: box-shadow 0.18s, background 0.22s;
  cursor: pointer;
}
.faq-block h3 {
  color: var(--primary);
  font-size: 1.11rem;
  margin-bottom: 4px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.faq-block p {
  color: var(--mid);
  font-size: 0.98rem;
}
.faq-block:hover {
  background: #eaf2f6;
  box-shadow: 0 6px 24px rgba(20,40,64,0.13);
}

/* --- CONTACT DETAILS --- */
.contact-details ul {
  margin: 14px 0 14px 24px;
}
.contact-details ul li {
  color: var(--primary);
  margin-bottom: 7px;
  font-size: 16px;
}

/* --- POLICY PAGES --- */
.policy h1, .policy h2 {
  color: var(--primary);
}
.policy ul {
  margin: 7px 0 7px 22px;
}
.policy ul li {
  color: var(--primary);
  margin-bottom: 7px;
  font-size: 16px;
}
.policy p {
  color: var(--mid);
}

/* --- THANK YOU --- */
.thanks .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.thanks h1 {
  color: var(--secondary);
  font-size: 2rem;
  margin-bottom: 8px;
}
.thanks a.cta.primary {
  margin-top: 18px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--white);
  color: var(--primary);
  border-top: 1px solid var(--border);
  box-shadow: 0 -3px 20px var(--shadow);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 14px;
  transition: transform 0.36s cubic-bezier(.69,.26,.25,1), opacity 0.22s;
  gap: 18px;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  max-width: 650px;
  font-size: 1rem;
  color: var(--primary);
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: 22px;
  padding: 8px 28px;
  border: none;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 7px var(--shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--white);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn.reject {
  background: #e2e5ea;
  color: var(--mid);
}
.cookie-btn.reject:hover {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
  padding: 8px 12px;
}
.cookie-btn.settings:hover {
  color: var(--secondary);
  border-bottom-color: var(--primary);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    gap: 10px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
    max-width: 98vw;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,45,60,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--white);
  border-radius: 18px;
  max-width: 440px;
  width: 88vw;
  box-shadow: 0 10px 32px 0 rgba(20,40,64,.18);
  padding: 30px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  margin-bottom: 3px;
  color: var(--primary);
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
}
.cookie-modal label input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
  margin-right: 7px;
}
.cookie-category {
  margin-bottom: 10px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 17px;
}
.cookie-modal .cookie-btn {
  padding-left: 18px;
  padding-right: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.17s, color 0.17s;
}
.cookie-modal .close-modal:hover {
  background: var(--secondary);
  color: var(--white);
}

/* --- RESPONSIVE FLEX PATTERNS --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- SPACING & GAPS (GLOBAL) --- */
.section, .about, .services-overview, .testimonials, .cta,
.about-mission, .about-team, .brand-story, .services-detail, .benefits, .case-studies, .faq-content, .contact-details, .policy, .thanks, .contact-cta {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .card-grid {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
}
.section, .card, .feature, .service-block, .faq-block, .testimonial-card {
  box-sizing: border-box;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 980px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
  }
}
@media (max-width: 800px) {
  footer .footer-info, .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .section, .about, .services-overview, .testimonials, .cta,
  .about-mission, .about-team, .brand-story, .services-detail, .benefits, .case-studies, .faq-content, .contact-details, .policy, .thanks, .contact-cta {
    padding: 30px 6px;
  }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 1.25rem; }
  .container { max-width: 100vw; }
  .feature-grid { flex-direction: column; gap: 18px; }
  .feature, .service-block, .faq-block { min-width: 0; width: 100%; }
  .content-wrapper { gap: 18px; }
  .testimonial-card { padding: 16px 6px; gap: 10px; min-width: 0; }
  .card-container, .card-grid, .service-list { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 500px) {
  header .container { padding-left: 4px; padding-right: 6px; }
  .footer-info { font-size: 13px; gap: 6px; }
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.01rem; }
}

/* --- UTILITY CLASSES --- */
.mt-2 { margin-top: 2px; } .mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mb-2 { margin-bottom: 2px; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.center { text-align: center; justify-content: center; align-items: center; }

/* --- MICRO-INTERACTIONS --- */
button, .cta.primary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.2s, box-shadow 0.16s;
}
.card, .feature, .service-block, .faq-block, .testimonial-card {
  transition: box-shadow 0.22s, background 0.22s, border-color 0.14s;
}
a { transition: color 0.16s; }
input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--secondary);
}

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* --- END --- */
