
@font-face {
    font-family: 'Hauora Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(https://cdn.jsdelivr.net/fontsource/fonts/hauora-sans@latest/latin-400-normal.woff2) format('woff2'), url(https://cdn.jsdelivr.net/fontsource/fonts/hauora-sans@latest/latin-400-normal.woff) format('woff');
  }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'A-OTF Shin Go Pro', sans-serif;
}
html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

body {
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
    overflow-x: clip !important;
}

/* Header Styles */
#cs-navigation {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background-color: #fff;
    z-index: 10000;
    height: 90px;
}

.cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    position: relative; /* Make it a positioned ancestor */
}
.logo img {
    height: 55px; /* Adjust height as necessary */
}
/* Login button styles with wave effect */ 
.login-button a { 
    position: relative; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 0px 0px 20px; 
    border: 2px solid #24A2EE; 
    color: #24A2EE; 
    font-size: 16px; 
    font-weight: 500; 
    letter-spacing: 2px; 
    text-decoration: none; 
    border-radius: 40px; 
    overflow: hidden; 
    /* transition: color 0.3s; */
    text-transform: uppercase;
 } 
.login-icon {
    width: 50px; /* Set the width of the icon */
    height: 50px; /* Set the height of the icon */
    display: inline-block;
    object-fit: contain; /* Maintain aspect ratio of the icon */
}
.login-button a:hover { 
    color: #fff; 
} 
.login-button a:hover .login-icon {
    /* background-image: url("image/up-right-arrow-white.png");  */
    z-index:10;
}
.login-button a span { 
    position: relative; 
    z-index: 2; } 
/* Wave effect */ 
.login-button .wave { 
    position: absolute;
    width: 181px; /* Starting width */
    height: 37px; /* Starting height */
    left: calc(50% - 181px / 2 - 152px); /* Starting position */
    top: calc(50% - 37px / 2 + 52.5px); /* Starting position */
    background: url('image/Wave.svg') no-repeat center; /* Add your wave image */
    background-size: cover; /* Scale the wave image */
    z-index: 1; /* Keep the wave behind the content */
    transition: width 0.5s ease, height 0.5s ease, top 0.5s ease, left 0.7s ease; /* Smooth transition, faster horizontally */
}
    
.login-button :hover .wave { 
    width: 709px; /* Final width */
    height: 145px; /* Final height */
    left: calc(50% - 709px / 2 + 52px); /* Final position */
    top: calc(50% - 145px / 2 - 34.5px); /* Final position */
    z-index:1;
}

/* Hamburger Menu Toggle */
.cs-toggle {
    display: none; /* Hidden by default */
    position: relative;
    width: 35px;
    height: 35px;
    background-color: transparent;
    border: none;
    z-index: 10;
}
.cs-box {
    width: 24px;
    height: 18px;
    position: relative;
}
.cs-line {
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: transform 0.3s;
}
.cs-line1 {
    top: 0;
}
.cs-line2 {
    top: 8px;
}
.cs-line3 {
    top: 16px;
}
/* Menu Wrapper */
.cs-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Place the menu right below the navigation bar */
    left: 0; /* Align menu with the left edge of the container */
    width: 100%; /* Full width of the container */
    background-color: #fff;
    z-index: 1000;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Add a shadow for better visibility */
}
.cs-menu.active {
    display: block; /* Show when active */
}
/* Login Button inside Menu */
.cs-menu .login-button {
    display: block;
    margin: 0 auto;
}
/* Responsive Design */
@media (max-width:1024px){
    .logo img {
        height: 45px;
    }
    
    .login-button a {
        padding: 3px 10px; /* Reduce padding */
        font-size: 14px; /* Smaller font size */
        border-radius: 30px; /* Adjust border radius */
    }
    /* Login Icon */
    .login-icon {
        width: 30px; /* Reduce icon size */
        height: 30px;
    }
    /* Wave effect adjustments */
    .login-button .wave {
        top: calc(100% + 18px); /* Adjust wave position */
        height: 100%; /* Adjust wave height */
    }
    .login-button .wave:before {
        top: -18px; /* Adjust wave height on hover */
        height: 18px; /* Smaller wave height */
    }
    
}
@media (max-width: 768px) {
    .login-button {
        display: none; /* Hide login button in header */
    }
    .cs-toggle {
        display: flex; /* Show hamburger menu */
        justify-content: center;
        align-items: center;
    }
    .logo img {
        height: 40px;
    }
}
/* Extra Small Devices (Portrait Mobile) */
@media (max-width: 480px) {
    .logo img {
        height: 20px; /* Further reduce logo size */
    }
    .cs-toggle {
        margin-right: 5px; /* Smaller spacing */
    }
    .cs-menu .login-button {
        padding: 8px 15px; /* Adjust button size */
        width: 90%; /* Slightly wider button for smaller screens */
    }
    .cs-menu .login-icon {
        width: 20px; /* Further reduce icon size */
        height: 20px;
    }
}
/*====================================================Hero section==============================*/
#hero-section {
    position: relative; /* Make the section a positioned element */
    width: 100%;
    overflow: hidden; /* Hide any overflow */
}


