body {
    font-family: 'Helvetica Now Text', 'Helvetica', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400 !important;
}

.text-sage {
    color: #a9c49a;
}

.bg-dark-green {
    background-color: #032318;
}

.bg-medium-green {
    background-color: #043424;
}

.border-green-glow {
    border: 1px solid rgba(169, 196, 154, 0.2);
}

.border-green-glow:hover {
    border-color: rgba(169, 196, 154, 0.6);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-zoom-in {
    animation: zoomIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stat-gradient {
    background: linear-gradient(180deg, #63B56E 0%, #63B56E 80%, rgba(99, 181, 110, 0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.stat-number-spec {
    font-family: 'Helvetica Now Text', 'Helvetica', sans-serif;
    font-size: 100px;
    font-weight: 500;
    line-height: 1;
    background: linear-gradient(180deg, #63B56E 0%, #357c43 55%, #00150e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-align: center;
}

.stat-label-spec {
    font-family: 'Helvetica Now Text', 'Helvetica', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1.3;
}

.spec-card {
    border: 1px solid #00c765;
    border-radius: 28px;
    transition: all 0.3s ease;
}

.spec-card:hover {

    transform: translateY(-2px);
}

/* 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 */
}

.pilar-number {
    font-family: 'Helvetica Now Text', 'Helvetica', sans-serif;
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    background: linear-gradient(to top, rgba(99, 181, 110, 0) 20%, rgb(99, 181, 110) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
@media (min-width: 768px) {
    .pilar-number {
        font-size: 100px;
    }
}

.pilar-title {
    font-family: 'Helvetica Now Text', 'Helvetica', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #63B56E;
    line-height: 1.2;
}
@media (min-width: 768px) {
    .pilar-title {
        font-size: 32px;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger delays for grids/cards */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Carousel Drag-to-scroll optimizations */
#products-carousel {
    user-select: none;
    -webkit-user-select: none;
}

#products-carousel img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Ken Burns Hero Zoom Effect */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.animate-ken-burns {
    animation: kenBurns 16s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
}

/* Header link bottom border expand */
.nav-link {
    position: relative;
    padding-bottom: 2px;
}

.nav-link {
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #63B56E;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Page load fade in transition */
body {
    animation: fadeInPage 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Header hover link line transitions */
header nav a {
    position: relative;
}
header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #63B56E;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
header nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
header nav a.border-b::after, header nav a.border-b-2::after, header nav a.border-white::after {
    display: none;
}

/* Featured Card hover transitions */
#products-carousel > div {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#products-carousel > div:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* Green marker pulse animation for Leaflet active pins */
@keyframes pinPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 181, 110, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(99, 181, 110, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 181, 110, 0);
    }
}
.custom-pin-active {
    animation: pinPulse 2s infinite;
}

/* Ken Burns Hero Zoom Effect */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.animate-ken-burns {
    animation: kenBurns 16s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
}

/* Scrolled Header Background Styling */
.header-scrolled {
    background-color: rgba(3, 35, 24, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid rgba(6, 76, 53, 0.35) !important;
}

/* Mobile Header Padding Adjustments */
@media (max-width: 767px) {
    header {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }
}

/* Custom glass opacity for mobile menu drawer */
.mobile-menu-glass {
    background-color: rgba(3, 35, 24, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

/* Ensure mobile menu is hidden by default and animate using standard CSS */
#mobile-menu-drawer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all 0.3s ease-in-out !important;
}

#mobile-menu-drawer.translate-y-0 {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}