@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

html, 
body {
    width: auto!important; 
    overflow-x: hidden!important
} 

body {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
}

/* Navigation and hero section */

/* .hero-section {
    background-color: #F04B45;
} */

/* .container {
    padding: 3% 7% 0%;
} */

.navbar {
    background-color: #fff;
    padding: 2rem 2.3rem 1rem;
}

.logo {
    margin-left: -25%;
}

.hero-section-row {
    margin-top: 12%;
}

.hero-text {
    padding: 100px 50px;
}

.hero-heading {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 3%;
    margin-top: -4%;
}

.span-text-one {
    color: #008000;
}

.span-text-two {
    color: #F04B45;
}

.hero-subtitle {
    margin-bottom: 5%;
    width: 90%;
}

.register-btn {
    padding: 12px 40px;
    color: #fff;
    border: none;
    background-color: #F04B45;
    border-radius: 3px;
    text-decoration: none;
    margin-right: 2%;
    transition: 10ms;
}

.register-btn:hover {
    color: #fff;
    background-color: #ef352e;
}

.primary-btn {
    padding: 12px 40px;
    color: #fff;
    border: none;
    background-color: #F04B45;
    border-radius: 3px;
    text-decoration: none;
    margin-right: 2%;
    transition: 10ms;
}

.primary-btn:hover {
    color: #fff;
    background-color: #ef352e;
}


.login-btn {
    padding: 12px 40px;
    color: #000;
    border: none;
    border: 1px solid #F04B45;
    border-radius: 3px;
    text-decoration: none;
    transition: 10ms;
}


.login-btn:hover {
    color: #fff;
    background-color: #F04B45;
}

.hero-img {
    width: 80%;
    padding-top: 3%;
    margin-left: 10%;
}

/* About us */

#about {
    padding: 7% 7%;
}

.section-heading {
    text-align: center;
}

.about-img {
    margin-top: 5%;
    margin-left: 10%;
    width: 80%;
}

.about-text {
    margin-top: 5%;
    margin-right: -30%;
    line-height: 1.8;
}

.about-text a {
    margin-top: 3%;
}

/* Services */

#services {
    padding: 7% 3%;
}

.service-box {
    margin: 3% 1% 3% 1%;
    padding: 3%;
    /* width: 23%; */
    border-radius: 5px;
    background: #FFFFFF;
    border: 1px solid rgba(245, 245, 245, 0.2);
    box-shadow: 10px 20px 40px rgba(158, 158, 158, 0.15);
}

.service-box h3 {
    margin-top: 3%;
    font-size: 1.4rem;
    line-height: 1.5;
}

.service-box p {
    text-align: left;
    color: #707070;
}

#status {
    color: #F04B45;
}

/* Testimonials */

#testimonials {
    padding: 7% 7%;
}

.section-subtitle {
    margin-top: 5px;
    text-align: center;
    color: #707070;
}

.testimonials-box {
    margin: 3% 1% 3% 1%;
    padding: 3%;
    width: 31%;
    padding: 4%;
    background: #FFFFFF;
    border: 1px solid rgba(245, 245, 245, 0.2);
    box-shadow: 10px 20px 40px rgba(158, 158, 158, 0.15);
}

i {
    text-align: left;
    color: #F04B45;
    margin-bottom: 5%;
}

.testimonials-box p {
    text-align: center;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
}

/* Footer */

#footer {
    padding: 7% 7% 2%;
    background: #451E1C;
    margin-top: 5%;
    color: #fff;
}

.footer-img {
    margin-bottom: 10%;
}

.column-one p{
    color: #f0f0f0;
}

#footer ul li {
    list-style-type: none;
    padding: 10px;
    /* margin-right: -50px; */
}

#footer ul li a{
    text-decoration: none;
    color: #d8d8d8;
}

#footer ul li a:hover {
    color: #fff;
}

.copyright {
    margin: 1% 0% 0%;
    font-size: 0.9rem;
}

