
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    color: #111;
    line-height: 1.6;
    animation: fadeIn 0.5s ease-in;
    overflow-x: hidden;
}

.section {
    width: min(100%, 1400px);
    margin: 0 auto;
    padding: 60px 1.5rem;
}

.section h2 {
    margin-bottom: 1rem;
}

header {
    background: linear-gradient(135deg, #004aa6 0%, #003174 100%);
    color: #ffffff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Keep white background only on the contact page */
body.contact-page {
    background: #ffffff;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo a img {
    max-width: 220px;
    max-height: 140px;
    object-fit: contain;
}

.logo a:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem 0;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #ffeb3b;
}

.nav-right {
    display: flex;
    align-items: center;
    margin-left: 0;
    padding-right: 30px;
}

.btn {
    background: #d32f2f;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s, transform 0.2s;
    border: 1px solid #a00000;
    cursor: pointer;
    font-weight: 700;
}

.btn:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 10, 10, 0.35);
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    padding: 40px 0 30px;
    margin-bottom: 0;
    border-bottom: 8px solid #000000;
    box-shadow: inset 0px -30px 80px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.home-maintenance-hero {
    position: relative;
    min-height: 70vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, rgba(31,74,123,0.4) 0%, rgba(33,93,142,0.38) 60%, rgba(130,179,242,0.3) 100%), url('../images/placeholder/home-maintenance.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 8px solid #ffffff;
    box-shadow: inset 0px -30px 60px rgba(0, 0, 0, 0.2);
}

.home-maintenance-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 31, 58, 0.15);
    pointer-events: none;
}

.home-maintenance-hero .hero-content {
    position: relative;
    z-index: 2;
}

.home-maintenance-hero .hero-content h1 {
    font-size: 3rem;
    color: #fffae6;
}

.home-maintenance-hero .hero-content p {
    color: #f4f5f9;
}

/* Full-Page Hero (Homepage Only) */
.hero.hero-full {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
}

.hero.hero-full .hero-content {
    position: relative;
    z-index: 10;
    padding: 3rem;
    max-width: 900px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.75;
    z-index: 1;
    margin: 0;
    display: block;
}

.hero-desktop {
    display: block;
}

.hero-mobile {
    display: none;
}

    .breadcrumb {
        margin: -30px auto 0;
        padding: 10px 1rem;
    }
/* Normal hero (service pages) */

.hero-content h1 {
    font-size: 2.5rem;
    margin: 0 0 20px 0;
    font-weight: 700;
    color: #004aa6;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.hero.hero-full .hero-content h1 {
    font-size: 3.5rem;
    color: #004aa6;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    margin: 0 0 30px 0;
    opacity: 0.95;
    color: #004aa6;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.hero-content h2 {
    font-size: 1.2rem;
    margin: 0 0 30px 0;
    color: #2b8bff;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.hero.hero-full .hero-content p {
    font-size: 1.3rem;
    color: #004aa6;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.hero.hero-full .hero-content h2 {
    font-size: 1.4rem;
    color: #004aa6;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.btn-large {
    background: white;
    color: #007bff;
    padding: 15px 40px;
    font-size: 1rem;
}

.btn-large:hover {
    background: #f0f0f0;
}

