
html{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
/* Global Styles */

body {
    display: flex;
    flex-direction: column;

    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #101010;
    background-color: #fff;
}
h1{
    font-size: 48px;
}
h2{
    font-size: 32px;
}
h3{
    font-size: 24px;
}


main{
    align-items: center;
    display: flex;
    flex-direction: column;
}
/* Hero Section */
.hero-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.service-hero {
    position: relative;
    width: 100%;
    max-width: 1307px;
    height: 492px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.service-hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    
}

.content {
    position: absolute;
    bottom: 24px;
    left: 40px;
    background-color: #fff;
    border: 1px solid #e8e8ea;
    border-radius: 12px;
    box-shadow: 0px 12px 24px -6px rgba(24, 26, 42, 0.12);
    padding: 32px 48px; /* Increased padding */
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.link {
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 133%;
}

.icon-chevron-right {
    font-size: 16px;
    color: inherit;
}

/* Override Material Icons font size globally */
.material-icons {
    font-size: 32px !important;
}

.bar {
    width: 2px;
    height: 20px;
    background-color: #048baa;
  }
.heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 48px;
    color: #000;
}

.title {
    font-weight: bold;
    line-height: 130%;
    letter-spacing: -0.04em;
}

/* Title Parent Section */
.title-parent {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    gap: 16px;
    text-align: center;
    font-size: 32px;
    color: #101010;
    margin: 40px 20px;

}

.title-parent .title {
    width: 100%;
    max-width: 666px;
    letter-spacing: -0.04em;
    line-height: 116%;
    font-weight: 600;
    display: inline-block;
}

.title-parent .article {
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 133%;
    font-weight: 500;
    color: #3a3a3a;
}

.gallery-section {
    width: 100%;
    padding: 112px 64px;
    box-sizing: border-box;
  }
  
  .gallery-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .gallery-header {
    text-align: left;
    margin-bottom: 80px;
  }
  
  .gallery-title {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 120%;
  }
  
  
  .gallery-slider {
    position: relative;
    overflow: hidden;
  }
  
  .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
  }
  
  .slide {
    flex: 0 0 calc(33.333% - 20px);
    padding: 0 10px;
    box-sizing: border-box;
  }
  
  .slide-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .gallery-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
  }
  
  .gallery-dots {
    display: flex;
    gap: 8px;
  }
  
  .gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .gallery-dot.active {
    background-color: #101010;
  }
  
  .gallery-buttons {
    display: flex;
    gap: 16px;
  }
  
  .gallery-button {
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #101010;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .gallery-button:hover {
    background-color: #f0f0f0;
  }
  
  .gallery-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .gallery-button .material-icons {
    font-size: 24px;
  }
  
  @media (max-width: 1024px) {
    .slide {
      flex: 0 0 calc(50% - 20px);
    }
  }
  
  @media (max-width: 768px) {
    .gallery-section {
      padding: 80px 32px;
    }
  
    .slide {
      flex: 0 0 calc(100% - 20px);
    }
  
    .gallery-title {
      font-size: 28px;
    }
  
    .gallery-subtitle {
      font-size: 14px;
    }
  }



/* OUR SERVICES INCLUDE Section */
.frame-parent {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 41px;
    text-align: center;
    font-size: 16px;
    color: #0b0c0e;
    font-family: 'Inter', sans-serif;
}

.our-services-include-wrapper {
    border-radius: 4px;
    background-color: #22a7c5;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
}

.our-services-include {
    letter-spacing: 0.25em;
    line-height: 133%;
    color: #fff;
    font-weight: 600;
}

.frame-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: left;
    font-size: 24px;
    color: #0b0c0e;
    flex-wrap: wrap;
}

.service-card {
    width: 378px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #dcdcdc;
    box-sizing: border-box;
    height: 372px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 48px 32px 0px;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* Class to trigger animation */
.service-card.show {
    opacity: 1;
    transform: translateY(0);
}

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


/* Styles for the tilt effect */
#tilt {
    display: block;
    width: 100%;
    height: auto;
    transition: box-shadow 0.1s, transform 0.1s;
}

/* Hover effect */
#tilt:hover {
    cursor: pointer;
}


.snowflake-icon {
    font-size: 40px;
    color: #22a7c5;
}

.title2 {
    width: 252px;
    letter-spacing: -0.04em;
    line-height: 124%;
    font-weight: 600;
    display: inline-block;
}

.swimming-pool {
    margin: 0;
}

.article {
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 133%;
    font-weight: 500;
    color: #3a3a3a;
}

