@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-text-color: #183b56;
    --secondary-text-color: #577592;
    --accent-color: #2294ed;
    --accent-color-dark: #1d69a3;
    --padding-inline-section: 1px;

}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-text-color);

}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-family: 'Roboto' sans-serif;
    font-size: 1.25rem;
    color: var(--secondary-text-color);
    line-height: 1.8rem;
}

a {
    text-decoration: none;
    display: inline-block;

}

.flex {
    display: flex;
    align-items: center;
}

.small-bold-text {
    font-size: 1rem;
    font-weight: 500;
}

.container {
    max-width: auto;
    margin-inline: auto;
    padding-inline: var(--padding-inline-section);
    overflow: hidden;
}

.banner-top {
    /* background-image: url(assets/asset\ 0.png); */
    background-size: 300px;
    background-color: #131445;
}

.banner-text {
    color: #fff;
    padding: 15px 30px;
    text-align: center;

}



ul {
    list-style: none;
}


.main-nav {
    margin-top: 20px;
    gap: 40px;

    justify-content: space-between;
}

 .btn-nav{
    
    padding:6px 21px 0px;
    border: none;
    color: #fff;
    border-radius: 14px;
    background-color: #131445;
    
}

.btn-nav a{
    color: #fff;
    text-align: center;
}

.company-logo img {
    width: 59px;
}

.logo{
    display: flex;
align-items: center;
}

.nav-links ul {
    /* align-items: start; */
    justify-content: end;
    gap: 40px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
}

.nav-links {
    flex-basis: 730px;
}

.hover-link {
    color: var(--primary-text-color);
    transition: 0.2s ease-out;
}

.hover-link:hover {
    color: var(--accent-color);
}

.top-btn {
    align-items: end;
}

.primary-btn {
    background-color: var(--accent-color);
    border-radius: 6px;
    font-weight: 700;
    color: #fff !important;
    padding: 12px 24px;
    box-shadow: 0 0 2px var(--secondary-text-color);
    transition: 0.2s ease-out;
}

.primary-btn:hover {
    background-color: var(--accent-color-dark);
}

.secondary-btn {
    width: 130px;
    border: 2px solid var(--secondary-text-color);
    border-radius: 30px;
    font-weight: 700;
    color: var(--primary-text-color);
    padding: 5px 12px;
    transition: 0.2s ease-out;
}

.secondary-btn2 {
    width: 80px;
    /* border: 2px solid var(--secondary-text-color); */
    border-radius: 30px;
    font-weight: 700;
    color: var(--primary-text-color);
    padding: 8px 12px;
    transition: 0.2s ease-out;
    margin: 10px;
}

.secondary-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color) !important;
}

.secondary-btn2:hover {
    background-color: #D1D3FF;
    color: var(--accent-color) !important;
}

.main-section {
    justify-content: space-between;
}

.hero-banner-image-right {
    border-radius: 5px;
    position: absolute;
    top: 70%;
    bottom: auto;
    /* left: auto; */
    left: 30%;
    height: 395px;
    display: none;
}

.hero-banner-image {
    margin-top: 30px;
    border-radius: 5px;
    display: block;
    position: relative;
    height: 500px;
    width: 40vw;
    z-index: -1;
}

.bottom-section {
    flex-flow: column;
    gap: 40px;
    margin-left: 80px;
    /* justify-content: end; */
}


.hero-form-section {
    /* background-color: rgb(236, 242, 240); */
    width: 518px;
    height: 300px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    /* margin-inline: 10px; */
    box-shadow: rgba(0, 0, 0, 0.25) 0px 10px 30px -20px;
    padding: 40px;
    font-family: 'Inter, sans-serif';
    align-items: end;
    align-self: flex-start;
    margin-top: 30px;

}

.hero-form-section-otp{

    width: 420px;
    height: 260px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    /* margin-inline: 10px; */
    box-shadow: rgba(0, 0, 0, 0.25) 0px 10px 30px -20px;
    padding: 40px;
    font-family: 'Inter, sans-serif';
    align-items: end;
    align-self: flex-start;
    margin-top: 30px;

}

.topsec {
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    color: rgb(49, 68, 90);
    margin-bottom: 20px;
    /* padding-bottom: 30px3 */
}

