/* ===== SHARED EFFECTS - Apply to all pages for consistency ===== */

/* 3D Gradient Section Dividers */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary) 20%, 
        var(--white) 50%, 
        var(--primary) 80%, 
        transparent 100%);
    margin: 0 auto var(--spacing-2xl) auto;
    border-radius: 2px;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.5),
        0 0 40px rgba(0, 255, 255, 0.3),
        0 0 60px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateX(5deg);
    position: relative;
    z-index: 10;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 255, 0.3) 20%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(0, 255, 255, 0.3) 80%, 
        transparent 100%);
    border-radius: 4px;
    filter: blur(1px);
}

.section-divider::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 20%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(0, 0, 0, 0.1) 80%, 
        transparent 100%);
    border-radius: 4px;
    filter: blur(1px);
}

/* Enhanced Section Titles with Cyan Glow */
.section-title {
    position: relative;
    text-shadow: none;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #0A1E3F;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(10, 30, 63, 0.15);
}

/* Enhanced Cards with Permanent Glow */
.reason-card,
.service-card,
.testimonial-card,
.value-card,
.team-member,
.timeline-content,
.mv-card,
.story-content {
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(0, 255, 255, 0.1),
        0 0 0 1px rgba(0, 255, 255, 0.2),
        0 0 20px rgba(0, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reason-card:hover,
.service-card:hover,
.testimonial-card:hover,
.value-card:hover,
.team-member:hover,
.timeline-content:hover,
.mv-card:hover,
.story-content:hover {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 30px rgba(0, 255, 255, 0.2),
        0 0 0 1px rgba(0, 255, 255, 0.3),
        0 0 30px rgba(0, 255, 255, 0.2);
    transform: translateY(-10px);
}

/* Enhanced Icons with Glow */
.reason-icon,
.service-icon,
.value-icon,
.mv-icon {
    box-shadow: 
        0 8px 25px rgba(0, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 20px rgba(0, 255, 255, 0.2);
}

.reason-card:hover .reason-icon,
.service-card:hover .service-icon,
.value-card:hover .value-icon,
.mv-card:hover .mv-icon {
    box-shadow: 
        0 12px 35px rgba(0, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(0, 255, 255, 0.3);
}

/* Enhanced Buttons with Navy Blue Theme */
.btn-primary {
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transition: all var(--transition-normal);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.btn-outline:hover {
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Enhanced Navigation with Glow */
.nav-link.active {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* Enhanced Footer with Glow */
.footer {
    box-shadow: 
        0 -4px 20px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(0, 255, 255, 0.1);
}

/* Enhanced Social Links with Glow */
.social-links a {
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Enhanced Form Elements with Glow */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 
        0 0 0 2px rgba(0, 255, 255, 0.3),
        0 0 15px rgba(0, 255, 255, 0.2);
    border-color: var(--primary);
}

/* Enhanced Links with Glow */
a:hover {
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

/* Enhanced Images with Glow */
img {
    transition: all var(--transition-normal);
}

img:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Responsive Design - Enable 3D animations on mobile with optimizations */
@media (max-width: 768px) {
    .section-divider {
        height: 3px;
        margin: 0 auto var(--spacing-xl) auto;
        transform: perspective(800px) rotateX(3deg); /* Reduced perspective for mobile */
    }
    
    .section-title::after {
        width: 40px;
        height: 2px;
    }
    
    /* Enable 3D hover effects on mobile with reduced intensity */
    .reason-card:hover,
    .service-card:hover,
    .testimonial-card:hover,
    .value-card:hover,
    .team-member:hover,
    .timeline-content:hover,
    .mv-card:hover,
    .story-content:hover {
        transform: translateY(-5px) scale(1.01); /* Reduced transform for mobile */
    }
    
    /* Optimize 3D transforms for mobile performance */
    .reason-card,
    .service-card,
    .testimonial-card,
    .value-card,
    .team-member {
        will-change: transform;
        transform-style: preserve-3d;
        backface-visibility: hidden;
    }
    
    /* Respect reduced motion preference */
    @media (prefers-reduced-motion: reduce) {
        .reason-card:hover,
        .service-card:hover,
        .testimonial-card:hover,
        .value-card:hover,
        .team-member:hover {
            transform: none;
        }
    }
} 