:root{
  --ecs-teal: rgb(68,149,162);
  --ecs-green: rgb(124,166,85);
  --ecs-gold: rgb(249,212,72);
  --ecs-white: #ffffff;
  --ecs-dark: #06110f;              /* deep green-black */
  --ecs-dark-2: rgba(0,0,0,0.35);
  --ecs-muted: rgba(255,255,255,0.75);
  --ecs-muted-2: rgba(255,255,255,0.60);
}

.ecs-footer{
  position: relative;
  margin-top: 60px;
  color: var(--ecs-white);
  background:
    radial-gradient(1200px 500px at 20% 20%, rgba(68,149,162,0.22), transparent 60%),
    radial-gradient(900px 450px at 80% 30%, rgba(124,166,85,0.18), transparent 60%),
    linear-gradient(180deg, #071513 0%, var(--ecs-dark) 100%);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* soft divider line like the reference */
.ecs-footer::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:70px;
  height:1px;
  background: rgba(255,255,255,0.10);
}

/* inner grid */
.ecs-footer__inner{
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.2fr 1.6fr;
  gap: 48px;
  padding: 60px 0 90px;
  align-items: start;
}

/* titles */
.ecs-footer__title{
  font-size: 1.15rem;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--ecs-white);
  position: relative;
}

.ecs-footer__title::after{
  content:"";
  display:block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ecs-gold), var(--ecs-teal));
}

/* links */
.ecs-footer__links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.ecs-footer__links a{
  color: var(--ecs-muted);
  text-decoration: none;
  transition: 0.25s ease;
}

.ecs-footer__links a:hover{
  color: var(--ecs-gold);
  transform: translateX(2px);
}

/* contact info */
.ecs-footer__info{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}

.ecs-footer__info li{
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--ecs-muted);
}

.ecs-footer__info i{
  color: var(--ecs-gold);
  width: 18px;
}

.ecs-footer__info a{
  color: var(--ecs-muted);
  text-decoration:none;
  transition: 0.25s ease;
}

.ecs-footer__info a:hover{
  color: var(--ecs-white);
}

/* address */
.ecs-footer__text{
  margin: 0;
  color: var(--ecs-muted);
  line-height: 1.7;
}

.ecs-footer__text i{
  color: var(--ecs-gold);
  margin-right: 10px;
}

/* CTA block */
.ecs-footer__cta{
  justify-self: end;
  text-align: right;
  max-width: 420px;
}

.ecs-footer__ctaTitle{
  margin: 0 0 18px;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--ecs-white);
}

/* CTA button */
.ecs-footer__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;

  background: linear-gradient(135deg, rgba(68,149,162,1), rgba(124,166,85,1));
  color: var(--ecs-white);
  border: 1px solid rgba(255,255,255,0.14);

  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
  transition: 0.25s ease;
}

.ecs-footer__btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.ecs-footer__btn i{
  color: var(--ecs-white);
}

/* socials */
.ecs-footer__socials{
  display:flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.ecs-footer__social{
  width: 44px;
  height: 44px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  text-decoration:none;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--ecs-white);
  transition: 0.25s ease;
}

.ecs-footer__social:hover{
  background: rgba(249,212,72,0.14);
  border-color: rgba(249,212,72,0.35);
  color: var(--ecs-gold);
  transform: translateY(-2px);
}

/* bottom bar */
.ecs-footer__bottom{
  padding: 18px 0;
  text-align: center;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.ecs-footer__bottom p{
  margin: 0;
  color: var(--ecs-muted-2);
  font-size: 0.95rem;
}

.ecs-footer__bottom p + p{
  margin-top: 4px;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 1100px){
  .ecs-footer__inner{
    grid-template-columns: 1fr 1fr;
  }
  .ecs-footer__cta{
    justify-self: start;
    text-align: left;
    max-width: 100%;
  }
  .ecs-footer__socials{
    justify-content: flex-start;
  }
}

@media (max-width: 650px){
  .ecs-footer__inner{
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 40px 0 80px;
  }

  .ecs-footer__cta{
    grid-column: 1 / -1;
    text-align: left;
  }

  .ecs-footer__socials{
    justify-content: flex-start;
  }
}


.ecs-footer__text a {
  color: var(--ecs-muted);
  text-decoration: none;
  transition: 0.25s ease;
}

.ecs-footer__text a:hover{
  color: var(--ecs-white);
}