@font-face {
  font-family: "f_inter";
  src: url("/fonts/Inter_24pt-Regular.ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "f_inter";
  src: url("/fonts/Inter_24pt-Bold.ttf");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "f_inter";
  src: url("/fonts/Inter_24pt-SemiBold.ttf");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --var-color-1: #ffffff;
  --var-color-2: #000000;
  --var-color-3: #30C1F0;
  --var-color-4: #F3F3F3;
  --var-color-5: #002B5B;
  --var-background-color: #F3F3FB;
  --var-max-width: 1440px;
  --var-horizontal-padding: 25px;
  --var-vertical-padding: 20px;
  /* Modern CSS variables for better design */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 25px;
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s ease-in-out;
  --transition-slow: 0.35s ease-in-out;
}
@media (max-width: 1080px) {
  :root {
    --var-horizontal-padding: 15px;
  }
}

html, body {
  background-color: var(--var-background-color);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "f_inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: all var(--transition-normal);
}

*::before,
*::after {
  box-sizing: border-box;
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
li {
  list-style: none;
}

a {
  color: unset;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button,
input {
  background-color: unset;
  border: unset;
  outline: unset;
  font-family: inherit;
}

button {
  cursor: pointer;
  transition: all var(--transition-fast);
}

input {
  transition: all var(--transition-fast);
}

/* Utility classes for better cross-browser support */
.gap-fallback {
  margin: -10px;
}
.gap-fallback > * {
  margin: 10px;
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
  .safari-gap-fix {
    display: flex;
  }
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
}

/* White Content Box */
.hero-white-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 1024px) {
  .hero-white-box {
    padding: 3rem;
  }
}

/* Benefits Block */
.hero-benefits {
  position: relative;
}

.hero-benefits::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  z-index: 1;
}

.hero-benefits-content {
  position: relative;
  z-index: 10;
  padding: 1.5rem;
}

.benefit-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Reviews Slider */
.reviews-swiper {
  padding: 0 0 3rem 0;
  overflow: visible;
}

.reviews-swiper .swiper-wrapper {
  align-items: center;
}

.reviews-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-swiper .swiper-slide-active {
  transform: scale(1);
}

.reviews-swiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.7;
  transform: scale(0.95);
}

.review-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  height: auto;
  width: 100%;
  max-width: 500px;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

.review-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.review-avatar img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
}

/* Swiper Pagination Customization */
.reviews-swiper .swiper-pagination {
  position: relative;
  margin-top: 1.5rem;
}

.reviews-swiper .swiper-pagination-bullet {
  background: #d1d5db;
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
  margin: 0 4px;
}

.reviews-swiper .swiper-pagination-bullet-active {
  background: #30C1F0;
  transform: scale(1.5);
}

.reviews-swiper .swiper-pagination-bullet-active-main {
  background: #30C1F0;
}

.reviews-swiper .swiper-pagination-bullet-active-prev,
.reviews-swiper .swiper-pagination-bullet-active-next {
  background: #9ca3af;
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Custom Gradient Button Styles */
.gradient-button {
  background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 50%, #06B6D4 100%);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  border: none;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gradient-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
  background-position: 100% 0;
}

.gradient-button:active {
  transform: translateY(0);
}

.gradient-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.gradient-button:hover::before {
  left: 100%;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* Specific button overrides */
.modal_fade,
[data-modal] {
  /* background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 50%, #06B6D4 100%) !important; */
  background-size: 200% 200% !important;
  animation: gradientShift 3s ease infinite !important;
  border: none !important;
}

.modal_fade:hover,
[data-modal]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4) !important;
  background-position: 100% 0 !important;
}

/* Form submit buttons */
input[type="submit"],
button[type="submit"] {
  background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 50%, #06B6D4 100%) !important;
  background-size: 200% 200% !important;
  animation: gradientShift 3s ease infinite !important;
  border: none !important;
  color: white !important;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4) !important;
  background-position: 100% 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-white-box {
    padding: 1.5rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .benefit-icon {
    width: 3rem;
    height: 3rem;
  }
}

