:root {
    --primary: #002d72;
    --primary-light: #3a7cb8;
    --secondary: #ffd100;
    --accent: #e74c3c;
    --success: #28a745;
    --light: #f9f9f9;
    --dark: #222;
    --gray: #666;
    --light-blue: #e6f0ff;
    --light-green: #e6f7f0;
}

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

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

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-size: 1rem;
}

.btn:hover {
    background: #001a49;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-accent {
    background: var(--accent);
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-accent:hover {
    background: #c0392b;
}

.btn-success {
    background: var(--success);
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-success:hover {
    background: #218838;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto;
}

/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

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

.logo i {
    margin-right: 10px;
    color: var(--secondary);
}

/* Simplified Navigation */
nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

nav ul li a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

/* Navigation Links - Underline ONLY on hover */
/* Base Underline Style */
/* Underline Animation */
nav ul li a:not(.estimate-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: 
        width 0.3s ease,
        opacity 0.7s ease 0.3s; /* Fade out after width completes */
    opacity: 0;
}

/* Hover State */
nav ul li a:not(.estimate-btn):hover::after {
    width: 100%;
    opacity: 1;
    transition: width 0.3s ease; /* Faster appear on hover */
}

/* Clicked State */
nav ul li a:not(.estimate-btn).clicked::after {
    width: 100%;
    opacity: 1;
    transition: 
        width 0.2s ease,
        opacity 0s; /* No delay on click */
}
/* Get Estimate Button */
.estimate-btn {
    background: var(--primary);
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 4px 15px rgba(0, 45, 114, 0.2);
}

.estimate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 45, 114, 0.3);
    background: #001a49;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Quote Section */
.quote-section {
    min-height: 88vh;
    background: url('https://i.imgur.com/OW2tkjz.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
}

.booking-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-content {
    flex: 1;
    min-width: 300px;
    max-width: 426px;
    padding: 30px;
    background: white;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--dark);
}

.intro-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--primary);
}

.intro-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 600;
}

.intro-text {
    font-size: 1rem;
    margin-bottom: 25px;
    max-width: 600px;
    line-height: 1.6;
    color: var(--dark);
}

.trust-section {
    background: rgba(0,45,114,0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 25px;
    border: 1px solid rgba(0,45,114,0.2);
}

.trust-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.trust-title i {
    color: var(--accent);
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.trust-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--dark);
}

.trust-feature i {
    color: var(--accent);
}

.trust-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.trust-tag {
    background: rgba(0,45,114,0.1);
    color: var(--primary);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0,45,114,0.2);
}

.form-container {
    flex: 1.5;
    min-width: 300px;
    background: white;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-title {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--gray);
    font-size: 1rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 92, 139, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23002d72' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.progress-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
}

.progress-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #eee;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: var(--primary);
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.4s ease;
}

.progress-step {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    border: 3px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray);
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
    font-size: 0.9rem;
}

.progress-step.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.progress-step.completed {
    background: var(--success);
    border-color: var(--success);
}

