:root{
  --green:#0b5d2a;
  --green2:#17813e;
  --light:#7ed957;
  --gold:#d9c46b;
  --dark:#102417;
  --white:#ffffff;
  --bg:#f7fff8;
  --muted:#6f7c73;
  --shadow:0 20px 45px rgba(0,0,0,.08);
  --radius:24px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  color:var(--dark);
  line-height:1.6;
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
}

section{
  max-width:1280px;
  margin:auto;
  padding:95px 22px;
}

.title{
  font-size:2.6rem;
  font-weight:800;
  text-align:center;
  color:var(--green);
  margin-bottom:14px;
}

.subtitle{
  max-width:760px;
  margin:0 auto 55px;
  text-align:center;
  color:var(--muted);
}

header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(11,93,42,.92);
  backdrop-filter:blur(12px);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  overflow:visible;
}

nav{
  max-width:1280px;
  margin:auto;
  padding:18px 22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  overflow:visible;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  overflow:visible;
  flex-shrink:0;
}

.logo-badge{
  width:76px;
  height:88px;
  background:#fff;
  border-radius:999px;
  padding:2px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  box-shadow:0 4px 12px rgba(0,0,0,.18);
}

.logo-badge img{
  width:110%;
  height:110%;
  object-fit:contain;
  display:block;
}

.brand-text{
  color:white;
  font-weight:700;
  line-height:1.2;
  font-size:1rem;
}

.menu{
  display:flex;
  align-items:center;
  gap:24px;
}

.menu a{
  color:white;
  text-decoration:none;
  font-weight:500;
  position:relative;
}

.menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--light);
  transition:.3s;
}

.menu a:hover::after{
  width:100%;
}

.menu-btn{
  display:none;
  font-size:28px;
  color:white;
  cursor:pointer;
  background:none;
  border:none;
  font-family:inherit;
}

.hero{
  max-width:none;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px 20px;
  background:
    linear-gradient(rgba(11,93,42,.72),rgba(11,93,42,.55)),
    url('https://upload.wikimedia.org/wikipedia/commons/2/2a/Isipathana_College_Entrance.jpg') center/cover no-repeat;
  color:white;
}

.hero-content{
  max-width:900px;
  animation:fadeUp 1s ease;
}

.hero-logo{
  width:180px;
  height:auto;
  display:block;
  margin:0 auto 24px;
  object-fit:contain;
  background:transparent;
  padding:0;
  border-radius:0;
}

.hero h1{
  font-size:3.8rem;
  line-height:1.1;
  font-weight:800;
  margin-bottom:18px;
}

.hero p{
  font-size:1.15rem;
  max-width:760px;
  margin:auto;
  opacity:.95;
}

.hero-buttons,
.featured-buttons{
  margin-top:30px;
}

.btn{
  display:inline-block;
  padding:14px 28px;
  border-radius:50px;
  font-weight:700;
  text-decoration:none;
  transition:.3s;
  margin:8px;
}

.primary{
  background:var(--light);
  color:var(--green);
}

.primary:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.outline{
  border:2px solid white;
  color:white;
}

.outline:hover{
  background:white;
  color:var(--green);
}

.featured-event{
  margin-top:45px;
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:24px;
  align-items:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  border-radius:var(--radius);
  padding:22px;
  backdrop-filter:blur(14px);
  box-shadow:0 22px 50px rgba(0,0,0,.18);
  text-align:left;
}

.featured-image-wrap{
  overflow:hidden;
  border-radius:20px;
  background:rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
}

.featured-image-wrap img{
  width:100%;
  height:330px;
  object-fit:contain;
  padding:8px;
}

.featured-event-content h3{
  font-size:2rem;
  line-height:1.2;
  margin-bottom:12px;
}

.featured-event-content p{
  margin:0;
  font-size:1rem;
}

