:root {
    /* Font Families */
    --font-primary: "Figtree", sans-serif !important;
    --font-secondary: 'Calibri', sans-serif !important;

    /* Headings Font Sizes */
    --h1-size: 55px;
    --h2-size: 38px;
    --h3-size: 32px;
    --h4-size: 26px;
   

    /* Subheading */
    --subheading-size: 24px;
    --subheading-font-weight: 600 ;

    /* Description / Paragraphs */
    --description-size: 20px;
    --description-line-height: 24px;
    --inner-cards-description-size:18px;
    --inner-cards-description-line-height:24px;

   /* subtitles */
     
     --subtitle-size:24px;
     --subtitle-line-height:28px;

    /* Button Text */
    --button-font-size: 20px;
    --button-font-weight: 500;
    --button-line-height: 22px;


   /* Headings Font Weight */
   
    --h1-weight: 600;
    --h2-weight: 600;
    --h3-weight: 500;
    --h4-weight: 600;
   

    /* Headings line Height */

    --h1-line-height: 1.1;
    --h2-line-height: 1.2;
    --h3-line-height: 34px;
    --h4-line-height: 28px;

}


/* CONSULTING US HERO SECTION */
.events-hero-section {
  position: relative;
  width: 100%;
  height: 45vh; /* slightly shorter for balance */
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.events-hero-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

.events-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.163); /* darker overlay for better contrast */
  z-index: 1;
}

.events-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding-top: 60px;
}

.events-hero-content h1 {
  font-family: var(--font-primary);
  font-size: 42px;
  font-weight: 700;
  /* margin-bottom:30px; */
  margin:16px 0;
}



/* Buttons */
.events-hero-content .breadcrumb-btn {
  background: rgba(255, 255, 255, 0.35);
  border: none;
  color: #fff;
  padding: 8px 20px;
  font-size: 18px;
  letter-spacing: 0.5px;
  border-radius: 30px;
  backdrop-filter: blur(5px);
 transition: transform 0.3s ease ;
  font-weight: 500; 
  text-decoration: none;cursor: text;
font-family: var(--font-secondary);

}
.events-hero-content .breadcrumb-btn:hover {
 background: rgba(255, 255, 255, 0.25);
  transform: scale(1.01);
}


/* All events section css */


.filters-main-container{
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
    margin-left: 60px;
    margin-right: 60px;
    background-color: #fff;
    padding: 60px 40px;
    position: absolute;
    top: 41%;
    width: 91%;
    margin: auto;
    left: 60px;
    right: 60px;
    max-width: 1600px;
}

.filters {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30%;
}

.filter-group label {
   
    color: #1c0d45;
    font-weight: 600;
font-family: var(--font-secondary);
font-size: 18px;
line-height: 24px;
}

.filter-group select {
    padding: 12px 35px 12px 12px;
    border: 2px solid #99999970;
    border-radius: 4px;
    font-size: 20px;
    min-width: 150px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 35px 12px 12px; 
  border: 2px solid #99999970;
  border-radius: 4px;
 
font-family: var(--font-secondary);
font-size: 18px;
line-height: 24px;
  
}
input::placeholder{
    color: #1c0d45;
    font-weight: 500;
}
.input-wrapper i {
  position: absolute;
  right: 10px;  /* icon on right */
  font-size: 20px;
  color: #888;
  pointer-events: none; /* allow clicks on input */
}

.search-btn {
    background-color: #1a2b4a;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-end;
    
    width: 11%;
font-family: var(--font-secondary);
font-size: var(--button-font-size);
line-height: var(--button-line-height);
font-weight: var(--button-font-weight);
}

.filter-group select {
  width: 100%;
  /* padding: 8px 35px 8px 10px;  */
  /* appearance: none;            */
  -webkit-appearance: none;
  -moz-appearance: none;
}

.filter-group .custom-arrow {
    position: absolute;
    right: 15px;
    bottom: 11px;
    font-size: 22px;
    color: #888;
    pointer-events: none;
}


/* all events section  */


.all-events-section{
    padding: 60px;
    margin-top: 150px !important;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

.events-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

.event-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    border-radius: 8px;
    background-color: white;
}

