/* Custom styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom scrollbar (optional) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.glassEffect {
  /* From https://css.glass */
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

/* Monster Medium, Regular , SemiBold, Bold, italic */

@font-face {
  font-family: "MonsterMedium";
  src: url("./static/Montserrat-Medium.ttf");
}

@font-face {
  font-family: "MonsterRegular";
  src: url("./static/Montserrat-Regular.ttf");
}

@font-face {
  font-family: "MonsterBold";
  src: url("./static/Montserrat-Bold.ttf");
}

@font-face {
  font-family: "MonsterSemiBold";
  src: url("./static/Montserrat-SemiBold.ttf");
}

@font-face {
  font-family: "MonsterItalic";
  src: url("./static/Montserrat-Italic.ttf");
}

/* Plafer Bold  */

@font-face {
  font-family: "PlayfairBold";
  src: url("./Playfair_Display/static/PlayfairDisplay-Bold.ttf");
}

/* Open Sans SemiBold,  */
@font-face {
  font-family: "OpenSansSemiBold";
  src: url("./Open_Sans/static/OpenSans-SemiBold.ttf");
}

/* Responsive Utilities */
@media (max-width: 768px) {
  /* Ensure images don't overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Better touch targets for mobile */
  button,
  a {
    min-height: 44px;
    min-width: 44px;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  /* Better form inputs on mobile */
  input,
  textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Better touch targets for interactive elements */
button,
a,
input[type="submit"] {
  touch-action: manipulation;
}

/* Smooth scrolling - Lenis handles this, but keeping for fallback */
html {
  scroll-behavior: auto; /* Lenis will handle smooth scrolling */
}

/* Ensure Lenis smooth scroll works properly */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Offset for fixed navbar when scrolling */
section[id] {
  scroll-margin-top: 80px;
}

@media (max-width: 1280px) {
  section[id] {
    scroll-margin-top: 60px;
  }
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.menu-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: relative;
  z-index: 1;
}

.mobile-menu-item {
  cursor: pointer;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.mobile-menu-item.menu-item-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
  height: 100vh;
}

@media (min-width: 250px) and (max-width: 600px) {
  .footer {
 
    background-size: cover;
    background-position: left !important;
    background-repeat: no-repeat;
    height: 100vh !important;
  }
}

.crclAnim {
  animation: crclJumpTo90 1s cubic-bezier(0.45,0,0.55,1) forwards, crclRotate 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.crclAnimReverse {
  animation: crclJumpTo80 1s cubic-bezier(0.45,0,0.55,1) forwards, crclRotateReverse 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes crclJumpTo90 {
  0% {
    top: 80%;
  }
  100% {
    top: 80%;
  }
}

@keyframes crclJumpTo80 {
  0% {
    top: 80%;
  }
  
  100% {
    top: 80%;
  }
}

@keyframes crclRotate {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes crclRotateReverse {
  0% {
    transform: translateX(-50%) rotate(360deg);
  }
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
}

/* Icon transitions */
.plus-icon,
.cross-icon {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.plus-icon.hidden,
.cross-icon.hidden {
  display: none;
}

.crclLinks {
  animation: crclLinksAnime 1s ease-in-out forwards;
}

.crclLinksHide {
  animation: crclLinksHideAnime 1s ease-in-out forwards;
}

@keyframes crclLinksAnime {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes crclLinksHideAnime {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Swiper Slider Styles */
.locationSwiper {
  width: 100%;
  height: 100%;
  padding-bottom: 0;
  overflow: hidden;
}

.locationSwiper .swiper-wrapper {
  /* align-items: center; */
  display: flex;
}

.locationSwiper .swiper-slide {
  height: auto;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  width: 100%;
  flex-shrink: 0;
}

/* Custom Navigation Buttons */
.swiper-button-prev-custom,
.swiper-button-next-custom {
  position: relative;
  margin-top: 0;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.swiper-button-prev-custom::after,
.swiper-button-next-custom::after {
  display: none;
}

/* Hide default Swiper pagination if not needed */
.locationSwiper .swiper-pagination {
  display: none;
}

@media (max-width: 400px) {
  #connectivity {
    min-height: 1150px !important;
  }
  form {
    padding: 0px !important;
  }
  .footer {
    min-height: 900px !important;
  }
}

/* Performance optimizations for scroll animations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Optimize animations on mobile for better performance */
@media (max-width: 768px) {
  .locationSwiper {
    min-height: auto;
  }
  
  .locationSwiper .swiper-slide {
    padding-bottom: 20px;
  }
}

/* ============================================
   CONTACT MODAL STYLES
   ============================================ */

.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal-overlay:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.contact-modal-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(50px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  display: flex;
  flex-direction: column;
}

.contact-modal-overlay:not(.hidden) .contact-modal-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.contact-modal-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.contact-modal-overlay:not(.hidden) .contact-modal-content {
  opacity: 1;
  transform: translateY(0);
}

.contact-modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10000;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #000000;
}

.contact-modal-close-btn:hover {
  background: #000000;
  color: #ffffff;
  transform: rotate(90deg);
}

.contact-modal-content {
  display: flex;
  flex-direction: row;
  height: 100%;
  max-height: 90vh;
}

.contact-modal-image-container {
  width: 50%;
  height: 100%;
  min-height: 600px;
  overflow: hidden;
  background: #f5f5f5;
}

.contact-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-modal-form-container {
  width: 50%;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.contact-modal-title {
  font-size: 32px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.contact-modal-subtitle {
  font-size: 16px;
  color: #666666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-modal-form-group {
  width: 100%;
}

.contact-modal-input,
.contact-modal-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #D1D1D1;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'MonsterRegular', sans-serif;
  color: #111111;
  background: #ffffff;
  transition: all 0.3s ease;
  outline: none;
}

.contact-modal-input:focus,
.contact-modal-textarea:focus {
  border-color: #EAB91F;
  box-shadow: 0 0 0 3px rgba(234, 185, 31, 0.1);
}

.contact-modal-input::placeholder,
.contact-modal-textarea::placeholder {
  color: #999999;
}

.contact-modal-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: 'MonsterRegular', sans-serif;
}

.contact-modal-submit-btn {
  width: 100%;
  max-width: 200px;
  height: 50px;
  background: linear-gradient(to right, #DA8712, #EAB91F);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-top: 10px;
}

.contact-modal-submit-btn:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-modal-form-container {
    padding: 40px 35px;
  }

  .contact-modal-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .contact-modal-overlay {
    padding: 0;
  }

  .contact-modal-container {
    max-height: 100vh;
    border-radius: 0;
    width: 100%;
    height: 100vh;
  }

  .contact-modal-content {
    flex-direction: column;
    max-height: 100vh;
    height: 100vh;
  }

  .contact-modal-image-container {
    display: none;
  }

  .contact-modal-form-container {
    width: 100%;
    padding: 30px 25px;
    height: 100%;
    overflow-y: visible;
    max-height: 100vh;
  }

  .contact-modal-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .contact-modal-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .contact-modal-form {
    gap: 16px;
  }

  .contact-modal-input,
  .contact-modal-textarea {
    padding: 14px 18px;
    font-size: 16px;
  }

  .contact-modal-submit-btn {
    max-width: 100%;
    height: 48px;
  }

  .contact-modal-close-btn {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .contact-modal-image-container {
    display: none;
  }

  .contact-modal-form-container {
    padding: 25px 20px;
    height: 100%;
    overflow-y: visible;
  }

  .contact-modal-title {
    font-size: 22px;
  }

  .contact-modal-subtitle {
    font-size: 13px;
    margin-bottom: 25px;
  }
}

/* Button Hover Effect Class */
.btn-hover {
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
}

.btn-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #000000;
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-hover:hover::before {
  left: 0;
}

.btn-hover:hover {
  background-image: none !important;
  color: #ffffff !important;
}

/* Ensure text and icons inside button change color on hover */
.btn-hover:hover * {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  transition: color 0.3s ease 0.2s, fill 0.3s ease 0.2s, stroke 0.3s ease 0.2s;
}

/* Smooth transition for SVG icons inside buttons */
.btn-hover svg,
.btn-hover img {
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.btn-hover:hover svg {
  filter: brightness(0) invert(1);
}

.btn-hover2 {
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
}

.btn-hover2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-hover2:hover::before {
  left: 0;
}

.btn-hover2:hover {
  background-image: none !important;
  color: #000000 !important;
}

/* Ensure text and icons inside button change color on hover */
.btn-hover2:hover * {
  color: #000000 !important;
  fill: #000000 !important;
  stroke: #000000 !important;
  transition: color 0.3s ease 0.2s, fill 0.3s ease 0.2s, stroke 0.3s ease 0.2s;
}

.btn-hover2 svg,
.btn-hover2 img {
  position: relative;
  z-index: 1;
}




.btn-hover3 {
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, border 0.4s ease;
  z-index: 1;
}

.btn-hover3::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-hover3:hover::before {
  left: 0;
}

.btn-hover3:hover {
  border: 1px solid #000000 !important;
  color: #000000 !important;
  background-image: none !important;
}

/* Ensure text and icons inside button change color on hover */
.btn-hover3:hover * {
  color: #000000 !important;
  fill: #000000 !important;
  stroke: #000000 !important;
  transition: color 0.3s ease 0.2s, fill 0.3s ease 0.2s, stroke 0.3s ease 0.2s;
}

.btn-hover3 svg,
.btn-hover3 img {
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  
}

/* ============================================
   RESPONSE MODAL STYLES
   ============================================ */

.response-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.response-modal-overlay:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.response-modal-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(50px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.response-modal-overlay:not(.hidden) .response-modal-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.response-modal-content {
  padding: 50px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.response-modal-icon {
  margin-bottom: 10px;
  animation: scaleIn 0.5s ease-out;
}

.response-check-icon {
  animation: checkmarkDraw 0.6s ease-out 0.3s forwards;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes checkmarkDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.response-modal-title {
  font-size: 28px;
  font-weight: 600;
  color: #111111;
  margin: 0;
  text-transform: capitalize;
}

.response-modal-message {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

.response-modal-btn {
  width: 100%;
  max-width: 200px;
  height: 50px;
  background: linear-gradient(to right, #DA8712, #EAB91F);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-top: 10px;
}

.response-modal-btn:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Response Modal */
@media (max-width: 768px) {
  .response-modal-overlay {
    padding: 0;
  }

  .response-modal-container {
    max-width: 90%;
    border-radius: 15px;
  }

  .response-modal-content {
    padding: 40px 30px;
  }

  .response-modal-title {
    font-size: 24px;
  }

  .response-modal-message {
    font-size: 14px;
  }

  .response-modal-btn {
    max-width: 100%;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .response-modal-content {
    padding: 30px 20px;
  }

  .response-modal-title {
    font-size: 22px;
  }

  .response-modal-message {
    font-size: 13px;
  }
}

/* ============================================
   THANK YOU PAGE STYLES
   ============================================ */

.thank-you-container {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.thank-you-icon {
  animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.timer-number {
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .thank-you-container {
    padding: 30px 20px !important;
  }

  .thank-you-title {
    font-size: 24px !important;
  }

  .thank-you-message {
    font-size: 14px !important;
  }

  .timer-number {
    font-size: 32px !important;
  }

  .timer-unit {
    font-size: 16px !important;
  }
}

/* ============================================
   FORM LOADER STYLES (Button Only)
   ============================================ */

.form-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.form-loader.hidden {
  display: none;
}

.loader-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Button loader state */
button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  pointer-events: none;
}

/* Hide submit text when loader is visible - handled via JavaScript */