/* Modern CSS for Vertex Cooperation Website */

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0 !important;
}

/* Modern Navigation Styles */
.nav-link-modern {
    @apply relative px-4 py-2 text-gray-700 hover:text-primary font-medium transition-all duration-300 rounded-xl hover:bg-white/50 backdrop-blur-sm;
}

.nav-link-modern::before {
    content: '';
    @apply absolute bottom-0 left-1/2 w-0 h-0.5 bg-gradient-to-r from-primary to-secondary transition-all duration-300 transform -translate-x-1/2;
}

.nav-link-modern:hover::before {
    @apply w-full;
}

.nav-link-modern.active {
    @apply text-primary bg-white/30;
}

.nav-link-modern.active::before {
    @apply w-full;
}

.mobile-nav-link-modern {
    @apply block text-gray-700 hover:text-primary transition-all duration-300;
}

/* Modern Button Styles */
.btn-modern-primary {
    @apply bg-gradient-to-r from-primary to-secondary hover:from-blue-700 hover:to-purple-700 text-white px-8 py-4 rounded-2xl font-semibold transition-all duration-300 transform hover:scale-105 flex items-center justify-center shadow-lg hover:shadow-xl;
}

.btn-modern-secondary {
    @apply border-2 border-primary text-primary hover:bg-primary hover:text-white px-8 py-4 rounded-2xl font-semibold transition-all duration-300 flex items-center justify-center backdrop-blur-sm bg-white/50 hover:bg-primary;
}

/* Glassmorphism Effects */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modern Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease-out;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-shimmer {
    animation: shimmer 2s infinite;
}

/* Enhanced Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) skewX(-12deg);
    }
    100% {
        transform: translateX(200%) skewX(-12deg);
    }
}

/* Modern Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Service Cards */
.service-card-modern {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Portfolio Cards */
.portfolio-card-modern {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card-modern.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Team Cards */
.team-card-modern {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-modern.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Team card hover effects */
.team-card-modern .group:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.team-card-modern .group:hover .bg-gradient-to-br {
    transform: scale(1.1);
}

/* Team member avatar animations */
.team-card-modern .group:hover .w-32,
.team-card-modern .group:hover .w-20 {
    transform: rotate(12deg) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.3);
}

/* Team stats hover effects */
.team-stats-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.team-stats-card:hover::before {
    left: 100%;
}

.team-stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Team values section */
.team-values-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-values-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #007BFF, #6f42c1);
    transition: width 0.3s ease;
}

.team-values-card:hover::after {
    width: 100%;
}

.team-values-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Team social links */
.team-social-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.3s;
}

.team-social-link:hover::before {
    left: 100%;
}

.team-social-link:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Team skill tags */
.team-skill-tag {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-skill-tag::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.3s;
}

.team-skill-tag:hover::before {
    left: 100%;
}

.team-skill-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem !important;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #007BFF, #6f42c1);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0056b3, #5a32a3);
}

/* Modern Form Focus States */
input:focus, textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

/* Modern Button Hover Effects */
.btn-primary {
    @apply bg-gradient-to-r from-primary to-secondary hover:from-blue-700 hover:to-purple-700 text-white font-semibold py-4 px-8 rounded-2xl transition-all duration-300 transform hover:scale-105 shadow-lg hover:shadow-xl;
}

.btn-secondary {
    @apply border-2 border-primary text-primary hover:bg-primary hover:text-white font-semibold py-4 px-8 rounded-2xl transition-all duration-300 backdrop-blur-sm bg-white/50 hover:bg-primary;
}

