:root {
    --primary: #1a3a6c;
    --secondary: #ff6b00;
    --accent: #2ecc71;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gradient-primary: linear-gradient(135deg, #1a3a6c 0%, #0d2a50 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b00 0%, #ff8d29 100%);
    --gradient-accent: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    --glass: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --header-height: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: #f8fbff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1100px; /* Match hero-content for perfect alignment */
    margin: 0 auto;
    padding: 0 24px; /* Match hero-content padding */
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gradient-secondary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff8d29 0%, #ff6b00 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 107, 0, 0.4);
}

.btn:hover:before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--secondary);
}

/* Header Styles */
header {
    transition: top 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    /* pointer-events: none; */
    box-shadow: none;
}
header.show-header {
    opacity: 1;
    /* pointer-events: auto; */
    top: 0;
    box-shadow: 0 4px 18px rgba(32,83,117,0.07);
    background: rgba(255,255,255,0.92); /* Option 1: Light background for contrast */
    border-bottom: 1px solid rgba(32,83,117,0.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s, opacity 0.25s;
}
header.show-header .nav-menu a {
    color: var(--primary); /* Darker text for visibility on light bg */
}
header.show-header .nav-menu a:hover,
header.show-header .nav-menu a.active {
    color: var(--secondary);
}
header.show-header.option-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 18px rgba(32,83,117,0.10);
    opacity: 1;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}
header.show-header.option-accent .nav-menu a {
    color: #fff;
}
header.show-header.option-accent .nav-menu a:hover,
header.show-header.option-accent .nav-menu a.active {
    color: #FFD460;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    flex-wrap: nowrap;
    gap: 0;
}

.logo-center {
    flex: 0 0 auto;
    margin-right: 32px;
    margin-left: 0; /* Remove any left margin for perfect alignment */
}

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

.logo-icon {
    background: var(--gradient-primary);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: var(--shadow);
}

.logo-icon i {
    color: white;
    font-size: 24px;
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
}

.logo-text span {
    color: var(--secondary);
}

.nav-menu {
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 36px;
    margin: 0;
    background: none;
    box-shadow: none;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.08rem;
    padding: 6px 0;
    position: relative;
    background: none;
    border: none;
    transition: color 0.2s;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
    border-radius: 2px;
}

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

.nav-menu a:hover, .nav-menu a.active {
    color: var(--secondary);
}

