*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #4891ff;
    --light-color: #c5d6ec;
    --dark-color: #152439;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    line-height: 1.2;
    background: #fff;
    color: #000;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Navbar */

.navbar{
    background: #fff;
    padding: 20px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .main-menu ul {
    display: flex;
}

.navbar ul li a {
    padding: 10px 20px;
    display: block;
    font-weight: 600;
    transition: 0.5s;
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

.navbar ul li a i {
    margin-right: 10px;
}

.navbar ul li:last-child a {
    margin-left: 10px;
}

/* Hero */

.hero .landing {
    background: url('../images/hero-bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right -10% bottom 0px;
    height: 570px;
    position: relative;
    z-index: 10;
}

.hero .hero-content {
    width: 100%;
}

.hero .hero-content .hero-subheading {
    margin-top: 40px;
}

.hero .hero-content .hero-subheading .hero-text {
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: 400;
}

.hero .hero-buttons {
    margin-top: 35px;
}

.hero .hero-content .headerimg {
    max-width: 95%;
    margin-bottom: 30px;
    margin-top: 20px;
}

.hero .hero-content .headerimg img {
    border-radius: 40px;
}

/* Gallery */

.gallery {
    padding: 5px 0 40px;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.gallery .mySlides {
  display: none;
}

/* Next & previous buttons */
.gallery .prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.gallery .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.gallery .prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.gallery .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 5px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.gallery .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.gallery .dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.gallery .active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Events + Past Events */

.events{
    padding: 10px 0 30px;
}

.events-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 27px;
}

.events .card p:nth-child(2), .past-events .card p:nth-child(2), .eventsregistrationform .card p:nth-child(2){
    margin-top: 15px;
    font-weight: bold;
    font-size: larger;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.events .card .btn, .past-events .card .btn {
    margin-top: 10px;
    text-align: center;
}

.past-events{
    padding: 10px 0 30px;
}

.past-events .hero-heading {
    padding-bottom: 10px;
}

/* Events - Gallery */

.eventgallery .galleryblock {   
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 170px 145px 165px 150px 170px;
    grid-template-areas:
    "img1  img2  img3 img4   img5"
    "img1  img7  img3 img9   img5"
    "img6  img7  img8 img9   img10"
    "img6  img12 img8 img14  img10"
    "img11 img12 img13 img14 img15";
    grid-gap: 5px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.eventgallery .galleryblock .tall-image {
    grid-row: span 2 / auto;
}

.eventgallery .galleryblock .image1{
    grid-area: img1;
}

.eventgallery .galleryblock .image2{
    grid-area: img2;
}

.eventgallery .galleryblock .image3{
    grid-area: img3;
}

.eventgallery .galleryblock .image4{
    grid-area: img4;
}

.eventgallery .galleryblock .image5{
    grid-area: img5;
}

.eventgallery .galleryblock .imag6{
    grid-area: img6;
}

.eventgallery .galleryblock .image7{
    grid-area: img7;
}

.eventgallery .galleryblock .image8{
    grid-area: img8;
}
.eventgallery .galleryblock .image9{
    grid-area: img9;
}

.eventgallery .galleryblock .image10{
    grid-area: img10;
}

.eventgallery .galleryblock .image11{
    grid-area: img11;
    align-self: end;
}

.eventgallery .galleryblock .image12{
    grid-area: img12;
    align-self: end;
}

.eventgallery .galleryblock .image13{
    grid-area: img13;
    align-self: end;
}

.eventgallery .galleryblock .image14{
    grid-area: img14;
    align-self: end;
}

.eventgallery .galleryblock .image15{
    grid-area: img15;
    align-self: end;
}

.eventgallery .galleryblock .zoom {
    transition: transform .2s; /* Animation */
  }
  
.eventgallery .galleryblock .zoom:hover {
    transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  }

.eventgallery .galleryblock .zoom-xl {
    transition: transform .2s; /* Animation */
  }
  
.eventgallery .galleryblock .zoom-xl:hover {
    transform: scale(2.2); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  }

/* Style for the grid */
.factsheet-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
    margin-bottom: 50px;
}
/* Style for each grid item */
.factsheet-grid-item {
    position: relative;
}
/* Style for the image */
.factsheet-grid-item img {
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease-in-out;
}

/* Style for the overlay */
.factsheet .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the alpha value for the overlay color */
    opacity: 0; /* Initially invisible */
    transition: opacity 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Style for the text on the overlay */
.factsheet .overlay p {
    color: white;
    font-size: 18px;
}
/* Hover effect */
.factsheet .factsheet-grid-item:hover .overlay {
    opacity: 1; /* Make overlay visible on hover */
}

/* Membership */

.membership .membership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.membership .membership-card-header {
    margin-bottom: 30px;
}

.membership ul {
    margin: 20px 0;
}

.membership li {
    margin-bottom: 15px;
}

.membership ul li i {
    margin-right: 5px;
}

.membership .membership-card-header .fa-star {
    font-size: 2rem;
}

.membership .btn {
    margin-top: 20px;
    text-align: center;
}

.membership .membership-card-price {
    padding-top: 10px;
    margin-bottom: 5px;
    border-top: 1px solid #ccc;
}

/* Event Registration */

.eventsregistrationform {
    margin-top: 20px;
    margin-bottom: 20px;
}

.eventsregistrationform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.eventsregistrationform .field {
    margin-bottom: 15px;
}

.eventsregistrationform .btn {
    margin-top: 10px;
    margin-bottom: 10px;
}

.eventsregistrationform .card {
    margin-top: 30px;
    width: 75%;
}

.eventsregistrationform .card img {
    width: 360px;
    height: auto;
    text-align: center;
}

.eventsregistrationform .italic {
    font-style: italic;
}

.eventsregistrationform .input {
    width: 400px;
    height: 30px;
    font-size: 1rem;
}

.eventsregistrationform textarea {
    width: 400px;
    height: 30px;
    font-size: 1rem;
    margin-top: 5px;
}

.eventsregistrationform input[type="file"] {
    padding-top: 10px;
}

.eventpayment {
    padding-top: 20px;
    padding-bottom: 20px;
    height: auto;
}

.eventpayment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.eventpayment h2 {
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: 520;
}

.eventpayment h4 {
    margin-top: 20px;
    font-size: 1.3rem;
    width: 70%;
}

.eventpayment a {
    line-height: 1.4;
    font-weight: 450;
    color: #000000;
}

.eventpayment p {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 0px;
    font-weight: 400;
    color: #000000;
}

.eventpayment .paymenttextbox, .membershippayment .paymenttextbox {
    background: #f9f8f8ee;
    border-radius: 25px;
    padding: 20px 15px 15px 15px;
    margin-bottom: 15px;
}

.eventpayment .btn {
    margin-top: 20px;
}

.eventpayment input {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.1rem; 
}

.eventpayment img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}

/* Membership Payment Form */

.membershipregistrationform {
    margin-top: 20px;
    margin-bottom: 20px;
}

.membershipregistrationform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.membershipregistrationform .field {
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.membershipregistrationform .btn {
    margin-top: 10px;
    margin-bottom: 10px;
}

.membershipregistrationform .card {
    position: relative;
    left: 95px;
    top: 15px;
    width: 78%;
}

.membershipregistrationform .card img {
    width: 360px;
    height: auto;
    text-align: center;
}

.membershipregistrationform .italic {
    font-style: italic;
}

.membershipregistrationform .input {
    width: 450px;
    height: 30px;
    font-size: 1rem;
}

.membershipregistrationform textarea {
    width: 450px;
    height: 30px;
    font-size: 1rem;
    margin-top: 5px;
}

.membershippayment {
    padding: 20px;
    height: auto;
}

.membershippayment:after {
    content: "";
    display: table;
    clear: both;
}

.membershippayment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.membershippayment h2 {
    margin-top: 10px;
    margin-bottom: 20px;
}

.membershippayment h4 {
    margin-top: 20px;
    font-size: 1.3rem;
    width: 70%;
}

.membershippayment a {
    line-height: 1.4;
    font-weight: 450;
    color: #000000;
}

.membershippayment p {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 35px;
    font-weight: 400;
    color: #000000;
}

.membershippayment .btn {
    margin-top: 20px;
}

.membershippayment input {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.1rem; 
}

.membershippayment img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

/* About Us */

.aboutus .aboutus-grid {
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.aboutus .aboutuscontent {
    display: flex;
    align-items: center; 
}

.aboutus .aboutus-grid img {
    height: 390px;
    width: auto;
}

/* Our Team */

.ourteam {
    margin-top: 40px;
    margin-bottom: 30px;
}

.ourteam-subheading {
    padding: 20px 190px;
}

.ourteam-grid1 {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
}

.ourteam-grid2 {
    margin-top: 0px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0px;
}

.ourteam-grid3 {
    margin: 10px 250px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.ourteam-grid4 {
    margin-top: 0px auto auto auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
}

.ourteam-grid5 {
    margin: 0px 120px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0px;
}

.ourteam .card img {
    min-width: 80px;
    height: auto;
}

.ourteam .card p:nth-child(2) {
    margin-top: 10px;
    font-weight: bold;
    font-size: larger;
    margin-bottom: 10px;
}

.ourteam .pastteamlink {
    text-align: right;
}

.ourteam .pastteamlink a {
    transition: 0.5s;
}

.ourteam .pastteamlink a:hover {
    color: var(--primary-color);
}

.ourteam .teamimg {
    margin: 30px auto;
    max-width: 90%;
}

.ourmission {
    margin-top: 40px;
    margin-bottom: 55px;
}

/* Committee Recruitment Info */

.recruitment-grid {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.recruitment-grid .textarea-a textarea {
    height: 60px;
}

.recruitment-grid .textarea-b textarea {
    height: 40px;
}

.recruitment-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.recruitment-info-grid .card {
    width: 97%;
    margin-top: 10px;
    padding-top: 10px;
}

.recruitment-grid .recruitment-info-grid ul {
    list-style-position: outside;
    list-style-type: circle;
    margin-left: 10px;
}

.recruitment-grid .recruitment-info-grid ul li {
    font-size: 15px;
    margin-bottom: 3px;
}

/* Footer */

.footer {
    padding: 40px 0;
}

.footer h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer ul li {
    line-height: 2.5;
}

.footer a {
    color: #fff;
}

.footer i {
   font-size: 1.8rem;
   margin-right: 10px; 
}

.footer img {
    margin-bottom: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    gap: 30px;
    justify-content: center;
    align-items: top;
}

.footer .card {
    margin: 20px 30px 30px 0px;
}

/* Utility Classes */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-lg {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-tiny {
    max-width: 450px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 13px 20px;
    background: #dcdee2;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
}

.btn:hover {
    opacity: 0.8;
}

.btn-primary {
    background: #4891ff;
    color: #fff;
}

.btn-dark {
    background: var(--dark-color);
    color: #fff;
}

.btn-dark {
    background: var(--dark-color);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Animated Input Forms - Events */

.form__group {
    position: relative;
    padding: 15px 0 0;
    margin-top: 10px;
    width: 350px; 
}

.form__group:nth-last-child(1) {
    margin-bottom: 30px;
}
  
.form__field {
    font-family: inherit;
    width: 100%;
    border: 0;
    border-bottom: 2px solid #444141;
    outline: 0;
    font-size: 1.3rem;
    color: #000;
    padding: 7px 0;
    background: transparent;
    transition: border-color 0.2s;
  
    &::placeholder {
      color: transparent;
    }
  
    &:placeholder-shown ~ .form__label {
      font-size: 1.3rem;
      cursor: text;
      top: 20px;
    }
}
  
.form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 1rem;
    color: #444141;
    z-index: -5000;
}
  
.form__field:focus {
    ~ .form__label {
      position: absolute;
      top: 0;
      display: block;
      transition: 0.2s;
      font-size: 1rem;
      color: #000;
      font-weight:400;    
    }
    padding-bottom: 6px;  
    font-weight: 400;
    border-width: 3px;
    border-image: linear-gradient(to right,#152439,#a8dfff);
    border-image-slice: 1;
}
/* reset input */
.form__field{
    &:required,&:invalid { box-shadow:none; }
}

.previewimg {
    display: block; /* Ensures the image takes up its own space */
    max-width: auto; /* Ensures the image fits within its container */
    max-height: 250px; /* Keeps the aspect ratio of the image */
    margin-top: 10px; /* Adds space above the image */
    margin-bottom: 0px; /* Adds space above the image */
    border: 1px solid #000000; /* Optional: Adds a border to the image */
}

/* Style for the output div */
#output {
    margin-top: 15px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

/* Processing message styling */
.processing-message {
    color: #fff;
    background-color: #007bff; /* Blue background for processing */
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 500;
    display: inline-block;
    animation: fadeIn 0.5s ease-in-out;
    margin-left: 10px;
}

/* Success message styling */
.success-message {
    color: #fff;
    background-color: #28a745; /* Green background */
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 500;
    display: inline-block;
    animation: fadeIn 0.5s ease-in-out;
    margin-left: 10px;
}

/* Error message styling */
.error-message {
    color: #fff;
    background-color: #dc3545; /* Red background */
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 500;
    display: inline-block;
    animation: fadeIn 0.5s ease-in-out;
    margin-left: 10px;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*Custom Radio */

.eventsregistrationform .customradio1 {
    max-width: 550px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.eventsregistrationform .customradio1 input[type="radio"] {
    display: none;
    margin-bottom: 10px; 
}

.eventsregistrationform .customradio1 label {
    position: relative;
    color:#3885f7;
    cursor: pointer;
    border: 3px solid #3885f7;
    border-radius: 10px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px; 
}

.eventsregistrationform .customradio1 label:before {
    content: "";
    height: 25px;
    width: 25px;
    border: 3px solid #3885f7;
    border-radius: 50%;
    margin-right: 10px;
    margin-bottom: 10px; 
}

.eventsregistrationform .customradio1 input[type="radio"]:checked + label {
    background-color: #3885f7;
    color: white;
    margin-bottom: 10px; 
}

.eventsregistrationform .customradio1 input[type="radio"]:checked + label:before {
    height: 12px;
    width: 12px;
    border: 10px solid white;
    background-color: #3885f7;
    margin-bottom: 10px; 
}

.eventsregistrationform .customradio2 {
    max-width: 550px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.eventsregistrationform .customradio2 input[type="radio"] {
    display: none;
    margin-bottom: 10px; 
}

.eventsregistrationform .customradio2 label {
    position: relative;
    color:#3885f7;
    cursor: pointer;
    border: 3px solid #3885f7;
    border-radius: 10px;
    padding: 6px 15px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px; 
}

.eventsregistrationform .customradio2 input[type="radio"]:checked + label {
    background-color: #3885f7;
    color: white;
    margin-bottom: 10px; 
}

/*Webinar Registration Form - Optional Receipt Upload*/

.eventsregistrationform .file-upload-section {
    display: none;
}

.eventsregistrationform .file-upload-section.visible {
    display: block;
}

/* Text Classes */

.text-xxl {
    font-size: 3.4rem;
    line-height: 1;
    font-weight: 600;
    margin: 20px 0 20px;
}

.text-xl {
    font-size: 2.6rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 20px 0 20px;
}

.text-xlg {
    font-size: 1.9rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 14px 0 14px;
}

.text-lg {
    font-size: 1.6rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 10px;
}

.text-md {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 10px;
}

.text-sm {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 5px;
}

.success-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

/* Background */

.bg-primary {
    background: var(--primary-color);
    color: #fff;
}

.bg-light {
    background: var(--light-color);
    color: #333;
}

.bg-dark {
    background: var(--dark-color);
    color: #ffffff;
}

.bg-darkblue {
    background: #25184f;
    color: #ffffff;
}

.bg-darkgreen {
    background: #01443e ;
    color: #ffffff;
}

.bg-maroon {
    background: #6d111f;
    color: #ffffff;
}

.bg-white {
    background: #fff;
    color: #000000;
}

.bg-lightgrey {
    background: #f3f2f1;
    color: #000000;
}

.bg-lightred {
    background: #ffc6c6;
    color: #000000;
}

.bg-black {
    background: #000;
    color: #fff;
}

/* Scroll Animation */

.hidden {
    opacity: 0;
    transition: all 1s;
}

.show {
    opacity: 1;
}

/* Card */

.card {
    border-radius: 10px;
    padding: 20px;
}

/* Hamburger Button */

.hamburger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger-button .hamburger-line {
    width: 30px;
    height: 3px;
    background: #333;
    margin: 6px 0;
}

/* Mobile Menu */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    z-index: 100;
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    margin-top: 90px;
    padding-right: 10px;
}

.mobile-menu ul li {
    margin: 10px 0;
}

.mobile-menu ul li a {
    font-size: 20px;
    transition: 0.3s;
}

/* Media Queries */

@media (max-width:1080px) {
}

@media (max-width: 960px) {
    .text-xxl {
        font-size: 3rem;
    }

    .text-xl{
        font-size: 2rem;
    }

    .text-lg {
        font-size: 1.3rem;
    }

    .text-xlg {
        font-size: 1.6rem;
    }

    .eventsregistrationform .eventsregistrationform-grid, .eventsregistrationform .recruitment-grid, .eventpayment .eventpayment-grid, .membershippayment .membershippayment-grid, .aboutus .aboutus-grid {
        grid-template-columns: 1fr;
        margin: 35px;
    }

    .membershippayment h1 {
        text-align: center;
    }

    .membershippayment .membership-grid .column:nth-child(1) {
        align-self: center;
    }

    .eventsregistrationform .card {
        max-width: 450px;
        margin-top: 0px;
    }

    .ourteam-subheading {
        padding: 0px 0px;
    }

    .aboutusimage, .aboutuscontent {
        text-align: center;
    }
    .eventgallery .galleryblock {
        grid-template-rows: 150px 120px 145px 125px 145px;
    }
}

@media (max-width: 880px) {
    .eventgallery .galleryblock {
        max-width: 450px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: unset;
        justify-items: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .eventgallery .galleryblock img {
        max-width: 400px;
        max-height: auto;
    }
    .eventgallery .galleryblock .image1, .eventgallery .galleryblock .image2, .eventgallery .galleryblock .image3, .eventgallery .galleryblock .image4, .eventgallery .galleryblock .image5, .eventgallery .galleryblock .image6, .eventgallery .galleryblock .image7, .eventgallery .galleryblock .image8, .eventgallery .galleryblock .image9, .eventgallery .galleryblock .image10, .eventgallery .galleryblock .image11, .eventgallery .galleryblock .image12, .eventgallery .galleryblock .image13, .eventgallery .galleryblock .image14, .eventgallery .galleryblock .image15 {
        grid-area: auto / auto / auto / auto;
    }

    .eventgallery .galleryblock .zoom-xl:hover, .eventgallery .galleryblock .zoom:hover {
        transform: none
    }
}

@media (max-width: 670px) {
    .navbar .main-menu {
        display: none;
    }

    .navbar .hamburger-button {
        display: block;
    }

    .hero .container .landing{
        background: url('../images/hero-bg-mobile.png') no-repeat;
        background-size: 450px;
        background-position: bottom;
        height: 770px;
    }

    .hero .hero-content .hero-subheading {
        text-align: center;
    }

    .hero .hero-content, .hero .hero-text {
        width: 98%;
        text-align: center;
    }

    .events .events-heading, .past-events .past-events-heading {
        max-width: 100%;
        text-align: center;
    }

    .eventsregistrationform, .eventpayment, .membershippayment {
        text-align: center;
    }

    .eventsregistrationform .eventsregistrationform-grid .field, .previewimg {
        margin-left: auto;
        margin-right: auto;
    }

    .events .events-grid, .footer .footer-grid, .past-events .events-grid, .membership .membership-grid, .ourteam .ourteam-grid {
        grid-template-columns: 1fr;
        margin: 35px;
    }

    .factsheet-grid-container {
        grid-template-columns: 1fr;
        margin: 50px;
    }

    .footer .footer-grid > div {
        text-align: center;
    }

    .eventsregistrationform .input, .eventsregistrationform textarea {
        width: 350px;
    }

    .eventsregistrationform .card {
        margin-top: 10px;
    }

    .membershipregistrationform .input, .membershipregistrationform textarea {
        width: 350px;
    }

    .eventpayment .eventpayment-grid, .membershippayment .membershippayment-grid {
        margin: 0px;
    }

    .eventpayment .eventpayment-grid img, .membershippayment .membership-grid img {
        height: 150px;
        width: auto;
    }

    .eventpayment .paymenttextbox, .membershippayment .paymenttextbox {
        text-align: center;
        padding: 10px 5px 5px 0px;
        max-width: 470px;
        margin-left: auto;
        margin-right: auto;
    }

    .ourteam .ourteam-grid1, .ourteam .ourteam-grid2, .ourteam .ourteam-grid4, .ourteam .ourteam-grid5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ourteam .ourteam-grid5, .ourteam .ourteam-grid3 {
        margin: auto auto;
        gap: 0px;
    }

    /* Text */

    .text-xxl {
        font-size: 2.7rem;
    }

    .text-xl {
        font-size: 1.9rem;
    }

    .text-lg {
        font-size: 1.3rem;
    }

    .text-md {
        font-size: 1rem;
    }

}

@media (max-width: 500px) {

    .text-xxl {
        font-size: 2.5rem;
        line-height: 55px;
    }
    .text-lg {
        font-size: 1.2rem;
    }
}

@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}