/* ============================================
   WeenPan - Styles CSS
   Design moderne, élégant et attractif
   ============================================ */

/* Variables CSS */
:root {
    --primary-color: #1e3a8a; /* Bleu foncé */
    --secondary-color: #10b981; /* Vert */
    --accent-color: #3b82f6; /* Bleu clair */
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.3);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #10b981 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #2563eb 30%, #3b82f6 60%, #10b981 100%);
    --gradient-animated: linear-gradient(-45deg, #1e3a8a, #2563eb, #3b82f6, #10b981, #1e3a8a);
    --gradient-size: 400% 400%;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(30, 58, 138, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: particleMove 20s ease-in-out infinite;
}

@keyframes particleMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 30px rgba(30, 58, 138, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Navbar Social Links */
.navbar-social-links {
    margin-left: 1rem;
}

.navbar-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-social-link:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.1);
    border-color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.navbar-social-link i {
    transition: transform 0.3s ease;
}

.navbar-social-link:hover i {
    transform: scale(1.2);
}

.navbar-nav .dropdown-divider {
    width: 1px;
    height: 25px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 4s ease-in-out;
}

.hero-slide.active {
    opacity: 0.08;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(0.8) blur(0.3px);
    transform: scale(1.1);
    transition: transform 15s ease-out, filter 4s ease;
}

.hero-slide.active img {
    transform: scale(1);
    filter: brightness(0.5) saturate(0.8) blur(0.2px);
}

/* Animation subtile pour le zoom */
.hero-slide.active img {
    animation: subtleZoom 20s ease-in-out infinite;
}

@keyframes subtleZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.78) 0%, rgba(37, 99, 235, 0.68) 50%, rgba(16, 185, 129, 0.78) 100%);
    background-size: 200% 200%;
    z-index: 1;
    backdrop-filter: blur(0.5px);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Floating Elements Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Glow Effects */
@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    }
    50% { 
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease, titleGlow 3s ease-in-out infinite;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    border-radius: 2px;
    animation: underlineExpand 1s ease 0.8s forwards;
    opacity: 0;
}

@keyframes titleGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4));
    }
}

@keyframes underlineExpand {
    to {
        width: 200px;
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    animation: fadeInUp 1.2s ease;
}

.hero-image {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4), 0 0 30px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, var(--secondary-color), #059669, var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderRotate 3s linear infinite;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669, var(--secondary-color));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6), 0 0 50px rgba(16, 185, 129, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes borderRotate {
    from { background-position: 0% 50%; }
    to { background-position: 200% 50%; }
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -60px;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color));
    border-radius: 2px;
    transform: translateY(-50%);
    animation: lineExpand 1s ease 0.5s forwards;
    opacity: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3), 0 0 20px rgba(16, 185, 129, 0.2);
    animation: underlinePulse 2s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% { 
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% { 
        background-position: 100% 50%;
        filter: brightness(1.1);
    }
}

@keyframes lineExpand {
    to {
        width: 60px;
        opacity: 1;
    }
}

@keyframes underlinePulse {
    0%, 100% { 
        width: 80px;
        box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3), 0 0 20px rgba(16, 185, 129, 0.2);
    }
    50% { 
        width: 100px;
        box-shadow: 0 2px 15px rgba(16, 185, 129, 0.5), 0 0 30px rgba(16, 185, 129, 0.4);
    }
}

/* Step Cards */
.step-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.step-card:hover::before {
    left: 100%;
}

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4), 0 0 30px rgba(30, 58, 138, 0.2);
    transition: all 0.4s ease;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.step-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(10px);
}

.step-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0.3;
    z-index: -2;
    animation: ripple 2s ease-out infinite;
}

.step-card:hover .step-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.6), 0 0 50px rgba(30, 58, 138, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.step-card:hover .step-icon::before {
    opacity: 0.6;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.step-card h4 {
    color: var(--text-dark);
    font-weight: 600;
}

.step-card p {
    color: var(--text-light);
}

/* Advantage Cards */
.advantage-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
    border: 2px solid rgba(30, 58, 138, 0.1);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.advantage-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.4s ease;
    animation: gradientMove 3s linear infinite;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card:hover::after {
    transform: scaleX(1);
    animation: gradientMove 2s linear infinite;
}

.advantage-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.2), 0 0 30px rgba(59, 130, 246, 0.1);
    border-top-color: var(--primary-color);
    border-color: rgba(30, 58, 138, 0.3);
}

