:root{
    --primary-color2: #3c418c;
    --secondary-color2: #9e281d;
    --white: #ffffff;
}

*{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

p, h1{
    overflow: hidden;
}



::-webkit-scrollbar {
    width: 8px; 
    height: 8px; 
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color2); 
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background-color: #f0f0f0; 
}

::selection {
    background-color: var(--primary-color2); 
    color: white; 
}

.highlight{
    color: var(--secondary-color2);
}

.hero{
    width: 100vw;
    height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 100px;
    margin-top: 0px;
    position: relative;

}

.hero::before {
    content: ''; /* Empty content for the pseudo-element */
    position: absolute; /* Position it absolutely to cover the hero section */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #002e5b75; /* Blue tint with 50% opacity */
    z-index: 1; /* Put the overlay above the background but below the content */
  }

.hero-s1{
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.hero-h1{
    color: white;
    font-size: 60px;
    font-weight: 700;
}

.hero-p1{
    color: white;
    font-size: 20px;
}


.hero-button {
    background-color: white;
    border: none;
    color: var(--primary-color2);
    width: 200px;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 50px; /* Vertically center the text */
    transition: all 0.3s ease; /* Smooth transition for all properties */
}

/* Hover state for the animation */
.hero-button:hover {
    transform: translateY(-4px); /* Slightly move the button upwards */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2); /* Drop shadow */
}

.section-1{
    width: 100vw;
    height: auto;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 100px;
    overflow: hidden;
}

.s1-c1{
    width: 90vw;
    margin: auto;
}

.s1-c1-h1{
    color: var(--primary-color2);
    font-size: 40px;
    font-weight: 700;
}

.s1-c1-hr{
    width: 40%;
}

.s1-c1-p1{
    color: var(--secondary-color);
}

.s1-c2{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: fit-content;
    width: 90vw;
    margin: auto;
    padding: 30px 0;
}

.s1-c2-block{
    width: 30%;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    gap: 20px;
    align-items: center;
}

.s1-c2-image{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 200px;
    width: 100%;
}

.s1-c2-p1{
    font-size: 24px;
    color: var(--primary-color2);
    font-weight: bold;
}

.s1-c2-p2{
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: lighter;
    font-style: italic;
}

.s1-c2-button{
    background-color: var(--secondary-color2);
    color: white;
    height: 50px;
    width: 150px;
    border: none;
    font-weight: bold;
    font-size: 12px;
}

.section-2{
    height: auto;
    width: 90vw;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 100px;
}

.s2-c1, .s2-c2{
    height: 400px;
    width: 45%;
}

.s2-c1{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.s2-c2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}

.s2-c2-h1{
    color: var(--primary-color2);
    font-size: 40px;
    font-weight: bold;
}

.s2-c2-p1{
    font-size: 20px;
    color: var(--secondary-color2);
}

.s2-c2-p2{
    font-size: 14px;
    color: var(--secondary-color);
    font-style: italic;
}

.s2-c2-button{
    background-color: var(--secondary-color2);
    color: white;
    height: 50px;
    width: 150px;
    border: none;
    font-weight: bold;
    font-size: 12px;
}

.section-3{
    margin:100px  auto;
    width: 90vw;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    
}

.s3-c1{
    width: 100%;
}

.s3-c1-h1{
    font-size: 40px;
    color: var(--primary-color2);
    font-weight: 700;
}

.s3-c2{
    height: 500px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


.s3-c2-block{
    height: 500px;
    width: 30%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: flex-end;
}

.s3-c2-lowerblock{
    background-color: #f9f9f9;
    height: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 50px;
}

.s3-c2-p1{
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color2);
}

.s3-c2-p2{
    font-weight: lighter;
    color: var(--secondary-color);
}

.section-5{
    width: 100vw;
    height: 500px;
    background-color: #f1f1f1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 0 150px ;
    margin: 100px 0;
}

.s5-c1{
    width: 60%;
}

.s5-c1-h1{
    font-weight: 700;
    color: var(--primary-color2);
}

.s5-hr{
    width: 60%;
}

.s5-c1-p1{
    color: var(--secondary-color);
}

.s5-c1-h3{
    font-size: 18px;
    font-weight: 700;
}

.inputs{
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 90%;
}

.s5-inputs{
    height: 50px;
    width: 250px;
    padding: 0 20px;
    border: none;
    color: var(--secondary-color);

    border: none;              /* Remove default border */
    outline: none;             /* Remove default focus outline */
    transition: border-color 0.3s ease; /* Smooth transition for border color */

}

.s5-inputs:focus {
    border-bottom: 2px solid var(--primary-color2); /* Orange border on focus */
  }

.s5-button{
    height: 50px;
    width: 250px;
    padding: 0 20px;
    border: none;
    background-color: var(--primary-color2);
    color: white;
    transition: all 0.3s ease; /* Smooth transition for all properties */
}

/* Hover state for the animation */
.s5-button:hover {
    transform: translateY(-4px); /* Slightly move the button upwards */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2); /* Drop shadow */
    color: white; /* Keep the text color the same when hovered */

}

.section-7{
    margin: 100px auto 50px auto;
    width: 90vw;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 40px;

}

.s7-c2{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.s7-c2-block{
    height: 600px;
    width: 45%;
    display: flex;
    flex-direction: column;

}

.s7-block-inner1{
    height: 70%;
}

.s7-block-inner2{
    height: auto;
    width: 100%;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 30px;
    
}

.s7-block-inner2 > p{
    color: var(--secondary-color);
    display: flex;
    gap: 20px;
}

.inner-icons{
    color: var(--primary-color2);
}



#inner-p1{
    font-size: 24px;
    color: var(--primary-color2);
        font-weight: bold;
}

.branch-frame{
    height: 100%;
    width: 100%;
    border: none;
}

@media screen and (max-width: 900px) {
    .hero{
        justify-content: center;
        align-items: center;
        padding: 50px 0;
        margin-top: 100px;
        height: fit-content;
    }

    .hero-s1{
        width: 80%;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: fit-content;
    }

    .hero-h1{
        font-size: 34px;
    }

    .section-1{
        margin: 50px 0;
    }

    .s1-c2{
        flex-direction: column;
        gap: 30px;
    }

    .s1-c2-block{
        width: 95%;
    }

    .section-2{
        flex-direction: column;
        gap: 30px;
        margin: 50px 0;
        justify-content: center;
        width: 100%;
    }

    .s2-c1,.s2-c2{
        width: 95%;
    }

    .s2-c2{
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .section-3{
        flex-direction: column;
        width: 90vw;
        margin: 50px auto;
        padding: 0;
        gap: 0px;
    }

    .s3-c1{
        width: 100%;
        height: auto;
    }

    .s3-c2{
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 20px;
        padding: 10px 0;
    }

    .s3-c2-block{
        width: 100%;

    }

    .s3-c1-h1{
        text-align: center;
    }

    .section-5{
        flex-direction: column;
        height: fit-content;
        width: 100vw;
        padding: 20px 0;
        align-items: center;
        margin: 50px auto;
        
    }

    .s5-c1{
        width: 90%;
    }

    .inputs{
        width: 90%;
        gap: 20px;
        height: auto;
        flex-direction: column;
    }

    .s5-inputs{
        width: 100%;
        margin-bottom: 20px;
    }

    .s5-button{
        width: 100%;
        margin-bottom: 20px;
    }

    .s7-c2-block{
        width: 100%;
    }
    
}
