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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:#0f2027;
  color:white;
  overflow-x:hidden;
}

/* NAVBAR */
.nav{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  padding:18px 60px;
  display:flex;
  justify-content:space-between;
  align-items:center;

  background:rgba(0,0,0,0.35);
  backdrop-filter:blur(12px);

  z-index:1000;
}

.logo img{
  height:48px;
}

.nav nav{
  display:flex;
  gap:30px;
}

.nav nav a{
  color:white;
  text-decoration:none;
  font-size:15px;
  font-weight:500;
  position:relative;
}

.nav nav a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-6px;
  width:0%;
  height:2px;
  background:#2bb3b1;
  transition:0.3s;
}

.nav nav a:hover::after{
  width:100%;
}

/* HERO */
.case-hero-section{
  position:relative;
  height:55vh;

  background:
  linear-gradient(rgba(15,32,39,0.7),rgba(15,32,39,0.8)),
  url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=1600');

  background-size:cover;
  background-position:center;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  padding:120px 20px 60px;
}

.hero-content{
  max-width:700px;
}

.hero-content h1{
  font-size:56px;
  margin-bottom:18px;
}

.hero-content p{
  color:#d0d0d0;
  font-size:18px;
  line-height:1.7;
}

/* PAGE */
.case-page{
  padding:80px 7%;
}

/* GRID */
.case-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:35px;
}

/* CARD */
.case-card{
  background:#17252e;
  border-radius:18px;
  overflow:hidden;

  border:1px solid rgba(255,255,255,0.05);

  display:flex;
  flex-direction:column;

  height:100%;
  min-height:560px;

  transition:0.35s ease;
}

.case-card:hover{
  transform:translateY(-5px);

  box-shadow:
  0 12px 35px rgba(0,0,0,0.28);
}

/* IMAGE */
.case-card img{
  width:100%;
  height:230px;
  object-fit:cover;
  display:block;
}

/* CONTENT */
.case-content{
  padding:25px;

  display:flex;
  flex-direction:column;

  flex:1;
}

.stats{
  display:inline-block;

  background:#2bb3b1;
  color:white;

  padding:6px 12px;

  border-radius:30px;

  font-size:12px;
  font-weight:600;

  margin-bottom:15px;
}

.case-content h3{
  font-size:24px;
  margin-bottom:15px;
}

.case-content p{
  color:#c9c9c9;
  line-height:1.7;

  margin-bottom:20px;

  flex-grow:1;
}

.case-meta{
  color:#8d9aa3;
  font-size:13px;
  margin-bottom:22px;
}

/* BUTTON */
.case-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  margin-top:auto;

  width:fit-content;

  padding:12px 24px;

  background:#2bb3b1;
  color:white;

  text-decoration:none;

  border-radius:10px;

  font-weight:600;

  transition:0.3s ease;
}

.case-btn:hover{
  background:#239c99;

  transform:translateY(-2px);
}

/* FOOTER */
.footer{
  background:#08151b;
  padding:40px 20px;
  text-align:center;
  margin-top:70px;
}

.footer p{
  color:#9ca7ad;
  margin-bottom:20px;
}

.social-icons{
  display:flex;
  justify-content:center;
  gap:18px;
}

.social-icons a{
  width:44px;
  height:44px;

  background:#1d2e36;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  transition:0.3s;
}

.social-icons a:hover{
  background:#2bb3b1;

  transform:translateY(-4px);
}

.social-icons img{
  width:20px;
  height:20px;
}

/* MOBILE */
@media(max-width:768px){

  .nav{
    padding:15px 20px;
  }

  .nav nav{
    gap:18px;
  }

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

  .hero-content p{
    font-size:15px;
  }

  .case-page{
    padding:60px 20px;
  }

  .case-card img{
    height:210px;
  }

}

/* MINI HERO */
.case-hero-mini{
  position:relative;

  padding:
  180px 20px
  100px;

  text-align:center;

  background:
  linear-gradient(rgba(15,32,39,0.82),
  rgba(15,32,39,0.92)),
  url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=1600');

  background-size:cover;
  background-position:center;
}

.hero-mini-content{
  max-width:850px;
  margin:auto;
}

.case-tag{
  display:inline-block;

  padding:8px 14px;

  background:#2bb3b1;

  border-radius:30px;

  font-size:12px;
  font-weight:600;

  margin-bottom:22px;
}

.hero-mini-content h1{
  font-size:52px;
  line-height:1.2;

  margin-bottom:22px;
}

.hero-mini-content p{
  color:#d1d1d1;
  font-size:18px;
  line-height:1.8;

  max-width:700px;
  margin:auto;
}

.case-meta-top{
  margin-top:28px;
  color:#97a7af;
  font-size:14px;
}

/* ARTICLE */
.case-article{
  max-width:1000px;
  margin:auto;

  padding:80px 20px;
}

/* COVER IMAGE */
.article-cover{
  width:100%;
  max-height:500px;

  object-fit:cover;

  border-radius:20px;

  margin-bottom:70px;
}

/* ARTICLE SECTIONS */
.article-section{
  margin-bottom:70px;
}

.article-section h2{
  font-size:34px;
  margin-bottom:25px;

  color:#2bb3b1;
}

.article-section p{
  color:#d5d5d5;

  line-height:2;
  font-size:17px;

  margin-bottom:25px;
}

/* LIST */
.article-section ul{
  padding-left:22px;
}

.article-section li{
  margin-bottom:16px;

  color:#d5d5d5;

  line-height:1.8;
}

/* RESULTS */
.results-box{
  background:#17252e;

  padding:45px;

  border-radius:22px;
}

.results-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

  gap:25px;
}

.result-item{
  background:#1e313b;

  padding:35px 25px;

  border-radius:18px;

  text-align:center;
}

.result-item h3{
  font-size:42px;
  color:#2bb3b1;

  margin-bottom:12px;
}

.result-item p{
  margin:0;
}

/* CTA */
.article-cta{
  text-align:center;

  margin-top:90px;
}

.article-cta h2{
  font-size:42px;
  margin-bottom:20px;
}

.article-cta p{
  color:#c9c9c9;
  margin-bottom:35px;
}

.cta-buttons{
  display:flex;
  justify-content:center;
  margin-top:30px;
}

.secondary-btn{
  background:#1d2e36;
}

/* MOBILE */
@media(max-width:768px){

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

  .article-cover{
    max-height:300px;
  }

  .article-section h2{
    font-size:28px;
  }

  .cta-buttons{
    flex-direction:column;
    align-items:center;
  }

}