/*

TemplateMo 587 Tiya Golf Club
Adapted for Modukanele Events

*/

/*---------------------------------------
  CUSTOM PROPERTIES
-----------------------------------------*/
:root {
  --white-color: #ffffff;
  --primary-color: #8d6e63;
  --primary-color-rgb: 141, 110, 99;
  --secondary-color: #636363d8;
  --section-bg-color: #f8f5f1;
  --custom-btn-bg-color: #c8a97e;
  --custom-btn-bg-hover-color: #a67c52;
  --accent-color: #e9d8c7;
  --dark-color: #171717;
  --p-color: #666870;
  --border-color: #e8e2da;
  --link-hover-color: #c8a97e;
  --card-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 22px 50px rgba(0, 0, 0, 0.14);

  --body-font-family: 'DM Sans', sans-serif;

  --h1-font-size: 44px;
  --h2-font-size: 36px;
  --h3-font-size: 28px;
  --h4-font-size: 24px;
  --h5-font-size: 20px;
  --h6-font-size: 18px;
  --p-font-size: 17px;
  --menu-font-size: 15px;
  --btn-font-size: 14px;
  --copyright-font-size: 13px;

  --border-radius-large: 100px;
  --border-radius-medium: 24px;
  --border-radius-small: 12px;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
  overflow-x: hidden;
}

/*---------------------------------------
  TYPOGRAPHY
-----------------------------------------*/
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-medium);
  letter-spacing: -0.8px;
  line-height: 1.2;
}

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);
  line-height: 1.8;
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a,
button,
img {
  transition: all 0.35s ease;
}

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);
}

/*---------------------------------------
  SECTION
-----------------------------------------*/
.section-bg {
  background-color: var(--section-bg-color);
}

.section-padding {
  padding-top: 110px;
  padding-bottom: 110px;
}

.section-overlay {
  content: "";
  background:
    linear-gradient(
      180deg,
      rgba(16, 16, 16, 0.25) 0%,
      rgba(47, 49, 66, 0.88) 100%
    );
  position: absolute;
  inset: 0;
}