/* Hero Image Styles */
.hero-image img {
    position: absolute; /* Position the image */
    top: 0;
    left: 0;
    width: 105%; /* Ensure full width */
    height: 100%; /* Ensure full height */
    object-fit: contain; 
    z-index: 1; /* Place the image below other content */
}

/* Hero Content Container */
.hero-content-container {
    position: relative; /* Ensure content is relative to #hero-section */
    z-index: 2; /* Place it above the image */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%; /* Center content vertically */
    width: 100%; /* Full width for content alignment */
}


/* Content layout */
.hero-content {
    max-width: 600px;
    max-height:600px;
    color: #24A2EE;
    padding: 20px;
    background-color:transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to the left */
    gap: 10px; /* Add space between the icon and the heading */
    
}

.icon-container {
    display: inline-block;
    width: 150px; /* Adjust size as needed */
    height: 100px; /* Adjust size as needed */
    margin-bottom: 10px; /* Space below the icon */
}
.icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Maintain the icon's aspect ratio */
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 505;
    color: #24A2EE;
    margin-bottom: 20px;
    line-height:1.2;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 18px;
    color: #333;
    margin-bottom: 100px;
}

.signup-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px 5px 30px;
    border: 2px solid #24A2EE;
    color: #24A2EE;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 40px;
    overflow: hidden; 
    transition: color 0.3s, background-color 0.3s;
    z-index: 5; /* Ensure the button content is above the wave */
    text-transform: uppercase;
    letter-spacing: 2px;
}
.signup-button span {
    position: relative;
    z-index: 4; /* Ensure the text stays above the wave */
}
.signup-button .signup-icon {
    width: 50px; /* Set the width of the icon to 50px */
    height: 50px; /* Set the height of the icon to 50px */
    margin-left: 10px; /* Add spacing between the text and icon */
    object-fit: contain; /* Maintain the aspect ratio of the icon */
    z-index: 3; /* Ensure the icon stays above the wave */
}
/* Wave effect */
.signup-button .wave {
    position: absolute;
    width: 181px; /* Starting width */
    height: 37px; /* Starting height */
    left: calc(50% - 181px / 2 - 152px); /* Starting position */
    top: calc(50% - 37px / 2 + 52.5px); /* Starting position */
    background: url('image/Wave.svg') no-repeat center; 
    background-size: cover; /* Scale the wave image */
    z-index: 1; /* Keep the wave behind the content */
    transition: width 0.5s ease, height 0.5s ease, top 0.5s ease, left 0.7s ease; /* Smooth transition, faster horizontally */
}

.signup-button:hover .wave {
    width: 709px; /* Final width */
    height: 145px; /* Final height */
    left: calc(50% - 709px / 2 + 52px); /* Final position */
    top: calc(50% - 145px / 2 - 34.5px); /* Final position */
}
/* Hover effects */
.signup-button:hover {
    color: #fff; /* Change text color on hover */
}
/* Icon color change on hover */
.signup-button:hover .signup-icon {
    z-index:10;
}


/* Responsive Design */
/* Large screens (1440px) */
@media (max-width: 1440px) {
    .hero-image img {
        display: none; /* Hide the image tag */
    }

    #hero-section {
        background-image: url(image/hero-image-1440.svg); 
        background-size: cover;
        background-position: center center;
        padding: 50px; /* Reduce padding */
        min-height: auto; /* Allow flexible height */
    }
}

/* Medium screens (1024px) */
@media (max-width: 1024px) {
    #hero-section {
        /* background-image: url(image/hero-image-1440.svg); 
        background-size: cover;
        background-position: center center; */
        padding: 50px; /* Reduce padding */
        min-height: auto; /* Allow flexible height */
    }
    .hero-content {
        max-width: 50%; /* Adjust content width */
        padding: 40px 20px; /* Add padding for better layout */
        
    }
    .hero-content h1 {
        font-size: 42px; /* Slightly reduce font size */
    }
    .hero-content p {
        font-size: 16px; /* Adjust font size */
        margin-bottom: 40px; /* Adjust spacing */
    }
}



