/* Additional refinements and animations */

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

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animations to content sections */
.content-section {
    animation: fadeInUp 0.8s ease-out;
}

.service-card {
    animation: fadeInUp 0.8s ease-out;
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Enhanced hover effects */
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #2c7a7b 0%, #319795 100%);
    color: white;
}

.specialty-item:hover .specialty-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(44, 122, 123, 0.3);
}

.client-type:hover .client-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(44, 122, 123, 0.3);
}

/* Enhanced button styles */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #2c7a7b 0%, #319795 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(44, 122, 123, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 25px rgba(44, 122, 123, 0.4);
    background: linear-gradient(135deg, #319795 0%, #38b2ac 100%);
}

/* Enhanced mobile navigation */
.nav-menu.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    padding: 1rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    gap: 1rem;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Enhanced FAQ animations */
.faq-item {
    animation: slideInLeft 0.6s ease-out;
    animation-fill-mode: both;
}

.faq-item:nth-child(2) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.4s;
}

.faq-item:nth-child(6) {
    animation-delay: 0.5s;
}

.faq-item:nth-child(7) {
    animation-delay: 0.6s;
}

.faq-item:nth-child(8) {
    animation-delay: 0.7s;
}

.faq-item:nth-child(9) {
    animation-delay: 0.8s;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

/* Enhanced content card animations */
.content-card {
    animation: fadeInUp 0.8s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

/* Enhanced profile image */
.profile-image {
    transition: all 0.4s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Enhanced contact card */
.contact-card {
    animation: fadeInUp 0.8s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

/* Loading animation for images */
.profile-image {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

/* Enhanced typography */
.section-header h1,
.section-header h2 {
    position: relative;
}

.section-header h1::after,
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #2c7a7b 0%, #319795 100%);
    border-radius: 2px;
}

/* Enhanced link styles */
a {
    transition: all 0.3s ease;
}

/* Enhanced form elements (if needed) */
input, textarea, select {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2c7a7b;
    box-shadow: 0 0 0 3px rgba(44, 122, 123, 0.1);
}

/* Enhanced accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
.nav-link:focus,
.faq-question:focus,
.btn-primary:focus {
    outline: 2px solid #319795;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .hamburger {
        display: none;
    }
    
    .content-section {
        page-break-inside: avoid;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .content-card,
    .service-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

