@import url('/assets/font/fonts.css'); 

:root {
    --primary: #1e3a8a;
    --primary-hover: #1d4ed8;
    --bg-light: #ffffff;
    --text-light: #1e293b;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-main);
    color: var(--text-light);
    background-color: var(--bg-light);
    transition: background-color var(--transition);
    font-family: var(--primary-font);
}


.brand-logo {
    font-family: var(--primary-font);
    font-weight: 800; /* Extra bold for the ShiftEase identity */
    text-decoration: none;
}

/* Navigation & Dropdowns */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.group:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

.text-slate-100 {
    font-weight: 900;
    letter-spacing: -0.05em;
    opacity: 0.5; /* Makes it look like a subtle background element */
}

/* Active link styling */
.nav-active {
    @apply text-blue-600 dark:text-blue-400 !important;
}

/* For mobile menu items, we can also add a background tint */
.mobile-active {
    @apply bg-blue-50 dark:bg-blue-900/20 text-blue-600 dark:text-blue-400 !important;
}

/* Desktop Active State */
.nav-active {
   color: #2563eb !important; /* blue-600 */
    position: relative;
}

.dark .nav-active {
    color: #60a5fa !important; /* blue-400 */
}

/* Optional: Add a small underline for desktop active links */
.lg\:flex .nav-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
}

/* Mobile Active State */
.mobile-active {
    background-color: #eff6ff !important; /* blue-50 */
    color: #1d4ed8 !important; /* blue-700 */
}

.dark .mobile-active {
    background-color: rgba(30, 58, 138, 0.2) !important; /* blue-900/20 */
    color: #60a5fa !important; /* blue-400 */
}


/* 404 page css */

    /* Use min-h-screen so the page can expand if content is tall */
    body { font-family: 'Plus Jakarta Sans', sans-serif; }
    
    /* Animation for the floating icon */
    .float { animation: floating 3s ease-in-out infinite; }
    @keyframes floating {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-15px); }
        100% { transform: translateY(0px); }
    }


    /* FAQ CSS */

      .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out, padding 0.3s ease;
        }
        .accordion-item.active .accordion-content {
            max-height: 200px; /* Adjust based on content */
            padding-bottom: 1.5rem;
        }
        .accordion-item.active .chevron {
            transform: rotate(180deg);
        }

/* CONTACT CSS */
  .map-container { filter: grayscale(100%) invert(90%) contrast(90%); }
        .dark .map-container { filter: grayscale(100%) invert(100%) contrast(90%); }

/* 
BLOG DETAILS PAGE */
         .prose blockquote p { font-style: italic; }



         

         @keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 30px); }
}

.animate-float {
    animation: float 8s ease-inline-out infinite;
}

/* This makes the glow feel alive and "breathing" */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.animate-pulse {
    animation: pulse-slow 12s ease-in-out infinite;
}



 /* Modern Particle Canvas Background */
        #particle-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
            background: radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.05) 0%, transparent 80%);
        }

        /* Dark mode adjustment for canvas */
        .dark #particle-canvas {
            background: radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.2) 0%, rgba(2, 6, 23, 1) 100%);
        }

        /* Glassmorphism for sections */
        .glass-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .dark .glass-card {
            background: rgba(30, 41, 59, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Ensure blobs are visible throughout the scroll */
.bg-blob {
    position: fixed; /* Changed from absolute to fixed so they stay while scrolling */
    width: 600px;
    height: 600px;
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1; /* Keep behind all content */
    pointer-events: none;
}



/* ABOUT PAGE ANIMATION */

@layer utilities {
    .animate-blob-slow {
        animation: blob-move 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
    }
    .animate-blob-reverse {
        animation: blob-move-reverse 25s infinite alternate ease-in-out;
    }
    .animate-blob-fast {
        animation: blob-float 15s infinite alternate ease-in-out;
    }
}

@keyframes blob-move {
    0% { transform: translate(0px, 0px) scale(1) rotate(0deg); }
    33% { transform: translate(100px, 150px) scale(1.2) rotate(90deg); }
    66% { transform: translate(-50px, 250px) scale(0.8) rotate(180deg); }
    100% { transform: translate(0px, 0px) scale(1) rotate(360deg); }
}

@keyframes blob-move-reverse {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(-150px, -100px) scale(1.3); }
    100% { transform: translate(50px, 50px) scale(0.9); }
}

@keyframes blob-float {
    0% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-100px) scale(1.1); opacity: 0.6; }
    100% { transform: translateY(0) scale(1); opacity: 0.3; }
}

