/* style.css */

/* Basic body styling for font and background */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5; /* Light gray background */
    margin-top: 80px; /* Offset for fixed header */
    
}

/* Container for consistent content width and centering */
.container {
    max-width: 1200px; /* Max width for large screens */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* Equivalent to px-4 */
    padding-right: 1rem; /* Equivalent to px-4 */
}

/* Animations */
/* Keyframes for fading in and sliding down */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes for fading in and sliding up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes for simple fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Add delays for staggered animations (e.g., for grid items) */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1.0s; }
.delay-1100 { animation-delay: 1.1s; }

/* Mouse Scroll Icon Styling */
.mouse-scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8); /* White border, slightly transparent */
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out 2s forwards; /* Fade in after hero content */
    opacity: 0; /* Start hidden for fade-in animation */
    transition: transform 0.3s ease-in-out; /* Added for smooth hover effect */
}

/* Hover effect for the mouse scroll icon */
.mouse-scroll-icon:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.mouse-scroll-icon .mouse {
    width: 6px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8); /* White scroll dot */
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnimation 1.5s infinite ease-in-out; /* Scroll animation */
}

@keyframes scrollAnimation {
    0% {
        transform: translateY(0) translateX(-50%);
        opacity: 1;
    }
    50% {
        transform: translateY(15px) translateX(-50%);
        opacity: 0;
    }
    100% {
        transform: translateY(0) translateX(-50%);
        opacity: 1;
    }
}

/* Custom circle cursor */
#customCursor {
    width: 20px;
    height: 20px;
    border: 2px solid #00cc66; /* circle color */
    border-radius: 50%;
    position: fixed;
    pointer-events: none; /* so it doesn’t block clicks */
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, background-color 0.2s;
    z-index: 9999;
}

/* Optional: grow when hovering buttons */
button:hover ~ #customCursor,
a:hover ~ #customCursor {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(0, 204, 102, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding-top: 0;
  padding-bottom: 0;
}
.faq-answer.open {
  max-height: 500px; /* adjust if needed */
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.rotate-arrow {
  transition: transform 0.3s ease;
}
.rotate-arrow.rotated {
  transform: rotate(180deg);
}