::selection {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/*---------------------------------------
  ANIMATED HEADLINE
-----------------------------------------*/
.cd-words-wrapper {
  display: inline-block;
  position: relative;
  text-align: left;
  min-width: 240px;
}

.cd-words-wrapper b {
  color: var(--custom-btn-bg-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 {
  perspective: 300px;
}

.cd-headline.rotate-1 b {
  opacity: 0;
  transform-origin: 50% 100%;
  transform: rotateX(180deg);
}

.cd-headline.rotate-1 b.is-visible {
  opacity: 1;
  transform: rotateX(0deg);
  animation: cd-rotate-1-in 1.2s;
}

.cd-headline.rotate-1 b.is-hidden {
  transform: rotateX(180deg);
  animation: cd-rotate-1-out 1.2s;
}

@keyframes cd-rotate-1-in {
  0% { transform: rotateX(180deg); opacity: 0; }
  35% { transform: rotateX(120deg); opacity: 0; }
  65% { opacity: 0; }
  100% { transform: rotateX(360deg); opacity: 1; }
}

@keyframes cd-rotate-1-out {
  0% { transform: rotateX(0deg); opacity: 1; }
  35% { transform: rotateX(-40deg); opacity: 1; }
  65% { opacity: 0; }
  100% { transform: rotateX(180deg); opacity: 0; }
}

/*---------------------------------------
  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;
  padding: 13px 28px;
  box-shadow: 0 10px 25px rgba(var(--primary-color-rgb), 0.18);
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
  transform: translateY(-2px);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--white-color);
  box-shadow: none;
}

.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);
  margin-top: 12px;
}

.custom-btn-group .link:hover {
  color: var(--link-hover-color);
}

/*---------------------------------------
  NAVIGATION BAR
-----------------------------------------*/
.offcanvas {
  background-color: var(--secondary-color);
  padding: 30px;
}

.offcanvas.offcanvas-end {
  border-left: 0;
}

.offcanvas-header .btn-close {
  filter: brightness(0) invert(1);
}

.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;
  z-index: 999;
}

.sticky-wrapper.is-sticky .navbar {
  background-color: #a98200;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.navbar {
  background: linear-gradient(
    90deg,
    #c8a97e,
    #e6c79c,
    #b8965e);
  z-index: 99;
  padding-top: 16px;
  padding-bottom: 16px;
}

.navbar .nav-link:hover {
  color: #e5ac00;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
  color: var(--dark-color);
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover {
  color: var(--white-color);
}

.navbar .navbar-brand-image {
  filter: brightness(0) invert(1);
}

.navbar-brand-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.navbar-brand-text {
  line-height: 1.1;
  margin-left: 12px;
  position: relative;
  bottom: 2px;
}

.navbar-brand-text small {
  display: block;
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 8px;
  padding: 10px 16px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--white-color);
  background: rgba(255, 255, 255, 0.12);
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: var(--card-shadow);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 11rem;
  margin-top: 20px;
  padding: 12px 8px;
  transition: all 0.3s;
  pointer-events: none;
  border-radius: 18px;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 12px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 16px;
}

.navbar .dropdown-item {
  display: block;
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  border-radius: 12px;
  padding: 10px 14px;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background: var(--section-bg-color);
  color: var(--secondary-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;
  line-height: 1;
  vertical-align: -.125em;
  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: 32px;
  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 {
  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);
  display: block;
  width: 32px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 32px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

.navbar-brand-text {
  text-transform: uppercase;
  font-weight: 700;
}

.navbar-brand-text small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
}

/*---------------------------------------
  HERO
-----------------------------------------*/
.hero-section {
  background-image: url('../images/background2.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 110px;
  padding-bottom: 110px;
  height: 100vh;
  min-height: 700px;
  margin-bottom: -90px;
}

.hero-section h1,
.hero-section h2,
.hero-section p {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-50 {
  height: auto;
  min-height: 560px;
  margin-bottom: -100px;
}

.hero-50 .container + svg {
  transform: rotate(180deg);
}

.hero-section .ratio {
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.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/background1.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  margin-bottom: 0;
}

.section-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(47, 49, 66, 0.25);
  z-index: 1;
}

.section-bg-image .container {
  position: relative;
  z-index: 2;
}

.section-top-wave,
.section-bottom-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  display: block;
  z-index: 3;
}

.section-top-wave {
  top: 0;
}

.section-bottom-wave {
  bottom: 0;
  transform: rotate(180deg);
}

.section-bg-image-block {
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  background-color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--border-radius-medium);
  padding: 50px;
  box-shadow: var(--card-shadow);
}

.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 SECTION
-----------------------------------------*/
.about-section {
  padding-bottom: 80px;
}

.member-block {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.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.08);
}

.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;
  padding: 14px 18px;
  width: auto;
  box-shadow: var(--card-shadow);
}

.member-block-image {
  transition: all 0.35s ease;
  width: 100%;
  display: block;
}

.member-block-info {
  padding: 18px 20px;
}

.member-block-info h4,
.member-block-info p {
  margin-bottom: 0;
}

.section-padding h2 {
  position: relative;
}

.section-padding h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #c8a97e;
  display: block;
  margin-top: 10px;
}

/*---------------------------------------
  CUSTOM BLOCK
-----------------------------------------*/
.custom-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 28px 20px;
  border: 1px solid transparent;
}

.custom-block:hover {
  transform: translateY(-4px);
}

.custom-block-bg,
.custom-block-info,
.table-responsive,
.contact-info-item,
.membership-form,
.custom-form.membership-form,
.custom-block-image-wrap + .custom-block-info {
  box-shadow: var(--card-shadow);
}

.custom-block-bg {
  background: var(--white-color);
}

