
@font-face {
    font-family: 'Alfresco';
    src: url('/AlFresco.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
        /* Reset styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: white;
            color: #333;
            line-height: 1.6;
            background-image: linear-gradient(to bottom, #f9fcff 0%, white 100%);
            background-attachment: fixed;
        }
        
        /* Contact button */
        .contact-button {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            background-color: #1f6d92;
            color: white;
            padding: 12px 20px;
            border-radius: 50px;
            font-weight: bold;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .contact-button:hover {
            background-color: #175674;
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
        }
        
        .contact-button i {
            font-size: 18px;
        }
        
        @media (max-width: 600px) {
            .contact-button {
                top: 10px;
                right: 10px;
                padding: 8px 15px;
                font-size: 0.9rem;
            }
        }

        /* Main header container */
        .header {
            width: 100%;
            background-color: #1f6d92;
            position: relative;
            height: 120px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 40px; /* Space for the circles to extend into */
        }

        /* White arch - using SVG for a smooth curve that meets the line */
        .white-arch {
            position: absolute;
            top: 40%; /* Align with horizontal line */
            left: 50%;
            transform: translateX(-50%) translateY(-100%); /* Move it up above the line */
            width: 50%; /* Base width for desktop */
            height: 30px; /* Base height for desktop */
            z-index: 3; /* Place above horizontal line */
            overflow: visible;
        }

        .white-arch svg {
            width: 100%;
            height: 100%;
            overflow: visible;
        }

        /* Inner content container */
        .header-content {
            width: 100%;
            max-width: 1200px;
            display: flex;
            justify-content: space-between;
            align-items: flex-end; /* Align content to bottom */
            padding: 0 20px;
            position: relative;
            height: 100%;
        }

        /* Logo circles */
        .logo-circle {
            width: 140px;
            height: 140px;
            background-color: white;
            border-radius: 50%;
            border: 8px solid #103b54;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            position: relative;
            z-index: 2;
            /* Position circles to extend 40px below the header - increased from 20px */
            transform: translateY(40px);
        }

        .logo-circle img {
            max-width: 85%;
            max-height: 85%;
            object-fit: contain;
        }

        /* The horizontal line between the circles */
        .horizontal-line {
            position: absolute;
            height: 8px; /* Same thickness as circle border */
            background-color: #103b54; /* Same color as circle border */
            z-index: 1;
            top: 40%; /* Position line higher up on the circles */
            left: 130px; /* Adjusted for larger circles */
            right: 130px; /* Adjusted for larger circles */
        }

        /* Text container to position the text at bottom */
        .text-container {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 0px; /* Space from bottom of header */
        }

        /* Header title */
        .header-title {
            font-family: 'Alfresco', 'Brush Script MT', cursive;
            color: white;
            font-size: 4rem;
            text-align: center;
            line-height: 1;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
            position: relative;
            z-index: 4; /* Ensure text stays above the line */
            
        }

        /* Main content section */
        .main-content {
            max-width: 1200px;
            margin: 60px auto 40px;
            padding: 0 20px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .intro {
            margin-bottom: 50px;
            text-align: center;
            background: linear-gradient(145deg, #f7fbff 0%, #e6f4ff 100%);
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(31, 109, 146, 0.15);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(31, 109, 146, 0.1);
        }
        
        .intro:before {
            content: "";
            position: absolute;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(31, 109, 146, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
            border-radius: 50%;
            top: -150px;
            right: -150px;
        }

        .intro p {
            margin-bottom: 22px;
            font-size: 1.15rem;
            line-height: 1.7;
            color: #444;
        }

        .intro p:last-child {
            margin-bottom: 0;
        }

        .section-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 30px;
            text-align: center;
            font-size: 2rem;
            color: #1f6d92;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .section-title:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: #1f6d92;
        }

        .services {
            margin-bottom: 60px;
        }

        .services-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }
        

        .service-card {
            background-color: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border-top: 4px solid #1f6d92;
            position: relative;
            z-index: 1;
            overflow: hidden;
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(31, 109, 146, 0.2);
        }
        
        .service-card:before {
            content: "";
            position: absolute;
            z-index: -1;
            top: -16px;
            right: -16px;
            background: linear-gradient(135deg, rgba(31, 109, 146, 0.1) 0%, rgba(31, 109, 146, 0) 50%);
            height: 100px;
            width: 100px;
            border-radius: 50%;
            opacity: 0;
            transition: all 0.5s ease;
        }
        
        .service-card:hover:before {
            opacity: 1;
            transform: scale(3);
        }

        .service-card h3 {
            color: #1f6d92;
            margin-bottom: 15px;
            font-size: 1.3rem;
            display: flex;
            align-items: center;
        }

        .service-card h3:before {
            content: "•";
            color: #1f6d92;
            font-size: 1.8rem;
            margin-right: 10px;
            line-height: 0;
        }

        .service-card p {
            color: #555;
            line-height: 1.6;
        }

        .weekly-service {
            background: linear-gradient(to right, #f7fbff, #edf7ff);
            padding: 40px;
            border-radius: 15px;
            margin-bottom: 40px;
            box-shadow: 0 10px 30px rgba(31, 109, 146, 0.15);
            border-left: 5px solid #1f6d92;
            position: relative;
            overflow: hidden;
        }
        
        .weekly-service:before {
            content: "";
            position: absolute;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(31, 109, 146, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
            border-radius: 50%;
            bottom: -100px;
            left: -100px;
        }

        .weekly-service h3 {
            color: #1f6d92;
            margin-bottom: 20px;
            font-size: 1.5rem;
            text-align: center;
        }

        .weekly-service-list {
            list-style-type: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 15px;
        }

        .weekly-service-list li {
            padding: 12px 15px;
            position: relative;
            padding-left: 35px;
            background-color: white;
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease;
        }

        .weekly-service-list li:hover {
            transform: translateX(5px);
        }

        .weekly-service-list li:before {
            content: "✓";
            color: white;
            background-color: #1f6d92;
            border-radius: 50%;
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            left: 8px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 0.9rem;
        }

        .contract-info {
            text-align: center;
            font-weight: 600;
            margin-bottom: 40px;
            padding: 25px;
            background: linear-gradient(145deg, #1f6d92, #195a7a);
            color: white;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(31, 109, 146, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .contract-info:before, .contract-info:after {
            content: "";
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 40%;
            background: rgba(255, 255, 255, 0.05);
        }
        
        .contract-info:before {
            top: -120px;
            left: -120px;
        }
        
        .contract-info:after {
            bottom: -120px;
            right: -120px;
        }
        
        .contract-info p {
            position: relative;
            z-index: 2;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .cta {
            text-align: center;
            font-size: 1.4rem;
            font-weight: 600;
            color: #1f6d92;
            margin: 50px 0;
            padding: 40px 30px;
            background: linear-gradient(145deg, #f7fbff 0%, #e6f4ff 100%);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(31, 109, 146, 0.15);
            line-height: 1.5;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(31, 109, 146, 0.1);
        }
        
        .cta:before {
            content: "";
            position: absolute;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(31, 109, 146, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
            border-radius: 50%;
            top: -100px;
            left: -100px;
        }
        
        .cta:after {
            content: "";
            position: absolute;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(31, 109, 146, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
            border-radius: 50%;
            bottom: -100px;
            right: -100px;
        }
        
        .cta p {
            position: relative;
            z-index: 2;
        }
        
        /* Phone CTA */
        .phone-cta {
            margin: 30px auto 0;
            display: inline-block;
            background-color: #1f6d92;
            color: white;
            padding: 15px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 1.3rem;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(31, 109, 146, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .phone-cta:hover {
            background-color: #175674;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(31, 109, 146, 0.4);
        }
        
        .phone-cta i {
            margin-right: 10px;
        }
        
        .bounce {
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-10px);}
            60% {transform: translateY(-5px);}
        }

        /* Animation for cards */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .service-card {
            animation: fadeIn 0.5s ease-out forwards;
        }

        .service-card:nth-child(1) { animation-delay: 0.1s; }
        .service-card:nth-child(2) { animation-delay: 0.2s; }
        .service-card:nth-child(3) { animation-delay: 0.3s; }
        .service-card:nth-child(4) { animation-delay: 0.4s; }

        /* Responsive adjustments */
        @media (max-width: 900px) {
            .header {
                height: 110px;
                margin-bottom: 35px; /* Increased to match the new translateY value */
            }
            .header-title {
                font-size: 3.5rem;
            }
            .logo-circle {
                width: 130px;
                height: 130px;
                border-width: 7px;
                transform: translateY(35px);
            }
            .logo-circle img {
                max-width: 85%;
                max-height: 85%;
            }
            .horizontal-line {
                height: 7px;
                left: 120px;
                right: 120px;
                top: 40%;
            }
            .white-arch {
                width: 60%;
                height: 25px;
                top: 40%;
            }
            
            .intro p {
                font-size: 1rem;
            }
        }

        @media (max-width: 700px) {
            .header {
                height: 100px;
                margin-bottom: 30px;
            }
            .header-title {
                font-size: 2.7rem;
            }
            .logo-circle {
                width: 115px;
                height: 115px;
                border-width: 6px;
                transform: translateY(30px);
            }
            .logo-circle img {
                max-width: 85%;
                max-height: 85%;
            }
            .horizontal-line {
                height: 6px;
                left: 105px;
                right: 105px;
                top: 40%;
            }
            .white-arch {
                height: 22px;
                width: 50%;
                top: 40%;
            }
            .text-container {
                margin-bottom: 8px;
            }
            .main-content {
                margin-top: 40px;
            }
            
            .intro {
                padding: 25px;
            }
            
            .intro p {
                font-size: 0.95rem;
                line-height: 1.5;
            }
            
            .service-card {
                padding: 20px;
            }
            
            .weekly-service {
                padding: 25px;
            }
            
            .cta {
                padding: 25px;
                font-size: 1.2rem;
            }
            
            .phone-cta {
                padding: 12px 25px;
                font-size: 1.1rem;
            }
        }

        @media (max-width: 500px) {
            .header {
                height: 90px;
                margin-bottom: 25px;
            }
            .header-title {
                font-size: 1.4rem;
            }
            .logo-circle {
                width: 95px;
                height: 95px;
                border-width: 5px;
                transform: translateY(25px);
            }
            .logo-circle img {
                max-width: 85%;
                max-height: 85%;
            }
            .horizontal-line {
                height: 5px;
                left: 85px;
                right: 85px;
                top: 40%;
            }
            .white-arch {
                height: 18px;
                width: 30%;
                top: 40%;
            }
            .text-container {
                margin-bottom: 6px;
            }
            
            .intro {
                padding: 20px;
                margin-bottom: 30px;
            }
            
            .intro p {
                font-size: 0.9rem;
                line-height: 1.4;
                margin-bottom: 15px;
            }
            
            .section-title {
                font-size: 1.6rem;
            }
            
            .service-card h3 {
                font-size: 1.1rem;
            }
            
            .service-card p {
                font-size: 0.9rem;
            }
            
            .weekly-service {
                padding: 20px;
            }
            
            .weekly-service h3 {
                font-size: 1.3rem;
            }
            
            .weekly-service-list li {
                font-size: 0.9rem;
                padding: 10px 15px 10px 30px;
            }
            
            .contract-info {
                padding: 18px;
            }
            
            .contract-info p {
                font-size: 0.95rem;
            }
            
            .cta {
                padding: 25px 15px;
                font-size: 1.1rem;
                margin: 30px 0;
            }
            
            .phone-cta {
                padding: 10px 20px;
                font-size: 1rem;
                margin-top: 20px;
            }
        }

        @media (max-width: 400px) {
            .header {
                height: 80px;
                margin-bottom: 20px;
            }
            .header-title {
                font-size: 1.2rem;
            }
            .logo-circle {
                width: 85px;
                height: 85px;
                border-width: 4px;
                transform: translateY(20px);
            }
            .logo-circle img {
                max-width: 85%;
                max-height: 85%;
            }
            .horizontal-line {
                height: 4px;
                left: 75px;
                right: 75px;
                top: 40%;
            }
            .header-content {
                padding: 0 10px;
            }
            .white-arch {
                height: 15px;
                width: 25%;
                top: 34%;
            }
            .text-container {
                margin-bottom: -2px;
            }
            
            .intro {
                padding: 15px;
            }
            
            .intro p {
                font-size: 0.85rem;
                line-height: 1.4;
                margin-bottom: 12px;
            }
            
            .service-card {
                padding: 15px;
            }
            
            .service-card h3 {
                font-size: 1rem;
            }
            
            .service-card p {
                font-size: 0.85rem;
            }
            
            .weekly-service {
                padding: 15px;
            }
            
            .weekly-service h3 {
                font-size: 1.1rem;
            }
            
            .weekly-service-list li {
                font-size: 0.85rem;
                padding: 8px 12px 8px 28px;
            }
            
            .weekly-service-list li:before {
                width: 18px;
                height: 18px;
                font-size: 0.8rem;
            }
            
            .cta {
                padding: 20px 15px;
                font-size: 1rem;
            }
            
            .phone-cta {
                padding: 8px 15px;
                font-size: 0.9rem;
            }
            
            .section-title {
                font-size: 1.4rem;
                padding-bottom: 10px;
                margin-bottom: 20px;
            }
            
            .section-title:after {
                width: 60px;
                height: 2px;
            }
        }


/* @media screen and (min-width: 429px) and (max-width: 435px) {
    .header-title {
        font-size: 1.1rem !important;
        padding-top: 15px !important;
    }
} */

@media (min-width: 390px) and (max-width: 395px) {
    .white-arch {
        top: 45%;
        transform: translateX(-50%) translateY(-120%); /* Move it higher */
        height: 16px;
        width: 35%;
    }
    
    .horizontal-line {
        top: 45%;
    }
    
    .header-title {
        font-size: 1.3em;
        padding-top: 8px;
    }
}

        /* Specific fix for Galaxy S20 Ultra and similar resolutions */
        @media (min-width: 410px) and (max-width: 430px) {
            .header-title {
                font-size: 1.2rem;
            }
            
            .text-container {
                margin-top: 5px;
            }
            
            .horizontal-line {
                top: 35%;
            }
            
            .white-arch {
                top: 35%;
                width: 28%;
            }
            
            .intro p {
                font-size: 0.85rem;
                line-height: 1.4;
            }
        }

        @media screen and (min-width: 428px) and (max-width: 430px) {
    .header-title {
        font-size: 1.3rem !important;
        padding-top: 0px !important;
        line-height: 0.9 !important;
        transform: translateY(-3px) translateZ(0);
        -webkit-transform: translateY(-3px) translateZ(0);
        -webkit-font-smoothing: subpixel-antialiased;
        margin-top: 8px !important;
    }
    
    .text-container {
        margin-top: 2px !important; 
        margin-bottom: 0 !important;
    }
    
    .horizontal-line {
        top: 42% !important;
    }
    
    .white-arch {
        top: 42% !important;
    }


}

@media screen and (width: 430px) {
    .header-title {
        font-size: 1.3rem !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        transform: translateY(-5px) translateZ(0) !important;
        -webkit-transform: translateY(-5px) translateZ(0) !important;
        line-height: 1 !important;
    }
    
    .text-container {
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    .horizontal-line {
        top: 48% !important; /* Move line down */
    }
    
    .white-arch {
        top: 48% !important; /* Match horizontal line position */
    }
}




.customer-satisfaction-card {
    grid-column: 2;
    margin-top: -10px;
}

/* Reset positioning on mobile devices */
@media (max-width: 900px) {
    .customer-satisfaction-card {
        grid-column: auto;
        margin-top: 0;
    }
}



.responsive-image-container {
        margin: 40px auto;
        max-width: 800px; /* Control maximum width */
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(31, 109, 146, 0.2);
    }
    
    .responsive-image {
        width: 100%;
        height: auto; /* Maintain aspect ratio */
        display: block;
    }
    
    .image-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(31, 109, 146, 0.9), rgba(31, 109, 146, 0.7) 60%, transparent);
        padding: 30px 20px 20px;
        color: white;
        text-align: center;
    }
    
    .image-caption h3 {
        margin: 0 0 8px;
        font-size: 1.5rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .image-caption p {
        margin: 0;
        font-size: 1.1rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    /* Responsive adjustments */
    @media (max-width: 700px) {
        .responsive-image-container {
            margin: 30px auto;
        }
        
        .image-caption {
            padding: 25px 15px 15px;
        }
        
        .image-caption h3 {
            font-size: 1.3rem;
        }
        
        .image-caption p {
            font-size: 1rem;
        }
    }
    
    @media (max-width: 500px) {
        .responsive-image-container {
            margin: 20px auto;
        }
        
        .image-caption {
            padding: 20px 15px 15px;
        }
        
        .image-caption h3 {
            font-size: 1.2rem;
        }
        
        .image-caption p {
            font-size: 0.9rem;
        }
    }

    .email-cta {
        margin: 15px auto 0;
        display: inline-block;
        background-color: #1f6d92; /* Slightly darker than the phone button */
        color: white;
        padding: 15px 30px;
        border-radius: 50px;
        text-decoration: none;
        font-size: 1.3rem;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(16, 59, 84, 0.3);
    }
    
    .email-cta:hover {
        background-color: #0c2c40;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(16, 59, 84, 0.4);
    }
    
    .email-cta i {
        margin-right: 10px;
    }
    
    /* Add some space between the buttons */
    .cta {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Responsive adjustments */
    @media (max-width: 700px) {
        .email-cta {
            padding: 12px 25px;
            font-size: 1.1rem;
        }
    }
    
    @media (max-width: 500px) {
        .email-cta {
            padding: 10px 20px;
            font-size: 1rem;
            margin-top: 12px;
        }
    }
    
    @media (max-width: 400px) {
        .email-cta {
            padding: 8px 15px;
            font-size: 0.9rem;
            margin-top: 10px;
        }
    }
