
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}
/* ── Global Font Settings ── */
html {
    scroll-behavior: smooth;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.icon-fill {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Hide scrollbar for sliders ── */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ── Slider containers ── */
.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 2rem;
    padding-bottom: 2rem;
    padding-top: 1rem;
}

.slider-item {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Item widths for different screen sizes */
.slider-item-1 {
    width: 100%;
}

.slider-item-2 {
    width: calc(50% - 1rem);
}

.slider-item-3 {
    width: calc(33.333% - 1.33rem);
}

@media (max-width: 1024px) {
    .slider-item-3 {
        width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .slider-item-3,
    .slider-item-2 {
        width: 100%;
    }
}

/* ── Animations & Keyframes ── */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(12px) scale(1.04);
    }
}

@keyframes morphOrganic {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 40% 60% 70% 30% / 50% 60% 40% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

@keyframes pulseSubtle {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(142, 198, 63, 0.35);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(142, 198, 63, 0);
    }
}

@keyframes shimmerEffect {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

/* Animation Utility Classes */
.animate-float {
    animation: floatSlow 6s ease-in-out infinite;
}

.animate-float-reverse {
    animation: floatReverse 7s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulseSubtle 3s infinite;
}

/* ── Scroll Reveal Animations ── */
.reveal {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-down {
    transform: translateY(-30px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.92);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger Delays */
.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; }
.delay-600 { transition-delay: 600ms; }

/* ── Header Sticky Effect ── */
header.scrolled {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.95);
}

/* ── Interactive Card Enhancements ── */
.shadow-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Service Card Hover Fix ── */
.service-card {
    background-color: #ffffff;
    transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.service-card:hover {
    background-color: #8ec63f !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 45px -10px rgba(142, 198, 63, 0.38) !important;
}

.service-card .service-title {
    color: #8ec63f;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #ffffff !important;
}

.service-card .service-desc {
    color: #64748b;
    transition: color 0.3s ease;
}

.service-card:hover .service-desc {
    color: rgba(255, 255, 255, 0.92) !important;
}

.service-card .service-link {
    color: #8ec63f;
    font-weight: 700;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-link {
    color: #ffffff !important;
}

.service-card .service-icon {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: #ffffff !important;
    color: #8ec63f !important;
    transform: rotate(6deg);
}

.shadow-card:hover {
    box-shadow: 0 25px 50px -12px rgba(142, 198, 63, 0.18);
}

/* ── Team Card & Organic Blobs ── */
.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem 1.5rem;
}

.team-blob {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 1.25rem;
}

.team-blob::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #8ec63f; /* primary */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: 0;
    animation: morphOrganic 8s ease-in-out infinite;
    transition: all 0.6s ease;
}

.team-blob:hover::before {
    background-color: #7ab32d;
    transform: scale(1.05);
}

.team-blob img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.team-blob:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* ── Scroll Down Arrow ── */
.scroll-arrow {
    animation: fadeInUp 1.2s ease-out 0.5s both;
    text-decoration: none;
}

.scroll-arrow:hover .material-symbols-outlined {
    animation: none;
    transform: translateY(4px);
    transition: transform 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Marquee Animations ── */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.animate-marquee {
    animation: marquee 35s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.animate-marquee-reverse {
    animation: marqueeReverse 35s linear infinite;
}

.animate-marquee-reverse:hover {
    animation-play-state: paused;
}
