/* ===========================
   RETRO GAMING THEME CSS
   Seaniflo Drain Services
   =========================== */

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

:root {
    /* Mario Color Palette */
    --mario-red: #E52521;
    --mario-blue: #049CD8;
    --mario-yellow: #FBD000;
    --mario-green: #43B047;
    --mario-orange: #F7981D;
    --brick-brown: #8B4513;
    --pipe-green: #00B000;
    --sky-blue: #0FBAFE;
    --coin-gold: #FFD700;
    --dark-bg: #1a1a2e;
    --light-text: #f8f9fa;
    --shadow-dark: rgba(0, 0, 0, 0.7);
    
    /* Fonts */
    --pixel-font: 'Press Start 2P', cursive;
    --regular-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--regular-font);
    background: #0FBAFE;
    color: var(--light-text);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, transparent 0%, #7EC850 40%, #5FA035 100%);
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: #8B4513;
    z-index: 0;
    pointer-events: none;
    border-top: 8px solid #5FA035;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    background: var(--dark-bg);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px var(--shadow-dark);
    border-bottom: 4px solid var(--mario-red);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: white;
    text-shadow: 
        -2px -2px 0 #1e3a8a,
        2px -2px 0 #1e3a8a,
        -2px 2px 0 #1e3a8a,
        2px 2px 0 #1e3a8a,
        -3px 0 0 #1e3a8a,
        3px 0 0 #1e3a8a,
        0 -3px 0 #1e3a8a,
        0 3px 0 #1e3a8a;
    letter-spacing: 1px;
}

