/* ===============================================
   BOSCATE BUILDTECH: GRADIENT_MODERN THEME STYLE.CSS
   Modern, gradient-inspired, responsive, fully Flexbox
   =============================================== */
/* ==== 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, 
main, 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 { 
  scroll-behavior: smooth; 
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1b242f;
  background: linear-gradient(160deg, #F9F9F9 0%, #e4f1f5 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #144269;
  transition: color 0.25s;
}
a:focus {
  outline: 2px solid #29A19C;
  outline-offset: 2px;
}
ul, ol { list-style: none; margin: 0 0 1.5em 1.5em; padding: 0; }
li { margin-bottom: 10px; }


/* =============== TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Open Sans', serif;
  font-weight: 700;
  color: #144269;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, ul, ol, blockquote, label {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #23324b;
}
blockquote {
  font-size: 1.125rem;
  color: #144269;
  font-style: italic;
  margin-bottom: 8px;
  border-left: 4px solid #29A19C;
  padding-left: 16px;
}
cite {
  font-style: normal;
  font-size: 1rem;
  color: #144269;
  opacity: 0.85;
  margin-left: 6px;
}
strong { font-weight: 700; }
em { font-style: italic; }

/* =============== UTILITY CLASSES =============== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

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

/* =============== HEADER & NAVIGATION =============== */
header {
  width: 100%;
  padding: 0 0 0 0;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(20, 66, 105, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.logo-header {
  display: flex;
  align-items: center;
  height: 72px;
  padding-left: 24px;
}
.logo-header img {
  height: 40px;
  width: auto;
}
.main-nav {
  flex: 1;
  margin-left: 32px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #23324b;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #29A19C33;
  color: #144269;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #29A19C 0%, #144269 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 30px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 28px;
  margin-left: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(41,161,156,0.09);
  transition: filter 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  position: relative;
  text-shadow: 0 1px 4px rgba(20,66,105,.10);
}
.cta-button.primary {
  background: linear-gradient(92deg, #144269 0%, #29A19C 100%);
}
.cta-button:hover, .cta-button:focus {
  filter: brightness(1.07) drop-shadow(0 2px 8px #14426922);
  background: linear-gradient(90deg,#144269 0%,#29A19C 100%);
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #144269;
  cursor: pointer;
  margin-right: 18px;
  margin-left: 24px;
  z-index: 102;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #144269ee;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.57,.01,.57,1.11);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 22px 0 0 18px;
  align-self: flex-start;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  margin: 40px 0 0 0;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 6px;
  transition: background 0.22s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #29A19C;
  color: #fff;
}

/* =============== HERO SECTIONS =============== */
.hero, .about-hero, .services-hero, .projects-hero, .contact-hero, .ourteam-hero {
  background: linear-gradient(99deg,#29A19C 5%, #e4f1f5 60%, #F9F9F9 100%);
  padding: 60px 0 32px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.hero .container, .about-hero .container, .services-hero .container, .projects-hero .container, .contact-hero .container, .ourteam-hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
}
.hero .content-wrapper, .about-hero .content-wrapper, .services-hero .content-wrapper, .projects-hero .content-wrapper, .contact-hero .content-wrapper, .ourteam-hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1, .about-hero h1, .services-hero h1, .projects-hero h1, .contact-hero h1, .ourteam-hero h1 {
  font-size: 2.8rem;
  text-shadow: 0 1px 8px #29A19C11;
}
.hero p, .about-hero p, .services-hero p, .projects-hero p, .contact-hero p, .ourteam-hero p {
  font-size: 1.25rem;
  color: #23324b;
  opacity: 0.97;
  line-height: 1.6;
  max-width: 600px;
}

/* =============== FEATURE SECTIONS =============== */
.features {
  width: 100%;
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 0;
  box-shadow: 0 6px 26px 0 rgba(20,66,105,0.04);
  border-radius: 24px;
}
.features .content-wrapper { align-items: flex-start; }
.feature-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: linear-gradient(93deg,#F9F9F9 65%, #e4f1f5 100%);
  border-radius: 16px;
  padding: 32px 28px;
  min-width: 220px;
  max-width: 270px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px #14426913;
  transition: box-shadow .2s, transform .2s;
}
.feature-item img { height: 46px; width: 46px; margin-bottom: 8px; }
.feature-item h3 { font-size: 1.10rem; margin-bottom: 0; color: #144269; }
.feature-item p { font-size: 1rem; color: #2b3f59; margin-bottom: 0; }
.feature-item:hover {
  box-shadow: 0 8px 28px #29A19C20;
  transform: translateY(-2px) scale(1.03);
}

/* =============== CARDS & CONTENT WRAPPER =============== */
.card-container, .service-list, .content-grid, .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 #14426908;
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 28px;
}
.card:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 6px 28px #29A19C22;
}

/* Service List/Item (index) */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 32px 0;
}
.service-item {
  background: #fff;
  border-radius: 15px;
  padding: 26px 22px;
  min-width: 200px;
  flex: 1 1 220px;
  box-shadow: 0 2px 9px 0 #29A19C11;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  transition: box-shadow .18s;
}
.service-price, .price-label {
  font-weight: bold;
  color: #144269;
  background: #F9F9F9;
  border-radius: 16px;
  font-size: 1rem;
  padding: 4px 13px;
  margin-top: 4px;
  margin-bottom: 0;
}
.service-item:hover {
  box-shadow: 0 8px 28px 0 #14426926;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px #29A19C15;
  padding: 23px 18px;
  margin-bottom: 20px;
  transition: box-shadow .16s;
}
.service-card:hover {
  box-shadow: 0 5px 20px #29A19C22;
}

/* =============== TEAM GRID (Our Team) =============== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.team-member {
  background: linear-gradient(98deg,#e4f1f5 70%,#F9F9F9 100%);
  border-radius: 14px;
  box-shadow: 0 1px 8px #14426911;
  min-width: 200px;
  flex: 1 1 210px;
  padding: 24px 18px;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .17s;
}
.team-member h3 { margin-bottom: 6px; color: #144269; font-size: 1.18rem; }
.team-member:hover { box-shadow: 0 5px 18px #29A19C22; transform: translateY(-1px) scale(1.03); }
.team-grid:last-child { margin-bottom: 0; }

/* =============== TESTIMONIALS =============== */
.testimonials {
  background: linear-gradient(108deg,#e4f1f5 60%,#F9F9F9 100%);
  padding: 40px 0;
  margin-bottom: 60px;
  border-radius: 22px;
  box-shadow: 0 2px 18px 0 #29A19C11;
  width: 100%;
}
.testimonials .content-wrapper {
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  box-shadow: 0 1px 10px 0 #14426911;
  margin-bottom: 20px;
  border-radius: 14px;
  min-width: 200px;
  max-width: 650px;
  font-size: 1.12rem;
  color: #144269;
  transition: box-shadow .17s;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 1.08rem;
  color: #144269;
  font-style: italic;
}
.testimonial-card cite {
  font-style: normal;
  color: #23324b;
  margin-left: 12px;
  font-size: 1rem;
  opacity: 0.8;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px #29A19C16;
}
.partner-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 26px;
}
.partner-logos img {
  height: 43px;
  width: auto;
  filter: grayscale(30%) brightness(1.16);
  opacity: 0.92;
}

/* ======== ALERTS ========== */
.alert {
  background: #fff3cd;
  border: 1px solid #ffe69c;
  color: #806300;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px 0 #ffe69c21;
}

/* =============== CTA SECTIONS =============== */
.cta, .contact-cta, .visit-or-callback, .thankyou {
  background: linear-gradient(90deg,#F9F9F9 50%, #e4f1f5 100%);
  padding: 50px 0;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 #29A19C09;
  margin-bottom: 60px;
}
.cta .cta-button, .contact-cta .cta-button {
  margin-top: 18px;
}
.thankyou {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

/* =============== POLICY PAGES =============== */
.policy {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px #14426912;
  margin-bottom: 60px;
  padding: 50px 0;
}
.policy .content-wrapper {
  align-items: flex-start;
}
.policy h1 { margin-bottom: 16px; }
.policy h2 { margin-bottom: 8px; }
.policy ul { margin: 0 0 24px 24px; }

/* =============== FOOTER =============== */
footer {
  background: linear-gradient(95deg,#144269 0%,#29A19C 100%);
  color: #fff;
  padding: 40px 0 20px 0;
  box-shadow: 0 -2px 16px 0 #1442690c;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav, .footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #f7f7f7;
  font-size: 1rem;
  opacity: 0.93;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.21s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #29A19Ccc;
  color: #fff;
}
.footer-info {
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 6px;
}
.footer-info p {
  color: #f0f0f0;
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.footer-info img {
  height: 18px; width: 18px;
  filter: brightness(1.14) grayscale(11%);
}
.footer-logo {
  text-align: center;
  margin-bottom: 10px;
}
.footer-logo img {
  height: 39px;
}
.footer-credits {
  color: #F9F9F9cc;
  font-size: 0.92rem;
  text-align: center;
  margin-top: 12px;
}

/* ============== RESPONSIVE DESIGN ============== */
@media (max-width: 1100px) {
  .container { max-width: 980px; }
}
@media (max-width: 900px) {
  .container { max-width: 780px; }
  .feature-grid, .service-list, .team-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero, .about-hero, .services-hero, .projects-hero, .contact-hero, .ourteam-hero {
    padding: 32px 0 22px 0;
    min-height: 200px;
  }
  .feature-grid, .service-list, .card-container, .content-grid, .team-grid, .footer-nav, .footer-info {
    flex-direction: column;
    gap: 16px;
  }
  .main-nav { display: none; }
  .cta-button { margin-left: 0; margin-right: 14px; }
  .logo-header { padding-left: 12px; }
  header { flex-wrap: wrap; min-height: 54px; }
  .mobile-menu-toggle {
    display: block;
  }
  .container { padding: 0 10px; }
  .content-wrapper { gap: 18px; }
  .section { padding: 24px 10px; margin-bottom: 34px; }
  .features, .testimonials, .cta, .policy, .thankyou { padding: 20px 0; margin-bottom: 35px; }
  .feature-item, .service-item, .team-member, .service-card, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 14px;
  }
  .partner-logos { gap: 18px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  body { font-size: 14px; }
  .section, .features, .testimonials, .cta, .policy, .thankyou { padding: 10px 0; }
  footer { padding: 20px 0 12px 0; }
  .footer-logo img { height: 28px; }
}
/* ========== FLEXBOX LAYOUT CLASSES FROM SPEC ========= */
.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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.section { margin-bottom: 60px; padding: 40px 20px; }

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
  .content-grid, .card-container { flex-direction: column; }
}

/* ========== COOKIE BANNER =========== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #144269fa;
  color: #fff;
  z-index: 1002;
  box-shadow: 0 -2px 16px #14426940;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
  flex-direction: row;
  gap: 22px;
  animation: cookieIn .5s cubic-bezier(.7,.05,.7,1.03) 1;
}
@keyframes cookieIn { from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-banner-content { 
  flex: 1; 
  font-size: 1rem;
  display: flex; align-items: center; gap: 12px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  padding: 8px 18px;
  cursor: pointer;
  margin: 0 1px;
  outline: none;
  box-shadow: 0 2px 7px #29A19C14;
  transition: background 0.18s, color 0.12s;
}
.cookie-accept {
  background: #29A19C;
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: #144269;
  border: 1.5px solid #29A19C;
}
.cookie-settings {
  background: #F9F9F9;
  color: #23324b;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(1.09);
  box-shadow: 0 4px 18px #29A19C18;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #144269ee;
  z-index: 1003;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn .4s cubic-bezier(.71,.02,.67,1.05) 1;
}
@keyframes cookieModalIn { from { opacity: 0; transform: scale(.92);} to { opacity: 1; transform: scale(1); } }
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 28px #14426918;
  max-width: 388px;
  width: 96%;
  padding: 32px 26px 26px 26px;
  position: relative;
  color: #23324b;
}
.cookie-modal header {
  font-family: 'Roboto Slab', 'Open Sans', serif;
  font-weight: 700;
  color: #144269;
  font-size: 1.25rem;
  margin-bottom: 18px;
  background: none;
  box-shadow: none;
  display: block;
  padding: 0;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-bottom: 20px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  background: #e4f1f546;
  padding: 8px 12px;
  border-radius: 10px;
}
.cookie-modal-category label {
  font-weight: 600;
  color: #144269;
}
.cookie-modal-toggle {
  margin-left: auto;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: inherit;
  font-size: 1rem;
  background: #29A19C;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 7px 18px;
  cursor: pointer;
  transition: background 0.17s, box-shadow .17s;
}
.cookie-modal button:focus, .cookie-modal button:hover {
  background: #144269;
  box-shadow: 0 4px 18px #29A19C22;
}
.cookie-modal-close {
  background: none;
  color: #144269;
  font-size: 1.7rem;
  border: none;
  position: absolute;
  top: 13px; right: 19px;
  cursor: pointer;
  line-height: 1;
}

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.cta-button, .cookie-banner button, .mobile-menu-toggle, .main-nav a, .card, .feature-item, .service-card, .service-item, .team-member, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.17s, background 0.18s, color 0.14s, filter 0.19s;
}

/* ======= HIDE DESKTOP NAV ON MOBILE, SHOW MOBILE NAV ======= */
@media (max-width: 970px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 969px) {
  .mobile-menu { display: none !important; }
}

/* ========== ACCESSIBILITY ========== */
::selection {
  background: #29A19C33;
}
:focus {
  outline: 2px solid #29A19C;
}

/* ======= MISCELLANEOUS CLASSES ======= */
.tagline-highlight {
  background: #29A19C14;
  color: #144269;
  font-size: 1.13rem;
  border-left: 5px solid #29A19C;
  padding: 12px 20px;
  border-radius: 12px;
  font-style: italic;
  box-shadow: 0 2px 10px #29A19C08;
  margin: 14px 0 8px 0;
}

.history-timeline ul, .credentials ul, .challenge-solution ul, .community-impact ul, .project-statistics ul {
  margin: 0 0 14px 24px;
}
.history-timeline li,
.credentials li,
.challenge-solution li,
.community-impact li,
.project-statistics li {
  margin-bottom: 9px;
  color: #23324b;
}

/***********************************************************/
/*  NO GRID PROPERTIES USED. 100% FLEXBOX. ALL MARGINS,    */
/*  PADDINGS, GAPS, AND FLEX PROPERTIES VERIFIED.          */
/***********************************************************/
