/* CSS RESET & BASE ============================ */
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;
}

html {
  box-sizing: border-box;
  height: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F8F9FA;
  color: #373D45;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #00A8E8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #0078A0;
  outline: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
}

strong {
  font-weight: 600;
}

/* TYPOGRAPHY ============================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #23272B;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; }
h4 { font-size: 1.12rem; margin-bottom: 14px; }
h5, h6 { font-size: 1rem; margin-bottom: 12px; }

@media (min-width: 600px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.35rem; }
}

p {
  margin-bottom: 18px;
  color: #373D45;
}

blockquote {
  font-style: italic;
  color: #23272B;
  border-left: 4px solid #00A8E8;
  margin: 0 0 18px 0;
  padding-left: 18px;
  background: rgba(0, 168, 232, 0.05);
}

/* LAYOUT ============================ */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  /* Always flex in main header/footer */
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(55,61,69,0.06);
}

/* Features for grid/flex-only layouts */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #F8F9FA;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(55,61,69,0.05);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 280px;
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 20px rgba(55,61,69,0.13);
  background: #fff;
}
.feature-grid img {
  width: 38px;
  margin-bottom: 8px;
}

/* Card container, for possible sectioned cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(55,61,69,0.07);
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
  max-width: 350px;
  padding: 24px 18px;
}

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

/* Main and Footer nav ===================== */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(55,61,69,0.04);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #373D45;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 1rem;
  padding: 5px 0;
  position: relative;
  transition: color 0.15s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: #00A8E8;
  transition: width .18s;
  position: absolute;
  bottom: -3px; left: 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: #00A8E8;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}

/* Hide menu on mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  color: #00A8E8;
  margin-left: 24px;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E6F2F7;
  color: #373D45;
}


/* MOBILE MENU & OVERLAY =================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.95,.05,.23,.92);
  box-shadow: 0 0 32px rgba(0,0,0,0.11);
  display: flex;
  flex-direction: column;
  padding: 0 0 60px 0;
  overflow-y: auto;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #00A8E8;
  align-self: flex-end;
  margin: 24px 28px 8px 0;
  background: transparent;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E6F2F7;
  color: #373D45;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin: 40px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.22rem;
  color: #373D45;
  padding: 8px 0;
  width: 100%;
  border-radius: 6px;
  transition: background .14s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E6F2F7;
  color: #00A8E8;
}

/* Show burger & hide nav on mobile */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* PRIMARY BUTTONS ========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  background: #00A8E8;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 12px 32px;
  min-width: 140px;
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.18s, color 0.14s;
  box-shadow: 0 1px 3px rgba(0,168,232,0.10);
  margin-top: 8px;
  margin-bottom: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #0078A0;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,168,232,0.15);
}

/* BLOG, TESTIMONIAL, SERVICE, etc. LISTS ===== */
.blog-list, .service-list, .faq, .blog-categories, .newsletter-signup {
  margin-bottom: 32px;
}
.blog-list li, .service-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(55,61,69,0.05);
  margin-bottom: 20px;
  padding: 20px 20px 12px 24px;
  list-style: none;
}
.blog-list h3 a, .service-list h3, .blog-list h3 {
  color: #23272B;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
}
.blog-list h3 a:hover, .blog-list h3 a:focus {
  text-decoration: underline;
  color: #00A8E8;
}

.blog-categories a {
  color: #00A8E8;
  font-weight: 500;
  transition: color .13s;
  padding: 4px 9px;
  border-radius: 5px;
}
.blog-categories a:hover, .blog-categories a:focus {
  background: #E6F2F7;
  color: #23272B;
}

/* Pricing Table ===================== */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.pricing-table > div {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 315px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(55,61,69,0.08);
  padding: 30px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s;
}
.pricing-table > div:hover {
  box-shadow: 0 14px 32px rgba(55,61,69,0.17);
}
.pricing-table strong {
  color: #00A8E8;
}

/* Project Summary & Featured Projects */
.project-summary {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 20px;
}
.featured-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.featured-projects > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(55,61,69,0.08);
  padding: 24px 18px;
  min-width: 220px;
  max-width: 330px;
  flex: 1 1 200px;
  margin-bottom: 20px;
}

/* Testimonial Section ======================== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 250px;
  max-width: 380px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  background: #F8F9FA;
  box-shadow: 0 2px 12px rgba(55,61,69,0.08);
  border-radius: 16px;
  color: #23272B;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow 0.16s, background 0.11s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0,168,232,0.11);
  background: #fff;
}
.testimonial-card strong {
  color: #373D45;
}
.testimonial-card blockquote {
  font-size: 1.06rem;
  border-left: 3px solid #00A8E8;
  background: none;
  padding-left: 15px;
  color: #23272B;
}

/* Process Grid (for Contact page) & similar */
.process-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.process-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 330px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(55,61,69,0.08);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 20px;
}
.process-grid img {
  width: 34px;
  margin-bottom: 6px;
}


