/* QEF Studio - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --brand-green: #3d9b85;
    --dark-green: #7ab8aa;
    --soft-white: #fafafa;
    --anthracite: #2d3436;
    --light-gray: #f5f5f5;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--anthracite);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.smooth-scroll {
    scroll-behavior: smooth;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

/* Header Styles */
.header-shadow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Slide */
.mobile-menu-slide {
    transition: max-height 0.3s ease-in-out;
    background: white;
}

.mobile-menu-link {
    display: block;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.mobile-menu-link:hover {
    border-left-color: var(--brand-green);
    padding-left: 1.5rem;
}

/* Hero Section - Slider */
.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--brand-green);
    transform: scale(1.2);
}

/* Branch Slider */
.branch-slider {
    position: relative;
    width: 100%;
    padding: 1rem 0;
}

.branch-slide-track {
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.branch-item {
    flex-shrink: 0;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(159, 212, 201, 0.2);
    border-color: var(--brand-green);
}

.service-icon-svg {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-svg {
    transform: scale(1.15) rotate(5deg);
    color: var(--dark-green);
}

/* Campaign Banner */
.campaign-banner {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.campaign-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--brand-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(159, 212, 201, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(159, 212, 201, 0.4);
}

/* Footer */
.footer-social {
    transition: all 0.3s ease;
}

.footer-social:hover {
    transform: translateY(-3px);
    color: var(--brand-green);
}

/* Responsive */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 2rem;
    }
    
    .branch-item {
        font-size: 0.875rem;
        padding: 0.5rem 1.25rem;
    }
    
    .hero-slide {
        background-position: center;
    }
    
    h1, h2, h3 {
        line-height: 1.2;
    }
}

/* Utility Classes */
.text-brand-green {
    color: var(--brand-green);
}

.bg-brand-green {
    background-color: var(--brand-green);
}

.bg-soft-white {
    background-color: var(--soft-white);
}

.bg-anthracite {
    background-color: var(--anthracite);
}

.section-padding {
    padding: 5rem 0;
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}
