/* ==========================================
   DATA & PRINT EXPERTS KENYA
   PROFESSIONAL STYLESHEET - FINAL
   Lightweight | Organized | Scalable | Premium
   ========================================== */

/* ==========================================
   CSS CUSTOM PROPERTIES
   ========================================== */
:root {
    /* Brand Colors */
    --primary: #1E40AF;
    --primary-light: #2563EB;
    --primary-dark: #0F172A;

    /* Accent - Gradient */
    --accent: #DC2626;
    --accent-hover: #B91C1C;
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--primary));
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));

    /* Neutrals */
    --black: #111827;
    --dark: #1F2937;
    --gray: #64748B;
    --light-gray: #E2E8F0;
    --light: #F8FAFC;
    --white: #FFFFFF;

    /* Surface Colors */
    --card-bg: var(--white);
    --surface-overlay: rgba(15, 23, 42, 0.92);
    --surface-hover: rgba(30, 64, 175, 0.04);

    /* Status Colors */
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;

    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Font Weights */
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;
    --weight-black: 900;

    /* Line Heights */
    --leading-tight: 1.2;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;

    /* Spacing Scale - COMPACT */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.25s ease;
    --transition-slow: 0.4s ease;

    /* Z-Index Layers */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
}

/* ==========================================
   RESET & BASE
   ========================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: var(--leading-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip to content link - Accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: var(--space-3) var(--space-4);
    text-decoration: none;
    z-index: var(--z-modal);
    transition: top var(--transition-fast);
}

.skip-to-content:focus {
    top: 0;
}

/* Focus styles - Accessibility */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 1 !important; /* Ensure images are always visible */
}

/* ==========================================
   TYPOGRAPHY HIERARCHY
   ========================================== */
h1 {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
    font-weight: var(--weight-extrabold);
    color: var(--primary-dark);
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-5xl));
    font-weight: var(--weight-bold);
    color: var(--primary-dark);
    line-height: var(--leading-tight);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-4);
}

h2 i {
    margin-right: var(--space-3);
    color: var(--primary);
    font-size: 0.9em;
}

h3 {
    font-size: clamp(var(--text-xl), 2vw, var(--text-2xl));
    font-weight: var(--weight-semibold);
    color: var(--primary-dark);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-2);
}

h4 {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: var(--primary-dark);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-2);
}

h5 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--gray);
    line-height: var(--leading-tight);
}

h6 {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--gray);
    line-height: var(--leading-tight);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    color: var(--gray);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.text-center {
    text-align: center;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS - FIXED
   ========================================== */
/* These classes start hidden and animate in when scrolled into view */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), 
                transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), 
                transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal-on-scroll-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-on-scroll-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), 
                transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal-on-scroll-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }
.delay-9 { transition-delay: 0.9s; }
.delay-10 { transition-delay: 1.0s; }
.delay-11 { transition-delay: 1.1s; }
.delay-12 { transition-delay: 1.2s; }

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--light-gray);
    padding: 10px 0;
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img-wrapper {
    position: relative;
    flex-shrink: 0;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform var(--transition);
}

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

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.logo-img:hover {
    animation: logoFloatFast 0.6s ease-in-out infinite;
}

@keyframes logoFloatFast {
    0%, 100% {
        transform: translateY(0px) scale(1.05);
    }
    50% {
        transform: translateY(-6px) scale(1.05);
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: var(--weight-extrabold);
    font-size: 1.3rem;
    color: var(--primary-dark);
    letter-spacing: 0.3px;
    line-height: 1.1;
}

.logo-accent {
    color: var(--accent);
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 3px;
    color: var(--gray);
    text-transform: uppercase;
}

/* Nav Links */
.nav-menu ul {
    display: flex;
    gap: var(--space-8);
}

.nav-link {
    font-weight: var(--weight-medium);
    font-size: var(--text-sm);
    color: var(--black);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-1);
    z-index: var(--z-dropdown);
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: var(--weight-semibold);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-align: center;
    line-height: 1;
    min-height: 48px;
    min-width: 44px;
}

.btn i {
    font-size: 0.9em;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-light:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================
   HERO SLIDESHOW
   ========================================== */
.hero-slideshow {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: var(--z-base);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.78) 0%,
        rgba(15, 23, 42, 0.88) 100%
    );
    z-index: calc(var(--z-base) + 1);
}