.event-image {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    height: 380px;
}

.event-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-tag {
    display: inline-block;
    background-color: #f96e46;
    color: white;
    padding: 6px 20px;
    border-radius: 22px;
    
    margin-bottom: 15px;
    width: fit-content;
font-family: var(--font-secondary);
font-size: var(--button-font-size);
line-height: var(--button-line-height);
font-weight: var(--button-font-weight);
}

.event-title {
    font-size: 34px;
    font-weight: 600;
    color: #1c0d45;
    margin-bottom: 15px;
font-family: var(--font-primary);
line-height: 34px;

}
.events-date-location-container{
    display: flex;
    gap: 50px;
    /* margin-bottom: 20px; */
}

.event-date {
    color: #666;
    font-weight: 500;
font-family: var(--font-secondary);
font-size: 18px;
line-height: 24px;
}
.event-location{
   
    color: #666;
    font-weight: 500;
font-family: var(--font-secondary);
font-size: 18px;
line-height: 24px;
}

.event-description {
   
    color: #000;
    /* line-height: 1.6; */
font-family: var(--font-secondary);
font-size: var(--description-size);
line-height: var(--description-line-height);
}
.view-details-btn{
    color: #1c0d45;
    background-color: transparent;
    border: none;
   
    text-transform: uppercase;
font-family: var(--font-secondary);
font-size: var(--button-font-size);
line-height: var(--button-line-height);
font-weight: var(--button-font-weight);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 80px;
}

.pagination button {
    padding: 3px 12px;
    border: none;
    background-color: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 19.4px;
    font-weight: 500;
}

.pagination button:hover:not(:disabled) {
    background-color: #f0f0f0;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination button.active {
    background-color: #f96e46;
    color: white;
    border-color: #f96e46;
}

.page {
    display: none;
}

.page.active {
    display: grid;
    gap: 50px;
}

@media (max-width: 768px) {
    .event-card {
        grid-template-columns: 1fr;
    }
}


/* Past events Section Styling */
.past-events-section {
  padding: 60px;
  text-align: center;
  background: #f5f5f5;
}
.past-events-section-inner-container{
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}
.past-events-section h2 {
 
  color: #1c0d45;
 
  margin-bottom: 15px;
font-family: var(--font-primary);
font-size: var(--h2-size);
font-weight: var(--h2-weight);
line-height: var(--h2-line-height); 
}
.past-events-section .section-subtitle{
    color: #000;
    
    max-width: 600px;
    margin: 0 auto;
font-family: var(--font-secondary);
font-size: var(--description-size);
line-height: var(--description-line-height);
}
.past-events-container {
  position: relative;
  overflow: hidden;
  margin-top:20px;
}
.past-events-track {
  display: flex;
  transition: transform 0.5s ease;
  align-items: stretch;
}
.past-events-card {
  background: white;
  margin: 10px;
  flex: 0 0 calc((100% - (30px * 2)) / 3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  height: auto; 
}
.past-events-img {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 0px;
}
.past-events-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0px;
}