/* Warranty Section */
.warranty-title {
    position: relative;
    letter-spacing: -0.03em;
    font-weight: 500;
}

.warranty-description {
    position: relative;
    font-size: 16px;
    letter-spacing: -0.03em;
    font-weight: 500;
}

.here-button{
    color: #22a7c5;
    transition-duration: 0.4s;
}
.here-button:hover{
    color:#3a3a3a;
}

.warranty-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 30px;
}

.warranty {
    display: flex;
    margin: 50px 130px 0 130px; /* top, right, bottom, left */
    position: relative;
    border-radius: 12px;
    background: linear-gradient(to right,
            rgb(0, 0, 0) 0%,
            #ffffff00 50%);
    background-image: url('../images/blackbannerbackground.png');
    box-shadow: inset 40vw 0 100px #117b93;
    background-size: 600px;
    background-position: right -50px;
    background-repeat: no-repeat;
    min-height: 131px !important;
    width: 70%;
    max-width: 1176px;
    align-items: center;
    align-self: center;
    text-align: left;
    font-size: 28px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    flex-direction: row;    
}

.warranty-text {
    flex-direction: column;
}



/* Gallery Section */
.gallery-23 {
    width: 100%;
    padding: 112px 64px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    text-align: center;
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.image-gallery {
    font-size: 36px;
    letter-spacing: -0.03em;
    line-height: 120%;
}

.lorem-ipsum-dolor {
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 133%;
    font-weight: 500;
}

/* Slider */
slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-width: 1200px; /* Increased max-width to accommodate multiple slides */
    margin: 0 auto;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px; /* Add gap between slides */
}

.slide {
    flex: 0 0 calc(33.333% - 20px);
    padding: 0 10px;
    box-sizing: border-box;
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

/* Update navigation styles */
.navigation {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.slider-dots {
    display: flex;
    gap: 8px;
}


.slider-buttons {
    display: flex;
    gap: 16px;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
}

.dot.active {
    background-color: #101010;
}

.slider-buttons {
    display: flex;
    gap: 15px;
}

.icon-arrow {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .warranty {
        flex-direction: column;
        justify-content: flex-start;
        height: 500px;
        margin: 20px 20px;
        width: 90%;
        box-shadow: inset 0px 300px 100px #117b93;
        background-size: 140vw;
        background-position: bottom;
    }
    .warranty-text{
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }
    .hero-container{
        padding: 0px;
        margin: 0px;
        overflow: hidden;
        position: relative;
        z-index: 10;
    }
    .service-hero {
        flex-direction: column;
        margin: 0px;
        padding: 0px;
        width: 100%;
        position: relative;
        z-index: 10;
        min-height: 300px;
    }

    .service-hero-image{
        border-radius: 4px;
        min-height: 300px;
        width: 100%;
        object-fit: cover;
        object-position: center;
        z-index: -1;

    }
    .gallery-header{
        margin-bottom: 40px;
    }
    .content {
        position: static;
        padding: 24px 40px;
        max-width: 80%;
        margin-top: 0px;
        margin-bottom: 20px;
        box-shadow: 0px 12px 24px -6px rgba(24, 26, 42, 0.12);
        overflow: visible;
    }

    .heading {
        font-size: 32px;
    }

    .article{
        width: 90%;
    }

    .breadcrumbs {
        justify-content: center;
        gap: 4px;
    }

    .title-parent {
        font-size: 24px;
        margin: 30px 15px;
    }

    .title-parent .title {
        font-size: 32px;
        padding: 0 24px;
    }
    
    .warranty-title{
    font-size: 28px;
    }
    .warranty-description{
        font-weight: 500;
        color: #dcdcdc;
    }
    .snowflake-icon{
        font-size: 32px;
    }
    .title-parent .article {
        font-size: 14px;
    }

    .frame-group {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 90%;
    }

    .our-services-include {
        letter-spacing: 0.2em;
        font-size: 14px;
    }

    .our-services-include-wrapper {
        margin: 0px 20px;
        padding: 15px 20px;
    }

    .frame-group {
        gap: 16px;
        font-size: 18px;
    }

    .gallery-23 {
        padding: 80px 32px;
    }

    .slider, .navigation {
        max-width: 100%;
    }
    .slide {
        flex: 0 0 calc(100% - 20px); /* Show 1 slide on mobile */
    }
    
    .slides {
        gap: 10px;
    }

    @media (min-width: 769px) and (max-width: 1024px) {
        .slide {
            flex: 0 0 calc(50% - 20px); /* Show 2 slides on tablets */
        }
    }
}