/* Small screens (phones) */
@media (max-width: 768px) {

    #hero-section {
        background: #ffffff;
        display: flex;
        flex-direction: column; /* Stack content vertically */
        align-items: center;
        padding-bottom: 0;
    }

    .hero-content-container {
        width: 100%;
        text-align: center;
        background-image: url(image/map.svg);
        background-size: contain;
        background-repeat: no-repeat;
        width: 100%;
    }

    .hero-image img {
        display:block;
        position: static; /* Reset to normal flow */
        width: 100%; /* Adjust width */
        height: auto; /* Maintain aspect ratio */
    }
    
    .hero-content {
        width: 100%; /* Full width for the content */
        max-width: none;
        padding: 50px 20px; /* Add padding around the content */
        border-radius: 8px; /* Rounded corners */
        text-align: center; /* Center-align text */
        align-items: center; /* Center-align items */
    }
    .hero-content h1 {
        font-size: 36px; /* Reduce font size */
        margin-bottom: 10px; /* Adjust spacing */
    }
    .hero-content p {
        font-size: 14px; /* Reduce font size */
        margin-bottom: 20px; /* Adjust spacing */
    }
    .signup-button {
        padding: 10px 20px; /* Smaller button size */
        font-size: 14px; /* Reduce font size */
    }
}
/* Extra small screens (very small phones) */
@media (max-width: 480px) {

    #hero-section {
        /* background-image: url(image/hero-image-mobile.svg); */
        flex-direction: column;
        padding: 20px;
        min-height: auto;
        margin-top: 10px;
        background-position: center;
    }
    .hero-content h1 {
        font-size: 30px; /* Further reduce font size */
    }
    .hero-content p {
        font-size: 12px; /* Smaller paragraph text */
    }
    .signup-button {
        padding: 8px 16px; /* Smaller button size */
        font-size: 12px; /* Smaller font size */
    }
    .signup-button .signup-icon {
        width: 30px;
        height: 30px;
    }
}


/*----------------------------------------------------------------------------------------------------------------*/
/* Section Container */
.section-container {
    max-width: 1300px;
    margin: 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

#our-service {
    
    color: #333;
    background: url('image/our-service-background-color.png') center/cover no-repeat;
    text-align: center;
}

/* Section Header */
#our-service h2 {
    font-size: 46px;
    color: #fff;
    padding:30px 0;
    font-weight: 505;
}

/* Service Tags */
.service-tags {
    display: flex;
    justify-content: center;
}


.service-tags-items {
    display: flex;
    width:100%;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    margin: 0 0 30px 0;
    flex-wrap: wrap;
    padding: 0;
}

.tag {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 80px;
    padding: 15px 20px;
    font-size: 15px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    margin:0;
}

.tag.active,
.tag:hover {
    background-color: #fff;
    color: #000;
    opacity: 1;
}

/* Masonry Layout */
.masonry-layout {
    display: block;
    margin: 0 auto;
}

.masonry-layout .gallery-item {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.masonry-layout .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    transform: scale(1.05)
}

.masonry-layout .gallery-item:hover img {
    transform: scale(1.2);
}

/* Overlay and Expand Icon on Hover */
.gallery-item::before,
.gallery-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item::before {
    background-color: rgba(0, 0, 0, 0.5);
}

.gallery-item::after {
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background: url("image/expand-icon.png") center/contain no-repeat;
    transform: translate(-50%, -50%);
}

.gallery-item:hover::before,
.gallery-item:hover::after {
    opacity: 1;
}

/* Masonry Layout Responsiveness */
.masonry-layout .gallery-item {
    width: calc(25% - 10px); /* 4 columns on large screens */
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    #our-service h2 {
        font-size: 40px; /* Adjust font size for medium screens */
    }
    .masonry-layout .gallery-item {
        width: calc(33.333% - 10px); /* 3 columns on medium screens */
    }

}

@media (max-width: 768px) {
    #our-service h2 {
        font-size: 36px; /* Adjust font size for small screens */
    }
    .masonry-layout .gallery-item {
        width: calc(50% - 10px); /* 2 columns on small screens */
    }
}

@media (max-width: 480px) {
    #our-service h2 {
        font-size: 30px; /* Adjust font size for extra small screens */
    }
    .masonry-layout .gallery-item {
        width: calc(100% - 10px); /* 1 column on extra small screens */
    }
}


img.background.line {
    position: absolute;
    width: 117%;
    height: 103%;
    top: -26px;
    z-index: 0;
    object-fit: cover;
    left: 0;
}

/* Icon fixed to the bottom-right corner */
.corner-icon {
    position: absolute;
    bottom: -1px;
    right: -61px;
    
}

/* Service Table */
.service-table-wrapper {
    position: relative; 
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    padding-top: 250px;
    margin-bottom: 100px;
}

.service-table {
    display: block;
    margin: auto;

    border-radius: 30px;
    position: relative; /* Ensures proper stacking with the snowflake */
    z-index: 0; /* Keeps the table below the snowflake */

    padding:0 20px 100px 20px;
    
}