/* Modern Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #007BFF, #6f42c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Card Hover Effects */
.hover-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Modern Loading Animation */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modern Responsive Typography */
@media (max-width: 640px) {
    .text-responsive {
        font-size: 1.5rem;
    }
    html {
        scroll-padding-top: 4rem !important;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .text-responsive {
        font-size: 2rem;
    }
}

@media (min-width: 1025px) {
    .text-responsive {
        font-size: 2.5rem;
    }
}

/* Modern Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.float {
    animation: float 4s ease-in-out infinite;
}

/* Modern Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Modern Bounce Animation */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

/* Modern Custom Utilities */
.text-shadow {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.box-shadow-custom {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.box-shadow-glow {
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.3);
}

/* Modern Dark mode support */
@media (prefers-color-scheme: dark) {
    .dark-mode {
        background-color: #1a1a1a;
        color: #ffffff;
    }
}

/* Modern Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Modern Selection styles */
::selection {
    background: rgba(0, 123, 255, 0.2);
    color: #007BFF;
}

::-moz-selection {
    background: rgba(0, 123, 255, 0.2);
    color: #007BFF;
}

/* Modern Focus visible styles */
.focus-visible:focus {
    outline: 2px solid #007BFF;
    outline-offset: 2px;
}

/* Modern Backdrop blur support */
@supports (backdrop-filter: blur(10px)) {
    .backdrop-blur {
        backdrop-filter: blur(10px);
    }
}

/* Modern CSS Grid animations */
.grid-animate {
    animation: gridFadeIn 0.6s ease-out;
}

@keyframes gridFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Modern Stagger animations for cards */
.service-card-modern:nth-child(1) { animation-delay: 0.1s; }
.service-card-modern:nth-child(2) { animation-delay: 0.2s; }
.service-card-modern:nth-child(3) { animation-delay: 0.3s; }
.service-card-modern:nth-child(4) { animation-delay: 0.4s; }
.service-card-modern:nth-child(5) { animation-delay: 0.5s; }

.portfolio-card-modern:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card-modern:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card-modern:nth-child(3) { animation-delay: 0.3s; }

.team-card-modern:nth-child(1) { animation-delay: 0.1s; }
.team-card-modern:nth-child(2) { animation-delay: 0.2s; }
.team-card-modern:nth-child(3) { animation-delay: 0.3s; }
.team-card-modern:nth-child(4) { animation-delay: 0.4s; }
.team-card-modern:nth-child(5) { animation-delay: 0.5s; }

/* Modern Hover effects for interactive elements */
.interactive-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Modern Gradient backgrounds */
.gradient-bg-primary {
    background: linear-gradient(135deg, #007BFF 0%, #6f42c1 100%);
}

.gradient-bg-secondary {
    background: linear-gradient(135deg, #6f42c1 0%, #007BFF 100%);
}

.gradient-bg-warm {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
}

.gradient-bg-cool {
    background: linear-gradient(135deg, #48cae4 0%, #023e8a 100%);
}

/* Modern Border radius utilities */
.rounded-modern {
    border-radius: 20px;
}

.rounded-modern-lg {
    border-radius: 30px;
}

.rounded-modern-xl {
    border-radius: 40px;
}

/* Modern Spacing utilities */
.space-modern {
    margin: 2rem 0;
}

.space-modern-lg {
    margin: 4rem 0;
}

.space-modern-xl {
    margin: 6rem 0;
}

/* Modern Typography utilities */
.font-modern {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.font-modern-bold {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.font-modern-light {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

/* Modern Color utilities */
.text-modern-primary {
    color: #007BFF;
}

.text-modern-secondary {
    color: #6f42c1;
}

.bg-modern-primary {
    background-color: #007BFF;
}

.bg-modern-secondary {
    background-color: #6f42c1;
}

/* Modern Transition utilities */
.transition-modern {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-modern-slow {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-modern-fast {
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Footer Styles */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(111, 66, 193, 0.05) 100%);
    pointer-events: none;
}

/* Footer link hover effects */
footer a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer a:hover {
    transform: translateX(5px);
}

/* Footer social icons enhanced */
footer .social-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

footer .social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

footer .social-icon:hover::before {
    left: 100%;
}

/* Footer newsletter form enhanced */
footer input[type="email"] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer input[type="email"]:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.2);
}

/* Footer floating elements animation */
footer .floating-element {
    animation: float 6s ease-in-out infinite;
}

footer .floating-element:nth-child(2) {
    animation-delay: 2s;
}

footer .floating-element:nth-child(3) {
    animation-delay: 4s;
}

/* Footer section divider enhanced */
footer .section-divider {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    height: 1px;
    margin: 2rem 0;
}

/* Footer contact info enhanced */
footer .contact-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer .contact-item:hover {
    transform: translateX(10px);
}

footer .contact-item .icon-container {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer .contact-item:hover .icon-container {
    transform: scale(1.1) rotate(5deg);
}

/* Footer quick links enhanced */
footer .quick-link {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer .quick-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007BFF, #6f42c1);
    transition: width 0.3s ease;
}

footer .quick-link:hover::after {
    width: 100%;
}

/* Footer service links enhanced */
footer .service-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer .service-link:hover {
    transform: translateX(8px);
    color: #007BFF;
}

footer .service-link .icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer .service-link:hover .icon {
    transform: scale(1.2) rotate(10deg);
}

/* Footer bottom section enhanced */
footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

footer .footer-bottom a {
    position: relative;
    transition: all 0.3s ease;
}

footer .footer-bottom a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #007BFF;
    transition: width 0.3s ease;
}

footer .footer-bottom a:hover::before {
    width: 100%;
}

/* Footer responsive enhancements */
@media (max-width: 768px) {
    footer {
        text-align: center;
    }
    
    footer .grid {
        gap: 2rem;
    }
    
    footer .social-icons {
        justify-content: center;
    }
    
    footer .newsletter-form {
        flex-direction: column;
    }
    
    footer .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Footer animation delays for staggered effect */
footer .footer-section:nth-child(1) { animation-delay: 0.1s; }
footer .footer-section:nth-child(2) { animation-delay: 0.2s; }
footer .footer-section:nth-child(3) { animation-delay: 0.3s; }
footer .footer-section:nth-child(4) { animation-delay: 0.4s; }

/* Footer glow effect on hover */
footer .glow-on-hover {
    transition: all 0.3s ease;
}

footer .glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

/* Enhanced Team Section Styles */
.team-section {
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.02) 0%, rgba(111, 66, 193, 0.02) 100%);
    pointer-events: none;
}

/* Team stats cards enhanced */
.team-stats-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.team-stats-card:hover::before {
    left: 100%;
}

.team-stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Team member cards enhanced */
.team-member-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(111, 66, 193, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover::before {
    opacity: 1;
}

.team-member-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Team avatar animations */
.team-avatar {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.team-member-card:hover .team-avatar::after {
    transform: translateX(100%);
}

.team-member-card:hover .team-avatar {
    transform: rotate(12deg) scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
}

/* Team social links enhanced */
.team-social-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.3s;
}

.team-social-link:hover::before {
    left: 100%;
}

.team-social-link:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Team skill tags enhanced */
.team-skill-tag {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-skill-tag::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.3s;
}

.team-skill-tag:hover::before {
    left: 100%;
}

.team-skill-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Team values section enhanced */
.team-values-section {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(111, 66, 193, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.team-values-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-values-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #007BFF, #6f42c1);
    transition: width 0.3s ease;
}

.team-values-card:hover::after {
    width: 100%;
}

.team-values-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Team responsive enhancements */
@media (max-width: 768px) {
    .team-section {
        text-align: center;
    }
    
    .team-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .team-member-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Team animation delays for staggered effect */
.team-stats-card:nth-child(1) { animation-delay: 0.1s; }
.team-stats-card:nth-child(2) { animation-delay: 0.2s; }
.team-stats-card:nth-child(3) { animation-delay: 0.3s; }
.team-stats-card:nth-child(4) { animation-delay: 0.4s; }

.team-member-card:nth-child(1) { animation-delay: 0.1s; }
.team-member-card:nth-child(2) { animation-delay: 0.2s; }
.team-member-card:nth-child(3) { animation-delay: 0.3s; }
.team-member-card:nth-child(4) { animation-delay: 0.4s; }
.team-member-card:nth-child(5) { animation-delay: 0.5s; }

.team-values-card:nth-child(1) { animation-delay: 0.1s; }
.team-values-card:nth-child(2) { animation-delay: 0.2s; }
.team-values-card:nth-child(3) { animation-delay: 0.3s; }

/* Scroll Progress Bar Animation */
#scroll-progress {
    width: 0%;
}

/* Navigation Background on Scroll */
.nav-scrolled {
    @apply bg-white/90 backdrop-blur-lg shadow-lg;
}

/* Mobile Menu Animation */
.mobile-menu-open {
    @apply block;
}

.mobile-menu-closed {
    @apply hidden;
}

/* Enhanced Mobile Menu Button */
#mobile-menu-button.active .w-6 span:nth-child(1) {
    @apply rotate-45 translate-y-2;
}

#mobile-menu-button.active .w-6 span:nth-child(2) {
    @apply opacity-0;
}

#mobile-menu-button.active .w-6 span:nth-child(3) {
    @apply -rotate-45 -translate-y-2;
}

/* Glassmorphism Effects for Navigation */
.nav-glass {
    @apply bg-white/80 backdrop-blur-md border-b border-white/20;
}

/* Logo Animation */
.logo-glow {
    @apply drop-shadow-lg;
}

.logo-glow:hover {
    @apply drop-shadow-xl;
}

/* Navigation Link Hover Effects */
.nav-link-modern:hover {
    @apply transform scale-105;
}

/* Mobile Navigation Card Hover */
.mobile-nav-link-modern:hover .bg-white\/50 {
    @apply bg-white/80 shadow-lg;
}

/* Contact Button Glow Effect */
.contact-btn-glow {
    @apply shadow-lg;
}

.contact-btn-glow:hover {
    @apply shadow-xl shadow-primary/25;
}

/* Navigation Badge Animation */
.nav-badge {
    @apply animate-pulse;
}

.nav-badge:hover {
    @apply animate-none scale-110;
}

/* Smooth Mobile Menu Transitions */
#mobile-menu {
    @apply transition-all duration-500 ease-in-out;
}

/* Navigation Link Active State */
.nav-link-modern.active {
    @apply bg-gradient-to-r from-primary/10 to-secondary/10 border border-primary/20;
}

/* Mobile Menu Grid Responsive */
@media (max-width: 640px) {
    .mobile-nav-grid {
        @apply grid-cols-1;
    }
}

/* Enhanced Focus States for Accessibility */
.nav-link-modern:focus,
.mobile-nav-link-modern:focus,
#mobile-menu-button:focus {
    @apply outline-none ring-2 ring-primary/50 ring-offset-2;
}

/* Navigation Logo Text Gradient Animation */
.logo-text-gradient {
    @apply bg-gradient-to-r from-primary via-secondary to-primary bg-size-200 animate-gradient;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    animation: gradient 3s ease infinite;
}

.bg-size-200 {
    background-size: 200% 200%;
}

/* Mobile Responsiveness Enhancements */
@media (max-width: 640px) {
    /* Navigation adjustments for mobile */
    .nav-link-modern {
        @apply px-2 py-1 text-sm;
    }
    
    /* Mobile menu improvements */
    #mobile-menu {
        @apply max-h-[calc(100vh-5rem)] overflow-y-auto;
    }
    
    /* Logo sizing for mobile */
    .text-2xl {
        @apply text-lg;
    }
    
    /* Button sizing for mobile */
    .btn-modern-primary,
    .btn-modern-secondary {
        @apply px-4 py-3 text-sm;
    }
    
    /* Hero section mobile adjustments */
    .text-5xl {
        @apply text-3xl;
    }
    
    .text-7xl {
        @apply text-4xl;
    }
    
    .text-8xl {
        @apply text-5xl;
    }
    
    /* Section padding adjustments */
    .py-24 {
        @apply py-16;
    }
    
    /* Grid adjustments for mobile */
    .grid-cols-2 {
        @apply grid-cols-1;
    }
    
    .grid-cols-3 {
        @apply grid-cols-1;
    }
    
    .grid-cols-4 {
        @apply grid-cols-1;
    }
    
    /* Text sizing for mobile */
    .text-xl {
        @apply text-lg;
    }
    
    .text-2xl {
        @apply text-xl;
    }
    
    .text-3xl {
        @apply text-2xl;
    }
    
    .text-4xl {
        @apply text-3xl;
    }
    
    /* Spacing adjustments */
    .space-y-6 {
        @apply space-y-4;
    }
    
    .space-y-8 {
        @apply space-y-6;
    }
    
    .mb-8 {
        @apply mb-6;
    }
    
    .mb-12 {
        @apply mb-8;
    }
    
    .mb-20 {
        @apply mb-12;
    }
    
    /* Container padding */
    .px-4 {
        @apply px-3;
    }
    
    /* Mobile menu button improvements */
    #mobile-menu-button {
        @apply w-9 h-9;
    }
    
    /* Contact button mobile */
    .hidden.md\:block {
        @apply hidden;
    }
}

@media (max-width: 480px) {
    /* Extra small screen adjustments */
    .text-lg {
        @apply text-base;
    }
    
    .text-xl {
        @apply text-lg;
    }
    
    .text-2xl {
        @apply text-xl;
    }
    
    .text-3xl {
        @apply text-2xl;
    }
    
    .text-4xl {
        @apply text-3xl;
    }
    
    .text-5xl {
        @apply text-4xl;
    }
    
    /* Padding adjustments */
    .p-4 {
        @apply p-3;
    }
    
    .p-6 {
        @apply p-4;
    }
    
    .p-8 {
        @apply p-6;
    }
    
    /* Logo text for very small screens */
    .text-2xl {
        @apply text-base;
    }
    
    /* Mobile menu grid */
    .grid-cols-1.sm\:grid-cols-2 {
        @apply grid-cols-1;
    }
    
    /* Button text size */
    .text-sm.sm\:text-base {
        @apply text-xs;
    }
    
    /* Icon sizes */
    .w-8.h-8.sm\:w-10.sm\:h-10 {
        @apply w-6 h-6;
    }
    
    .w-6.h-6.sm\:w-8.sm\:h-8 {
        @apply w-5 h-5;
    }
}

@media (max-width: 360px) {
    /* Very small screen optimizations */
    .text-base {
        @apply text-sm;
    }
    
    .text-lg {
        @apply text-base;
    }
    
    .text-xl {
        @apply text-lg;
    }
    
    .text-2xl {
        @apply text-xl;
    }
    
    .text-3xl {
        @apply text-2xl;
    }
    
    .text-4xl {
        @apply text-3xl;
    }
    
    /* Logo for very small screens */
    .text-2xl {
        @apply text-sm;
    }
    
    /* Container padding */
    .px-3 {
        @apply px-2;
    }
    
    /* Mobile menu padding */
    .p-3.sm\:p-4 {
        @apply p-2;
    }
    
    /* Button padding */
    .py-2.sm\:py-3 {
        @apply py-1;
    }
    
    .px-4.sm\:px-6 {
        @apply px-3;
    }
}

/* Tablet responsiveness */
@media (min-width: 641px) and (max-width: 1024px) {
    /* Tablet-specific adjustments */
    .text-5xl {
        @apply text-4xl;
    }
    
    .text-7xl {
        @apply text-5xl;
    }
    
    .text-8xl {
        @apply text-6xl;
    }
    
    /* Grid adjustments for tablet */
    .grid-cols-4 {
        @apply grid-cols-2;
    }
    
    .grid-cols-3 {
        @apply grid-cols-2;
    }
    
    /* Spacing adjustments */
    .py-24 {
        @apply py-20;
    }
    
    .mb-20 {
        @apply mb-16;
    }
}

/* Landscape mobile adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    /* Mobile menu height for landscape */
    #mobile-menu {
        @apply max-h-[calc(100vh-4rem)];
    }
    
    /* Hero section height */
    .min-h-screen {
        @apply min-h-[calc(100vh-4rem)];
    }
    
    /* Section padding for landscape */
    .py-24 {
        @apply py-12;
    }
    
    .py-16 {
        @apply py-8;
    }
}

