/* =================================================
  Bright Drift Solar 'gradient_modern' CSS
  Font: Montserrat (display), Roboto (body)
  Brand: Modern, trustworthy, eco-friendly
  CRITICAL: ONLY flexbox for all layouts (NO grid/columns)
=================================================== */

/* ============== 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;
}
html { box-sizing: border-box; }
*,*:before,*:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #F7F7F2;
  color: #205375;
}
img, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
button,
input[type="submit"] {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* ================= Font Faces =================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: linear-gradient(120deg, #F7F7F2 60%, #e7f5ef 100%);
  min-height: 100vh;
  color: #205375;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #205375;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 24px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }

p, li, a, button {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
p { margin-bottom: 20px; }

/* ====== Layout Containers & Utilities ====== */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
}

/* ========== Header & Navigation ========== */
header {
  background: #F7F7F2;
  /* subtle bottom shadow for modern look */
  box-shadow: 0 4px 20px 0 rgba(32,83,117,0.07);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 78px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  padding: 12px 6px;
  color: #205375;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #e7f5ef;
  color: #63C132;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  background: linear-gradient(90deg, #63C132 0%, #A2EC90 100%);
  color: #205375;
  border-radius: 33px;
  padding: 13px 30px;
  line-height: 1;
  margin-left: 10px;
  box-shadow: 0 3px 9px 0 rgba(99,193,50,0.09);
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}
.cta-button:hover,
.cta-button:focus {
  background: linear-gradient(90deg, #205375 0%, #63C132 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(32,83,117,.11);
}

/* =========== Hero Banner ============= */
.hero {
  background: linear-gradient(100deg, #63C132 6%, #F7F7F2 77%);
  min-height: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 320px;
}
.hero h1 {
  color: #205375;
  text-shadow: 0 2px 8px rgba(255,255,255,0.16);
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.20rem;
  color: #205375;
  margin-bottom: 28px;
}

/* =========== Features Section & Grid =========== */
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 9px 0 rgba(32,83,117,0.08);
  padding: 28px 22px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  max-width: 340px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 10px 32px 0 rgba(99,193,50,0.13);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 7px;
}
.feature-grid h3 {
  color: #205375;
  font-size: 1.20rem;
}
.feature-grid p {
  font-size: 1rem;
  color: #205375;
  margin-bottom: 0;
}

/* =========== Content Grids =========== */
.service-grid,
.location-list,
.city-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 8px 0;
  justify-content: space-between;
}
.service-grid > div,
.location-list > div,
.city-details > div {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 9px 0 rgba(32,83,117,0.08);
  padding: 26px 22px 22px 24px;
  margin-bottom: 20px;
  min-width: 222px;
  flex: 1 1 220px;
  max-width: 350px;
  position: relative;
  transition: box-shadow 0.16s;
}
.service-grid > div:hover,
.location-list > div:hover,
.city-details > div:hover {
  box-shadow: 0 10px 32px 0 rgba(32,83,117,0.13);
}

/* Project and Card Styles */
.project-card,
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(99,193,50,0.09);
  padding: 22px 20px 20px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.15s, transform 0.14s;
}
.project-card:hover,
.card:hover {
  box-shadow: 0 8px 30px 0 rgba(32,83,117,0.16);
  transform: translateY(-2px) scale(1.015);
}

/* ================== Testimonials ================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px 18px 26px;
  background: #FAFAFC;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px 0 rgba(99,193,50,0.12);
  border-left: 7px solid #63C132;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #205375;
  margin-bottom: 5px;
  font-style: italic;
}
.testimonial-card b {
  color: #205375;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #63C132;
}
.star-rating img {
  width: 24px;
  height: 24px;
}

/* =================== Footer ====================== */
footer {
  background: #205375;
  color: #fff;
  padding: 40px 0 20px 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  opacity: .93;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s, opacity 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #A2EC90;
  opacity: 1;
}
.footer-contact {
  font-size: 0.97rem;
  line-height: 1.5;
  opacity: 0.89;
}

/* ============= Card Containers (Flex Only) ============= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(32,83,117,.10);
  position: relative;
  transition: box-shadow 0.12s;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px 16px 22px;
}

/* ============= Content Flex 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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========== Button & Link Styles ============== */
button,
input[type="submit"] {
  border: none;
  background: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.23s, color 0.23s, box-shadow 0.23s;
}
a {
  color: #205375;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #63C132;
}

/* ============= Lists and OL ============= */
ul, ol {
  margin-left: 19px;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #205375;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.6;
}

