/* Additional custom styles beyond Tailwind */

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: #0d9488;
    color: white;
}

/* Focus visible for keyboard users */
:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Subtle pattern for service cards */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #2dd4bf);
    border-radius: 2xl 2xl 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card {
    position: relative;
}

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

/* Mobile menu animation */
.menu-line {
    transition: transform 0.3s ease, width 0.3s ease, opacity 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

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

#menu-btn.active .menu-line:nth-child(3) {
    width: 1.5rem;
    transform: translateY(-5px) rotate(-45deg);
}

/* Print styles */
@media print {
    .navbar, .mobile-menu, #back-to-top { display: none !important; }
    body { color: #000; background: #fff; }
    .hero-grid { min-height: auto; }
}