/* Registration Page */

.helper-heading {
    margin-top: 15%;
    text-align: center;
}

.form-container {
    margin: auto;
    width: 80%;
    padding: 5% 5%;
    margin-top: 5%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.input-group {
    width: 60%;
    margin: auto;
}

.form-check {
    margin-left: 20%;
}

.form-control:focus, .form-check-input:focus {
    border: 3px solid #f59e9b;
    box-shadow: none;
}

.form-check-input:checked {
    background-color: #F04B45;
}

.d-grid {
    margin-top: 7%;
}

.reg-btn {
    padding: 10px ;
    color: #fff;
    border: none;
    background-color: #F04B45;
    margin: 8% 0%;
}

.reg-btn:hover {
    background-color: #ef352e;
    border: none;
    color: #fff;
}

.log-p {
    margin-top: 5%;
    text-align: center;
}

.log-link {
    text-decoration: none;
    color: #968e8e;
    font-size: 1.13rem;
}

.log-link:hover {
    text-decoration: underline;
    color: #968e8e;
}

/* Media Queries */

@media only screen and (min-width: 320px) and (max-width: 480px) {

    /* Navigation bar */

    .navbar {
        box-shadow: 0 15px 15px 0 rgba(195, 195, 195, 0.1);
        margin-bottom: 10%;
    }

    .logo {
        margin-left: -25%;
        width: 80%;
    }

    .navbar-toggler {
        margin-right: -5%;
    }

    .nav-item {
        text-align: center;
        padding: 10px 5px;
    }

    .nav-btn {
        text-align: center;
    }

    /* Hero Section */

    .hero-text {
        text-align: left;
        margin-top: 15%;
    }

    .hero-heading {
        font-size: 2.5rem;
        margin-bottom: 4%;
    }

    .hero-subtitle {
        width: 100%;
        margin-bottom: 17%;
    }

    .primary-btn, .login-btn {
        margin-right: 4%;
        padding: 15px;
        display: block;
        text-align: center;
        margin-bottom: 6%;
    }

    .hero-img-div {
        text-align: center;
    }

    .hero-img {
        margin: 1% auto 15%;
        width: 80%;
    }

    /* About us section */

    #about {
        margin-bottom: 13%;
        padding: 8%;
    }

    .about-img-div {
        text-align: center;
    }

    .about-img {
        margin: 20% auto 15%;
        width: 80%;
    }

    .about-text a {
        margin-top: 10%;
    }

    /* Services section */

    .service-box {
        width: -moz-fit-content;
        width: fit-content;
        margin: 10% 5%;
        padding: 5%;
        box-shadow: 5px 10px 20px rgba(158, 158, 158, 0.15);
    }

    .service-box h3 {
        margin-top: 5%;
    }

    /* Testimonials section */

    #testimonials {
        margin-top: 8%;
    }

    .section-heading {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .testimonials-box {
        width: -moz-fit-content;
        width: fit-content;
        margin: 2%;
        box-shadow: 5px 10px 20px rgba(158, 158, 158, 0.15);
    }

    /* Footer */

    #footer {
        margin-top: 15%;
        padding-bottom: 15%;
    }

    .column-one p {
        line-height: 1.8;
    }

    .footer-heading {
        margin-top: 10%;
        margin-bottom: 3%;
    }

    #footer ul li {
        text-align: left;
    }

    /* Registration Page */

    .helper-heading {
        margin-top: 45%;
        text-align: center;
    }

    .reg-container {
        padding: 0;
    }

    .form-container {
        width: 100%;
        margin-top: 6%;
    }

    .input-group {
        width: 100%;
    }

    .form-control {
        padding: 13px;
    }

    .form-check {
        margin-left: 2%;
    }

    .reg-btn {
        padding: 15px;
    }

    table {
        margin: 1%;
        margin-top: 10%;
        border-spacing: 30px !important;
    }

}