/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

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

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

/* Service Card Hover Effects */
.service-card {
    transition: all 0.4s ease;
}

.service-card:hover {
    background: #f8fafc;
}

.service-card:hover h3 {
    color: #0d9488;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Transition */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.nav-scrolled .text-current {
    color: #0f172a !important;
}

/* Mobile Menu */
.mobile-link {
    font-family: 'Playfair Display', serif;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #0d9488;
}

/* Selection Color */
::selection {
    background: #ccfbf1;
    color: #134e4a;
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0d9488 !important;
}

/* Image Hover */
img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Print Styles */
@media print {
    nav, .cta-banner, #contact {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
