@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* Custom Properties */
:root {
  --primary: #000000;
  --secondary: #ffffff;
  --accent: #c5ff4b;
  --gray: #f5f5f5;
  --text-body: #333333;

  /* Spacing */
  --spacing-base: 24px;
  --container-max: 1200px;
  --container-padding-mobile: 16px;
  --container-padding-desktop: 24px;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding-mobile);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--container-padding-desktop);
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.fade-in.visible {
  opacity: 1;
}

/* Hero section specific styles */
.hero-skin-text {
  position: relative;
  z-index: 1;
}

.hero-skin-text::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  z-index: -1;
}

/* Smooth transitions */
a,
button {
  transition: all 0.2s ease-in-out;
}

/* Custom shadows */
.shadow-custom {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Hero specific styles */
.hero-title {
  font-feature-settings: "salt" on, "liga" 0;
}

/* Smooth transitions */
.transition-custom {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image treatments */
.image-wrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Button hover effects */
.button-hover {
  transition: transform 0.2s ease;
}

.button-hover:hover {
  transform: translateY(-2px);
}

/* Smooth Scrolling Styles */
html.has-smooth-scroll {
  overflow: hidden;
}

#smooth-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#smooth-content {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
}

/* Custom Padding */
.px-5 {
  padding-left: 0.1rem;
  padding-right: 0.1rem;
}

/* Vertical Text */
.writing-mode-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: bold;
  max-height: 590px;
  letter-spacing: 0.1rem;
}

/* Underwriting Section Specific Styles */
.underwriting-title {
  font-size: 4.5rem;
  line-height: 4.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.underwriting-subtitle {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: #666;
  max-width: 42rem;
}

/* Custom Button Styles */
/* Custom Button Styles */
.btn-circle-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  padding-right: 1rem;
  background-color: black;
  color: white;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.btn-circle-arrow:hover {
  transform: translateY(-2px);
}

.btn-circle-arrow .circle-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: white;
  border-radius: 50%;
  margin-left: 0.75rem;
  transition: all 0.3s ease;
}

.btn-circle-arrow .circle-arrow svg {
  width: 1.5rem;
  height: 1.5rem;
  color: black;
  transition: transform 0.3s ease;
}

.btn-circle-arrow:hover .circle-arrow {
  transform: scale(1.1);
}

.btn-circle-arrow:hover .circle-arrow svg {
  transform: translateX(2px);
}

/* Gallery Trigger Styles */
.gallery-trigger {
  position: relative;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.gallery-trigger::before {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.3s ease;
  z-index: 1;
}

.gallery-trigger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 20 20'%3E%3Cpath d='M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
}

.gallery-trigger:hover::before {
  transform: scale(1.1);
}

.gallery-trigger:hover {
  transform: scale(1.05);
}

#gallery-container {
  background: transparent !important;
  padding: 0 !important;
  max-width: calc(100vw - 240px) !important;
  width: auto !important;
  height: auto !important;
  position: relative;
}

#gallery-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 -120px;
}

#gallery-slider div {
  flex: 0 0 100%;
  padding: 0;
  position: relative;
}

#gallery-slider div.prev-slide,
#gallery-slider div.next-slide {
  opacity: 0.5;
  transform: scale(0.8);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#gallery-slider img {
  width: auto;
  max-width: calc(100vw - 240px);
  height: 85vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  display: block;
}

#close-gallery {
  top: 1rem !important;
  right: 1rem !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  transition: all 0.3s ease;
  z-index: 10;
}

#close-gallery:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

#prev-gallery,
#next-gallery {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

#prev-gallery {
  left: 1rem;
}

#next-gallery {
  right: 1rem;
}

#prev-gallery:hover,
#next-gallery:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

#gallery-counter {
  color: white;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
  text-align: center;
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
}
/*-------  GoodWill Event Area End ------*/
.BBFormSectionHeading {
  color: #1b2632;
  font-family: Gantari !important;
  font-size: 2rem !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 44px !important; /* 118.919% */
  letter-spacing: 0;
}
.BBFormFieldLabel {
  color: #1c191a;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 130.556% !important;
  font-family: "Gantari";
}
.BBFormContainer[data-bbox-part-id="9b8d6dcb-93d4-4f0f-82a7-c49351b022f9"]
  .BBFormSubmitbutton:hover {
  filter: none;
  background-image: none !important;
  background-color: #012f62 !important;
}

