:root {
  --primary-color: #1196ff;
  --secondary-color: #11d67f;
  --text-color: #242931;
  --bg-color: #ffffff;
  --light-bg: #f6f9ff;
  --border-color: #e2e8f0;
  --shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --spacing: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn--primary {
  background-color: var(--secondary-color);
  color: white;
}

.btn--primary:hover {
  background-color: #0ea066;
  transform: translateY(-2px);
}

.btn--large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn--full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(17, 150, 255, 0.95);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-img {
  width: 40px;
  height: 40px;
}

.nav__logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--secondary-color);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__toggle,
.nav__close {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav__toggle i {
  color: #111 !important;
  font-size: 2.2rem !important;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
}

.hero__slider {
  height: 100%;
}

.hero__slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 150, 255, 0.8) 0%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: white;
}

.hero__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.swiper-pagination-bullet {
  background-color: white;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: var(--secondary-color);
  opacity: 1;
}

/* Despre Section */
.despre__container {
  display: grid;
  grid-template-columns: 1fr 40%;
  gap: 4rem;
  align-items: center;
}

.despre__description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.despre__features {
  display: grid;
  gap: 1rem;
}

.despre__feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.despre__feature i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.despre__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

/* Servicii Section */
.servicii {
  background-color: var(--light-bg);
}

.servicii__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.servicii__card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.servicii__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.servicii__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--light-bg);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.servicii__icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.servicii__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.servicii__description {
  margin-bottom: 1.5rem;
  color: #666;
}

.servicii__features {
  list-style: none;
  text-align: left;
}

.servicii__features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.servicii__features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* Portofoliu Section */
.portofoliu__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portofoliu__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.portofoliu__item:hover {
  transform: translateY(-4px);
}

.portofoliu__item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.portofoliu__item:hover img {
  transform: scale(1.05);
}

.portofoliu__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.portofoliu__item:hover .portofoliu__overlay {
  transform: translateY(0);
}

/* Testimoniale Section */
.testimoniale {
  background-color: var(--light-bg);
}

.testimoniale__card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  margin: 0 1rem;
}

.testimoniale__avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
}

.testimoniale__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimoniale__rating {
  color: #ffc107;
  margin-bottom: 1rem;
}

.testimoniale__text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #666;
}

.testimoniale__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimoniale__location {
  color: #999;
  font-size: 0.9rem;
}

/* Beneficii Section */
.beneficii {
  background-color: var(--primary-color);
  color: white;
}

.beneficii__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.beneficii__card {
  text-align: center;
  padding: 2rem;
}

.beneficii__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.beneficii__icon i {
  font-size: 2rem;
  color: white;
}

.beneficii__number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.beneficii__text {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* FAQ Section */
.faq__container {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq__question {
  padding: 1.5rem;
  background-color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq__question:hover {
  background-color: var(--light-bg);
}

.faq__question h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq__icon {
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 1.5rem;
  background-color: var(--light-bg);
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq__item.active .faq__answer {
  max-height: 200px;
  padding: 1.5rem;
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.newsletter__container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
}

.newsletter__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter__description {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter__form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 1rem;
}

.newsletter__input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.newsletter__checkbox {
  font-size: 0.9rem;
  opacity: 0.9;
}

.newsletter__checkbox input {
  margin-right: 0.5rem;
}

.newsletter__checkbox a {
  color: white;
  text-decoration: underline;
}

/* Contact Section */
.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__map {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.contact__info {
  margin-bottom: 2rem;
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__info-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.contact__info-item h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact__form-group {
  margin-bottom: 1.5rem;
}

.contact__input,
.contact__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.contact__input:focus,
.contact__textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact__checkbox {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.contact__checkbox input {
  margin-right: 0.5rem;
}

.contact__checkbox a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact__checkbox a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: var(--text-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer__logo img {
  width: 40px;
  height: 40px;
}

.footer__logo span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.footer__description {
  opacity: 0.8;
  line-height: 1.8;
}

.footer__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer__links a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
}

/* Legal Pages */
.legal__container {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 100px;
}

.legal__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.legal__updated {
  color: #666;
  margin-bottom: 2rem;
}

.legal__content h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--primary-color);
}

.legal__content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal__content ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.legal__content li {
  margin-bottom: 0.5rem;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--secondary-color);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  z-index: 2000;
  transform: translateX(100%);
  transition: var(--transition);
}

.toast.show {
  transform: translateX(0);
}

.toast.error {
  background-color: #dc3545;
}

/* ScrollTop Button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Responsive Design */
@media screen and (max-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

@media screen and (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .despre__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact__container {
    grid-template-columns: 1fr;
  }
  
  .servicii__container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(36, 41, 49, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
  }
  
  .nav__menu.show {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav__link {
    font-size: 1.2rem;
  }
  
  .nav__close {
    display: block;
    position: absolute;
    top: 2rem;
    right: 2rem;
  }
  
  .nav__toggle {
    display: block;
    z-index: 1100;
    position: absolute;
    top: 2rem;
    right: 2rem;
  }
  .nav__toggle {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1100;
    background: none;
    border: none;
  }
  .nav__toggle .bar {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #111;
    border-radius: 2px;
    transition: all 0.3s;
  }
  .nav__toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 7px);
  }
  .nav__toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(11px, -11px);
  }

  .nav__cta {
    display: none;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .hero__subtitle {
    font-size: 1rem;
  }
  
  .section__title {
    font-size: 2rem;
  }
  
  .servicii__container {
    grid-template-columns: 1fr;
  }
  
  .portofoliu__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .newsletter__form {
    flex-direction: column;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .beneficii__container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .hero__title {
    font-size: 1.8rem;
  }
  
  .section__title {
    font-size: 1.8rem;
  }
  
  .servicii__card,
  .testimoniale__card {
    padding: 1.5rem;
  }
  
  .newsletter__container {
    padding: 2rem;
  }
  
  .portofoliu__container {
    grid-template-columns: 1fr;
  }
  
  .hero__content {
    padding: 0 1rem;
  }
  
  .newsletter__form {
    flex-direction: column;
  }
  
  .newsletter__input {
    margin-bottom: 1rem;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: -40px;
  right: -40px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2001;
}

/* Utility Classes */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-4px);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}