/* High DPI screen optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Sharper text rendering */
    .text-gray-900 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .nav-link-modern {
        @apply px-4 py-3;
    }
    
    .mobile-nav-link-modern {
        @apply p-4;
    }
    
    /* Remove hover effects on touch devices */
    .nav-link-modern:hover::before {
        @apply w-0;
    }
    
    .nav-link-modern:hover {
        @apply transform-none;
    }
    
    .mobile-nav-link-modern:hover .bg-white\/50 {
        @apply bg-white/50;
    }
    
    /* Button hover effects */
    .btn-modern-primary:hover,
    .btn-modern-secondary:hover {
        @apply transform-none;
    }
}

/* Print styles */
@media print {
    /* Hide navigation for print */
    nav {
        @apply hidden;
    }
    
    /* Remove animations for print */
    .animate-fade-in-up,
    .animate-fade-in-left,
    .animate-fade-in-right,
    .animate-fade-in {
        animation: none;
    }
    
    /* Ensure text is readable */
    .text-transparent {
        @apply text-black;
    }
    
    .bg-gradient-to-r {
        @apply bg-gray-200;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    /* Disable animations for users who prefer reduced motion */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Keep essential transitions */
    .nav-link-modern::before {
        transition-duration: 0.3s;
    }
    
    #mobile-menu {
        transition-duration: 0.3s;
    }
}

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
    .nav-link-modern:focus,
    .mobile-nav-link-modern:focus,
    #mobile-menu-button:focus {
        @apply outline-none ring-2 ring-primary/50 ring-offset-2;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Auto dark mode adjustments */
    .bg-white\/80 {
        @apply bg-gray-900/80;
    }
    
    .bg-white\/95 {
        @apply bg-gray-900/95;
    }
    
    .text-gray-900 {
        @apply text-gray-100;
    }
    
    .text-gray-700 {
        @apply text-gray-300;
    }
    
    .text-gray-600 {
        @apply text-gray-400;
    }
    
    .text-gray-500 {
        @apply text-gray-500;
    }
    
    .border-white\/20 {
        @apply border-gray-700/20;
    }
}

