@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');

*{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
    width: fit-content;
}


:root {
    --primary-color: #0284C8;  
    --secondary-color: #1C293C; 
    --accent-color: #0A68A1;    
    --background-color: #E3E9F0; 
    --text-color: #333333;      
  }

body{
    font-family: "Lexend Deca", serif;
}

.header{
    display: flex;
    padding: 20px 140px;
    justify-content: space-between;
    align-items: center;
}

.header-logo{
    width: 120px;
}

.header-button{
    background-color: #65AF48;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.header-button:hover{
    background-color: #192331
}


/* //Hero Section// */

.hero{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 60px 140px;
    background-image: 
        linear-gradient(#00000010 1px, transparent 1px),
        linear-gradient(90deg, #00000010 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 20%,
        black 80%,
        transparent
    ),
    linear-gradient(
        to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        black 20%,
        black 80%,
        transparent
    ),
    linear-gradient(
        to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
    -webkit-mask-composite: source-over;
    mask-composite: multiply;
}

.badge{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    gap: 4px;
    border: 1px solid rgb(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 2px 12px 2px 2px;
    font-weight: 600;
    color: rgb(0, 0, 0, 0.7);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: fit-content;
    background-color: #fff;
}

.badge-element{
    background-color: #65AF48;
    color: #fff;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
}

.hero-title{
    font-size: 38px;
    text-align: center;
    font-weight: 600;
    line-height: 120%;
    text-align: start;
    margin: 16px 0;
}

.hero-desc{
    text-align: center;
    color: rgb(0, 0, 0, 0.7);
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: start;
    line-height: 28px;
}

.hero-products{
    display: flex;
    gap: 16px;
}

.product-badge{
    padding: 8px 20px;
    background-color: #fafafa;
    border-radius: 10px;
    border: 1px solid #E3E9F0;
    cursor: pointer;
    font-weight: 500;
    font-size: 18px;
}

.hero-button{
    background-color: #65AF48;
    color: #fff;
    font-weight: 400;
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    width: 24%;
    margin-top: 20px;
    text-align: center;
}

/* //Hero img// */

.hero-img{
    display: flex;
    justify-content: flex-start;
    width: 50%;
}

.hero-img img{
    border-top-right-radius: 18px;
    border-top-left-radius: 18px;
    display: block;
    width: 400px;
}

.hero-left{
    width: 50%;
}



/* //Section Header// */

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    padding: 40px 140px;
}

.section-header::before,
.section-header::after {
    content: "";
    flex: 1;
    height: 2px; 
    background-color: rgb(0, 0, 0, 0.1); 
    margin: 0 15px; 
}

.product-image img{
    border-radius: 12px;
    width: 500px;
}

.pms{
    display: flex;
    justify-content: space-between;
    padding: 40px 140px;
    flex-direction: row-reverse;
}

.sbw{
    display: flex;
    justify-content: space-between;
    padding: 40px 140px;
}

.product-info{
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    width: 50%;
}

.product-header{
    font-size: 32px;
    font-weight: 600;
    color: #192331;
    line-height: 100%;
    margin-bottom: 10px;
}

.product-desc{
    color: rgb(0, 0, 0, 0.7);
    font-size: 16px;
    font-weight: 300; 
    margin-bottom: 20px;
    line-height: 28px;
}

.product-tag{
    padding: 4px 14px;
    background-color: rgb(101, 175, 72, 0.1);
    border: 1px solid #65AF48;
    font-weight: 500;
    width: fit-content;
    font-size: 14px;
    border-radius: 26px;
    margin-bottom: 16px;
}

.accordion {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f1f1f1;
}

.icon {
    transition: transform 0.3s ease;
}

.accordion-content {
    display: none;
    padding: 15px;
    background: #f9f9f9;
    font-size: 14px;
}

.product-button{
    background-color: #65AF48;
    color: #fff;
    font-weight: 400;
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    text-decoration: none !important;
    width: fit-content;
    margin-top: 20px;
}

.prodcut-link{
    text-decoration: none !important;
}

.why{
    padding: 0 140px 40px 140px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.why-title{
    font-size: 20px;
    text-align: center;
    font-weight: 300;
}

/* Card Styling */
.why-content {
    display: flex;
    justify-content: center; 
    gap: 20px;
    flex-wrap: wrap; 
}

.why-card {
    flex: 1; 
    max-width: 400px; 
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    margin-top: 40px;
    justify-content: center;
}   

/* Image Styling */
.why-card img {
    object-fit: cover;
    width: 120px;
}

/* Text Styling */
.why-info {
    font-size: 16px;
    font-weight: 500;
    text-align: start;
}
.why-desc{
    font-size: 14px;
    color: #333;
    text-align: start;
    line-height: 20px;
    font-weight: 300;
}
/* Hover Effect */
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.why-content{
    display: flex;
    gap: 20px;
}

/* CTA Section Styling */
.cta-section {
    text-align: center;
    color: #000;
    padding: 90px 90px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    background-color: #65AF48;
    width: 100%;
    background-color: #65af48;
background-image: url("/images/arches.png");
}

.cta-text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    width: 50%;
    color: #fafafa;
}

.product-subheader{
    font-size: 24px;
    font-weight: 500;
    margin-top: 4px;
    color: #65AF48;
}

.cta-container{
    display: flex;
    justify-content: center;
    padding: 40px 140px;
}

/* Headline */
.cta-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Description */
.cta-section p {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 400;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-direction: column;
}

/* Button Styling */
.cta-btn {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}


/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Button Base Style */
.cta-btn {
    position: relative;
    overflow: hidden;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    transition: 0.3s ease;
    display: inline-block;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    justify-content: center;
}

/* Creating the Water Flow Effect */
.cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%; /* Start from the left */
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2); /* Light overlay */
    transition: left 0.4s ease-in-out;
}

