:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --background-color: #ffffff;
    --text-color: #333;
    --white: #ffffff;
    --black: #000;
    --yellow: #ECB403;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/*--------------------------------------------------------------
# Common Theme Button
--------------------------------------------------------------*/

.thm-btn {
    position: relative;
    vertical-align: middle;
    background-color: var(--yellow);
    color: var(--black);
    font-size: 16px;
    border: none;
    border-radius: 8px;
    padding: 12px 35.44px;
    transition: all 0.5s linear;
    overflow: hidden;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    z-index: 1;
    font-weight: 500;
    line-height: 22px;
}

.thm-btn:hover {
    color: var(--main-white);
}

.thm-btn:before {
    position: absolute;
    content: "";
    background-color: var(--white);
    width: 120%;
    height: 0;
    padding-bottom: 120%;
    top: -110%;
    left: -10%;
    border-radius: 50%;
    transform: translate3d(0, 68%, 0) scale3d(0, 0, 0);
    z-index: -1;
}

.thm-btn:hover::before {
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}

.thm-btn:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-color: var(--white);
    transform: translate3d(0, -100%, 0);
    transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
    z-index: -1;
}

.thm-btn:hover::after {
    transform: translate3d(0, 0, 0);
    transition-duration: 0.05s;
    transition-delay: 0.4s;
    transition-timing-function: linear;
}

/* common heading */

.section-heading .title {
    font-size: 48px;
    font-weight: bold;
    color: var(--white);
    padding: 0 50px 20px 0;
    margin-bottom: 0;
}

.section-heading .sub-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0;
}

.section-heading .desc {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 0;
}

/* common class */

.pb-55 {
    padding-bottom: 55px;
}

.pb-40 {
    padding-bottom: 40px;
}

.pt-117 {
    padding-top: 117px;
}

.pb-117 {
    padding-bottom: 117px;
}

.py-60 {
    padding: 60px 0;
}

.pb-60 {
    padding-bottom: 60px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
}

.logo-img {
    width: 320px;
    height: auto;
}

.navbar-toggler:hover:focus:active {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    padding-left: 0;
    padding-bottom: 0;
    padding-top: 0;
    vertical-align: bottom;
    color: var(--text-color);
}

.navbar-toggler i {
    font-size: 30px;
}

header .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(0, 123, 255, 0.1);
}

header .nav-link,
header .nav-link.active {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 15px 10px !important;
    vertical-align: middle;
    border-radius: 5px;
    font-size: 20px;
}

header .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(0, 123, 255, 0.1);
}

/* Hero Section */
.hero {
    background: url('image/new/hero-bg.png') no-repeat top left / cover;
    padding: 135px 0 60px;
}


.hero .hero-img {
    max-width: 100%;
    max-height: 100%;
}

/* Appointment Steps */

.step-boxes {
    row-gap: 30px;
    column-gap: 100px;
    flex-wrap: wrap;
}

.step-box {
    width: 280px;
    height: 342px;
    background: linear-gradient(180deg, rgba(236, 180, 3, .15) 0%, rgba(68, 85, 195, .15) 100%);
    border-radius: 30px;
    padding-bottom: 92px;
    padding-top: 54px;
    margin-bottom: 27px;
    position: relative;
}

.step-box:not(:last-child):after {
    content: '';
    width: 85px;
    position: absolute;
    right: -92px;
    height: 7px;
    top: 50%;
    transform: translateY(-50%);
    background: url(image/new/right-arrow.png) no-repeat center / cover;
}

.step-box:hover {
    outline: 1px solid #b6b6b6ac;
    outline: -1px;
}

.step-box:hover .step-icon {
    outline: 1px solid var(--yellow);
    outline-offset: -4.8px;
}

.step-icon {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white) url(image/new/steps-icon.svg) no-repeat;
    background-position: center;
    background-size: 50px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.step-box-inner {
    padding: 0 26px;
    text-align: center;
}

.step-box-logo {
    display: inline-block;
    padding-bottom: 9px;
    width: 46px;
    height: 46px;
    background: url(image/new/steps-logo.svg) no-repeat;
    background-position: 0 0;
    background-size: cover;
}

.step-box:nth-child(2) .step-box-logo {
    background-position: 0 -77px;
}

.step-box:nth-child(3) .step-box-logo {
    background-position: 0 -154px;
}

.step-box-heading {
    font-size: 20px;
    font-weight: bold;
    line-height: 32px;
    color: var(--black);
    text-transform: capitalize;
    padding-bottom: 10px;
    margin-bottom: 0;
}

.step-box-desc {
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    color: var(--black);
    text-transform: capitalize;
    margin-bottom: 0;
}

/* Our Features */


.features-section {
    background-color: #E3E7FF;
}

.features-boxes {
    display: flex;
    justify-content: center;
    align-items: top;
    flex-wrap: wrap;
    column-gap: 72px;
    row-gap: 40px;
}

.features-box-item {
    width: 260px;
    text-align: center;
}