.days-counter{
  margin:24px 0;
  padding:24px 36px;
  display:inline-block;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  border-radius:20px;
  backdrop-filter:blur(12px);
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
  animation:softFloat 3.5s ease-in-out infinite;
}

.days-counter span{
  display:block;
  font-size:4.8rem;
  font-weight:900;
  line-height:1;
  color:white;
  letter-spacing:-2px;
  text-shadow:0 0 16px rgba(255,255,255,.25);
}

.days-counter small{
  display:block;
  margin-top:8px;
  font-size:1.25rem;
  font-weight:700;
  color:white;
  letter-spacing:1px;
  text-transform:uppercase;
  opacity:.96;
}

.event-badge{
  display:inline-block;
  padding:6px 12px;
  border-radius:30px;
  background:#eef9ef;
  color:var(--green);
  font-size:.85rem;
  font-weight:600;
  margin-bottom:14px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
}

.card{
  background:white;
  padding:28px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:.35s;
  text-align:center;
}

.card:hover{
  transform:translateY(-8px);
}

.slider{
  position:relative;
  max-width:1000px;
  margin:auto;
  overflow:hidden;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.slides{
  display:flex;
  transition:transform .6s ease;
}

.slide{
  min-width:100%;
  position:relative;
}

.slide img{
  width:100%;
  height:560px;
  object-fit:cover;
}

.caption{
  position:absolute;
  left:24px;
  bottom:24px;
  background:rgba(0,0,0,.45);
  color:white;
  padding:14px 18px;
  border-radius:14px;
  backdrop-filter:blur(8px);
  font-weight:600;
}

.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  border:none;
  border-radius:50%;
  cursor:pointer;
  background:rgba(255,255,255,.9);
  font-size:22px;
  box-shadow:var(--shadow);
  z-index:2;
}

.prev{left:16px;}
.next{right:16px;}

.dots{
  text-align:center;
  margin-top:18px;
}

.dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:#c9d0ca;
  margin:0 6px;
  cursor:pointer;
  transition:.3s;
  border:none;
}

.dot.active{
  background:var(--green);
  transform:scale(1.15);
}

.people{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:24px;
}

.person{
  background:white;
  padding:28px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  text-align:center;
  transition:.35s;
}

.person:hover{
  transform:translateY(-8px);
}

.person img{
  width:110px;
  height:110px;
  margin:auto auto 14px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid var(--light);
}

.cta{
  background:linear-gradient(135deg,var(--green),var(--green2));
  padding:55px 30px;
  border-radius:var(--radius);
  color:white;
  text-align:center;
  box-shadow:var(--shadow);
}

.cta p{
  margin:12px 0 24px;
}

.contact{
  background:white;
  padding:35px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  max-width:820px;
  margin:auto;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

label{
  display:block;
  font-weight:600;
  margin:12px 0 8px;
}

input,
textarea{
  width:100%;
  padding:14px;
  border:1px solid #d7ddd8;
  border-radius:12px;
  font-family:inherit;
  font-size:16px;
}

textarea{
  min-height:150px;
  resize:vertical;
}

button.submit{
  margin-top:18px;
  border:none;
  padding:14px 28px;
  border-radius:50px;
  background:var(--green);
  color:white;
  font-weight:700;
  cursor:pointer;
  transition:.3s;
}

button.submit:hover{
  background:var(--green2);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline:3px solid var(--light);
  outline-offset:3px;
  border-radius:6px;
}

.float-btn{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:999;
  background:var(--light);
  color:var(--green);
  text-decoration:none;
  font-weight:800;
  padding:14px 18px;
  border-radius:50px;
  box-shadow:var(--shadow);
}

footer{
  background:#071a10;
  color:white;
  text-align:center;
  padding:40px 20px;
  margin-top:60px;
}

footer p{
  opacity:.86;
  margin:6px 0;
}

.socials{
  margin-top:12px;
}

.socials a{
  color:white;
  text-decoration:none;
  margin:0 10px;
  opacity:.9;
}

.reveal{
  opacity:0;
  transform:translateY(35px);
  transition:1s;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(30px);}
  to{opacity:1;transform:translateY(0);}
}