.BBFormContainer[data-bbox-part-id="9b8d6dcb-93d4-4f0f-82a7-c49351b022f9"]
  .BBFormSubmitbutton {
  border: 1px solid #012f62 !important;
  font-size: 20px !important;
  filter: none;
  background-image: none !important;
  background-color: #012f62 !important;
}

.BBFormContainer[data-bbox-part-id="9b8d6dcb-93d4-4f0f-82a7-c49351b022f9"]
  .BBFormPaymentRadioOptions
  .BBFormFieldLabelEdit,
.BBFormContainer[data-bbox-part-id="9b8d6dcb-93d4-4f0f-82a7-c49351b022f9"]
  .BBFormGiftRadioOptions
  .BBFormFieldLabelEdit {
  transition: 0.4s ease all;
  border-radius: 6px;
  cursor: pointer;
  float: left;
  padding: 9px 20px !important;
  width: auto;
  text-align: center;
  min-width: 90px;
  font-family: "Gantari" !important;
  font-weight: 700 !important;
  font-size: 22px !important;
}
.BBFormContainer[data-bbox-part-id="9b8d6dcb-93d4-4f0f-82a7-c49351b022f9"]
  input#bboxdonation_gift_txtOtherAmountButtons.BBFormGiftOtherAmount {
  color: #000;
  opacity: 1;
  font-weight: 600;
}
.BBFormContainer[data-bbox-part-id="9b8d6dcb-93d4-4f0f-82a7-c49351b022f9"]
  .BBFormRadioPaymentSelected {
  border-color: #012f62 !important;
  filter: none;
  background-image: none;
  background-color: #012f62 !important;
}
.BBFormContainer[data-bbox-part-id="9b8d6dcb-93d4-4f0f-82a7-c49351b022f9"]
  .BBFormTextArea {
  /*!*/
  color: #333;
  font-size: 16px !important;
  font-family: "Gantari" !important;
  text-transform: capitalize !important;
}

.BBFormRadioLabel.BBFormRadioLabelGivingLevel.BBFormRadioLabelGivingLevelSelected {
  color: #fff;
  font-family: Gantari !important;
  font-size: 31px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 37px !important; /* 119.355% */
  background: #012f62 !important;
  border-color: #012f62 !important;
}

.BBFormContainer[data-bbox-part-id="9b8d6dcb-93d4-4f0f-82a7-c49351b022f9"]
  .BBFormRadioLabelGivingLevel {
  font-size: 1.8em;
  min-width: 150px !important;
  min-height: 66px !important;
  transition: 0.4s ease all;
  border: 2px solid #012f62;
  border-radius: 6px 6px 6px 6px;
  cursor: pointer;
  display: block;
  float: left;
  padding: 12px;
  text-align: center;
  line-height: 1em;
}

.BBFormContainer[data-bbox-part-id="9b8d6dcb-93d4-4f0f-82a7-c49351b022f9"]
  .BBFormRadioLabelGivingLevelNotSelected {
  color: #012f62 !important;
  font-family: Gantari !important;
  font-size: 32px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 37px !important;
}

.BBFormContainer[data-bbox-part-id="9b8d6dcb-93d4-4f0f-82a7-c49351b022f9"]
  .BBFormRadioLabelGivingLevelNotSelected:hover {
  background: #012f62 !important;
  color: #fff !important;
}
.BBFormSectionHeading {
  color: #1b2632;
  font-family: Gantari !important;
  font-size: 2rem !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 44px !important;
  letter-spacing: 0 !important;
}
.BBFormContainer[data-bbox-part-id="9b8d6dcb-93d4-4f0f-82a7-c49351b022f9"]
  .BBFormSelectList {
  color: #333;
  font-size: 16px !important;
  font-family: "Gantari" !important;
  font-weight: 300;
  text-transform: capitalize !important;
}
.BBFormContainer[data-bbox-part-id="9b8d6dcb-93d4-4f0f-82a7-c49351b022f9"]
  .BBFormTextbox {
  color: #333;
  font-size: 16px !important;
  font-family: "Gantari" !important;
  font-weight: 300;
  text-transform: capitalize !important;
}