.past-events-body {
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.post-event-tag {
    display: inline-block;
    background-color: #f96e46;
    color: white;
    padding: 4px 15px;
    border-radius: 22px;
    font-size: 14px;
    margin-bottom: 15px;
    width: fit-content;
font-family: var(--font-secondary);
}
.past-events-body h5 {
    
    color: #1c0d45;
   
font-family: var(--font-primary);
font-size: 28px;
line-height: 34px;
font-weight:600; 
}
.past-events-body p {
 
  color: #000;
  /* margin-bottom:30px; */
  flex-grow: 1;
card description
font-family: var(--font-secondary);
font-size: 18px;
line-height: 24px; 
}

.past-events-date-location-container{
    display: flex;
    gap: 20px;
    margin-top: auto;
}

.past-events-date {
    font-size: 16px;
    color: #666;
    font-weight: 600;
font-family: var(--font-secondary);
}
.past-events-location{
    font-size: 16px;
    color: #666;
    font-weight: 600;
font-family: var(--font-secondary);
}

/* Controls + Dots */
.past-events-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px; /* bring controls closer to cards */
  gap: 15px;
}
.past-events-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid #000000;
  /* background: #fff; */
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 0 0 auto;
}
.past-events-btn:hover {
   background: #f5f5f5;
  transform: scale(1.08);
}
.past-events-dots {
 display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.past-events-dots button {
    all: unset; /* resets default browser button styles */
  display: block;
  width: 8px;
  height: 8px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.3s ease, transform 0.2s ease;
}
.past-events-dots button.active {
   background: #222;
  transform: scale(1.25);
}


/* Responsive */
@media (max-width: 992px) {
  .past-events-card { flex: 0 0 calc(50% - 20px); }
}
@media (max-width: 576px) {
  .past-events-card { flex: 0 0 100%; }
}


@media (max-width: 768px) {
.events-hero-section{
  height:65vh;
}
  .filters-main-container{
    width: 90%;
    left: 0px;
    right: 0px;
    position: absolute;
    z-index: 999;
    top: 46%;
  }
  .filter-group{
    width: 100% !important;
  }
  .search-btn{
    width: 100%;
  }
  .all-events-section {
    padding: 20px;
    margin-top: 470px !important;
}
.event-image {
  height: 260px;
}
.event-card{
gap: 20px;
}
.event-title{
  font-size: 28px;
}
.events-date-location-container{
  gap: 10px;
}
.events-date-location-container{
  margin-bottom: 0px;
}
.event-date , .event-location{
  font-size: 14px;
}
.no-events-found{
  padding:80px 0px !important ;
}
.no-events-found h3 , .no-events-found p{
  text-align: left;
}
.past-events-section{
  padding: 35px 20px;
}
.past-events-section .container-fluid{
  padding: 0px;
}
.past-events-section h2{
  text-align: left;
  font-size: 28px;
}
.past-events-section .section-subtitle{
  text-align: left;
}
.past-events-body h5{
  font-size: 22px;
}
.past-events-date-location-container {
gap: 15px;
}
.past-events-date , .past-events-location{
  font-size: 12px;
}
}

@media (min-width:768px) and (max-width:1024px) {
  .events-hero-section{
  height:70vh;
  }
.filters-main-container{
    width: 95%;
    left: 0px;
    right: 0px;
    position: absolute;
    z-index: 999;
    top: 55%;
  }
  .filter-group{
    width: 30% !important;
  }
  .search-btn{
    width:25%;
  }
  .all-events-section{
    padding:60px 30px;
  }
  .no-events-found{
    padding: 40px 0px !important;
  }
  .past-events-section{
    padding: 60px 30px;
  }
}



@media (max-width:768px) {
      .filters-main-container {
        
        top: 52%;
    }
    .filter-group label ,.input-wrapper input{
      font-size: 16px;
    }


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


.events-hero-content{
margin-top:40px;
}
}

@media (min-width:1700px) {
  .filters-main-container{
    /* top: 32%; */
  }
}

@media (max-width:768px) {
  .all-events-section{
    padding: 40px 20px;
  }
  .all-events-section .container-fluid{
    padding: 0px;
  }
  .event-title{
    font-size: 32px;
  }
  .event-description{
    font-size: 16px;
  }
  .pagination{
    margin-top: 30px;
  }
  .past-events-section{
    padding: 40px 20px;
  }
  .past-events-section h2{
    font-size: 32px;
  }
  .past-events-section .section-subtitle{
    font-size: 16px;
  }
.past-events-btn.prev .bi-arrow-left{
margin-left:-5px;
}
.past-events-btn.next .bi-arrow-right{
margin-left:-5px;
}
.past-events-btn{
  color: #000;
  font-size: 16px;
}
.events-hero-section{
  height: 320px;
}
.filters-main-container{
  position:unset;
margin:30px auto;
padding:30px 20px;
margin-bottom:0px;

}
.all-events-section{
margin-top:0px !important;
}
}




@media (min-width:1700px){

.filters-main-container{
width:78%;

}
.all-events-section{
padding:60px 40px;
}
.all-events-section .container-fluid{
padding:0px;
}
.past-events-section-inner-container{
padding:0 40px;
}
.past-events-section-inner-container .container-fluid{
padding:0px;
}


}