.custom-block-date-wrap {
  background: linear-gradient(135deg, var(--primary-color), var(--custom-btn-bg-color));
  border-radius: var(--border-radius-medium);
  text-align: center;
  padding: 20px 28px;
  box-shadow: 0 10px 30px rgba(var(--primary-color-rgb), 0.20);
}

.custom-block-date {
  font-size: var(--h1-font-size);
  color: var(--white-color);
}

.custom-block-image-wrap {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.custom-block-image-wrap:hover .custom-block-image {
  transform: scale(1.08);
}

.custom-block-image-wrap:hover .custom-block-icon {
  opacity: 1;
}

.custom-block-image {
  transition: all 0.35s ease;
  width: 100%;
  display: block;
}

.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: 14px 20px;
}

.custom-block-image-wrap .custom-btn-wrap {
  right: 0;
  width: 50%;
}

.custom-block-image-wrap .custom-btn {
  border-radius: 0;
  display: block;
  padding: 16px 20px;
}

.custom-block-info {
  padding: 24px;
  background: var(--white-color);
  border-radius: 20px;
}

.custom-block-image-wrap + .custom-block-info {
  padding-top: 24px;
}

.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: 62px;
  height: 62px;
  line-height: 62px;
  text-align: center;
  font-size: var(--h3-font-size);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  box-shadow: var(--card-shadow);
}

.custom-block-icon:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-block-info.h-100 {
  height: 100%;
  border: 1px solid var(--border-color);
}

.custom-block-info.h-100:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

/*---------------------------------------
  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 50px;
}

.events-detail-info {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-medium);
  padding: 40px 25px;
  border: 1px solid var(--border-color);
}

.events-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-medium);
  color: var(--secondary-color);
}

.events-title:hover {
  color: var(--primary-color);
}

/*---------------------------------------
  MEMBERSHIP / FORMS
-----------------------------------------*/
.membership-section .container {
  position: relative;
  z-index: 2;
}

.table-responsive {
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  background: var(--white-color);
}

.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: linear-gradient(145deg, var(--secondary-color), #3c4059);
  border-radius: var(--border-radius-medium);
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.membership-form .form-floating > textarea {
  border-radius: var(--border-radius-medium);
  height: 120px;
}

/*---------------------------------------
  CONTACT
-----------------------------------------*/
.contact-form .form-floating > textarea {
  border-radius: var(--border-radius-medium);
  height: 130px;
}

.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;
  min-width: 320px;
}

.contact-info-body {
  padding: 24px 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: 12px 20px;
}

.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-top: 30px;
  padding-bottom: 200px;
  background: linear-gradient(180deg, #fff 0%, #f9f7f4 100%);
}

.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: 2px solid transparent;
  background: #ffffff;
  box-shadow: none;
  color: var(--p-color);
  margin-bottom: 20px;
  padding: 13px 14px 13px 20px;
  outline: none;
}

.custom-form .form-control:focus,
.custom-form .form-control:hover {
  border-color: var(--custom-btn-bg-color);
}

.form-floating > label {
  padding-left: 20px;
  color: #7b7d84;
}

.custom-form button[type="submit"],
.custom-form .form-control[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);
  margin-bottom: 0;
  padding-left: 10px;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus,
.custom-form .form-control[type="submit"]:hover,
.custom-form .form-control[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: 6px;
  text-align: center;
  width: 38px;
  height: 38px;
  line-height: 39px;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
}

/*---------------------------------------
  GALLERY / EXTRA UI POLISH
-----------------------------------------*/
.gallery-grid .custom-block-image-wrap,
.gallery-grid .custom-block-info {
  border-radius: var(--border-radius-medium);
}

img.img-fluid.rounded {
  border-radius: var(--border-radius-medium) !important;
  box-shadow: var(--card-shadow);
}

.bi.fs-1 {
  color: var(--primary-color);
}


