/*=================================================================*
  VividEnergie - tech_futuristic Responsive CSS Theme
  Brand: Modern, future-ready, sustainable & energetic for all pages
*==================================================================*/

/*-----------------------------*
  1. RESET & NORMALIZE         *
*------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background-color: #0D273B;
  color: #FFFFFF;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #F6D900;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
.subheadline {
  font-size: 1.22rem;
  color: #9ec7b2;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 8px;
}
strong, b {
  font-weight: bold;
  color: #F6D900;
}

/*----------------------------*
  2. LAYOUT & CONTAINERS      *
*-----------------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}
.text-section {
  margin-bottom: 24px;
}

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

/*-------------------------------*
  3. HEADER & NAVIGATION         *
*--------------------------------*/
header {
  background: #0D273B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(16,92,56,0.11);
}
header img {
  height: 42px;
  margin-right: 16px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: 24px;
}
header nav a {
  color: #F6D900;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 4px 12px;
  border-radius: 16px;
  position: relative;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #F6D900;
  color: #105C38;
}
.cta-btn {
  background: #127848;
  color: #F6D900;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  border-radius: 25px;
  font-size: 1.07rem;
  margin-left: 20px;
  box-shadow: 0 2px 18px 0 rgba(22,217,0,0.08);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.1s;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F6D900;
  color: #0D273B;
  box-shadow: 0 4px 22px 0 #F6D90033;
  transform: translateY(-2px) scale(1.045);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F6D900;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 16px;
}

/*--------------------*
  4. MOBILE MENU      *
*---------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0D273B;
  z-index: 250;
  overflow-y: auto;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  padding-bottom: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #F6D900;
  border: none;
  font-size: 2.5rem;
  margin-left: 24px;
  margin-bottom: 28px;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #127848;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #F6D900;
  font-size: 1.32rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 18px;
  width: 100%;
  display: block;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #127848;
  color: #F6D900;
}

/*------------------------*
  5. HERO & FEATURE GRID  *
*-------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-grid > div {
  background: #164d3a;
  border-radius: 18px;
  box-shadow: 0 4px 28px 0 rgba(18,120,72,0.08);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 270px;
  gap: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #F6D900;
  position: relative;
  transition: box-shadow 0.22s, transform 0.14s, border-color 0.18s;
}
.feature-grid > div:hover, .feature-grid > div:focus {
  box-shadow: 0 12px 36px 0 #105C384d;
  border-left: 4px solid #127848;
  transform: translateY(-4px);
}
.feature-grid img {
  height: 46px;
  width: 46px;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 10px #f6d90033) brightness(1.1);
}

/*----------------------------*
  6. SERVICE / CARD STYLES    *
*-----------------------------*/
.service-list, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card, .card {
  background: #164d3a;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(16,92,56,0.10);
  margin-bottom: 20px;
  padding: 28px 20px 22px 22px;
  min-width: 230px;
  flex: 1 1 250px;
  max-width: 290px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.13s, border 0.15s;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}