@keyframes softFloat{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-5px);}
}

@media(max-width:900px){
  .hero h1{font-size:2.8rem;}
  .form-grid{grid-template-columns:1fr;}
  .slide img{height:360px;}
  .featured-event{grid-template-columns:1fr;text-align:center;}
  .featured-event-content p{margin:auto;}
}

@media(max-width:768px){
  .menu-btn{display:block;}

  .menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--green);
    flex-direction:column;
    padding:18px;
    display:none;
  }

  .menu.show{display:flex;}
  .logo-badge{
  width:58px;
  height:68px;
  padding:2px;
}
  .brand-text{font-size:.85rem;}
  .hero h1{font-size:2.2rem;}
  .title{font-size:2rem;}
  .slide img{height:260px;}
  .caption{left:14px;right:14px;bottom:14px;font-size:.9rem;}
  .days-counter span{font-size:3.4rem;}
  .days-counter small{font-size:1rem;}
}
/* ==========================
   TICKET BUTTON
========================== */

.ticket-nav-btn{
  background:rgba(255,255,255,.15);
  color:#fff !important;
  padding:10px 18px;
  border-radius:30px;
  font-weight:700;
  border:1px solid rgba(255,255,255,.25);
  backdrop-filter:blur(8px);
  transition:.3s;
}

.ticket-nav-btn:hover{
  background:var(--light);
  color:var(--green) !important;
  border-color:var(--light);
}

/* ==========================
   GALLERY ARCHIVE
========================== */

.gallery-year-card{
  background:white;
  border-radius:24px;
  padding:35px;
  box-shadow:var(--shadow);
  margin-bottom:50px;
  max-width:1240px;
  margin-left:auto;
  margin-right:auto;
}

.gallery-year-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
}

.gallery-year-header h3{
  color:var(--green);
  font-size:1.6rem;
  margin:0;
}

.gallery-year-header span{
  color:var(--muted);
  font-weight:600;
}

.year-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:18px;
  max-width:1200px;
  margin:0 auto;
}

.year-gallery img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:16px;
  box-shadow:var(--shadow);
  transition:all .3s ease;
  cursor:pointer;
}

.year-gallery img:hover{
  transform:translateY(-4px) scale(1.04);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
@media(max-width:768px){

  .gallery-year-card{
    padding:20px;
  }

  .gallery-year-header{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }

  .year-gallery{
    grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
    gap:10px;
  }
}
/* ==========================
   LIGHTBOX GALLERY
========================== */

.lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:99999;
  background:rgba(0,0,0,.92);
  align-items:center;
  justify-content:center;
}

.lightbox.active{
  display:flex;
}

.lightbox-content{
  max-width:90vw;
  max-height:85vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:12px;
  box-shadow:0 25px 60px rgba(0,0,0,.55);
}

.lightbox-close{
  position:absolute;
  top:20px;
  right:35px;
  color:#fff;
  font-size:42px;
  line-height:1;
  cursor:pointer;
  z-index:100000;
}

.lightbox-prev,
.lightbox-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:58px;
  height:58px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:30px;
  cursor:pointer;
  z-index:100000;
}

.lightbox-prev{
  left:25px;
}

.lightbox-next{
  right:25px;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover{
  background:rgba(255,255,255,.3);
}

@media(max-width:768px){
  .lightbox-content{
    max-width:92vw;
    max-height:78vh;
  }

  .lightbox-prev,
  .lightbox-next{
    width:44px;
    height:44px;
    font-size:24px;
  }

  .lightbox-prev{
    left:12px;
  }

  .lightbox-next{
    right:12px;
  }

  .lightbox-close{
    top:14px;
    right:20px;
    font-size:36px;
  }
}
.lightbox img{
  max-width:90vw !important;
  max-height:85vh !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
}