/* ============================================
   CUSTOM SYSCHOO STYLES - Consolidated CSS
   All inline styles from all pages merged here
   ============================================ */

/* CSS Variables */
:root {
    --syschoo-blue: #004e98;
    --syschoo-orange: #ff6b35;
    --syschoo-purple: #6247aa;
    --syschoo-green: #1a936f;
    --primary-50: #f0f9ff;
    --accent-50: #fdf4ff;
}

/* Typography */
html {
    scroll-behavior: smooth;
    font-family: Inter, sans-serif;
    line-height: 1.5;
}

html[style*="scroll-behavior"] {
    scroll-behavior: smooth !important;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    line-height: inherit;
    font-size: 14px;
    /* Reduced by 2px from default 16px */
}

.font-display {
    font-family: 'Poppins', sans-serif;
}

.font-sans {
    font-family: Inter, sans-serif;
}

/* Page Content Transitions */
.page-content {
    transition: opacity 0.1s ease-out;
}

.page-content.fade-out {
    opacity: 0;
}

/* Premium Luxury Page Transition Animation */
.main-content-wrapper {
    animation: premiumPageTransition 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

@keyframes premiumPageTransition {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

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

/* Content transition animations - Dynamic and Fast */
.content-fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for fast sequential appearance */
.stagger-1 {
    transition-delay: 0.02s;
}

.stagger-2 {
    transition-delay: 0.04s;
}

.stagger-3 {
    transition-delay: 0.06s;
}

.stagger-4 {
    transition-delay: 0.08s;
}

.stagger-5 {
    transition-delay: 0.1s;
}

/* Navigation Styles */
nav a span {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

nav a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    -webkit-tap-highlight-color: rgba(255, 107, 53, 0.1);
}

nav a:hover {
    transform: translateY(-1px);
    color: #ff6b35 !important;
}

nav a:active {
    transform: translateY(0px) scale(0.99);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover span,
nav a.active span {
    transform: scaleX(1);
}

nav a.active {
    color: #ff6b35 !important;
}

nav a:focus {
    outline: none;
}

nav a:focus-visible {
    outline: 2px solid rgba(255, 107, 53, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

nav>div>div {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

nav>div>div:hover {
    transform: translateY(-0.5px);
}

nav>div>div:active {
    transform: translateY(0px);
}

nav a.group:hover .group-hover\:scale-x-100 {
    transform: scaleX(1);
}

/* Header Blur Effect on Scroll - Sticky Navbar with Blend */
nav#mainHeader {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    background-color: rgba(255, 255, 255, 1);
    z-index: 1000 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav#mainHeader.scrolled {
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

nav#mainHeader.scrolled-heavy {
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Hero Styles */
.hero-headline {
    font-size: 2.375rem;
    /* Reduced from 2.5rem */
    line-height: 1.2;
    font-weight: 700;
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: 3.375rem;
        /* Reduced from 3.5rem */
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: 3.875rem;
        /* Reduced from 4rem */
    }
}

.hero-description {
    font-size: 0.875rem;
    /* Reduced from 1rem */
    line-height: 1.75;
    color: #4a5568;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1rem;
        /* Reduced from 1.125rem */
    }
}

.stat-number {
    font-size: 1.625rem;
    /* Reduced from 1.75rem */
    font-weight: 700;
    color: #1a202c;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 1.875rem;
        /* Reduced from 2rem */
    }
}

.stat-label {
    font-size: 0.75rem;
    /* Reduced from 0.875rem */
    color: #718096;
}

.form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
}

@media (min-width: 768px) {
    .form-title {
        font-size: 1.5rem;
    }
}

/* Smooth anchor scrolling */
a[href^="#"] {
    scroll-behavior: smooth;
}

/* Primary and Accent colors for gradients */
.from-primary-50 {
    --tw-gradient-from: #f0f9ff;
    --tw-gradient-to: rgba(240, 249, 255, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-white {
    --tw-gradient-to: rgba(255, 255, 255, 0);
    --tw-gradient-stops: var(--tw-gradient-from), #fff var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-accent-50 {
    --tw-gradient-to: #fdf4ff;
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

/* Button Hover Zoom Effect */
.btn-zoom {
    transition: all 0.3s ease;
    transform: scale(1);
    display: inline-block;
}

.btn-zoom:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-zoom:active {
    transform: scale(0.99);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Soft click for all buttons */
button,
.btn,
a[role="button"],
.hero-cta {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: rgba(255, 107, 53, 0.1);
}

button:active,
.btn:active,
a[role="button"]:active,
.hero-cta:active {
    transform: scale(0.98);
}

button:hover,
.btn:hover,
a[role="button"]:hover,
.hero-cta:hover {
    transform: translateY(-1px);
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hero CTA Button */
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.75rem;
    border-radius: 9999px;
    background-color: #ff6b35;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
}

.hero-cta:hover {
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #ff6b35;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.scroll-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.scroll-to-top:hover {
    background-color: #e63946;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Syschoo Brand Colors */
.bg-syschoo-orange {
    background-color: #ff6b35;
}

.bg-syschoo-blue {
    background-color: #004e98;
}

.bg-syschoo-purple {
    background-color: #6247aa;
}

.bg-syschoo-green {
    background-color: #1a936f;
}

.text-syschoo-orange {
    color: #ff6b35;
}

.text-syschoo-blue {
    color: #004e98;
}

.text-syschoo-purple {
    color: #6247aa;
}

.text-syschoo-green {
    color: #1a936f;
}

.border-syschoo-orange {
    border-color: #ff6b35;
}

.border-syschoo-blue {
    border-color: #004e98;
}

.border-syschoo-purple {
    border-color: #6247aa;
}

.border-syschoo-green {
    border-color: #1a936f;
}

.focus\:ring-syschoo-orange:focus {
    --tw-ring-color: #ff6b35;
}

.focus\:ring-syschoo-blue:focus {
    --tw-ring-color: #004e98;
}

/* Hero Gradient Colors */
.from-hero-blue {
    --tw-gradient-from: #2F5BEA;
    --tw-gradient-to: #7B4DBA;
    --tw-gradient-stops: var(--tw-gradient-from) 0%, var(--tw-gradient-to) 50%;
}

.via-hero-purple {
    --tw-gradient-to: #F07A3A;
    --tw-gradient-stops: var(--tw-gradient-from) 0%, #7B4DBA 50%, var(--tw-gradient-to) 100%;
}

.text-hero-orange {
    color: #F07A3A !important;
}

/* Hero Headline Gradient */
.hero-headline span.bg-gradient-to-r {
    background-image: linear-gradient(to right, #2F5BEA 0%, #7B4DBA 50%, #F07A3A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Leadership avatars */
.leader-avatar {
    width: 50px;
    height: 50px;
}

@media (min-width: 768px) {
    .leader-avatar {
        width: 70px;
        height: 70px;
    }
}

/* Implementation process step icons */
.process-circle {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    background: #e7f0ff;
    box-shadow: 0 10px 25px rgba(15, 35, 52, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Implementation process timeline */
.timeline-steps {
    position: relative;
}

.timeline-steps::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background-color: #e5e7eb;
    z-index: 0;
}

/* Tab Content (for services page) */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-button.active {
    border-bottom: 2px solid #ff6b35;
    color: #ff6b35;
}

/* Background Opacity */
.bg-opacity-10 {
    background-color: rgba(0, 78, 152, 0.1);
}