.hero-content-wrapper {
    position: relative;
    z-index: calc(var(--z-base) + 2);
    width: 100%;
    padding: var(--space-20) 0;
}

.hero-content-slide {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    display: none;
}

.hero-content-slide.active {
    display: block;
    animation: fadeSlideIn 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-4);
}

.hero-title {
    color: var(--white);
    font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
    font-weight: var(--weight-black);
    line-height: 1.1;
    margin-bottom: var(--space-4);
    letter-spacing: -0.03em;
}

.hero-tagline {
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-6);
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-base);
    margin-bottom: var(--space-10);
    line-height: var(--leading-relaxed);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: calc(var(--z-base) + 2);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all var(--transition);
    min-width: 12px;
    min-height: 12px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.indicator.active {
    background: var(--white);
    width: 28px;
    border-radius: 6px;
}

/* ==========================================
   PAGE HEADER
   ========================================== */
.page-header-bg {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--primary-dark);
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(15, 23, 42, 0.88) 100%
    );
    z-index: var(--z-base);
}

.page-header-content {
    position: relative;
    z-index: calc(var(--z-base) + 1);
    text-align: center;
    color: var(--white);
    padding: var(--space-16) 0;
}

.page-header-content h1 {
    color: var(--white);
    margin-bottom: var(--space-3);
}

.page-header-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-lg);
}

/* ==========================================
   SECTIONS - COMPACT SPACING
   ========================================== */
.section {
    padding: var(--space-16) 0;
}

.section:first-of-type {
    padding-top: var(--space-16);
}

.section:last-of-type {
    padding-bottom: var(--space-16);
}

.bg-light {
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-header h2 {
    margin-bottom: var(--space-3);
}

.section-header p {
    font-size: var(--text-base);
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: var(--space-8);
}

/* ==========================================
   IMPACT METRICS - PREMIUM OVAL DESIGN
   ========================================== */
.impact-section {
    background: var(--white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.impact-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-4);
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition-slow);
}

.impact-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.impact-card:hover::before {
    transform: scaleX(1);
}

/* Oval container for metric */
.impact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--white);
    transition: transform var(--transition);
}

.impact-card:hover .impact-icon {
    transform: scale(1.1) rotate(5deg);
}

.impact-number-wrapper {
    margin-bottom: var(--space-2);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.impact-number {
    font-size: var(--text-5xl);
    font-weight: var(--weight-extrabold);
    color: var(--primary);
    line-height: 1;
    transition: all var(--transition);
}

.impact-card:hover .impact-number {
    color: var(--accent);
}

.impact-suffix {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--accent);
}

.impact-label {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--dark);
    margin-bottom: 0;
}

/* ==========================================
   WHY CHOOSE US - TRUST SECTION
   ========================================== */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.trust-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: var(--surface-hover);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--primary);
    transition: all var(--transition);
}

.trust-item:hover .trust-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.trust-item h3 {
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
}

.trust-item p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ==========================================
   SERVICES GRID - PREMIUM CARDS
   ========================================== */
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.service-card-full {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-full::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.service-card-full:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card-full:hover::before {
    transform: scaleX(1);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.service-card-full:hover .service-image {
    transform: scale(1.05);
}

.service-icon {
    color: var(--primary);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.service-card-full h3 {
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
}

.service-card-full p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    color: var(--gray);
}

.service-btn {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: gap var(--transition);
}

.service-btn:hover {
    gap: var(--space-3);
}

.service-btn i {
    font-size: 0.8em;
}

/* ==========================================
   TWO COLUMN LAYOUT
   ========================================== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: stretch;
}

.column-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.column-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.column-card i {
    color: var(--primary);
}

.column-card h3 {
    margin-bottom: var(--space-2);
    font-size: var(--text-base);
}

.column-card p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ==========================================
   VALUES GRID WITH ICONS
   ========================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-6);
}

.value-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    text-align: center;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--surface-hover);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
    color: var(--primary);
    transition: all var(--transition);
}

.value-item:hover .value-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.value-item h4 {
    margin-bottom: var(--space-2);
    font-size: var(--text-base);
}

.value-item p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
    align-items: start;
}

.contact-info {
    background: var(--light);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
}

.contact-info h2 {
    margin-bottom: var(--space-3);
}

.contact-info h2 i {
    margin-right: var(--space-3);
    color: var(--primary);
}

.contact-info > p {
    margin-bottom: var(--space-6);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.contact-item i {
    width: 30px;
    color: var(--primary);
    font-size: 1.1rem;
}

.contact-item strong {
    font-size: var(--text-xs);
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: var(--weight-semibold);
    min-width: 100px;
}

.contact-item span,
.contact-item a {
    font-weight: var(--weight-medium);
    color: var(--black);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h2 i {
    margin-right: var(--space-3);
    color: var(--primary);
}

/* Form */
.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
    color: var(--black);
}

.form-group label i {
    margin-right: var(--space-2);
    color: var(--primary);
    width: 18px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    background: var(--white);
    color: var(--black);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--error);
}

