@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&display=swap');

*,
::after,
::before {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

:root {
    --background: #f8f8f8;
    /* --btn: #fded22; */
    --btn: #dbb140;
    --btn-hover: rgb(28, 24, 7);
    --heading: #1E2A49;
    --paragraph: #4A5A7A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif !important;
    background-color: var(--background);
}

h1,
h2,
h3,
h4,
h5,
h6,
li {
    color: var(--heading) !important;
    font-family: "Quicksand", sans-serif !important;
}

button {
    background-color: var(--btn) !important;
    color: var(--heading) !important;
    /* transition: all 0.5s !important; */
    font-weight: 600 !important;
}

button:hover {
    background-color: var(--btn-hover) !important;
    color: white !important;
}

p,
span {
    color: var(--paragraph);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes windowOpen {
    0% {
        transform: perspective(800px) rotateX(-80deg);
        opacity: 0;
        transform-origin: top;
    }

    60% {
        transform: perspective(800px) rotateX(20deg);
        opacity: 1;
    }

    100% {
        transform: perspective(800px) rotateX(0deg);
        opacity: 1;
    }
}

.window-open {
    animation: windowOpen 0.4s ease-out forwards;
}

/* Overlay */
#overlay {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: none;
}

/* Navbar Start */
#nav-main {
    background-color: white;
}

#nav-main li {
    position: relative;
}

#nav-main li::before {
    content: '';
    position: absolute;
    left: 0px;
    bottom: -5px;
    width: 0%;
    height: 5px;
    background-color: var(--btn);
    transition: width 0.3s;
    border-radius: 15px;
}

#nav-main li:hover::before {
    width: 100%;
}

#nav-main button {
    color: white !important;
    background-color: #245494 !important;
}

#nav-main button:hover {
    color: var(--heading) !important;
    background-color: var(--btn) !important;
}

#nav-main button:hover span {
    color: var(--heading) !important;
}

#close-nav-tab {
    position: fixed;
    top: 5%;
    right: 5%;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 2;
    display: none;
}

#hamBtn {
    display: none;
}

#nav-tabs img {
    display: none;
}

#contact-ping {
    box-shadow: 0px 1.2px 3px 2px lightgrey;
    padding: 10px 20px;
    border-radius: 30px;
}

#call-ping {
    position: absolute;
    top: -25%;
    left: -25%;
    height: 150%;
    width: 150%;
    background: rgba(36, 84, 148, 0.452);
    border-radius: 50%;
    animation: ping 1s ease infinite;
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@media (max-width: 550px) {
    #contact-ping {
        box-shadow: none;
    }

    #contact-ping p {
        display: none;
    }

    #nav-btn-main {
        gap: 0.5rem;
    }
}

@media (min-width: 550px) and (max-width: 768px) {
    #contact-ping {
        padding: 5px 10px;
    }

    #contact-ping p {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    #nav-main {
        position: relative;
        padding: 0.5rem 1.5rem;
    }

    #hamBtn {
        display: block;
    }

    #nav-tabs img {
        display: block;
    }

    #nav-main img {
        width: 6rem;
    }

    #nav-tabs {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        padding: 2rem;
        box-shadow: 1px 0px 3px 0px lightgrey;
        background: white;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        transition: left 0.5s;
        z-index: 2;
    }

    #nav-tabs img {
        width: 8rem;
    }

    #nav-tabs ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    #nav-main button span {
        font-size: 12px;
        font-weight: 700;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    #contact-ping p {
        display: none;
    }

    #contact-ping {
        padding: 0px;
        box-shadow: unset;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    #nav-main {
        padding: 1rem 2rem;
    }

    #nav-main img {
        width: 7rem;
    }

    #nav-tabs ul {
        font-size: 13px;
        gap: 1rem;
    }

    #nav-main button span {
        font-size: 12px;
    }

}

@media (min-width: 1001px) and (max-width: 1300px) {
    #contact-ping p {
        font-size: 12px;
    }

    #nav-tabs ul {
        font-size: 14px;
        gap: 1rem;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    #nav-main {
        padding: 1rem 2rem;
    }
}

@media (min-width: 769px) and (max-width: 784px) {
    #nav-tabs ul {
        gap: 0.5rem;
    }
}

@media (max-width: 400px) {
    #contact-ping {
        padding: 10px;
    }

    #nav-btn-main {
        gap: 5px;
    }
}

/* Navbar End */

/* Hero Section Start */
#hero_btn:hover {
    color: white !important;
    background-color: #245494 !important;
}

@media (max-width:1023px) {
    #hero_main {
        padding-top: 12px;
    }

    #hero_main h1 {
        margin-top: 1rem;
        font-size: 2rem;
    }

    .hero-para {
        margin-top: 1rem !important;
        font-size: 0.9rem !important;
    }

    #hero-btn-main {
        margin-top: 10px;
    }

    #hero_main_div {
        gap: 0px;
    }
}