.service-card:hover, .card:hover {
  box-shadow: 0 8px 28px #12784840;
  border: 2px solid #F6D900;
  transform: scale(1.035);
}
.service-card h3,.card h3 { color: #F6D900; }
.service-card strong { color: #127848; font-size: 1.15rem; margin-top: 1em; }

/*-----------------------------*
  7. FEATURES & LISTS/ITEMS    *
*------------------------------*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-item img {
  height: 38px;
  width: 38px;
}
.text-section ul, .content-wrapper ul {
  margin-top: 12px;
  margin-bottom: 8px;
  padding-left: 0;
}
.text-section ul li,
.content-wrapper ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #dbeef0;
  font-size: 1rem;
}
.text-section ul li strong {
  color: #F6D900;
}
.text-section ul li:before,
.content-wrapper ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 12px;
  background: #F6D900;
  border-radius: 50%;
  opacity: 0.8;
}

/*-----------------------------*
  8. TESTIMONIALS & CARDS      *
*------------------------------*/
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAFBFC;
  color: #0D273B;
  border-radius: 22px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  box-shadow: 0 3px 20px #0d273b19;
  transition: box-shadow 0.19s, transform 0.15s;
  font-size: 1.07rem;
  border-left: 4px solid #F6D900;
  position: relative;
}
.testimonial-card strong {
  display: block;
  color: #127848;
  font-size: 1.03rem;
  font-weight: 700;
}
.testimonial-card p {
  color: #0D273B;
  font-size: 1.1rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px #12784833;
  transform: translateY(-2px) scale(1.025);
}

/* CRITICAL: Testimonials - dark text, white bg for contrast */

/*-----------------------------*
  9. ADDRESS BLOCKS            *
*------------------------------*/
address {
  color: #b4e5cc;
  font-style: normal;
  font-size: 1rem;
  margin-top: 8px;
  margin-bottom: 6px;
}
address a {
  color: #F6D900;
  text-decoration: underline;
  word-break: break-all;
}
address strong {
  color: #F6D900;
}

/*------------------------*
  10. FOOTER               *
*--------------------------*/
footer {
  background: #183440;
  color: #DDF3EA;
  padding: 32px 0 28px 0;
  margin-top: 60px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer img {
  height: 44px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #F6D900;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: text-decoration 0.17s, color 0.17s;
  text-decoration: underline 2px rgba(246,217,0,0.18);
  margin-bottom: 6px;
}
footer nav a:hover, footer nav a:focus {
  color: #127848;
  text-decoration: underline 2.5px #127848;
}
footer address {
  margin-top: 12px;
  font-size: 0.97rem;
}

/*-----------------------------*
  11. BANNERS & SECTIONS       *
*------------------------------*/
.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;
}

/*-----------------------------*
  12. COOKIE CONSENT BANNER    *
*------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 9000;
  background: #0D273B;
  color: #FAFBFC;
  padding: 24px 14px 18px 22px;
  box-shadow: 0 -3px 24px #0d273b3c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: fadeInUp 0.5s;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1;
  margin-right: 24px;
  min-width: 260px;
}
.cookie-banner__btns {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 16px;
  padding: 10px 26px;
  cursor: pointer;
  margin: 0;
  transition: background 0.18s, color 0.14s, box-shadow 0.16s;
}
.cookie-banner .cookie-accept {
  background: #127848;
  color: #F6D900;
  box-shadow: 0 3px 18px #12784820;
}
.cookie-banner .cookie-accept:hover {
  background: #F6D900;
  color: #127848;
}
.cookie-banner .cookie-reject {
  background: #F6D900;
  color: #0D273B;
  margin-left: 6px;
}
.cookie-banner .cookie-reject:hover {
  background: #127848;
  color: #F6D900;
}
.cookie-banner .cookie-settings {
  background: transparent;
  border: 2px solid #127848;
  color: #F6D900;
  margin-left: 5px;
}
.cookie-banner .cookie-settings:hover {
  background: #127848;
  color: #F6D900;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-60%);
  z-index: 11000;
  background: #0D273B;
  color: #F6D900;
  border-radius: 24px;
  box-shadow: 0 6px 42px #0d273b36;
  min-width: 330px;
  max-width: 95vw;
  padding: 38px 28px 30px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: fadeIn 0.28s;
}
@keyframes fadeIn {
  from { opacity:0; transform: translate(-50%,-60%) scale(0.9); }
  to { opacity:1; transform: translate(-50%,-60%) scale(1); }
}
.cookie-modal h2 {
  color: #F6D900;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category label {
  margin-left: 13px;
  font-size: 1.09rem;
  color: #FAFBFC;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 40px;
  height: 20px;
  background: #F6D900;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-modal .cookie-toggle:checked {
  background: #127848;
}
.cookie-modal .cookie-toggle:before {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0D273B;
  transition: left 0.22s, background 0.18s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 22px;
  background: #F6D900;
}
.cookie-modal .cookie-always-on {
  color: #F6D900;
  font-weight: 700;
  margin-left: 15px;
  font-size: 1rem;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  border-radius: 16px;
  padding: 9px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
}
.cookie-modal .cookie-save {
  background: #F6D900;
  color: #127848;
}
.cookie-modal .cookie-save:hover {
  background: #127848;
  color: #F6D900;
}
.cookie-modal .cookie-cancel {
  background: #127848;
  color: #F6D900;
}
.cookie-modal .cookie-cancel:hover {
  background: #F6D900;
  color: #127848;
}

/* Overlay backdrop for modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(20,55,66,0.74);
  z-index: 10990;
  animation: fadeIn 0.22s;
}

/*--------------------------*
  13. ANIMATIONS, EFFECTS   *
*---------------------------*/
a, button, .cta-btn, .service-card, .feature-grid > div, .testimonial-card {
  transition: 
    color 0.17s,
    background 0.17s,
    box-shadow 0.22s,
    border 0.18s,
    transform 0.17s;
}
.card:hover, .service-card:hover, .feature-grid > div:hover {
  box-shadow: 0 8px 36px #12784841;
  transform: translateY(-2px) scale(1.022);
}
/* Neon accent on focus/hover for "tech_futuristic" touches */
.cta-btn:focus, .cta-btn:active {
  outline: 2px solid #F6D900;
  box-shadow: 0 0 0 4px #F6D90070;
}

::-webkit-scrollbar {
  width: 9px;
  background: #164d3a;
}
::-webkit-scrollbar-thumb {
  background: #127848;
  border-radius: 4px;
}

/*--------------------------*
  14. RESPONSIVE DESIGN     *
*---------------------------*/
@media (max-width: 1120px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 980px) {
  .feature-grid > div, .service-card, .card {
    flex-basis: 45%;
    max-width: 400px;
  }
  .footer .content-wrapper {
    gap: 10px;
  }
}
@media (max-width: 850px) {
  .feature-grid, .service-list, .testimonial-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid > div, .service-card, .card {
    flex-basis: 100%;
    max-width: 98vw;
    min-width: 0;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-grid, .service-list, .testimonial-list, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  section, .section {
    padding: 32px 8px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.27rem;
    margin-bottom: 14px;
  }
  h3 { font-size: 1.07rem; margin-bottom: 9px; }
}
@media (max-width: 500px) {
  .container {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .feature-grid > div, .service-card, .card, .testimonial-card {
    padding: 18px 10px;
    min-width: 0;
    font-size: 0.97rem;
  }
  footer img {
    height: 36px;
  }
}

/*--------------------------*
  15. UTILITIES & HELPERS   *
*---------------------------*/
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.fw-bold { font-weight: 700; }

/*--------------------------*
  16. BRAND COLORS & FONTS  *
*---------------------------*/
:root {
  --primary: #127848;
  --primary-dark: #105C38;
  --secondary: #0D273B;
  --accent: #F6D900;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
  font-display: swap;
}

body, html {
  background-color: #0D273B;
  font-family: 'Roboto', Arial, sans-serif;
}

/* Accent Neon Borders for Tech Feel */
.feature-grid > div:after, .service-card:after {
  content: "";
  position: absolute;
  top: 1px; left: 1px; right: 1px; bottom: 1px;
  border-radius: 15px;
  pointer-events: none;
  box-shadow: 0 0 12px 1px #F6D90044;
  opacity: 0.45;
  z-index: 0;
}

/* Section accent bar */
.section > .container > .content-wrapper > h2, section > .container > .content-wrapper > h2, .content-wrapper > h2 {
  border-left: 8px solid #F6D900;
  padding-left: 17px;
  color: #F6D900;
  background: linear-gradient(90deg,rgba(246,217,0,0.02),rgba(18,120,72,0.045) 50%,transparent 100%);
  margin-bottom: 24px;
}

/* Special "techline" decoration under major heading */
.section > .container > .content-wrapper > h1, section > .container > .content-wrapper > h1, h1 {
  position: relative;
  margin-bottom: 24px;
}
h1:after {
  content: "";
  display: block;
  height: 5px;
  width: 66px;
  background: linear-gradient(90deg,#F6D900 50%,#127848);
  border-radius: 5px;
  margin-top: 13px;
}

/*--------------------------*
  17. FORM ELEMENTS         *
*---------------------------*/
input, textarea, select {
  padding: 9px 14px;
  border-radius: 11px;
  border: 2px solid #127848;
  background: #ecfbf5;
  color: #0D273B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  transition: border 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #F6D900;
  box-shadow: 0 0 0 2px #F6D90044;
}
label { color: #F6D900; font-weight: 500; }

/*--------------------------*
  18. PRINT SUPPORT         *
*---------------------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-backdrop { display: none !important; }
  body {color: #000;} /* Print-friendly */
}