.features-box {
    height: 260px;
    background-color: var(--white);
    border-radius: 40px;
    padding: 70px;
    margin-bottom: 30px;
    transition: .3s ease-in-out;
}

.features-box-item:hover .features-box {
    box-shadow: 2px 5px 16px 0px #68686857;
}

.features-box .features-icon {
    width: 120px;
    height: 120px;
    background: url(image/new/features-icons.svg) no-repeat;
    background-size: 120px;
    background-position: 0 0;
    display: inline-block;
}

.features-box-item:nth-child(2) .features-box .features-icon {
    background-position: 0 -170px;
}

.features-box-item:nth-child(3) .features-box .features-icon {
    background-position: 0 -348px;
}

.features-box-item:nth-child(4) .features-box .features-icon {
    background-position: 0 -520px;
}

.feature-box-desc {
    font-size: 30px;
    font-weight: 600;
    line-height: 140%;
    color: var(--black);
    margin-bottom: 0;
}

/* Trusted By Section */
.trusted-by {
    background-color: var(--white);
}

.trusted-by-boxes {
    gap: 28px;
}

.trusted-by-box {
    text-align: center;
    width: 400px;
    border-radius: 40px;
    padding: 16px 25px 28px 29px;
    background-color: #F1F3FF;
}

.trusted-by-box:hover {
    box-shadow: 2px 5px 16px 2px #b7deefa8;
}

.trusted-by-box a {
    font-size: 18px;
    line-height: 140%;
    color: var(--black);
    text-decoration: none;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 140%;
    color: var(--black);
    margin-bottom: 26px;
    text-align: center;
    position: relative;
}

.company-name::before {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #4454C3;
    position: absolute;
    left: 0;
    bottom: -12px;
    margin-top: 12px;
}

.address-info {
    margin-bottom: 12px;
}

.email-info {
    margin-bottom: 9px;
}

.contact-info {
    margin-bottom: 0;
}

.email-info span,
.contact-info span {
    font-weight: 600;
}

/* footer  */
footer {
    background-color: #4454C3;
    padding-top: 45px;
}

.footer-logo {
    width: 360px;
    margin-bottom: 31px;
}

.footer-logo-desc,
.footer-logo-desc a {
    font-size: 16px;
    line-height: 23px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0;
    position: relative;
    text-decoration: none;
    /* transition: .3s ease-in-out; */
}

.hover-mail:hover a, .hover-mail:hover .fa-regular.fa-envelope {
    color: var(--yellow);
}

.col-md-4:not(:first-child) .footer-logo-desc,
.col-md-4:not(:first-child) .footer-logo-desc {
    padding-left: 15px;
}

address .footer-logo-desc i,
.col-md-3:last-child .footer-logo-desc i {
    top: 2px;
}

.footer-logo-desc i {
    position: absolute;
    content: '';
    left: -8px;
    top: 6px;
    color: var(--white);
}

.copy-right {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    padding: 23px 0 27px;
    margin-top: 37px;
    text-align: center;
    border-top: 1px solid #ffffff2f;
}

.social-icons {
    gap: 18px;
    margin-bottom: 68px;
}

.social-icons .icon {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    text-decoration: none;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .1);
    font-size: 19px;
}

.social-icons .icon:hover {
    background-color: var(--yellow);
}

/* All Responsive Design */

@media (min-width: 345px) and (max-width: 576px) {
    main .hero {
        background: url('image/new/hero-bg2.png') no-repeat top right / cover;
    }
}

@media (max-width: 576px) {
    header .logo-img {
        width: 210px;
    }

    body footer {
        padding-top: 25px;
    }

    footer .social-icons {
        margin-bottom: 24px;
    }

    footer .copy-right {
        padding: 15px 0 15px;
        margin-top: 20px;
    }
}

@media (max-width:767px) {
    .navbar-collapse {
        margin-top: 15px;
        background: #4454c31c;
        border-radius: 5px;
        padding: 5px;
    }

    main .hero {
        padding: 90px 0 30px;
    }

    main .step-box::after,
    main .step-box::before {
        display: none;
    }
}

@media (max-width:992px) {
    .logo-img {
        width: 250px;
    }

    header .nav-link,
    header .nav-link.active {
        font-size: 18px !important;
    }

    .section-heading .title {
        font-size: 32px;
        padding: 0 30px 12px 0;
    }

    .section-heading .sub-title {
        font-size: 28px;
    }

    .section-heading .desc {
        font-size: 22px;
    }

    /* common class */

    .pb-55 {
        padding-bottom: 25px;
    }

    .py-60 {
        padding: 30px 0;
    }

    .pb-60 {
        padding-bottom: 30px;
    }
}

@media (max-width: 1199px) {
    main .step-box:nth-child(2)::after {
        display: none;
    }

    main .step-box:nth-child(3)::before {
        content: '';
        width: 85px;
        position: absolute;
        left: -92px;
        height: 7px;
        top: 50%;
        transform: translateY(-50%);
        background: url(image/new/right-arrow.png) no-repeat center / cover;
    }
}