.service-table table {
    max-width: 1300px;
    border-collapse: collapse;
    background-color: transparent;
    border-radius: 30px;
    z-index: 3;
    table-layout: auto;
    width: max-content;
    overflow: hidden; /* Prevent content overflow outside the border */
}
/* First column */
.service-table tbody td:first-child, .service-table thead th:first-child {
    width: 326px;
    text-align: left;
    padding-left: 40px;
}


.service-table tbody {
    background-color: white;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

/* first row */
.service-table thead th:nth-child(2),
.service-table thead th:nth-child(3),
.service-table thead th:nth-child(4),
.service-table thead th:nth-child(5)
  {
    background-color: white;
    border-bottom: 1px solid rgba(186, 186, 186, 0.41);
    border-right: 1px solid rgba(186, 186, 186, 0.41);
}

.service-table thead th:nth-child(2) {
    border-top-left-radius: 30px;

}
.service-table thead th:nth-child(5)
  {
    border-top-right-radius: 30px; 
}


#our-service > div.service-table-wrapper > div > table > thead > tr > th:nth-child(1) {
    position: relative; /* Required for pseudo-element positioning */
    border:0;
}

#our-service > div.service-table-wrapper > div > table > thead > tr > th:nth-child(1)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%; /* Match the cell's height */
    width: 0.5px; /* Border width */
    background: linear-gradient(to top, rgba(186, 186, 186, 0.41), transparent); /* Gradient */
}
#our-service > div.service-table-wrapper > div > table > thead > tr > th:nth-child(1)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* Match the cell's width */
    height: 0.5px; /* Border width */
    background: linear-gradient(to left, rgba(186, 186, 186, 0.41), transparent); /* Gradient for the bottom border */
}

.service-table th, .service-table td {
    padding: 10px;
    text-align: center;
    font-size: 16px;
    color: #333;
    height: 100px;
    width: 224px;
   
}

.service-table td {
    border: 1px solid rgba(186, 186, 186, 0.41);
}

.service-table thead th img {
    width: 170px;
    height: 50px;
    display: block;
    margin: 0 auto;
}

.service-table td img {
    max-width: 40px;
    height: auto;
    margin-right: 5px;
    vertical-align: middle;
}
@media (max-width: 1440px) {
    img.background.line {
        width: 160%;
        height: 104%;
        top: -163px;
        left: -273px;
        object-fit: contain;
    }
.service-tags {

    margin:30px;
}

}
@media (max-width: 1024px) {

    img.background.line {
        /* background-image: url(image/Snow\ Deco\ x2.png); */
        width: 190%;
        height: 101%;
        top: -249px;
        left: -223px;
        object-fit: contain;
    }
    .service-table-wrapper {
        padding: 150px 10px;
    }

    .service-table th,
    .service-table td {
        padding: 8px 10px;
    }


    .service-table td img {
        max-width: 30px;
    }

}
/* Table Responsiveness */
@media (max-width: 768px) {
    img.background.line {
        /* background-image: url(image/Snow\ Deco\ x2.png); */
        width: 239%;
        height: 97%;
        top: -249px;
        left: -176px;
        object-fit: contain;
    }



    .service-table th,
    .service-table td {
        padding: 8px;
    }

    .service-table thead th img {
        width: 70%;
    }

    .service-table td img {
        max-width: 25px;
    }
    .service-table td {
        padding: 6px 5px;
    }
    .corner-icon {
        position: absolute;
        bottom: -2px;
        right: -90px;
        z-index: -10;

    }
}

@media (max-width: 480px) {
    img.background.line {
        width: 299%;
        height: 62%;
        top: -52px;
    }

    .tag {
        padding: 8px 5px;
        font-size: 10px;
        border-radius: 40px;
    }


    .service-table th,
    .service-table td {
        font-size: 14px;
        padding: 5px 5px;
    }

    .service-table thead th img {
        width: 60%;
    }

    .service-table td img {
        max-width: 20px;
    }
    .service-table {
        font-size: 11px;
    }
    .corner-icon {
        bottom: -2px;
        right: -74px;
    }
}

@media (max-width: 360px) {
    .service-table-wrapper {
        padding: 60px 5px;
    }

    .service-table th,
    .service-table td {
        font-size: 14px;
        padding: 4px 4px;
        word-wrap: break-word; /* Wrap long text */
    }
    
    .service-table thead th img {
        width: 60%;
    }

    .service-table td img {
        max-width: 18px;
    }

    .service-table-wrapper img.background.line {
        width: 286%;
        height: 47%;
        top: -45px;
        left: -52px;
    }

}

