:root {
    --primary-purple: #0047AB;
    /* Now Cobalt Blue */
    --soft-pink: #f8a5c2;
    --soft-blue: #7ed6df;
    --soft-yellow: #f9ca24;
    --bg-gradient: linear-gradient(135deg, #fdfcfb 0%, #dbeafe 100%);
    /* Blue tint */
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg-gradient);
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

/* Navbar Scrolled State */
nav {
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Mobile Menu */
.mobile-menu-container {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu-open .mobile-menu-container {
    transform: translateX(0);
}

.hamburger {
    cursor: pointer;
    display: none;
    /* Hidden on desktop by default via Tailwind */
    z-index: 50;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.count-up {
    display: inline-block;
}

/* Utility / Section Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}

/* Enhancing existing styles */
.btn-gradient {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

/* Testimonial Transition */
.testimonial-fade {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links-desktop {
        display: none !important;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px) scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-15px) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translateY(0px) scale(0.95);
        opacity: 0.8;
    }
}

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

.animate-float-delay-1 {
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

.animate-float-delay-2 {
    animation: float 8s ease-in-out infinite;
    animation-delay: 2s;
}

/* Infinite Scroller */
.scroller-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scroller-content {
    display: inline-flex;
    animation: scroll 30s linear infinite;
    gap: 4rem;
}

.scroller-item {
    font-size: 2.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px #e5e7eb;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loaderimg img {
    border: none;
    border-radius: 0%;
    width: 50px;
    height: 70px;
    animation: float 6s linear infinite;
}

.loader-text {
    animation: fadeIn 1s ease-out;
}

/* Background Icons */
.loader-bg-icon {
    position: absolute;
    color: #0047AB;
    /* Brand Primary */
    opacity: 0.05;
    font-size: 3rem;
    animation: drift 8s infinite alternate ease-in-out;
}

.icon-1 {
    top: 15%;
    left: 15%;
    font-size: 4rem;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 15%;
    right: 15%;
    font-size: 5rem;
    animation-delay: 2s;
}

.icon-3 {
    top: 20%;
    right: 20%;
    font-size: 3.5rem;
    animation-delay: 4s;
}

.icon-4 {
    bottom: 25%;
    left: 10%;
    font-size: 4rem;
    animation-delay: 1s;
}

.icon-5 {
    top: 10%;
    left: 50%;
    font-size: 3rem;
    animation-delay: 3s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }

    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

@keyframes drift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(30px, -30px) rotate(10deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}