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

html{
  scroll-behavior:smooth;
}

body{
  background:#081120;
  color:#e5e7eb;
  font-family:Arial, sans-serif;
  line-height:1.9;
}

/* HERO */

.hero{
  height:100vh;
  background:
  linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)),
  url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3');

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

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px;
}

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

.hero h1{
  font-size:75px;
  margin-bottom:20px;
  letter-spacing:3px;
}

.hero p{
  font-size:24px;
  opacity:0.9;
}

.hero button{
  margin-top:35px;
  padding:15px 40px;
  border:none;
  border-radius:50px;
  background:#0ea5e9;
  color:white;
  font-size:18px;
  cursor:pointer;
  transition:0.3s;
}

.hero button:hover{
  background:#0284c7;
  transform:scale(1.05);
}

/* MAIN */

.main-content{
  display:flex;
  justify-content:center;
  padding:80px 20px;
}

.content-box{
  max-width:1000px;
  width:100%;
  background:#0f172a;
  padding:50px;
  border-radius:25px;
  box-shadow:0 0 40px rgba(0,0,0,0.4);
}

/* HEADINGS */

.content-box h1{
  font-size:45px;
  margin-bottom:25px;
  color:#38bdf8;
}

.content-box h2{
  margin-top:60px;
  margin-bottom:20px;
  font-size:34px;
  color:#38bdf8;
}

.content-box h3{
  margin-top:40px;
  margin-bottom:15px;
  font-size:26px;
  color:#7dd3fc;
}

/* TEXT */

.content-box p{
  margin-bottom:25px;
  color:#d1d5db;
}

/* LISTS */

.content-box ul{
  margin-left:30px;
  margin-bottom:30px;
}

.content-box li{
  margin-bottom:10px;
}

/* QUOTES */

blockquote{
  margin:35px 0;
  padding:25px;
  background:#111827;
  border-left:5px solid #38bdf8;
  font-size:24px;
  font-style:italic;
  border-radius:10px;
}

/* FOOTER */

.footer{
  margin-top:80px;
  background:#020617;
}

.footer-top{
  display:flex;
  justify-content:space-between;
  gap:50px;
  flex-wrap:wrap;
  padding:60px 20px;
}

.footer-brand{
  max-width:400px;
}

.footer-brand h2{
  color:#38bdf8;
  margin-bottom:15px;
}

.footer-links{
  display:flex;
  flex-direction:column;
}

.footer-links h3{
  margin-bottom:20px;
}

.footer-links a{
  text-decoration:none;
  color:#d1d5db;
  margin-bottom:12px;
  transition:0.3s;
}

.footer-links a:hover{
  color:#38bdf8;
}

.footer-bottom{
  text-align:center;
  padding:20px;
  border-top:1px solid #1e293b;
  color:#94a3b8;
}

/* MOBILE */

@media(max-width:768px){

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

  .hero p{
    font-size:18px;
  }

  .content-box{
    padding:30px;
  }

  .content-box h1{
    font-size:34px;
  }

  .content-box h2{
    font-size:28px;
  }

}
/* CATEGORY SECTION */

.category-section{
  margin-top:80px;
  margin-bottom:80px;

  padding:50px;

  border-radius:30px;

  position:relative;

  overflow:hidden;

  border:2px solid rgba(255,255,255,0.08);

  box-shadow:
  0 10px 40px rgba(0,0,0,0.25);
}
/* CATEGORY THEMES */

.education-section{
  background:
  linear-gradient(
    135deg,
    #0f172a,
    #1d4ed8
  );
}

.financial-section{
  background:
  linear-gradient(
    135deg,
    #052e16,
    #15803d
  );
}

.creativity-section{
  background:
  linear-gradient(
    135deg,
    #3b0764,
    #9333ea
  );
}

.social-section{
  background:
  linear-gradient(
    135deg,
    #7c2d12,
    #ea580c
  );
}

.environment-section{
  background:
  linear-gradient(
    135deg,
    #042f2e,
    #0f766e
  );
}