.phone-btn {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(26, 58, 108, 0.08);
    border-radius: 50px;
    transition: var(--transition);
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.phone-btn:hover {
    background: rgba(26, 58, 108, 0.15);
    transform: translateY(-3px);
}

.phone-btn i {
    margin-right: 8px;
    color: var(--secondary);
    font-size: 18px;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(32,83,117,0.82) 0%, rgba(17,43,60,0.92) 100%), url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: calc(var(--header-height) + 60px) 0 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Remove the .hero:before overlay */
.hero:before {
    display: none !important;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero-main {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 48px;
}

.hero-left {
    flex: 1 1 380px;
    min-width: 320px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-left h1 {
    font-size: 3.2rem;
    margin-bottom: 18px;
    font-weight: 800;
    color: #FFD460;
    letter-spacing: -1px;
}

.hero-left p {
    font-size: 1.25rem;
    color: #F4F9F9;
    margin-bottom: 0;
}

.hero-buttons {
    margin-top: 10px;
    gap: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.your-ideas-matter {
    margin-top: 24px;
    font-size: 1.1rem;
    color: #FFD460;
    background: rgba(255,255,255,0.13);
    border-radius: 16px;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(26,58,108,0.07);
}

.hero-right {
    flex: 1 1 340px;
    min-width: 260px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.meet-handyman {
    background: #F4F9F9;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(32,83,117,0.10);
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 340px;
    text-align: center;
}

.handyman-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    border: 3px solid #F66B0E;
    background: #fff;
}

.handyman-message h3 {
    margin-bottom: 8px;
    color: #205375;
    font-size: 1.25rem;
    font-weight: 700;
}

.handyman-message p {
    font-size: 1.08rem;
    color: #112B3C;
    margin-bottom: 0;
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 48px 0 0 0;
    flex-wrap: wrap;
    padding: 18px 0 0 0;
}

.hero-trust-badges .badge {
    background: #fff;
    color: #205375;
    border-radius: 20px;
    padding: 6px 18px 6px 12px;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(32,83,117,0.07);
    gap: 8px;
}

.hero-trust-badges .badge i {
    color: #F66B0E;
    margin-right: 6px;
}

@media (max-width: 900px) {
    .hero-main {
        flex-direction: column;
        gap: 36px;
        margin-bottom: 32px;
    }
    .hero-right, .hero-left {
        min-width: 0;
        width: 100%;
    }
    .meet-handyman {
        max-width: 100%;
    }
    .hero-trust-badges {
        margin-top: 24px;
        gap: 10px;
        padding-top: 10px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: calc(var(--header-height) + 20px) 0 24px 0;
    }
    .hero-content {
        padding: 0 8px;
    }
    .hero-main {
        gap: 16px;
        margin-bottom: 18px;
    }
    .hero-left h1 {
        font-size: 2.1rem;
    }
    .hero-left p {
        font-size: 1.05rem;
    }
    .meet-handyman {
        padding: 18px 8px;
    }
    .hero-trust-badges {
        gap: 6px;
        font-size: 0.92rem;
        margin-top: 12px;
        padding-top: 6px;
    }
}

/* Services Section */
.services {
    padding: var(--header-height) 0;
    padding-top: 40px;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-secondary);
    border-radius: 10px;
}

.section-title p {
    max-width: 700px;
    padding-top: 40px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

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

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.service-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-img:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(26,58,108,0.8) 0%, rgba(26,58,108,0) 70%);
    z-index: 1;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
    position: relative;
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: var(--primary);
}

.service-content p {
    color: #666;
    margin-bottom: 25px;
}

.service-icon {
    position: absolute;
    top: -30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 2;
}

.service-icon i {
    color: white;
    font-size: 24px;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #fff 0%, #b3d8ff 100%);
    padding-top: 40px;
    padding: var(--header-height) 0;
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    padding-top: 40px;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 2.6rem;
    margin-bottom: 25px;
    padding-top: 40px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.about-features {
    margin-top: 35px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 22px;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.about-img img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.05);
}

/* Stats Section */
.stats {
    padding-top: 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    padding-top: 80px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.stat-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials {
    padding: var(--header-height) 0;
    background: linear-gradient(135deg, #f9f9ff 0%, #edf2ff 100%);
}

.testimonials .section-title h2 {
    color: var(--primary);
}

.testimonials-carousel {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
}
.testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.testimonials-grid::-webkit-scrollbar {
    display: none;
}
.testimonial-card {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    scroll-snap-align: center;
    transition: box-shadow 0.3s;
    margin: 0;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}
.carousel-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #eee;
    border: 2px solid #FFD460;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
    display: inline-block;
}
.carousel-dots .dot.active {
    background: #FFD460;
    border-color: #F66B0E;
}
@media (max-width: 600px) {
    .testimonials-carousel {
        max-width: 98vw;
    }
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    color: #555;
    font-size: 1.05rem;
}

.testimonial-text:before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -30px;
    left: -15px;
    opacity: 0.1;
    font-family: Georgia, serif;
    color: var(--secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid var(--secondary);
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--secondary);
    font-weight: 500;
}

.rating {
    color: #ffc107;
    margin-top: 5px;
}

/* CTA Section */
.cta {
    padding: var(--header-height) 0;
    background: var(--gradient-secondary);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 25px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Contact Section */
.contact {
    padding: var(--header-height) 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    padding: 30px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--primary);
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 20px;
}

.contact-text h4 {
    margin-bottom: 8px;
    color: var(--primary);
}

.contact-form {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 108, 0.1);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.4rem;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    font-size: 18px;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .nav-menu {
        margin: 0;
    }
    .trust-badges {
        margin-left: 0;
        justify-content: flex-end;
        width: 100%;
        margin-bottom: 4px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 180px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        margin-top: 30px;
    }
    
    :root {
        --header-height: 70px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
    .logo-center {
        margin-bottom: 0;
        margin-left: 40px;
    }
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.4s;
        box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
    }
    .nav-menu.active {
        left: 0;
        display: flex;
    }
    .mobile-toggle {
        display: block;
        margin-left: auto;
        margin-right: 40px;
    }
    .phone-btn {
        display: none;
    }
    .main-logo {
        max-width: 90px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 60px;
    }
    .hero-content {
        margin-top: 10px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2.2rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .service-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    :root {
        --header-height: 60px;
    }
}

/* Centered logo styles */
.logo-center {
    flex: 0 0 auto;
    margin-right: 32px;
}

.main-logo {
    max-width: 120px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}

@media (max-width: 768px) {
    .main-logo {
        max-width: 90px;
    }
    .logo-center {
        margin-bottom: 4px;
    }
}

@media (max-width: 576px) {
    .main-logo {
        max-width: 70px;
    }
}

/* Hide sections for SPA navigation */
.hidden {
    display: none !important;
}

/* Highlight active nav link */
.nav-menu a.active {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: underline;
}

.hero,
.services,
.about,
.testimonials,
.contact {
    padding-top: calc(var(--header-height) + 40px) !important;
}

@media (max-width: 992px) {
    .testimonials,
    .contact {
        padding-top: calc(var(--header-height) + 30px) !important;
    }
}
@media (max-width: 576px) {
    .testimonials,
    .contact {
        padding-top: calc(var(--header-height) + 20px) !important;
    }
}

/* Trust Badges in Header and Hero */
.trust-badges {
    flex: 0 0 auto;
    margin-left: auto;
    gap: 10px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.trust-badges .badge {
    background: var(--light);
    color: var(--primary);
    border-radius: 20px;
    padding: 4px 14px 4px 10px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(26,58,108,0.07);
    gap: 6px;
}
.trust-badges .badge i {
    color: var(--secondary);
    margin-right: 4px;
}

/* Hero Section Redesign */
.hero-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}
.hero-left {
    flex: 1 1 340px;
    min-width: 300px;
}
.hero-right {
    flex: 1 1 320px;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meet-handyman {
    background: var(--light);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(26,58,108,0.10);
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
    text-align: center;
}
.handyman-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
    border: 3px solid var(--secondary);
    background: #fff;
}
.handyman-message h3 {
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
}
.handyman-message p {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0;
}

.hero-buttons .btn-lg {
    font-size: 1.15rem;
    padding: 16px 38px;
    margin-right: 10px;
}

.your-ideas-matter {
    margin-top: 22px;
    font-size: 1.05rem;
    color: var(--primary);
    background: rgba(255,255,255,0.7);
    border-radius: 16px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(26,58,108,0.07);
}
.your-ideas-matter i {
    color: var(--secondary);
    font-size: 1.2em;
}
.your-ideas-matter a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .hero-main {
        flex-direction: column;
        gap: 24px;
    }
    .hero-right, .hero-left {
        min-width: 0;
        width: 100%;
    }
    .meet-handyman {
        max-width: 100%;
    }
    .hero-trust-badges {
        margin-top: 18px;
        gap: 8px;
    }
}
@media (max-width: 600px) {
    .trust-badges, .hero-trust-badges {
        gap: 5px;
        font-size: 0.85rem;
    }
    .header-container {
        gap: 4px;
    }
    .hero-main {
        gap: 10px;
    }
    .hero-content {
        padding-top: 10px;
    }
    .instant-quote-btn {
        margin-left: 0;
        margin-top: 8px;
    }
}

.instant-quote-btn {
    margin-left: 32px;
    background: var(--gradient-accent);
    color: #fff !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 16px rgba(46,204,113,0.13);
    font-size: 1.05rem;
    padding: 12px 28px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.instant-quote-btn i {
    color: #fff;
    margin-right: 6px;
}

/* Hero trust badges centered below hero-main */
.hero-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 32px 0 0 0;
    flex-wrap: wrap;
}

.contact .section-title,
.testimonials .section-title {
    margin-top: 20px;
}

.flier-popup {
    position: fixed;
    bottom: 32px;
    right: 32px;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: auto;
    opacity: 0;
    transition: opacity 0.3s;
    background: none;
}
.flier-popup.active {
    opacity: 1;
}
.flier-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 24, 32, 0.60); /* Darker tint for less brightness */
    z-index: 1;
}
.flier-content {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(32,83,117,0.18);
    padding: 18px 18px 12px 18px;
    max-width: 350px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: flier-fadein 0.4s;
}
.flier-img {
    max-width: 320px;
    max-height: 60vh;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(32,83,117,0.10);
}
.flier-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #333;
    cursor: pointer;
    z-index: 3;
    transition: color 0.2s;
    line-height: 1;
}
.flier-close:hover {
    color: #F66B0E;
}
@keyframes flier-fadein {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@media (max-width: 600px) {
    .flier-popup {
        bottom: 10px;
        right: 50%;
        left: 50%;
        transform: translateX(-50%);
        align-items: flex-end;
        justify-content: center;
    }
    .flier-content {
        padding: 8px 4px 4px 4px;
        border-radius: 8px;
        max-width: 98vw;
        max-height: 50vh;
    }
    .flier-img {
        max-width: 96vw;
        max-height: 40vh;
    }
}
.flier-popup.expanded {
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    align-items: center !important;
    justify-content: center !important;
    background: none;
}
.flier-popup.expanded .flier-overlay {
    background: rgba(20, 24, 32, 0.90); /* Even darker for expanded mode */
}
.flier-popup .flier-content,
.flier-popup .flier-img {
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.flier-popup.expanded .flier-content {
    max-width: 95vw;
    max-height: 90vh;
    padding: 24px 24px 16px 24px;
}
.flier-popup.expanded .flier-img {
    max-width: 90vw;
    max-height: 80vh;
}
@media (max-width: 600px) {
    .flier-popup.expanded .flier-content {
        max-width: 99vw;
        max-height: 80vh;
        padding: 8px 4px 4px 4px;
    }
    .flier-popup.expanded .flier-img {
        max-width: 98vw;
        max-height: 70vh;
    }
}

.footer-logo-col {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    grid-row: 1 / span 2;
    padding-right: 32px;
    min-width: 120px;
}
.footer-logo {
    max-width: 210px;
    height: auto;
    display: block;
    margin-bottom: 18px;
}
@media (max-width: 900px) {
    .footer-logo-col {
        justify-content: center;
        padding-right: 0;
        margin-bottom: 18px;
    }
    .footer-logo {
        max-width: 210px;
        margin-bottom: 10px;
    }
}
