/* 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.6;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #181818;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #16203B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #16203B;
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: #111216;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.125rem;
  font-weight: 500;
}
p, ul, ol {
  margin-bottom: 1.25em;
  color: #222;
  font-size: 1rem;
}
ul, ol {
  padding-left: 1.5em;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
  color: #161616;
}
address {
  font-style: normal;
  color: #212121;
  margin-bottom: 18px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Layout & Section Spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(22,32,59,0.09);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero {
  padding: 60px 0 32px 0;
  background: #181A1F;
  color: #fff;
  margin-bottom: 60px;
}
.hero .content-wrapper h1,
.hero .content-wrapper p {
  color: #fff;
}
.hero .cta {
  background: #EFD510;
  color: #181A1F;
  margin-top: 16px;
  box-shadow: 0 3px 24px 0 rgba(239,213,16,0.13);
}

/* Flexbox Feature Grids */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #FAFAFA;
  border-radius: 15px;
  box-shadow: 0 1px 6px rgba(30,34,44,0.08);
  padding: 26px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.22s;
  border: 1.5px solid #E7E8EC;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px 0 rgba(22,32,59,0.11);
  transform: translateY(-2px) scale(1.015);
  border-color: #EFD510;
}
.feature-grid img {
  width: 44px;
  margin-bottom: 12px;
  filter: grayscale(1) contrast(1.1);
}

/* List-style for pseudo monochrome checkmark for lists */
ul li::marker {
  color: #EFD510;
}

/* Project Listing */
.project-listing {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.project-listing > div {
  background: #FAFAFA;
  border-radius: 15px;
  box-shadow: 0 1px 6px rgba(30,34,44,0.08);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  border: 1.5px solid #E7E8EC;
}
.project-listing h3 {
  color: #16203B;
  font-size: 1.2rem;
}

/* Testimonial Cards */
.testimonials {
  background: #F7F7F8;
  padding-bottom: 0 !important;
  margin-bottom: 60px;
}
.testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px 0 rgba(22,32,59,0.10);
  border: 1.5px solid #ECECEC;
  max-width: 600px;
  transition: box-shadow 0.2s, border 0.2s;
}
.testimonials .testimonial-card:hover {
  box-shadow: 0 7px 22px 0 rgba(22,32,59,0.16);
  border: 1.5px solid #EFD510;
}
.testimonial-card p {
  color: #121214;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card span {
  color: #16203B;
  font-size: 0.95rem;
}

/* Legal & Text Sections */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.legal {
  background: #FAFBFC;
  padding: 30px 12px;
  border-radius: 16px;
  box-shadow: 0 1px 7px rgba(34, 34, 34, 0.07);
}

/* Card Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 1px 6px rgba(30,34,44,0.08);
  background: #fff;
  padding: 26px 22px;
  position: relative;
}

/* Other Flex Content Layouts */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CTA Buttons */
.cta {
  display: inline-block;
  border: none;
  background: #fff;
  color: #16203B;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 1px 8px rgba(22,32,59,0.07);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.23s;
  margin-top: 10px;
}
.cta.cta-primary {
  background: #EFD510;
  color: #181A1F;
  box-shadow: 0 2px 14px rgba(239,213,16,0.13);
}
.cta:hover, .cta:focus {
  background: #16203B;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(22,32,59,0.19);
  transform: translateY(-2px) scale(1.04);
}
.cta.cta-primary:hover, .cta.cta-primary:focus {
  background: #16203B;
  color: #EFD510;
}

/* Header & Footer Navigation */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(34,28,54,0.04);
  padding-top: 16px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 64px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #181A1F;
  padding: 5px 8px;
  border-radius: 3px;
  transition: background 0.14s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EFD510;
  color: #16203B;
}
header img {
  height: 38px;
  width: auto;
  margin-right: 12px;
}
footer {
  background: #181A1F;
  color: #E3E4E9;
  padding: 36px 0 24px 0;
  font-size: 0.96rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 4px;
}
.footer-nav a {
  color: #F4F6F9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  position: relative;
}
.footer-nav a:after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: #EFD510;
  transition: width 0.17s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.footer-nav a:hover:after, .footer-nav a:focus:after {
  width: 100%;
}
footer small {
  color: #BCBEC5;
  margin-top: 5px;
}

