/* --- Global Styles & Variables --- */
:root {
    --primary-color: #c5a471; /* Original gold */
    --primary-hover: #e0b986; /* Lighter gold for hover */
    --secondary-color: #1f1f1f;
    --background-color: #050505;
    --surface-color: #0e0e0e;
    --text-color: #f5f5f5;
    --text-muted: #b0b0b0;
    --border-color: #2a2a2a;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
    --shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
    --light-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);

    --bubble-color: rgba(120, 170, 220, 0.4); /* Reduced opacity slightly */
    --water-transition-color-top: #437C90;
    --water-transition-color-middle: #336073;
    --water-transition-color-bottom: #284A5E;
    --swirling-water-color-1: rgba(40, 74, 94, 0.08); /* Reduced opacity */
    --swirling-water-color-2: rgba(67, 124, 144, 0.04); /* Reduced opacity */

    /* NEW CTA Colors */
    --cta-orange: #FF6F00; /* Vibrant Orange */
    --cta-orange-hover: #FF8F00; /* Lighter Orange for hover */
    --cta-button-text-color: #FFFFFF; /* White text for orange buttons */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    background-image:
        linear-gradient(45deg, var(--swirling-water-color-1) 25%, transparent 25%, transparent 75%, var(--swirling-water-color-1) 75%),
        linear-gradient(-45deg, var(--swirling-water-color-2) 25%, transparent 25%, transparent 75%, var(--swirling-water-color-2) 75%);
    background-size: 70px 70px; /* Slightly larger pattern */
    animation: पानीSwirl 25s linear infinite;
}

@keyframes पानीSwirl {
    0% { background-position: 0 0; }
    100% { background-position: 140px 70px; }
}

#background-bubbles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; /* Allows clicks to pass through to pop bubbles */
    z-index: -1;
    overflow: hidden;
}
#background-bubbles .bubble { /* Make bubbles clickable for popping */
    pointer-events: auto;
    cursor: pointer; /* Optional: Show a pointer on bubbles */
}


.bubble {
    position: absolute;
    background-color: var(--bubble-color);
    border-radius: 50%;
    opacity: 0;
    will-change: transform, opacity;
}

@keyframes bubble-rise-touch {
    0% {
        transform: scale(0.6); /* Start a bit smaller */
        opacity: 0;
    }
    10% { /* Appear faster */
        opacity: 0.65; /* Max opacity during animation */
        transform: translateY(-15vh) translateX(calc(var(--random-x-end-touch) * 0.15)) scale(1);
    }
    85% { /* Start fading out a bit earlier */
        opacity: 0.65;
        transform: translateY(-95vh) translateX(calc(var(--random-x-end-touch) * 0.85)) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-115vh) translateX(var(--random-x-end-touch)) scale(0.7); /* Go further, shrink more */
    }
}


.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 0.7em;
    font-weight: 700;
}
h1 .highlight, h2 .highlight, h3 .highlight, h4 .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}
h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
p { margin-bottom: 1.2em; color: var(--text-muted); font-size: 1.05rem; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease, text-shadow 0.3s ease; }
a:hover { color: var(--primary-hover); text-shadow: 0 0 5px var(--primary-hover); }

.section-title { text-align: center; margin-bottom: 1rem; }
.section-subtitle {
    text-align: center; color: var(--text-muted);
    font-size: 1.15rem; margin-bottom: 3.5rem;
    max-width: 650px; margin-left: auto; margin-right: auto;
    font-family: var(--font-secondary);
}

/* --- Buttons --- */
.btn {
    display: inline-block; padding: 1em 2.2em; /* Base padding */
    border-radius: 8px;
    font-family: var(--font-primary); font-weight: 600;
    text-align: center; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent; font-size: 1rem; /* Base font size */
    text-transform: uppercase; letter-spacing: 1px;
    position: relative; overflow: hidden;
}
.btn::before {
    content: ''; position: absolute;
    top: 50%; left: 50%;
    width: 300px; height: 300px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}
