:root {
--negru-1: #141414;
--negru-2: #262626;
--negru-3: #666666;
--negru-4: #A6A6A6;
--negru-5: #F7F7F7;
--verde-1: #00B214;
--verde-2: #00730D;
--verde-3: #003B07;
--albastru-1: #003080;
}

html, body {
  height: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--negru-5) !important;
  color-scheme: light !important;
  --background-color: var(--negru-5);
}


@media (prefers-color-scheme: dark) {
  html, body {
    background-color: var(--negru-5) !important;
    color-scheme: light !important;
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.fullscreen-center {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin-bottom: 170px;
}

main {
  flex: 1 0 auto;
}

h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: var(--negru-5);
    margin: 0 0 16px 0;
    line-height: 1.1;
}

h2 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--negru-1);
    margin: 0 0 14px 0;
    line-height: 1.15;
}

h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--negru-1);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

h4 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--negru-1);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

h5 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--negru-1);
    margin: 0 0 6px 0;
}

h6 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--negru-5);
    margin: 0 0 4px 0;
}

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

.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    margin-left: 0;
}

nav {
    width: 100%;
    height: 80px;
    background-color: var(--albastru-1);
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

nav .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding-left: 100px;
    padding-right: 100px;
}

@media (max-width: 600px) {
  nav .wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
}

nav ul {
    list-style: none;
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--negru-5);
    font-family: 'Source Sans 3', sans-serif;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--negru-5);
    margin: 0;
}

.wrapper {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 100px;
  padding-right: 100px;
  width: 100%;  /* Remove any fixed height or large vertical margin */
}

header + .wrapper {
    margin-top: 100px;
}

.despre.noi.scurt {
    text-align: center;
    display: block;
    margin-top: 100px;
}

.află.mai.multe {
    margin-bottom: 100px;
}
/* Buttons */

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.btn.dark {
    background-color: var(--verde-2);
    color: var(--negru-5);
}

.btn.light {
    background-color: var(--verde-1);
    color: var(--negru-1);
}

/* Header */

header {
    position: relative;
    height: 100vh;
    width: 100%;;
    background: none;
}

.hero-section {
  width: 100%;
  height: 100vh;
  background-image: url('images/hero_sec.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--negru-5);
}

.hero-content {
    width: 100%;
  max-width: 1240px;      /* or whatever width you want */
  margin: 0 auto;         /* centers the content */
  padding: 100px 100px 0 100px; 
  box-sizing: border-box;      /* 100px left/right padding for margin effect */
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-content {
    padding: 60px 24px 0 24px;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 40px 12px 0 12px;
  }
}

.hero-content h1 {
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .hero-content h1 {
    margin-top: 40px;
  }
}

.hero-content h3 {
  margin-top: 5px;
    margin-bottom: 15px;
    color: var(--negru-5);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;      /* Center horizontally */
  text-align: center;
  color: var(--negru-5);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.1;
}

.logo .main-name {
  font-size: 25px;
  font-weight: 700;
  color: var(--negru-5);
  letter-spacing: 2px;
  margin-bottom: 2px;
  line-height: 1.1;
}

.logo .subtitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--negru-5);
  letter-spacing: 1px;
  margin-top: 0;
    line-height: 1.1;
}

.carduri.avantaje {
    display: flex;
    flex-wrap: wrap;
    gap:40px;
    align-items: stretch;
    margin-top: 40px;
    margin-bottom: 40px;
}

