/*

TemplateMo 587 Tiya Golf Club

https://templatemo.com/tm-587-tiya-golf-club

*/


/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #fae9ff;
  --primary-color:                #8a2895;
  --success-color:                #60c92cc8;
  --secondary-color:              #3d415b;
  --section-bg-color:             #fae9ff;
  --custom-btn-bg-color:          #9b239b;
  --custom-btn-bg-hover-color:    #7d0c7d;
  --result-btn-bg-color:          #239b51;
  --result-btn-bg-hover-color:    #0e7d0c;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --text-color:                   #9a239a;
  --link-hover-color:             #be55be;  
  --offcanvas-btn-bg-color:       #f6b7f6;
  --offcanvas-btn-bg-hover-color: #440944;

  --body-font-family:             'DM Sans', sans-serif;

  --h1-font-size:                 42px;
  --h2-font-size:                 36px;
  --h3-font-size:                 28px;
  --h4-font-size:                 24px;
  --h5-font-size:                 22px;
  --h6-font-size:                 20px;
  --p-font-size:                  18px;
  --menu-font-size:               16px;
  --btn-font-size:                14px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-normal:           400;
  --font-weight-medium:           500;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-medium);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

.custom-text-primary {
  color: var(--text-color) !important;
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-bg {
  background-color: var(--section-bg-color);
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-overlay {
  content: "";
  background: rgba(87, 8, 115, 0) linear-gradient(rgba(39, 48, 83, 0.01) 0%, rgb(39, 48, 83) 100%) repeat scroll 0% 0%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

::selection {
  background-color: var(--link-hover-color);
  color: var(--white-color);
}


/*---------------------------------------
  ANIMATED HEADLINE               
-----------------------------------------*/
.cd-words-wrapper {
  display: inline-block;
  position: relative;
  text-align: left;
}

.cd-words-wrapper b {
  color: var(--link-hover-color);
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  left: 0;
  top: 0;
}

.cd-words-wrapper b.is-visible {
  position: relative;
}

.no-js .cd-words-wrapper b {
  opacity: 0;
}

.no-js .cd-words-wrapper b.is-visible {
  opacity: 1;
}

.cd-headline.rotate-1 .cd-words-wrapper {
  -webkit-perspective: 300px;
  -moz-perspective: 300px;
  perspective: 300px;
}
.cd-headline.rotate-1 b {
  opacity: 0;
  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transform: rotateX(180deg);
  -moz-transform: rotateX(180deg);
  -ms-transform: rotateX(180deg);
  -o-transform: rotateX(180deg);
  transform: rotateX(180deg);
}
.cd-headline.rotate-1 b.is-visible {
  opacity: 1;
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  -ms-transform: rotateX(0deg);
  -o-transform: rotateX(0deg);
  transform: rotateX(0deg);
  -webkit-animation: cd-rotate-1-in 1.2s;
  -moz-animation: cd-rotate-1-in 1.2s;
  animation: cd-rotate-1-in 1.2s;
}
.cd-headline.rotate-1 b.is-hidden {
  -webkit-transform: rotateX(180deg);
  -moz-transform: rotateX(180deg);
  -ms-transform: rotateX(180deg);
  -o-transform: rotateX(180deg);
  transform: rotateX(180deg);
  -webkit-animation: cd-rotate-1-out 1.2s;
  -moz-animation: cd-rotate-1-out 1.2s;
  animation: cd-rotate-1-out 1.2s;
}

@-webkit-keyframes cd-rotate-1-in {
  0% {
    -webkit-transform: rotateX(180deg);
    opacity: 0;
  }
  35% {
    -webkit-transform: rotateX(120deg);
    opacity: 0;
  }
  65% {
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(360deg);
    opacity: 1;
  }
}
@-moz-keyframes cd-rotate-1-in {
  0% {
    -moz-transform: rotateX(180deg);
    opacity: 0;
  }
  35% {
    -moz-transform: rotateX(120deg);
    opacity: 0;
  }
  65% {
    opacity: 0;
  }
  100% {
    -moz-transform: rotateX(360deg);
    opacity: 1;
  }
}
@keyframes cd-rotate-1-in {
  0% {
    -webkit-transform: rotateX(180deg);
    -moz-transform: rotateX(180deg);
    -ms-transform: rotateX(180deg);
    -o-transform: rotateX(180deg);
    transform: rotateX(180deg);
    opacity: 0;
  }
  35% {
    -webkit-transform: rotateX(120deg);
    -moz-transform: rotateX(120deg);
    -ms-transform: rotateX(120deg);
    -o-transform: rotateX(120deg);
    transform: rotateX(120deg);
    opacity: 0;
  }
  65% {
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(360deg);
    -moz-transform: rotateX(360deg);
    -ms-transform: rotateX(360deg);
    -o-transform: rotateX(360deg);
    transform: rotateX(360deg);
    opacity: 1;
  }
}
@-webkit-keyframes cd-rotate-1-out {
  0% {
    -webkit-transform: rotateX(0deg);
    opacity: 1;
  }
  35% {
    -webkit-transform: rotateX(-40deg);
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(180deg);
    opacity: 0;
  }
}
@-moz-keyframes cd-rotate-1-out {
  0% {
    -moz-transform: rotateX(0deg);
    opacity: 1;
  }
  35% {
    -moz-transform: rotateX(-40deg);
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    -moz-transform: rotateX(180deg);
    opacity: 0;
  }
}
@keyframes cd-rotate-1-out {
  0% {
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
    opacity: 1;
  }
  35% {
    -webkit-transform: rotateX(-40deg);
    -moz-transform: rotateX(-40deg);
    -ms-transform: rotateX(-40deg);
    -o-transform: rotateX(-40deg);
    transform: rotateX(-40deg);
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(180deg);
    -moz-transform: rotateX(180deg);
    -ms-transform: rotateX(180deg);
    -o-transform: rotateX(180deg);
    transform: rotateX(180deg);
    opacity: 0;
  }
}


/*---------------------------------------
  OFFCANVAS BUTTON               
-----------------------------------------*/
.offcanvas-btn {
  background: var(--offcanvas-btn-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 5px 10px;
}

.offcanvas-btn:hover {
  background: var(--offcanvas-btn-bg-hover-color);
  color: var(--white-color);
}

.offcanvas-border-btn {
  background: transparent;
  border: 2px solid var(--offcanvas-btn-bg-color);
  color: var(--offcanvas-btn-bg-color);
}

.offcanvas-border-btn:hover {
  background: var(--offcanvas-btn-bg-color);
  border-color: transparent;
  color: var(--white-color);
}

.offcanvas-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

.offcanvas-btn-group .link {
  color: var(--white-color);
  font-weight: var(--font-weight-medium);
}

.offcanvas-btn-group .link:hover {
  color: var(--link-hover-color);
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
  box-shadow: 0 0 0 0 rgb(205, 72, 222);
  transform: scale(1);
  animation: pulse 1.7s infinite;
}


@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(205, 72, 222, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(222, 84, 72, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(222, 84, 72, 0);
    }
}           

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
  background: var(--custom-btn-bg-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

.custom-btn-group .link {
  color: var(--white-color);
  font-weight: var(--font-weight-medium);
}

.custom-btn-group .link:hover {
  color: var(--link-hover-color);
}


/*---------------------------------------
  RESULT BUTTON          
-----------------------------------------*/

.result-btn {
  background: var(--result-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 12px 22px;
  box-shadow: 0 0 0 0 rgb(72, 222, 72);
  transform: scale(1);
  animation: result-pulse 1.7s infinite;
}

@keyframes result-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(72, 222, 87, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(222, 84, 72, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(222, 84, 72, 0);
    }
}

.result-btn:hover {
  background: var(--result-btn-bg-hover-color);
  color: var(--white-color);
}

.result-border-btn {
  background: transparent;
  border: 2px solid var(--result-btn-bg-color);
  color: var(--result-btn-bg-color);
}

.result-border-btn:hover {
  background: var(--result-btn-bg-color);
  border-color: transparent;
  color: var(--white-color);
}



/*---------------------------------------
  NAVIGATION BAR & OFFCANVAS              
-----------------------------------------*/
.offcanvas {
  background-color: var(--primary-color);
  padding: 30px;
}

.offcanvas.offcanvas-end {
  border-left: 0;
}

.offcanvas-header .btn-close {
  transition: all 0.3s;
}

.offcanvas-header .btn-close:hover {
  transform: rotate(180deg);
}

.offcanvas svg {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .navbar {
  background-color: #9b239b;
}

.navbar {
  background: transparent;
  z-index: 99;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
  color: var(--dark-color);
  max-width: 48px;
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover {
  color: var(--white-color);
}

/* .navbar .navbar-brand-image {
  filter: brightness(0) invert(1);
} */

.navbar-brand-image {
  width: 48px;
  height: 48px;
}

.navbar-brand-text {
  line-height: normal;
  margin-left: 10px;
  position: relative;
  bottom: 5px;
}

.navbar-brand-text small {
  display: block;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: var(--link-hover-color);
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
}

.navbar .dropdown-item.active, 
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus, 
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--link-hover-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  background-image: url('../images/session-gallery/3rd.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
  height: 100vh;
  min-height: 670px;
  margin-bottom: -90px;
}

.hero-50 {
  height: auto;
  min-height: 540px;
  margin-bottom: -100px;
}

.hero-50 .container + svg {
  transform: rotate(180deg);
}

.hero-section .ratio {
  border-radius: var(--border-radius-medium);
  overflow: hidden;
}

.hero-section svg {
  position: absolute;
  right: 0;
  left: 0;
}

.hero-section > svg {
  top: 0;
}

.hero-section .container + svg {
  top: auto;
  bottom: -1px;
}

.hero-section .row {
  position: relative;
  z-index: 22;
}


/*---------------------------------------
  BACKGROUND IMAGE SECTION        
-----------------------------------------*/
.section-bg-image {
  background-image: url('../images/logo.gif');
  background-repeat: no-repeat;
  background-size:auto;
  background-position: center;
  position: relative;
  margin-bottom: -70px;
}

.section-bg-image .container + svg {
  transform: rotate(180deg);
  position: relative;
  bottom: -1px;
}

.section-bg-image-block {
  backdrop-filter: blur(5px) saturate(100%);
  -webkit-backdrop-filter: blur(5px) saturate(100%);
  background-color: rgba(174, 83, 192, 0.404);
  border-radius: var(--border-radius-medium);
  border: 1px solid rgba(219, 209, 219, 0.3);
  border-radius: var(--border-radius-medium);
  padding: 50px;
}

.section-bg-image-block .input-group {
  background-color: var(--white-color);
  border-radius: var(--border-radius-large);
  padding: 10px 15px;
}

.section-bg-image-block .input-group-text {
  background-color: transparent;
  border: 0;
}

.section-bg-image-block input[type="email"] {
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding-left: 0;
}

.section-bg-image-block button[type="submit"] {
  background-color: var(--primary-color);
  border: 0;
  border-radius: var(--border-radius-large) !important;
  color: var(--white-color);
  max-width: 150px;
}


/*---------------------------------------
  ABOUT SECTOIN              
-----------------------------------------*/
.about-section {
  padding-bottom: 70px;
}

.member-block-image-wrap {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.member-block-image-wrap:hover .member-block-image {
  transform: scale(1.2);
}

.member-block-image-wrap:hover .social-icon {
  opacity: 1;
}

.member-block-image-wrap .social-icon {
  background-color: var(--white-color);
  border-radius: var(--border-radius-large);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.5s;
  padding: 15px 20px;
  width: auto;
}

.member-block-image {
  transition: all 0.3s;
}

.member-block-info {
  padding: 10px;
}

.member-block-info h4,
.member-block-info p {
  margin-bottom: 0;
}


/*---------------------------------------
  CUSTOM BLOCK              
-----------------------------------------*/
.custom-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 30px 20px;
}

.custom-block-bg {
  background: var(--white-color);
}

.custom-block-date-wrap {
  background-color: var(--primary-color);
  border-radius: var(--border-radius-medium);
  text-align: center;
  padding: 20px 30px;
}

.custom-block-date {
  font-size: var(--h1-font-size);
}

.custom-block-image-wrap {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.custom-block-image-wrap a {
  display: block;
  height: 100%;
}

.custom-block-image-wrap:hover .custom-block-image {
  transform: scale(1.2);
}

.custom-block-image-wrap:hover .custom-block-icon {
  opacity: 1;
}

.custom-block-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.3s;
}

.custom-block-image-wrap .custom-block-date-wrap,
.custom-block-image-wrap .custom-btn-wrap {
  position: absolute;
  bottom: 0;
}

.custom-block-image-wrap .custom-block-date-wrap {
  border-radius: 0;
  left: 0;
  width: 50%;
  padding: 12.30px 20px;
}

.custom-block-image-wrap .custom-btn-wrap {
  right: 0;
  width: 50%;
}

.custom-block-image-wrap .custom-btn  {
  border-radius: 0;
  display: block;
  padding: 15px 20px;
}

.custom-block-info {
  padding-top: 10px;
}

.custom-block-image-wrap + .custom-block-info {
  padding-top: 20px;
}

.custom-block-span {
  color: var(--secondary-color);
  font-weight: var(--font-weight-bold);
  min-width: 110px;
  margin-right: 10px;
}

.custom-block-icon {
  background: var(--custom-btn-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: var(--h3-font-size);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.5s;
}

.custom-block-icon:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}


/*---------------------------------------
  EVENTS SECTION            
-----------------------------------------*/
.events-section.section-bg .container > .row {
  margin-right: 5px;
  margin-left: 5px;
}

.events-section.section-bg .container > .row .row {
  margin: auto;
}

.events-listing-section {
  margin-bottom: 100px;
}

.events-detail-section .custom-block-info {
  padding: 40px 60px;
}

.events-detail-info {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-medium);
  padding: 50px 25px;
}

.events-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-medium);
}


/*---------------------------------------
  MEMBERSHIP SECTION            
-----------------------------------------*/
.membership-section .container {
  position: relative;
  z-index: 2;
}

.table-responsive {
  border-radius: var(--border-radius-medium);
}

.table-responsive tbody, 
.table-responsive td, 
.table-responsive tfoot, 
.table-responsive th, 
.table-responsive thead, 
.table-responsive tr {
  border: 0;
}

.table-responsive thead tr {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.table-responsive thead th {
  padding: 22px 16px !important;
}

.table-responsive tbody tr:nth-child(even) {
  background-color: var(--section-bg-color);
}

.table>:not(caption)>*>* {
  padding: 18px 16px;
}

.table-responsive .bi-check-circle-fill {
  color: var(--primary-color);
}

.table-responsive .bi-x-circle-fill {
  color: var(--custom-btn-bg-hover-color);
}

.membership-form {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  padding: 35px;
}

.membership-form .form-floating>textarea {
  border-radius: var(--border-radius-medium);
  height: 100px;
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-form .form-floating>textarea {
  border-radius: var(--border-radius-medium);
  height: 120px;
}

.contact-info {
  position: relative;
}

.contact-info-item {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.contact-info-body {
  padding: 20px 30px;
}

.contact-info-body strong,
.contact-info-item a {
  color: var(--white-color);
}

.contact-info-footer {
  background-color: var(--custom-btn-bg-hover-color);
  padding: 10px 20px;
  transition: all 0.3s;
}

.contact-info-footer:hover {
  background-color: var(--custom-btn-bg-color);
}

.contact-info-footer a {
  display: block;
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SITE FOOTER            
-----------------------------------------*/
.site-footer {
  position: relative;
  padding-bottom: 200px;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.site-footer svg {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  pointer-events: none;
}

.site-footer-title {
  color: var(--secondary-color);
}

.site-footer p span {
  font-weight: var(--font-weight-medium);
  margin-right: auto;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  border-radius: var(--border-radius-large);
  border-width: 2px;
  box-shadow: none;
  color: var(--secondary-color);
  margin-bottom: 20px;
  padding: 10px;
  padding-left: 20px;
  outline: none;
}

.custom-form .form-control:focus,
.custom-form .form-control:hover {
  border-color: var(--link-hover-color);
}

.form-floating>label {
  padding-left: 20px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s;
  margin-bottom: 0;
  padding-left: 10px;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}

.header-form {
  position: relative;
}

.header-form .form-control {
  padding-left: 42px;
}

.header-form-icon {
  width: 24px;
  position: absolute;
  top: 0;
  margin: 12px;
  margin-left: 15px;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  display: block;
  margin-right: 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


.float-success {
  background: var(--success-color);
  border-color: rgba(255, 255, 255, 0.55);
}

/*---------------------------------------
  RESPONSIVE STYLES
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  h6 {
    font-size: 16px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .navbar {
    background-color: #9b239b;
  }

  .navbar-nav .dropdown-menu {
    position: relative;
    left: 10px;
    opacity: 1;
    pointer-events: auto;
    max-width: 155px;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-top: 15px;
    padding-bottom: 10px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    margin: 5px;
    padding: 0;
  }

  .hero-section {
    position: relative;
    top: 82px;
    margin-bottom: 82px;
  }

  .events-listing-section {
    margin-bottom: 50px;
  }

  .events-detail-section .custom-block-info {
    padding: 40px;
  }

  .events-detail-info {
    padding: 35px 25px;
  }

  .contact-info-item {
    width: 60%;
  }

  .events-detail-section .contact-info-item {
    width: 70%;
  }

  .section-bg-image {
    margin-bottom: 0;
  }

  .section-bg-image-block {
    padding: 30px;
  }

  .site-footer {
    padding-top: 20px;
    padding-bottom: 100px;
  }
}

@media screen and (max-width: 480px) {
  .navbar-brand {
    font-size: var(--p-font-size);
  }

  .navbar-brand-icon {
    width: 30px;
    height: 30px;
  }

  .navbar-brand-icon::after {
    top: 5px;
  }

  .section-bg-image-block {
    padding: 30px;
  }

  .contact-info-item {
    width: 72%;
  }

  .float {
    right: 18px;
    bottom: 18px;
    min-height: 48px;
    padding: 0px 0px;
    font-size: 13px;
  }

}

@media screen and (max-width: 575px) {
}

@media screen and (max-width: 360px) {
  .custom-btn {
    font-size: 10px;
    padding: 4px 12px;
  }
  .result-btn {
    font-size: 10px;
    padding: 4px 12px;
  }
}

/*---------------------------------------
  AHMES LANDING REFINEMENTS
-----------------------------------------*/
:root {
  --page-gutter: clamp(16px, 4vw, 28px);
  --section-space: clamp(56px, 8vw, 96px);
  --surface-shadow: 0 18px 40px rgba(61, 65, 91, 0.12);
  --surface-shadow-soft: 0 10px 24px rgba(61, 65, 91, 0.08);
  --header-height-mobile: 76px;
  --header-height-desktop: 92px;
  --ami-safe-space: 118px;
}

html {
  scroll-padding-top: 88px;
}

body.landing-page {
  overflow-x: clip;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.35rem, 3vw, 1.95rem);
}

p,
ul li {
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
  line-height: 1.72;
}

.section-padding {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section-heading {
  line-height: 1.08;
  margin-bottom: clamp(18px, 4vw, 28px);
}

.custom-btn,
.custom-form button[type="submit"] {
  min-height: 52px;
  padding: 12px 22px;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.custom-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-navbar {
  background: linear-gradient(0deg, rgba(155, 35, 155, 0.96), rgba(138, 40, 149, 0.94));
  min-height: var(--header-height-desktop);
  padding-top: 10px;
  padding-bottom: 10px;
  /* box-shadow: 0 12px 28px rgba(61, 10, 72, 0.16); */
}

.site-navbar .container {
  gap: 10px;
}

.navbar-brand {
  max-width: none;
}

.navbar-brand-image {
  width: clamp(42px, 5vw, 52px);
  height: clamp(42px, 5vw, 52px);
}

.navbar-brand-text {
  margin-left: 12px;
  bottom: 0;
  line-height: 1;
}

.navbar-brand-text small {
  margin-top: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.offcanvas-btn {
  min-height: 42px;
  padding: 8px 14px;
}

.mobile-app-button-wrap {
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.hero-section {
  min-height: max(620px, calc(100vh - 12px));
  padding-top: calc(var(--header-height-desktop) + 28px);
  padding-bottom: clamp(76px, 10vw, 110px);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .ratio {
  box-shadow: var(--surface-shadow);
}

.events-section .row > .col-12 {
  min-width: 0;
}

.events-section {
  position: relative;
  overflow: hidden;
}

.events-section::before,
.events-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.events-section::before {
  width: 280px;
  height: 280px;
  top: 40px;
  left: -120px;
  background: radial-gradient(circle, rgba(155, 35, 155, 0.12), rgba(155, 35, 155, 0));
}

.events-section::after {
  width: 360px;
  height: 360px;
  right: -140px;
  bottom: 10px;
  background: radial-gradient(circle, rgba(61, 65, 91, 0.1), rgba(61, 65, 91, 0));
}

.events-section .container {
  position: relative;
  z-index: 1;
}

.events-section-heading {
  max-width: 720px;
  margin-bottom: clamp(24px, 4vw, 34px);
}

.events-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(155, 35, 155, 0.08);
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.events-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9b239b, #be55be);
  box-shadow: 0 0 0 5px rgba(155, 35, 155, 0.08);
}

.events-intro {
  max-width: 62ch;
  color: rgba(61, 65, 91, 0.78);
}

.event-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.2fr);
  gap: clamp(18px, 3vw, 28px);
  padding: clamp(18px, 3vw, 28px);
  background:
    radial-gradient(circle at top right, rgba(246, 183, 246, 0.24), rgba(246, 183, 246, 0) 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 241, 249, 0.98));
  border: 1px solid rgba(155, 35, 155, 0.12);
  box-shadow: 0 18px 42px rgba(61, 65, 91, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 24px 0 0 24px;
  background: linear-gradient(180deg, #9b239b, #be55be);
  opacity: 0.95;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 35, 155, 0.2);
  box-shadow: 0 26px 52px rgba(61, 65, 91, 0.14);
}

.event-card-media,
.event-card-content {
  min-width: 0;
}

.event-card .custom-block-image-wrap {
  border-radius: 24px;
  box-shadow: var(--surface-shadow-soft);
  isolation: isolate;
}

.event-card .custom-block-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 20, 30, 0.02), rgba(18, 20, 30, 0.16));
  z-index: 1;
  pointer-events: none;
}

.event-card .custom-block-info {
  padding-top: 0;
}

.event-date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 16px;
  padding: 14px 18px;
  min-width: 126px;
  background: linear-gradient(135deg, #8a2895, #be55be);
  box-shadow: 0 14px 26px rgba(111, 26, 134, 0.22);
}

.event-date-badge strong {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-card .custom-block-date {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
}

.events-title {
  display: block;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  line-height: 1.22;
  color: var(--secondary-color);
  text-wrap: balance;
}

.event-description {
  margin-top: 10px;
  color: rgba(61, 65, 91, 0.78);
}

.event-meta-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(61, 65, 91, 0.1);
}

.event-meta-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(155, 35, 155, 0.06);
}

.event-meta-item > :last-child {
  flex: 1;
  min-width: 0;
}

.custom-block-span {
  min-width: 92px;
  margin-right: 0;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-location-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.event-location-name {
  color: var(--text-color);
  font-weight: var(--font-weight-medium);
}

.event-location-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--white-color);
  box-shadow: 0 8px 18px rgba(61, 65, 91, 0.18);
}

.event-location-button:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.event-card-cta {
  margin-top: 22px;
}

.event-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 320px;
  text-align: center;
  animation: none;
  box-shadow: 0 12px 28px rgba(111, 26, 134, 0.24);
  background: linear-gradient(135deg, #9b239b, #7c197d);
  position: relative;
  overflow: hidden;
}

.event-apply-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
  transform: translateX(-68%);
  transition: transform 0.35s ease;
}

.event-apply-btn:hover::before,
.event-apply-btn:focus::before {
  transform: translateX(0);
}

.event-apply-date {
  font-size: 0.82rem;
  font-weight: var(--font-weight-medium);
  opacity: 0.92;
  position: relative;
  z-index: 1;
}

.event-result-btn,
.event-result-btn:hover,
.event-result-btn:focus {
  color: var(--white-color);
}


.event-result-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 320px;
  text-align: center;
  animation: none;
  box-shadow: 0 12px 28px rgba(111, 26, 134, 0.24);
  background: linear-gradient(135deg, #239b2f, #197d25);
  position: relative;
  overflow: hidden;
}

.event-result-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
  transform: translateX(-68%);
  transition: transform 0.35s ease;
}

.event-result-btn:hover::before,
.event-result-btn:focus::before {
  transform: translateX(0);
}

.event-apply-date {
  font-size: 0.82rem;
  font-weight: var(--font-weight-medium);
  opacity: 0.92;
  position: relative;
  z-index: 1;
}

.event-result-btn,
.event-result-btn:hover,
.event-result-btn:focus {
  color: var(--white-color);
}

.events-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: clamp(28px, 5vw, 46px);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(246, 183, 246, 0.24), rgba(246, 183, 246, 0) 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 241, 250, 0.98));
  border: 1px solid rgba(155, 35, 155, 0.12);
  box-shadow: 0 20px 40px rgba(61, 65, 91, 0.08);
}

.events-empty-icon {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #9b239b, #be55be);
  color: var(--white-color);
  font-size: 2rem;
  box-shadow: 0 16px 30px rgba(111, 26, 134, 0.24);
}

.events-empty-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(155, 35, 155, 0.08);
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.events-empty-title {
  max-width: 18ch;
  margin-bottom: 0;
  text-wrap: balance;
}

.events-empty-text {
  max-width: 58ch;
  color: rgba(61, 65, 91, 0.78);
}

.events-empty-actions {
  margin-top: 8px;
}

.about-copy,
.about-rich-text {
  line-height: 1.78;
}

.about-lead {
  color: var(--secondary-color);
  font-size: clamp(1.04rem, 2vw, 1.18rem);
  font-weight: var(--font-weight-medium);
}

.about-copy p,
.about-rich-text p {
  margin-bottom: 1rem;
}

.about-more {
  margin-top: 18px;
  border: 1px solid rgba(155, 35, 155, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.about-more summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  background: rgba(155, 35, 155, 0.08);
}

.about-more summary::-webkit-details-marker {
  display: none;
}

.about-rich-text {
  padding: 18px 20px 6px;
}

.campus-gallery {
  overflow: hidden;
  border-radius: 26px;
}

.campus-gallery-slide,
.campus-gallery-thumb {
  position: relative;
}

.campus-gallery-slide::before,
.campus-gallery-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 15, 24, 0.1), rgba(16, 15, 24, 0.64));
}

