@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  --green-light: #dff7e6;
  --green-dark: #87e415;
   /* #0f9d58; */
  --green-600: #87e415;
  --primary: #87e415;      
  /* #0f9d58; */
  --primary-dark: #78f808;
  --primary-light: #bbee81;
  --secondary: #f0f9ff;
  --accent: #87e415; 
  --body-backgound: #ffffff;/* #22c55e; */
  --font-family: "Poppins", sans-serif;
  --scroll-behavior: smooth;
  --box-sizing: border;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --border-light: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --chevron-enter-0: polygon(-25% 0%, 0% 50%, -25% 100%, -100% 100%, -75% 50%, -100% 0%);
  --chevron-enter-85: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);    
  --chevron-enter-100: polygon(100% 0%, 100% 50%, 100% 100%, 0% 100%, 0% 50%, 0% 0%);
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-line-height: 1;
}

*, *:before, *:after {
  box-sizing: var(--box-sizing);
  margin:0;
  padding:0;
}

/* ==================== FOOTER STYLES ==================== */

footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: #e5e7eb;
  padding: 3rem 1rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-light);
}

footer a {
  color: #f3f4f6;
  transition: all 0.3s ease;
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

footer h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

footer p {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.7;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: 0.75rem;
  padding-left: 0;
}

footer li:before {
  content: none;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
}

body {
    background:#f5f6f8;
    color:#111827;
}

@view-transition {
  navigation: auto;
}

::view-transition-group(page-content){
    animation-duration: 1s;
    animation-timing-function: ease;
}

::view-transition-old(page-content) {
  animation: fade-out-custome 1s;
}

::view-transition-new(page-content) {
  animation: fade-in-custome 1s;
}

main {
    view-transition-name: page-content;
}

@keyframes fade-out-custome {
  to {
    /*translate: -100vw;*/
    opacity: 0;
  }
}

@keyframes fade-in-custome {
  from {
    /*translate: 100vw;*/
    opacity: 1;
  }
}

/* Navigation links */
.nav-link {
  position: relative;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover:after {
  width: 100%;
}


body{
    background:#f5f6f8;
    color:#111827;
}

/* HERO */

.hero{
    height:650px;
    position:relative;
    background:url('https://images.unsplash.com/photo-1511578314322-379afb476865?q=80&w=1920')
    center/cover;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}

.hero-content{
    max-width:1300px;
    margin:auto;
    position:relative;
    z-index:2;
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:100%;
    padding:0 40px;
}

.hero-left{
    max-width:700px;
}

.hero-left h1{
    color:#fff;
    font-size:72px;
    line-height:1.05;
    margin-bottom:25px;
}

.hero-left p{
    color:#ddd;
    font-size:22px;
    max-width:600px;
    margin-bottom:35px;
}

.btn{
    background:#16a34a;
    color:#fff;
    border:none;
    padding:16px 32px;
    border-radius:8px;
    cursor:pointer;
    text-decoration: none;
}

.hero-card{
    width:380px;
    background:rgba(16,18,22,.95);
    border-radius:20px;
    padding:35px;
    color:#fff;
}



.tag{
    color:#22c55e;
    margin-bottom:25px;
}

.hero-card h2{
    margin-bottom:15px;
}

.hero-card a{
    color:#22c55e;
    text-decoration:none;
}

/* SECTION */

.section{
    max-width:1300px;
    margin:auto;
    padding: 80px 30px;
    overflow-x: hidden;
}

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}

.section-header h2{
    font-size:42px;
}

.green-btn{
    background:#16a34a;
    color:#fff;
    text-decoration:none;
    padding:14px 24px;
    border-radius:8px;
}

/* EVENTS */

.events{
    display:flex;
    gap:15px;
    transition: transform 0.5s ease;
    margin: 0 0px;
    padding: 15px 0;

}

.event-card{
    background:#fff;
    border-radius:16px;
    padding:10px 10px;
    position:relative;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    max-width: calc(97%/3);
    
}


.swiper {
  width: 100%;
  height: 100%;
 
}
.swiper-pagination-bullet-active {
  background: #16a34a !important; /* Green */
}


.badge{
    position:absolute;
    top:20px;
    right:20px;
    background:#16a34a;
    color:#fff;
    padding:8px 12px;
    font-size:12px;
    border-radius:50px;
}

.event-card h3{
    margin:20px 0;
    font-size:38px;
}

.event-card ul{
    list-style:none;
    margin:25px 0;
}

.event-card li{
    margin:12px 0;
}

.card-footer{
    display:flex;
    flex-direction: row;
    justify-content:space-between;
    align-items:center;
}

.card-footer > a{
    background:#16a34a;
    color:#fff; 
    border:none;
    padding:12px 18px;
    border-radius:8px;
    /* text-decoration: none; */
}
.card-footer > a:last-child {
    background: transparent;
    color: inherit;
    border: none;
    padding: 0;
    text-decoration: none;
    translate: all 0.5s;
}
.card-footer > a:last-child:hover{
    text-decoration: underline;
    color:#16a34a;
    text-underline-offset: 3px;
    
}

/* COUNTDOWN */

.countdown-wrap{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    padding:0 30px 80px;
}

.countdown-box{
    background:linear-gradient(135deg,#001d18,#072c3b);
    color:#fff;
    border-radius:18px;
    padding:40px;
}

.counter{
    display:flex;
    gap:40px;
    margin:40px 0;
}

.counter span{
    font-size:48px;
    font-weight:bold;
    display:block;
}

.meeting-box{
    background:#fff;
    border-radius:18px;
    /*padding:40px;*/
}

.meeting-box h2{
    margin-bottom:25px;
}

/* .meeting-box form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
} */

.meeting-box input,
.meeting-box textarea{
    padding:15px;
    border:1px solid #ddd;
    border-radius:8px;
}

.meeting-box textarea{
    min-height:120px;
}

.meeting-box textarea,
.meeting-box button{
    grid-column:span 2;
}

.meeting-box button{
    background:#16a34a;
    color:#fff;
    border:none;
    padding:15px;
    border-radius:8px;
}

/* GALLERY */

.gallery{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.gallery-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
}

.gallery-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.gallery-card h4{
    padding:15px 15px 5px;
}

.gallery-card p{
    padding:0 15px 15px;
}

/* NEWSLETTER */

.newsletter{
    max-width:1300px;
    margin:0 auto 60px;
    background:linear-gradient(135deg,#001d18,#072c3b);
    border-radius:20px;
    color:#fff;
    padding:40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.newsletter-left{
    display:flex;
    gap:20px;
    align-items:center;
}

.icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#16a34a;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.newsletter-right{
    display:flex;
    gap:15px;
}

.newsletter-right input{
    width:350px;
    padding:15px;
    border:none;
    border-radius:8px;
}

.newsletter-right button{
    background:#16a34a;
    color:#fff;
    border:none;
    padding:15px 30px;
    border-radius:8px;
}

@media(max-width:992px){

 
    .gallery,
    .countdown-wrap{
      display:flex;
      flex-direction: column;
    }
    
    .meeting-box h2{
    margin-bottom:15px;
    }
     .countdown-box span{
    font-size: larger;
    }
    .hero-content{
        flex-direction:column;
        justify-content:center;
        gap:30px;
    }


    .hero-left h1{
        font-size:48px;
    }
   .card-footer{
        flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.card-footer > a:last-child{
  padding: 0px 15px;
}
.event-card{
 max-width: calc(99%/2);   
}
.events{
    gap:5px;
}
    .newsletter{
        flex-direction:column;
        gap:30px;
    }
}


@media(max-width:767px){
.events{
    gap: 0px;
   }    
  .event-card{
 max-width: calc(100%/1);   
}
.card-footer{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
}

@media(max-width:400px){
.events{
    gap: 0px;
   }
   .event-card{
 max-width: calc(100%/1);   
}
   .card-footer{
    flex-direction: column;
    align-items: start; 
    gap: 10px;
}
}

