html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100%;
    text-rendering: optimizeLegibility;
}

img,
video,
iframe,
model-viewer {
    max-width: 100%;
}

.header_area,
.main_menu,
.navbar {
    max-width: 100%;
}

.header_area .navbar-brand.logo_h {
    align-items: center;
    display: flex;
    min-height: 64px;
    padding: 0;
}

.header_area .navbar-brand .item-align {
    align-items: center;
    display: flex;
    margin-left: 0;
    margin-right: 0;
}

.header_area .header-icon {
    align-items: center;
    display: inline-flex;
    height: 58px;
    justify-content: center;
    width: 88px;
}

.header_area #img-size {
    display: block !important;
    height: 50px;
    margin: 0;
    object-fit: contain;
    width: 82px;
}

.header_area #header-logo-text {
    display: block !important;
    font-size: 28px;
    line-height: 1;
    margin: 0;
}

.spegz-ar-page .header_area .header-icon {
    background: #fff;
    border-radius: 8px;
    height: 54px;
    overflow: hidden;
    width: 74px;
}

.spegz-ar-page .header_area #img-size {
    height: 50px;
    object-fit: contain;
    width: 70px;
}

.navbar .nav > li > a,
.navbar .nav > li > button,
.book_now,
.primary_btn {
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.navbar .nav > li > a:hover,
.navbar .nav > li > button:hover,
.book_now:hover,
.primary_btn:hover {
    transform: translateY(-1px);
}

.home_common_area,
.random_section,
.img1,
.img5,
.merits-bg,
.mobile-app,
.blog-listing-section {
    overflow: hidden;
}

.home_banner_area .row,
.random_section > .row,
.mobile-app > .row,
.testi > .row {
    margin-left: 0;
    margin-right: 0;
}

.banner-video,
.offer video,
.blog-post-card,
.product,
.pricing,
.pricing_1,
.card,
.card-1,
.card-2,
.card-3,
.round-bg,
.b2school-plan-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.banner-video,
.offer video {
    box-shadow: 0 18px 40px rgba(21, 24, 67, 0.16);
}

.home-page-carousel .video-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: auto;
    max-width: 620px;
    width: 100%;
}

.home-page-carousel .banner-video {
    aspect-ratio: 16 / 9;
    display: block;
    height: auto;
    margin-left: 0;
    margin-right: auto;
    max-height: 360px;
    max-width: none;
    object-fit: cover;
    width: 100%;
}

.home-page-carousel,
.home-page-carousel .banner_inner {
    overflow: visible;
}

body > footer.ftr:last-of-type,
.ftr {
    margin-bottom: 0;
}

.spegz-hero-row {
    align-items: center;
}

.spegz-hero-person {
    text-align: center;
}

.product,
.pricing,
.pricing_1,
.card,
.card-1,
.card-2,
.card-3,
.b2school-plan-card {
    border-radius: 8px;
}

.product:hover,
.pricing:hover,
.pricing_1:hover,
.card:hover,
.card-1:hover,
.card-2:hover,
.card-3:hover,
.b2school-plan-card:hover {
    border-color: rgba(255, 64, 54, 0.45);
    box-shadow: 0 16px 36px rgba(21, 24, 67, 0.16);
    transform: translateY(-6px);
}

.round-bg:hover {
    box-shadow: 0 14px 32px rgba(21, 24, 67, 0.18);
    transform: translateY(-4px);
}

.sec_header,
.heading_text {
    letter-spacing: 0;
    line-height: 1.25;
}

.center-vr-image,
.mobile-image,
.size-align {
    text-align: center;
}

.center-vr-image img,
.mobile-image img,
.size-align img,
.person-img {
    height: auto;
}

.home-page-carousel .person-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 430px;
    max-width: min(420px, 100%);
    object-fit: contain;
}

.spegz-product-page .common-head-outer {
    padding: 34px 0;
}

.spegz-product-page .section-one .row,
.spegz-product-page .home_banner_area .row {
    align-items: center;
}

.spegz-product-page #tech .spc-pad-10 {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-left: auto;
    margin-right: auto;
    max-width: 1120px;
    padding-left: 10px;
    padding-right: 10px;
}

.spegz-product-page #tech .spc-pad-10::before,
.spegz-product-page #tech .spc-pad-10::after {
    content: none;
    display: none;
}

.spegz-product-page #tech .team-image-width1 {
    padding: 0;
    width: 100%;
}

.spegz-product-page #tech .box-bg-shape {
    align-items: center;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 178px;
    min-height: 0;
    padding: 22px 10px;
    width: 100%;
}

.spegz-product-page #tech .box-bg-shape:hover {
    transform: translateY(-5px);
}

