@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Inter:wght@400;500;600&display=swap');

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

/* Custom underline animation */
.custom-underline {
    position: relative;
    display: inline-block;
}

.custom-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #62C7C5;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.custom-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* FAQ animations */
.faq-question {
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #62C7C5;
}

.faq-answer {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.faq-answer.active {
    max-height: 500px;
    display: block;
}

.faq-icon.rotate {
    transform: rotate(180deg);
}

/* Scroll animations */
[data-scroll] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll="fade-in"] {
    transform: translateY(20px);
}

[data-scroll="fade-in"].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll="fade-left"] {
    transform: translateX(-20px);
}

[data-scroll="fade-left"].is-visible {
    opacity: 1;
    transform: translateX(0);
}

[data-scroll="fade-right"] {
    transform: translateX(20px);
}

[data-scroll="fade-right"].is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.open {
    max-height: 500px;
}

/* Button hover effects */
.btn-teal {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(98, 199, 197, 0.3);
}

.btn-teal-outline {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-teal-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(98, 199, 197, 0.3);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Pulse animation for CTA */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Sparkle animation */
@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

.sparkle {
    animation: sparkle 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .service-area-map {
        height: 300px;
    }
}