/* Global Body Styling */
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: white;
}

/* Hide Alpine x-cloak elements */
[x-cloak] {
    display: none !important;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Sora', sans-serif;
}

/* -------------------------------
   ANIMATION CLASSES
--------------------------------*/

/* Default fade-up hidden state */
.fade-up,
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fade-up active */
.fade-up.animated,
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Section-level animation */
.animate-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-section.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Zoom-in animation */
.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.zoom-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* Floating animation */
.floating-element {
    transition: transform 3s ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* -------------------------------
   ANIMATION DELAYS
--------------------------------*/
.delay-100 {
    transition-delay: 0.1s !important;
}

.delay-200 {
    transition-delay: 0.2s !important;
}

.delay-300 {
    transition-delay: 0.3s !important;
}

.delay-400 {
    transition-delay: 0.4s !important;
}

.delay-500 {
    transition-delay: 0.5s !important;
}

.delay-600 {
    transition-delay: 0.6s !important;
}

/* -------------------------------
   SCROLL & PAGE BEHAVIOR
--------------------------------*/

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

/* CSS Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* -------------------------------
   MOBILE MENU
--------------------------------*/

.mobile-menu {
    transition: all 0.3s ease-in-out;
}

body.menu-open {
    overflow: hidden;
}

/* Mobile menu layering fix */
@media (max-width: 1023px) {
    [x-data] .lg\\:hidden[x-show="true"]~* {
        pointer-events: none;
    }

    [x-cloak].lg\\:hidden[x-show="true"] {
        z-index: 9999 !important;
    }

    .lg\\:hidden.text-gray-700 {
        pointer-events: auto !important;
        z-index: 10000 !important;
    }
}

/* -------------------------------
   RESPONSIVE WIDTH HELPERS
--------------------------------*/
@media (min-width: 640px) and (max-width: 767px) {
    .sm\:w-1\/2 {
        width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .md\:w-1\/3 {
        width: 33.333333%;
    }
}

@media (min-width: 1024px) {
    .md\:w-1\/3 {
        width: 33.333333%;
    }
}

/* Mobile padding adjustment */
@media (max-width: 639px) {
    .px-3 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Smooth transform transitions */
.transition-transform {
    transition-property: transform;
    transition-duration: 500ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.values-box {
    min-height: 180px;
}


.about-image {
    border-radius: 20px;
}