/*-------------------------------------------------------*/
/* Base styles */
#our-coverage {
    background-color: #ffffff;
    text-align: center;
    /* margin-left: 110px;
    margin-right: 110px; */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.coverage-container {
    /* display: flex;
    align-items: center;
    justify-content: center; */
    display: flex;
    align-items: stretch; /* Stretch items to have equal height */
    justify-content: space-around; /* Space items evenly */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto; /* Center the container */
}
#our-coverage h2 {
    font-size: 46px;
    color: #24A2EE;
    font-weight: 505;
    margin: 30px 0;
}
.coverage-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    /* margin: 0 110px; */
    margin:0 auto;
}
.coverage-item {
    /* width: 30%;
    text-align: left;
    margin: 70px; */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: flex-start; /* Align all content at the top */
    align-items: flex-start; /* Align content to the left */
    width: 30%; /* Equal width for each item */
    text-align: left;
    padding: 20px;
    box-sizing: border-box;
    min-height: 500px; /* Consistent height for all items */
    position: relative;
}
.coverage-image {

    width: 100%;
    max-width: 200px; /* Fixed max width */
    height: 99px; /* Maintain aspect ratio */
    display: block;
    margin-bottom: 20px; /* Consistent spacing between image and other elements */
    /* width: 200px;
    display: block;
    margin: 50px 0 20px 0; */
}
.coverage-item p {
    /* font-size: 16px;
    color: #404040;
    line-height: 1.8;
    text-align: left;
    font-weight: 400;
    margin: 30px 10px; */
    font-size: 16px;
    color: #404040;
    line-height: 1.8;
    font-weight: 400;
    margin: 0 10px 20px 10px; /* Add consistent spacing below text */

    min-height: 100px; /* Ensure all paragraphs have the same height */
    display: flex;
    align-items: flex-start; /* Align text to the top */
}
/* Coverage Tag */
.coverage-tag {
    display: inline-block;
    position: relative;
    background-color: #d3e9ff;
    color: #24A2EE;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    padding: 5px 10px;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: width 0.3s ease-in-out;
    /* margin-top: auto; 
    margin-bottom: 10px;  */
    margin: 0 0 10px 10px;
}
.short-text {
    display: inline;
    transition: opacity 0.3s ease-in-out;
}
.full-text {
    display: none;
}
.coverage-tag:hover .short-text {
    display: none;
}
.coverage-tag:hover .full-text {
    display: inline;
}
.coverage-icons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: auto;

}
.icon img {
    width: 62px;
    height: 86px;
}
/* Postcode Link Styles */
.postcode-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    border: 2px solid #24A2EE;
    color: #24A2EE; /* Default text color */
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 40px;
    overflow: hidden;
    transition: color 0.3s, background-color 0.3s;
    z-index: 2; /* Ensure the button container is above the wave */
    text-transform: uppercase;
    margin:50px;
}
.postcode-icon {
    width: 50px; /* Icon size */
    height: 50px;
    margin-left: 10px; /* Space between text and icon */
    object-fit: contain;
    z-index: 3; /* Ensure the icon is above the wave */
}
.postcode-link:hover {
    color: #fff; /* Change text color to white on hover */
}
.postcode-link span{
    z-index: 2;
}
.postcode-link:hover .postcode-icon {
    z-index: 10;
}

/* Wave Effect */
.postcode-link .wave {
    position: absolute;
    width: 181px; /* Starting width */
    height: 37px; /* Starting height */
    left: calc(50% - 181px / 2 - 152px); /* Starting position */
    top: calc(50% - 37px / 2 + 52.5px); /* Starting position */
    background: url('image/Wave.svg') no-repeat center; /* Add your wave image */
    background-size: cover; /* Scale the wave image */
    z-index: 1; /* Keep the wave behind the content */
    transition: width 0.5s ease, height 0.5s ease, top 0.5s ease, left 0.7s ease; 
}

.postcode-link:hover .wave {
    width: 709px; /* Final width */
    height: 145px; /* Final height */
    left: calc(50% - 709px / 2 + 52px); /* Final position */
    top: calc(50% - 145px / 2 - 34.5px); /* Final position */
}


