@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Premium Warm Dry Cream & Dark Espresso Palette */
  --primary-hsl: 265, 85%, 57%;
  --secondary-hsl: 320, 85%, 60%;
  --accent-hsl: 195, 85%, 50%;
  --dark-hsl: 30, 12%, 12%;
  /* Sophisticated Dark Espresso #1F1C1A */
  --light-hsl: 42, 28%, 94%;
  /* Premium Muted Dry Cream #F5F2EB */
  --gray-hsl: 30, 9%, 38%;
  /* Warm Slate Gray #615B55 */

  --primary: hsl(var(--primary-hsl));
  --secondary: hsl(var(--secondary-hsl));
  --accent: hsl(var(--accent-hsl));
  --dark: hsl(var(--dark-hsl));
  --light: hsl(var(--light-hsl));
  --gray: hsl(var(--gray-hsl));

  /* Gradient Palettes */
  --grad-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --grad-soft: linear-gradient(135deg, rgba(var(--primary-hsl), 0.1), rgba(var(--secondary-hsl), 0.1));
  --grad-bg-radial: radial-gradient(circle at 80% 20%, rgba(var(--secondary-hsl), 0.15) 0%, rgba(var(--primary-hsl), 0.05) 50%, transparent 100%);
  --grad-cyan-pink: linear-gradient(135deg, rgba(165, 243, 252, 0.4) 0%, rgba(251, 207, 232, 0.4) 100%);
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Global Dry Cream Background Theme Overrides */
body,
section,
#hero,
#about,
#showcase {
  background-color: var(--light) !important;
}

/* Slightly deeper dry cream tone for alternate sections */
#services,
#process,
#testimonials,
#contributions {
  background-color: #eae6dc !important;
  /* HSL 42, 20%, 89% */
}

/* Glassmorphism Header */
.glass-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  transition: all 0.3s ease-in-out;
}

.glass-header.scrolled {
  background: rgba(245, 242, 235, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px -10px rgba(30, 20, 10, 0.06);
  border-bottom: none;
}

/* Interactive Calendar Custom Styles (Static layout styling) */
.calendar-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
}

.calendar-grid span:hover:not(.empty-day):not(.active-day) {
  background-color: rgba(var(--primary-hsl), 0.1);
  color: var(--primary);
}

.calendar-grid span.active-day {
  background: var(--grad-primary);
  color: white;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(var(--primary-hsl), 0.3);
}

/* Hero, Services, and Contributions wrapper background integrations */
#hero-contributions-wrapper,
#services-hero-wrapper {
  background: radial-gradient(circle at 80% 20%, rgba(216, 27, 96, 0.08) 0%, rgba(130, 92, 241, 0.04) 40%, var(--light) 100%) !important;
  position: relative;
}

#hero-contributions-wrapper #hero,
#hero-contributions-wrapper #contributions,
#services-hero-wrapper #services-hero {
  background-color: transparent !important;
}

/* Crisp Gradient Cloud Shape behind Hero */
.crisp-gradient-doughnut {
  position: absolute;
  right: -250px;
  top: -150px;
  width: 950px;
  height: 850px;
  border-radius: 40% 60% 60% 40% / 50% 60% 40% 50%;
  background: linear-gradient(135deg, rgba(216, 27, 96, 0.35) 0%, rgba(130, 92, 241, 0.3) 50%, rgba(63, 165, 233, 0.25) 100%);
  filter: blur(90px);
  z-index: 1;
  pointer-events: none;
}

.crisp-gradient-doughnut::after {
  content: none;
}

@media (max-width: 991px) {
  .crisp-gradient-doughnut {
    display: none;
  }
}

/* Premium 3D Floating Animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-none {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Show all services utility override */
.show-all-services .service-card {
  display: flex !important;
}

/* Show all showcase projects utility override */
.show-all-showcase .showcase-card {
  display: flex !important;
}

/* Show all testimonials utility overrides */
.show-all-testimonials .showcase-testimonial-extra {
  display: flex !important;
}

.show-all-testimonials {
  overflow-x: auto !important;
  justify-content: flex-start !important;
}

/* Interactive Dropdown Click Overrides */
.dropdown-open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
  pointer-events: auto !important;
}

.chevron-rotate {
  transform: rotate(180deg) !important;
}

/* Hover Bridge to prevent dropdown closure when moving cursor over the gap */
#more-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}