/********************
** Mobile Menu
*********************/
.mobile-menu-toggle {
  display: none;
  background: #181A1F;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  position: relative;
  z-index: 1021;
  transition: background 0.15s, color 0.17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #EFD510;
  background: #16203B;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,32,59, 0.96);
  backdrop-filter: blur(2.5px);
  z-index: 1030;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.39s cubic-bezier(0.61,0.12,0.18,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #EFD510;
  font-size: 2rem;
  position: absolute;
  top: 26px;
  right: 30px;
  z-index: 1040;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  margin-top: 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.33rem;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 6px;
  width: 100%;
  display: block;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EFD510;
  color: #181A1F;
}

/* Responsive adjustments */
@media (max-width: 1030px) {
  .main-nav {
    gap: 16px;
  }
  .container {
    padding: 0 7px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
  .container {
    padding: 0 4px;
  }
  .feature-grid,
  .project-listing {
    gap: 16px;
  }
}
@media (max-width: 820px) {
  .feature-grid > div,
  .project-listing > div {
    min-width: 120px;
    padding: 18px 10px;
  }
}
@media (max-width: 850px) {
  header .container {
    gap: 12px;
    padding-bottom: 6px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    gap: 10px;
  }
  .section, .hero, .legal, .thankyou, .testimonials {
    padding: 32px 2vw;
    margin-bottom: 48px;
  }
  .feature-grid,
  .project-listing{
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div,
  .project-listing > div {
    width: 100%;
    min-width: 0;
    border-radius: 13px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonials .testimonial-card {
    max-width: 99vw;
    padding: 14px 8px;
    font-size: 1rem;
  }
  .footer-nav {
    gap: 10px;
    font-size: 0.95rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 550px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-height: 0;
  }
  .hero {
    padding: 32px 2vw;
  }
}

/********************
** Cookie Consent Banner
*********************/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6000;
  width: 100vw;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(22,32,59, 0.97);
  color: #fff;
  font-size: 1rem;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 -4px 24px rgba(20,24,40,0.13);
  transition: transform 0.4s;
  gap: 24px;
  opacity: 1;
  transform: translateY(0%);
}
.cookie-consent-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-banner-content {
  max-width: 530px;
  margin-right: 16px;
}
.cookie-consent-banner button {
  margin-left: 12px;
  padding: 8px 24px;
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
}
.cookie-consent-banner .accept {
  background: #EFD510;
  color: #181A1F;
  margin-right: 8px;
}
.cookie-consent-banner .accept:hover, .cookie-consent-banner .accept:focus {
  background: #fff;
  color: #16203B;
  box-shadow: 0 2px 10px rgba(239,213,16,0.07);
}
.cookie-consent-banner .reject {
  background: #fff;
  color: #161616;
  margin-right: 8px;
}
.cookie-consent-banner .reject:hover, .cookie-consent-banner .reject:focus {
  background: #181A1F;
  color: #EFD510;
}
.cookie-consent-banner .settings {
  background: none;
  color: #EFD510;
  border: 2px solid #EFD510;
  margin-right: 0;
  padding: 8px 22px;
}
.cookie-consent-banner .settings:hover, .cookie-consent-banner .settings:focus {
  background: #EFD510;
  color: #181A1F;
  border-color: #EFD510;
}
@media (max-width:600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 6px 10px 6px;
    gap: 10px;
  }
  .cookie-consent-banner .cookie-banner-content {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/********************
** Cookie Settings Modal
*********************/
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22,32,59,0.73);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6010;
  opacity: 1;
  transition: opacity 0.33s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 410px;
  width: 96vw;
  box-shadow: 0 8px 44px rgba(22,32,59,0.15);
  padding: 38px 28px 28px 28px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #181A1F;
  animation: modal-in 0.35s cubic-bezier(0.53, 0.12, 0.22, 1) both;
}
@keyframes modal-in {
  0% {transform: translateY(98px) scale(0.93);opacity:0;}
  100% {transform: translateY(0);opacity:1;}
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #16203B;
}
.cookie-modal .cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
}
.cookie-modal .cookie-setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F3F4F7;
  border-radius: 13px;
  padding: 10px 13px;
  font-size: 1rem;
}
.cookie-modal .cookie-setting-item [type="checkbox"] {
  accent-color: #EFD510;
  width: 20px; height: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-actions button {
  border-radius: 18px;
  padding: 7px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border: none;
  background: #16203B;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .cookie-modal-actions .save {
  background: #EFD510;
  color: #181A1F;
}
.cookie-modal .cookie-modal-actions .save:hover, .cookie-modal .cookie-modal-actions .save:focus {
  background: #16203B;
  color: #EFD510;
}
.cookie-modal .cookie-modal-actions .close {
  background: #E7E8EC;
  color: #18181A;
}
.cookie-modal .cookie-modal-actions .close:hover, .cookie-modal .cookie-modal-actions .close:focus {
  background: #EFD510;
  color: #181A1F;
}

/********************
** Miscellaneous, Utility
*********************/
::-webkit-scrollbar {
  width: 9px;
  background: #F2F3F7;
}
::-webkit-scrollbar-thumb {
  background: #E7E8EC;
  border-radius: 6px;
}
::-webkit-selection {
  color: #fff;
  background: #EFD510;
}
::selection {
  color: #fff;
  background: #EFD510;
}

hr {
  border: 0;
  border-top: 1.5px solid #E6E6EA;
  margin: 32px 0;
}

/* Hide visually, maintain accessibility */
.sr-only {
  position: absolute;
  left: -999rem;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/********************
** Form Inputs (for contact.html future forms)
*********************/
input, textarea, select {
  font: inherit;
  border: 1.5px solid #E7E8EC;
  border-radius: 14px;
  background: #F6F6F8;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 1rem;
  transition: border 0.15s, background 0.18s;
  box-sizing: border-box;
  color: #181A1F;
}
input:focus, textarea:focus, select:focus {
  border-color: #EFD510;
  background: #fff;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 4px;
  display: block;
}

/* Thankyou Page Card */
.thankyou {
  background: #F0F0F2;
  border-radius: 17px;
  padding: 40px 2vw;
  color: #16203B;
  margin-bottom: 40px;
}

/********************
** Ensure Monochrome Elegance
*********************/
.hero, .hero .container, .hero .content-wrapper {
  background: #181A1F;
  color: #fff;
}
.hero .cta {
  color: #181A1F !important;
  background: #EFD510 !important;
}

/********************
** Card for monochrome style
*********************/
.card, .feature-grid > div, .project-listing > div, .testimonial-card {
  background: #fff;
  border: 1.5px solid #DDDDE2;
  box-shadow: 0 2px 14px 0 rgba(22,32,59,0.09);
}

/* Overlapping/spacing ensure */
.card-container > *, .feature-grid > *, .project-listing > *, .content-grid > *, .testimonial-card {
  margin-bottom: 20px !important;
}

/* Z-index stacking for modals & menus */
.mobile-menu, .cookie-modal-overlay {
  z-index: 6100;
}

/********************
** Visual Hierarchy Utility
*********************/
.section h2, .content-wrapper > h2, .legal h1, .thankyou h1 {
  border-bottom: 1.5px solid #EFD510;
  padding-bottom: 7px;
}

/********************
** Address/Contact Info
*********************/
address a {
  color: #16203B;
  font-weight: 500;
}
address a:hover {
  color: #EFD510;
  text-decoration: underline;
}
address img {
  width: 1.2em;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
  filter: grayscale(1) brightness(0.25);
}

/********************
** Disabled Button Utility
*********************/
button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