/* Responsive Design */
/* Medium screens (tablets, small desktops) */
@media (max-width: 1024px) {
    #our-coverage h2 {
        font-size: 40px; /* Reduce heading size */
        text-align: center;
    }
    .coverage-content {
        flex-wrap: wrap; /* Allow wrapping of columns */
        justify-content: center; /* Center align items */
        gap: 30px; /* Increase gap between items */
    }
    .coverage-item {
        width: 45%; /* Adjust width of each column */
        margin: 40px 20px; /* Adjust spacing */
    }
    .postcode-link{
        margin:40px auto 0 auto;

    }
}
/* Small screens (phones) */
@media (max-width: 768px) {
    #our-coverage h2 {
        font-size: 36px; /* Reduce heading size */
        text-align: center;
    }
    .coverage-content {
        flex-direction: column; /* Stack items vertically */
        align-items: center;
    }
    .coverage-item {
        width: 90%; /* Make items take up most of the screen */
        text-align: center; /* Center align text */
        margin: 20px 0; /* Adjust margin for stacked items */
    }
    .coverage-image {
        margin: 20px auto; /* Center image */
    }
    .coverage-item p {
        text-align: center; /* Center-align text for small screens */
    }
    .coverage-icons {
        justify-content: center; /* Center icons */
        margin-top: 15px; /* Adjust spacing */
    }
    
    .postcode-icon {
        width: 40px; /* Icon size */
        height: 40px;
        margin-left: 10px; /* Space between text and icon */}
}
/* Extra small screens (very small phones) */
@media (max-width: 480px) {
    #our-coverage {
        margin-left:24px;
        margin-right:24px;
    }
    #our-coverage h2 {
        text-align: center;
        font-size: 30px; /* Reduce heading size */
    }
    .coverage-item {
        width: 100%; /* Take up full width */
        margin: 10px 0; /* Adjust margin */
    }
    .coverage-image {
        width: 150px; /* Scale down image size */
    }
    .coverage-item p {
        font-size: 14px; /* Adjust font size for text */
    }
    .icon img {
        width: 50px; /* Adjust icon size */
        height: auto;
    }
    .postcode-link {
        padding: 8px 16px; /* Smaller button padding */
        font-size: 12px; /* Smaller font size for button */
    }
    .postcode-icon {
        width: 30px; /* Icon size */
        height: 30px;
        margin-left: 10px; /* Space between text and icon */}
}




/* major services-------------------------------------------------------*/
/* Section styling */
#major-services {
    background-color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.major-services-container {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin: 30px 0;
}
#major-services h2 {
    font-size: 46px;
    color: #24A2EE;
    font-weight: 505;
    text-transform: uppercase;
    text-align: left;
    padding-bottom: 50px;

}
.services-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.services-images {
    gap: 50px;
    padding-right: 50px;
    height: 500px;
    width: 800px;
}
#service-image-src {
    width: 800px;
    height: auto;
    max-width: 100%;
}
.service-list-container {
    text-align: left;
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
/* Services List Styling */
.services-list {
    position: relative;
    padding-left: 20px;
}
.services-list ul {
    list-style: none; /* Remove default bullet points */
    padding-left: 0;
    margin: 0;
}
.services-list li {
    font-size: 20px;
    line-height: 2.3;
    color: #333;
    font-weight: 500;
    padding-left: 1.5em; /* Space for icon */
    padding-bottom: 10px;
    position: relative;
    text-align: left;
    transition: color 0.2s ease; /* Smooth color transition */
    white-space: nowrap; /* Prevent text wrapping */
    cursor: pointer;
}
/* Left border line for services list */
.services-list::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, #24A2EE 60%, #ccc 40%); /* Gradient effect */
}
/* Placeholder for the icon */
.services-list li::before {
    content: ""; /* Empty placeholder for space */
    display: inline-block;
    width: 1em; /* Fixed width to reserve space for icon */
}
/* Selected item styling */
.services-list li.selected {
    color: #24A2EE;
    font-weight: 600;
    padding-left: 2em; /* Increase left padding for snowflake movement */
}
.services-list li.selected::before {
    content: "❄️"; /* Snowflake icon */
    color: #24A2EE;
    display: inline-block;
    padding-right: 35px;
    transform: translateX(5px); /* Move snowflake to the right */
    transition: transform 0.1s ease; /* Smooth transition */
}
/* Hover effect */
.services-list li:hover {
    color: #24A2EE;
}

