/* ==========================================================================
   AEVORA GLOBAL STAFFING — Consolidated Stylesheet
   Base design tokens are derived from Home.html (the reference design)
   and unified across every page for a consistent look & feel.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* --------------------------------------------------------------------------
   1. BASE / TYPOGRAPHY
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    color: #0c0822;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   2. BRAND COLOR UTILITIES (shared across all pages)
   -------------------------------------------------------------------------- */
.brand-purple       { color: #2d1347; }
.brand-orange       { background-color: #f97316; }
.text-brand-orange  { color: #f97316; }
.brand-dark         { background-color: #0c0822; }
.text-brand-dark    { color: #0c0822; }
.bg-brand-dark      { background-color: #0c0822; }
.bg-brand-orange    { background-color: #f97316; }
.border-brand-purple{ border-color: #2d1347; }
.border-brand-orange{ border-color: #f97316; }
.clr-org{ color : #fb7607 !important; font-weight: bold; }
/* --------------------------------------------------------------------------
   3. AMBIENT / DECORATIVE BACKGROUNDS
   -------------------------------------------------------------------------- */
.premium-glow-bg {
    background: radial-gradient(circle at 85% 15%, rgba(249, 115, 22, 0.04) 0%, transparent 45%),
                radial-gradient(circle at 15% 85%, rgba(45, 19, 71, 0.05) 0%, transparent 50%),
                #ffffff;
}

.world-map-bg {
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 16px 16px;
}

/* Asymmetric premium curve boundaries */
.hero-diagonal-clip {
    border-top-left-radius: 180px;
    border-bottom-left-radius: 40px;
    overflow: hidden;
}
.hero-clip {
    border-bottom-left-radius: 240px;
    overflow: hidden;
}

/* Dashed connector line used on process/step sections */
.step-line::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: 65%;
    width: 70%;
    border-top: 2px dashed #f97316;
    opacity: 0.5;
    z-index: 0;
}
@media (max-width: 768px) {
    .step-line::after { display: none; }
    .custom_tm{ padding-top: 0px !important; }
}

/* --------------------------------------------------------------------------
   4. TRANSITIONS & MAP INTERACTION (from Home reference)
   -------------------------------------------------------------------------- */
.smooth-transition {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-fade-overlay {
    mask-image: radial-gradient(circle at 75% 35%, black 45%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at 75% 35%, black 45%, transparent 85%);
}

.map-container {
    position: relative;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.map-image {
    mix-blend-mode: multiply;
    opacity: 0.85;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.map-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 40%, rgba(45, 19, 71, 0.04) 0%, transparent 100%);
    opacity: 1;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    pointer-events: none;
}
.map-container:hover .map-image {
    opacity: 1;
    transform: scale(1.02);
}
.map-container:hover::after {
    background: radial-gradient(circle at 70% 40%, rgba(249, 115, 22, 0.18) 0%, rgba(45, 19, 71, 0.12) 60%, transparent 100%);
}

/* --------------------------------------------------------------------------
   5. MARQUEE RIBBON
   -------------------------------------------------------------------------- */
@keyframes scrollMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}
.animate-marquee {
    display: flex;
    width: max-content;
    animation: scrollMarquee 25s linear infinite;
}
.marquee-container:hover .animate-marquee {
    animation-play-state: paused;
}

/* ==========================================================================
   6. MODERN ANIMATION LIBRARY  (applied site-wide for a consistent, lively UX)
   ========================================================================== */

/* --- Hero entrance animations --- */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slowZoom {
    from { transform: scale(1.1); }
    to   { transform: scale(1); }
}
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.35); }
    50%      { box-shadow: 0 0 0 12px rgba(249, 115, 22, 0); }
}

.animate-hero-text { animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.animate-hero-img  { animation: slowZoom 2s ease-out forwards; }
.animate-fade-up   { animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-fade-in   { animation: fadeIn 1s ease forwards; }
.animate-float     { animation: floaty 5s ease-in-out infinite; }
.animate-pulse-glow{ animation: pulseGlow 2.2s ease-out infinite; }

/* --- Scroll reveal (driven by IntersectionObserver in main.js) ---
   Hiding is gated behind the .js class (added to <html> by an inline
   script in the header). If JavaScript is disabled, the .js class is
   never added, so all content stays fully visible. */
.js .reveal-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Directional reveal variants */
.js .reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.js .reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.js .reveal-zoom  { opacity: 0; transform: scale(0.94);        transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible { opacity: 1; transform: none; }

/* Staggered delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

/* ==========================================================================
   7. HOVER EFFECTS (attractive, consistent micro-interactions)
   ========================================================================== */

/* Lift + shadow on cards */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(45, 19, 71, 0.12);
}

/* Gentle scale */
.hover-scale { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.hover-scale:hover { transform: scale(1.04); }

/* Image zoom inside a fixed frame */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.img-zoom:hover img { transform: scale(1.08); }

/* Animated underline for nav / links */
.link-underline {
    position: relative;
}
.link-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #f97316;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.link-underline:hover::after { width: 100%; }

/* Button sheen + rise */
.btn-anim {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background-color 0.35s ease;
}
.btn-anim:hover { transform: translateY(-2px); }
.btn-anim::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.btn-anim:hover::before { left: 130%; }

/* Icon tile hover (used on solution/industry cards) */
.icon-tile { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.group:hover .icon-tile { transform: translateY(-4px) rotate(-4deg); }

/* --------------------------------------------------------------------------
   7b. SUCCESS STORIES — ANIMATED STAT COUNTERS
   -------------------------------------------------------------------------- */
.stat-number {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}
.counter-card { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease; }

/* --------------------------------------------------------------------------
   8. FORM FEEDBACK (contact page)
   -------------------------------------------------------------------------- */
.form-alert {
    border-radius: 0.75rem;
    padding: 0.9rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: slideInUp 0.5s ease forwards;
}
.form-alert.success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-alert.error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* --------------------------------------------------------------------------
   9. MOBILE NAV
   -------------------------------------------------------------------------- */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
#mobile-menu.open { max-height: 460px; }

/* --------------------------------------------------------------------------
   10. TYPOGRAPHY — READABILITY / MINIMUM FONT SIZE ENFORCEMENT
   The design previously relied on several very small utility text sizes
   (8px–11px and Tailwind's 12px text-xs) for captions, badges and list
   copy. These are bumped to a consistent, legible 14px baseline with a
   comfortable line-height so body copy stays readable across the site
   while keeping large display numbers/headings untouched.
   -------------------------------------------------------------------------- */
.text-\[8px\],
.text-\[9px\],
.text-\[10px\],
.text-\[11px\],
.text-xs {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Base body copy floor: anything left at the browser default should never
   render smaller than 14px on small screens. */
@media (max-width: 767px) {
    body { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   11. ACCESSIBILITY — respect reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal-on-scroll,
    .reveal-left,
    .reveal-right,
    .reveal-zoom { opacity: 1 !important; transform: none !important; }
}
