/* ===================================================
   RESET & GLOBAL
=================================================== */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:#fff;
  color:#13231b;
  line-height:1.6;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:92%;
  max-width:1180px;
  margin:auto;
}

/* ===================================================
   HEADER & NAVBAR
=================================================== */

.public-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(10px);
  box-shadow:0 8px 25px rgba(15,61,46,.08);
}

.navbar{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#0f3d2e;
  font-weight:900;
  text-decoration:none;
}

.brand-logo{
  background:linear-gradient(135deg,#0f3d2e,#1f7a4d);
  color:#9be15d;
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
}

nav ul{
  display:flex;
  align-items:center;
  gap:24px;
  list-style:none;
}

nav ul li a{
  color:#0f3d2e;
  text-decoration:none;
  font-weight:800;
  transition:.3s;
}

nav ul li a:hover{
  color:#1f7a4d;
}

nav ul li:last-child a{
  background:#0f3d2e;
  color:white;
  padding:10px 18px;
  border-radius:999px;
}

.menu-toggle{
  display:none;
}

/* ===================================================
   HERO SECTION
=================================================== */

.hero-section{
  min-height:86vh;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at top right, rgba(155,225,93,.45), transparent 35%),
    linear-gradient(135deg,#eefbe6,#ffffff);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:50px;
  align-items:center;
}

.hero-section h1{
  font-size:52px;
  line-height:1.1;
  color:#0f3d2e;
  margin-bottom:18px;
}

.hero-section p{
  color:#5f6f65;
  font-size:18px;
  line-height:1.7;
}

.badge{
  display:inline-block;
  background:#dff8d2;
  color:#0f3d2e;
  padding:9px 14px;
  border-radius:999px;
  font-weight:800;
  margin-bottom:18px;
}

.hero-actions{
  display:flex;
  gap:12px;
  margin-top:26px;
  flex-wrap:wrap;
}

/* ===================================================
   BUTTON
=================================================== */

.btn{
  display:inline-block;
  padding:12px 20px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
}

.btn-primary{
  background:#0f3d2e;
  color:white;
}

.btn-secondary{
  border:2px solid #0f3d2e;
  color:#0f3d2e;
}

/* ===================================================
   HERO CARD
=================================================== */

.hero-card{
  position:relative;
  min-height:420px;
  display:grid;
  place-items:center;
}

.school-illustration{
  width:260px;
  height:260px;
  border-radius:48px;
  background:linear-gradient(135deg,#0f3d2e,#1f7a4d);
  color:#9be15d;
  display:grid;
  place-items:center;
  font-size:80px;
  font-weight:900;
  box-shadow:0 25px 60px rgba(15,61,46,.25);
}

.floating-card{
  position:absolute;
  background:white;
  color:#0f3d2e;
  padding:14px 18px;
  border-radius:18px;
  font-weight:800;
  box-shadow:0 15px 35px rgba(15,61,46,.15);
}

.card-one{
  top:45px;
  left:30px;
}

.card-two{
  right:10px;
  top:150px;
}

.card-three{
  left:70px;
  bottom:55px;
}

/* ===================================================
   SECTION
=================================================== */

.section{
  padding:90px 0;
}

.light-section{
  background:#f7fff2;
}

.split-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:46px;
  align-items:center;
}

.section-title{
  text-align:center;
  max-width:700px;
  margin:0 auto 42px;
}

.section-title h2,
.split-grid h2{
  color:#0f3d2e;
  font-size:38px;
  margin-top:10px;
}

/* ===================================================
   GRID
=================================================== */

.feature-grid,
.news-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

/* ===================================================
   CARD
=================================================== */

.feature-card,
.news-card,
.empty-card{
  background:white;
  padding:24px;
  border-radius:26px;
  box-shadow:0 14px 35px rgba(15,61,46,.08);
}

/* ===================================================
   QUICK INFO
=================================================== */

.quick-info{
  background:white;
  padding:0 0 40px;
  position:relative;
  z-index:5;
}

.quick-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:-35px;
}

.quick-grid div{
  background:white;
  padding:18px 22px;
  border-radius:22px;
  box-shadow:0 14px 35px rgba(15,61,46,.12);
  font-weight:800;
  color:#0f3d2e;
  display:flex;
  align-items:center;
  gap:10px;
}

/* ===================================================
   CTA
=================================================== */

.cta-section{
  background:white;
  padding:90px 0;
}