/* Mobile Navigation Visibility Fixes */
@media (max-width: 1024px) {
    /* Ensure navigation is always visible on mobile */
    #main-nav {
        @apply bg-white/95 backdrop-blur-md border-b border-gray-200/50;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
    }
    
    /* Mobile menu button visibility */
    #mobile-menu-button {
        @apply bg-white/40 backdrop-blur-sm border border-gray-300/30;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Mobile menu visibility */
    #mobile-menu {
        @apply bg-white/98 backdrop-blur-md;
        z-index: 9998 !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* Ensure logo is visible */
    #main-nav h1 {
        @apply text-gray-900;
        background: linear-gradient(135deg, #007BFF, #6f42c1) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
    
    /* Navigation background fallback */
    #main-nav::before {
        content: '';
        @apply absolute inset-0 bg-white/90 backdrop-blur-md;
        z-index: -1;
    }
}

/* Extra small screen fixes */
@media (max-width: 480px) {
    #main-nav {
        @apply bg-white/98;
    }
    
    #mobile-menu-button {
        @apply bg-white/60;
        min-width: 36px;
        min-height: 36px;
    }
    
    /* Ensure text is readable */
    #main-nav h1 {
        @apply text-base font-bold;
    }
    
    /* Mobile menu button lines */
    #mobile-menu-button span {
        @apply bg-gray-800;
    }
}

