:root {
  --primary-color: #ff914d;
  --primary-hover: #ff6b35;
  --accent-color: #ffa66a;
  --background-light: #fff5eb;
  --text-dark: #1f2937;
}
html {
  scroll-behavior: smooth;
}
header nav a {
  font-size: 1.2rem;
}
body {
  font-family: "Baloo 2", cursive, sans-serif;
  background: linear-gradient(135deg, #fff5eb, #fceabb);
  color: var(--text-dark);
}
/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--background-light);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid var(--primary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Success Overlay (hidden by default) */
.overlay-success {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.overlay-success.active {
  opacity: 1;
  pointer-events: all;
}
.success-message {
  background: #fff;
  padding: 2rem 3rem;
  border-radius: 1rem;
  text-align: center;
}
/* Sticky Header */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.sticky-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Mobile Menu with Slide Down */
.mobile-menu {
  display: none;
}
@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }
  .desktop-menu {
    display: none;
  }
  #mobileNav {
    transition: max-height 0.5s ease;
    overflow: hidden;
    /*max-height: 0;*/
  }
  #mobileNav.show {
    max-height: 300px;
  }
}
/* Hero Section */
.hero-bg {
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url("./img/banner.jpg");
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.75;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}
/* Section Border */
.section-border {
  border-top: 5px solid var(--primary-color);
}
/* Button */
.button-primary {
  background-color: var(--primary-color);
  color: #fff;
}
.button-primary:hover {
  background-color: var(--primary-hover);
}
.button-loading {
  cursor: not-allowed;
}
/* Card Hover */
.card-hover:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}
/* Back-to-Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  display: none;
  z-index: 100;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#backToTop:hover {
  background-color: var(--primary-hover);
}
/* Improved WhatsApp Icon */
.whatsapp-icon {
  position: fixed;
  bottom: 100px; /* Positioned above the Back-to-Top button */
  right: 30px;
  background-color: #25d366;
  color: white;
  padding: 0.75rem;
  border-radius: 9999px;
  z-index: 110;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.whatsapp-icon:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}
/* Responsive Typography */
@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}
/* Active Navigation Link (ScrollSpy) */
.nav-active {
  color: var(--primary-color) !important;
  font-weight: bold;
}
/* Custom Scrollbar Styling for WebKit Browsers */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: #fceabb;
}
::-webkit-scrollbar-thumb {
  background-color: #ff914d;
  border-radius: 6px;
  border: 3px solid #fceabb;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #ff6b35;
}

/* Custom Scrollbar Styling for Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #ff914d #fceabb;
}
.whatsapp-icon {
  position: fixed;         /* This fixes the element in place */
  bottom: 100px;           /* 100px from the bottom of the viewport */
  right: 30px;             /* 30px from the right of the viewport */
  background-color: #25D366;
  color: white;
  padding: 0.75rem;
  border-radius: 50%;      /* Makes it circular */
  z-index: 110;            /* Ensures it appears above other content */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-icon:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;                /* Adjust the size as needed */
  height: 3rem;
  transition: all 0.3s ease;  /* Smooth transition on hover */
}

.social-icon:hover {
  transform: scale(1.1);
}