.btn:hover::before { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
.btn:active::before { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }


/* Original Primary Button (Gold Theme) - Kept for elements not becoming orange */
.btn-primary {
    background-color: var(--primary-color); color: #000;
    box-shadow: 0 4px 15px rgba(197, 164, 113, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-hover); color: #000;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(197, 164, 113, 0.4);
}

/* NEW ORANGE CTA BUTTON STYLE */
.btn-cta-direct {
    background-color: var(--cta-orange);
    color: var(--cta-button-text-color) !important; /* !important to ensure override */
    border-color: var(--cta-orange);
    box-shadow: 0 5px 18px rgba(255, 111, 0, 0.35);
    /* Default sizing, can be overridden by more specific selectors like .btn-hero */
}
.btn-cta-direct:hover {
    background-color: var(--cta-orange-hover);
    color: var(--cta-button-text-color) !important;
    border-color: var(--cta-orange-hover);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 143, 0, 0.45);
}
.btn-cta-direct::before {
    background-color: rgba(255,255,255,0.15); /* Ripple effect color for orange button */
}
.btn-cta-direct i {
    color: inherit !important; /* Ensure icon color matches button text */
}


.btn-secondary { /* Original Gold Bordered Button */
    background-color: transparent; color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color); color: #000;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 12px rgba(197, 164, 113, 0.2);
}

.btn-hero { /* Modifier for Hero buttons */
    padding: 1.1em 2.8em; font-size: 1.05rem; margin: 0.6em;
}
/* Specific larger styling for the main hero CTA button */
.btn-hero.btn-cta-direct {
    padding: 1.3em 3.2em; /* Even larger */
    font-size: 1.2rem;   /* Even larger font */
}

.btn-whatsapp i, .btn-hero i { margin-right: 0.8em; }
.btn .fa-arrow-down { margin-left: 0.5em; transition: transform 0.3s ease;}
.btn:hover .fa-arrow-down { transform: translateY(3px); }

/* Service Card Buttons (Now Orange) */
.btn-service {
    background-color: var(--cta-orange);
    color: var(--cta-button-text-color) !important;
    border: 1.5px solid var(--cta-orange);
    align-self: flex-start;
    font-size: 0.95rem; /* Slightly larger */
    padding: 0.8em 1.8em; /* Slightly larger padding */
    text-transform: uppercase;
}
.btn-service:hover {
    background-color: var(--cta-orange-hover);
    color: var(--cta-button-text-color) !important;
    border-color: var(--cta-orange-hover);
    transform: translateY(-3px) scale(1.02); /* Added scale */
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3); /* Added shadow */
}
.btn-service i {
    margin-right: 0.7em;
    color: inherit !important; /* Ensure icon color is white */
}


/* --- Header --- */
#main-header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; padding: 1rem 0; /* Adjusted padding slightly */
    background-color: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    transition: all 0.35s ease-in-out;
    animation: fadeInHeader 1s ease-out;
}
@keyframes fadeInHeader {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
#main-header.scrolled {
    background-color: rgba(10, 10, 10, 0.85);
    padding: 0.7rem 0; /* Adjusted padding */
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
#main-header.scrolled .logo { height: 80px; /* Increased from 40px */ }
#main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 90px; /* Increased from 55px */ transition: transform 0.4s ease, height 0.3s ease; }
.logo-link:hover .logo { transform: scale(1.08) rotate(-3deg); }

#main-nav ul { list-style: none; display: flex; padding: 0; }
#main-nav ul li { margin-left: 2.5rem; }
#main-nav ul li a.nav-link-effect {
    color: var(--text-color); font-weight: 500;
    position: relative; padding: 0.6em 0.2em;
    letter-spacing: 0.5px; overflow: hidden;
    display: inline-block;
}
#main-nav ul li a.nav-link-effect span {
    position: relative; display: inline-block;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
#main-nav ul li a.nav-link-effect::before {
    content: ''; position: absolute;
    bottom: 0; left: 0; width: 100%; height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
#main-nav ul li a.nav-link-effect:hover span,
#main-nav ul li a.nav-link-effect.active span {
    transform: translateY(-3px) scale(1.05);
}
#main-nav ul li a.nav-link-effect:hover::before,
#main-nav ul li a.nav-link-effect.active::before {
    transform: scaleX(1);
}
.header-cta .btn { /* For the "Orçamento Urgente" button in header */
    font-size: 0.9rem; /* Base for header button */
    padding: 0.8em 1.8em; /* Specific padding for header button */
}


#mobile-menu-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    padding: 10px; z-index: 1001;
    position: relative;
    width: 30px; height: 22px;
}
#mobile-menu-toggle span {
    display: block; width: 100%; height: 2px;
    background-color: var(--text-color);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    position: absolute;
    left: 0;
}
#mobile-menu-toggle span:nth-child(1) { top: 0; }
#mobile-menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
#mobile-menu-toggle span:nth-child(3) { bottom: 0; }

#mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
#mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-100%);
}
#mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* --- Hero Section --- */
#hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding-top: 140px; /* Increased padding to accommodate pre-headline */
    padding-bottom: 5rem;
}
#hero .container {
    display: flex; align-items: center;
    justify-content: space-between; gap: 2rem;
    position: relative; z-index: 2;
}
.hero-content { flex-basis: 60%; }

/* NEW: Pre-headline for "Desentupidora em São Luís" */
.hero-location-tag {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem); /* Adjusted size */
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px; /* Increased spacing */
    font-weight: 600;
    margin-bottom: 0.8rem; /* Space below it */
    display: block; /* Ensure it takes its own line if needed */
    opacity: 0; /* For animation */
    transform: translateY(20px); /* For animation */
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s; /* Added delay */
}
#hero.loaded .hero-location-tag {
    opacity: 1;
    transform: translateY(0);
}
.hero-location-tag .highlight {
    color: var(--primary-color);
    font-weight: 700;
}


.main-headline {
    font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800;
    line-height: 1.1; margin-bottom: 1.5rem; color: var(--text-color);
    text-transform: uppercase;
}
.main-headline .line { display: block; overflow: hidden; }
.main-headline .word {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
/* Adjust delays for word animation if hero-location-tag animation affects timing */
#hero.loaded .main-headline .word { transform: translateY(0); }
#hero.loaded .main-headline .line:nth-child(1) .word { transition-delay: 0.3s; } /* Adjusted delays */
#hero.loaded .main-headline .line:nth-child(2) .word:nth-child(1) { transition-delay: 0.5s; }
#hero.loaded .main-headline .line:nth-child(2) .word:nth-child(2) { transition-delay: 0.6s; }
#hero.loaded .main-headline .line:nth-child(3) .word:nth-child(1) { transition-delay: 0.8s; }
#hero.loaded .main-headline .line:nth-child(3) .word:nth-child(2) { transition-delay: 0.9s; }

.main-headline .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(197, 164, 113, 0.7);
}
.main-headline .sub-word { font-size: 0.7em; opacity: 0.9; font-weight: 700;}
.sub-headline {
    font-size: 1.25rem; color: var(--text-muted);
    margin-bottom: 2.5rem; max-width: 550px;
    font-family: var(--font-primary);
}
/* Adjust delay for sub-headline if needed due to new element */
#hero.loaded .sub-headline { transition-delay: 1s; }


.hero-cta-buttons { margin-top: 2rem; }
/* Adjust delay for CTA buttons if needed */
#hero.loaded .hero-cta-buttons { transition-delay: 1.4s; }

.hero-image-container { flex-basis: 38%; text-align: center; }
.hero-image {
    max-width: 100%; height: auto;
    filter: drop-shadow(0 20px 35px rgba(0,0,0,0.6));
    animation: floatImageDynamic 6s ease-in-out infinite;
}
@keyframes floatImageDynamic {
    0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
    25% { transform: translateY(-15px) rotate(1deg) scale(1.02); }
    50% { transform: translateY(5px) rotate(3deg) scale(0.98); }
    75% { transform: translateY(-10px) rotate(-3deg) scale(1.01); }
}

.hero-background-shapes .shape {
    position: absolute; border-radius: 50%;
    opacity: 0.06; /* Slightly more subtle */
    background-color: var(--primary-color);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease;
    will-change: transform;
}
.scroll-down-indicator {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%); color: var(--primary-color);
    font-size: 1.5rem; animation: bounceArrow 2s infinite;
    opacity: 0.7;
}
@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* --- Section Dynamic & Transitions --- */
.section-dynamic {
    position: relative;
    overflow: hidden;
}
.section-transition-effect {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom,
        var(--water-transition-color-top) 0%,
        var(--water-transition-color-middle) 50%,
        var(--water-transition-color-bottom) 100%
    );
    transform-origin: bottom;
    transform: scaleY(0);
    z-index: 5;
    pointer-events: none;
    will-change: transform;
}
.section-dynamic.revealing .section-transition-effect {
    animation: revealSection 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes revealSection {
    0% { transform: scaleY(0); transform-origin: bottom; opacity: 0.9; }
    40% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    60% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: top; opacity: 0.9; }
}