.spegz-product-page #tech .small-text-heading {
    font-size: 14px;
    line-height: 1.3;
    margin: 14px 0 0;
    overflow-wrap: anywhere;
}

.spegz-product-page #tech .box-bg-shape img {
    height: 58px;
    width: 58px;
}

.spegz-product-page .service-banner-content {
    padding: 24px 15px;
}

.spegz-product-page .youtube-position iframe {
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(21, 24, 67, 0.15);
}

@media (max-width: 991px) {
    .home_banner_area {
        padding-top: 86px;
    }

    .navbar-collapse.menu-list.show {
        background: #FDE5B4;
        border-top: 1px solid rgba(30, 35, 77, 0.08);
        box-shadow: 0 16px 28px rgba(30, 35, 77, 0.12);
        display: block !important;
        left: 0;
        padding: 12px;
        position: absolute;
        right: 0;
        top: 100%;
        width: 100%;
        z-index: 1200;
    }

    .navbar-collapse.menu-list.show .navbar-nav {
        align-items: stretch;
        display: flex;
        flex-direction: column;
        margin: 0;
        position: static;
        width: 100%;
    }

    .navbar-collapse.menu-list.show .nav-item {
        display: block;
        margin: 5px 0;
        width: 100%;
    }

    .navbar-collapse.menu-list.show .book_now,
    .navbar-collapse.menu-list.show .primary_btn,
    .navbar-collapse.menu-list.show .nav-link {
        display: block;
        margin: 0 !important;
        width: 100%;
    }

    .navbar-collapse.menu-list.show .dropdown-menu {
        border: 0;
        box-shadow: none;
        float: none;
        margin: 6px 0 0;
        position: static;
        text-align: center;
        width: 100%;
    }

    .navbar-collapse.menu-list.show .dropdown.show .dropdown-menu {
        display: block;
    }

    .banner-video {
        margin: 0 auto 24px;
    }

    .home-page-carousel .video-wrapper {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 560px;
    }

    .person-img {
        margin: 24px auto 0;
    }

    .spegz-product-page .common-head-outer {
        padding: 28px 0;
    }

    .spegz-product-page #tech .spc-pad-10 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-left: 12px;
        padding-right: 12px;
    }

    .spegz-product-page #tech .box-bg-shape {
        max-width: 220px;
    }
}

@media (max-width: 767px) {
    .container {
        width: 100%;
    }

    .home_common_area {
        padding-left: 0;
        padding-right: 0;
    }

    .home-page-carousel .col-md-6:first-child {
        display: flex;
        justify-content: center !important;
        width: 100%;
    }

    .home-page-carousel .video-wrapper {
        max-width: 520px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-page-carousel .banner-video {
        height: auto;
        max-height: none;
        margin-left: auto;
        margin-right: auto;
    }

    .home-page-carousel .person-img {
        max-height: 320px;
        max-width: min(320px, 92vw);
    }

    .sec_header,
    .heading_text {
        font-size: 26px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .home_banner_area .row,
    .random_section > .row,
    .mobile-app > .row,
    .testi > .row {
        margin-left: 0;
        margin-right: 0;
    }

    .spegz-product-page .service-banner-content {
        padding: 18px 12px;
    }

    .spegz-product-page #tech .spc-pad-10 {
        gap: 14px;
    }

    .header_area .navbar-brand.logo_h {
        min-height: 54px;
    }

    .header_area .header-icon {
        height: 50px;
        width: 86px;
    }

    .header_area #img-size {
        height: 42px;
        width: 82px;
    }
}

@media (max-width: 425px) {
    .spegz-product-page #tech .spc-pad-10 {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .spegz-product-page #tech .box-bg-shape {
        aspect-ratio: 4 / 3;
        max-width: 260px;
        min-height: 0;
        padding: 20px 14px;
    }

    .home-page-carousel .person-img {
        max-height: 280px;
        max-width: 88vw;
    }
}

@media (min-width: 992px) {
    .home-page-carousel .row {
        align-items: center;
        display: flex;
    }

    .home-page-carousel .col-md-6:first-child {
        display: flex;
        justify-content: flex-start !important;
    }

    .home-page-carousel .col-md-6:last-child {
        display: flex;
        justify-content: center !important;
    }

    .home-page-carousel .banner_inner > .container {
        width: 100%;
    }

    .home-page-carousel .video-wrapper {
        transform: translateX(-18px);
    }

    .home-page-carousel .banner-video {
        height: clamp(260px, 28vw, 360px);
    }
}

@media (min-width: 1200px) {
    .home-page-carousel .video-wrapper {
        transform: translateX(-42px);
    }
}