/* Very small screen fixes */
@media (max-width: 360px) {
    #main-nav {
        @apply bg-white;
    }
    
    #main-nav h1 {
        @apply text-sm;
    }
    
    #mobile-menu-button {
        @apply w-8 h-8;
    }
    
    #mobile-menu-button .w-5 {
        @apply w-4;
    }
    
    #mobile-menu-button .h-5 {
        @apply h-4;
    }
}

/* Ensure navigation is always on top */
nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
}

/* Mobile menu button always visible on mobile */
@media (max-width: 1024px) {
    .lg\:hidden {
        display: flex !important;
    }
}

/* Force mobile menu button visibility */
#mobile-menu-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Mobile menu button animation fix */
#mobile-menu-button.active .w-6 span:nth-child(1) {
    @apply rotate-45 translate-y-2;
}

#mobile-menu-button.active .w-6 span:nth-child(2) {
    @apply opacity-0;
}

#mobile-menu-button.active .w-6 span:nth-child(3) {
    @apply -rotate-45 -translate-y-2;
}

/* Ensure mobile menu is properly positioned */
#mobile-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9998 !important;
}

/* Navigation background for all screen sizes */
#main-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Mobile menu button styling for better visibility */
@media (max-width: 1024px) {
    #mobile-menu-button {
        background: rgba(255, 255, 255, 0.4) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    #mobile-menu-button:hover {
        background: rgba(255, 255, 255, 0.6) !important;
        transform: scale(1.05) !important;
    }
    
    #mobile-menu-button span {
        background-color: #374151 !important;
    }
    
    #mobile-menu-button:hover span {
        background-color: #007BFF !important;
    }
}

