/* Salesforce Consultants - Clean, Optimized Design */

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

/* Optimize animations for performance */
@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        will-change: transform, opacity;
    }
}

/* Optimize images for performance */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Prevent layout shifts */
    aspect-ratio: attr(width) / attr(height);
    /* Optimize for performance */
    will-change: auto;
    contain: layout style paint;
}

/* Optimize fonts for performance - Use system fonts as fallback */
@font-face {
    font-family: 'Oceanwide Pro';
    font-display: swap;
    /* Fallback to system fonts if Oceanwide Pro is not available */
    font-display: fallback;
}

/* Performance optimizations for better Lighthouse scores */
/* Reduce layout shifts */
img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Critical CSS for LCP optimization */
.hero {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

.hero h1 {
    content-visibility: auto;
    contain-intrinsic-size: 0 100px;
}

/* Optimize for Core Web Vitals */
.hero-container {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

/* Reduce CLS */
.cta-buttons {
    content-visibility: auto;
    contain-intrinsic-size: 0 80px;
}

/* Optimize animations for performance */
@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        will-change: transform, opacity;
    }
}

/* Reduce paint complexity */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Optimize text rendering */
body {
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* CSS Variables - Brand Colors & Design System */
:root {
    /* Core Brand Colors */
    --black: #000000;
    --white: #ffffff;
    --teal: #3AAEAA;
    --dark: #172B2B;
    --light-gray: #f5f5f5;
    
    /* Enhanced Color Palette */
    --teal-light: #4BC3BD;
    --teal-dark: #2A8A85;
    --dark-light: #2A3F45;
    --accent-gold: #FFD700;
    --accent-orange: #FF6B35;
    --accent-green: #27AE60;
    --accent-red: #E74C3C;
    
    /* Gradient System */
    --gradient-primary: linear-gradient(135deg, var(--teal) 0%, var(--dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--teal) 0%, var(--dark) 100%);
    --gradient-card: linear-gradient(135deg, #172B2B 0%, #3AAEAA 100%);
    --gradient-hero: linear-gradient(135deg, rgba(58, 175, 170, 0.1) 0%, rgba(23, 37, 43, 0.95) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(58, 175, 170, 0.08) 0%, rgba(23, 37, 43, 0.02) 100%);
    
    /* Shadow System */
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    --shadow-card: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-hover: 0 25px 50px rgba(0,0,0,0.25);
    
    /* Border Radius System */
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    
    /* Transition System */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
    --transition-fast: all 0.2s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography Scale */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Z-Index System */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* Enhanced Animations with Performance Optimizations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Performance optimizations for animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optimize GPU acceleration */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(58, 175, 170, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(58, 175, 170, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(58, 175, 170, 0);
    }
}

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

/* ===== UNIFIED DESIGN SYSTEM ===== */

/* Modern Card System - Based on Contact Form Design */
.modern-card {
    background: var(--gradient-card);
    color: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

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

.modern-card:hover::before {
    left: 100%;
}

/* Glassmorphism Cards */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.95) 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(58, 175, 170, 0.2);
}

/* Enhanced Button System */
.btn-modern {
    background: var(--gradient-card);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-modern:hover::before {
    left: 100%;
}

/* Standardized Button Variants */
.btn-modern-white {
    background: var(--white);
    color: var(--dark);
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: 'Oceanwide Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    transition: var(--transition-slow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-transform: none !important;
}

.btn-modern-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-modern-large {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
}

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

.btn-modern-outline:hover {
    background: var(--white);
    color: var(--dark);
}

/* Enhanced Section Backgrounds */
.section-modern {
    background: var(--gradient-overlay);
    position: relative;
    overflow: hidden;
}

.section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(58,175,170,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(58,175,170,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(58,175,170,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(58,175,170,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(58,175,170,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Enhanced Typography */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 20px rgba(58, 175, 170, 0.5);
}

/* Enhanced Animations */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Performance Optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* Accessibility Enhancements */
.focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

/* 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;
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.3);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Oceanwide Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.2;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    font-weight: 400;
    /* Performance optimizations */
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography with Enhanced Spacing */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oceanwide Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 2.5rem;
    letter-spacing: -0.03em;
    text-transform: none;
    animation: fadeInUp 0.8s ease-out;
}

h1 { 
    font-size: clamp(3rem, 10vw, 8rem); 
    margin-bottom: 3rem;
}
h2 { 
    font-size: clamp(2.5rem, 8vw, 6rem); 
    margin-bottom: 2.5rem;
}
h3 { 
    font-size: clamp(2rem, 6vw, 4rem); 
    margin-bottom: 2rem;
}
h4 { 
    font-size: clamp(1.5rem, 4vw, 2.5rem); 
    margin-bottom: 1.5rem;
}

p {
    font-family: 'Oceanwide Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 2.5rem;
    color: #7f8c8d;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.6;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Enhanced Buttons with Movement */
.btn-primary, .btn-secondary, .btn-emergency {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 3rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: 'Oceanwide Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    transition: var(--transition-slow);
    cursor: pointer;
    text-transform: none !important;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    min-width: 220px;
    animation: scaleIn 0.6s ease-out 0.4s both;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(58, 175, 170, 0.3);
}

.btn-primary:hover {
    background: var(--dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(23, 37, 43, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--teal);
    border: 3px solid var(--teal);
    box-shadow: 0 4px 15px rgba(58, 175, 170, 0.2);
}

.btn-secondary:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(58, 175, 170, 0.4);
}

.btn-emergency {
    background: #dc2626;
    color: var(--white);
    font-weight: 700;
    animation: pulse 2s infinite;
}

.btn-emergency:hover {
    background: var(--dark);
    transform: translateY(-5px) scale(1.05);
    animation: none;
}

/* Enhanced Header with Movement */
header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 2px solid var(--teal);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    height: 70px;
    transition: var(--transition);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    flex-shrink: 0;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 36px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.main-nav a {
    color: var(--dark);
    text-decoration: none;
    font-family: 'Oceanwide Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 1px;
    transition: var(--transition);
    padding: 0.8rem 0;
    white-space: nowrap;
    position: relative;
}

.main-nav a:hover {
    color: var(--teal);
    transform: translateY(-2px);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--teal);
    transition: width 0.4s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

.nav-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.8rem;
    color: var(--dark);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.nav-icon:hover {
    color: var(--teal);
    background: rgba(58, 175, 170, 0.1);
    transform: scale(1.1) rotate(5deg);
}

.nav-icon svg {
    width: 22px;
    height: 22px;
}

/* Enhanced Share Dropdown */
.share-dropdown {
    position: relative;
}

.share-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1001;
    margin-top: 0.8rem;
}

.share-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.close-share {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.close-share:hover {
    background: rgba(0,0,0,0.1);
    color: var(--dark);
    transform: rotate(90deg);
}

.share-options {
    padding: 0.8rem 0;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.8rem;
    text-decoration: none;
    color: var(--dark);
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.share-option:hover {
    background: rgba(58, 175, 170, 0.1);
    color: var(--teal);
    transform: translateX(5px);
}

.share-option svg {
    flex-shrink: 0;
    transition: var(--transition);
}

.share-option:hover svg {
    transform: scale(1.2);
}

/* Enhanced Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.6rem;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 26px;
    height: 3px;
    background: var(--dark);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 2px solid var(--teal);
    box-shadow: var(--shadow-medium);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.nav-dropdown.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-dropdown a {
    display: block;
    padding: 1.8rem 3rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: none;
    letter-spacing: 1px;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.nav-dropdown a:hover {
    background: rgba(58, 175, 170, 0.1);
    color: var(--teal);
    border-left-color: var(--teal);
    transform: translateX(10px);
}

/* Enhanced Hero Section with Movement */
.hero {
    min-height: 80vh;
    background-image: url('assets/SalesforceConsultants-Graphic.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 90px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(23, 37, 43, 0.95) 0%, rgba(23, 37, 43, 0.85) 50%, rgba(58, 175, 170, 0.25) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    color: var(--white);
    text-align: center;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

/* Hero h1 styling to match other pages */
.hero h1 {
    font-size: clamp(4rem, 12vw, 8rem);
    margin-bottom: 2rem;
    color: var(--white);
    line-height: 0.9;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s ease-out;
}

.hero-highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
    font-weight: 700;
}

/* Enhanced CTA Buttons with Better Padding and Visibility */
.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: slideInFromBottom 1s ease-out 0.6s both;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    border-color: var(--teal);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(58, 175, 170, 0.4);
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    border-color: var(--teal);
}

/* Enhanced Why Different Section with Better Spacing */
.why-different {
    padding: 10rem 0;
    background: var(--white);
    position: relative;
}

.why-different-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.why-different h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 2rem;
    color: var(--dark);
    font-weight: 900;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
}

.section-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    margin-bottom: 5rem;
    color: #7f8c8d;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 4rem;
    margin-bottom: 5rem;
}

/* Mobile-first responsive grid */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 3rem;
        margin-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

.benefit-item {
    text-align: center;
    padding: 4rem 2.5rem;
    background: var(--gradient-card);
    color: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-card);
    transition: var(--transition-slow);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.8s ease-out;
    backdrop-filter: blur(20px);
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }
.benefit-item:nth-child(6) { animation-delay: 0.6s; }

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.benefit-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255,255,255,0.4);
}

.benefit-item:hover::before {
    left: 100%;
}

.benefit-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    color: var(--white);
    transition: var(--transition-slow);
    animation: rotateIn 1s ease-out 0.5s both;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 35px rgba(58, 175, 170, 0.4);
}

.benefit-item h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1.3;
}

.benefit-item p {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin: 0;
}

.why-different-cta {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Enhanced Services Section */
.services {
    padding: 8rem 0;
    background: var(--gradient-overlay);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(58,175,170,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(58,175,170,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(58,175,170,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(58,175,170,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(58,175,170,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 8rem;
    padding: 5rem 0;
}

.section-title {
    color: var(--dark);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out;
    text-transform: none !important;
    font-family: 'Oceanwide Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

/* Mobile responsiveness for services */
@media (max-width: 1024px) {
    .services-grid {
        gap: 6rem;
    }
    
    .service-item {
        padding: 5rem 0;
    }
    
    .service-features li {
        padding: 1.1rem 0;
        padding-left: 2.8rem;
        font-size: 1.05rem;
    }
    
    .service-features li::before {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        gap: 4rem;
    }
    
    .service-item {
        padding: 3rem 0;
    }
    
    .service-features li {
        padding: 1rem 0;
        padding-left: 2.5rem;
        font-size: 1rem;
    }
    
    .service-features li::before {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        gap: 3rem;
    }
    
    .service-item {
        padding: 2.5rem 0;
    }
    
    .service-features li {
        padding: 0.8rem 0;
        padding-left: 2rem;
        font-size: 0.95rem;
    }
    
    .service-features li::before {
        width: 10px;
        height: 10px;
    }
}

.service-item {
    padding: 6rem 0;
    border-bottom: 3px solid var(--teal);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 2;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item h3 {
    color: var(--dark);
    margin-bottom: 2.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.service-item p {
    color: #7f8c8d;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-size: clamp(1rem, 2vw, 1.3rem);
}

.service-features {
    list-style: none;
    margin-bottom: 5rem;
}

.service-features li {
    padding: 1.2rem 0;
    color: var(--dark);
    position: relative;
    padding-left: 3rem;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 500;
    border-bottom: 1px solid rgba(58, 175, 170, 0.2);
    transition: var(--transition);
}

.service-features li:hover {
    transform: translateX(10px);
    color: var(--teal);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: var(--teal);
    border-radius: 50%;
    transition: var(--transition);
}

.service-features li:hover::before {
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 0 0 4px rgba(58, 175, 170, 0.2);
}

.service-cta {
    margin-top: 4rem;
}

/* Enhanced Case Study Section */
.case-study {
    padding: 8rem 0;
    background: var(--white);
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

/* Mobile responsiveness for case study */
@media (max-width: 768px) {
    .case-study-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .case-study {
        padding: 4rem 0;
    }
    
    .challenge, .solution, .results {
        margin-bottom: 3rem;
    }
    
    .results-list li {
        padding: 1rem 0;
        padding-left: 2.5rem;
        font-size: 1rem;
    }
    
    .results-list li::before {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .case-study-content {
        gap: 3rem;
    }
    
    .case-study {
        padding: 3rem 0;
    }
    
    .challenge, .solution, .results {
        margin-bottom: 2.5rem;
    }
    
    .results-list li {
        padding: 0.8rem 0;
        padding-left: 2rem;
        font-size: 0.95rem;
    }
    
    .results-list li::before {
        width: 10px;
        height: 10px;
    }
}

.case-study-text h2 {
    color: var(--dark);
    margin-bottom: 2.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    animation: fadeInLeft 0.8s ease-out;
}

.challenge, .solution, .results {
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease-out;
}

.challenge h4, .solution h4, .results h4 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 2rem;
    text-transform: none;
    font-weight: 700;
}

.results-list {
    list-style: none;
}

.results-list li {
    padding: 1.2rem 0;
    color: var(--dark);
    position: relative;
    padding-left: 3rem;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 500;
    border-bottom: 1px solid rgba(5, 150, 105, 0.2);
    transition: var(--transition);
}

.results-list li:hover {
    transform: translateX(10px);
    color: #059669;
}

.results-list li:last-child {
    border-bottom: none;
}

.results-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: #059669;
    border-radius: 50%;
    transition: var(--transition);
}

.results-list li:hover::before {
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.2);
}

/* Enhanced CTA Section */
.cta-section {
    padding: 8rem 0;
    background: var(--gradient-card);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.cta-section h2 {
    margin-bottom: 2.5rem;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    animation: fadeInUp 0.8s ease-out;
}

.cta-section p {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    margin-bottom: 4rem;
    max-width: 800px;
    text-transform: none;
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Enhanced Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 6rem 0 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    color: var(--teal);
    margin-bottom: 2.5rem;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    text-transform: none;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1.2rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    padding: 0.5rem 0;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--teal);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 2px solid rgba(255,255,255,0.1);
    padding-top: 4rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .header-content {
        padding: 0 1.5rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .nav-icons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .hero-container {
        padding: 0 1.5rem;
        min-height: calc(100vh - 80px);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 3rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 1.1rem 2rem;
        font-size: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .benefit-item {
        padding: 3rem 2rem;
        margin-bottom: 1.5rem;
    }
    
    .benefit-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 2rem;
    }
    
    .benefit-item h3 {
        font-size: clamp(1.2rem, 2.2vw, 1.5rem);
        margin-bottom: 1.2rem;
    }
    
    .benefit-item p {
        font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    }
    
    .case-study-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .why-different-cta {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .why-different {
        padding: 6rem 0;
    }
    
    .services {
        padding: 5rem 0;
    }
    
    .case-study {
        padding: 5rem 0;
    }
    
    .cta-section {
        padding: 5rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
    }
    
    .hero-container {
        padding: 0 1rem;
        min-height: calc(100vh - 70px);
    }
    
    .cta-buttons {
        gap: 1rem;
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        min-width: auto;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step {
        padding: 1.8rem 1.2rem;
    }
    
    .process-step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .process-step h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .process-step p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .benefit-item {
        padding: 2.5rem 1.5rem;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
    }
    
    .benefit-item h3 {
        font-size: 1.2rem;
    }
    
    .benefit-item p {
        font-size: 0.95rem;
    }
} 

/* Universal Search Modal Styles */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
}

.search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.search-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: searchModalSlideIn 0.3s ease-out;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

@keyframes searchModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.search-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid rgba(58, 175, 170, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-input-wrapper:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(58, 175, 170, 0.1);
}

.search-icon-svg {
    margin-left: 1rem;
    color: #64748b;
    flex-shrink: 0;
}

#searchInput {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 1rem 1rem 0.5rem;
    font-size: 1.1rem;
    background: transparent;
    color: var(--dark);
}

#searchInput::placeholder {
    color: #94a3b8;
}

.search-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark);
}

.search-results {
    flex: 1;
    overflow-y: auto;
    max-height: 60vh;
}

.search-placeholder {
    padding: 3rem 2rem;
    text-align: center;
    color: #64748b;
}

.search-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.search-shortcuts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.search-shortcuts span {
    background: rgba(58, 175, 170, 0.1);
    color: var(--teal);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.search-no-results {
    padding: 3rem 2rem;
    text-align: center;
    color: #64748b;
}

.search-no-results p:first-child {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.search-category {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-category:last-child {
    border-bottom: none;
}

.search-category h3 {
    padding: 1.5rem 2rem 1rem;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0.5px;
    background: rgba(58, 175, 170, 0.05);
}

.search-category-results {
    padding: 0 2rem 1rem;
}

.search-result-item {
    display: block;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: rgba(58, 175, 170, 0.05);
    border-color: rgba(58, 175, 170, 0.1);
    transform: translateX(5px);
}

.search-result-item.selected {
    background: rgba(58, 175, 170, 0.1);
    border-color: var(--teal);
}

.search-result-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.search-result-content {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.search-result-url {
    font-size: 0.8rem;
    color: var(--teal);
    font-weight: 500;
}

.search-result-item mark {
    background: rgba(255, 215, 0, 0.3);
    color: inherit;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: 600;
}

/* Mobile responsiveness for search */
@media (max-width: 768px) {
    .search-modal {
        padding-top: 5vh;
    }
    
    .search-container {
        width: 95%;
        max-height: 90vh;
    }
    
    .search-header {
        padding: 1.5rem;
    }
    
    #searchInput {
        font-size: 1rem;
        padding: 0.8rem 0.8rem 0.8rem 0.3rem;
    }
    
    .search-results {
        max-height: 70vh;
    }
    
    .search-placeholder {
        padding: 2rem 1.5rem;
    }
    
    .search-shortcuts {
        gap: 1rem;
    }
    
    .search-shortcuts span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .search-category h3 {
        padding: 1rem 1.5rem 0.8rem;
    }
    
    .search-category-results {
        padding: 0 1.5rem 0.8rem;
    }
    
    .search-result-item {
        padding: 0.8rem;
        margin: 0.3rem 0;
    }
}

@media (max-width: 480px) {
    .search-modal {
        padding-top: 2vh;
    }
    
    .search-container {
        width: 98%;
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .search-header {
        padding: 1rem;
    }
    
    .search-input-wrapper {
        border-radius: 8px;
    }
    
    #searchInput {
        font-size: 0.95rem;
        padding: 0.7rem 0.7rem 0.7rem 0.2rem;
    }
    
    .search-results {
        max-height: 75vh;
    }
    
    .search-placeholder {
        padding: 1.5rem 1rem;
    }
    
    .search-shortcuts {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-category h3 {
        padding: 0.8rem 1rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .search-category-results {
        padding: 0 1rem 0.6rem;
    }
    
    .search-result-item {
        padding: 0.6rem;
        margin: 0.2rem 0;
    }
    
    .search-result-title {
        font-size: 0.95rem;
    }
    
    .search-result-content {
        font-size: 0.85rem;
    }
} 

/* Enhanced Process Grid Mobile Responsiveness */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.8s ease-out both;
    position: relative;
    overflow: hidden;
}

.process-step-number {
    width: 70px;
    height: 70px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(58, 175, 170, 0.7);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-step h3 {
    color: var(--dark) !important;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.process-step p {
    color: #5a6c7d !important;
    line-height: 1.7;
    font-size: 1.1rem;
}

.process-step-highlight {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.process-step:hover .process-step-highlight {
    transform: translateX(100%);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .process-step {
        padding: 2.5rem 1.5rem;
    }
    
    .process-step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .process-step h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .process-step p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .process-step {
        padding: 2rem 1.2rem;
    }
    
    .process-step-number {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    
    .process-step h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .process-step p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .logo-item {
        width: 100px !important;
        height: 50px !important;
    }
    
    .logo-stream {
        gap: 2rem !important;
        animation-duration: 20s !important;
    }
}

@media (max-width: 480px) {
    .logo-item {
        width: 80px !important;
        height: 40px !important;
    }
    
    .logo-stream {
        gap: 1.5rem !important;
        animation-duration: 15s !important;
    }
} 

/* Additional Mobile Responsiveness Improvements */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: clamp(3rem, 8vw, 5rem);
    }
    
    .hero p {
        font-size: clamp(1rem, 2vw, 1.4rem);
    }
    
    .section-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .section-subtitle {
        font-size: clamp(1rem, 2vw, 1.3rem);
    }
}

@media (max-width: 768px) {
    /* Improved touch targets for mobile */
    .btn-primary, .btn-secondary, .btn-modern {
        min-height: 44px;
        padding: 1rem 2rem;
    }
    
    /* Better spacing for mobile */
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        margin-bottom: 2rem;
    }
    
    /* Improved card layouts */
    .benefit-item {
        margin-bottom: 2rem;
    }
    
    /* Better testimonial layout */
    .testimonial-card {
        padding: 2.5rem 2rem;
        margin-bottom: 2rem;
    }
    
    /* Improved process step layout */
    .process-step {
        margin-bottom: 1.5rem;
    }
    
    /* Better leader card layout */
    .leader-card {
        padding: 3rem 2rem;
        margin-bottom: 2rem;
    }
    
    /* Improved why card layout */
    .why-card {
        padding: 2.5rem 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    /* Enhanced mobile typography */
    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
        line-height: 1.2;
    }
    
    .hero p {
        font-size: clamp(1rem, 3vw, 1.3rem);
        line-height: 1.4;
    }
    
    /* Better button sizing for small screens */
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
    
    /* Improved spacing for very small screens */
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Better card padding for small screens */
    .benefit-item,
    .testimonial-card,
    .leader-card,
    .why-card {
        padding: 2rem 1.5rem;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .benefit-item h3 {
        font-size: clamp(1.1rem, 2vw, 1.3rem);
        margin-bottom: 1rem;
    }
    
    .benefit-item p {
        font-size: clamp(0.9rem, 1.4vw, 1rem);
    }
    
    /* Improved process step sizing */
    .process-step {
        padding: 1.5rem 1rem;
    }
    
    .process-step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .process-step h3 {
        font-size: 0.95rem;
    }
    
    .process-step p {
        font-size: 0.85rem;
    }
}

/* Enhanced accessibility for mobile */
@media (max-width: 768px) {
    /* Ensure sufficient contrast and touch targets */
    .nav-dropdown a {
        padding: 1rem 1.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Better focus states for mobile */
    .btn-primary:focus,
    .btn-secondary:focus,
    .btn-modern:focus {
        outline: 2px solid var(--teal);
        outline-offset: 2px;
    }
    
    /* Improved readability */
    .benefit-item h3,
    .testimonial-card blockquote,
    .leader-card h3,
    .why-card h3 {
        line-height: 1.3;
    }
}

/* Landscape orientation improvements */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-container {
        min-height: calc(100vh - 60px);
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 1rem;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: auto;
        min-width: 150px;
    }
} 