/* Responsive Design */
/* Medium devices (tablets, small desktops) */
@media (max-width: 1024px) {
    #major-services {
        flex-direction: column; /* Stack elements vertically */
        margin: 80px 20px; /* Reduce margins */
    }
    .major-services-container {
        flex-direction: column; /* Stack image and list vertically */
        gap: 30px;
        align-items: center;
    }
    .services-images {
        padding-right: 0; /* Remove right padding */
        text-align: center;
        order: 2; /* Move images below the heading */
    }
    .service-list-container {
        width: 100%; /* Use full width for the list */
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 1; /* Ensure list comes after images */
    }
    #major-services h2 {
        font-size: 40px; /* Reduce heading size */
        text-align: center; /* Center the heading */
        margin-bottom: 30px;
    }
    #service-image-src {
        width: 90%; /* Adjust image size */
        max-width: 600px; /* Set a maximum size */
    }
    .services-list li {
        font-size: 18px; /* Reduce font size */
        padding-left: 1.2em; /* Adjust padding */
        line-height: 2;
    }
    .services-list li.selected {
        padding-left: 1.7em; /* Adjust snowflake padding */
    }
}
/* Small devices (mobile landscape) */
@media (max-width: 768px) {
    #major-services {
        margin: 60px 10px; /* Further reduce margins */
    }
    .services-images {
        order: 2; /* Ensure images are below heading */
    }
    .service-list-container {
        order: 1; /* Ensure list comes after images */
    }
    #major-services h2 {
        font-size: 36px; /* Smaller heading size */
    }
    #service-image-src {
        width: 100%; /* Make image take full width */
    }
    .services-list li {
   
        padding-left: 1em; /* Adjust padding */
    }
    .services-list li.selected {
        padding-left: 1.5em; /* Adjust snowflake padding */
    }
}
/* Extra small devices (mobile portrait) */
@media (max-width: 480px) {
    #major-services {
        margin: 40px 5px; /* Minimize margins for small screens */
    }
    .services-container {
        gap: 20px; /* Reduce gaps between elements */
    }
    .services-images {
        order: 2; /* Ensure images are below heading */
    }
    .service-list-container {
        order: 1; /* Ensure list comes after images */
    }
    #major-services h2 {
        font-size: 30px; /* Smaller heading size */
    }
    #service-image-src {
        width: 100%; /* Full width */
        max-width: 100%; /* Remove max size */
    }
    .services-list li {
        font-size: 12px; /* Further reduce font size */
        padding-left: 0.8em; /* Adjust padding */
    }
    .services-list li.selected {
        padding-left: 1.2em; /* Adjust snowflake padding */
    }

}





#about-us {
    padding: 50px;
    background-color: #ffffff;
    text-align: center;
}
#about-us h2 {
    font-size: 46px;
    font-weight: 505;
    color: #24A2EE;
    margin-bottom: 20px;
}
.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Allow elements to wrap on smaller screens */
}
.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
}
.about-text {
    max-width: 600px;
    text-align: left;
}
.about-text h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about-text p {
    font-family: 'Hauora Sans';
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
}
/* Responsive Styles */
/* Medium screens (tablets, small desktops) */
@media (max-width: 1024px) {
    .about-content {
        gap: 30px; /* Reduce gap between elements */
    }
    #about-us h2 {
        font-size: 40px; /* Slightly smaller for medium screens */
        line-height: 1.3; /* Adjust line height for better readability */
        margin-bottom: 25px; /* Reduce bottom margin */
    }

}
/* Small screens (phones) */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column; /* Stack image and text vertically */
        text-align: center;
    }
    .about-text {
        /* max-width: 90%; */
        text-align: center; /* Center-align text */
    }
    #about-us h2 {
        font-size: 36px; /* Smaller font size for small screens */
        line-height: 1.2; /* Adjusted line height */
        margin-bottom: 20px; /* Reduce spacing below the heading */
    }
    .about-text p {
        font-size: 14px; /* Adjust paragraph font size */
    }
}
/* Extra small screens (very small phones) */
@media (max-width: 480px) {
    #about-us {
        padding: 30px;
    }
    #about-us h2 {
        font-size: 30px; /* Even smaller font size for very small screens */
        line-height: 1.2; /* Consistent line height */
        margin-bottom: 15px; /* Further reduce margin */
    }
    .about-image img {
        max-width: 300px; /* Further reduce image size */
    }
    .about-text {
        /* max-width: 90%; */
        text-align: center; /* Center-align text */
    }
    .about-text p {
        font-size: 13px; /* Reduce paragraph font size */
        line-height: 1.4; /* Adjust line height */
    }
}


#affiliated-company {
    padding: 50px;
    background-color: #ffffff;
    text-align: center;
}

#affiliated-company h2 {
    font-size: 46px;
    color: #24A2EE;
    margin: 50px 0;
    font-weight: 505;
}

#affiliated-company h3 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.company-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    max-width: 1200px;
    margin: 0 auto;
    border-top: 2px solid #24A2EE;
    padding-top: 20px;
    gap: 20px; /* Add space between items */
}

.company-item {
    width: 18%; /* Maintain 5 columns for large screens */
    text-align: center;
    position: relative;
    padding: 10px;
}

.company-item::before {
    content: "";
    width: 1px;
    height: 20px;
    background-color: #24A2EE;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.company-name {
    font-size: 19px;
    color: #24A2EE;
    font-weight: 600;
    margin-bottom: 5px;
}

.company-description {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

/* Adjust line spacing */
.company-list::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #24A2EE;
    width: calc(100% - 2px); /* To ensure line width */
    margin: auto;
}

/* Change layout to box at 1024px or smaller */
@media (max-width: 1024px) {
    .company-list {
        flex-direction: column; /* Stack items vertically */
        gap: 20px;
    }

    .company-item {
        width: 100%; /* Full width for each item */
        text-align: center;
        background-color: #ffffff; /* Box background */
        border: 1px solid #ddd; /* Add box border */
        border-radius: 10px; /* Add rounded corners */
        padding: 20px; /* Add padding for box content */
        box-shadow: 0px 4px 6px rgb(36 162 238 / 13%);; /* Add shadow for box effect */
    }

    .company-item::before {
        display: none; /* Hide vertical line for boxes */
    }

    #affiliated-company h2 {
        font-size: 40px; /* Reduce heading size */
    }

    .company-name {
        font-size: 17px; /* Adjust font size */
    }

    .company-description {
        font-size: 13px;
    }
}

