*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Raleway", sans-serif
}

html, body{
    height: 100%;
    scroll-behavior: smooth;
    margin: 0;
    background: transparent;
}

.hero{
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("background.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.navbar{
    width: 470px;
    max-width: calc(100% - 40px);      
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding: 10px 16px;                  
    background-color: rgba(33, 104, 105, 0.2);  
    border-radius: 15px;
    position: fixed;
    backdrop-filter: blur(10px);           
}

.navbar.scrolled{
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.nav-links{
    list-style: none;
    display: flex;
    gap: 70px;
    flex-wrap: wrap;                      
    justify-content: center;
}

.nav-links a{
    text-decoration: none;
    color: #9cc5a1;
    font-size: 14px;
    font-weight: 100;
}

.menu-btn{
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: none; /* apare doar pe mobil */
}

.menu-btn span{
  display: block;
  height: 2px;
  margin: 7px 0;
  background: #9cc5a1;
  border-radius: 99px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 999;
}

.menu-drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(320px, 86vw);
  background: rgba(33, 104, 105, 0.18);
  backdrop-filter: blur(14px);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1000;
  padding: 90px 24px 24px;
  box-shadow: -20px 0 60px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.drawer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.drawer-links a{
  text-decoration: none;
  color: #9cc5a1;
  font-size: 18px;
  letter-spacing: 3px;
  font-weight: 200;
}

.drawer-links li,
.drawer-socials a{
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s ease;
}

/* când sunt "show" */
.drawer-links li.show,
.drawer-socials a.show{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

body.menu-open .menu-overlay{
  opacity: 1;
  pointer-events: auto;
}

body.menu-open .menu-drawer{
  transform: translateX(0);
}

body.menu-open .menu-btn span:nth-child(1){
  transform: translateY(9px) rotate(45deg);
}
body.menu-open .menu-btn span:nth-child(2){
  opacity: 0;
}
body.menu-open .menu-btn span:nth-child(3){
  transform: translateY(-9px) rotate(-45deg);
}

.drawer-socials{
  display: flex;
  gap: 20px;
  justify-content: center;
  padding-bottom: 20px;
}

.drawer-socials a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  color: #9cc5a1;
  background: rgba(33, 104, 105, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drawer-socials a:hover{
  transform: translateY(-3px);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.35),
    0 0 20px rgba(33, 104, 105, 0.3);
}

/* WRAPPER */
.hero-wrapper{
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    padding: 30px 0;                     
}

/* CONTENT */
.hero-content{
    width: 50%;
    display: flex;
    flex-direction: column;
    color: white;
    padding-right: 80px;
    gap: 0;
}

.hero-content img{
    width: 100%;
    max-width: 520px;                   
    height: auto;
    margin-bottom: -50px;             
    display: block;
}

.hero-content h1{
    font-size: 64px;
    font-weight: 200;
    line-height: 1;
    margin: 0;
    color: #49A078;
}

.hero-content h1:first-of-type{
    margin-bottom: 12px;                 
}

.hero-content h3{
     color: rgba(156, 197, 161, 0.5);
     font-size: 20px;
     font-weight: 100;
     letter-spacing: 6px;
     margin-top: 20px;
}

.btn{
    display: inline-block;
    width: fit-content;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #49A078;
    color: #f5f5f5;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 200;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover{
  transform: translateY(-3px);
  box-shadow:
    0 10px 25px rgba(0,0,0,0.35),
    0 0 25px rgba(33, 104, 105, 0.5);
}

.hero-reveal{
    opacity: 0;
    transform: translateY(60px);
    filter: blur(10px);
    transition:
        opacity 1.6s ease,
        transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.6s ease;
}

.hero-reveal.show{
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.section{
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-txt{
   background-color: transparent;  
}

.services-title{
    text-align: center;
    font-size: 64px;
    padding-top: 100px;
    padding-bottom: 20px;
    color: #49A078;
    font-weight: 200;
    transform: translateY(60);
    opacity: 0;
     transition:
        opacity 1.6s ease,
        transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-title.show{
    opacity: 1;
    transform: translateY(0);
}

.services-text{
    text-align: center;
    font-size: 24px;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
    color: #9cc5a1;
    font-weight: 100;
    opacity: 0;
    transform: translateY(60);
    transition:
        opacity 1.6s ease,
        transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-text.show{
    opacity: 1;
    transform: translateY(0);
}

.services{
    position: relative;
    padding: 120px 80px 60px 80px;
    background-color: transparent;
}

.services::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0; 
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(156, 197, 161, 0.3),
        transparent
    );
    transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.services.show-line::after{
    width: 85%;
}

.cards{
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 0;
    margin-top: -50px;
}

.card{
    width: 320px;
    padding: 20px 20px 30px 20px;
    border-radius: 15px;
    background: linear-gradient(
        180deg,
        #143f36 47%,
        #141414 100%
    );
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    text-align: center;
    opacity: 0;
    transform: translateY(120px);
      transition: 
        opacity 1.4s ease,
        transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.card.show{
    opacity: 1;
    transform: translateY(0);
}

.card:hover{
  transform: translateY(-8px) scale(1.04);
  box-shadow:
    0 22px 45px rgba(0,0,0,0.55),
    0 0 28px rgba(33, 104, 105, 0.30);
}


.card h3{
    color: #9cc5a1;
    font-weight: 200;
    padding-bottom: 20px;
    font-size: 24px;
}

.card-desc{
    color: rgba(245, 245, 245, 0.8);
    font-size: 16px;
    font-weight: 100;
    padding-bottom: 20px;
}

.card-tags{
    color: rgba(245, 245, 245, 0.5);
    font-size: 14px;
    font-weight: 100;
    font-style: italic;
}

.services-txt1{
    position: relative;
    padding: 50px 80px 60px 80px;
    background-color: transparent;
}

.txt1{
    color: rgba(245, 245, 245, 0.5);
    font-weight: 100;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.6s ease,
        transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);;
}

.txt1.show{
    opacity: 1;
    transform: translateY(0);
}

.process{
  padding: 50px 80px;
  background-color: transparent;
  color: white;
  text-align: center;
}

.process-title{
  font-size: 64px;
  font-weight: 200;
  color: #49A078;
  margin: 0;
}

.process-subtitle{
  margin: 10px 0 50px;
  font-size: 14px;
  letter-spacing: 6px;
  color: rgba(245,245,245,0.5);
}

.process-list{
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: center; 
}

.process-item{
  position: relative;
  width: 100%;
  max-width: 900px;      
  padding: 24px 34px;    
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(33, 104, 105, 0.1);  
}

.big-number{
  position: absolute;
  font-size: 70px;
  font-weight: 700;
  opacity: 0.05;
  pointer-events: none;
  white-space: nowrap;
}

.process-item h3{
  margin: 0;
  font-size: 22px;
  font-weight: 200;
  color: #9cc5a1;
  letter-spacing: 3px;
}

.process-item p{
  margin: 0;
  font-size: 16px;
  opacity: 0.8;
  color: rgba(245,245,245,0.5);
  letter-spacing: 3px;
}

.process-title,
.process-subtitle{
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1.6s ease,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-title.show,
.process-subtitle.show{
  opacity: 1;
  transform: translateY(0);
}

.process-item{
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 1.4s ease,
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.process-item.show{
  opacity: 1;
  transform: translateY(0);
}

.process-item:hover{
  transform: translateY(-6px);
  box-shadow:
    0 15px 40px rgba(0,0,0,0.4),
    0 0 30px rgba(33, 104, 105, 0.25);
}

.projects{
    padding: 100px 80px;
    background-color: transparent;
    text-align: center;
}

.projects-title{
  font-size: 64px;
  font-weight: 200;
  color: #49A078;
  margin: 0;
}

.projects-subtitle{
  margin: 10px 0 50px;
  font-size: 14px;
  letter-spacing: 6px;
  color: rgba(245,245,245,0.5);
}


.projects-title,
.projects-subtitle{
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1.6s ease,
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.projects-title.show,
.projects-subtitle.show{
  opacity: 1;
  transform: translateY(0);
}

.project{
  width: 100%;
  max-width: 980px;
  text-align: left;

  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 1.4s ease,
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.projects-list{
  display: flex;
  flex-direction: column;
  gap: 70px;
  align-items: center; 
}

.project.show{
  opacity: 1;
  transform: translateY(0);
}

.project-name{
  margin: 0;
  font-size: 24px;
  font-weight: 200;
  letter-spacing: 6px; 
  color: rgba(156,197,161,0.9);
}

.project-role{
  margin: 10px 0 22px;
  font-size: 14px;
  color: rgba(245,245,245,0.45);
}

.project-preview{
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.project-preview img{
  width: 100%;
  height: auto;
  display: block;
}

.project:hover .project-preview{
  transform: translateY(-5px) scale(1.03);
  box-shadow:
    0 25px 70px rgba(0,0,0,0.55),
    0 0 35px rgba(33,104,105,0.25);
}

.contact{
  padding: 100px 80px;
  background-color: #1f2421;
  color: white;
}

.contact-title{
  text-align: center;
  font-size: 64px;
  font-weight: 200;
  color: #49A078;
  margin: 0 0 90px;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-headline{
  margin: 0;
  font-size: 64px;
  font-weight: 200;
  line-height: 1.05;
  color: rgba(156, 197, 161, 0.55);
}

.contact-info{
  margin-top: 70px;
  color: rgba(156, 197, 161, 0.55);
}

.contact-phone,
.contact-email{
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 400;
}

.contact-card{
  background: rgba(33, 104, 105, 0.18);
  border-radius: 15px;
  padding: 46px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.contact-form{
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-form label span{
  display: block;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 3px;
  color: rgba(245,245,245,0.7);
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  border: none;
  outline: none;
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(245,245,245,0.45);
  color: #0f1a19;
  font-size: 16px;
}

.contact-form textarea{
  resize: none;
  min-height: 140px;
}

.contact-btn{
  margin: 10px auto 0;
  width: fit-content;
  padding: 10px 26px;
  border: none;
  border-radius: 999px;
  background: rgba(33, 104, 105, 0.35);
  color: rgba(156, 197, 161, 0.9);
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover{
  transform: translateY(-3px);
  box-shadow:
    0 10px 25px rgba(0,0,0,0.35),
    0 0 25px rgba(33, 104, 105, 0.25);
}

/* =========================
   GDPR CHECKBOX
========================= */

.checkbox{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin-top:10px;
  font-size:14px;
  line-height:1.5;
  color: rgba(245,245,245,0.65);
  font-weight:100;
}

/* ascunde checkbox default */
.checkbox input{
  appearance:none;
  width:10px;
  height:10px;
  border-radius:6px;
  border:1px solid rgba(156,197,161,0.4);
  background: rgba(33,104,105,0.15);
  cursor:pointer;
  position:relative;
  transition: all .25s ease;
}

/* hover effect */
.checkbox input:hover{
  border-color:#49A078;
  box-shadow:0 0 10px rgba(73,160,120,0.3);
}

/* checked */
.checkbox input:checked{
  background:#49A078;
  border-color:#49A078;
}

/* check icon */
.checkbox input:checked::after{
  content:"";
  position:absolute;
  left:13px;
  top:2px;
  width:5px;
  height:20px;
  border: solid #fff;
  border-width:0 2px 2px 0;
  transform: rotate(45deg);
}

/* text link */
.checkbox a{
  color:#9cc5a1;
  text-decoration:none;
  transition:.25s;
}

.checkbox a:hover{
  color:#49A078;
}

/* =========================
   LEGAL NOTE
========================= */

.legal-note{
  margin-top:8px;
  font-size:12px;
  text-align:center;
  color: rgba(245,245,245,0.45);
  font-weight:200;
  letter-spacing:.5px;
}

/* =========================
   MOBILE FIX
========================= */

@media (max-width:600px){
  .checkbox{
    font-size:13px;
  }

  .checkbox input{
    width:18px;
    height:18px;
  }
}

.socials{
    background-color: transparent;
    text-align: center;
    padding: 50px;
    position: relative;
}

.follow{
    color: #9cc5a1;
    font-weight: 200;
    font-size: 20px;
    opacity: 0;
    transform: translateY(40);
    transition: 
    opacity 1.4s ease,
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.follow.show{
    opacity: 1;
    transform: translateY(0);
}

.social-icons{
    padding-top: 10px;
}
.social-icons a{
    text-decoration: none;
      display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    text-decoration: none;
    color: rgba(156, 197, 161, 0.9);
    background: rgba(33, 104, 105, 0.18);
    font-size: 28px;
    margin: 15px;
    opacity: 0;
    transform: translateY(40px);
    transition:
    opacity 1.4s ease,
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.social-icons a:hover{
  transform: translateY(-4px);
  box-shadow:
    0 12px 28px rgba(0,0,0,0.35),
    0 0 24px rgba(33, 104, 105, 0.5);
}

.social-icons a.show{
  opacity: 0.7;
  transform: translateY(0);
}

.socials::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0; 
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(156, 197, 161, 0.3),
    transparent
  );
  transition: width 3.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.socials.show-line::after{
  width: 85%;
}


.footer{
    padding: 20px;
    background-color: #1f2421;
    align-items: center;
}

.privacy{
  font-size: 14px;
  color: #9cc5a1;
  display: flex;
  padding-bottom: 10px;                    
  justify-content: center;
  text-decoration: none;
}

.privacy:hover{
  color: #49A078;
}

.info{
  font-size: 12px;
  justify-content: center;
  display: flex;
  color:#9cc5a1;
  opacity: 50%;
  padding-bottom: 5px;
}

.info2{
  font-size: 12px;
  justify-content: center;
  display: flex;
  color: #9cc5a1;

}

.main-content{
  position: relative;
  z-index: 0;
  background-color: #1f2421;
}

.animated-bg{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  background:
    radial-gradient(900px 650px at 20% 25%, rgba(33,104,105,0.16), transparent 62%),
    radial-gradient(1000px 720px at 80% 75%, rgba(73,160,120,0.13), transparent 66%),
    radial-gradient(780px 560px at 55% 15%, rgba(156,197,161,0.09), transparent 62%);

  /* blur mai mic = mult mai performant */
  filter: blur(18px);

  /* numai transform (GPU friendly) */
  will-change: transform;
  transform: translate3d(0,0,0);

  animation: bgFloat 28s ease-in-out infinite alternate;
}

.animated-bg::after{
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(156,197,161,0.04) 50%,
    transparent 100%
  );

  will-change: transform, opacity;
  transform: translate3d(-35%,0,0);
  animation: bgShimmer 22s ease-in-out infinite;
  opacity: 0.85;
}

.cookie-mini{
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: min(320px, calc(100vw - 40px));
  padding: 14px 14px 12px;
  background: rgba(33, 104, 105, 0.2);  
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  z-index: 9999;

  /* hidden by default + smooth enter */
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  font-family: inherit;
}

.cookie-mini.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-mini p{
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: 0.2px;
  color:#f5f5f5
}

.cookie-mini a{
  color:#f5f5f5;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.9;
}

.cookie-mini-actions{
  display: flex;
  gap: 8px;
}

.cookie-mini-btn{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color:#9cc5a1;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}

.cookie-mini-btn.primary{
  background:#9cc5a1;
  color:#f5f5f5;
  border-color: transparent;
}

.cookie-mini-btn:hover{
  opacity: 0.9;
  transform: translateY(-1px);
}




/* keyframes */
@keyframes bgFloat{
  0%   { transform: translate3d(-20px, -10px, 0) scale(1); }
  50%  { transform: translate3d(25px, 15px, 0) scale(1.05); }
  100% { transform: translate3d(-10px, 25px, 0) scale(1.02); }
}

@keyframes bgShimmer{
  0%   { transform: translateX(-40%); opacity: 0.6; }
  50%  { transform: translateX(40%);  opacity: 1; }
  100% { transform: translateX(-40%); opacity: 0.6; }
}


@media (max-width: 1000px){
  .hero-content{
    width: 70%;
    padding-right: 40px;
  }

  .hero-content h1{
    font-size: 48px;
  }

  .hero-content h3{
    font-size: 18px;
    letter-spacing: 4px;
  }
}

@media (max-width: 900px){
  .services-txt1{
    padding-bottom: 20px;
  }

  .process{
    padding: 50px 20px;
  }

  .process-item{
    border-radius: 24px;
    max-width: 700px;
    padding: 22px 22px;
    gap: 20px;
    justify-content: flex-start;
  }

  .process-item p{
    margin-left: auto;
    text-align: right;
  }

  .big-number{
    font-size: 96px;
  }

  .projects{
    padding: 50px 20px;
  }

  .project{
    max-width: 600px;
  }

  .project-name{
    font-size: 22px;
    letter-spacing: 4px;
  }

  .contact{
    padding: 100px 20px;
  }

  .contact-grid{
    gap: 50px;
  }

  .contact-title{
    font-size: 54px;
    margin-bottom: 20px;
  }

  .contact-headline{
    font-size: 46px;
  }

  .contact-email{
    font-size: 22px;

  }
}

@media (max-width: 700px){
  .hero-wrapper{
    justify-content: center;
    padding: 40px 0;
  }

  .hero-content{
    width: 92%;
    padding-right: 0;
    align-items: center;
    text-align: center;
  }

  .hero-content h1{
    font-size: 36px;
  }

  .hero-content h3{
    font-size: 16px;
    letter-spacing: 3px;
  }

  .hero-content img{
    max-width: 320px;
    margin-bottom: 16px;
  }

  .contact h1{
    display: none;
  }
  
  .services-txt h2{
    font-size: 28px;
    padding: 20px;
  }
  .contact-grid{
    grid-template-columns: 1fr;
    gap: 50px;
  }

  

  /* navbar mobile */
  .navbar{
    width: auto;
    max-width: calc(100% - 24px);
    padding: 10px 14px;
    justify-content: center;
  }

  .nav-links{
    display: none;
  }

  .menu-btn{
    display: block;
  }
}