/* ========================================
   NON-CRITICAL ENHANCED STYLES
   Loaded asynchronously for better performance
   ======================================== */

/* Professional Header Enhancements */
.professional-nav .nav-item.active .nav-link {
    background: rgba(45, 97, 233, 0.1) !important;
}

.professional-nav .nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: linear-gradient(135deg, #2d61e9 0%, #1a4fa0 100%);
    border-radius: 2px;
}

.professional-dropdown li a:hover {
    background: rgba(45, 97, 233, 0.08) !important;
    color: #2d61e9 !important;
    padding-right: 25px !important;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #1a4fa0 0%, #2d61e9 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(45, 97, 233, 0.3) !important;
}

.professional-toggle:hover {
    background: rgba(45, 97, 233, 0.1) !important;
    border-color: #1a4fa0 !important;
}

.logo-container:hover .logo-icon {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Hero CTA Buttons */
.hero-cta {
    margin-top: 30px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 30px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-hero-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;
}

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

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.5);
    color: #333;
    text-decoration: none;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    justify-content: center;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-hero-primary i,
.btn-hero-secondary i {
    margin-left: 10px;
    font-size: 18px;
}

/* Trust Bar Section */
.trust-bar {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}

.trust-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.trust-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2d61e9 0%, #1a4fa0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 5px 20px rgba(45, 97, 233, 0.3);
}

.trust-icon i {
    font-size: 32px;
    color: #fff;
}

.trust-number {
    font-size: 36px;
    font-weight: 800;
    color: #2d61e9;
    margin: 10px 0 5px;
    line-height: 1;
}

.trust-label {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    background: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(45, 97, 233, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    font-weight: 800;
    color: #333;
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
    position: relative;
    z-index: 2;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.step-icon {
    font-size: 48px;
    color: #2d61e9;
    margin-bottom: 15px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 15px 0 10px;
}

.step-description {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 120px;
    color: rgba(45, 97, 233, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

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

.testimonial-content {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2d61e9;
}

.author-info h5 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.author-info p {
    margin: 0;
    font-size: 13px;
    color: #888;
}

.testimonial-rating {
    color: #FFD700;
    margin-top: 5px;
}

.testimonial-rating i {
    font-size: 14px;
}

/* FAQ Section */
.faq-section {
    background: #fff;
    padding: 80px 0;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: #e9ecef;
    color: #2d61e9;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #2d61e9;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
    color: #666;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Enhanced Services Cards */
.single-service {
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: #fff;
    position: relative;
}

.single-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 97, 233, 0.05) 0%, rgba(26, 79, 160, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.single-service:hover::before {
    opacity: 1;
}

.single-service:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.service-icon {
    transition: all 0.4s ease;
}

.single-service:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.single-service:hover .service-icon i {
    color: #2d61e9;
}

/* Enhanced Portfolio Cards */
.work {
    margin-bottom: 30px;
}

.work a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.work a:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.work img {
    transition: transform 0.5s ease;
}

.work a:hover img {
    transform: scale(1.1);
}

.work-inner {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.9) 100%);
}

/* Section Spacing */
.aboutus, .services, .portfolio, .ourteam, 
.blog-wrapper, .contactus {
    padding: 80px 0;
}

.aboutus-2 {
    padding: 80px 0;
    background: #f8f9fa;
}

.feature-sec {
    padding: 80px 0;
}

/* Section Titles Enhancement */
.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 2px;
}

/* Team Cards Enhancement */
.team-item {
    transition: all 0.4s ease;
}

.team-item:hover {
    transform: translateY(-10px);
}

.team-item-image {
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .top-contact-bar {
        padding: 6px 0;
        font-size: 12px;
    }
    
    .top-contact-bar .contact-info-top span {
        display: block;
        margin: 2px 0;
    }
    
    .logo-area {
        padding: 15px 0 !important;
    }
    
    .logo-container h1 {
        font-size: 22px !important;
    }
    
    .logo-container p {
        font-size: 11px !important;
    }
    
    .professional-nav {
        padding: 10px 0 !important;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        margin: 5px 0 !important;
        min-width: 200px;
    }
    
    .trust-bar {
        padding: 40px 0;
    }
    
    .trust-item {
        margin-bottom: 20px;
    }
    
    .how-it-works,
    .testimonials-section,
    .faq-section {
        padding: 50px 0;
    }
    
    .process-step::after {
        display: none;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .aboutus, .services, .portfolio, .ourteam, 
    .blog-wrapper, .contactus, .aboutus-2, .feature-sec {
        padding: 50px 0;
    }
}

/* Mini Stats Hover Effect */
#aboutus .col-md-3 > div:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(45, 97, 233, 0.2) !important;
    border-color: currentColor !important;
}

/* Service Card Enhanced Hover */
.enhanced-service-card {
    cursor: pointer;
}

.enhanced-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 97, 233, 0.05) 0%, rgba(26, 79, 160, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.enhanced-service-card:hover::before {
    opacity: 1;
}

.enhanced-service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(45, 97, 233, 0.15) !important;
}

.enhanced-service-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* CTA Button Hover */
.btn-about-more:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(45, 97, 233, 0.5) !important;
    text-decoration: none;
    color: #fff;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

.btn-why-cyprus:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(45, 97, 233, 0.5) !important;
    text-decoration: none;
    color: #fff;
}

/* Partner Items */
.partner-item:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 35px rgba(45, 97, 233, 0.2) !important;
}

.partner-item:hover img {
    transform: scale(1.1);
}

.partner-item {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
    opacity: 0;
}

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

/* Consulting Stats */
.consulting-stats > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
}

.consulting-content ul li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(45, 97, 233, 0.15) !important;
}

.btn-consulting-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 165, 0, 0.5) !important;
    text-decoration: none;
    color: #333;
}

.btn-consulting-secondary:hover {
    transform: translateY(-3px);
    background: #1a4fa0 !important;
    box-shadow: 0 8px 25px rgba(26, 79, 160, 0.4) !important;
    text-decoration: none;
    color: #fff;
}
