/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333333;
    overflow-x: hidden;
    background: #ffffff;
    position: relative;
    padding-top: 0;
    margin-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #333333;
}

.section-title {
    font-size: 2.5rem;
    color: #333333;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00e600, #00cc00);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666666;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00e600, #00cc00);
    color: #000000;
    border-color: #00e600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00cc00, #00b300);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 230, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #00e600;
    border-color: #00e600;
}

.btn-secondary:hover {
    background: #00e600;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 230, 0, 0.3);
}

.btn-block {
    width: 100%;
    text-align: center;
    padding: 14px 30px;
    font-size: 1rem;
    margin-top: 0.8rem;
}

/* Submit Button - Smaller Style */
.btn-submit {
    width: auto;
    min-width: 120px;
    text-align: center;
    padding: 14px 24px;
    font-size: 1rem;
    margin: 0.8rem 0 0 0;
    display: inline-block;
}

/* reCAPTCHA Styling */
.recaptcha-container {
    margin: 1rem 0;
}

.recaptcha-label {
    display: flex;
    align-items: center;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
}

.recaptcha-label input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #00e600;
    cursor: pointer;
}

.recaptcha-label:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 230, 0, 0.03) 25%, 
        rgba(0, 230, 0, 0.05) 50%, 
        rgba(0, 230, 0, 0.03) 75%, 
        transparent 100%);
    animation: waterFlow 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes waterFlow {
    0%, 100% {
        transform: translateX(-100%) skewX(-5deg);
        opacity: 0;
    }
    50% {
        transform: translateX(100%) skewX(5deg);
        opacity: 1;
    }
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 230, 0, 0.02) 25%, 
        rgba(0, 230, 0, 0.03) 50%, 
        rgba(0, 230, 0, 0.02) 75%, 
        transparent 100%);
    animation: waterFlow 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    max-height: 60px; /* Increased from 50px since it's now standalone */
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00e600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00e600;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-logo {
    display: none; /* Hide mobile logo on desktop */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: visible;
    z-index: 1;
    padding-bottom: 120px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 2s ease-in-out;
}

.hero-bg:first-child {
    background-image: url('../images/header1.jpg');
}

.hero-bg:last-child {
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    transition: transform 0.1s ease-out;
}

/* Remove the automatic slide animation - will be handled by JavaScript */

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator removed */

/* Animations */
/* Bounce animation removed */

.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Expertise Section - Overlapping Hero */
.expertise-section {
    position: relative;
    z-index: 10;
    margin-top: -120px; /* Overlap the hero section */
    padding-bottom: 2rem;
}

.expertise {
    position: relative;
    z-index: 10;
    padding: 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.expertise-item {
    background: #ffffff;
    backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 230, 0, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.expertise-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 80px rgba(0, 230, 0, 0.25);
    border-color: rgba(0, 230, 0, 0.4);
    background: #ECFCEC;
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00e600, #00cc00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: #000000;
    transition: transform 0.3s ease;
}

.expertise-item:hover .expertise-icon {
    transform: scale(1.1) rotate(5deg);
}

.expertise-item h3 {
    color: #333333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.expertise-item p {
    color: #666666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 0 100px 0; /* Reduced top padding since expertise is now separate */
    background: #ffffff;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
    margin-top: 15px;
    text-align: center; /* Center the text content */
}

.about .section-title {
    color: #333333;
    text-align: center; /* Center the title */
    margin-bottom: 2rem;
}

.about .section-title::after {
    left: 50%; /* Center the underline */
    transform: translateX(-50%);
}

.about-description {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 400;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333333;
    font-weight: 500;
    font-size: 1rem;
}

.feature i {
    color: #00e600;
    font-size: 1.3rem;
}

.mobile-about-logo {
    display: none; /* Hidden by default on desktop */
}

.master-plumber {
    background: linear-gradient(135deg, rgba(0, 230, 0, 0.1), rgba(0, 204, 0, 0.05));
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid #00e600;
    border: 1px solid rgba(0, 230, 0, 0.3);
    text-align: left; /* Ensure master plumber section is left-aligned on mobile */
    clear: both; /* Clear the floated elements above */
    margin-top: 2rem; /* Add space between the features/logo and master plumber box */
}

.master-plumber h3 {
    color: #333333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.master-plumber p {
    color: #333333;
    margin-bottom: 0.75rem;
    font-weight: 400;
    line-height: 1.6;
}

.about-image {
    background: linear-gradient(135deg, rgba(0, 230, 0, 0.1), rgba(0, 204, 0, 0.05));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 230, 0, 0.3);
}