.country-code {
    display: flex;
    background: rgb(246, 244, 255);
    width: 65px;
    height: 65px;
    margin: 10px;
    border: 1px solid rgb(218, 224, 229);
    justify-content: center;
    border-radius: 10px;
    padding-top: 18px;
    font-size: 18px;
    font-family: 'Inter, sans-serif';
    font-weight: bold;

}

.number {
    justify-content: space-between;
}

.inputtxt {
    background: rgb(246, 244, 255);
    width: 350px;
    height: 65px;
    /* margin: 10px; */
    border: 1px solid rgb(218, 224, 229);
    /* text-align: center; */
    border-radius: 10px;
    padding: 25px;
    font-weight: bold;
    font-size: 1rem;
}

.hero-banner-image img{
    z-index: -1;
}

.btn {
    background: #131445;
    width: 436px;
    height: 63px;
    margin: 10px;
    border: 1px solid rgb(218, 224, 229);
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    padding: 20px;
    font-size: medium;
    color: #fff;
}

.otp-btn {
    position: absolute;
    right: 65px;
    background: #131445;
    margin: 10px 0px;
    border: 1px solid rgb(218, 224, 229);
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    padding: 17px;
    font-size: medium;
    color: #fff;
}


.e-link {
    text-decoration: underline;
    margin: 10px;
    color: rgb(31, 130, 104);
    font-weight: 700;
    font-size: 16px;
}

footer {
    /* height: 100px; */
    /* background-size: 300px; */
    background-color: #131445;
}


.footer-section{
    margin-top: 10px;
    text-align: center;
    color: #fff;
    font-size: 1rem;
}

.fs{
    padding-top:5px ;
}

.logo{
    display: flex;
}

.fsp{
    padding-bottom: 10px;
}

.footer-section p{
   
    /* margin-top: 10px; */
    text-align: center;
    color: #fff;
    font-size: 1rem;
    /* padding-bottom: 10px; */

}



/* ================================================================ */



form .txt_field {
    position: relative;
    border-bottom: 2px solid #adadad;
    margin: 30px 0;
}

.txt_field input {
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
}

.txt_field label {
    position: absolute;
    top: 50%;
    left: 5px;
    color: #adadad;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    transition: 0.5s;
}

.txt_field span::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #2691d9;
    transition: 0.5s;
}

.txt_field input:focus~label,
.txt_field input:valid~label {
    top: -5px;
    color: #2691d9;
}

.txt_field input:focus~span::before,
.txt_field input:valid~span::before {
    width: 100%;
}

input[type="submit"] {
    width: 90%;
    height: 45px;
    background: #131445;
    border-radius: 25px;
    font-size: 18px;
    color: #e9f4fb;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: 0.5s;
    border: none;
    margin: 20px;
}

input[type="submit"]:hover {
    border-color: #2691d9;
}

.signup_link {
    margin: 30px 0;
    text-align: center;
    font-size: 16px;
    color: #666666;
}

.signup_link a {
    color: #2691d9;
    text-decoration: none;
}

.signup_link a:hover {
    text-decoration: underline;
}

.select-field {
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: 2px solid #adadad;
    border-radius: 6px;
    background: none;
    outline: none;
    color: #adadad;
}


.stc {
    color: #adadad;
}

.hero-form-section-home {
    /* background-color: rgb(236, 242, 240); */
    width: 518px;
    height: 375px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    /* margin-inline: 10px; */
    box-shadow: rgba(0, 0, 0, 0.25) 0px 10px 30px -20px;
    padding: 40px;
    font-family: 'Inter, sans-serif';
    align-items: end;
    align-self: flex-start;
    margin-top: 30px;

}

.errt{
    margin-top: 30px;
    font-size:1rem; 
    color: red;
}

.err{
    margin-top: 30px;
    font-size:1rem; 
    color: red;
}



/* Search styles */
.search {
    display: flex;
    align-items: center;
  }
  
  #searchInput {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  #searchButton {
    background-color: #131445;;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    margin-left: 5px;
  }
  #searchInput {
     /* Hide input field by default */
     margin: 10px;
      margin-left: 33px;
      width: 58%;
  }

  .searchForm{
    display: flex;
    justify-content: center;
    /* margin-right: 20px; */
  }




/* media query */

