/* ================= MOBILE ================= */

@media (max-width: 768px) {
    /* Container adjustments */
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    /* Hero section */
    .hero {
        padding: 60px 20px !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem !important;
    }
    
    /* Services grid - stack vertically */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px !important;
    }
    
    /* Contact form */
    .contact-section {
        padding: 40px 0 !important;
    }
    
    /* Buttons - make touch-friendly */
    .btn {
        padding: 14px 25px !important;
        min-height: 44px; /* Minimum touch target size */
    }
    
    /* Fix text sizes */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    /* Navigation (if you add it) */
    .main-nav ul {
        flex-direction: column;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .hero {
        padding: 40px 15px !important;
    }
    
    .hero h1 {
        font-size: 1.5rem !important;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Contact Form 7 Mobile */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important; /* Prevents iOS zoom */
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Minimal beautification */
.wpcf7-form-control {
    padding: 5px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    transition: 0.3s !important;
}

.wpcf7-form-control:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
    outline: none !important;
}

.wpcf7-submit {
    background: #e74c3c !important;
    color: white !important;
    border-radius: 8px !important;
    border: none !important;
    transition: 0.3s !important;
}

.wpcf7-submit:hover {
    background: #c0392b !important;
}

/* ================= BEAUTIFY BUTTON ONLY ================= */

/* Button - Modern, better size */
.wpcf7-submit {
    /* Size */
    padding: 5px !important;
    min-width: 180px !important;
    
    /* Colors - MartyClean red */
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: white !important;
    
    /* Border & Shape */
    border: none !important;
    border-radius: 8px !important;
    
    /* Text */
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    
    /* Effects */
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(231, 76, 60, 0.2) !important;
    
    /* Positioning */
    display: inline-block !important;
    text-align: center !important;
    line-height: 1 !important;
}

/* Hover Effect */
.wpcf7-submit:hover {
    background: linear-gradient(135deg, #c0392b, #a93226) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.3) !important;
}

/* Active/Click Effect */
.wpcf7-submit:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.2) !important;
}

/* Focus State */
.wpcf7-submit:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4) !important;
}


/* Services Grid - 2 columns */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 30px; /* Space between items */
    margin-top: 40px;
}

/* For odd number of items - center last one */
.services-grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1; /* Make it span full width */
    max-width: 50%; /* Half width */
    margin: 0 auto; /* Center it */
}

/* Mobile: Switch to 1 column */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    
    .services-grid .service-card:last-child:nth-child(odd) {
        max-width: 100%; /* Full width on mobile */
    }
}

/* ================= MODERN PRICING TABLE ================= */