/* Small screens (phones) */
@media (max-width: 768px) {
    #affiliated-company {
        padding: 30px; /* Reduce padding */
    }

    #affiliated-company h2 {
        font-size: 36px; /* Further reduce heading size */
    }

    .company-name {
        font-size: 16px;
    }

    .company-description {
        font-size: 12px;
    }

    .company-item {
        padding: 15px; /* Adjust padding for smaller boxes */
        box-shadow: 0px 2px 4px rgb(36 162 238 / 13%); /* Reduce shadow intensity */
    }
}

/* Extra small screens (very small phones) */
@media (max-width: 480px) {
    #affiliated-company {
        padding: 20px; /* Further reduce padding */
    }

    #affiliated-company h2 {
        font-size: 32px; /* Further reduce heading size */
        line-height: 1.2;
    }

    .company-name {
        font-size: 14px;
    }

    .company-description {
        font-size: 11px;
    }
}




/* Footer Styles */
footer {
    background-color: #24A2EE;
    color: white;
    padding: 20px 0;
    position: relative;
}

.footer-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 70px 110px 20px;
    justify-content: left;
}
.footer-logo {
    width: 70px;
    height: auto;
    padding-right:20px;
    border-right:1px solid rgba(255, 255, 255, 0.607);
}
.footer-header h2 {
    font-size: 46px;
    font-weight: 505;
    text-transform: uppercase;
    color: white;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    margin:60px 110px;
    gap: 50px
}
.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.footer-column p, .footer-column a {
    font-family:'Hauora Sans';
    font-size: 17px;
    color: white;
    margin-bottom: 5px;
    text-decoration: none;
    line-height: 40px;
    font-weight: 400;
    opacity: 0.9;
}
.social-icon {
    width: 22px; /* Adjust the size as needed */
    height: 22px;
    vertical-align: middle; /* Align the icon vertically with the text */
    margin-right: 5px; /* Space between the icon and the text */
    margin: 0 7px 3px 0;
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
}
body > footer > div.footer-bottom > p{
    font-family: 'Hauora Sans';
}
/* Responsive Design */
/* Medium screens (tablets, small desktops) */
@media (max-width: 1024px) {
    .footer-content {
        flex-wrap: wrap; /* Allow columns to wrap to a new row */
        margin: 40px 50px; /* Adjust margins for smaller screens */
    }
    .footer-column {
        width: 45%; /* Adjust column width for medium screens */
        margin-bottom: 20px; /* Add spacing between rows */
    }
}
/* Small screens (phones) */
@media (max-width: 768px) {
    .footer-header {
        flex-direction: column; /* Stack logo and header text */
        text-align: center; /* Center-align header content */
        margin: 20px; /* Reduce margins */
    }
    .footer-logo {
        padding-right: 0;
        margin-bottom: 10px; /* Add spacing between logo and text */
        border: none; /* Remove border on smaller screens */
    }
    .footer-header h2 {
        font-size: 36px; /* Reduce font size for smaller screens */
    }
    .footer-content {
        flex-direction: column; /* Stack all columns vertically */
        align-items: center;
        gap: 30px; /* Add spacing between stacked columns */
        margin: 20px; /* Adjust margins for small screens */
    }
    .footer-column {
        width: 100%; /* Columns take full width */
        text-align: center; /* Center-align text */
    }
    .footer-column p, .footer-column a {
        font-size: 15px; /* Reduce text size for better fit */
        line-height: 30px; /* Adjust line height */
    }
    .footer-bottom {
        font-size: 12px; /* Smaller font for footer bottom text */
    }
}
/* Extra small screens (very small phones) */
@media (max-width: 480px) {
    .footer-header h2 {
        font-size: px; /* Further reduce font size */
    }
    .footer-column p, .footer-column a {
        font-size: 14px; /* Reduce text size for very small screens */
    }
    .social-icon {
        width: 18px; /* Smaller icons for very small screens */
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .section-container {
        margin: 40px auto; /* Adjust vertical margin for smaller screens */
        padding: 30px 15px; /* Reduce padding */
    }
    .section-container h2 {
        font-size: 40px; /* Smaller heading size */
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .section-container {
        margin: 30px auto;
        padding: 20px 10px;
    }
    .section-container h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .section-container {
        margin: 20px auto;
        padding: 15px 10px;
    }
    .section-container h2 {
        font-size: 30px;
    }
}