.step-navigation {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.step-navigation .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.time-estimate {
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 15px;
    font-weight: 500;
}

.time-estimate i {
    margin-right: 5px;
    color: var(--secondary);
}

.error-message {
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 30px 0;
}

.success-message .form-title {
    color: var(--success);
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

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

.success-details {
    background: rgba(40, 167, 69, 0.08);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(40, 167, 69, 0.2);
    text-align: left;
}

.success-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.success-details strong {
    color: var(--primary);
    font-weight: 600;
}

.success-highlight {
    background: rgba(255, 209, 0, 0.15);
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 600;
    color: var(--primary);
}

/* How It Works Section */
.how-it-works {
    background: var(--light);
    padding: 40px 0 80px;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.step p {
    color: var(--gray);
}

/* Services Section */
.services {
    background: white;
}

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

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

/* Map Section */
.map-section {
    background: var(--light);
    padding: 60px 0;
}

.map-container {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.service-zones {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.zone-tag {
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    background: white;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid var(--light);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.testimonial-rating {
    color: var(--secondary);
    margin-top: 15px;
    font-size: 1.2rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: var(--primary);
}

/* About Us Section */
.about-us {
    background: var(--light);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.why-us {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 300px;
}

.why-us h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.benefits-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* FAQ Section */
.faq {
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--light);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light-blue);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-question {
    background: var(--light-blue);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

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

.contact-info li {
    margin-bottom: 15px;
    list-style: none;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
}

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

.social-links a {
    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;
    transition: all 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bbb;
    font-size: 0.9rem;
}



/* Responsive Styles */
@media (max-width: 1200px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .intro-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .intro-title {
        font-size: 1.8rem;
    }
    
    .form-title {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .map-container {
        height: 400px;
    }
    
    /* Header adjustments for mobile */
    .header-container {
        padding: 15px 0;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        font-size: 1.2rem;
        padding: 12px 0;
    }
    
    .estimate-btn {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Quote Section Mobile Adjustments */
    .quote-section {
        min-height: auto;
        padding: 120px 0 60px;
        background-position: 65% center;
    }
    
    .intro-content, .form-container {
        border-radius: 10px !important;
        margin-bottom: 20px;
        max-width: 100%;
        width: 100%;
    }
    
    .intro-content {
        padding: 25px;
        border-radius: 10px;
    }
    
    .intro-title {
        font-size: 1.8rem;
    }
    
    .intro-subtitle {
        font-size: 1.1rem;
    }
    
    .trust-section {
        padding: 15px;
    }
    
    .trust-title {
        font-size: 1.1rem;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .success-details {
        padding: 15px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .testimonial {
        padding: 30px 20px;
    }
}

@media (max-width: 699px) {
    .quote-section {
        background: linear-gradient(rgba(200, 200, 200, 0.8), rgba(200, 200, 200, 0.8)), 
                    url('https://i.imgur.com/OW2tkjz.jpeg') no-repeat 65% center/cover;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .quote-section {
        padding: 110px 0 40px;
    }
    
    .intro-title {
        font-size: 1.6rem;
    }
    
    .form-title {
        font-size: 1.4rem;
    }
    
    .progress-container {
        margin-bottom: 15px;
    }
    
    .progress-step {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .form-control {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-navigation .btn {
        width: 100%;
    }
    
    .map-container {
        height: 300px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-col h3 {
        font-size: 1.2rem;
    }
    
    /* Mobile-specific adjustments */
    .booking-container {
        padding: 0 10px;
    }
    
    .trust-tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .time-estimate {
        font-size: 0.8rem;
    }
    
    .service-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .intro-title {
        font-size: 1.4rem;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
    
    .progress-step {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-accent {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

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


/* Tablet (768px) adjustments */
@media (max-width: 699px) {



/* Philadelphia Skyline Decoration */
.philly-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, rgba(0,45,114,0.8) 0%, transparent 100%);
    z-index: 10;
}


    
    .quote-section {
        background: linear-gradient(rgba(200, 200, 200, 0.8), rgba(200, 200, 200, 0.8)), 
                    url('https://i.imgur.com/OW2tkjz.jpeg') no-repeat 65% center/cover;
    }
    
    .philly-skyline {
        height: 30px;
        background: linear-gradient(to top, rgba(0,45,114,0.6) 0%, transparent 100%);
    }
}


#about {
    scroll-margin-top:13vh; 
}

#quote {
    scroll-margin-top:-7vh; 

}
#services {
    scroll-margin-top: 3vh; 
}  

#map {
    scroll-margin-top:6vh; 
}

#faq {
    scroll-margin-top:7vh; 
}

/*  ha */

@media (min-width: 700px) and (max-width: 992px) {
    .intro-content,
    .form-container {
        border-radius: 0 !important; /* Force sharp corners */
    }   
}




@media (max-width: 890px) {
  /* Flip order (form FIRST) and increase size */
  .booking-container {
    flex-direction: column-reverse;
    gap: 30px; /* More spacing between sections */
  }

  /* FORM CONTAINER - Make it bigger and bolder */
  .form-container {
    width: 100%;
    padding: 30px 25px;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 45, 114, 0.2);
    background: white;
    border: 2px solid var(--primary); /* Accent border */
    transform: scale(1.02); /* Slight "pop" effect */
    margin-bottom: 0; /* Remove gap (handled by parent) */
  }

  /* INTRO CONTENT - Slightly reduce visual weight */
  .intro-content {
    width: 100%;
    padding: 25px;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.95); /* Semi-transparent */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  /* Progress bar - Make thicker for mobile */
  .progress-bar {
    height: 6px !important;
  }

  /* Buttons - Larger tap targets */
  .btn, .btn-accent {
    padding: 16px 28px !important;
    font-size: 1.1rem !important;
  }



        .quote-section {
    padding-bottom: 30px !important; /* Original: 60px */
  }

  /* Optional: If you want to tighten just the space BELOW the form */
  .form-container {
    margin-bottom: 0 !important; /* Remove any bottom margin */
  }

      /* Hide ALL trust elements on mobile */
  .trust-section, 
  .trust-tags {
    display: none !important; /* Force hide without HTML changes */
  }

  /* Adjust spacing to compensate */
  .intro-content {
    padding-bottom: 10px; /* Tighten up after removal */
  }

  /* Make the form appear larger visually */
  .form-container {
    margin-top: 0; /* Remove default gap */
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0, 45, 114, 0.3); /* Stronger shadow */
  }

}



.mobile-only {
    display: none;
}



@media (max-width: 992px) {
    .mobile-only {
        display: list-item;
    }
    
    .mobile-only a {
        padding: 18px 25px !important;
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex;
        background: transparent !important;
        border: none !important;
        padding: 12px;
        margin: 0;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn i {
        font-size: 1.8rem;
        color: var(--primary);
        transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    }

    .mobile-menu-btn.active i {
        transform: rotate(90deg);
    }

    /* Mobile Navigation */
    #mainNav {
        position: fixed;
        top: 82.5px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 76.4px);
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
        z-index: 999;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    #mainNav.active {
        left: 0;
    }

    #mainNav ul {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        margin: 0;
        gap: 0;
    }

    #mainNav ul li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(0, 45, 114, 0.05);
    }

    #mainNav ul li a {
        display: block;
        width: 100%;
        padding: 18px 25px;
        font-size: 1.2rem;
        color: var(--primary);
        transition: all 0.3s ease;
        text-align: left;
        position: relative;
    }

    #mainNav ul li a:not(.estimate-btn):hover {
        background: rgba(0, 45, 114, 0.03);
    }

    #mainNav ul li a:not(.estimate-btn)::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 4px;
        height: 100%;
        background: var(--primary);
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform 0.3s ease;
    }

    #mainNav ul li a:not(.estimate-btn):hover::after {
        transform: scaleY(1);
    }

    /* CTA Button */
    #mainNav ul li a.estimate-btn {
        margin: 25px;
        width: calc(100% - 50px);
        text-align: center;
        padding: 16px;
        border-radius: 8px;
        font-size: 1.2rem;
        box-shadow: 0 4px 15px rgba(0, 45, 114, 0.2);
        border: 2px solid var(--primary);
        background: var(--primary);
        color: white;
    }

    #mainNav ul li a.estimate-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 45, 114, 0.3);
        background: #001a49;
    }

    /* Animations for ALL 5 menu items */
    #mainNav.active ul li {
        opacity: 0;
        animation: fadeInUp 0.4s ease forwards;
    }

    #mainNav.active ul li:nth-child(1) { animation-delay: 0.1s; }  /* About Us */
    #mainNav.active ul li:nth-child(2) { animation-delay: 0.15s; } /* Services */
    #mainNav.active ul li:nth-child(3) { animation-delay: 0.2s; }  /* Locations */
    #mainNav.active ul li:nth-child(4) { animation-delay: 0.25s; } /* FAQ */
    #mainNav.active ul li:nth-child(5) { animation-delay: 0.3s; }  /* Estimate */

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}