/* Content Overlap Prevention - Critical Fixes */
body {
    padding-top: 0 !important;
}

/* Navigation height compensation */
.nav-compensation {
    padding-top: 4rem !important;
}

@media (min-width: 640px) {
    .nav-compensation {
        padding-top: 5rem !important;
    }
}

/* Section spacing to prevent overlap */
section {
    scroll-margin-top: 5rem !important;
}

@media (max-width: 640px) {
    section {
        scroll-margin-top: 4rem !important;
    }
}

/* Hero section specific fixes */
#home {
    min-height: calc(100vh - 4rem) !important;
    padding-top: 4rem !important;
}

@media (min-width: 640px) {
    #home {
        min-height: calc(100vh - 5rem) !important;
        padding-top: 5rem !important;
    }
}

/* Smooth scrolling offset fix */
html {
    scroll-padding-top: 5rem !important;
}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 4rem !important;
    }
}

/* Mobile menu overlay fix */
#mobile-menu {
    top: 4rem !important;
}

@media (min-width: 640px) {
    #mobile-menu {
        top: 5rem !important;
    }
}

/* Ensure all sections have proper top spacing */
section:not(#home) {
    position: relative !important;
}

/* Mobile-specific content spacing */
@media (max-width: 640px) {
    /* Reduce section padding on mobile */
    .py-24 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    .py-16 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .py-12 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Adjust margins for mobile */
    .mb-20 {
        margin-bottom: 3rem !important;
    }
    
    .mb-16 {
        margin-bottom: 2.5rem !important;
    }
    
    .mb-12 {
        margin-bottom: 2rem !important;
    }
    
    /* Ensure content doesn't get cut off */
    .min-h-screen {
        min-height: calc(100vh - 4rem) !important;
    }
}

