/* Apply Custom Font to Headings */
h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Bricolage Grotesque', sans-serif;
}

/* Custom Scrollbar for mobile menu and other scrollable areas */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f8fafc; 
    border-radius: 4px;
}
 
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}

/* Sticky Header styling */
.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    animation: slideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Smooth HTML scroll */
html {
    scroll-behavior: smooth;
}

/* Subtle Hover effects for dropdown items */
.group:hover .group-hover\:visible {
    visibility: visible;
}
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

/* Owl Carousel Custom Arrows for Hero Slider */
.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
    transition: all 0.3s ease;
    z-index: 20;
}

.hero-slider .owl-nav button.owl-prev:hover,
.hero-slider .owl-nav button.owl-next:hover {
    background-color: #3498db !important;
}

.hero-slider .owl-nav button.owl-prev {
    left: 20px;
}

.hero-slider .owl-nav button.owl-next {
    right: 20px;
}

@media (min-width: 1024px) {
    .hero-slider .owl-nav button.owl-prev {
        left: 40px;
    }
    .hero-slider .owl-nav button.owl-next {
        right: 40px;
    }
}

/* Animations for slider content */
.hero-slider .owl-item.active h4 {
    animation: fadeInUp 0.8s ease-in-out both;
}

.hero-slider .owl-item.active h1 {
    animation: fadeInUp 1s ease-in-out both 0.2s;
}

.hero-slider .owl-item.active .flex {
    animation: fadeInUp 1.2s ease-in-out both 0.4s;
}

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

/* Custom Dots for Services Carousel */
.services-carousel .owl-dots {
    margin-top: 30px !important;
    text-align: center;
}
.services-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: #e2e8f0;
    display: block;
    transition: all 0.3s ease;
    border-radius: 20px;
}
.services-carousel .owl-dots .owl-dot.active span,
.services-carousel .owl-dots .owl-dot:hover span {
    background: #0f766e; /* primary color */
    width: 24px;
}


.counter-area .shape-1 {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 0;
    animation: Focus 2s ease-in-out infinite;
    max-width: 400px; 
}

.counter-area .shape-2 {
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 0;
    animation: FocusTwo 2s ease-in-out infinite;
    max-width: 400px; 
}

@media (min-width: 768px) {
    .counter-area .shape-1 {
        left: -100px;
        top: -100px;
        max-width: none;
    }
    .counter-area .shape-2 {
        right: -100px;
        bottom: -100px;
        max-width: none;
    }
}

@keyframes Focus {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes FocusTwo {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.1;
    }
}

@keyframes FocuSTwo {
    0% {
        transform: translateX(50%) rotate(0deg);
    }
    100% {
        transform: translateX(50%) rotate(-360deg);
    }
}

@keyframes FocuSThree {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* ---- Fade-In Up Animation ---- */
/* 1. Hide elements initially */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 2. Reveal when active/visible */
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Stagger delay for a sequential effect */
.fade-in-up[data-delay="100"] {
    transition-delay: 100ms;
}
.fade-in-up[data-delay="200"] {
    transition-delay: 200ms;
}
.fade-in-up[data-delay="300"] {
    transition-delay: 300ms;
}
.fade-in-up[data-delay="400"] {
    transition-delay: 400ms;
}

@media only screen and (max-width: 768px) {
    .services-carousel .owl-dots {
        margin-top: 2px !important;
    }
}