/* Mobile Hero Section Styles */
@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 1rem 0;
  }
  
  .hero-white-box {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .hero-benefits {
    margin-top: 1.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .hero-benefits-content {
    padding: 1rem;
  }
  
  .benefit-card {
    margin-bottom: 1rem;
  }
  
  .benefit-icon {
    width: 3rem;
    height: 3rem;
  }
  
  /* Change grid layout for tablets */
  .hero-benefits-content .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 1.5rem 0;
  }
  
  .hero-white-box {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-benefits-content {
    padding: 0.75rem;
  }
  
  .benefit-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .benefit-icon i {
    font-size: 1rem;
  }
  
  .benefit-card div:not(.benefit-icon) {
    font-size: 0.875rem;
  }
  
  .benefit-card .text-xl {
    font-size: 1rem;
  }
  
  .benefit-card .text-sm {
    font-size: 0.75rem;
  }
  
  /* Change grid layout for mobile - 2 columns */
  .hero-benefits-content .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 1rem 0;
  }
  
  .hero-white-box {
    padding: 0.75rem;
    border-radius: 1rem;
  }
  
  .hero-benefits {
    margin-top: 1rem;
  }
  
  .hero-benefits-content {
    padding: 0.5rem;
    border-radius: 1rem;
  }
  
  .benefit-icon {
    width: 2rem;
    height: 2rem;
  }
  
  .benefit-icon i {
    font-size: 0.875rem;
  }
  
  .benefit-card div:not(.benefit-icon) {
    font-size: 0.75rem;
  }
  
  .benefit-card .text-xl {
    font-size: 0.875rem;
  }
  
  .benefit-card .text-sm {
    font-size: 0.625rem;
  }
  
  /* Change grid layout for small mobile - 2 columns */
  .hero-benefits-content .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
}

/* Mobile Button Styles */
@media (max-width: 768px) {
  .gradient-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 1rem;
  }
  
  .gradient-button i {
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .gradient-button {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 0.75rem;
  }
  
  .gradient-button i {
    font-size: 0.75rem;
  }
}

/* Mobile Text Styles */
@media (max-width: 768px) {
  .hero-white-box h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  
  .hero-white-box p {
    font-size: 1.125rem;
    line-height: 1.5;
  }
}

@media (max-width: 640px) {
  .hero-white-box h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  
  .hero-white-box p {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* Mobile Reviews Slider Styles */
@media (max-width: 768px) {
  .reviews-swiper {
    padding: 0 0 2rem 0;
  }
  
  .review-card {
    padding: 1rem;
    border-radius: 1rem;
  }
  
  .review-avatar {
    width: 3rem;
    height: 3rem;
  }
  
  .review-avatar img {
    width: 3rem;
    height: 3rem;
  }
  
  .review-card p {
    font-size: 0.875rem;
    line-height: 1.4;
  }
}

@media (max-width: 640px) {
  .reviews-swiper {
    padding: 0 0 1.5rem 0;
  }
  
  .review-card {
    padding: 0.75rem;
    border-radius: 0.75rem;
  }
  
  .review-avatar {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .review-avatar img {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .review-card p {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  
  .reviews-swiper .swiper-pagination {
    margin-top: 1rem;
  }
  
  .reviews-swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 3px;
  }
}

/* Additional Mobile Layout Fixes */
@media (max-width: 768px) {
  /* Force single column layout for very small screens */
  .hero-benefits-content .grid.grid-cols-2.lg\\:grid-cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Ensure proper spacing */
  .hero-benefits-content .grid > div {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  /* Single column for very small screens */
  .hero-benefits-content .grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  
  .hero-benefits-content .grid > div {
    margin-bottom: 0.75rem;
  }
  
  /* Adjust benefit cards for single column */
  .benefit-card {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 1rem;
  }
  
  .benefit-icon {
    flex-shrink: 0;
    margin: 0;
  }
  
  .benefit-card div:not(.benefit-icon) {
    text-align: left;
  }
}

/* Navigation Search Styles */
#nav-service-search {
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.5rem 2.5rem 0.5rem 2.5rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  width: 16rem;
}

#nav-service-search:focus {
  outline: none;
  border-color: #30C1F0;
  box-shadow: 0 0 0 3px rgba(48, 193, 240, 0.1);
}

#nav-search-results {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 50;
  max-height: 24rem;
  overflow-y: auto;
}

#nav-search-results-list .p-3:hover {
  background-color: #f9fafb;
}

/* Mobile responsive for navigation search */
@media (max-width: 1024px) {
  #nav-service-search {
    width: 12rem;
  }
}

@media (max-width: 768px) {
  #nav-service-search {
    width: 10rem;
    font-size: 0.75rem;
    padding: 0.375rem 2rem 0.375rem 2rem;
  }
}
