/* ==================== ENHANCED VISUAL EFFECTS ==================== */

/* Improved Hero Section with Better Gradients */
.hero-modern {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0284c7 100%);
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-modern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Enhanced Feature Cards with Gradient Hover */
.features-grid .feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-grid .feature-card:nth-child(1):hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.features-grid .feature-card:nth-child(2):hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.features-grid .feature-card:nth-child(3):hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.features-grid .feature-card:nth-child(4):hover {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.features-grid .feature-card:nth-child(5):hover {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.features-grid .feature-card:nth-child(6):hover {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Enhanced Icon Styling */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: 20px;
    margin: 0 auto var(--space-4);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(14, 165, 233, 0.2) 100%);
}

/* Enhanced Contact Form */
.modern-form {
    animation: fadeInUp 0.8s ease-out;
}

.modern-form .form-group {
    margin-bottom: var(--space-6);
}

.modern-form input,
.modern-form select,
.modern-form textarea {
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

/* Enhanced CTA Section */
.cta-modern {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
    position: relative;
    overflow: hidden;
}

.cta-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="ctaPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23ctaPattern)"/></svg>');
}

/* Enhanced About Page Sections */
.about-hero-beautiful {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    position: relative;
}

.about-hero-beautiful::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="aboutPattern" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25,0 L25,50 M0,25 L50,25" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23aboutPattern)"/></svg>');
}

.story-card {
    transition: all 0.4s ease;
}

.story-card:hover {
    transform: translateY(-8px);
}

.story-card:hover .story-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Enhanced Services Page */
.services-hero-beautiful {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #0284c7 100%);
    position: relative;
}

.service-beautiful-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-beautiful-card:hover {
    transform: translateY(-12px) scale(1.02);
}

.service-beautiful-card:hover .service-beautiful-overlay {
    opacity: 1;
}

.additional-beautiful-card {
    transition: all 0.4s ease;
    cursor: pointer;
}

.additional-beautiful-card:hover {
    transform: translateY(-8px);
}

.additional-beautiful-card:hover .card-glow {
    opacity: 1;
    transform: scale(1.5);
}

.additional-beautiful-card:hover .icon-circle {
    transform: scale(1.15);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
}

/* Enhanced Typography */
.hero-title,
.section-title,
.about-main-title,
.services-main-title {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Button Hover Effects */
.cta-btn.primary {
    position: relative;
    overflow: hidden;
}

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

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

/* Enhanced Footer */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--teal), var(--primary-orange));
}

/* Decorative Elements */
.hero-visual {
    position: relative;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Enhanced Trust Indicators */
.trust-indicators {
    animation: fadeInUp 1s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.trust-item {
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
}

.trust-item:hover .trust-number {
    color: var(--primary-yellow);
}

/* Testimonial Cards Enhancement */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mission Items Enhancement */
.mission-item {
    transition: all 0.3s ease;
}

.mission-item:hover {
    transform: translateX(8px);
}

.mission-item:hover .mission-number {
    background: var(--gradient-purple);
    transform: scale(1.1);
}

/* Values Graphics Enhancement */
.graphic-circle {
    animation: rotateCircle 20s linear infinite;
}

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

.inner-circle {
    animation: float 3s ease-in-out infinite;
}

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

/* Contact Info Enhancement */
.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(8px);
}

.contact-item:hover .contact-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Enhanced Mobile Menu */
.mobile-menu-btn span {
    transition: all 0.3s ease;
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Print Optimization */
@media print {
    .modern-header,
    .mobile-menu-btn,
    .cta-modern,
    .modern-footer {
        display: none;
    }
}
