/* =========================
   Base Styles
========================= */
html, body {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 200;
  overflow-x: hidden; /* Avoid scrollbars caused by video */
}

/* smooth rotate */
  #languageDropdownMobile [data-chevron] {
    transition: transform .18s ease;
    display: inline-block;
  }
  /* when open, turn right chevron into down chevron */
  #languageDropdownMobile[aria-expanded="true"] [data-chevron] {
    transform: rotate(90deg);
  }





/* =========================
   Typography
========================= */
.h-font {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.text-justify-b5 {
  text-align: justify;
}

/* =========================
   Navbar
========================= */
.navbar .nav-link {
  display: flex;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0;
}

.navbar .nav-link i {
  font-size: 1.25rem;
  line-height: 1;
}

/* =========================
   Media Queries (Desktop / Large Devices)
========================= */
@media (min-width: 992px) {
  h1 { font-size: 5rem; }
  h6 { font-size: 3rem; }
}

/* =========================
   Backgrounds
========================= */
.background-video {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}

.video-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.glass-bg {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* =========================
   Logo
========================= */
.logo { width: 150px; }

/* =========================
   Swiper
========================= */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide .col-lg-3 {
  min-height: auto;
}

.swiper-pagination-bullet {
  background: #ccc !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: #007bff !important;
}

/* =========================
   Profile Card
========================= */
.profile-card {
  border-radius: 12px;
  background: #fff;
  min-width: 260px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.profile-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.profile-card h6 {
  font-size: 16px;
  color: #333;
}

.profile-card .profile-info p {
  margin: 6px 0;
  font-size: 14px;
  color: #555;
}

/* =========================
   Lightning Icon
========================= */
.lightning-icon {
  font-size: 2rem;
  color: #fff;
  text-shadow: 4px 4px 8px rgba(0,0,0,0.4);
  transform: translateY(-1px);
  transition: all 0.2s ease-in-out;
}

.rotate-180 {
  transform: rotate(90deg) translateY(-1px);
  text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
}

/* =========================
   Forms
========================= */
.form-label {
  display: block;
  margin-bottom: 5px;
}

.form-control-glass {
  display: block;
  width: 100%;
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  color: #fff !important;
  border-radius: 10px;
  padding: 10px 12px;
}

.form-control-glass::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.form-control-glass:focus {
  background-color: transparent !important;
  border-color: #FFD700 !important;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.9) !important;
  color: #fff !important;
  outline: none;
}

/* Auth modal */
.auth-modal .form-label {
  color: #fff;
  font-weight: 600;
}

.auth-modal .form-control-glass {
  font-size: 1rem;
}

.auth-modal .form-control-glass::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
}

.auth-modal .modal-content {
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* =========================
   Mobile
========================= */
@media (max-width: 576px) {
    
    h1 {
    font-size: 2.5rem; /* default for mobile/small devices */
    }

    h6 {
    font-size: 1rem; /* default for mobile/small devices */
    }

    p {
    font-size: 13px; /* Adjusted for mobile */
    }

  .logo { width: 70px; }
  .navbar { display: none; color: white; }

  .fab-wrap {
    position: fixed;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
  }

  .fab-btn {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: none;
    background: yellow;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 16px rgba(0,0,0,.3);
  }

  .mobile-menu {
    position: fixed;
    right: -22px;
    bottom: calc(90px + env(safe-area-inset-bottom));
    overflow: hidden;
    transform-origin: bottom right;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
    z-index: 999;
    min-width: 100px;
  }

  .mobile-menu.show {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    display: block;
    padding: 12px 14px;
    text-decoration: none;
    color: white;
  }

  .mobile-menu a:active { background: #000; }

  .mobile-menu .item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px; height: 55px;
    margin: 8px 0;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    opacity: 0;
    transform: translateY(8px);
    transition: transform .25s ease, opacity .25s ease;
  }

  .mobile-menu.show .item {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu.show .item:nth-child(1) { transition-delay: .02s; }
  .mobile-menu.show .item:nth-child(2) { transition-delay: .06s; }
  .mobile-menu.show .item:nth-child(3) { transition-delay: .10s; }
  .mobile-menu.show .item:nth-child(4) { transition-delay: .14s; }

  .glass-bg2 {
    background: rgba(0, 0, 0, 0.28);
    border-radius: 50%;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
  }

  .mobile-menu .item.active i { color: yellow; }
}

/* =========================
   Effects
========================= */
[data-i18n] { transition: opacity .2s ease; }
.fading { opacity: .3; }

.animated-border {
  position: relative;
  border-radius: 12px;
  padding: 20px;
}

.animated-border::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  background-size: 200% 100%;
  animation: moveLight 2s linear infinite;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  mask-composite: exclude;
}

@keyframes moveLight {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