/* Nav Logo Image */
.nav-logo-img {
    height: 35px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover {
    background: var(--mario-yellow);
    color: var(--mario-red);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10001;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 40px 0;
    position: relative;
    background: url('hero.png') center top / contain no-repeat;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    min-height: 30vh;
    padding-bottom: 4rem;
    margin-top: 12rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.glitch {
    position: relative;
}

.subtitle {
    font-family: 'Fredoka One', cursive;
    font-size: 4.5rem;
    color: white;
    text-shadow: 
        -4px -4px 0 #1e3a8a,
        4px -4px 0 #1e3a8a,
        -4px 4px 0 #1e3a8a,
        4px 4px 0 #1e3a8a,
        -5px 0 0 #1e3a8a,
        5px 0 0 #1e3a8a,
        0 -5px 0 #1e3a8a,
        0 5px 0 #1e3a8a;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.tagline {
    font-size: 1.3rem;
    margin: 1rem 0;
}

/* Bubble Logo Styles */
.logo-container {
    width: 100%;
    max-width: 900px;
    margin: 1rem 0 1rem -20px;
    padding: 0 20px;
}

.bubble-logo {
    width: 100%;
    height: auto;
    display: block;
}

.logo-shadow {
    font-family: 'Fredoka One', cursive;
    font-size: 140px;
    font-weight: 900;
    fill: #162C4A;
    letter-spacing: -0.04em;
}

.logo-outline {
    font-family: 'Fredoka One', cursive;
    font-size: 140px;
    font-weight: 900;
    fill: #1F3B63;
    stroke: #1F3B63;
    stroke-width: 20;
    paint-order: stroke fill;
    letter-spacing: -0.04em;
}

.logo-fill {
    font-family: 'Fredoka One', cursive;
    font-size: 140px;
    font-weight: 900;
    fill: #FFFFFF;
    letter-spacing: -0.04em;
}

.hero-description {
    font-size: 1.1rem;
    margin: 1.5rem 0;
    color: var(--dark-bg);
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 8px;
    border: 4px solid #43B047;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    flex-direction: row !important;
    gap: 1.5rem;
    margin: 2rem 0;
    align-items: center;
}

.btn {
    font-family: var(--pixel-font);
    font-size: 0.8rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: var(--mario-red);
    color: white;
    border: 4px solid var(--brick-brown);
}

.btn-primary:hover {
    background: var(--mario-yellow);
    color: var(--mario-red);
    transform: scale(1.05);
}

.btn-secondary {
    background: var(--mario-green);
    color: white;
    border: 4px solid #2a7a2e;
}

.btn-secondary:hover {
    background: var(--mario-blue);
    transform: scale(1.05);
}

.score-display {
    margin-top: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 8px;
    border: 3px solid var(--mario-yellow);
    display: inline-block;
}

.score-label {
    font-family: var(--pixel-font);
    font-size: 0.7rem;
    color: var(--mario-yellow);
    margin-right: 1rem;
}

.score-value {
    font-family: var(--pixel-font);
    font-size: 1.2rem;
    color: white;
}

/* Pipe Animation */
.pipe-animation {
    position: relative;
    height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: 50px;
    padding-bottom: 0;
    margin-bottom: -200px;
    transform: translateY(210px);
}

.mario-pipes {
    display: flex;
    align-items: flex-end;
    gap: 30px;
}

.green-pipe {
    background: linear-gradient(90deg, #00A000 0%, #00C000 50%, #00A000 100%);
    border: 4px solid #008000;
    border-radius: 8px 8px 0 0;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3),
                0 4px 8px rgba(0, 0, 0, 0.5);
    position: relative;
}

.green-pipe::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -10px;
    right: -10px;
    height: 20px;
    background: linear-gradient(90deg, #00A000 0%, #00C000 50%, #00A000 100%);
    border: 4px solid #008000;
    border-radius: 8px 8px 0 0;
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.3);
}

.pipe-large {
    width: 80px;
    height: 250px;
    animation: pipeGrow 2s ease-in-out infinite;
}

.pipe-medium {
    width: 80px;
    height: 200px;
    animation: pipeGrow 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Clouds */
.clouds {
    display: none !important;
}

.cloud {
    display: none !important;
}

.cloud-1 {
    top: 10%;
    left: 15%;
}

.cloud-2 {
    top: 30%;
    left: 45%;
    animation-delay: 10s;
}

.cloud-3 {
    top: 50%;
    left: 75%;
    animation-delay: 20s;
}

.cloud-4 {
    top: 15%;
    left: 55%;
    animation-delay: 5s;
    font-size: 3.5rem;
}

.cloud-5 {
    top: 40%;
    left: 25%;
    animation-delay: 15s;
    font-size: 4.5rem;
}

.cloud-6 {
    top: 25%;
    left: 65%;
    animation-delay: 25s;
    font-size: 3rem;
}

.cloud-7 {
    top: 35%;
    left: -14%;
    animation-delay: 7s;
    font-size: 3.8rem;
}

.cloud-8 {
    top: 20%;
    left: -16%;
    animation-delay: 18s;
    font-size: 4.2rem;
}

.cloud-9 {
    top: 45%;
    left: -11%;
    animation-delay: 12s;
    font-size: 3.3rem;
}

/* Floating Coins */
.coins-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Services Section */
.services {
    padding: 60px 20px;
    background: transparent;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, #7EC850 100%);
    z-index: 0;
    pointer-events: none;
}

.section-title {
    font-family: var(--pixel-font);
    font-size: 2.5rem;
    text-align: center;
    color: var(--mario-red);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 var(--brick-brown);
}

.title-icon {
    display: inline-block;
    animation: spin 3s linear infinite;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--dark-bg);
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 4px solid var(--mario-red);
    box-shadow: 0 8px 16px var(--shadow-dark);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--mario-yellow);
    box-shadow: 0 12px 24px var(--shadow-dark);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.service-icon {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

.level-badge {
    font-family: var(--pixel-font);
    font-size: 0.6rem;
    background: var(--mario-red);
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    border: 2px solid var(--brick-brown);
}

.service-card h3 {
    font-family: var(--pixel-font);
    font-size: 1rem;
    color: var(--mario-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--dark-bg);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin: 1rem 0;
}

.service-features li {
    color: var(--dark-bg);
    margin: 0.5rem 0;
    font-weight: 500;
}

.btn-service {
    width: 100%;
    font-family: var(--pixel-font);
    font-size: 0.7rem;
    padding: 0.8rem;
    background: var(--mario-green);
    color: white;
    border: 3px solid #2a7a2e;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-service:hover {
    background: var(--mario-yellow);
    color: var(--mario-red);
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 80px 20px;
    background: transparent;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: 
        radial-gradient(ellipse 250px 150px at 30% 100%, #7EC850 50%, transparent 50%),
        radial-gradient(ellipse 300px 180px at 70% 100%, #7EC850 50%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 100%;
}

.about-text {
    max-width: 100%;
    overflow: hidden;
}

.stats-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    align-items: start;
    max-width: 100%;
}

.stat {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    border: 4px solid var(--mario-red);
    box-shadow: 0 4px 8px var(--shadow-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    max-width: 100%;
    overflow: hidden;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: var(--pixel-font);
    font-size: 1.3rem;
    color: var(--mario-red);
    display: block;
    margin: 0.5rem 0;
    word-wrap: break-word;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--dark-bg);
    font-weight: 600;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.about-description {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    color: var(--dark-bg);
    border: 3px solid var(--mario-blue);
}

.achievements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.achievement {
    background: var(--mario-green);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    border: 3px solid #2a7a2e;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

/* Question Blocks */
.question-block-container {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.question-block {
    width: 80px;
    height: 80px;
    background: var(--mario-yellow);
    border: 4px solid var(--brick-brown);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
    animation: questionPulse 2s infinite;
}

.question-block:hover {
    transform: translateY(-10px);
    animation: none;
}

.question-block:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.question-mark {
    font-family: var(--pixel-font);
    font-size: 2rem;
    color: white;
    text-shadow: 2px 2px 0 var(--brick-brown);
}

.brick-pattern {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.brick {
    width: 80px;
    height: 40px;
    background: var(--brick-brown);
    border: 3px solid #5a2d0c;
    border-radius: 4px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Testimonials */
.testimonials {
    padding: 80px 20px;
    background: transparent;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 4px solid var(--mario-blue);
    box-shadow: 0 8px 16px var(--shadow-dark);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px var(--shadow-dark);
}

.testimonial-card .stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--dark-bg);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    color: var(--mario-red);
    font-family: var(--pixel-font);
    font-size: 0.8rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: transparent;
    position: relative;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    gap: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 4px solid var(--mario-green);
    box-shadow: 0 4px 8px var(--shadow-dark);
    text-align: center;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.info-card h3 {
    font-family: var(--pixel-font);
    font-size: 0.9rem;
    color: var(--mario-red);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--dark-bg);
    margin: 0.3rem 0;
}

.info-card a {
    color: var(--mario-blue);
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
}

.call-now-card {
    width: 100%;
}

.call-now-card .phone-number {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 1rem 0;
}

.call-now-card .phone-number a {
    font-family: var(--pixel-font);
    font-size: 1.2rem;
}

.info-detail {
    font-size: 0.85rem;
    color: #666;
}

/* Contact Form Container */
.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 4px solid var(--mario-red);
    box-shadow: 0 8px 16px var(--shadow-dark);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-container h3 {
    font-family: var(--pixel-font);
    font-size: 1.2rem;
    color: var(--mario-blue);
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-form-container .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 0.8rem;
    border: 3px solid var(--mario-blue);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--regular-font);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: var(--mario-yellow);
    box-shadow: 0 0 0 3px rgba(251, 208, 0, 0.2);
}

.contact-form-container textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-container .btn {
    width: 100%;
    margin-top: 1rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    display: block;
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 4px solid var(--mario-red);
    box-shadow: 0 8px 16px var(--shadow-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--mario-blue);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 3px solid var(--mario-blue);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--regular-font);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mario-yellow);
    box-shadow: 0 0 0 3px rgba(251, 208, 0, 0.2);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    border: 4px solid var(--mario-green);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 8px 16px var(--shadow-dark);
}

.form-success.active {
    display: flex;
    animation: popIn 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-family: var(--pixel-font);
    font-size: 1.5rem;
    color: var(--mario-green);
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--dark-bg);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 20px 20px;
    border-top: 6px solid var(--mario-red);
    overflow-x: hidden;
    width: 100%;
}

.footer-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
    max-width: 100%;
    overflow-x: hidden;
}

.footer-col {
    flex: 1;
    text-align: left;
    max-width: 100%;
    overflow-wrap: break-word;
}

.footer-col h4 {
    font-family: var(--pixel-font);
    font-size: 0.9rem;
    color: var(--mario-yellow);
    margin-bottom: 1.5rem;
}

.footer-col p {
    line-height: 1.6;
    color: #ccc;
}

.footer-col ul {
    list-style: none;
    display: block;
}

.footer-col ul li {
    margin: 0.75rem 0;
    display: block;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-col ul li a:hover {
    color: var(--mario-yellow);
    padding-left: 5px;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--mario-yellow);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #333;
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: #999;
}

.footer-tagline {
    font-family: var(--pixel-font);
    font-size: 0.8rem;
    color: var(--mario-yellow);
    margin-top: 1rem;
}

.game-over-text {
    text-align: center;
    font-family: var(--pixel-font);
    font-size: 0.7rem;
    color: #666;
    margin-top: 1rem;
    letter-spacing: 2px;
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-star,
.floating-tool,
.floating-pipe {
    position: absolute;
    font-size: 2rem;
    animation: floatRandom 10s infinite ease-in-out;
}

.floating-star:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.floating-star:nth-child(2) {
    top: 50%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.floating-star:nth-child(3) {
    top: 70%;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 11s;
}

.floating-star:nth-child(4) {
    top: 35%;
    left: 60%;
    animation-delay: 6s;
    animation-duration: 13s;
}

.floating-tool:nth-child(5) {
    top: 40%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 15s;
}

.floating-tool:nth-child(6) {
    top: 80%;
    left: 15%;
    animation-delay: 5s;
    animation-duration: 16s;
}

.floating-tool:nth-child(7) {
    top: 15%;
    left: 85%;
    animation-delay: 3s;
    animation-duration: 10s;
}

.floating-pipe:nth-child(8) {
    top: 60%;
    left: 50%;
    animation-delay: 2.5s;
    animation-duration: 14s;
}

.floating-pipe:nth-child(9) {
    top: 25%;
    left: 40%;
    animation-delay: 4.5s;
    animation-duration: 12s;
}

.floating-pipe:nth-child(10) {
    top: 75%;
    left: 75%;
    animation-delay: 1.5s;
    animation-duration: 13s;
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes cloudFloat {
    from { left: -10%; }
    to { left: 110%; }
}

@keyframes pipeGrow {
    0%, 100% { 
        transform: scaleY(1); 
    }
    50% { 
        transform: scaleY(1.05); 
    }
}

@keyframes pipeFloat {
    0%, 100% { 
        transform: translateY(0) rotate(var(--rotation, 0deg)); 
    }
    50% { 
        transform: translateY(-20px) rotate(var(--rotation, 0deg)); 
    }
}

@keyframes wrenchSpin {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

@keyframes questionPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes floatRandom {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translate(20px, -30px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -60px) rotate(180deg);
        opacity: 1;
    }
    75% {
        transform: translate(30px, -30px) rotate(270deg);
        opacity: 0.8;
    }
}

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

@keyframes coinCollect {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }
    
    .hero {
        padding: 80px 0 20px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--dark-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: -4px 0 8px var(--shadow-dark);
        transition: right 0.3s ease;
        border-left: 4px solid var(--mario-red);
        z-index: 9999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 1rem;
        width: 100%;
        text-align: center;
        border: 2px solid var(--mario-red);
        margin: 0.5rem 0;
    }
    
    .hero-text h1 {
        font-size: 3rem;
        line-height: 1;
        word-break: break-word;
    }
    
    .subtitle {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stats-box {
        grid-template-columns: 1fr;
    }
    
    .achievements {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pipe-animation {
        height: 250px;
        margin-bottom: 0;
    }
    
    .animated-pipe {
        width: 120px;
    }
    
    .pipe-2 {
        width: 140px;
    }
    
    .pipe-3 {
        width: 110px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-brand .logo {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 70px 0 20px 0;
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero {
        padding: 90px 0 20px 0;
        background-size: contain;
        background-position: center 95px;
        background-repeat: no-repeat;
        background-color: #0FBAFE;
    }
    
    .hero-content {
        min-height: auto;
        padding-bottom: 2rem;
        margin-top: 8rem;
    }
    
    /* Logo adjustments for 640px */
    .logo-container {
        margin: 0 auto 1rem auto;
        padding: 2rem 10px 0 10px;
    }
    
    .bubble-logo {
        max-width: 500px;
    }
    
    .logo-shadow {
        font-size: 100px;
    }
    
    .logo-outline {
        font-size: 100px;
        stroke-width: 18;
    }
    
    .logo-fill {
        font-size: 100px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        text-shadow: 
            -2px -2px 0 #1e3a8a,
            2px -2px 0 #1e3a8a,
            -2px 2px 0 #1e3a8a,
            2px 2px 0 #1e3a8a;
        line-height: 1;
        margin-bottom: 0.3rem;
        text-align: center;
    }
    
    .subtitle {
        font-size: 1.5rem;
        text-shadow: 
            -2px -2px 0 #1e3a8a,
            2px -2px 0 #1e3a8a,
            -2px 2px 0 #1e3a8a,
            2px 2px 0 #1e3a8a;
        line-height: 1.1;
        text-align: center;
    }
    
    .tagline {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 0.85rem;
        padding: 0.8rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: row;
        align-items: stretch;
        width: 100%;
        gap: 0.8rem;
    }
    
    .btn {
        font-size: 0.6rem;
        padding: 0.9rem 1rem;
        flex: 1;
        max-width: 100%;
    }
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .pipe-animation {
        height: 200px;
        margin-bottom: 0;
    }
    
    .animated-pipe {
        width: 100px;
    }
    
    .pipe-2 {
        width: 120px;
    }
    
    .pipe-3 {
        width: 90px;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-content {
        flex-direction: column !important;
        align-items: center;
    }
    
    .contact-info {
        width: 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .contact-form-container {
        width: 100%;
        max-width: 100%;
    }
    
    .info-card {
        padding: 1.2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-col {
        width: 100%;
    }
    
    .score-display {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem;
    }
    
    .score-label {
        font-size: 0.6rem;
        margin: 0;
    }
    
    .score-value {
        font-size: 1rem;
    }
}

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

/* Selection Colors */
::selection {
    background: var(--mario-yellow);
    color: var(--mario-red);
}

/* Extra small devices - Galaxy FE20 and similar (360-480px) */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    * {
        max-width: 100%;
    }
    
    .container {
        padding: 0 10px !important;
        max-width: 100% !important;
    }
    
    .nav-brand .logo {
        font-size: 1rem !important;
    }
    
    .hero {
        padding: 70px 0 20px 0;
    }
    
    .hero-content {
        padding: 0.5rem 0;
        padding-left: 0 !important;
        gap: 1rem;
    }
    
    .hero-text {
        text-align: center !important;
    }
    
    .hero {
        padding: 80px 0 20px 0;
        background-size: contain;
        background-position: center 85px;
        background-repeat: no-repeat;
        background-color: #0FBAFE;
        min-height: 100vh;
    }
    
    .hero-content {
        min-height: 85vh;
        padding-bottom: 2rem;
        padding-top: 0;
    }
    
    .hero-buttons {
        gap: 0.6rem;
        flex-direction: row;
        width: 100%;
        padding: 0 10px;
    }
    
    .btn {
        flex: 1;
        min-width: 0;
        font-size: 0.55rem !important;
        padding: 0.85rem 0.4rem !important;
    }
    
    .score-display {
        margin-top: 1rem;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Mobile Bubble Logo - Large and Prominent */
    .logo-container {
        max-width: 100%;
        margin: 0 auto 1rem auto;
        padding: 2.5rem 10px 0 10px;
    }
    
    .bubble-logo {
        width: 100%;
        max-width: 700px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    
    .logo-shadow {
        font-size: 220px !important;
    }
    
    .logo-outline {
        font-size: 220px !important;
        stroke-width: 40 !important;
    }
    
    .logo-fill {
        font-size: 220px !important;
    }
    
    .hero-text h1 {
        font-size: 3.5rem !important;
        letter-spacing: 2px !important;
        text-shadow: 
            -4px -4px 0 #1e3a8a,
            4px -4px 0 #1e3a8a,
            -4px 4px 0 #1e3a8a,
            4px 4px 0 #1e3a8a,
            -5px 0 0 #1e3a8a,
            5px 0 0 #1e3a8a,
            0 -5px 0 #1e3a8a,
            0 5px 0 #1e3a8a,
            -6px -6px 0 #1e3a8a,
            6px -6px 0 #1e3a8a,
            -6px 6px 0 #1e3a8a,
            6px 6px 0 #1e3a8a !important;
        animation: none !important;
        line-height: 0.95 !important;
        text-align: center !important;
        font-weight: 900 !important;
        color: white !important;
    }
    
    .subtitle {
        font-size: 2.2rem !important;
        text-shadow: 
            -3px -3px 0 #1e3a8a,
            3px -3px 0 #1e3a8a,
            -3px 3px 0 #1e3a8a,
            3px 3px 0 #1e3a8a,
            -4px 0 0 #1e3a8a,
            4px 0 0 #1e3a8a,
            0 -4px 0 #1e3a8a,
            0 4px 0 #1e3a8a !important;
        animation: none !important;
        line-height: 1 !important;
        text-align: center !important;
        font-weight: 900 !important;
        color: white !important;
    }
    
    .tagline {
        font-size: 0.8rem !important;
        text-align: center !important;
    }
    
    .hero-description {
        font-size: 0.75rem !important;
        padding: 0.6rem !important;
        text-align: center !important;
    }
    
    .btn {
        font-size: 0.5rem !important;
        padding: 0.8rem !important;
    }
    
    .pipe-animation {
        display: flex !important;
        height: 150px !important;
        margin-bottom: 0 !important;
        transform: translateY(-350px) !important;
        padding-right: 20px !important;
        justify-content: center !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .pipe-large {
        width: 50px !important;
        height: 100px !important;
    }
    
    .pipe-medium {
        width: 50px !important;
        height: 75px !important;
    }
    
    .hero-image {
        display: none !important;
    }
    
    .section-title {
        font-size: 1rem !important;
    }
    
    .footer {
        padding: 40px 10px 20px;
        overflow-x: hidden;
    }
    
    .footer-content {
        flex-direction: column !important;
        gap: 2rem !important;
        text-align: center;
    }
    
    .footer-col {
        width: 100% !important;
        max-width: 100%;
    }
    
    .footer-col h4 {
        font-size: 0.7rem;
    }
    
    .footer-bottom {
        font-size: 0.65rem;
    }
    
    .footer-tagline {
        font-size: 0.6rem;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 2.2rem !important;
    }
    
    .subtitle {
        font-size: 1.5rem !important;
    }
}

/* Desktop Improvements (min-width: 969px) */
@media (min-width: 969px) {
    /* Hero Section Desktop */
    .hero {
        min-height: 75vh;
        padding: 80px 0 80px 0;
        background-size: 600px auto;
        background-position: center 100px;
    }
    
    .hero-content {
        max-width: 1200px;
        margin-top: 20rem;
        padding-bottom: 6rem;
    }
    
    .hero-buttons {
        gap: 2rem;
    }
    
    .btn {
        min-width: 220px;
        padding: 1.2rem 2.5rem;
    }
    
    .score-display {
        padding: 1.5rem 2.5rem;
        margin-top: 1rem;
    }
    
    .score-label {
        font-size: 0.8rem;
        margin-right: 1.5rem;
    }
    
    .score-value {
        font-size: 1.5rem;
    }
    
    /* Services Grid Desktop */
    .services {
        padding: 80px 20px 100px 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
        margin-bottom: 4rem;
    }
    
    /* Contact Section Desktop */
    .contact-info {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .call-now-card {
        padding: 3rem 2rem;
    }
    
    .call-now-card .info-icon {
        font-size: 4rem;
    }
    
    .call-now-card h3 {
        font-size: 1.2rem;
    }
    
    .call-now-card .phone-number a {
        font-size: 1.5rem;
    }
    
    /* Testimonials Desktop */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    /* About Section Desktop */
    .stats-box {
        max-width: 900px;
        margin: 2rem auto;
    }
    
    .about-description {
        max-width: 800px;
        margin: 1rem auto;
    }
    
    /* Navbar Desktop */
    .navbar {
        padding: 1.2rem 0;
    }
    
    .nav-logo-img {
        height: 45px;
    }
    
    .nav-menu {
        gap: 2.5rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}
