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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
}

/* Header and Navigation */
.header {
    background: rgba(243, 244, 246, 0.95);
    backdrop-filter: blur(10px);
    color: #374151;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.logo {
    width: 70px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: flex-end;
    align-items: flex-end;
}

.nav-toggle:hover {
    background: rgba(107, 114, 128, 0.1);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(243, 244, 246, 0.98);
    backdrop-filter: blur(10px);
    list-style: none;
    margin: 0;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-links li {
    margin: 0.5rem 0;
}

.nav-links a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: block;
}

.nav-links a:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.emergency-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #1f2937, #374151);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex: 2;
    margin: 0 2rem;
    z-index: 100;
}



.emergency-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.emergency-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    display: block;
}

.emergency-number:hover {
    color: #fca5a5;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.3), rgba(31, 41, 55, 0.5)), url('hero-bathroom.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    padding: 10rem 2rem 8rem;
    text-align: center;
    margin-top: 80px;
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.5);
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    background: #f3f4f6;
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 320px;
    display: flex;
    align-items: flex-end;
}

.service-overlay {
    background: linear-gradient(transparent 0%, rgba(17, 24, 39, 0.8) 60%, rgba(17, 24, 39, 0.95) 100%);
    padding: 2rem;
    border-radius: 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1rem;
}

.service-overlay h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.service-overlay p {
    color: #d1d5db;
    line-height: 1.7;
    font-size: 1rem;
}

.service-overlay .service-icon {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    margin-bottom: 1.5rem;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.about-banner {
    background: linear-gradient(135deg, #111827, #1f2937);
    padding: 2rem 2rem;
    text-align: center;
    color: white;
    border-radius: 0;
    margin: 0 -2rem;
    width: calc(100% + 4rem);
}

.about-banner-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.about-banner-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.about-container {
    padding: 4rem 2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 2rem;
    background: #f3f4f6;
}

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

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

.testimonial-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 2rem;
    font-size: 4rem;
    color: #dc2626;
    font-family: serif;
    line-height: 1;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: #1f2937;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

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

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
}

.about-content {
    order: 2;
    padding: 4rem 2rem;
}

.about-text-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #dc2626;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #dc2626;
    min-width: 80px;
}

.stat-label {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    order: 1;
    padding: 0;
    background: none;
    border-radius: 0;
    position: relative;
    margin: 0 calc(-50vw + 50%);
    width: 100vw;
    overflow: visible;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #dc2626;
}

.about-logo,
.about-image h3,
.about-image p {
    display: none;
}

/* Mobile about image - base styles */
.about-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    display: block;
}

/* Desktop layout - deployment-specific fix */
@media screen and (min-width: 769px) {
    body .about-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4rem !important;
        max-width: 1400px !important;
        margin: 0 auto !important;
        padding: 0 2rem 4rem 2rem !important;
        align-items: start !important;
    }
    
    body .about-container .about-content {
        grid-column: 1 !important;
        padding-right: 2rem !important;
        align-self: start !important;
        display: block !important;
        margin-bottom: 0 !important;
        order: 1 !important;
    }
    
    body .about-container .about-image {
        grid-column: 2 !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        align-self: start !important;
        order: 2 !important;
        padding: 0 !important;
        background: none !important;
        border-radius: 0 !important;
        position: static !important;
        margin: -4rem 0 0 0 !important;
        width: auto !important;
        overflow: visible !important;
        transform: none !important;
    }
    
    /* Force override mobile full-width styles - removed conflicting margin */
    
    body .about-container .about-image::after {
        display: none !important;
        content: none !important;
    }
    
    /* Maximum specificity for deployment */
    body section.about .about-container .about-image .about-img {
        width: 100% !important;
        max-width: 500px !important;
        height: 275px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
        margin: 0 !important;
        display: block !important;
        position: static !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }
    
    .about-stats {
        grid-column: 1 / -1;
        grid-row: 2;
        order: 3;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        margin-top: 2rem;
    }
}

/* Nuclear option - deployment environment override */
@media screen and (min-width: 769px) {
    html body section#about .about-container .about-image {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        grid-column: 2 !important;
        order: 2 !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }
    
    html body section#about .about-container .about-image .about-img {
        width: 100% !important;
        max-width: 500px !important;
        height: 275px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        position: static !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }
}



/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: #1f2937;
    color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 4rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: #374151;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.2rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #f9fafb;
}

.contact-item p {
    color: #d1d5db;
}

.contact-item a {
    color: #60a5fa;
    text-decoration: none;
}

.contact-item a:hover {
    color: #93c5fd;
}

/* Footer */
.footer {
    background: #111827;
    color: #9ca3af;
    padding: 2rem;
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        width: 60px;
    }
    
    .emergency-contact {
        padding: 0.5rem 0.75rem;
        margin: 0 1rem;
        flex: 1.5;
    }
    
    .emergency-text {
        font-size: 0.6rem;
        letter-spacing: 0.8px;
    }
    
    .emergency-number {
        font-size: 1rem;
    }
    
    .nav-toggle {
        padding: 6px;
    }
    
    .nav-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .nav-links {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .about-banner {
        margin: 0 -1rem;
        width: calc(100% + 2rem);
        padding: 2rem 1rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }
    
    .about-content {
        order: 2;
        padding: 2rem 1rem;
    }
    
    .about-image {
        order: 1;
        padding: 0;
        background: none;
        border-radius: 0;
        position: relative;
        margin: 0 -1rem;
        width: calc(100% + 2rem);
    }
    
    .about-image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: #dc2626;
    }
    
    .about-logo,
    .about-image h3,
    .about-image p {
        display: none;
    }
    
    /* Removed conflicting mobile override rule */
    
    .about-text-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .about-stats {
        order: 2;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background: #ffffff;
        border-radius: 8px;
        border-left: 4px solid #dc2626;
    }
    
    .stat-number {
        font-size: 1.5rem;
        color: #dc2626;
        font-weight: bold;
        min-width: 60px;
    }
    
    .stat-label {
        font-size: 0.9rem;
        color: #4b5563;
        margin: 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-banner {
        padding: 1rem 1rem;
    }
    
    .about-banner-title {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .about-banner-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 4rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .services,
    .about,
    .contact {
        padding: 4rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

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

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-card:nth-child(5) {
    animation-delay: 0.4s;
}