/* Glassmorphism for the timeline or cards if needed */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}





/* --- PARTICLE ANIMATION STYLES --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Sits behind text but above the background gradient */
    pointer-events: none; /* Allows users to click through to buttons */
    opacity: 0.5;
}

/* Ensure sections are transparent so we can see particles */
body.animate-gradient section {
    background-color: transparent !important;
    position: relative;
    z-index: 1; /* Content stays above particles */
}




/* --- ShiftEase Home Page Exclusive Styles --- */

/* Forces transparency ONLY when the body has the 'home-exclusive' class */
body.home-exclusive section, 
body.home-exclusive main,
body.home-exclusive .bg-white,
body.home-exclusive .dark\:bg-slate-950 {
    background-color: transparent !important;
}

/* Particle Canvas Styling */
#tech-particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Set to 10 so it floats in front of backgrounds but behind buttons */
    pointer-events: none;
}

/* Ensure content stays clickable and visible */
body.home-exclusive .relative.z-20 {
    z-index: 30 !important;
}


/* Specific fix for the ShiftEase Nav Bar */
body.home-exclusive nav {
    background-color: rgba(255, 255, 255, 0.8) !important; /* Light mode glass */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.dark body.home-exclusive nav {
    background-color: rgba(15, 23, 42, 0.8) !important; /* Dark mode glass */
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}





/* Styling for the cards on the home page specifically */
body.home-exclusive .bg-white.p-8.rounded-\[2rem\] {
    background-color: rgba(255, 255, 255, 0.6) !important; /* Semi-transparent white */
    backdrop-filter: blur(8px); /* Frosted glass effect */
    border: 2px solid rgba(148, 163, 184, 0.4) !important; /* Visible Slate-400 border with opacity */
    transition: all 0.3s ease;
}

/* Dark mode adjustment for the same cards */
.dark body.home-exclusive .bg-white.p-8.rounded-\[2rem\] {
    background-color: rgba(30, 41, 59, 0.5) !important; /* Dark Slate background */
    border: 2px solid rgba(255, 255, 255, 0.15) !important; /* Light border for dark mode */
}

/* Hover effect to make the border "glow" or darken */
body.home-exclusive .bg-white.p-8.rounded-\[2rem\]:hover {
    border-color: #1e40af !important; /* Blue-800 border on hover */
    transform: translateY(-5px);
}

/* Styling for the 2nd feature grid on the home page */
body.home-exclusive .grid-cols-2 .bg-white.p-6 {
    background-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Making the border more visible as requested */
    border: 2px solid rgba(148, 163, 184, 0.5) !important; 
    transition: all 0.3s ease;
}

/* Dark mode adjustment */
.dark body.home-exclusive .grid-cols-2 .bg-white.p-6 {
    background-color: rgba(30, 41, 59, 0.5) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

/* Hover state for better interactivity */
body.home-exclusive .grid-cols-2 .bg-white.p-6:hover {
    border-color: #3b82f6 !important; /* ShiftEase Blue */
    transform: scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Floating Animation for ShiftEase Hero Images */
@keyframes float {
    0% { transform: rotate(3deg) translateY(0px); }
    50% { transform: rotate(3deg) translateY(-20px); }
    100% { transform: rotate(3deg) translateY(0px); }
}

.floating-image {
    animation: float 6s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effect: Straighten and Scale */
.floating-image:hover {
    animation-play-state: paused; /* Optional: stop floating when interacting */
    transform: rotate(0deg) scale(1.05) !important;
    box-shadow: 0 40px 60px -15px rgba(0, 0, 0, 0.2);
}

/* Dark mode shadow adjustment */
.dark .floating-image:hover {
    box-shadow: 0 40px 60px -15px rgba(0, 0, 0, 0.6);
}


/* Make section dividers visible in Light Mode */
 /* section.py-16, section.py-24 {
    border-top: 1px solid rgba(148, 163, 184, 0.2);  Subtle slate line 
    position : relative;
} */

/* Add a very subtle gradient transition between sections in Light Mode */
/* body:not(.dark) section.py-16::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.2), transparent);
} */

/* Ensure Dark Mode stays as is, or adjust if needed */
/* .dark section.py-16, .dark section.py-24 {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
} */