/* =====================================================
   VOLT NYX STYLE.CSS – Minimalist, Modern Smart Home
   ===================================================== */

/* -------------------
   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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  background: #fff;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #27373F;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: #15516B;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #16B171;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}
:focus {
  outline: 2px solid #16B171;
  outline-offset: 1px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #15516B;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.6rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; }

p {
  margin-bottom: 18px;
  color: #27373F;
}

strong, b { font-weight: 700; }

/* -------------------
   Container & Layout
---------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* -------------------
   Header & Navigation
---------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(21, 81, 107, 0.07);
  position: sticky;
  top: 0; z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #15516B;
  font-weight: 500;
  padding: 8px 4px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a.active {
  background: #F3F8FA;
  color: #16B171;
}
header img {
  height: 36px;
  width: auto;
}

.primary-cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  background: #16B171;
  border-radius: 24px;
  padding: 10px 34px;
  margin-left: 18px;
  transition: background 0.2s, box-shadow 0.25s;
  box-shadow: 0 2px 8px rgba(22, 177, 113, 0.08);
  border: none;
  display: inline-block;
}
.primary-cta:hover, .primary-cta:focus {
  background: #118450;
  box-shadow: 0 4px 18px rgba(22, 177, 113, 0.18);
}

/* Burger (Mobile) */
.mobile-menu-toggle {
  display: none;
  background: #15516B;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 30px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #16B171;
  color: #fff;
}

/* -------------------
   Mobile Nav Overlay
---------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,81,107,0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.42,.25,.75,1.35);
  z-index: 200;
  padding: 0 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 10px 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 250;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(22,177,113,0.15);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 21px;
  font-weight: 500;
  padding: 14px 0 14px 7px;
  border-radius: 6px;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 2px;
  transition: background 0.21s, color 0.18s;
  position: relative;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #16B171;
  color: #fff;
}

/* Show/hide nav on mobile/desktop */
@media (max-width: 1024px) {
  header nav, header .primary-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -------------------
   Hero Section
---------------------- */
.hero {
  min-height: 350px;
  padding: 56px 0 40px 0;
  background: #F3F8FA;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  width: 100%;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.125rem;
  margin-bottom: 24px;
}

/* -------------------
   Flex Containers & Cards
---------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(21,81,107,0.09);
  padding: 34px 30px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.23s, transform 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 230px;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(22,177,113,0.13);
  transform: translateY(-4px) scale(1.012);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  background: #F3F8FA;
  color: #27373F;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(21,81,107,0.07);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 620px;
  transition: box-shadow 0.19s, background 0.19s;
}
.testimonial-card p {
  font-size: 1.08rem;
  margin-bottom: 0;
  color: #15516B;
}
.testimonial-card span {
  color: #118450;
  font-size: 0.97rem;
  font-family: 'Montserrat',sans-serif;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 4px 32px rgba(21,81,107,0.11);
  background: #fff;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Feature-Grid styles (used for home, oferta, technologie) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  margin-bottom: 0;
  box-shadow: 0 2px 11px rgba(21,81,107,0.046);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.23s, border 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 28px rgba(22,177,113,0.11);
  border: 1.5px solid #16B17133;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}
.feature-grid h3 {
  font-family: 'Montserrat', sans-serif;
  color: #15516B;
  font-size: 1.13rem;
}

/* -------------------
   Text Sections, List, and Team
---------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}
.text-section ul, .text-section ol {
  margin-left: 20px;
}
.text-section ul li, .text-section ol li {
  color: #15516B;
  font-size: 1.03rem;
  margin-bottom: 11px;
  list-style: disc inside;
}
.text-section a {
  color: #16B171;
  font-weight: 500;
}
.text-section img {
  display: inline-block;
  vertical-align: middle;
  height: 21px;
  width: auto;
  margin-right: 8px;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 18px;
}
.team-list > div {
  background: #F3F8FA;
  border-radius: 13px;
  padding: 18px 22px;
  flex: 1 1 180px;
  min-width: 185px;
  box-shadow: 0 2px 11px rgba(21,81,107,0.04);
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 0;
}
.team-list h3 {
  margin-bottom: 0;
  font-size: 1.11rem;
  color: #15516B;
}
.team-list p {
  font-size: 1rem;
  color: #27373F;
  margin-bottom: 0;
}
.team-list span {
  color: #118450;
  font-size: 0.98rem;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 10px;
}
.expertise-tags span {
  background: #EBF8F3;
  color: #16B171;
  font-family: 'Montserrat', sans-serif;
  border-radius: 7px;
  padding: 5px 13px;
  font-size: 0.96rem;
  font-weight: 600;
}

/* -------------------
   List styles for service, blog, offers
---------------------- */
.services-list, .service-list, .blog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}
.services-list li, .service-list li, .blog-list li {
  background: #F3F8FA;
  border-radius: 10px;
  padding: 19px 18px;
  box-shadow: 0 2px 9px rgba(21,81,107,0.054);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.services-list h3, .service-list h3, .blog-list h3 {
  font-size: 1.13rem;
  color: #15516B;
  margin-bottom: 7px;
}
.services-list p, .service-list p, .blog-list p {
  font-size: 1rem;
  margin-bottom: 0;
  color: #27373F;
}
.services-list a, .service-list a, .blog-list a {
  color: #16B171;
  font-weight: 500;
  margin-top: 8px;
  font-size: 1rem;
}
.categories-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 22px;
  margin-top: 8px;
}
.categories-menu a {
  background: #F3F8FA;
  color: #15516B;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
}
.categories-menu a:hover, .categories-menu a:focus {
  background: #16B171;
  color: #fff;
}