/* --- Content Sections z-index --- */
#services, #about, #contact, footer {
    position: relative;
    z-index: 1;
}
#hero .container {
    position: relative;
    z-index: 2;
}


/* --- Services Section --- */
#services {
    padding: 7rem 0;
    background-color: var(--surface-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    background-color: var(--secondary-color);
    border-radius: 10px; overflow: hidden;
    box-shadow: var(--light-shadow);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; flex-direction: column;
    border: 1px solid var(--border-color);
    will-change: transform, box-shadow;
}
.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 25px rgba(197, 164, 113, 0.2); /* Original shadow on hover */
    /* border-color: var(--primary-color); Replaced by orange button if preferred */
}
.service-card:hover .btn-service { /* Example: Make button stand out more on card hover */
    box-shadow: 0 6px 15px rgba(255, 111, 0, 0.4);
}

.service-card-image { overflow: hidden; position: relative; height: 200px; }
.service-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.4s ease;
    will-change: transform, filter;
}
.service-card:hover .service-card-image img {
    transform: scale(1.2) rotate(3deg);
    filter: saturate(1.2) brightness(0.9);
}
.service-card-image::after {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(var(--cta-orange-rgb, 255, 111, 0), 0.3), transparent 60%); /* Use RGB for opacity */
    opacity: 0; transition: opacity 0.5s ease;
}
.service-card:hover .service-card-image::after { opacity: 1; }
.service-card-content { padding: 1.8rem; flex-grow: 1; display: flex; flex-direction: column; }
.service-card-content h3 {
    font-size: 1.45rem; color: var(--text-color); margin-bottom: 0.5rem;
}
.service-card-content h3 .highlight { font-size: 0.9em; }
.service-card-content p { font-size: 0.95rem; flex-grow: 1; margin-bottom: 1.5rem; }


/* --- About Us Section --- */
#about {
    padding: 7rem 0;
}
#about .container { display: flex; align-items: center; gap: 3.5rem; }
.about-content { flex-basis: 58%; }
.about-content ul { list-style: none; padding: 0; display: none; }
.strengths-list {
    margin: 2rem 0; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.strength-item {
    display: flex; align-items: center;
    padding: 0.8rem; background-color: rgba(255,255,255,0.03);
    border-radius: 6px; border-left: 3px solid var(--primary-color);
    font-size: 0.95rem;
    transition: background-color 0.3s, transform 0.3s;
}
.strength-item:hover {
    background-color: rgba(197, 164, 113, 0.1);
    transform: translateX(5px);
}
.strength-item i {
    color: var(--primary-color); margin-right: 0.8rem;
    font-size: 1.3rem; width: 25px; text-align: center;
}
.about-image-wrapper {
    flex-basis: 42%; text-align: center; position: relative;
}
.about-image-main {
    max-width: 100%; border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
    position: relative; z-index: 2;
    border: 3px solid var(--border-color);
}
.about-image-wrapper::before {
    content: ''; position: absolute;
    width: 90%; height: 90%;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 10px;
    top: 50%; left: 50%;
    transform: translate(-45%, -45%) rotate(-5deg);
    z-index: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
#about:hover .about-image-wrapper::before {
    transform: translate(-50%, -50%) rotate(3deg) scale(1.05);
    opacity: 0.15;
}
.mt-2 { margin-top: 2rem !important; }

/* --- Contact Section --- */
#contact {
    padding: 7rem 0;
    background-color: var(--surface-color);
}
.contact-methods {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.contact-card {
    background-color: var(--secondary-color);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--light-shadow);
    flex-basis: calc(50% - 1rem);
    max-width: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    color: var(--text-color);
    will-change: transform, box-shadow;
}
.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(197, 164, 113, 0.25); /* Original Gold Shadow */
    border-color: var(--primary-color); /* Original Gold Border */
}
/* If contact cards should also highlight with orange on hover: */
/*
.contact-card.whatsapp-card:hover {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    border-color: #25D366;
}
.contact-card.phone-card:hover {
    box-shadow: 0 10px 30px rgba(var(--cta-orange-rgb, 255, 111, 0), 0.25);
    border-color: var(--cta-orange);
}
*/