/* Intro Section */
.intro {
    background: linear-gradient(135deg, rgba(0, 74, 166, 0.05) 0%, rgba(45, 139, 255, 0.08) 100%);
    border-top: 3px solid #004aa6;
    border-bottom: 3px solid #d32f2f;
    padding: 80px 1.5rem !important;
    margin: 0;
    text-align: center;
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.intro-icon {
    display: inline-block;
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.intro h2 {
    font-size: 2.5rem;
    color: #004aa6;
    margin: 20px 0 30px 0;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.intro p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    margin: 0;
    max-width: 100%;
}

/* Services Section */
.services {
    padding: 0;
    background: white;
    margin: 0;
    border-radius: 0;
    border-top: 1px solid #e4e8ee;
    border-bottom: 1px solid #e4e8ee;
}

.services h2 {
    font-size: 2.25rem;
    color: #222;
    text-align: left;
    max-width: 1400px;
    margin: 1.4rem auto 0.75rem;
    font-weight: 800;
    padding: 0 1.5rem;
}

.home-maintenance-services {
    background: linear-gradient(140deg, #fef8ef 0%, #eff8ff 100%);
    border-top: 2px solid #c8d6e5;
    border-bottom: 2px solid #c8d6e5;
}

.home-maintenance-card {
    background: white;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #dfe7ee;
    box-shadow: 0 8px 20px rgba(12, 31, 67, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: #1e2f4e;
}

.home-maintenance-card h3 {
    margin-top: 0;
    color: #c62828;
    font-size: 1.25rem;
}

.home-maintenance-card p {
    margin: 0.8rem 0 0;
    color: #4f617a;
    line-height: 1.6;
}

.home-maintenance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(12, 34, 67, 0.15);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 1px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: 1px solid #e6ebf0;
    background: #e6ebf0;
}

.card {
    background: #ffffff;
    padding: 0;
    border-radius: 12px;
    border: 1px solid #e6ebf0;
    box-shadow: none;
    margin: 0;
    overflow: hidden;
    text-align: center;
    font-weight: 700;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 32vw;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: inset 0 0 0 rgba(0,0,0,0);
    cursor: pointer;
    text-decoration: none;
    border-left: 1px solid #f6f8fb;
    border-right: 1px solid #f6f8fb;
}

.card span {
    position: relative;
    z-index: 2;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0;
}

.card:not(:nth-child(3n)) {
    border-right: 1px solid #e6ebf0;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    transition: background 0.3s;
}

.card:hover {
    transform: none;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.card:hover::before {
    background: rgba(0, 0, 0, 0.3);
}


.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 12px;
    z-index: 1;
    transition: background 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    background: rgba(0, 0, 0, 0.45);
}

.card span {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

/* Individual Service Card Images */
.card-fridge {
    background-image: url('../images/placeholder/fridge.jpg');
}

.card-washer {
    background-image: url('../images/placeholder/washing-machine.jpg');
}

.card-microwave {
    background-image: url('../images/placeholder/microwave.jpg');
}

.card-tv {
    background-image: url('../images/placeholder/tv.jpg');
}

@media (max-width: 900px) {
    .card,
    .home-maintenance-card {
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .card span {
        border-radius: 10px;
    }

    /* Mobile-specific grid adjustments */
    .grid {
        display: block;
        border: none;
        background: none;
        gap: 0;
    }

    .grid .card {
        width: 100%;
        margin: 0 0 12px;
        border: none;
        box-shadow: none;
        box-shadow: none;
        min-height: 200px;
        height: 200px;
    }

    .home-maintenance-card {
        border: none;
        background: transparent;
        box-shadow: none;
        margin: 0 0 12px;
    }
}

.card-home-maintenance {
    background-image: url('../images/placeholder/stove.jpg');
    /* Consider replacing with a home maintenance image when available */
}

.card-board {
    background-image: url('../images/placeholder/electronic-board.jpg');
}

/* About Section */
.about {
    padding: 80px 3rem;
    background: #ffffff;
    margin: 0;
    border-radius: 0;
    color: #111;
}

.about h2,
.why-choose-us h2 {
    font-size: 2.5rem;
    color: #111;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.about p {
    color: #333;
}

.about p,
.why-choose-us p {
    color: #ffffff;
}

.about p {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 3rem;
    background: #111;
    margin: 0;
    border-radius: 0;
    color: white;
}

.why-choose-us h2 {
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 30px auto 0;
}

.feature-card {
    background: linear-gradient(135deg, #1b1b1b 0%, #252525 100%);
    padding: 40px;
    border-radius: 12px;
    border-left: 5px solid #d32f2f;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.feature-card h3 {
    color: #ffeb3b;
    margin-top: 0;
    font-size: 1.3rem;
}

.feature-card p {
    color: #f0f0f0;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 3rem;
    background: #f8f9fa;
    margin: 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    font-weight: 700;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #007bff;
}

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

.testimonial-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #007bff;
    margin: 0;
}

/* Team Section */
.team {
    padding: 80px 3rem;
    background: #2d2d2d;
    margin: 0;
    border-radius: 0;
}

.team h2 {
    font-size: 2rem;
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.team p {
    color: #ccc;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.team-list {
    max-width: 900px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.team-member:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.team-member h3 {
    color: #007bff;
    margin-top: 0;
    font-size: 1.2rem;
}

.team-member p {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 80px 3rem;
    background: #e8e8e8;
    margin: 0;
    border-radius: 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact p {
    font-size: 1.1rem;
    color: #555;
    margin: 15px 0;
}

.contact strong {
    color: #007bff;
}

/* Service Details Section */
.service-details {
    padding: 80px 3rem;
    background: #f8f9fa;
    margin: 0;
    border-radius: 0;
}

.service-details h2 {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 30px auto 0;
}

.detail-item {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}





/* Contact Content */
.contact-content {
    padding: 60px 3rem;
    background: white;
    margin: 0;
    border-radius: 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-form h2 {
    color: #333;
    font-size: 2rem;
    margin-top: 0;
    font-weight: 700;
}

.contact-methods {
    display: grid;
    gap: 25px;
    margin-top: 30px;
}

.contact-method {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #007bff;
    transition: all 0.3s;
}

.contact-method:hover {
    background: #e8f0ff;
}

.contact-method h3 {
    color: #333;
    margin-top: 0;
    font-size: 1.2rem;
}

.contact-method p {
    color: #555;
    margin: 10px 0;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

.company-map-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 3rem;
    background: white;
}

.company-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.company-map h2 {
    font-size: 2rem;
    color: #333;
    margin-top: 20px;
    margin-bottom: 25px;
    margin-left: 20px;
    font-weight: 700;
}

.company-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px 12px 0 0;
}

.map-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 0 0 12px 12px;
    border-left: 4px solid #007bff;
}

.map-info h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.map-info p {
    color: #555;
    margin: 10px 0;
    font-weight: 500;
    line-height: 1.6;
}

.map-info p:first-of-type {
    font-weight: 700;
    color: #007bff;
    font-size: 1.1rem;
}


@media (max-width: 768px) {
    /* typography */
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    /* Navigation */
    .navbar {
        padding: 0.8rem 1rem;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    
    .nav-left {
        gap: 0;
        width: auto;
        align-items: center;
        min-width: 0;
    }
    
    .logo {
        flex-shrink: 0;
        font-size: 1.1rem;
    }
    
    .logo img {
        max-height: 80px;
        max-width: 160px;
    }
    
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        display: none !important;
    }

    .nav-right {
        width: auto;
        display: none;
    }
    
    /* Hero Section */
    .hero {
        padding: 40px 1.5rem;
    }
    
    .hero.hero-full {
        height: 100vh;
        padding: 0;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin: 20px 0 15px 0;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin: 15px 0;
    }
    
    /* Mobile Hero Image - Different positioning */
    .hero-image {
        object-position: center top;
        opacity: 0.85;
    }

    /* Show mobile hero for index.html only */
    .hero-mobile {
        display: block;
    }

    .hero-desktop {
        display: none;
    }
    
    /* Intro Section Mobile */
    .intro {
        padding: 60px 1.5rem !important;
        border-top: 2px solid #004aa6;
        border-bottom: 2px solid #d32f2f;
    }
    
    .intro h2 {
        font-size: 1.8rem;
        margin: 15px 0 20px 0;
    }
    
    .intro-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .intro p {
        font-size: 1rem;
    }
    
    /* Grids */
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Cards */
    .card {
        min-height: 250px;
    }
    
    .card span {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
    }
    
    /* Contact Content */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 1.5rem;
    }

    .contact-form, .contact-info {
        width: 100%;
    }

    .company-map-section {
        padding: 40px 1.5rem;
    }

    .company-map {
        width: 100%;
    }

    .company-map iframe {
        height: 300px;
    }

    /* New sections responsive */
    .certifications {
        padding: 60px 1.5rem;
    }

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery {
        padding: 60px 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        padding: 60px 1.5rem;
    }
    
    /* Service Details Section */
    .service-details {
        padding: 60px 1.5rem;
    }
    
    .detail-item {
        padding: 25px 20px;
    }
    
    /* Process List */
    .process-list {
        max-width: 100%;
    }
    
    .process-list li {
        gap: 15px;
        margin-bottom: 20px;
        flex-direction: row;
    }
    
    .list-content h3 {
        font-size: 1rem;
        margin-top: 0;
    }
    
    .list-content p {
        font-size: 0.9rem;
    }
    
    /* Service Process */
    .service-process {
        padding: 60px 1.5rem;
    }
    
    /* Section Padding */
    .services {
        padding: 60px 1.5rem;
    }
    
    .intro {
        padding: 50px 1.5rem !important;
    }
    
    .intro h2 {
        font-size: 1.4rem;
    }
    
    .intro-icon {
        font-size: 2rem;
    }
    
    .intro p {
        font-size: 0.95rem;
    }
    
    .about {
        padding: 60px 1.5rem;
    }
    
    .contact {
        padding: 60px 1.5rem;
    }
    
    .faq {
        padding: 60px 1.5rem;
    }
    
    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    /* FAQ Items */
    .faq-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    /* Footer */
    footer {
        padding: 30px 1.5rem;
    }
    
    /* Inline styled sections on service pages */
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    [style*="max-width: 1400px"] {
        max-width: 100% !important;
        padding: 40px 1.5rem !important;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 1.3rem;
    }
    
    h2 {
        font-size: 1.1rem;
    }
    
    h3 {
        font-size: 0.95rem;
    }
    
    .hero-content h1 {
        font-size: 1.2rem;
        margin: 10px 0;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }

    /* Extra small mobile hero image */
    .hero-image {
        object-position: center 20%;
        opacity: 0.9;
    }
    
    .navbar {
        padding: 0.6rem 0.8rem;
    }
    
    .logo {
        font-size: 0.95rem;
    }
    
    .logo img {
        max-height: 70px;
        max-width: 140px;
    }

    .breadcrumb {
        top: 58px;
        position: absolute;
        padding: 10px 1rem;
    }
    
    .nav-links {
        gap: 0.8rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .btn-large {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .contact-content {
        padding: 30px 1rem;
    }
    
    .services {
        padding: 40px 1rem;
    }
    
    .detail-item {
        padding: 20px 15px;
    }
    
    .card span {
        font-size: 0.85rem;
    }
    
    .process-list {
        max-width: 100%;
    }
    
    .check-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Responsive new sections */
    .certifications {
        padding: 40px 1.5rem;
    }

    .certifications h2 {
        font-size: 1.5rem;
    }

    .badges-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    .badge-card {
        padding: 25px 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .badge-card h3 {
        font-size: 2rem;
    }

    .gallery {
        padding: 40px 1.5rem;
    }

    .gallery h2 {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 40px 1.5rem;
    }

    .indicator-item h3 {
        font-size: 2rem;
    }

    .indicator-item p {
        font-size: 0.95rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .social-links {
        gap: 15px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    footer {
        padding: 20px 1rem;
    }
}


/* FAQ Styles */
.faq {
    padding: 80px 3rem;
    background: #f8f9fa;
    margin: 0;
    border-radius: 0;
}

.faq h2 {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 30px auto 0;
}

.faq-item {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
    color: #007bff;
    margin-top: 0;
    font-size: 1.2rem;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px;
    font-weight: 500;
}

/* Animation for ripple effect on buttons */
@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Animation for form messages */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

input:valid, 
textarea:valid, 
select:valid {
    border-color: #28a745;
}

input:invalid, 
textarea:invalid, 
select:invalid {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.form-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

/* Service Process Steps */
.service-process {
    padding: 80px 3rem;
    max-width: 100%;
    margin: 0;
    background: #2d2d2d;
}

.service-process h2 {
    text-align: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 900px;
    margin: 0 auto;
}

.process-list li {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.list-content h3 {
    color: white;
    font-size: 1.1rem;
    margin: 0 0 5px 0;
}

.list-content p {
    color: #ccc;
    font-size: 0.95rem;
    margin: 0;
}

/* Certifications & Trust Badges */
.certifications {
    padding: 80px 3rem;
    background: white;
    max-width: 1400px;
    margin: 0 auto;
}

.certifications h2 {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.badge-card {
    background: #f8f9fa;
    padding: 40px 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.badge-card:hover {
    border-color: #007bff;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
    transform: translateY(-5px);
}

.badge-card h3 {
    font-size: 3rem;
    margin: 0 0 15px 0;
}

.badge-card p {
    margin: 5px 0;
    color: #333;
}

.badge-card p:first-of-type {
    font-weight: 600;
    font-size: 1.1rem;
    color: #007bff;
}

.badge-card p:last-of-type {
    font-size: 0.9rem;
    color: #666;
}

/* Gallery Section */
.gallery {
    padding: 80px 3rem;
    background: white;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery h2 {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.gallery > p {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.gallery-item {
    text-align: center;
}

.gallery-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.before, .after {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    aspect-ratio: 1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.before {
    border: 2px dashed #999;
}

.after {
    border: 2px dashed #007bff;
}

.label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
}

.gallery-item h3 {
    color: #333;
    margin: 15px 0 5px 0;
    font-size: 1.2rem;
}

.gallery-item p {
    color: #666;
    margin: 0;
}

/* Trust Indicators */
.trust-indicators {
    padding: 60px 3rem;
    background: linear-gradient(135deg, #f00 0%, #0056b3 100%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.indicator-item {
    text-align: center;
    color: white;
}

.indicator-item h3 {
    font-size: 2.2rem;
    color: white;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.indicator-item p {
    font-size: 0.95rem;
    color: #e0e8ff;
    margin: 0;
}

/* Footer with Social Links */
footer {
    background: #2d2d2d;
    color: white;
    text-align: center;
    padding: 30px 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.4rem;
}

.social-links a img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.social-links a:not(:has(img)) {
    background: #007bff;
    color: white;
}

.social-links a:has(img) {
    background: white;
}

.social-links a:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* FAQ Section */
.faq {
    padding: 60px 3rem;
    background: #f8f9fa;
    max-width: 1400px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2d2d2d;
    font-size: 2.5rem;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
}

.faq-item h3 {
    color: #007bff;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 12px 2rem;
    background: transparent !important;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: none !important;
    color: #ffffff;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px; /* under header */
    z-index: 50;
}

.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: " / ";
    margin-left: 10px;
    color: rgba(255,255,255,0.7);
}

.breadcrumb a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: rgba(255,255,255,1);
    text-decoration: underline;
}

.breadcrumb span {
    color: rgba(255,255,255,0.85);
}

/* Hide breadcrumbs site-wide (quick way to remove Home / About strips) */
.breadcrumb {
    display: none !important;
}

/* Mobile Breadcrumb */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 12px 1.5rem;
        font-size: 0.9rem;
        top: 64px;
        position: absolute;
    }

    .breadcrumb ol {
        gap: 5px;
    }

    .breadcrumb li:not(:last-child)::after {
        margin-left: 5px;
    }
}

/* Mobile FAQ */
@media (max-width: 768px) {
    .faq {
        padding: 40px 1.5rem;
    }
    
    .faq h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Removed: step-number and step-check styles */

/* Force trust indicators into a 2x2 stack on narrow phones (e.g. 428px wide) */
@media (max-width: 428px) {
    .trust-indicators {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
        padding: 24px 1rem !important;
        justify-items: center;
        width: 100%;
        box-sizing: border-box;
    }

    .indicator-item {
        width: 100%;
    }

    .indicator-item h3 {
        font-size: 1.6rem;
    }

    /* Mobile contact form adjustments */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 1.5rem;
    }

    .contact-form form {
        gap: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }

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

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .company-map-section {
        padding: 40px 1.5rem;
    }
}

/* Desktop zoom mode support */
body.zoom-out .services {
    transform: scale(1.01); /* fine tune spacing when zoomed out */
}

body.zoom-out .grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

body.zoom-out .card {
    height: 26vw;
}

body.zoom-in .card {
    height: 36vw;
}

body.zoom-out .hero-content h1,
body.zoom-out .hero-content p {
    transform: scale(1.02);
}

