@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root {
    --mainColor: rgba(45, 50, 144);
    --mainColorTwo: rgba(6, 10, 78, 0.767);
    --footerColor: rgb(7, 10, 71);
    --textColor: rgb(58, 56, 56);
    --highlightColor: rgb(242, 24, 38);
    --background-color: #f4f4f4;
    --font-family: 'Poppins', sans-serif;
    --mainHeading: 2.5rem;
    --mobileHeading: 2rem;
}

p {
    font-size: 1rem;
    /* Accessible font size (16px) */
    line-height: 1.6;
    /* Better readability */
    margin-bottom: 1rem;
    /* Space between paragraphs */
    text-align: left;
    /* Natural alignment for LTR languages */
    max-width: 90%;
    /* Prevents overly long lines */
    word-break: break-word;
    /* word-spacing: 5px; */
    /* Prevent layout breaking words */
}



body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--background-color);
    /* line-height: 1.6; */
    letter-spacing: .8px;
    scroll-behavior: smooth;

}

#dynamicPage {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

#dynamicPage h1,
#dynamicPage h2,
#dynamicPage h3,
#dynamicPage h4,
#dynamicPage h5,
#dynamicPage h6 {
    margin: 1rem 0px;
    text-align: center;
}

#dynamicPage h2 {
    font-size: 2rem;
    color: var(--mainColor);
    font-weight: 600;
    margin: 2% 0px;
}

#dynamicPage h3 {
    font-size: 2rem;
    color: var(--textColor);
}

#dynamicPage p {
    text-align: justify;
    margin: 1rem auto;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
    padding: .5rem;
    width: 100%;
    border-radius: 10px;
    /* background-color: rgba(255, 255, 255, 0.9); */
    line-height: 1.6;
    /* font-size: 1.1rem; */
    color: var(--textColor);
}

#dynamicPage ul,
#dynamicPage ol {
    margin: 1rem auto;
    padding-left: 2rem;
    list-style: disc;
    list-style-position: inside;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    width: 100%;
    color: var(--textColor);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


#dynamicPage figure img {

    width: 80%;
    margin: 1rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#dynamicPage figure figcaption {

   display: none;
}

.formButton {
    background: linear-gradient(45deg, rgba(45, 50, 144, 0.7), rgba(123, 127, 219, 0.8));
    padding: .5rem 1rem;
    color: white;
    font-size: 18px;
    border-radius: 8px;
}

.formButton:hover {
    background: linear-gradient(45deg, rgba(45, 50, 144, 0.9), rgba(123, 127, 219, 0.9));
    transform: translateY(-2px);
    transition: all 0.3s linear;
}

.mainheading {
    font-size: var(--mobileHeading);
    font-weight: 700;
    color: var(--textColor);
    text-align: center;
}

.navlink {
    text-decoration: none;
    color: var(--textColor);
    font-weight: 500;
    transition: all 0.3s ease;
}

.navlink:hover {
    transform: translateY(-2px);
    color: var(--mainColor);
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--mainColor);
    text-decoration: none;
}

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    animation: float 2s ease-in-out infinite;
}

.float2 {
    position: fixed;
    width: 60px;
    height: 60px;
    left: 20px;
    bottom: 20px;
    background-color: rgba(255 255 255 / 0.8);
    color: var(--mainColor);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.pageBanners {
    background-size: cover;
    background-position: center;
    filter: grayscale(90%);
}

.my-float {
    margin-top: 16px;
}

.btn2:hover span {
    transform: translateX(0)
}

.lines {
    width: 100%;
    height: 2px;
    background-color: var(--highlightColor);
    position: relative;

}



.popup-overlay {
    position: fixed;
    top: 0%;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(45deg, rgba(0 0 0 /.8), rgba(0 0 0 /.7));
    background-size: cover;
    /* padding: 10px 0; */
}

/* Popup Box */
.popup-box {
    padding: 5px;
    border-radius: 10px;
    width: 90%;
    text-align: center;
    position: relative;
    /* background: rgba(255 255 255 /.7); */
    /* background: rgba(163, 163, 235, 1); */
    /* background: rgba(174, 177, 233, 0.8); */
    background: whitesmoke;
    background-size: cover;
}

/* Popup Box Title */
.popup-box {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.queryform {
    /* width: 80%; */
    display: grid;
    gap: 10px;
    padding: 2% 10px;
    border-radius: 5px;
    margin: 0 auto;
    background-color: rgba(255 255 255 /.2);
    box-shadow: -8px 8px 30px rgba(0 0 0 /.1);
}

/* Close Button */
.popup-btn {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    background: var(--mainColor);
    color: white;
    border: none;
    padding: 5px;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;

}

/* Form Styling */
.popup-box input {
    width: 100%;
    padding: 4px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: transparent;
    border-bottom: 2px solid black;
    outline: none;
    font-size: 1rem;
    color: black;
}

.popup-box select {
    width: 80%;
    padding: 4px;
    margin: 10px auto;
    border: none;
    border-radius: 5px;
    background: transparent;
    border-bottom: 2px solid black;
    outline: none;
    font-size: 1rem;
    color: black;

}

.purpose {
    width: 100%;
    padding: 4px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: transparent;
    border: 1px solid black;
    outline: none;
    font-size: 1rem;
    color: black;

}



textarea {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    /* border: none; */
    border: 1px solid black;
    border-radius: 5px;
    /* background: rgba(255, 255, 255, 0.2); */
    background: transparent;
    color: gray;
    outline: none;

}



.popup-box .submitbutton {
    background: #258350b3;
    color: white;
    border: none;
    padding: 5px;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    margin: 2% auto;
}




@media (min-width: 768px) {


    #dynamicPage figure img {

    width: 60%;
}

    .heroHeading {
        text-align: justify;
        word-break: break-all;

    }

    p {
        font-size: 1.2rem;
        /* Accessible font size (16px) */
        text-align: justify;
        /* Natural alignment for LTR languages */
    }

    .float2 {
        bottom: 40px;
        left: 95%;
    }

    .float {
        bottom: 120px;
    }

    .popup-box {
        width: 60%;
        padding: 20px;
    }

    .heroSection {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .mainheading {
        font-size: var(--mainHeading);

    }



}