.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #3498db, #2ecc71);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2c3e50, #4a5568);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pricing Table Grid */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Pricing Column */
.pricing-column {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.pricing-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Featured Plan */
.pricing-column.featured {
    transform: scale(1.05);
    border: 2px solid #e74c3c;
}

.pricing-column.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #e74c3c;
    color: white;
    padding: 8px 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

/* Pricing Header */
.pricing-header {
    padding: 40px 30px 30px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-price {
    margin: 20px 0;
    color: #2d3748;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 2px;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.plan-price .period {
    font-size: 1rem;
    color: #718096;
    margin-left: 5px;
}

.plan-description {
    color: #718096;
    font-size: 0.95rem;
    margin-top: 15px;
    font-style: italic;
}

/* Plan Colors */
.pricing-column.bronze .plan-name {
    color: #cd7f32;
}

.pricing-column.bronze .plan-price .amount {
    color: #cd7f32;
}

.pricing-column.argent .plan-name {
    color: #c0c0c0;
}

.pricing-column.argent .plan-price .amount {
    color: #c0c0c0;
}

.pricing-column.gold .plan-name {
    color: #ffd700;
}

.pricing-column.gold .plan-price .amount {
    color: #ffd700;
}

/* Features List */
.plan-features {
    padding: 30px;
    margin: 0;
    list-style: none;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f7fafc;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #4a5568;
}

.plan-features li:last-child {
    border-bottom: none;
}

.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #48bb78;
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.feature-uncheck {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #e2e8f0;
    color: #a0aec0;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

/* Pricing Footer */
.pricing-footer {
    padding: 30px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.extra-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.option-name {
    font-weight: 600;
    color: #4a5568;
}

.option-price {
    font-weight: 700;
    color: #e74c3c;
}

/* Buttons */
.btn-plan {
    display: block;
    width: 100%;
    padding: 18px 20px;
    background: #2c3e50;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #2c3e50;
    text-transform: uppercase;
}

.btn-plan:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.featured-btn {
    background: #e74c3c;
    border-color: #e74c3c;
}

.featured-btn:hover {
    background: white;
    color: #e74c3c;
}

/* Note */
.pricing-note {
    text-align: center;
    padding: 20px;
    background: #f1f8e9;
    border-radius: 12px;
    border: 1px dashed #9ae6b4;
}

.pricing-note p {
    margin: 0;
    color: #2f855a;
    font-size: 0.95rem;
    font-style: italic;
}

/* ================= MOBILE RESPONSIVE ================= */

/* Tablet */
@media (max-width: 1024px) {
    .pricing-table {
        gap: 20px;
    }
    
    .pricing-column.featured {
        transform: none;
    }
    
    .pricing-column.featured:hover {
        transform: translateY(-10px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .pricing-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-table {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
        gap: 30px;
    }
    
    .pricing-column.featured {
        order: -1;
    }
    
    .plan-price .amount {
        font-size: 3rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .pricing-header {
        padding: 30px 20px 25px;
    }
    
    .plan-features,
    .pricing-footer {
        padding: 25px 20px;
    }
    
    .plan-price .amount {
        font-size: 2.5rem;
    }
}

/* Extra Options Section */
.extra-options-section {
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.extra-options-header {
    text-align: center;
    margin-bottom: 40px;
}

.extra-options-header h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.extra-options-header p {
    color: #718096;
    font-size: 1rem;
}

.extra-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.extra-option-card {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.option-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.extra-option-card h4 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.option-description {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 40px;
}

.option-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
    padding: 8px 0;
    border-top: 2px dashed #e2e8f0;
}

/* Mobile responsive for options */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-actions .btn-primary {
        display: none; /* This hides the entire button on mobile */
    }
    
    /* NEW: Hide only the text, keep the button with icon */
    .header-actions .btn-primary span:not(.icon) {
        display: none;
    }
    
    /* NEW: Make the button smaller for mobile */
    .header-actions .btn-primary {
        padding: 10px 15px;
        min-width: auto;
        display: flex; /* Keep it visible */
    }
    
    .header-inner {
        padding: 15px 0;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
}

/* ================= HEADER STYLES ================= */

.site-header {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #f1f5f9;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.logo-primary {
    color: #2c3e50;
}

.logo-primary-light {
    color: #e8ecef;
}

.logo-accent {
    color: #e74c3c;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

/* Desktop Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 5px;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a:hover {
    color: #e74c3c;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

.nav-menu .current-menu-item a {
    color: #e74c3c;
}

/* CTA Button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    gap: 10px;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: #2c3e50;
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: #2c3e50;
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Mobile Navigation */
.mobile-navigation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    padding: 100px 30px 40px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.mobile-navigation.active {
    transform: translateX(0);
}

.mobile-nav-menu {
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 10px;
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu .current-menu-item a {
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.1), transparent);
    border-left-color: #e74c3c;
    color: #e74c3c;
}

.mobile-cta {
    width: 100%;
    margin-bottom: 20px;
    justify-content: center;
}

.mobile-contact {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.mobile-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.mobile-contact i {
    color: #e74c3c;
}

/* Responsive Header */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    /* Remove the hamburger completely */
    .mobile-menu-toggle {
        display: none;
    }
    
    /* Keep the CTA button as is (no changes needed here) */
    .header-actions .btn-primary {
        /* Nothing needed - it stays visible by default */
    }
    
    .header-inner {
        padding: 15px 0;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
}

/* ================= FOOTER STYLES ================= */

.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: #cbd5e0;
    margin-top: 80px;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Footer Columns */
.footer-col {
    margin-bottom: 30px;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    border-radius: 2px;
}

/* Company Info */
.company-info .footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    background: #e74c3c;
    transform: translateY(-3px);
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-menu a:hover {
    color: white;
    padding-left: 5px;
}

.footer-menu a::before {
    content: '›';
    color: #e74c3c;
    transition: transform 0.3s ease;
}

.footer-menu a:hover::before {
    transform: translateX(3px);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    color: #e74c3c;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

/* Newsletter */
.newsletter-text {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #a0aec0;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #e74c3c;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn {
    padding: 12px 20px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.9rem;
    color: #a0aec0;
}

.legal-links {
    display: flex;
    gap: 25px;
}

.legal-links a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 50px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}


/* BEFORE AFTER */

/* Before/After Section */
.before-after-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #718096;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Image Comparison Slider */
.before-after-slider {
    max-width: 900px;
    margin: 0 auto 40px;
}

.comparison-slide {
    display: none;
}

.comparison-slide.active {
    display: block;
}

.image-comparison {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    cursor: col-resize;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}

.image-after {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.slider-line {
    width: 100%;
    height: 100%;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: col-resize;
}

.slider-circle svg {
    color: #2c3e50;
}

.labels {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.label {
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

.slide-caption {
    text-align: center;
    padding: 20px;
}

.slide-caption h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.slide-caption p {
    color: #718096;
    font-size: 1rem;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    transform: translateY(-2px);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: #e74c3c;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .before-after-section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .image-wrapper {
        height: 400px;
    }
    
    .slider-circle {
        width: 50px;
        height: 50px;
    }
}