@media (max-width: 343px) {
  #mainNav {
top: 82px;
 height: 9999px !important;
  } 
}

 
@media (min-width: 993px) {
  #mainNav ul li a {
    font-size: 1.14rem; /* Slightly larger (vs default 1rem) */
    
  }
}
 









/* Call Bar - Fixed at top */
.call-top-bar {
  background: #002d72;
  color: white;
  padding: 10px 0;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  height: 40px;
  box-sizing: border-box;
  transform: translateY(-100%);
  transition: transform 0.2s ease-out;
  border-bottom: 2px solid #ffd100;
}

.call-top-bar.visible {
  transform: translateY(0);
}

.call-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.call-link i {
  color: #ffd100;
}

/* Header - Pushed down when call bar is visible */
header {
  position: sticky;
  top: 0;
  z-index: 1001;
  transition: top 0.2s ease-out;
}

.call-top-bar.visible + header {
  top: 40px; /* Matches call bar height */
}
 












@media (max-width: 992px) {
  /* Force hide call bar when menu is open */
  #mainNav.active ~ .call-top-bar {
    display: none !important;
  }
  
  /* Adjust header spacing when menu is open */
  #mainNav.active + header {
    top: 0 !important;
  }
}












/* Professional Call Header - Refined */
.pro-call-header {
  margin: 0 auto 20px;
  max-width: 100%;
}