.contact-card i {
    font-size: 3rem; color: var(--primary-color);
    margin-bottom: 1.2rem; display: block;
    transition: transform 0.3s ease;
}
.contact-card:hover i { transform: scale(1.1) rotate(5deg); }
.contact-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--text-color); }
.contact-card p { margin-bottom: 0.8rem; font-size: 1.1rem; font-family: var(--font-secondary); color: var(--text-muted);}
.contact-card span {
    font-weight: 600; color: orange;
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px;
    display: inline-block; padding: 0.3em 0.8em;
    border: 1px dashed var(--primary-color); border-radius: 4px;
    margin-top: 0.5rem;
}
.payment-methods { text-align: center; margin-top: 3rem; }
.payment-methods h4 { margin-bottom: 1rem; font-size: 1.3rem; color: var(--text-muted); }
.payment-methods img { max-width: 320px; height: auto; margin-bottom: 0.5rem; }
.payment-methods p { font-size: 0.9rem; color: var(--text-muted); }

/* --- Footer --- */
footer {
    background-color: #000; color: var(--text-muted);
    padding: 4rem 0 2rem; font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}
.footer-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem; margin-bottom: 2.5rem;
    padding-bottom: 2.5rem; border-bottom: 1px solid var(--border-color);
}
.footer-logo-area .footer-logo { height: 50px; margin-bottom: 1rem; opacity: 0.8; }
.footer-links h4, .footer-social h4 {
    color: var(--text-color); margin-bottom: 1.2rem;
    font-size: 1.15rem; text-transform: uppercase; letter-spacing: 1px;
}
.footer-links ul { list-style: none; padding: 0;}
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links ul li a.nav-link-effect span {
    color: var(--text-muted);
}
.footer-links ul li a.nav-link-effect:hover span {
    color: var(--primary-color);
}
.footer-social a {
    color: var(--text-muted); font-size: 1.6rem;
    margin-right: 1.2rem;
}
.footer-social a:last-child { margin-right: 0; }
.footer-social a:hover { color: var(--primary-color); transform: scale(1.1); }
.footer-bottom { text-align: center; padding-top: 2rem; }
.footer-bottom p { margin: 0; font-size: 0.85rem; }
.footer-bottom .fa-atom { color: var(--primary-color); animation: spinAtom 5s linear infinite; }
@keyframes spinAtom { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed; width: 65px; height: 65px;
    bottom: 30px; right: 30px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: #FFF; border-radius: 50%;
    text-align: center; font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 100; display: flex;
    align-items: center; justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulseWhatsApp 2s infinite;
    will-change: transform, box-shadow;
}
@keyframes pulseWhatsApp {
    0% { transform: scale(1); box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
    50% { transform: scale(1.08); box-shadow: 0 8px 25px rgba(1, 228, 84, 0.6); }
    100% { transform: scale(1); box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
}
.whatsapp-float img { width: 35px; height: 35px; }
.whatsapp-float:hover {
    animation-play-state: paused;
    transform: scale(1.15) rotate(10deg) !important;
    box-shadow: 0 8px 25px rgba(4, 242, 91, 0.7) !important;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transform: translateY(20px); /* Default transform */
    will-change: opacity, transform;
}
/* Variations for scroll animations */
.animate-on-scroll.fade-in-up { opacity: 0; transform: translateY(40px); }
.animate-on-scroll.zoom-in { opacity: 0; transform: scale(0.85); } /* Slightly less aggressive zoom */
.animate-on-scroll.slide-in-left { opacity: 0; transform: translateX(-50px); }
.animate-on-scroll.slide-in-right { opacity: 0; transform: translateX(50px); }

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1); /* Reset all transforms */
}


/* Mouse Follower Styles */
.mouse-follower, .mouse-follower-dot {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    background-color: var(--primary-color);
    transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    will-change: transform, width, height, opacity;
    opacity: 0; /* Start hidden until first mouse move */
}
.mouse-follower.hidden, .mouse-follower-dot.hidden {
    opacity: 0 !important; /* Ensure it stays hidden if class is applied */
}

.mouse-follower {
    width: 30px; height: 30px;
    background-color: rgba(197, 164, 113, 0.2);
    border: 1px solid rgba(197, 164, 113, 0.5);
}
.mouse-follower-dot {
    width: 6px; height: 6px;
    background-color: var(--primary-color);
}
.mouse-follower.on-interactive {
    width: 45px; height: 45px;
    background-color: rgba(197, 164, 113, 0.3);
    border-width: 2px;
}
.mouse-follower-dot.on-interactive {
    opacity: 0;
}


