/* Additional Component Styles */

/* Navigation Styles */
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    display: inline-block;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link span {
    display: block;
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover span {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle .menu-icon,
.mobile-menu-toggle .close-icon {
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .menu-icon {
    display: none;
}

.mobile-menu-toggle.active .close-icon {
    display: block;
}

.mobile-navigation {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-navigation.active {
    max-height: 400px;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
}

.mobile-nav-menu li {
    margin-bottom: 1rem;
}

.mobile-nav-menu a {
    display: block;
    padding: 0.5rem 0;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: var(--primary);
}

/* Footer Styles */
.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--accent);
}

.social-icon:hover {
    background: var(--accent) !important;
    transform: scale(1.1) rotate(5deg);
}

/* Scroll to Top Button */
.scroll-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
}

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

.service-card:hover .icon-box {
    transform: rotate(360deg) scale(1.1);
}

.icon-box {
    transition: transform 0.6s ease;
}

/* Blog Card Image Hover */
.blog-card .blog-image img:hover {
    transform: scale(1.1);
}

/* Portfolio Card Overlay */
.portfolio-card {
    position: relative;
    overflow: hidden;
}

.portfolio-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portfolio-card:hover .overlay {
    opacity: 1;
}

/* Testimonial Card */
.testimonial-card {
    position: relative;
}

.quote-icon {
    z-index: 10;
}

/* Stats Counter Animation */
.stat-number {
    font-weight: 700;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

/* Form Styles */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* FAQ Accordion */
.faq-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

/* Process Steps Connection Line */
@media (min-width: 1024px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 40px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: linear-gradient(to left, rgba(37, 99, 235, 0.5), rgba(245, 158, 11, 0.5));
    }
}

/* Team Member Hover */
.team-member:hover .member-image img {
    transform: scale(1.1);
}

/* Read More Arrow Animation */
.read-more:hover svg {
    transform: translateX(-5px);
}

.read-more svg {
    transition: transform 0.3s ease;
}

/* Button Hover Effects */
.btn:hover {
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.95);
}

/* Hero Section Animations */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section .container > div {
    animation: heroFadeIn 0.8s ease forwards;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--muted);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Selection Color */
::selection {
    background: var(--primary);
    color: white;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Responsive Helpers */
@media (max-width: 767px) {
    .hidden-mobile {
        display: none !important;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .section {
        padding: 3rem 0;
    }
}

@media (min-width: 768px) {
    .hidden-desktop {
        display: none !important;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .scroll-to-top {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    a {
        text-decoration: underline;
    }
}