@media (min-width: 501px) and (max-width: 1023px) {
    #hero_main {
        padding-top: 2rem;
    }

    #hero_main h1 {
        font-size: 2.5rem;
    }

    .hero-para {
        font-size: 1.1rem !important;
    }
}

/* Hero Section End */

@media (max-width: 460px) {
    #hero_sm_p {
        display: none;
    }
}

/* What You get section start */
@media (max-width: 900px) {
    .you-get-asset-img {
        display: none;
    }
}

/* What You get section end */

/* who for main start */
#who-anchor:hover {
    color: white !important;
    background-color: #245494 !important;
}

@media (max-width:1023px) {
    #who-for-tag {
        margin-bottom: 10px;
    }

    #who-for-main {
        padding-bottom: 0px;
    }
}

@media (max-width:768px) {
    #who-for-div {
        gap: 1.5rem;
    }

    #who-for-tag {
        margin-bottom: 0px;
    }

    #who-for-head {
        margin-bottom: 1rem;
    }
}

@media (max-width:500px) {
    #who-for-div {
        gap: 1rem;
    }
}

/* who for main end */

/* You get main start */
@media (max-width:767px) {
    #you-get-main {
        padding-top: 0rem;
        padding-bottom: 2rem;
    }

    #you-get-heading {
        margin-bottom: 1rem;
    }

    #you-get-con {
        gap: 1.5rem;
    }
}

@media (min-width:768px) and (max-width: 1023px) {
    #you-get-main {
        padding-top: 0px;
    }

    #you-get-heading {
        margin-bottom: 2rem;
    }

    #you-get-con {
        gap: 2rem;
    }
}

/* You get main end */

/* About Start */
#about_main {
    grid-template-columns: 60% 40%;
}
#home_main {
    grid-template-columns: 60% 40%;
}

#about-info-con h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

#about-info-con p {
    font-weight: 500;
    font-size: 13px;
}

.about-img-wrapper {
    position: relative;
    display: inline-block;
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgb(218 252 112 / 78%));
    border-radius: 1rem;
    /* Match your rounded-2xl */
    z-index: 2;
}

#about-main-img {
    display: block;
    border-radius: 1rem;
    /* same as overlay */
    position: relative;
    z-index: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rotating-text {
    animation: rotate 10s linear infinite;
}

@media (max-width:1023px) {
    #about_main {
        grid-template-columns: unset;
    }

    #about-head {
        margin-bottom: 1.5rem;
    }

    #about-info-con {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 5rem;
    }

    #about-info-div-first,
    #about-info-div-second {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    #about-info-div-first div,
    #about-info-div-second div {
        width: 100%;
    }

    #about-bg-box {
        top: 60%;
        bottom: unset;
    }

    .about-img-wrapper {
        width: 20rem !important;
    }

    .about-small-img img {
        width: 12rem;
        border: 2px solid #1e2a4936;
        top: 63%;
        bottom: unset;
        left: -5%;
    }

    #about-circle {
        display: none;
    }
}

@media (min-width:1024px) and (max-width:1279px) {
    #about_main {
        gap: 1rem;
        grid-template-columns: 50% 40%;
    }

    #about-circle {
        display: none;
    }

    #about-info-con {
        display: grid;
        grid-template-columns: unset;
    }

    #about-bg-box {
        top: 38%;
        left: -6%;
    }

    .about-img-wrapper {
        width: 20rem;
    }

    .about-small-img img {
        bottom: unset;
        top: 39%;
        left: -8%;
    }
}

/* About End */

/* FAQ START*/
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.submit-btn:hover {
    color: white !important;
    background-color: #245494 !important;
}

.faq-item {
    /* background: linear-gradient(180deg, #fded224a 40%, #fded22); */
    /* border: 1px solid #fded22; */
}

/* FAQ END */

#contact-sb-btn button:hover span {
    color: white;
}

@media (max-width: 1024px) {
    #faq-main{
        padding-top: 1rem;
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 450px) {
    #contact-main-email {
        font-size: 15px;
    }
}

/* footer start*/
footer {
    background: black !important;
}

footer h3 {
    color: var(--btn) !important;
}

footer ul li {
    color: white !important;
}

footer ul li span {
    color: white !important;
    margin-right: 5px;
}

#footer_contact a {
    color: #d3d3d3d9 !important;
}

footer button {
    transition: transform 0.3s;
}

footer button:hover {
    background: #e7da1d !important;
    transform: translateY(-5px);
    color: black !important;
}

#brand p {
    color: #d3d3d3d9 !important;
}

@media (min-width: 1023px) {
    #footer_con {
        grid-template-columns: 25% 15% 25% 25%;
    }
}

@media (min-width: 1450px) {
    #footer_con {
        gap: 3rem;
        max-width: 90%;
    }
}

/* footer end*/