/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-content { flex-basis: 100%; text-align: center; }
    .hero-image-container { display: none; }
    #hero .container { flex-direction: column; text-align: center; }
    .hero-location-tag { text-align: center; } /* Ensure pre-headline is centered */
    .main-headline { text-align: center; }
    .sub-headline { margin-left: auto; margin-right: auto; }

    #about .container { flex-direction: column-reverse; }
    .about-content, .about-image-wrapper { flex-basis: 100%; }
    .about-image-wrapper { margin-top: 2.5rem; }
    .about-image-main { max-width: 90%; }

    .contact-card { flex-basis: 100%; max-width: 450px; }
}

@media (max-width: 768px) {
    body { animation: none; }
    .container { padding: 0 15px; }
    #main-header { padding: 0.8rem 0; }
    .logo { height: 100px; } /* Adjust logo size for mobile header */
    #main-header.scrolled .logo { height: 110x; } /* Scrolled logo size for mobile */


    #main-nav {
        position: fixed; top: 0; right: -100%;
        width: min(75vw, 300px); height: 100vh;
        background-color: var(--secondary-color);
        padding: 5rem 2rem 2rem;
        display: flex; flex-direction: column;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        z-index: 999;
    }
    #main-nav.active { right: 0; }
    #main-nav ul { flex-direction: column; width: 100%; text-align: center; }
    #main-nav ul li { margin: 0 0 1.8rem 0; }
    #main-nav ul li a.nav-link-effect { font-size: 1.2rem; }

    #mobile-menu-toggle { display: block; }
    .header-cta { display: none; } /* Hide header CTA on mobile, hero CTA is primary */

    #hero { min-height: 80vh; padding-top: 100px; text-align: center; } /* Adjusted padding top */
    .hero-location-tag { font-size: clamp(1rem, 3vw, 1.2rem); }
    .main-headline { font-size: clamp(2.4rem, 10vw, 3.5rem); }
    .sub-headline { font-size: 1.1rem; }
    .btn-hero { font-size: 1rem; padding: 1em 2.2em;} /* Adjust hero button padding for mobile */
    .btn-hero.btn-cta-direct { /* Specific hero CTA sizing for mobile */
        padding: 1.1em 2.5em;
        font-size: 1.1rem;
    }


    .services-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .service-card-content { padding: 1.5rem; }
    .service-card-content h3 { font-size: 1.3rem; }
    .btn-service { font-size: 0.9rem; padding: 0.7em 1.5em; } /* Service button sizing for mobile */


    #about .container { gap: 2rem; }
    .strengths-list { grid-template-columns: 1fr; }

    footer { padding: 3rem 0 1.5rem; }
    .footer-content { text-align: center; }
    .footer-links ul { display: flex; flex-direction: column; align-items: center; } /* Center align footer links */
    .footer-social { margin-top: 1rem; }
    .footer-social a { font-size: 1.5rem; }

    .whatsapp-float { width: 60px; height: 60px; bottom: 25px; right: 25px; }
    .whatsapp-float img { width: 32px; height: 32px; }
    .mouse-follower, .mouse-follower-dot { display: none !important; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .btn { padding: 0.8em 1.6em; font-size: 0.9rem;}
    .btn-hero.btn-cta-direct { /* Hero CTA sizing for small mobile */
        width: 90%; /* Make it wider */
        margin-left: auto; margin-right: auto;
        padding: 1em 1.5em;
        font-size: 1rem;
    }
    .hero-cta-buttons a + a.btn-secondary { margin-top: 1rem; width: 80%; } /* Secondary button also wider */

    .contact-card { padding: 2rem 1.5rem; }
    .contact-card i { font-size: 2.5rem; }
}

.unselectable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


@keyframes popEffect {
    0% {
        transform: scale(1.1); /* Start slightly larger, assuming bubble might be small */
        opacity: 0.8; /* Start more opaque */
    }
    50% {
        transform: scale(2); /* Larger expansion */
        opacity: 0.5;
    }
    100% {
        transform: scale(3); /* Max expansion */
        opacity: 0;
    }
}
.bubble.popping {
    animation: popEffect 0.35s ease-out forwards !important; /* Slightly longer pop */
    background-color: rgba(255, 220, 220, 0.7) !important; /* Optional: Light redish tint on pop */
    /* Ensure transform comes from JS if physics based, or current animated transform if CSS based */
}