/* Extra small screen adjustments */
@media (max-width: 480px) {
    #home {
        min-height: calc(100vh - 4rem) !important;
        padding-top: 4rem !important;
    }
    
    .py-16 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .py-12 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .py-8 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

/* Very small screen adjustments */
@media (max-width: 360px) {
    #home {
        min-height: calc(100vh - 4rem) !important;
        padding-top: 4rem !important;
    }
    
    .py-10 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .py-6 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

/* Mobile Menu Button - Critical Fixes */
#mobile-menu-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Mobile menu button on mobile devices */
@media (max-width: 1024px) {
    #mobile-menu-button {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    /* Ensure the button container is visible */
    .lg\:hidden {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Mobile menu button hover and active states */
#mobile-menu-button:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.05) !important;
}

#mobile-menu-button:active {
    transform: scale(0.95) !important;
}

/* Mobile menu button animation states */
#mobile-menu-button.active .w-6 span:nth-child(1),
#mobile-menu-button.active .w-5 span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px) !important;
}

#mobile-menu-button.active .w-6 span:nth-child(2),
#mobile-menu-button.active .w-5 span:nth-child(2) {
    opacity: 0 !important;
}

#mobile-menu-button.active .w-6 span:nth-child(3),
#mobile-menu-button.active .w-5 span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -2px) !important;
}