@media screen and (max-width: 600px) {
    .container {
        /* max-width: 1180px; */
        margin-inline: 10px;
        padding-inline: 20px;

    }

    .main-section {
        display: flex;
        flex-flow: column;
    }

    .bottom-section {
        flex-flow: column;
        gap: 40px;
        margin-left: 0px;
        /* justify-content: end; */
    }

    .hero-banner-image {
        margin-top: 30px;
        border-radius: 5px;
        /* display: block;
        position: relative; */
        height: 360px;
        width: 90vw;
        z-index: -1;
        /* display: none; */

    }

    .hero-section {
        order: 2;
    }

    .hero-form-section {
        /* background-color: rgb(236, 242, 240); */
        width: 90vw;
        height: 260px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 30px;
        /* margin-inline: 10px; */
        box-shadow: rgba(0, 0, 0, 0.25) 0px 10px 30px -20px;
        padding: 28px;
        font-family: 'Inter, sans-serif';
        align-items: end;
        align-self: flex-start;
        margin-top: 30px;


    }
    .hero-form-section-otp{

        width: 310px;
        height: 260px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 30px;
        /* margin-inline: 10px; */
        box-shadow: rgba(0, 0, 0, 0.25) 0px 10px 30px -20px;
        padding: 40px;
        font-family: 'Inter, sans-serif';
        align-items: end;
        align-self: flex-start;
        margin-top: 30px;
    
    }
    
    .country-code{
        height: 52px;
        margin: 5px;
        padding-top: 15px;
    }
    .inputtxt{
        width: 60vw;
        height: 50px;
    }
    .btn {
       margin:  10px 0px 10px 4px;
        width: 40vw;
        height: 50px;
        padding: 0px;
    }

    .otp-btn {
        position: absolute;
        right: 73px;
        /* position: absolute;
        right: 212px; */
    }

    .btn-nav{
        padding: 7px 21px;
    }

    .hero-text{
        align-items: center;
    }

    .nav-links{
        display: none;
    }

    .hero-form-section-home{
        width: 90vw;
        height: 352px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 30px;
        /* margin-inline: 10px; */
        box-shadow: rgba(0, 0, 0, 0.25) 0px 10px 30px -20px;
        padding: 28px;
        font-family: 'Inter, sans-serif';
        align-items: end;
        align-self: flex-start;
        margin-top: 30px;
    }

    .errt{
        margin-top: 65px;
        font-size:1rem; 
        color: red;
    }

    .err{
        margin-top: 30px;
        font-size:1rem; 
        color: red;
    }

    .searchFormnav{
        display: none;
    }
}



@media (min-width: 610px) and (max-width: 1024px) {

    .container {
        /* max-width: 1180px; */
        margin-inline: 10px;
        padding-inline: 20px;

    }

    .main-section {
        display: flex;
        flex-flow: column;
    }

    .bottom-section {
        flex-flow: column;
        gap: 40px;
        margin-left: 0px;
        /* justify-content: end; */
    }

    .hero-banner-image {
        margin-top: 30px;
        border-radius: 5px;
        /* display: block;
        position: relative; */
        height: 360px;
        width: 90vw;
        /* display: none; */

    }
    .otp-btn {
        
        position: absolute;
        right: 212px;
    }
    .hero-section {
        order: 2;
    }

    #searchInput{
        width: 35%;
    }

    .search{
        display: none;
    }

    .searchForm{
        display: none;
    }

 
}




@media screen and (max-width: 350px) {
    .container {
        /* max-width: 1180px; */
        margin-inline: 10px;
        padding-inline: 20px;

    }

    .main-section {
        display: flex;
        flex-flow: column;
    }

    .bottom-section {
        flex-flow: column;
        gap: 40px;
        margin-left: 0px;
        /* justify-content: end; */
    }

    .hero-banner-image {
        margin-top: 30px;
        border-radius: 5px;
        /* display: block;
        position: relative; */
        height: 400px;
        width: 90vw;
        /* display: none; */

    }

    .hero-section {
        order: 2;
    }

    .hero-form-section {
        /* background-color: rgb(236, 242, 240); */
        width: 90vw;
        height: 352px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 30px;
        /* margin-inline: 10px; */
        box-shadow: rgba(0, 0, 0, 0.25) 0px 10px 30px -20px;
        padding: 28px;
        font-family: 'Inter, sans-serif';
        align-items: end;
        align-self: flex-start;
        margin-top: 30px;


    }

    .inputtxt{
        width: 60vw;
        height: 50px;
    }

    .country-code{

    }
}