/* -------------------
   Newsletter Section
---------------------- */
.newsletter-section {
  background: #F3F8FA;
  border-radius: 14px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 2px 18px rgba(21,81,107,0.049);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* -------------------
   Footer
---------------------- */
footer {
  background: #F3F8FA;
  color: #767F89;
  padding: 40px 0 24px 0;
  font-size: 1rem;
  border-top: 1.5px solid #E1EBF3;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}
footer img {
  height: 34px;
  width: auto;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #15516B;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 3px;
  transition: color 0.15s;
}
footer nav a:hover {
  color: #16B171;
}
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.97rem;
  color: #27373F;
}
.contact-footer img {
  height: 17px;
  width: auto;
  margin-right: 7px;
  vertical-align: middle;
  margin-bottom: 0;
  display: inline;
}

/* -------------------
   Cookie Consent Banner
---------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #15516B;
  color: #fff;
  z-index: 4000;
  box-shadow: 0 -8px 32px rgba(22,177,113,0.11);
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
  font-size: 1rem;
  transition: transform 0.33s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
}
.cookie-banner-content {
  flex: 1 1 0;
  color: #F3F8FA;
  font-size: 1rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-btn {
  background: #fff;
  color: #15516B;
  border-radius: 22px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  box-shadow: 0 2px 11px rgba(21,81,107,0.05);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
}
.cookie-btn.accept {
  background: #16B171;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #118450;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  padding: 8px 16px;
}
.cookie-btn.reject {
  background: #fff;
  color: #15516B;
  border: 1.5px solid #15516B;
  padding: 8px 13px;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%) scale(0.95);
  background: #fff;
  color: #15516B;
  border-radius: 14px;
  box-shadow: 0 8px 46px rgba(21,81,107,0.21);
  z-index: 4100;
  width: 96vw;
  max-width: 410px;
  padding: 34px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s, opacity 0.23s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 {
  color: #15516B;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.cookie-categories {
  margin-bottom: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  border-radius: 18px;
  background: #F3F8FA;
  position: relative;
  display: inline-block;
  margin-left: 8px;
  margin-right: 0;
  vertical-align: middle;
}
.cookie-switch input {
  display: none;
}
.cookie-switch span {
  position: absolute;
  top: 1.5px; left: 2px;
  width: 19px;
  height: 19px;
  background: #16B171;
  border-radius: 50%;
  transition: left 0.2s;
  z-index: 1;
}
.cookie-switch input:checked + span {
  left: 17px;
  background: #118450;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 11px;
  justify-content: flex-end;
}

/* ---------------------
   Animation/Micro interaction
------------------------ */
.primary-cta, .card, .feature-grid > div, .testimonial-card, .service-list li, .services-list li, .blog-list li, .team-list > div {
  transition: box-shadow 0.18s, background 0.16s, color 0.13s, transform 0.23s;
}

/* -------------
   Responsive 
-------------- */
@media (max-width: 1024px) {
  .feature-grid, .team-list, .content-grid {
    gap: 18px;
  }
  .container {
    max-width: 97vw;
    padding-left: 9px;
    padding-right: 9px;
  }
  .card {
    padding: 26px 16px;
  }
}
@media (max-width: 820px) {
  .content-grid, .feature-grid, .team-list {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .newsletter-section {
    padding: 28px 9px;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero {
    padding-top: 38px;
    min-height: 210px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.37rem; }
  h3 { font-size: 1.05rem; }
  .footer img { height: 27px; }
}
@media (max-width: 768px) {
  .hero {
    margin-bottom: 34px;
    padding: 28px 0 18px 0;
  }
  .section, main section {
    margin-bottom: 36px;
    padding: 22px 5px;
  }
  .feature-grid > div, .card {
    min-width: 0;
    width: 100%;
    padding: 17px 9px;
  }
  .card, .feature-grid > div {
    box-shadow: 0 2px 7px rgba(21,81,107,0.07);
  }
  .team-list > div {
    padding: 10px 6px;
  }
  .content-wrapper, .container {
    padding-left: 0;
    padding-right: 0;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
  }
  .newsletter-section { padding: 19px 0; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding: 15px 5px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.01rem; }
  .cookie-modal { padding: 18px 6px 17px 8px; }
}

/* Ensure no elements overlap */
.section, .container, .card, .feature-grid > div, .testimonial-card, .team-list > div {
  margin-bottom: 20px;
}

/* Utility Classes */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-40 { margin-top: 40px; }
.center { text-align: center; justify-content: center; align-items: center; }

/* Hide/Show helper for cookie/modal */
.hidden { display: none !important; }
.visible { display: flex !important; }