.category-header h2{
  font-size:36px;

  margin-bottom:30px;

  color:white;
}

/* SLIDER */

.slider-container{
  overflow:hidden;

  position:relative;
}

.slider-track{
  position: relative;

  width: 100%;

  min-height: 100%;
}
/* CARD */


.motivation-card:hover{
  transform:translateY(-6px);
}

.motivation-card img{

  width:100%;

  height:auto;

  max-height:500px;

  object-fit:contain;

  display:block;

  background:#0f172a;
}

.card-content{

  padding:22px;

  display:flex;

  flex-direction:column;

  gap:16px;

  width:100%;
}

.card-content h3{
  color:white;

  margin-top:18px;
}

.card-content p{
  color:#cbd5e1;

  margin-top:15px;
}

/* BUTTON */

.read-more-btn{
  display:inline-block;

  margin-top:20px;

  padding:12px 18px;

  background:#0ea5e9;

  color:white;

  border-radius:10px;

  text-decoration:none;

  transition:0.3s;
}

.read-more-btn:hover{
  background:#0284c7;
}

/* CATEGORY DESCRIPTION */

.category-description{
  margin-top:35px;

  color:#d1d5db;

  line-height:1.8;
}

.category-description ul{
  margin-top:15px;
  margin-bottom:15px;
}

/* TAGS */

.category-tag{
  display:inline-block;

  padding:8px 14px;

  border-radius:50px;

  font-size:12px;

  font-weight:bold;
}

.education{
  background:#1d4ed8;
}

.financial{
  background:#15803d;
}

.creativity{
  background:#9333ea;
}

.social{
  background:#ea580c;
}

.environment{
  background:#0f766e;
}
/* TITLE + AUTHOR */

.post-top{
  display:flex;

  justify-content:space-between;

  align-items:flex-start;

  gap:15px;
}

.post-author{
  font-size:13px;

  color:#cbd5e1;

  background:rgba(255,255,255,0.08);

  padding:6px 10px;

  border-radius:50px;

  white-space:nowrap;
}
.motivation-card{

  width: 100%;

  background:#111827;

  border-radius:20px;

  overflow:hidden;

  border:1px solid #1e293b;

  display:flex;
  flex-direction:column;

  transition:
    opacity 0.5s ease,
    transform 0.5s ease;

  opacity:0;

  transform:translateY(20px);
}

@media (max-width:768px){

  .category-section{
    padding:20px;
  }

  .slider-container{
    overflow:hidden;
  }

  .motivation-card{
    width:100%;
  }

  .motivation-card img{
    width:100%;
    height:auto;
  }

  .post-top{
    flex-direction:column;
    gap:10px;
  }

  .card-content h3{
    font-size:22px;
    line-height:1.5;
  }

  .card-content p{
    font-size:15px;
    line-height:1.8;
  }

}
.agreement-modal{
  position: fixed;

  inset: 0;

  background: rgba(0,0,0,0.65);

  display: none;

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

  z-index: 9999;

  padding: 20px;
}
.agreement-box{
  position: relative;

  width: 100%;
  max-width: 500px;

  background: white;

  padding: 30px;

  border-radius: 25px 0px 25px 25px;

  box-shadow: 0 10px 40px rgba(0,0,0,0.3);

  animation: modalPop 0.4s ease;
}
.close-modal{
  position: absolute;

  top: 12px;
  right: 12px;

  border: none;

  background: crimson;

  color: white;

  width: 35px;
  height: 35px;

  border-radius: 50%;

  cursor: pointer;

  font-size: 1.1rem;
}
.agreement-links{
  display: flex;
  flex-direction: column;

  gap: 15px;

  margin-top: 25px;
}

.agreement-links a{
  text-decoration: none;

  background: #111827;

  color: white;

  padding: 14px;

  border-radius: 12px;

  text-align: center;

  font-weight: bold;
}
@keyframes modalPop{

  from{
    opacity: 0;
    transform: scale(0.8);
  }

  to{
    opacity: 1;
    transform: scale(1);
  }

}