.call-cta-container {
  background: rgba(0,45,114,0.03);
  border-radius: 8px;
  padding: 15px;
  border-left: 3px solid var(--secondary);
}

.call-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
}

.call-icon {
  font-size: 1.1rem;
  color: var(--primary);
  background: rgba(255,209,0,0.15);
  padding: 8px;
  border-radius: 50%;
}

.call-text {
  flex: 1;
}

.call-action {
  color: var(--gray);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.pro-call-number {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
} 

.pro-call-number:hover {
  color: var(--accent);
}

.form-alternative {
   color: var(--gray); /* Darker for contrast */
  font-weight: 600; /* Bold */
  font-size: 0.9rem;
  margin: 8px 0 0 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-alternative i {
  color: var(--secondary);
  font-size: 0.7rem;
}













/* ===== Stealth Call CTA ===== */
#floatingCallCTA {
  /* Hide by default */
  display: none;

  /* Mobile & Tablet Only */
  @media (max-width: 1023px) {
    /* Positioning */
    display: flex;
    position: fixed;
    bottom: -50px; /* Starts further hidden */
    right: 10px;
    z-index: 1000;
    
    /* Visual Design - Near-Invisible */
    background: rgba(255, 255, 255, 0.88); /* More transparent */
    backdrop-filter: blur(2px); /* Soft blending */
    border-radius: 18px;
    border: 0.3px solid rgba(0, 0, 0, 0.03); /* Ultra-thin */
    box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.02);
    padding: 5px 10px;
    gap: 5px;
    
    /* Animation - Almost Undetectable */
    transition: bottom 0.5s cubic-bezier(0.12, 0.85, 0.36, 1);
  }

  /* Phone-Specific Tweaks */
  @media (max-width: 768px) {
    right: 8px;
    padding: 4px 8px;
  }
}

/* Active State */
#floatingCallCTA.active {
  @media (max-width: 1023px) {
    bottom: 10px; /* Closer to edge */
  }
}

/* Content Styling */
@media (max-width: 1023px) {
  #floatingCallCTA .call-icon {
    font-size: 0.9rem;
    color: #888; /* Lighter gray */
  }
  #floatingCallCTA .call-number {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    color: #555;
    font-weight: 400;
    letter-spacing: 0.2px;
  }
  #floatingCallCTA:active {
    background: rgba(255, 255, 255, 0.82); /* Subtler press */
  }
}



















#step5 .success-icon {
    font-size: 3.5rem;
    color: var(--success);
    margin-bottom: 1rem;
    animation: bounceIn 0.6s;
}

#step5 .form-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

#step5 .form-subtitle {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

#step5 .contact-method h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

#step5 .contact-method h4 i {
    color: #00D4FF;
}

#step5 .contact-method p {
    margin-left: 1.75rem;
    line-height: 1.5;
    color: var(--dark);
}