.error-message {
    color: var(--error);
    font-size: var(--text-xs);
    margin-top: var(--space-1);
    display: block;
}

.form-note {
    font-size: var(--text-xs);
    color: var(--gray);
    margin-top: var(--space-4);
    text-align: center;
}

.form-note i {
    margin-right: var(--space-2);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    border-radius: 0;
}

.cta h2 {
    color: var(--white);
    margin-bottom: var(--space-3);
}

.cta p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-6);
    font-size: var(--text-base);
}

.cta .btn-light i {
    margin-right: var(--space-2);
}

/* ==========================================
   FOOTER - OPTIMIZED
   ========================================== */
.footer {
    background: var(--primary-dark);
    color: #cbd5e1;
    padding: var(--space-8) 0 var(--space-4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: var(--space-3);
}

.footer-brand h3 {
    color: var(--white);
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    font-size: var(--text-sm);
    margin-bottom: 0;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: var(--white);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-3);
    font-weight: var(--weight-semibold);
}

.footer-links ul li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: #cbd5e1;
    font-size: var(--text-sm);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: #cbd5e1;
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.footer-contact p i {
    width: 24px;
    margin-right: var(--space-2);
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--white);
    font-size: 1rem;
    min-width: 36px;
    min-height: 36px;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-4);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.35);
}

/* ==========================================
   ABOUT PAGE - INTRO & MVV STYLES
   ========================================== */

/* Intro Section */
.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-eyebrow {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.intro-eyebrow i {
    margin-right: var(--space-2);
}

.intro-title {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: var(--weight-extrabold);
    color: var(--primary-dark);
    margin-bottom: var(--space-4);
}

.intro-description {
    font-size: var(--text-base);
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--space-8);
}

.intro-description strong {
    color: var(--primary);
    font-weight: var(--weight-semibold);
}

.intro-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.intro-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--text-3xl);
    font-weight: var(--weight-extrabold);
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray);
    font-weight: var(--weight-medium);
}

/* Mission, Vision, Values Wrapper */
.mvv-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.mvv-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
}

/* Mission & Vision Blocks */
.mission-block,
.vision-block,
.values-block {
    position: relative;
    padding-left: var(--space-8);
}

.block-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.mission-block h3,
.vision-block h3,
.values-block h3 {
    margin-left: var(--space-8);
    margin-bottom: var(--space-3);
    font-size: var(--text-xl);
}

.mission-block p,
.vision-block p {
    margin-left: var(--space-8);
    color: var(--gray);
    line-height: 1.7;
}

/* Vision Premium Statement */
.vision-statement {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: var(--primary-dark);
    margin-bottom: var(--space-4);
    margin-left: var(--space-8);
}

.vision-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-left: var(--space-8);
    margin-top: var(--space-3);
}

.vision-highlights span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--primary);
    background: var(--surface-hover);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
}

.vision-highlights i {
    font-size: 0.8rem;
}

/* Values Grid Compact */
.values-grid-compact {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-left: var(--space-8);
    margin-top: var(--space-3);
}

.value-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--dark);
    transition: all var(--transition);
}

.value-chip i {
    color: var(--primary);
    font-size: 0.8rem;
}

.value-chip:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.value-chip:hover i {
    color: var(--white);
}

/* MVV Image */
.mvv-image {
    position: sticky;
    top: 100px;
}

.mvv-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.image-caption {
    text-align: center;
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--gray);
    font-style: italic;
}

/* ==========================================
   RESPONSIVE DESIGN - OPTIMIZED
   ========================================== */