/* ================= Mobile Menu =================== */
.mobile-menu-toggle {
  display: none;
  background: #F7F7F2;
  color: #205375;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  position: absolute;
  right: 24px;
  top: 18px;
  z-index: 102;
  border: 2px solid #e7f5ef;
  align-items: center;
  justify-content: center;
  transition: background 0.19s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e7f5ef;
  box-shadow: 0 3px 12px 0 rgba(32,83,117,0.06);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 2001;
  transform: translateX(110%);
  transition: transform 0.34s cubic-bezier(.6,.14,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  box-shadow: 0 8px 48px 0 rgba(32,83,117,0.13);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 30px 4px 0;
  background: #F7F7F2;
  color: #205375;
  border-radius: 9px;
  width: 40px;
  height: 40px;
  font-size: 1.8rem;
  border: 2px solid #e7f5ef;
  transition: background 0.15s;
  z-index: 202;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #e7f5ef;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: 36px;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.20rem;
  color: #205375;
  padding: 13px 0 13px 0;
  transition: color 0.20s, background 0.21s;
  border-radius: 5px;
  width: 220px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #63C132;
}

/* ================= Cookie Consent Banner ================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  background: #205375;
  color: #fff;
  font-size: 1.02rem;
  z-index: 9000;
  box-shadow: 0 -2px 22px rgba(32,83,117,0.14);
  transition: transform 0.24s;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner strong { color: #A2EC90; }
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 16px;
  border: none;
  background: #f7f7f2;
  color: #205375;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: background 0.19s, color 0.18s, box-shadow 0.18s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #63C132;
  color: #fff;
}
.cookie-btn.accept {
  background: #63C132;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #205375;
  color: #A2EC90;
}

/* ========== Cookie Modal (Settings) ========== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9980;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,83,117, .75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  padding: 36px 24px 32px 24px;
  border-radius: 18px;
  box-shadow: 0 12px 44px rgba(32,83,117,.22);
  min-width: 320px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cookie-modal h2 {
  font-size: 1.27rem;
  color: #205375;
  margin-bottom: 22px;
}
.cookie-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  margin-bottom: 10px;
  padding: 6px 0;
}
.cookie-category input[type=checkbox] {
  accent-color: #63C132;
  width: 20px; height: 20px;
}
.cookie-category.essential {
  opacity: 0.58;
}
.cookie-modal .cookie-btn {
  margin-top: 18px;
  width: 100%;
}

/* =============== Responsive Breakpoints =============== */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 92vw;
  }
  .main-nav,
  .footer-nav {
    gap: 20px;
  }
  .feature-grid,
  .location-list, .city-details, .service-grid {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .main-nav {
    gap: 13px;
  }
  .footer-nav {
    gap: 13px;
  }
  .feature-grid,
  .location-list,
  .city-details,
  .service-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  body, html {
    font-size: 15px;
  }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }

  header .container {
    padding-left: 12px; padding-right: 10px;
    gap: 9px;
  }
  .main-nav,
  .cta-button {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }

  .hero {
    min-height: 160px;
    padding-top: 20px; padding-bottom: 27px;
  }
  .hero .container {
    min-height: 100px;
  }

  .section {
    margin-bottom: 36px;
    padding: 20px 8px;
  }
  .content-wrapper {
    padding-left: 2px; padding-right: 2px;
  }
  .footer-contact {
    font-size: 0.89rem;
  }
  .testimonial-card, .project-card, .card {
    padding: 15px 9px 12px 12px;
    border-radius: 13px;
  }
}
@media (max-width: 500px) {
  .container {
    max-width: 100vw;
    padding-left: 4vw; padding-right: 4vw;
  }
  .cta-button {
    font-size: 1rem;
    padding: 12px 15px;
  }
  .cookie-modal {
    min-width: 80vw;
    max-width: 98vw;
    padding: 18px 8px 15px 8px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 14px 7px;
    font-size: 0.89rem;
  }
}
@media (max-width: 600px) {
  .hero {
    padding-top: 10px; padding-bottom: 17px;
  }
  .hero .container {
    padding-left: 0; padding-right: 0;
  }
  .feature-grid, .service-grid, .location-list, .city-details {
    flex-direction: column;
    gap: 12px;
    max-width: 100vw;
  }
  .feature-grid > div,
  .service-grid > div,
  .location-list > div,
  .city-details > div {
    max-width: 99vw;
    min-width: 0;
    padding: 16px 7px 10px 7px;
  }
  .testimonial-card {
    padding: 12px 4px 8px 8px;
    border-radius: 10px;
  }
}

/* Text & Image Section for Responsiveness */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 19px;
    align-items: stretch;
  }
}

/* Card Container Responsiveness */
@media (max-width: 650px) {
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============ Micro-interactions & Animations ============= */
.cta-button,
button,
a {
  transition: background 0.15s, color 0.2s, box-shadow 0.17s, transform 0.14s;
}
.cta-button:active,
button:active,
a:active,
.card:active,
.project-card:active {
  transform: scale(.98);
  box-shadow: 0 3px 10px 0 rgba(99,193,50,0.14);
}

/* Accessiblity and Focus States */
:focus {
  outline: 2px dashed #63C132;
  outline-offset: 2px;
}

/* ============ Section Spacing/Alignment ============= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.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; }

/* =================== END =================== */