#step5 .clickable-phone {
    color: var(--primary);
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.2s;
}

#step5 .clickable-phone:hover {
    color: var(--secondary);
}

/* Enhanced Note Container */
#step5 .contact-note {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 3px solid #00D4FF;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 0 8px 8px 0;
}

#step5 .contact-note p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--dark);
    margin: 0;
    font-size: 0.9375rem; /* Slightly larger */
    line-height: 1.6;
}

#step5 .contact-note i {
    color: #00D4FF;
    font-size: 1.1em;
}

@keyframes bounceIn {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}



#step5 .success-details {
    background: #f5f5f5; /* light grey */
 
}






@media (max-width: 869px) {
  /* Step 5 - Subtle Padding Reduction */
  #step5 {
    padding-bottom: 15px !important; /* Reduced from original */
  }

  /* Success Icon & Title Spacing */
  #step5 .success-icon {
    margin-bottom: 0.5rem !important; /* Reduced from 1rem */
  }

  /* Contact Sections Spacing */
  #step5 .contact-method {
    margin-bottom: 1rem !important; /* Reduced from 1.5rem */
  }

  #step5 .contact-note {
    margin-top: 1rem !important; /* Reduced from 1.5rem */
    padding: 0.8rem 1rem !important; /* Slightly tighter */
  }

  /* Bottom Padding for Last Element */
  #step5 .contact-note p {
    margin-bottom: 0 !important;
  }



    /* Only targets Step 5 form bottom padding */
#step5.form-step {
  padding-bottom: 0px !important; /* Extreme reduction (was ~30-40px) */
  margin-bottom: -47px !important; /* Pulls content up slightly */
}

/* Optional: Tighten success icon spacing if needed */
#step5 .success-icon {
  margin-bottom: 0.3rem !important; /* Reduced from 1rem */
}
}







@media (max-width: 576px) {
    .step-navigation {
        flex-direction: column-reverse; /* This will reverse the order */
        gap: 10px;
    }
    
    .step-navigation .btn {
        width: 100%;
    }
}








@media (max-width: 699px) {
  .pro-call-header {
    margin-bottom: 15px; /* Slightly reduce spacing below container */
  }
  
  .call-cta-container {
    padding: 12px 10px; /* Slightly tighter padding */
    border-left-width: 2px; /* Thinner accent border */
  }
  
  .call-prompt {
    gap: 8px; /* Reduced from 12px */
    align-items: center; /* Ensure vertical alignment */
  }
  
  .call-icon {
    font-size: 1rem; /* Slightly smaller icon */
    padding: 7px; /* Slightly smaller padding */
  }
  
  .call-action {
    font-size: 0.85rem; /* Smaller text */
    margin-bottom: 2px; /* Tighter spacing */
  }
  
  /* PHONE NUMBER STAYS EXACTLY THE SAME SIZE */
  .pro-call-number {
    /* No changes - remains big and bold */
    font-size: 1.5rem !important; /* Force same size */
  }
  
  .form-alternative {
    font-size: 0.82rem; /* Slightly smaller */
    margin-top: 6px; /* Reduced spacing */
  }
}

/* Only minor tweaks below 400px */
@media (max-width: 576px) {
   .pro-call-number {
    /* No changes - remains big and bold */
    font-size: 1.4rem !important; /* Force same size */
  }
    
    
    .call-cta-container {
    padding: 10px 8px; /* Slightly tighter */
  }
  
  .call-action {
    font-size: 0.8rem; /* Minimal reduction */
  }
  
  .form-alternative {
    font-size: 0.78rem; /* Very slight reduction */
  }
}



@media (max-width: 500px) {
   .pro-call-number {
    /* No changes - remains big and bold */
    font-size: 1.3rem !important; /* Force same size */
  }
}

@media (max-width: 445px) {
   .pro-call-number {
    /* No changes - remains big and bold */
    font-size: 1.25rem !important; /* Force same size */
  }
}
@media (max-width: 393px) {
   .pro-call-number {
    /* No changes - remains big and bold */
    font-size: 1.2rem !important; /* Force same size */
  }
}