/* FAQ ====================================== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.faq > div {
  background: #F8F9FA;
  border-radius: 12px;
  padding: 15px 18px;
  color: #373D45;
  box-shadow: 0 1px 6px rgba(55,61,69,0.05);
  margin-bottom: 10px;
}


/* INFO BOXES & NEWSLETTER SIGNUP */
.info-box, .newsletter-signup {
  background: #F8F9FA;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(55,61,69,0.06);
  padding: 24px 20px;
  margin: 22px 0 24px 0;
}

/* FOOTER ============================ */
footer {
  background: #fff;
  border-top: 1px solid #E3E6EA;
  padding: 38px 0 16px 0;
  color: #373D45;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer img {
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #00A8E8;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
}
.footer-contact img {
  vertical-align: middle;
  width: 18px;
  margin-right: 7px;
  margin-bottom: -2px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  font-size: 0.95rem;
}
.footer-social img {
  width: 38px;
  margin-bottom: 0;
}


/* RESPONSIVE LAYOUTS ==================== */
@media (max-width: 900px) {
  .feature-grid, .pricing-table, .testimonials, .process-grid, .featured-projects {
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
  }
  .container {
    padding: 0 12px;
  }
  footer .container {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .content-wrapper { padding: 0; }
  .section { padding: 32px 8px; }
  .feature-grid > div, .pricing-table > div, .process-grid > div, .card, .featured-projects > div {
    max-width: 100%;
    min-width: 0;
    padding: 20px 12px;
  }
  .testimonials, .featured-projects {
    gap: 13px;
  }
  .testimonials { justify-content: flex-start; }
  .footer-social { flex-direction: column; align-items: flex-start; gap: 7px; }
  .blog-list li, .service-list li {
    padding: 15px 12px 8px 14px;
  }
}

@media (max-width: 600px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .main-nav {
    display: none;
  }
  .section {
    padding: 22px 3px;
    margin-bottom: 38px;
  }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.31rem; }
  h3 { font-size: 1.07rem; }
}

/* FLEXBOX Mandatory Section 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: flex-start;
    gap: 16px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Cookie Consent BANNER & MODAL =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #373D45;
  border-top: 2px solid #00A8E8;
  box-shadow: 0 -2px 14px rgba(55,61,69,0.08);
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 18px 14px 16px 14px;
  gap: 18px;
  transition: transform 0.28s cubic-bezier(.52,.09,.36,0.89);
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: auto;
  align-items: center;
}

.cookie-banner button, .cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #00A8E8;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 700;
  margin-right: 7px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,168,232,0.10);
  transition: background .16s, color .14s;
}
.cookie-banner button:last-child {
  margin-right: 0;
}
.cookie-banner button:hover, .cookie-banner button:focus,
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #0078A0;
  color: #fff;
}
.cookie-banner .cookie-btn-secondary {
  background: #E6F2F7;
  color: #00A8E8;
}
.cookie-banner .cookie-btn-secondary:hover, .cookie-banner .cookie-btn-secondary:focus {
  background: #00A8E8;
  color: #fff;
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(55,61,69,0.22);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
  opacity: 1;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 32px rgba(0,168,232,0.17);
  padding: 38px 30px 27px 30px;
  min-width: 90vw;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h2 {
  margin-bottom: 7px;
  font-size: 1.28rem;
  color: #00A8E8;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8F9FA;
  padding: 13px 14px;
  border-radius: 11px;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1.01rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #00A8E8;
  width: 1.16em;
  height: 1.16em;
}
.cookie-category .essential {
  color: #373D45;
  font-weight: 600;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 17px; right: 26px;
  background: #E6F2F7;
  color: #373D45;
  border-radius: 50%;
  width: 35px; height: 35px;
  font-size: 1.4rem;
  border: none;
  align-items: center; justify-content: center;
  display: flex;
  transition: background .16s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #00A8E8;
  color: #fff;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Hide banner on small mobile when modal open */
@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 25px 8px 15px 8px;
    min-width: 96vw;
  }
  .cookie-banner { padding: 14px 5px 13px 5px; font-size: .97rem; }
}

/* Animations and Transitions ================= */
.btn-primary,
input,
.card, .pricing-table > div, .feature-grid > div, .testimonial-card,
.testimonials > div, .cookie-banner, .cookie-modal-content {
  transition: box-shadow 0.14s, background 0.14s, color 0.11s, border-color 0.13s, transform 0.16s;
}

.card:hover, .card:focus, .pricing-table > div:hover, .feature-grid > div:hover {
  transform: translateY(-3px) scale(1.016);
}

/* MISCELLANEOUS UTILS ===================== */
.section + .section {margin-top:0;}
.mt-0 {margin-top:0 !important;}
.mb-0 {margin-bottom:0 !important;}
.gap-16 {gap: 16px !important;}
.text-center {text-align:center !important;}

/* icon inside text-section */
.text-section img {
  width: 32px;
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: 2px;
}

/* INPUTS (not required but accessibility) */
input, select, textarea {
  font-family: inherit;
  border: 1px solid #D1D7DD;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 1rem;
  background: #fff;
  color: #23272B;
  margin-bottom: 18px;
  width: 100%;
  transition: border-color 0.14s;
}
input:focus, select:focus, textarea:focus {
  border-color: #00A8E8;
  outline: none;
}

/* END OF STYLE.CSS */