/* Mobile menu visibility */
#mobile-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9998 !important;
    transition: all 0.3s ease !important;
}

#mobile-menu.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

#mobile-menu:not(.hidden) {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    #mobile-menu-button {
        min-width: 44px !important;
        min-height: 44px !important;
    }
    
    #mobile-menu-button:hover {
        transform: none !important;
    }
    
    #mobile-menu-button:active {
        transform: scale(0.95) !important;
    }
}

/* Ensure mobile menu button is always clickable */
#mobile-menu-button * {
    pointer-events: none !important;
}

#mobile-menu-button {
    pointer-events: auto !important;
}

/* Debug styles - remove in production */
.debug-mobile-menu {
    border: 2px solid red !important;
}

.debug-mobile-menu-button {
    border: 2px solid blue !important;
}

/* Contact Section Enhanced Styles */
#contact {
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(111, 66, 193, 0.05) 100%);
    pointer-events: none;
}

/* Contact section floating elements */
#contact .floating-element {
    animation: float 6s ease-in-out infinite;
}

#contact .floating-element:nth-child(2) {
    animation-delay: 2s;
}

#contact .floating-element:nth-child(3) {
    animation-delay: 4s;
}

/* Contact info cards enhanced */
#contact .group {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact .group:hover {
    transform: translateY(-5px);
}

#contact .group a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact .group:hover a {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Contact form enhanced */
#contact form {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact form:hover {
    transform: translateY(-2px);
}

/* Floating labels enhanced */
#contact .relative {
    position: relative;
}

#contact .relative label {
    position: absolute;
    left: 1.5rem;
    top: 1rem;
    color: #6b7280;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: transparent;
    padding: 0 0.25rem;
}

#contact .relative.focused label,
#contact .relative input:not(:placeholder-shown) + label,
#contact .relative textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 1rem;
    font-size: 0.875rem;
    color: #007BFF;
    background: white;
    border-radius: 0.25rem;
    padding: 0 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#contact .relative input:focus,
#contact .relative textarea:focus {
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Contact form select enhanced */
#contact select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

#contact select:focus {
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Contact form button enhanced */
#contact button[type="submit"] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#contact button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#contact button[type="submit"]:hover::before {
    left: 100%;
}

#contact button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Contact form message enhanced */
#contact #formMessage {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.3s ease-out;
}

#contact #formMessage.success {
    border-left: 4px solid #10b981;
}

#contact #formMessage.error {
    border-left: 4px solid #ef4444;
}

/* Contact info icons enhanced */
#contact .group .w-14 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact .group:hover .w-14 {
    transform: scale(1.1) rotate(12deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Business hours enhanced */
#contact .bg-gradient-to-r.from-gray-50.to-blue-50 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact .bg-gradient-to-r.from-gray-50.to-blue-50:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Contact section responsive enhancements */
@media (max-width: 768px) {
    #contact .grid {
        gap: 2rem;
    }
    
    #contact .group a {
        padding: 1rem;
    }
    
    #contact .w-14 {
        width: 3rem;
        height: 3rem;
    }
    
    #contact .relative label {
        font-size: 0.875rem;
    }
}

/* Contact section animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Contact section glassmorphism enhanced */
#contact .bg-white\/80 {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

#contact .bg-white\/80:hover {
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

/* Contact section loading animation */
#contact .animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
} 