/* ==================================================
=============== Universal Property ===============
================================================== */
:root {
  --hsd-primary: #4a90e2;
  --hsd-secondary: #50e3c2;
  --hsd-background: #f5f7fa;
  --hsd-card: #ffffff;
  --hsd-text: #2c3e50;
  --hsd-accent: #ffb547;
}

body {
  background-color: var(--hsd-background);
  color: var(--hsd-text);
  font-family: "Inter", sans-serif;
}

/* ==================================================
============== Direction Awareness Btn ==============
================================================== */
.hsd_btn_aware {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: #ffffff;
  color: #000000;
  border: 1.5px solid #000000;
  transition: color 0.4s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hsd_btn_aware::before {
  content: "";
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 0;
  height: 0;
  background: #000000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s ease,
    height 0.6s ease;
  z-index: -1;
}

.hsd_btn_aware:hover {
  color: #ffffff;
}

.hsd_btn_aware:hover::before {
  width: 800px;
  height: 800px;
}

/* ==================================================
================== Header Section ==================
================================================== */
.hsd_nav_link.active .hsd_active_line {
  width: 100% !important;
}

.hsd_nav_link:hover {
  color: #4a90e2 !important;
}

.hsd_nav_item_mobile.active {
  color: #ffffff !important;
}

.hsd_nav_item_mobile.active .hsd_mobile_indicator {
  background-color: #4a90e2 !important;
}

#hsd_mobile_menu a,
#hsd_mobile_menu button {
  transition: all 0.3s ease;
}

/* ==================================================
================== Home Page ==================
================================================== */

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.animate-slow-zoom {
  animation: slowZoom 10s linear infinite alternate;
}

.index_slide.active {
  opacity: 1;
  z-index: 20;
}

.index_slide {
  z-index: 10;
}

.index_section_title {
  line-height: 0.9;
}

.fancybox__container {
  z-index: 99999 !important;
}

.index_gallery_wrapper {
  perspective: 1000px;
  z-index: 1;
}

.index_gallery_wrapper:hover {
  z-index: 50;
}

.group\/main:hover .index_gallery_wrapper:not(:hover) {
  opacity: 0.4;
  filter: grayscale(20%);
}

@keyframes wifi-wave {
  0% {
    clip-path: inset(100% 0 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes water-drip-real {
  0% {
    transform: translateY(0) scale(0.5) rotate(45deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(40px) scale(1.2) rotate(45deg);
    opacity: 0;
  }
}

@keyframes faucet-tilt {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes lift-travel {
  0% {
    transform: translateY(15px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(15px);
  }
}

@keyframes car-entry {
  0% {
    transform: translateX(-60px);
    opacity: 0;
  }
  70% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.index_water_drop {
  width: 12px;
  height: 12px;
  background-color: #4a90e2;
  top: 35px;
  left: 12px;
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
  pointer-events: none;
}

.index_ani_water {
  position: relative;
  z-index: 2;
}

.group:hover .index_ani_wifi {
  animation: wifi-wave 1s infinite linear;
}

.group:hover .index_water_drop {
  opacity: 1;
  animation: water-drip-real 1s infinite linear;
  margin-left: 16px;
  line-height: 0;
  background-color: white;
  animation: water-drip-real 0.5s infinite linear;
}

.group:hover .index_ani_lift {
  animation: lift-travel 3s infinite ease-in-out;
}

.group:hover .index_ani_car {
  animation: car-entry 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.index_icon_wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ==================================================
================== About Page ==================
================================================== */

.hsd_common_compact_hero {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 450px;
  background-color: #2c3e50;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 4px solid #4a90e2;
}

.hsd_abstract_shape {
  position: absolute;
  background: rgba(74, 144, 226, 0.1);
  z-index: 11;
}

.hsd_shape_circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  top: -100px;
  right: 0px;
  border: 2px solid rgba(255, 255, 255, 0.05);
}

.hsd_shape_triangle {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 150px solid rgba(74, 144, 226, 0.05);
  transform: rotate(-15deg);
}

/* ==================================================
================== Gallery Page ==================
================================================== */

.gallery_card_item {
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  position: relative;
}

/* Hover પર કાર્ડ સીધું થશે અને ઉપર આવશે */
.gallery_card_item:hover {
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 50 !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ગ્રેડિયન્ટ ઓવરલે જે નીચેથી ઉપર આવશે */
.gallery_card_item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(74, 144, 226, 0.9) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallery_card_item:hover::after {
  opacity: 1;
}

/* ઈમેજ થોડી ઝૂમ થશે */
.gallery_card_item img {
  transition: transform 0.6s ease;
}

.gallery_card_item:hover img {
  transform: scale(1.1);
}

/* ટેક્સ્ટ કન્ટેન્ટ માટે */
.gallery_info_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: white;
  z-index: 5;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
  text-align: left;
}

.gallery_card_item:hover .gallery_info_overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery_info_overlay h4 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 1px;
}

.gallery_info_overlay span {
  font-size: 10px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 2px;
}