@media (max-width: 992px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .services-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    /* Mobile Menu - COMPACT FIXED */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 280px;
        height: auto;
        min-height: 200px;
        max-height: 50vh;
        background: var(--white);
        padding: 70px var(--space-5) var(--space-5);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-slow);
        z-index: var(--z-overlay);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 0 0 0 var(--radius-lg);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Mobile Menu - Decorative Top Bar */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-accent);
        border-radius: 0 0 4px 4px;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: var(--space-2);
        margin: 0;
        padding: 0;
    }
    
    .nav-menu .nav-link {
        font-size: var(--text-base);
        padding: 10px 16px;
        display: flex;
        align-items: center;
        min-height: 44px;
        border-radius: var(--radius-sm);
        transition: all var(--transition-fast);
        border-bottom: none;
        color: var(--dark);
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:active {
        background: var(--surface-hover);
        color: var(--primary);
        padding-left: 20px;
        transform: translateX(2px);
    }
    
    .nav-menu .nav-link.active {
        background: var(--surface-hover);
        color: var(--primary);
        font-weight: var(--weight-semibold);
        border-left: 3px solid var(--primary);
        padding-left: 13px;
    }
    
    .nav-menu .nav-link::after {
        display: none;
    }
    
    .nav-menu .nav-link.active::after {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Mobile Toggle Animation */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0.5);
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-slideshow {
        min-height: 75vh;
    }
    
    .hero-title {
        font-size: clamp(var(--text-2xl), 8vw, var(--text-4xl));
    }
    
    .impact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }
    
    .services-full-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }
    
    .why-choose-grid,
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .two-column,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    /* About Page Mobile - Image First, Then Content */
    .mvv-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .mvv-image {
        position: relative;
        top: 0;
        order: -1;
        margin-bottom: var(--space-6);
    }
    
    .mvv-content {
        order: 2;
    }
    
    /* Footer - 2 Columns on Mobile */
    .footer {
        padding: var(--space-6) 0 var(--space-3);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5);
        padding-bottom: var(--space-4);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto var(--space-2);
        width: 50px;
        height: 50px;
    }
    
    .footer-links,
    .footer-contact,
    .footer-social {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact p i {
        width: auto;
        margin-right: var(--space-1);
    }
    
    .footer-bottom {
        padding-top: var(--space-3);
        font-size: 0.65rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-1);
    }
    
    .contact-item strong {
        min-width: auto;
    }
    
    .page-header-bg {
        min-height: 260px;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .section {
        padding: var(--space-10) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-8);
    }
    
    /* Responsive touch targets */
    .btn,
    .service-btn,
    .nav-link,
    .social-links a,
    .indicator {
        cursor: pointer;
    }
    
    .btn {
        padding: 12px 24px;
        min-height: 44px;
    }
    
    /* Intro stats responsive */
    .intro-stats {
        gap: var(--space-6);
    }
    
    .stat-number {
        font-size: var(--text-2xl);
    }
    
    /* Vision highlights responsive */
    .vision-highlights {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Values chip responsive */
    .values-grid-compact {
        margin-left: var(--space-6);
    }
    
    /* Block adjustments */
    .mission-block,
    .vision-block,
    .values-block {
        padding-left: var(--space-6);
    }
    
    .block-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .mission-block h3,
    .vision-block h3,
    .values-block h3 {
        margin-left: var(--space-6);
        font-size: var(--text-lg);
    }
    
    .mission-block p,
    .vision-block p {
        margin-left: var(--space-6);
    }
    
    .vision-statement {
        margin-left: var(--space-6);
        font-size: var(--text-base);
    }
    
    .vision-highlights {
        margin-left: var(--space-6);
    }
    
    .values-grid-compact {
        margin-left: var(--space-6);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .logo-img {
        width: 44px;
        height: 44px;
    }
    
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-sub {
        font-size: 0.5rem;
        letter-spacing: 2px;
    }
    
    .nav-menu {
        width: 75%;
        max-width: 250px;
        padding: 60px var(--space-4) var(--space-4);
        max-height: 45vh;
    }
    
    .nav-menu .nav-link {
        font-size: var(--text-sm);
        padding: 8px 14px;
        min-height: 40px;
    }
    
    .impact-number {
        font-size: var(--text-4xl);
    }
    
    .impact-icon {
        width: 55px;
        height: 55px;
    }
    
    .trust-icon,
    .value-icon {
        width: 45px;
        height: 45px;
    }
    
    /* Footer - Single column below 320px (if needed) */
    @media (max-width: 319px) {
        .footer-grid {
            grid-template-columns: 1fr;
        }
    }
    
    /* Intro stats mobile */
    .intro-stats {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .intro-description {
        font-size: var(--text-sm);
    }
    
    /* Value chips mobile */
    .value-chip {
        padding: var(--space-1) var(--space-3);
        font-size: var(--text-xs);
    }
    
    /* Service cards mobile */
    .services-full-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .navbar,
    .hero-slideshow,
    .footer,
    .cta,
    .btn,
    .mobile-toggle,
    .slide-indicators {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
    
    .impact-card,
    .trust-item,
    .service-card-full {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ==========================================
   DEBUGGED - SAFE ANIMATIONS & MICRO-INTERACTIONS
   ========================================== */

/* Hero Content Premium Animations - SAFE VERSION */
.hero-content-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.hero-content-slide.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero content children - animations only when active */
.hero-content-slide.active .hero-eyebrow {
    animation: fadeUpStagger 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) 0.2s forwards;
}

.hero-content-slide.active .hero-title {
    animation: fadeUpStagger 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) 0.4s forwards;
}

.hero-content-slide.active .hero-tagline {
    animation: fadeUpStagger 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) 0.6s forwards;
}

.hero-content-slide.active .hero-description {
    animation: fadeUpStagger 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) 0.8s forwards;
}

.hero-content-slide.active .hero-buttons {
    animation: fadeUpStagger 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) 1s forwards;
}