/* Hover Effect - Move color from left to right */
.cta-btn:hover::before {
    left: 100%; /* Moves to the right */
}

/* PMS Button */
.pms-btn {
    background: #003e61;
}

/* SBW Button */
.sbw-btn {
    background: #003e61;
}

.cta-icon{
    width: 16px;
}


/* Footer Styling */
.footer {
    background: #1C293C;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

.footer-logo {
    width: 120px;       
}

@media(max-width: 1200px){
    .product-image img{
        width: 400px;
    }
    .header{
        padding: 20px 120px;
    }
    .pms{
        padding: 40px 120px;
    }
    .sbw{
        padding: 40px 120px;
    }
    .why{
        padding: 0 120px 40px 120px;
    }
    .cta-container{
        padding: 40px 120px;
    }
    .cta-section{
        padding: 60px 120px;
    }
    .hero{
        padding: 40px 120px;
    }
}

@media(max-width: 1000px){
    .product-image img{
        width: 260px;
    }
    .header{
        padding: 20px 60px;
    }
    .pms{
        padding: 40px 60px;
    }
    .sbw{
        padding: 40px 60px;
    }
    .why{
        padding: 0 60px 40px 60px;
    }
    .cta-container{
        padding: 40px 60px;
    }
    .cta-section{
        padding: 60px 60px;
    }
    .hero{
        padding: 40px 60px;
    }
    .why-content{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-img img{
        width: 350px;
    }
}

@media(max-width: 768px){
    .hero-img{
        display: flex;
        justify-content: center;
        width: auto;
    }
    
    .hero-left{
        width: 100%;
    }
    .hero{
        flex-direction: column;
    }
    .hero-left{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title{
        text-align: center;
    }
    .hero-desc{
        text-align: center;
    }
    .hero-img img{
        width: 240px;
    }
    .product-image img{
        width: 260px;
    }
    .header{
        padding: 20px 20px;
    }
    .pms{
        padding: 40px 20px;
    }
    .sbw{
        padding: 40px 20px;
    }
    .why{
        padding: 0 20px 40px 20px;
    }
    .cta-container{
        padding: 40px 20px;
    }
    .cta-section{
        padding: 60px 20px;
    }
    .hero{
        padding: 40px 20px;
    }
    .pms,
    .sbw{
        flex-direction: column;
    }
    .section-header{
        padding: 40px 20px;
    }
    .product-image{
        display: flex;
        justify-content: center;
    }
    .cta-section {
        flex-direction: column;
    }
    .cta-text{
        text-align: center;
        width: 90%;
        align-items: center;
    }
    .cta-buttons{
        flex-direction: row;
    }
    .product-info{
        width: auto;
    }
}

@media(max-width: 568px){
    .badge{
        font-size: 10px;
    }
    .badge-element{
        font-size: 9px;
    }
    .hero-title{
        font-size: 28px;
    }
    .hero-desc{
        font-size: 14px;
        font-weight: 400;
    }
    .product-badge,
    .hero-button{
        font-size: 14px;
    }
    .section-header{
        font-size: 20px;
    }
    .product-header{
        font-size: 24px;
    }
    .product-desc{
        font-size: 14px;
    }
    .product-image{
        margin-bottom: 16px;
    }
    .why-title{
        font-size: 16px;
    }
    .cta-section h2{
        font-size: 20px;
    }
    .cta-buttons{
        display: flex;
        flex-direction: column;
    }
}