.cta-box{
  background:linear-gradient(135deg,#0f3d2e,#1f7a4d);
  color:white;
  text-align:center;
  padding:60px 30px;
  border-radius:36px;
  box-shadow:0 24px 60px rgba(15,61,46,.22);
}

.cta-box h2{
  color:white;
  font-size:38px;
  margin-bottom:14px;
}

.cta-box p{
  color:rgba(255,255,255,.88);
  font-size:17px;
  margin-bottom:28px;
}

.cta-box .btn-secondary{
  background:white;
  color:#0f3d2e;
  border:none;
}

/* ===================================================
   LOGIN PAGE
=================================================== */

.login-section{
  min-height:calc(100vh - 78px);
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at top right, rgba(155,225,93,.35), transparent 35%),
    linear-gradient(135deg,#eefbe6,#ffffff);
  padding:80px 0;
}

.login-grid{
  display:grid;
  grid-template-columns:1fr 430px;
  gap:55px;
  align-items:center;
}

.login-info{
  max-width:620px;
}

.login-info h2{
  color:#0f3d2e;
  font-size:42px;
  margin:22px 0 14px;
}

.login-info p{
  color:#5f6f65;
  font-size:17px;
  line-height:1.7;
  margin-bottom:18px;
}

.login-card{
  background:#fff;
  padding:36px;
  border-radius:32px;
  box-shadow:0 24px 60px rgba(15,61,46,.16);
}

.login-card h3{
  color:#0f3d2e;
  font-size:26px;
  margin-bottom:24px;
}

.login-card input{
  width:100%;
  padding:15px 17px;
  margin-bottom:15px;
  border:1px solid #d8e7dc;
  border-radius:16px;
  font-size:15px;
  outline:none;
}

.login-card input:focus{
  border-color:#1f7a4d;
  box-shadow:0 0 0 4px rgba(31,122,77,.12);
}

.login-card button{
  width:100%;
  border:none;
  cursor:pointer;
  margin-top:4px;
}

/* ===================================================
   NEWS PAGE
=================================================== */

.news-hero{
  padding:120px 0 80px;
  background:
    radial-gradient(circle at top right, rgba(155,225,93,.30), transparent 30%),
    linear-gradient(135deg,#eefbe6,#ffffff);
  position:relative;
  overflow:hidden;
}

.news-hero::before{
  content:'';
  position:absolute;
  width:400px;
  height:400px;
  border-radius:50%;
  background:rgba(31,122,77,.08);
  right:-120px;
  top:-120px;
}

.news-hero-content{
  position:relative;
  z-index:2;
  text-align:center;
}

.news-badge{
  display:inline-block;
  background:#dff8d2;
  color:#0f3d2e;
  padding:10px 18px;
  border-radius:999px;
  font-weight:800;
  margin-bottom:20px;
}

.news-hero h1{
  font-size:56px;
  color:#0f3d2e;
  margin-bottom:18px;
  line-height:1.1;
}

.news-hero p{
  max-width:700px;
  margin:auto;
  color:#607068;
  font-size:18px;
  line-height:1.8;
}

.news-section{
  padding:90px 0;
  background:#f7fff2;
}

.news-layout{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:35px;
}

.news-detail-card{
  background:white;
  border-radius:32px;
  overflow:hidden;
  box-shadow:0 20px 45px rgba(15,61,46,.08);
}

.news-thumbnail{
  position:relative;
  overflow:hidden;
}

.news-thumbnail img{
  width:100%;
  height:420px;
  object-fit:cover;
  transition:.5s ease;
}

.news-detail-card:hover .news-thumbnail img{
  transform:scale(1.05);
}

.news-category{
  position:absolute;
  top:20px;
  left:20px;
  background:#0f3d2e;
  color:white;
  padding:10px 16px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
}

.news-content{
  padding:40px;
}

.news-meta{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-bottom:20px;
  color:#607068;
  font-size:14px;
}

.news-content h2{
  font-size:38px;
  line-height:1.3;
  color:#0f3d2e;
  margin-bottom:22px;
}

.news-content p{
  color:#607068;
  line-height:1.9;
  margin-bottom:18px;
  font-size:17px;
}

.news-sidebar{
  display:flex;
  flex-direction:column;
  gap:25px;
}

.sidebar-card{
  background:white;
  border-radius:28px;
  padding:28px;
  box-shadow:0 15px 35px rgba(15,61,46,.07);
}

.sidebar-title{
  font-size:22px;
  color:#0f3d2e;
  margin-bottom:20px;
}

.related-news{
  display:flex;
  gap:15px;
  margin-bottom:20px;
  transition:.3s ease;
}

.related-news:hover{
  transform:translateX(6px);
}

.related-news img{
  width:90px;
  height:90px;
  border-radius:18px;
  object-fit:cover;
}

.related-news-content h4{
  font-size:15px;
  color:#0f3d2e;
  margin-bottom:8px;
  line-height:1.5;
}

.related-news-content span{
  color:#607068;
  font-size:13px;
}

.share-buttons{
  display:flex;
  gap:12px;
  margin-top:25px;
}

.share-buttons a{
  width:48px;
  height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  text-decoration:none;
  background:#f2f7f3;
  color:#0f3d2e;
  transition:.3s ease;
}

.share-buttons a:hover{
  background:#0f3d2e;
  color:white;
  transform:translateY(-5px);
}

.back-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:30px;
  text-decoration:none;
  color:#0f3d2e;
  font-weight:700;
  transition:.3s ease;
}

.back-btn:hover{
  transform:translateX(-5px);
}

/* ===================================================
   FOOTER
=================================================== */

footer{
  background:#0f3d2e;
  color:white;
  text-align:center;
  padding:28px 0;
  margin-top:0;
}

/* ===================================================
   RESPONSIVE
=================================================== */

@media(max-width:950px){

  .hero-grid,
  .split-grid,
  .news-layout,
  .login-grid{
    grid-template-columns:1fr;
  }

  .feature-grid,
  .news-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .gallery-grid{
    grid-template-columns:1fr 1fr;
  }

  .quick-grid{
    grid-template-columns:1fr;
    margin-top:0;
  }

  .news-hero h1{
    font-size:42px;
  }

  .news-content{
    padding:28px;
  }

  .news-content h2{
    font-size:30px;
  }

}

@media(max-width:650px){

  .navbar{
    flex-direction:column;
    height:auto;
    padding:20px 0;
    gap:20px;
  }

  nav ul{
    flex-wrap:wrap;
    justify-content:center;
  }

  .hero-section h1,
  .news-hero h1{
    font-size:34px;
  }

  .feature-grid,
  .news-grid,
  .gallery-grid{
    grid-template-columns:1fr;
  }

  .news-thumbnail img{
    height:260px;
  }

  .news-content{
    padding:25px;
  }

  .news-content h2{
    font-size:24px;
  }

  .news-content p{
    font-size:15px;
  }

}