@keyframes fadeUpStagger {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Card Hover Effects - SAFE */
.service-card-full,
.impact-card,
.trust-item,
.column-card {
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                box-shadow 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                border-color 0.4s ease;
}

.service-card-full:hover,
.impact-card:hover,
.trust-item:hover,
.column-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-hover);
}

/* Image Reveal Animations - SAFE */
.service-image {
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.service-card-full:hover .service-image {
    transform: scale(1.05);
}

/* Icon Pulse Animation - SAFE */
.impact-icon,
.trust-icon,
.service-icon,
.block-icon {
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                background 0.3s ease,
                color 0.3s ease;
}

.impact-icon:hover,
.trust-icon:hover,
.service-icon:hover,
.block-icon:hover {
    transform: scale(1.1) rotate(3deg);
}

/* Button Premium Hover - SAFE */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: scale(0.95);
}

/* Smooth Link Transitions */
a {
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

/* Navigation Link Premium Animation */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Counter Animation */
.counter-value {
    display: inline-block;
    transition: transform 0.3s ease;
}

.impact-card:hover .counter-value {
    transform: scale(1.05);
}

/* Footer Link Hover */
.footer-links a {
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Social Icon Premium Hover */
.social-links a {
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.social-links a:hover {
    transform: translateY(-5px);
    background: var(--primary);
}

/* Section Header Animation */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.section-header.revealed h2::after {
    width: 80px;
}

/* Service Card Image Container */
.service-card-full {
    position: relative;
    overflow: hidden;
}

.service-card-full .service-image {
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.service-card-full:hover .service-image {
    transform: scale(1.08);
}

/* Card Gradient Overlay on Hover */
.service-card-full::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, rgba(30, 64, 175, 0.05), transparent);
    transition: height 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    pointer-events: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.service-card-full:hover::after {
    height: 100%;
}

/* Impact Card Premium Animation */
.impact-card {
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                box-shadow 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Responsive Micro-interactions */
@media (max-width: 768px) {
    .service-card-full:hover .service-image {
        transform: scale(1.03);
    }
    
    .btn:hover {
        transform: translateY(-2px);
    }
    
    .social-links a:hover {
        transform: translateY(-3px);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-content-slide.active .hero-eyebrow,
    .hero-content-slide.active .hero-title,
    .hero-content-slide.active .hero-tagline,
    .hero-content-slide.active .hero-description,
    .hero-content-slide.active .hero-buttons {
        animation: none !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .impact-card:hover,
    .trust-item:hover,
    .service-card-full:hover {
        transform: none !important;
    }
    
    .service-card-full:hover .service-image {
        transform: none !important;
    }
}