.advantage-card i {
    transition: all 0.4s ease;
}

.advantage-card:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 5px 15px rgba(30, 58, 138, 0.3));
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.advantage-card i {
    font-size: 2.5rem;
}

.advantage-card h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin: 1rem 0;
}

.advantage-card p {
    color: var(--text-light);
}

/* Service Cards */
.service-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotateGradient 10s linear infinite;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(16, 185, 129, 0.4), 0 0 40px rgba(16, 185, 129, 0.2);
    border-top-color: var(--primary-color);
    border-color: var(--secondary-color);
}

@keyframes rotateGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.4);
    transition: all 0.4s ease;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.5);
}

.service-card:hover .service-icon::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-card h4 {
    color: var(--text-dark);
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Presentation Section */
.presentation-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.presentation-image {
    font-size: 12rem;
    color: var(--primary-color);
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

/* Why Cards */
.why-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(30, 58, 138, 0.1);
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover::before {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

.why-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.25), 0 0 30px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-color);
}

.why-card i {
    font-size: 2.5rem;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-card:hover i {
    transform: scale(1.15) rotate(10deg);
    filter: drop-shadow(0 5px 15px rgba(30, 58, 138, 0.3));
}

.why-card h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin: 1rem 0;
    transition: color 0.3s ease;
}

.why-card:hover h5 {
    color: var(--primary-color);
}

.why-card p {
    color: var(--text-light);
}

/* Impact Cards */
.impact-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(16, 185, 129, 0.1);
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.6s ease;
}

.impact-card:hover::before {
    left: 100%;
}

.impact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(16, 185, 129, 0.25), 0 0 40px rgba(16, 185, 129, 0.15);
    border-color: var(--secondary-color);
}

.impact-card i {
    font-size: 3rem;
    transition: all 0.4s ease;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.1));
}

.impact-card:hover i {
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 8px 20px rgba(16, 185, 129, 0.4));
}

.impact-card h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin: 1rem 0;
    transition: color 0.3s ease;
}

.impact-card:hover h5 {
    color: var(--secondary-color);
}

.impact-card p {
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.contact-info a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="footerGrid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="60" height="60" fill="url(%23footerGrid)"/></svg>');
    opacity: 0.5;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Social Links */
.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    border-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-image {
        font-size: 8rem;
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .presentation-image {
        font-size: 8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .step-card,
    .advantage-card,
    .service-card,
    .why-card,
    .impact-card {
        margin-bottom: 1.5rem;
    }
    
    .navbar-logo {
        height: 25px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .footer-logo {
        height: 20px;
    }
}

/* Background sections */
.bg-light {
    background-color: var(--bg-light) !important;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--secondary-color) !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
    color: var(--white);
    padding-top: 100px;
    margin-bottom: 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--white);
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
}

/* Service Detail Card */
.service-detail-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.service-detail-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.service-icon-large {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

/* Contact Info Card */
.contact-info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
}

/* Emergency CTA */
.emergency-cta {
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.emergency-cta i {
    font-size: 3rem;
}

/* Value Card */
.value-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-card i {
    font-size: 2.5rem;
}

.value-card h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin: 1rem 0;
}

.value-card p {
    color: var(--text-light);
}

/* Comparison Card */
.comparison-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    height: 100%;
}

.comparison-card-weenpan {
    border: 3px solid var(--secondary-color);
}

.comparison-card h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.comparison-card ul li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