@media (max-width: 380px) {
   .pro-call-number {
    /* No changes - remains big and bold */
    font-size: 1.15rem !important; /* Force same size */
  }
}







.mobile-email-fallback {
  display: none;
}

/* Reverse the 2x scaling at 576px */
@media (max-width: 576px) {
  .progress-step {
    width: 35px !important; /* Original desktop size */
    height: 35px !important;
    font-size: 0.9rem !important;
    border-width: 3px !important; /* Original border thickness */
  }
  
  .progress-bar {
    height: 4px !important; /* Original thickness */
  }





      #step5 .contact-note {
    display: none !important;
  }
      #step5 .success-details {
    padding-bottom: 1px !important;
    margin-bottom: 14px !important;

    }



  .mobile-email-fallback {
    display: inline;
  }   
}













  #step2 textarea {
    /* Horizontal Expansion */
    width: calc(100% + 24px) !important;  /* Extra stretch for 50% more words */
    margin-left: -12px !important;        /* Perfect re-centering */

    /* Font Matching - Uses your site's standard input font */
    font-family: inherit !important;      /* Matches other inputs */
    font-size: 0.9rem !important;         /* Slightly smaller than default */
    font-weight: inherit !important;      /* Maintains weight consistency */

    /* Precision Spacing Adjustments */
    word-spacing: -1.4px !important;      /* Tighten word gaps */
    letter-spacing: -0.25px !important;   /* Subtle character crunch */
    
    /* Structure */
    min-height: 140px !important;
    padding: 12px 14px !important;
    line-height: 1.35 !important;
  }













@media (max-width: 576px) {

  #step2 .step-navigation {
    margin-top: 10px !important;  /* Original: 12px (moves up 2px) */
    margin-bottom: -2px !important; /* Compensates layout shift */
  }

  /* Optional: Fine-tune button spacing */
  #step2 .step-navigation .btn {
    transform: translateY(-5px); /* Micro-adjustment */
  }   
/* Precise 5% reduction */
  .step-navigation .btn,
  .step-navigation .btn-outline {
    padding: 11.4px 22.8px !important;  /* Original: 12px 24px */
    font-size: 0.9rem !important;        /* Maintains original font size */
    min-width: auto;                     /* Allows natural width */
  }

  /* Optional: Slight gap adjustment (4% reduction) */
  .step-navigation {
    gap: 11.5px !important;  /* Original: 12px */
  }
}




@media (min-width: 577px) and (max-width: 869px) {
  /* Targeted button reduction */
  .step-navigation .btn,
  .step-navigation .btn-outline {
    padding: 10.5px 21px !important;  /* 12.5% smaller than desktop (12px 24px) */
    font-size: 1.05rem !important;    /* Minimal font adjustment */

      min-width: 90px;                  /* Prevents over-shrinking */
  }

  /* Slight gap reduction */
  .step-navigation {
    gap: 10px !important;             /* Original: 12px */
  }
}



/* Backup CSS in case HTML gets regenerated */
#step5 .clickable-phone {
  color: #000066 !important;       /* Dark navy blue */
  font-weight: 900 !important;     /* Ultra bold */
  text-decoration: underline !important;
  cursor: text !important;
  background: transparent !important;
  display: inline !important;
}












/* Adjust this single value to make testimonials wider */
.testimonials-slider {
    max-width: 1170px; /* used to be 950px */
    margin: 0 auto;
    position: relative;
}



.testimonial {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 
                0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}








/* Option 2 (More Responsive) */
.map-container { height: 500px; }

@media (max-width: 992px) {
  .map-container { height: 500px; } /* Tablet + large mobile */
}


@media (max-width: 767px) {
  .map-container { height: 470px; } /* Tablet + large mobile */
}

@media (max-width: 576px) {
  .map-container { height: 430px; } /* Tiny mobile */




  .map-container {
    width: 104%; /* Exactly 4% wider */
    margin-left: -2%; /* Perfect centering adjustment */
    margin-right: -2%; /* Perfect centering adjustment */
  }
}