.campus-gallery-label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: var(--white-color);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: var(--font-weight-bold);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

#swiper-gallery .gallery-top,
#swiper-gallery .gallery-thumbs {
  border-radius: 26px;
}

#swiper-gallery .gallery-thumbs .swiper-slide {
  opacity: 0.72;
  border-radius: 18px;
  overflow: hidden;
}

#swiper-gallery .gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.88);
}

.swiper-button-next,
.swiper-button-prev {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(18, 18, 24, 0.38);
  backdrop-filter: blur(6px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: 700;
  color: var(--white-color);
}

.section-bg-image-block {
  padding: clamp(26px, 5vw, 50px);
  box-shadow: var(--surface-shadow);
}

.why-join-card {
  padding: 18px !important;
  border-radius: 22px !important;
}

.why-join-card .fw-semibold {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-form .form-floating > .form-control,
.contact-form .form-floating > textarea.form-control {
  min-height: 58px;
}

.contact-form .form-floating > textarea.form-control {
  min-height: 136px;
}

.form-floating > label {
  color: rgba(61, 65, 91, 0.76);
}

.form-hint {
  display: block;
  margin-top: -8px;
  margin-bottom: 14px;
  color: var(--p-color);
  font-size: 0.82rem;
}

.contact-info {
  margin-top: 24px;
}

.contact-info-item {
  width: min(100%, 360px);
  box-shadow: var(--surface-shadow);
}

.site-footer {
  padding-top: 24px;
  padding-bottom: 150px;
}

.footer-credit {
  color: rgba(113, 114, 117, 0.92);
  font-size: 0.9rem;
}

.footer-credit a {
  color: var(--secondary-color);
  font-weight: var(--font-weight-medium);
}

@media screen and (min-width: 992px) {
  .hero-section h2 {
    font-size: clamp(1.55rem, 2vw, 2rem);
  }

  .hero-section .cd-headline {
    font-size: clamp(2.15rem, 3.25vw, 3rem);
  }
}

@media screen and (max-width: 991px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-navbar.menu-open .mobile-app-button-wrap {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
  }

  .site-navbar {
    min-height: var(--header-height-mobile);
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .navbar-collapse {
    margin-top: 10px;
    padding: 14px 12px;
    border-radius: 20px;
    background: rgba(110, 18, 110, 0.22);
    backdrop-filter: blur(10px);
  }

  .navbar-nav .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero-section {
    top: 0;
    margin-bottom: -20px;
    min-height: auto;
    padding-top: calc(var(--header-height-mobile) + 34px);
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card .custom-block-image-wrap {
    aspect-ratio: 16 / 10;
  }

  .event-meta-item {
    flex-direction: column;
    gap: 6px;
  }

  .custom-block-span {
    min-width: 0;
  }

  .contact-info-item {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto 24px;
  }
}

@media screen and (max-width: 767px) {
  .site-main {
    padding-bottom: 104px;
  }

  .section-padding {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .navbar-brand-text {
    margin-left: 10px;
  }

  .navbar-brand-text small {
    font-size: 0.62rem;
  }

  .offcanvas-btn {
    min-height: 40px;
    padding: 7px 12px;
    font-size: 0.84rem;
  }

  .hero-section {
    padding-bottom: 72px;
  }

  .hero-section .custom-btn-group .custom-btn {
    width: 100%;
    max-width: 100%;
  }
  .hero-section .custom-btn-group .result-btn {
    width: 100%;
    max-width: 100%;
  }

  .event-card {
    gap: 16px;
    padding: 16px;
    border-radius: 24px;
  }

  .event-card::before {
    width: 100%;
    height: 5px;
    inset: 0 0 auto 0;
    border-radius: 24px 24px 0 0;
  }

  .event-date-badge {
    width: fit-content;
    margin-bottom: 12px;
  }

  .events-title {
    margin-bottom: 10px;
  }

  .event-card-cta,
  .event-apply-btn {
    width: 100%;
    max-width: none;
  }
  .event-result-btn {
    width: 100%;
    max-width: none;
  }

  .why-join-card .fw-semibold {
    font-size: 0.96rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  .site-footer {
    padding-bottom: 136px;
  }
}

@media screen and (max-width: 575px) {
  .navbar .container {
    flex-wrap: nowrap;
  }

  .navbar-brand {
    min-width: 0;
  }

  .navbar-brand-text {
    max-width: 104px;
  }

  .hero-section h2 {
    margin-bottom: 10px;
  }

  .cd-headline {
    margin-bottom: 22px !important;
    padding-bottom: 0 !important;
  }

  #swiper-gallery {
    block-size: 430px;
  }

  #swiper-gallery .gallery-top {
    block-size: 78%;
  }

  #swiper-gallery .gallery-thumbs {
    block-size: 22%;
  }

  .section-bg-image-block {
    padding: 22px;
  }

  .events-intro {
    font-size: 0.96rem;
  }

  .event-meta-item {
    padding: 12px;
  }

}

@media screen and (max-width: 430px) {
  .site-navbar .container {
    gap: 8px;
  }

  .navbar-brand-image {
    width: 40px;
    height: 40px;
  }

  .navbar-brand-text {
    max-width: 94px;
  }

  .offcanvas-btn {
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .event-location-link {
    gap: 8px;
  }

  .event-location-button {
    width: 34px;
    height: 34px;
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