/* Stat Card */
.stat-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-card i {
    font-size: 3rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.stat-card p {
    color: var(--text-light);
    margin: 0;
}

/* Impact Stat */
.impact-stat {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 600;
}

.impact-stat-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.impact-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.impact-stat-card i {
    font-size: 3rem;
}

.impact-stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Engagement Image */
.engagement-image {
    font-size: 12rem;
    color: var(--secondary-color);
    opacity: 0.2;
    animation: float 3s ease-in-out infinite;
}

/* App Screenshots Styles */
.hero-app-showcase {
    position: relative;
    padding: 2rem 0;
}

.app-screenshots {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-screenshot {
    max-width: 150px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.app-screenshot::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(16, 185, 129, 0.3), rgba(255, 255, 255, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.app-screenshot:hover::before {
    opacity: 1;
    animation: borderGlow 2s linear infinite;
}

.app-screenshot:hover {
    transform: translateY(-15px) scale(1.08) rotate(2deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(16, 185, 129, 0.4);
    z-index: 10;
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.app-screenshot-1 {
    animation: float 3s ease-in-out infinite;
}

.app-screenshot-2 {
    animation: float 3s ease-in-out infinite 0.5s;
    margin-top: 2rem;
}

.app-screenshot-3 {
    animation: float 3s ease-in-out infinite 1s;
    margin-top: -2rem;
}

/* Presentation App Showcase */
.presentation-app-showcase {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.app-presentation-gallery {
    margin-bottom: 1.5rem;
}

.app-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.app-image-card:hover {
    transform: translateY(-5px);
}

.app-image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.app-image-card:hover img {
    transform: scale(1.05);
}

.app-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.app-image-card:hover .app-image-overlay {
    transform: translateY(0);
}

.app-features-list {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
}

.app-features-list h5 {
    color: var(--text-dark);
    font-weight: 600;
}

.app-features-list ul li {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* App Showcase Gallery */
.app-showcase-gallery {
    padding: 1rem;
}

.app-showcase-main {
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    max-width: 300px;
    margin: 0 auto;
}

.app-showcase-main:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.3) !important;
}

.app-showcase-thumb {
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 200px;
    margin: 0 auto;
}

.app-showcase-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* App Download Badges */
.app-download-section {
    margin: 1.5rem 0;
}

.app-download-badges {
    text-align: center;
}

.app-badge {
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}

.app-badge:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.1);
}

.play-store-badge {
    height: 60px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
}

.app-store-badge {
    height: 60px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
}

.app-badge:hover .play-store-badge,
.app-badge:hover .app-store-badge {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* Hero App Download Badges - Above Screenshots */
.app-download-badges-hero {
    text-align: center;
    position: relative;
    z-index: 3;
    margin-bottom: 2rem;
}

.app-download-badges-hero p {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.app-badge-hero {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.4));
    position: relative;
}

.app-badge-hero::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.app-badge-hero:hover::before {
    opacity: 1;
    animation: badgeGlow 2s ease-in-out infinite;
}

.app-badge-hero:hover {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 8px 25px rgba(255, 255, 255, 0.5)) brightness(1.2);
}

.play-store-badge-hero {
    height: 55px;
    width: auto;
    max-width: 170px;
    transition: all 0.4s ease;
}

.app-store-badge-hero {
    height: 55px;
    width: auto;
    max-width: 170px;
    transition: all 0.4s ease;
    filter: brightness(0) invert(1);
}

.app-badge-hero:hover .play-store-badge-hero,
.app-badge-hero:hover .app-store-badge-hero {
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.4));
}

@keyframes badgeGlow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }
}

/* Alternative badges with custom styling */
.app-badge-custom {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0.5rem;
}

.app-badge-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
}

.app-badge-custom i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.app-badge-custom .badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-badge-custom .badge-text small {
    font-size: 0.7rem;
    opacity: 0.7;
    font-weight: 400;
}

/* Responsive additions */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .service-detail-card {
        padding: 2rem;
    }
    
    .service-icon-large {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .contact-info-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .engagement-image {
        font-size: 8rem;
    }
    
    .navbar-logo {
        height: 30px;
    }
    
    .footer-logo {
        height: 25px;
    }
    
    .app-screenshot {
        max-width: 120px;
    }
    
    .app-screenshot-2,
    .app-screenshot-3 {
        margin-top: 0;
    }
    
    .app-showcase-main {
        max-width: 250px;
    }
    
    .app-showcase-thumb {
        max-width: 150px;
    }
    
    .presentation-app-showcase {
        padding: 1.5rem;
    }
    
    .app-showcase-gallery {
        padding: 0.5rem;
    }
    
    .app-showcase-main,
    .app-showcase-thumb {
        margin-bottom: 1rem;
    }
    
    .play-store-badge,
    .app-store-badge {
        height: 50px !important;
        max-width: 160px !important;
    }
    
    .play-store-badge-hero,
    .app-store-badge-hero {
        height: 40px !important;
        max-width: 130px !important;
    }
    
    .app-download-section {
        margin: 1rem 0;
    }
    
    .app-download-badges-hero {
        margin-bottom: 1.5rem !important;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .social-links h6 {
        font-size: 0.9rem;
    }
    
    .navbar-social-links {
        margin-left: 0.5rem !important;
    }
    
    .navbar-social-link {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
    
    .hero-background-video,
    .hero-background {
        opacity: 0.1;
    }
}