@media (max-width: 664px) {
  .service-zones .zone-tag:nth-child(8) {  /* Targets Wilmington specifically */
    display: none !important;
  }
}
@media (max-width: 646px) {
  .service-zones .zone-tag:nth-child(7) {  /* Trenton */
    display: none !important;
  }
}



@media (max-width: 509px) {
 


      .service-zones .zone-tag:nth-child(6) {  /* Trenton */
    display: none !important;
  }
}


@media (max-width: 472px) {
  .service-zones .zone-tag {
    display: none !important;
  }
      .service-zones {
    padding-bottom: 0 !important; /* Removes all bottom padding */
    margin-bottom: -20px !important; /* Optional: pulls content up further */
  }
}





















@media (min-width: 1201px) { /* 1304*/
  .testimonial-text {
 font-size: 1.180em;/* was 1.175 */
    line-height: 1.8;
      text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2%;

  }
}


@media (min-width: 1011px) and (max-width: 1200px) { 
  .testimonial-text {
 font-size: 1.1625rem;
    line-height: 1.8;
      text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2%;

  }
}

/* Standard Desktops (901px to 1010px) */
@media (min-width: 901px) and (max-width: 1010px) {
  .testimonial-text {
    font-size: 1.145rem;  /* -0.01rem */
  }
}

/* Small Desktops (769px to 900px) */
@media (min-width: 769px) and (max-width: 900px) {
  .testimonial-text {
    font-size: 1.135rem;  /* -0.01rem */
  }
}

/* Tablets (601px to 768px) */
@media (min-width: 601px) and (max-width: 768px) {
  .testimonial-text {
    font-size: 1.100rem;  /* 1.135 */
  }
}

/* Large Mobile (481px to 600px) */
@media (min-width: 481px) and (max-width: 600px) {
  .testimonial-text {
    font-size: 1.065rem;  /* -0.01rem */
  }
}

/* Medium Mobile (421px to 480px) */
@media (min-width: 421px) and (max-width: 480px) {
  .testimonial-text {
    font-size: 1.060rem;  /* -0.01rem */
  }
}

/* Small Mobile (381px to 420px) */
@media (min-width: 381px) and (max-width: 420px) {
  .testimonial-text {
    font-size: 1.055rem;  /* -0.01rem */
  }
}

/* Minimum size reached (up to 380px) */
@media (max-width: 380px) {
  .testimonial-text {
    font-size: 1.044rem;    /* Stays at minimum */
  }
}




/* Dynamic left shift for precise centering */
@media (max-width: 393px) {
  .intro-content,
  .form-container {
    position: relative;
    left: calc((393px - 100vw) * -0.38);
  }
}








/* Remove hover animations for tablets and under */
@media (max-width: 1023px) {
  /* Service cards - remove hover effects */
  .service-card {
    transition: none !important;
  }
  
  .service-card:hover {
    transform: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    border-color: #eee !important;
  }
  
  /* How It Works steps - remove hover effects */
  .step {
    transition: none !important;
  }
  
  .step:hover {
    transform: none !important;
  }
  
  /* Service card buttons - remove hover effects */
  .service-card .btn {
    transition: none !important;
  }
  
  .service-card .btn:hover {
    transform: none !important;
    box-shadow: none !important;
    background: var(--primary) !important;
  }
}







  /* Material Symbols styling - LARGER to match Font Awesome optical size */
        .material-symbols-outlined.vacuum-icon {
            font-size: 59px; /* Larger to match FA optical size */
            font-variation-settings:
                'FILL' 0,
                'wght' 400,
                'GRAD' 0,
                'opsz' 48;
            color: var(--primary);
            line-height: 1;
            vertical-align: middle;
        }




@media (max-width: 992px) {
    .material-symbols-outlined.vacuum-icon {
        font-size: 54px; /* Mobile: 51px (40px + 11px) */
    }
}