.custom-gallery-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-accordion-item {
  background: #ffffff;
  border: 1px solid #ece6dd;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.gallery-accordion-header {
  width: 100%;
  border: none;
  background: linear-gradient(90deg, #c8a97e, #e6c79c, #b8965e);
  color: #ffffff;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.gallery-accordion-header i {
  font-size: 20px;
  transition: transform 0.35s ease;
}

.gallery-accordion-item.active .gallery-accordion-header i {
  transform: rotate(180deg);
}

/* white background */
.gallery-accordion-content {
  background: #ffffff;
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.35s ease, padding 0.35s ease;
}

.gallery-accordion-item.active .gallery-accordion-content {
  padding: 28px;
  opacity: 1;
}

.gallery-card {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

@media screen and (max-width: 767px) {
  .gallery-accordion-header {
    font-size: 18px;
    padding: 18px 20px;
  }

  .gallery-accordion-content {
    padding: 0 20px;
  }

  .gallery-accordion-item.active .gallery-accordion-content {
    padding: 20px;
  }

  .gallery-card img {
    height: 220px;
  }
}
/*---------------------------------------
  RESPONSIVE STYLES
-----------------------------------------*/
@media screen and (max-width: 1199px) {
  .events-detail-section .custom-block-info {
    padding: 36px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 21px;
  }

  h5 {
    font-size: 18px;
  }

  h6 {
    font-size: 16px;
  }

  p,
  ul li {
    font-size: 16px;
  }

  .section-padding {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .navbar {
    background-color: rgba(47, 49, 66, 0.96);
    backdrop-filter: blur(10px);
  }

  .navbar-nav .dropdown-menu {
    position: relative;
    left: 10px;
    opacity: 1;
    pointer-events: auto;
    max-width: 180px;
    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: 4px;
    padding: 8px 12px;
  }

  .hero-section {
    position: relative;
    top: 82px;
    margin-bottom: 82px;
    min-height: 620px;
  }

  .hero-50 {
    min-height: 460px;
  }

  .events-listing-section {
    margin-bottom: 50px;
  }

  .events-detail-section .custom-block-info {
    padding: 32px;
  }

  .events-detail-info {
    padding: 30px 22px;
  }

  .contact-info-item {
    width: 68%;
    min-width: auto;
  }

  .events-detail-section .contact-info-item {
    width: 75%;
  }

  .section-bg-image {
    margin-bottom: 0;
  }

  .section-bg-image-block {
    padding: 32px;
  }

  .site-footer {
    padding-top: 20px;
    padding-bottom: 110px;
  }

  .custom-block-info,
  .membership-form {
    padding: 24px;
  }
}

@media screen and (max-width: 767px) {
  .hero-section {
    min-height: 560px;
  }

  .hero-section .ratio {
    margin-top: 30px;
  }

  .contact-info-item {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: 30px;
  }

  .section-bg-image-block {
    padding: 24px;
  }

  .custom-block-date-wrap {
    padding: 16px 20px;
  }
}

@media screen and (max-width: 480px) {
  .navbar-brand {
    font-size: 18px;
  }

  .navbar-brand-image {
    width: 42px;
    height: 42px;
  }

  .hero-section {
    min-height: 520px;
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .hero-50 {
    min-height: 420px;
  }

  .section-padding {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-bg-image-block,
  .custom-block-info,
  .membership-form {
    padding: 22px;
  }

  .contact-info-item {
    width: 100%;
  }

  .custom-block-image-wrap .custom-block-date-wrap,
  .custom-block-image-wrap .custom-btn-wrap {
    width: 100%;
    position: static;
  }

  .custom-block-image-wrap .custom-btn,
  .custom-block-image-wrap .custom-block-date-wrap {
    border-radius: 0;
  }

  .custom-btn {
    padding: 11px 18px;
  }

  .cd-words-wrapper {
    min-width: 180px;
  }
}

@media screen and (max-width: 360px) {
  .custom-btn {
    font-size: 12px;
    padding: 10px 16px;
  }

  h1 {
    font-size: 30px;
  }
}