.image-placeholder i {
    font-size: 5rem;
    color: #00e600;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.image-placeholder p {
    font-size: 1.3rem;
    color: #333333;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #222222;
    color: white;
    padding: 60px 0 30px;
    position: relative;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #00e600; /* Changed to bright green for all section headings */
}

.footer-section h3 {
    color: #00e600;
    font-weight: 800;
    font-size: 1.8rem;
}

/* Special styling for Quick Links, Commercial Services, and Contact Info headings */
.footer-section h4 {
    color: #00e600; /* Bright green for section headings */
    font-weight: 600;
}

/* Footer tagline styling */
.footer-tagline {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin: 0.5rem 0 1.5rem 0 !important;
    letter-spacing: 1px !important;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00e600;
}

.footer-contact p {
    color: #cbd5e1;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #00e600;
    width: 20px;
}

/* Special styling for phone number */
.footer-contact .phone-number {
    color: #F5F8F5; /* Very light green-tinted white */
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-contact .phone-number:hover {
    color: #00e600; /* Bright green on hover */
}

/* Special styling for email address */
.footer-contact .email-address {
    color: #F5F8F5; /* Very light green-tinted white */
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-contact .email-address:hover {
    color: #00e600; /* Bright green on hover */
}

/* Special styling for location address */
.footer-contact .location-text {
    color: #F5F8F5; /* Very light green-tinted white */
    transition: color 0.3s ease;
}

.footer-contact .location-text:hover {
    color: #00e600; /* Bright green on hover */
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333333;
    color: #ECFCEC;
}

/* Floating Contact Info Boxes */
.floating-contact-area {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(66.66% + 12rem); /* Extend into green area but stop before form */
    height: 100%;
    z-index: 15; /* Above form and background */
    overflow: hidden;
}

.floating-box {
    position: absolute;
    background: rgba(0, 230, 0, 0.9);
    color: #000000;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 230, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    cursor: grab;
    pointer-events: auto;
    user-select: none;
    /* Exclude left, top, and transform from transitions to prevent conflict with JS physics */
    transition: background 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 15;
    will-change: transform;
    min-width: fit-content;
    max-width: none;
    /* iOS Safari optimizations for smooth animations */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    /* Force hardware acceleration */
    -webkit-transform-origin: center center;
    transform-origin: center center;
    /* Smooth performance on iOS */
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    /* Ensure smooth touch interactions */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Prevent scrolling issues on iOS */
    -webkit-overflow-scrolling: touch;
    /* Optimize for mobile performance */
    contain: layout style paint;
}

/* Override cursor for non-link floating boxes */
.floating-box:not(a) {
    cursor: default;
}

.floating-box:hover {
    box-shadow: 0 8px 25px rgba(0, 230, 0, 0.5);
    background: rgba(0, 255, 0, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.4);
    /* Removed transform to prevent jumping when hovering */
}

.floating-box:active,
.floating-box.dragging {
    cursor: grabbing;
    /* Removed transform: scale(1.1) to prevent jumping */
    box-shadow: 0 10px 30px rgba(0, 230, 0, 0.6);
    z-index: 1000;
    background: rgba(0, 255, 0, 1);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.floating-box.clicked {
    z-index: 999;
    transform: rotate(15deg) translateY(-8px) !important;
    background: rgba(0, 255, 0, 1);
    box-shadow: 0 15px 40px rgba(0, 230, 0, 0.8);
    cursor: grabbing;
}

.floating-box i {
    font-size: 1rem;
    color: #000000;
    transition: all 0.3s ease;
}

.floating-box:hover i {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.floating-box:active i {
    transform: scale(1.3) rotate(-5deg);
    color: #ffffff;
}

/* Ensure link floating boxes inherit styles */
a.floating-box {
    color: #000000;
    text-decoration: none;
}

a.floating-box:visited {
    color: #000000;
}

a.floating-box span {
    color: #000000;
}

/* Different starting positions for each box - JavaScript will handle movement */
.floating-phone {
    top: 20%;
    left: 15%;
    background: rgba(236, 252, 236, 0.9) !important; /* Light green for phone */
}

.floating-email {
    top: 65%;
    left: 20%;
    background: rgba(236, 252, 236, 0.9) !important; /* Light green for email */
}

.floating-location {
    top: 45%;
    left: 25%;
}

.floating-pueblo {
    top: 30%;
    left: 50%;
}

.floating-springs {
    top: 70%;
    left: 45%;
}

.floating-clock {
    top: 75%;
    left: 35%;
}

.floating-license {
    top: 15%;
    left: 65%;
}

/* Desktop-only animations for floating boxes */
@media (min-width: 769px) {
    /* Specific animations for each floating box - Desktop Only */
    .floating-phone {
        -webkit-animation: float-phone 7s ease-in-out infinite;
        animation: float-phone 7s ease-in-out infinite;
    }

    .floating-email {
        -webkit-animation: float-email 8s ease-in-out infinite;
        animation: float-email 8s ease-in-out infinite;
    }

    .floating-location {
        -webkit-animation: float-location 6s ease-in-out infinite;
        animation: float-location 6s ease-in-out infinite;
    }

    .floating-pueblo {
        -webkit-animation: float 9s ease-in-out infinite;
        animation: float 9s ease-in-out infinite;
    }

    .floating-springs {
        -webkit-animation: float 7.5s ease-in-out infinite;
        animation: float 7.5s ease-in-out infinite;
    }

    .floating-clock {
        -webkit-animation: float-clock 8.5s ease-in-out infinite;
        animation: float-clock 8.5s ease-in-out infinite;
    }

    .floating-license {
        -webkit-animation: float-license 6.5s ease-in-out infinite;
        animation: float-license 6.5s ease-in-out infinite;
    }
}

/* Special hover effects for phone and email cards */
.floating-phone:hover,
.floating-email:hover {
    background: rgba(0, 230, 0, 0.95) !important; /* Bright green on hover */
}

/* Fallback floating animation for older browsers */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, -30px) rotate(2deg);
    }
    50% {
        transform: translate(-25px, 40px) rotate(-1deg);
    }
    75% {
        transform: translate(35px, 15px) rotate(1deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Specific keyframes for individual floating boxes */
@keyframes float-phone {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(40px, -20px) rotate(2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@-webkit-keyframes float-phone {
    0% { -webkit-transform: translate(0, 0) rotate(0deg); transform: translate(0, 0) rotate(0deg); }
    50% { -webkit-transform: translate(40px, -20px) rotate(2deg); transform: translate(40px, -20px) rotate(2deg); }
    100% { -webkit-transform: translate(0, 0) rotate(0deg); transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-email {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 25px) rotate(-2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@-webkit-keyframes float-email {
    0% { -webkit-transform: translate(0, 0) rotate(0deg); transform: translate(0, 0) rotate(0deg); }
    50% { -webkit-transform: translate(-30px, 25px) rotate(-2deg); transform: translate(-30px, 25px) rotate(-2deg); }
    100% { -webkit-transform: translate(0, 0) rotate(0deg); transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-location {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, -15px) rotate(1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@-webkit-keyframes float-location {
    0% { -webkit-transform: translate(0, 0) rotate(0deg); transform: translate(0, 0) rotate(0deg); }
    50% { -webkit-transform: translate(50px, -15px) rotate(1deg); transform: translate(50px, -15px) rotate(1deg); }
    100% { -webkit-transform: translate(0, 0) rotate(0deg); transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-clock {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-40px, -30px) rotate(-1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@-webkit-keyframes float-clock {
    0% { -webkit-transform: translate(0, 0) rotate(0deg); transform: translate(0, 0) rotate(0deg); }
    50% { -webkit-transform: translate(-40px, -30px) rotate(-1deg); transform: translate(-40px, -30px) rotate(-1deg); }
    100% { -webkit-transform: translate(0, 0) rotate(0deg); transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-license {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-25px, 30px) rotate(2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@-webkit-keyframes float-license {
    0% { -webkit-transform: translate(0, 0) rotate(0deg); transform: translate(0, 0) rotate(0deg); }
    50% { -webkit-transform: translate(-25px, 30px) rotate(2deg); transform: translate(-25px, 30px) rotate(2deg); }
    100% { -webkit-transform: translate(0, 0) rotate(0deg); transform: translate(0, 0) rotate(0deg); }
}

/* Mobile adjustments for floating boxes */
@media (max-width: 768px) {
    .floating-contact-area {
        width: 100%;
        height: 100%; /* Full height on mobile */
    }
    
    .floating-box {
        padding: 8px 12px; /* Smaller padding on mobile */
        font-size: 0.75rem; /* Smaller font on mobile */
        border-radius: 20px; /* Slightly smaller border radius */
        gap: 6px; /* Smaller gap between icon and text */
        min-width: fit-content; /* Allow content to determine width */
        max-width: 90vw; /* Prevent overflow on mobile screens */
    }
    
    .floating-box i {
        font-size: 0.85rem; /* Smaller icons on mobile */
    }
    
    .floating-clock,
    .floating-license {
        padding: 8px 12px; /* Match other boxes on mobile */
        font-size: 0.75rem; /* Match other boxes on mobile */
    }
    
    .floating-box {
        font-size: 0.75rem;
        padding: 8px 12px;
        border-radius: 20px;
    }
    
    .floating-box i {
        font-size: 0.9rem;
    }
    
    /* Smaller movement ranges on mobile */
    .floating-phone {
        top: 10% !important;
        left: 5% !important;
        background: rgba(236, 252, 236, 0.9) !important;
    }
    
    .floating-email {
        top: 75% !important;
        left: 60% !important;
        background: rgba(236, 252, 236, 0.9) !important;
    }
    
    .floating-location {
        top: 40% !important;
        left: 15% !important;
    }
    
    .floating-pueblo {
        top: 20% !important;
        left: 70% !important;
    }
    
    .floating-springs {
        top: 85% !important;
        left: 10% !important;
    }
    
    .floating-clock {
        top: 55% !important;
        left: 40% !important;
    }
    
    .floating-license {
        top: 5% !important;
        left: 45% !important;
    }
    
    /* Mobile hover effects for phone and email */
    .floating-phone:hover,
    .floating-email:hover {
        background: rgba(0, 230, 0, 0.95) !important;
    }
}

/* iOS Safari specific optimizations for floating box animations */
@media only screen and (max-width: 480px) {
    .floating-box {
        /* Enhanced iOS Safari animation support */
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        -webkit-perspective: 1000px !important;
        perspective: 1000px !important;
        -webkit-transform-style: preserve-3d !important;
        transform-style: preserve-3d !important;
        /* Force hardware acceleration */
        -webkit-transform-origin: center center !important;
        transform-origin: center center !important;
        /* Smooth performance on iOS */
        -webkit-animation-fill-mode: both !important;
        animation-fill-mode: both !important;
        /* Ensure smooth touch interactions */
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        -khtml-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        /* Prevent scrolling issues on iOS */
        -webkit-overflow-scrolling: touch !important;
        /* Optimize for mobile performance */
        contain: layout style paint !important;
    }
    
    /* Ensure floating area is optimized for iOS */
    .floating-contact-area {
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        /* Enable smooth scrolling on iOS */
        -webkit-overflow-scrolling: touch !important;
        /* Optimize rendering */
        contain: layout style paint !important;
    }
}

/* Additional iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .floating-box {
        /* Force GPU acceleration on iOS Safari */
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        /* Optimize for iOS Safari specifically */
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .expertise-item {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding-bottom: 80px;
    }
    
    .expertise {
        bottom: -80px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .expertise-item {
        padding: 1.5rem;
    }
    
    .about {
        padding: 100px 0 60px 0;    }
    
    .footer {
        margin-top: 0;
    }

    .hamburger {
        display: flex;
    }

    .header {
        overflow: visible; /* Allow mobile menu to extend beyond header */
    }

    .navbar {
        overflow: visible; /* Allow mobile menu to extend beyond navbar */
    }

    .nav-container {
        overflow: visible; /* Allow mobile menu to extend beyond nav-container */
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        z-index: 9999;
        height: calc(100vh - 70px); /* Full height minus header */
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .mobile-logo {
        display: flex !important; /* Show mobile logo in mobile view */
        margin: 0 !important; /* Remove margin to control positioning manually */
        justify-content: center;
        align-items: center;
        padding: 0 2rem; /* Left and right padding for edge spacing */
        position: absolute; /* Position absolutely to move up from bottom */
        bottom: 80px; /* Move up from bottom to avoid address bar */
        left: 0;
        right: 0;
        height: calc(50vh - 35px - 2rem - 80px); /* Adjust height for new positioning */
    }

    .mobile-nav-logo {
        max-width: calc(100vw - 4rem); /* Full width minus left/right padding */
        max-height: 200px; /* Increased from 160px to 200px for bigger logo */
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .nav-menu .nav-link {
        color: #333333;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .nav-menu .nav-link:hover {
        color: #00e600;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }    .section-title {
        font-size: 2rem;
    }

    /* About Section - Stack vertically in mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .about-text {
        padding-right: 0;
        order: 1;
    }
    
    .about-image {
        order: 2;
        margin-top: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        float: left;
        width: 60%;
        margin-bottom: 1.5rem;
    }
    
    .mobile-about-logo {
        display: block; /* Show on mobile */
        float: right;
        width: 35%;
        text-align: center;
        margin-top: 0.5rem; /* Reduced from 1rem to maximize logo space */
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center; /* Center the logo vertically within available space */
        justify-content: center;
    }
    
    .mobile-about-logo-img {
        max-width: 100%;
        max-height: 140px; /* Increased from 120px to maximize within section */
        width: auto;
        height: auto;
        object-fit: contain;
    }
    
    .about-text::after {
        content: "";
        display: table;
        clear: both;
    }

    .contact {
        padding: 80px 0;
    }

    .contact .section-title {
        font-size: 2rem;
    }

    .contact .section-subtitle {
        font-size: 1.1rem;    }    .contact {
        height: 750px;
        padding: 0;
        background: transparent;
    }.contact-bg-left {
        width: 100%;
        height: 65%;
    }

    .contact-bg-right {
        width: 100%;
        height: 35%;
        top: 65%;
    }    .contact .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
        position: relative;
        z-index: 20;
    }
    
    .contact-wrapper {
        background: transparent;
    }    .contact-content {
        padding: 2rem 1rem;
        height: 750px;
        justify-content: center;
        align-items: center;
        background: transparent;
    }
    
    .contact-background {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: transparent;
    }    .contact-bg-left,
    .contact-bg-right {
        width: 100%;
        position: absolute;
    }
    
    .contact-bg-left {
        top: 0;
        height: 60%;
    }
      .contact-bg-right {
        top: 60%;
        height: 40%;
    }
    
    .contact-form {
        position: relative;
        width: 100%;
        max-width: 100%;
        transform: none;
        padding: 1.5rem;
        border-radius: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-tagline {
        margin: 0.2rem 0 0.5rem 0 !important; /* Reduced spacing on mobile */
    }

    /* Mobile Header Background - Less Intensive */
    .header::before {
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(0, 230, 0, 0.05) 25%, 
            rgba(0, 230, 0, 0.08) 50%, 
            rgba(0, 230, 0, 0.05) 75%, 
            transparent 100%);
        opacity: 0.5;
        animation: waterFlow 8s ease-in-out infinite;
    }
    
    .header::after {
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    /* Ensure proper document flow */
    body {
        overflow-x: hidden !important;
        position: relative !important;
    }
    
    .container {
        padding: 0 15px;
    }

    /* Hero Section - Ensure proper height and positioning */
    .hero {
        height: 70vh !important;
        min-height: 500px !important;
        max-height: 600px !important;
        position: relative !important;
        z-index: 1 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }
    
    .hero-content {
        position: relative !important;
        z-index: 10 !important;
        padding: 2rem 1rem !important;
        width: 100% !important;
        max-width: 400px !important;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        max-width: 250px !important;
    }
    
    /* Hide the original overlapping expertise section on mobile completely */
    .expertise-section {
        display: none;
        visibility: hidden;
    }
    
    .expertise {
        display: none;
        position: static;
        visibility: hidden;
    }
    
    .expertise-grid {
        display: none;
        visibility: hidden;
    }
    
    .expertise-item {
        display: none;
        visibility: hidden;
    }
    
    .about {
        padding: 80px 0 60px 0;
    }
    
    /* Show floating contact area on all devices including mobile */
    .floating-contact-area {
        width: 100% !important;
        height: 100% !important;
    }
    
    .floating-box {
        /* Keep floating boxes visible on mobile with smaller sizes */
        padding: 8px 12px;
        font-size: 0.75rem;
        border-radius: 20px;
        gap: 6px;
        min-width: fit-content;
        max-width: 90vw;
    }
    
    .footer {
        margin-top: 0;
    }
}

/* Mobile-Only Sections - Hidden by default, keep hidden on all devices */
.mobile-services,
.mobile-contact-info {
    display: none !important; /* Hide these sections completely since we want floating cards everywhere */
}

/* Mobile Services Section - Only visible on mobile */
@media (max-width: 768px) {
    .mobile-services {
        display: block !important;
        padding: 3rem 0 !important;
        background: #f8f9fa !important;
        position: relative !important;
        z-index: 2 !important;
        margin-top: 0 !important;
        clear: both !important;
    }
    
    .mobile-services .section-title {
        color: #333 !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
        font-size: 2rem !important;
    }
    
    .mobile-services-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }
    
    .mobile-service-item {
        background: #ffffff !important;
        padding: 1.5rem !important;
        border-radius: 15px !important;
        text-align: center !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
        transition: transform 0.3s ease !important;
    }
    
    .mobile-service-item:hover {
        transform: translateY(-5px) !important;
    }
    
    .mobile-service-icon {
        width: 60px !important;
        height: 60px !important;
        background: linear-gradient(135deg, #00e600, #00cc00) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 1rem !important;
        font-size: 1.5rem !important;
        color: #000 !important;
    }
    
    .mobile-service-item h3 {
        color: #333 !important;
        margin-bottom: 0.75rem !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
    }
    
    .mobile-service-item p {
        color: #666 !important;
        line-height: 1.5 !important;
        font-size: 0.9rem !important;
    }
}



/* Contact Section */
.contact-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 600px;
    background: transparent;
    position: relative;
    overflow: hidden; /* Prevent boxes from escaping */
}

.contact-container {
    display: flex;
    width: 100%;
    min-height: 600px;
    position: relative;
}

/* Left Side - Background Image (66% width like competitor) */
.contact-left {
    width: 66.66%;
    background-image: url('../images/contactbg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0; /* Remove padding to maximize floating area */
    overflow: hidden; /* Contain floating boxes */
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Right Side - Contact Form (33% width like competitor) */
.contact-right {
    width: 33.33%;
    background: #00e600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0rem 3rem 1rem;
    position: relative;
}

.contact-form-container {
    width: 100%;
    max-width: 600px;
    background: #000000;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 20;
    margin-left: -24rem;
}

.form-heading {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    width: 100%;
}

.form-field {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: #333333;
    color: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #cccccc;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00e600;
    background: #333333;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 230, 0, 0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Captcha Styles */
.captcha-field {
    margin: 1rem 0;
}

.captcha-label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Form labels - all form labels should be white */
.contact-form label {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-question {
    background: rgba(236, 252, 236, 0.9);
    border: 2px solid rgba(0, 230, 0, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
    min-width: 120px;
    text-align: center;
}

#captcha-answer {
    flex: 1;
    max-width: 140px;
    min-width: 120px;
    background: rgba(236, 252, 236, 0.9);
    border: 2px solid rgba(0, 230, 0, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: #000000 !important;
}

#captcha-answer::placeholder {
    color: #555555 !important;
}

.contact-submit-btn {
    width: 100%;
    padding: 16px;
    background: rgba(0, 230, 0, 0.9);
    color: #000000;
    border: 2px solid rgba(0, 255, 0, 1);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-submit-btn:hover {
    background: rgba(0, 255, 0, 1);
    border-color: rgba(0, 255, 0, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 230, 0, 0.4);
    color: #000000;
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .contact-section {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .contact-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .contact-left {
        width: 100%;
        min-height: 400px;
        padding: 3rem 2rem;
        justify-content: center;
        text-align: center;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-right {
        width: 100%;
        padding: 3rem 2rem;
    }
    
    .contact-form-container {
        max-width: 100%;
        margin-left: 0;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-left {
        padding: 2rem 1.5rem;
        min-height: 350px;
        position: relative; /* Ensure floating area can be positioned relative to this */
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-right {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    /* Mobile specific floating area adjustments */
    .floating-contact-area {
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 16 !important; /* Higher than overlay */
        overflow: hidden !important; /* Contain boxes within contact area */
        /* Ensure it only covers the contact-left area on mobile */
        max-height: 350px !important; /* Match contact-left min-height */
    }
    
    /* Ensure floating boxes are visible above the overlay on mobile */
    .floating-box {
        z-index: 17 !important;
        position: absolute !important;
        /* Keep boxes within bounds - removed transform: none that was blocking animations */
        will-change: transform !important;
    }
    
    /* Override any animations that might hide boxes on mobile */
    .floating-box.floating-phone,
    .floating-box.floating-email,
    .floating-box.floating-location,
    .floating-box.floating-pueblo,
    .floating-box.floating-springs,
    .floating-box.floating-clock,
    .floating-box.floating-license {
        display: flex !important;
        visibility: visible !important;
    }
    
    /* Allow gentle floating movement on mobile */
    .floating-box {
        /* Enable CSS animations on mobile - don't disable them */
        animation-duration: 6s !important;
        animation-timing-function: ease-in-out !important;
        animation-iteration-count: infinite !important;
        animation-fill-mode: both !important;
        /* Ensure they stay within contact-left bounds */
        max-width: calc(100vw - 40px) !important;
        margin: 10px !important;
        /* Force CSS animations to work on iOS */
        -webkit-animation-duration: 6s !important;
        -webkit-animation-timing-function: ease-in-out !important;
        -webkit-animation-iteration-count: infinite !important;
        -webkit-animation-fill-mode: both !important;
    }
    
    /* Clean this section - use the new wiggle animations defined below */
    
    /* Simple wiggle animations for mobile - stay in place, just slight movement */
    @keyframes mobile-wiggle {
        0%, 100% { 
            transform: translate3d(0, 0, 0) rotate(0deg); 
        }
        25% { 
            transform: translate3d(2px, -1px, 0) rotate(0.5deg); 
        }
        50% { 
            transform: translate3d(-1px, 2px, 0) rotate(-0.3deg); 
        }
        75% { 
            transform: translate3d(1px, -2px, 0) rotate(0.2deg); 
        }
    }
    
    @keyframes mobile-wiggle-2 {
        0%, 100% { 
            transform: translate3d(0, 0, 0) rotate(0deg); 
        }
        25% { 
            transform: translate3d(-2px, 1px, 0) rotate(-0.4deg); 
        }
        50% { 
            transform: translate3d(1px, -1px, 0) rotate(0.3deg); 
        }
        75% { 
            transform: translate3d(-1px, 2px, 0) rotate(-0.2deg); 
        }
    }
    
    /* Webkit versions for iOS */
    @-webkit-keyframes mobile-wiggle {
        0%, 100% { 
            -webkit-transform: translate3d(0, 0, 0) rotate(0deg); 
            transform: translate3d(0, 0, 0) rotate(0deg); 
        }
        25% { 
            -webkit-transform: translate3d(2px, -1px, 0) rotate(0.5deg); 
            transform: translate3d(2px, -1px, 0) rotate(0.5deg); 
        }
        50% { 
            -webkit-transform: translate3d(-1px, 2px, 0) rotate(-0.3deg); 
            transform: translate3d(-1px, 2px, 0) rotate(-0.3deg); 
        }
        75% { 
            -webkit-transform: translate3d(1px, -2px, 0) rotate(0.2deg); 
            transform: translate3d(1px, -2px, 0) rotate(0.2deg); 
        }
    }
    
    @-webkit-keyframes mobile-wiggle-2 {
        0%, 100% { 
            -webkit-transform: translate3d(0, 0, 0) rotate(0deg); 
            transform: translate3d(0, 0, 0) rotate(0deg); 
        }
        25% { 
            -webkit-transform: translate3d(-2px, 1px, 0) rotate(-0.4deg); 
            transform: translate3d(-2px, 1px, 0) rotate(-0.4deg); 
        }
        50% { 
            -webkit-transform: translate3d(1px, -1px, 0) rotate(0.3deg); 
            transform: translate3d(1px, -1px, 0) rotate(0.3deg); 
        }
        75% { 
            -webkit-transform: translate3d(-1px, 2px, 0) rotate(-0.2deg); 
            transform: translate3d(-1px, 2px, 0) rotate(-0.2deg); 
        }
    }
}

/* Specific iPhone compatibility for floating animations */
@media only screen and (max-width: 430px) and (-webkit-min-device-pixel-ratio: 2) {
    .floating-box {
        /* Force animations on iPhone with high specificity */
        -webkit-animation-play-state: running !important;
        animation-play-state: running !important;
        -webkit-animation-fill-mode: both !important;
        animation-fill-mode: both !important;
    }
    
    /* Ensure each box has its animation */
    .floating-phone {
        -webkit-animation: mobile-float-gentle 6s ease-in-out infinite !important;
        animation: mobile-float-gentle 6s ease-in-out infinite !important;
    }
    
    .floating-email {
        -webkit-animation: mobile-float-gentle-2 7s ease-in-out infinite !important;
        animation: mobile-float-gentle-2 7s ease-in-out infinite !important;
    }
    
    .floating-location {
        -webkit-animation: mobile-float-gentle-3 8s ease-in-out infinite !important;
        animation: mobile-float-gentle-3 8s ease-in-out infinite !important;
    }
    
    .floating-pueblo {
        -webkit-animation: mobile-float-gentle 9s ease-in-out infinite !important;
        animation: mobile-float-gentle 9s ease-in-out infinite !important;
    }
    
    .floating-springs {
        -webkit-animation: mobile-float-gentle-2 7.5s ease-in-out infinite !important;
        animation: mobile-float-gentle-2 7.5s ease-in-out infinite !important;
    }
    
    .floating-clock {
        -webkit-animation: mobile-float-gentle-3 8.5s ease-in-out infinite !important;
        animation: mobile-float-gentle-3 8.5s ease-in-out infinite !important;
    }
    
    .floating-license {
        -webkit-animation: mobile-float-gentle 6.5s ease-in-out infinite !important;
        animation: mobile-float-gentle 6.5s ease-in-out infinite !important;
    }
}

/* SIMPLIFIED MOBILE ANIMATIONS - Just gentle wiggling in fixed positions */
@media (max-width: 768px) {
    /* Disable ALL desktop animations on mobile */
    .floating-phone,
    .floating-email,
    .floating-location,
    .floating-pueblo,
    .floating-springs,
    .floating-clock,
    .floating-license {
        -webkit-animation: none !important;
        animation: none !important;
    }
    
    /* Mobile floating boxes - gentle wiggle only, adjusted positions (moved left) */
    .contact-section .floating-contact-area .floating-phone {
        animation: mobile-wiggle 3s ease-in-out infinite !important;
        -webkit-animation: mobile-wiggle 3s ease-in-out infinite !important;
        top: 20% !important; /* Moved down a tiny bit more from 18% */
        left: 5% !important;
    }
    
    .contact-section .floating-contact-area .floating-email {
        animation: mobile-wiggle-2 3.5s ease-in-out infinite !important;
        -webkit-animation: mobile-wiggle-2 3.5s ease-in-out infinite !important;
        top: 67% !important; /* Moved up slightly from 70% */
        left: 45% !important; /* Moved from 65% to 45% */
    }
    
    .contact-section .floating-contact-area .floating-location {
        animation: mobile-wiggle 4s ease-in-out infinite !important;
        -webkit-animation: mobile-wiggle 4s ease-in-out infinite !important;
        top: 38% !important; /* Moved up from 45% to 38% */
        left: 15% !important;
    }
    
    .contact-section .floating-contact-area .floating-pueblo {
        animation: mobile-wiggle-2 4.5s ease-in-out infinite !important;
        -webkit-animation: mobile-wiggle-2 4.5s ease-in-out infinite !important;
        top: 25% !important;
        left: 55% !important; /* Moved from 75% to 55% */
    }
    
    .contact-section .floating-contact-area .floating-springs {
        animation: mobile-wiggle 3.8s ease-in-out infinite !important;
        -webkit-animation: mobile-wiggle 3.8s ease-in-out infinite !important;
        top: 80% !important;
        left: 10% !important;
    }
    
    .contact-section .floating-contact-area .floating-clock {
        animation: mobile-wiggle-2 3.2s ease-in-out infinite !important;
        -webkit-animation: mobile-wiggle-2 3.2s ease-in-out infinite !important;
        top: 55% !important;
        left: 35% !important; /* Moved from 50% to 35% */
    }
    
    .contact-section .floating-contact-area .floating-license {
        animation: mobile-wiggle 4.2s ease-in-out infinite !important;
        -webkit-animation: mobile-wiggle 4.2s ease-in-out infinite !important;
        top: 8% !important;
        left: 35% !important; /* Moved from 50% to 35% */
    }
    
    /* Pause animation when touched/clicked */
    .floating-box.touched {
        animation-play-state: paused !important;
        -webkit-animation-play-state: paused !important;
    }
}

/* Desktop rules for expertise section - ensure they display on desktop */
@media (min-width: 769px) {
    .expertise-section {
        display: block !important;
        visibility: visible !important;
    }
    
    .expertise {
        display: block !important;
        visibility: visible !important;
        position: relative !important;
    }
    
    .expertise-grid {
        display: grid !important;
        visibility: visible !important;
    }
    
    .expertise-item {
        display: block !important;
        visibility: visible !important;
    }
}