@media (min-width: 1340px) {

.service-card:nth-child(4) h3 {
    font-size: 1.5rem; /* Slightly smaller */
        letter-spacing: -0.35px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}



@media (max-width: 1339px) {

.service-card:nth-child(4) h3 {
    font-size: 1.45rem; /* Slightly smaller */
        letter-spacing: -0.35px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}




@media (max-width: 1220px) {

.service-card:nth-child(4) h3 {
    font-size: 1.42rem; /* Slightly smaller */
        letter-spacing: -0.4px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}

@media (max-width: 1175px) {

.service-card:nth-child(4) h3 {
    font-size: 1.38rem; /* Slightly smaller */
        letter-spacing: -0.5px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}


@media (max-width: 1130px) {

.service-card:nth-child(4) h3 {
    font-size: 1.36rem; /* Slightly smaller */
        letter-spacing: -0.5px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}


@media (max-width: 1099px) {

.service-card:nth-child(4) h3 {
    font-size: 1.5rem; /* Slightly smaller */
        letter-spacing: 0px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}



@media (max-width: 885px) {

.service-card:nth-child(4) h3 {
    font-size: 1.45rem; /* Slightly smaller */
        letter-spacing: -0.2px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}


@media (max-width: 845px) {

.service-card:nth-child(4) h3 {
    font-size: 1.42rem; /* Slightly smaller */
        letter-spacing: -0.2px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}

@media (max-width: 815px) {

.service-card:nth-child(4) h3 {
    font-size: 1.41rem; /* Slightly smaller */
        letter-spacing: -0.2px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}


@media (max-width: 790px) {

.service-card:nth-child(4) h3 {
    font-size: 1.405rem; /* Slightly smaller */
        letter-spacing: -0.2px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}


@media (max-width: 733px) {

.service-card:nth-child(4) h3 {
    font-size: 1.5rem; /* Slightly smaller */
        letter-spacing: 0px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}




@media (max-width: 577px) {

.service-card:nth-child(4) h3 {
    font-size: 1.45rem; /* Slightly smaller */
        letter-spacing: -0.2px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}



@media (max-width: 490px) {

.service-card:nth-child(4) h3 {
    font-size: 1.43rem; /* Slightly smaller */
        letter-spacing: -0.2px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}


@media (max-width:  476px) {

.service-card:nth-child(4) h3 {
    font-size: 1.41rem; /* Slightly smaller */
        letter-spacing: -0.3px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}


@media (max-width:  428px) {

.service-card:nth-child(4) h3 {
    font-size: 1.4rem; /* Slightly smaller */
        letter-spacing: -0.3px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}

@media (max-width:  380px) {

.service-card:nth-child(4) h3 {
    font-size: 1.395rem; /* Slightly smaller */
        letter-spacing: -0.3px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}




@media (max-width:  1175px) {

.service-card:nth-child(3) h3 {
    font-size: 1.478rem; /* Slightly smaller */
        letter-spacing: -0.3px; /* Tighter spacing */
    white-space: nowrap; /* Prevent wrapping */

}
}




@media (max-width: 1099px) {

.service-card:nth-child(3) h3 {
    font-size: 1.5rem; /* Slightly smaller */
        letter-spacing: 0px; /* Tighter spacing */

    white-space: nowrap; /* Prevent wrapping */
}
}





@media (max-width:  1159px) {
.service-card:nth-child(2) h3 {
        font-size: 1.478rem; /* Slightly smaller */
        letter-spacing: -0.3px; /* Tighter spacing */
    white-space: nowrap; /* Prevent wrapping */

}
}


@media (min-width: 1100px) and (max-width:  1127px) {
.service-card:nth-child(5) p {
 font-size: 0.98rem; 
    letter-spacing: -0.1px;
}
}



@media (min-width: 850px) and (max-width: 1099px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    .service-card p {
        min-height: 77px; /* Equalize paragraph heights */ 
        display: flex;
        align-items: center;
        justify-content: center;
    }
}





@media (min-width: 1117px) and (max-width:  1155px) {
.service-card:nth-child(4) p {
 font-size: 1rem; 
    letter-spacing: -0.3849px;

}
}

@media (min-width: 1100px) and (max-width:  1116px) {
.service-card:nth-child(4) p {
 font-size: 0.98rem; 
    letter-spacing: -0.385px;

}
} 
 