.carduri.avantaje .card {
  background: radial-gradient(ellipse at 60% 40%, #f7f7f7 0%, #a6a6a6 100%);
  border-radius: 16px;
  padding: 16px 24px;
  max-width: 400px;
  min-width: 300px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.carduri.avantaje .card {
  text-align: left;
  display: flex;
    flex-direction: column;
}

@media (max-width: 900px) {
  .carduri.avantaje {
    flex-direction: column;
    align-items: center;
  }
  .carduri.avantaje .card {
    width: 100%;
    max-width: 400px;
    height: auto;
    flex: none;
  }
}

@media (max-width: 1200px) {
  .wrapper {
    padding-left: 32px;
    padding-right: 32px;
  }
  .carduri.avantaje {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .carduri.avantaje {
    flex-direction: column;
    align-items: center;
  }
  .carduri.avantaje .card {
    width: 100%;
    max-width: 400px;
  }
}

.carduri.avantaje .card h3 {
  font-weight: 600;
}

.center-btn {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.secție-soluții {
  width: 100%;
  min-height: 100vh; /* or whatever height you want */
  margin-left: 0;
  background-image: url('images/solution_sec.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* not absolute! */
  z-index: auto;
}

@media (max-width: 600px) {
  .secție-soluții {
    min-height: 100vh;
    height: 100vh;
  }
}

@media (max-width: 600px) {
  .secție-soluții .wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.secție-soluții .wrapper {
  width: 100%;
  max-width: 900px;
  background: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 600px) {
  .secție-soluții .wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.secție-soluții h2,
.secție-soluții h3 {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
    color: var(--negru-5);
}

.secție-soluții .buton.soluții {
  margin-top: 15px;
  display: flex;
  justify-content: center;
}

.secție-contact {
  min-height: 300px; /* or whatever you want */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.secție-contact h2 {
  margin-bottom: 24px;
}

footer {
  height: 100px;
  flex-shrink: 0;
  background-color: var(--albastru-1);
  width: 100%;
  margin-left: 0;
  padding: 32px 0 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

footer h4,
footer h6 {
  color: var(--negru-5);
  margin: 8px 0;
}

/* Solutions page styles */
.soluții-wrapper {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 100px;
    padding-right: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.soluții-title {
  margin-bottom: 60px;
  margin-top: 140px;
  text-align: center;
}

.soluții-cards {
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  margin-bottom: 100px;
}

.soluții-card {
  width: 350px;
  height: 350px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

@media (max-width: 1100px) {
  .soluții-cards {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .soluții-cards {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .soluții-card {
    width: 90vw;
    max-width: 350px;
    height: 350px;
  }
}

.soluții-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.soluții-btn {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  min-width: 260px;
  padding: 18px 16px;
  border-radius: 16px;
  background: var(--verde-1);
  color: var(--negru-1);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  width: 80%;
  border: none;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1100px) {
  .soluții-cards {
    gap: 24px;
  }
  .soluții-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 900px) {
  .soluții-cards {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }
  .soluții-card {
    width: 90vw;
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 600px) {
  nav .wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
  nav a {
    font-size: 16px;
  }
  .logo .main-name {
    font-size: 20px;
  }
  .logo .subtitle {
    font-size: 8px;
  }
}

@media (max-width: 600px) {
  nav a {
    font-size: 16px;
  }
  .logo .main-name {
    font-size: 20px;
  }
  .logo .subtitle {
    font-size: 8px;
  }
  .hero-content h1 {
    font-size: 50px;
  }
}

@media (max-width: 600px) {
    nav ul {
        gap: 10px;
        justify-content: center;
    }
}

.documente-lista {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 120px 0 60px 0;
}

.document-card {
  width: 100%;
  border-radius: 16px;
  background: radial-gradient(ellipse at 60% 40%, #f7f7f7 0%, #a6a6a6 100%);
  padding: 32px 24px;
  font-size: 22px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 500;
  color: var(--negru-1);
  box-sizing: border-box;
  margin: 0;
  text-align: left;
}

/* Remove link styles inside document cards */
.documente-lista a.document-card {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  /* Inherit card styles */
  font-size: 22px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 500;
  box-sizing: border-box;
  text-align: left;
  transition: background 0.2s;
}

/* Optional: Add a hover effect */
.documente-lista a.document-card:hover {
  background: radial-gradient(ellipse at 60% 40%, #e0e0e0 0%, #bdbdbd 100%);
}

.electric-cards {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: flex-start;
  margin: 120px 0 60px 0;
  flex-wrap: wrap;
}
.electric-card {
  width: 350px;
  height: 350px;
  border-radius: 30px;
  background: var(--albastru-1);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.electric-card-img1 {
  background: url('images/corpuri_ilum_img.png') center center/cover no-repeat;
}
.electric-card-img2 {
  background: url('images/pan_foto_img.png') center center/cover no-repeat;
}

.electric-btn {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 2;
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  width: 80%;
}

@media (max-width: 900px) {
  .electric-cards {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .electric-card {
    width: 90vw;
    max-width: 350px;
    height: 350px;
  }
}

.anunt {
    margin: 120px 0 60px 0;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-bottom: 170px;
}

/* Add this to your style.css */

.oferta-form {
  width: 300px;
  background: var(--negru-4);
  border-radius: 12px;
  margin-top: 100px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.oferta-input {
  width: 260px;
  height: 40px;
  background: #D9D9D9;
  border: none;
  border-radius: 6px;
  margin-bottom: 20px;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--negru-2);
  font-size: 20px; /* h4 size */
  font-weight: 400;
  padding: 0 12px;
  box-sizing: border-box;
}

.oferta-input::placeholder {
  color: var(--negru-2);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.oferta-textarea {
  height: 90px;
  resize: none;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Remove bottom margin from last input */
.oferta-form .oferta-input:last-child {
  margin-bottom: 0;
}

.contact-main {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 100px;
  margin-top: 110px;
}

.contact-boxes {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.contact-box {
  width: 300px;
  height: 250px;
  background: #D9D9D9;
  border-radius: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--negru-1);
  box-sizing: border-box;
}

.contact-title {
  font-size: 32px; /* h2 */
  font-weight: 500;
  margin-bottom: 30px;
}

.contact-content {
  font-size: 24px; /* h3 */
  font-weight: 500;
  text-align: center;
}

/* Responsive: stack vertically on mobile */
@media (max-width: 900px) {
  .contact-boxes {
    flex-direction: column;
    gap: 50px;
  }
}