* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #F0F1F2;
    --primary-color: #14b8e0;
    --text-color: #6b7677;
    --white-color: #ffffff;
}

body {
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Header */

.header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    background-color: var(--bg-color);
    padding: 20px 22px;
    box-sizing: border-box;
}

.header::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    border-bottom: 1px solid rgb(194, 188, 188);
}

.nav nav {
    display: flex;
    justify-content: space-between;
    gap: 42px;
    list-style-type: none;
    position: relative;
    top: 0.5rem;
    left: -4.25rem;
}

.nav li a {
    color: rgb(75, 75, 75);
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    transition: 0.2s;
    display: inline-block;
}

nav a:hover,
a:focus {
    color: rgb(102, 102, 239);
    transform: translateY(-2px);
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    left: 1.3rem;
}

.logo img {
    width: 50px;
}

.logo h4 {
    position: relative;
    left: 30px;
    top: 7px;
    font-family: "Asap Sharp", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 30px;
}

/* Dentics Hero */

.denticsHero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 70px 60px;
    background-color: var(--bg-color);
}

.denticsHeroText {
    flex: 1;
}

.denticsHeroText h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    justify-content: space-between;
    font-weight: 600;
    margin: 0;
}

.denticsHeroText h1 span {
    color: var(--primary-color);
    font-style: italic;
    font-weight: 400;
}

.denticsHeroText p {
    color: var(--text-color);
    margin: 20px 0 30px;
    max-width: 420px;
}

.denticsHeroButtons {
    display: flex;
    gap: 16px;
}

.denticsGetStarted {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 26px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.denticsGetStarted:hover {
    background-color: rgb(16, 154, 169);
    transform: scale(1.05);
}

.denticsLearnMore {
    background-color: transparent;
    border: 1px solid #c9d2d3;
    padding: 14px 26px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.denticsLearnMore:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

.denticsHeroImage {
    flex: 1;
    height: 620px;
    min-height: 620px;

    background-image: url(../img/n13den.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    border-radius: 10px;

    animation: denticsImage 10s infinite;
}

@keyframes denticsImage {
    0% {
        background-image: url(../img/n1den.jpeg);
        transform: scale(1);
    }

    20% {
        background-image: url(../img/n2den.jpeg);
        transform: scale(1.03);
    }

    25% {
        background-image: url(../img/n3den.jpeg);
        transform: scale(1);
    }

    45% {
        background-image: url(../img/n4den.jpeg);
        transform: scale(1.03);
    }

    50% {
        background-image: url(../img/n5den.jpeg);
        transform: scale(1);
    }

    70% {
        background-image: url(../img/n6den.jpeg);
        transform: scale(1.03);
    }

    75% {
        background-image: url(../img/n7den.jpeg);
        transform: scale(1);
    }

    95% {
        background-image: url(../img/n8den.jpeg);
        transform: scale(1.03);
    }

    100% {
        background-image: url(../img/n8den.jpeg);
        transform: scale(1);
    }
}

.denticsBadgeOne {
    top: 10%;
    right: 0;
    border-radius: 0;

    color: #7c3aed;

    animation: denticsBadgeMove 3.5s infinite;
}

.denticsBadgeTwo {
    top: 45%;
    right: 30%;

    color: #a855f7;

    animation: denticsBadgeMove 4s infinite;
    animation-delay: 0.5s;
}

.denticsBadgeThree {
    bottom: 5%;
    left: 5%;

    color: var(--primary-color);

    animation: denticsBadgeMove 3s infinite;
    animation-delay: 1s;
}

@keyframes denticsBadgeMove {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.denticsSectionTitle {
    text-align: center;
    padding: 40px 20px 10px;
}

.denticsSectionTitle h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

.denticsSectionTitle h2 span {
    color: var(--primary-color);
    font-style: italic;
    font-weight: 400;
}

.denticsSectionTitle p {
    color: var(--text-color);
    margin-top: 8px;
}

.denticsStepsSection {
    padding: 20px 60px 70px;
    background-color: var(--bg-color);
}

.denticsSteps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.denticsStepItem {
    flex: 1;
    max-width: 260px;
    text-align: center;
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.4s;
}

.denticsStepItem:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.denticsStepItem i {
    font-size: 26px;
    color: var(--primary-color);
    background-color: #e6f8fc;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.denticsStepItem h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.denticsStepItem p {
    font-size: 13px;
    color: var(--text-color);
    margin: 0;
}

.denticsProvideSection {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 70px 60px;
    background-color: var(--bg-color);
}

.denticsProvideImage {
    flex: 1;
    display: flex;
    justify-content: center;
}

.denticsProvideImage img {
    max-width: 420px;
    border: 10px solid #58c9e5;
    width: 100%;
    transition: 0.5s;
}

.denticsProvideImage:hover img {
    transform: scale(1.05);
}

.denticsProvideText {
    flex: 1;
}

.denticsProvideText h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.denticsProvideText h2 span {
    color: var(--primary-color);
    font-style: italic;
    font-weight: 400;
}

.denticsProvideText p {
    color: var(--text-color);
    margin-bottom: 24px;
    max-width: 420px;
}

.denticsChecklist {
    display: flex;
    gap: 50px;
}

.denticsChecklist ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.denticsChecklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    transition: 0.3s;
}

.denticsChecklist li:hover {
    transform: translateX(8px);
    color: var(--primary-color);
}

.denticsChecklist i {
    color: var(--primary-color);
}

.footer-parent {
    background-color: black;
    border-radius: 20px;
    margin-inline: 20px;
    height: 68vh;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 5rem 0 1rem 2rem;
    margin-bottom: 1.5rem;
}

.footer-child h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 2rem;
}

.footer-child:first-child p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    bottom: -80%;
}

.footer-child h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 1rem;
}

.footer-child:nth-child(2) {
    position: relative;
    left: 5rem;
}

.footer-child:nth-child(2) p {
    line-height: 2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.footer-child:nth-child(3) {
    position: relative;
    right: -12rem;
}

.footer-child:nth-child(3) p {
    line-height: 2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    width: 40%;
}

.footer-child:nth-child(4) {
    position: relative;
    left: -3rem;
}

.footer-child ul {
    list-style-type: none;
}

.footer-child a {
    color: var(--white-color);
    font-size: 1rem;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    left: -30px;
    line-height: 2rem;
}

.footer-child a:hover,
a:focus {
    color: #7c7f83;
}

/* Tablet Responsiveness: 769px to 972px */

@media (min-width: 769px) and (max-width: 972px) {
    .header {
        width: 100%;
        margin-inline: 0;
        padding: 12px 10px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .logo img {
        width: 40px;
    }

    .logo h4 {
        left: 10px;
        top: 0;
        font-size: 22px;
    }

    .nav {
        width: 100%;
    }

    .nav nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 14px;
        position: relative;
        left: 13rem;
    }

    .nav li a {
        font-size: 12px;
        left: 0 !important;
        white-space: nowrap;
    }

    .denticsHero {
        flex-direction: row;
        padding: 35px 25px;
        gap: 25px;
        align-items: center;
        justify-content: center;
    }

    .denticsHeroText {
        flex: 1;
        min-width: 0;
    }

    .denticsHeroText h1 {
        font-size: 26px;
    }

    .denticsHeroText p {
        font-size: 13px;
        max-width: 100%;
    }

    .denticsHeroButtons {
        flex-direction: row;
        gap: 12px;
        flex-wrap: wrap;
    }

    .denticsGetStarted,
    .denticsLearnMore {
        padding: 12px 20px;
        font-size: 12px;
    }

    .denticsHeroImage {
        flex: 1;
        height: 350px;
        min-height: 350px;
        width: 100%;
        max-width: 300px;
    }

    .denticsSectionTitle {
        padding: 25px 15px 10px;
    }

    .denticsSectionTitle h2 {
        font-size: 22px;
    }

    .denticsSectionTitle p {
        font-size: 12px;
    }

    .denticsStepsSection {
        padding: 25px 15px;
    }

    .denticsSteps {
        gap: 15px;
        flex-wrap: wrap;
    }

    .denticsStepItem {
        flex: 1 1 calc(50% - 7.5px);
        max-width: none;
        padding: 15px;
    }

    .denticsStepItem i {
        font-size: 22px;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

    .denticsStepItem h3 {
        font-size: 13px;
    }

    .denticsStepItem p {
        font-size: 11px;
    }

    .denticsProvideSection {
        flex-direction: row;
        padding: 35px 25px;
        gap: 25px;
        align-items: center;
    }

    .denticsProvideImage {
        flex: 1;
        min-width: 0;
    }

    .denticsProvideImage img {
        max-width: 100%;
        width: 100%;
        border-width: 4px;
    }

    .denticsProvideText {
        flex: 1;
    }

    .denticsProvideText h2 {
        font-size: 20px;
    }

    .denticsProvideText p {
        font-size: 12px;
    }

    .denticsChecklist {
        flex-direction: column;
        gap: 0;
    }

    .denticsChecklist ul {
        width: 100%;
    }

    .denticsBadgeOne,
    .denticsBadgeTwo,
    .denticsBadgeThree {
        display: none;
    }

    .footer-parent {
        height: auto;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1rem;
        padding: 1.5rem 1rem;
        margin-inline: 10px;
        border-radius: 10px;
    }

    .footer-child:nth-child(2),
    .footer-child:nth-child(3),
    .footer-child:nth-child(4) {
        position: static !important;
        left: 0 !important;
        right: 0 !important;
    }

    .footer-child:nth-child(3) p {
        width: 100%;
    }

    .footer-child h3 {
        font-size: 1.3rem;
    }

    .footer-child p {
        font-size: 11px;
    }

    .footer-child a {
        font-size: 11px;
        left: 0 !important;
    }
}

@media (max-width: 768px) {
    html {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    .header {
        width: 100%;
        margin: 0;
        padding: 16px 10px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 14px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .logo h4 {
        left: 11px;
        top: 0;
        font-size: 22px;
    }

    .nav {
        width: 100%;
    }

    .nav ul {
        margin: 0;
        padding: 0;
    }

    .nav nav {
        width: 100%;
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 16px;
        left: 0;
        top: 0;
    }

    .nav li a {
        font-size: 14px;
        left: 0;
    }

    .denticsHero {
        flex-direction: column;
        padding: 40px 20px;
        gap: 24px;
    }

    .denticsHeroText h1 {
        font-size: 30px;
    }

    .denticsHeroButtons {
        flex-direction: column;
        align-items: flex-start;
    }

    .denticsGetStarted,
    .denticsLearnMore {
        width: 100%;
    }

    .denticsHeroImage {
        width: 100%;
        height: 420px;
        min-height: 420px;
    }

    .denticsStepsSection {
        padding: 20px 20px 40px;
    }

    .denticsSteps {
        flex-direction: column;
        align-items: center;
    }

    .denticsStepItem {
        max-width: 100%;
        width: 100%;
    }

    .denticsProvideSection {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }

    .denticsProvideText h2 {
        font-size: 26px;
    }

    .denticsChecklist {
        flex-direction: column;
        gap: 0;
    }

    .footer-parent {
        height: auto;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1.5rem;
        padding: 2rem 1.2rem;
        margin-inline: 10px;
    }

    .footer-child:nth-child(2),
    .footer-child:nth-child(3),
    .footer-child:nth-child(4) {
        position: static;
        left: 0;
        right: 0;
    }

    .footer-child:nth-child(3) p {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav nav {
        gap: 8px 12px;
    }

    .logo img {
        width: 42px;
    }

    .denticsHeroText h1 {
        font-size: 26px;
    }

    .denticsSectionTitle h2 {
        font-size: 26px;
    }
}

/* =========================================
   Responsive: 973px -> 1124px
   ========================================= */

@media (min-width: 973px) and (max-width: 1124px) {

    body {
        overflow-x: hidden;
    }

    /* ================= HEADER ================= */

    .header {
        margin-inline: 15px;
        padding: 15px 10px;
    }

    .nav nav {
        gap: 22px;
    }

    .nav li a {
        font-size: 16px;
        left: 0;
    }

    .logo img {
        width: 45px;
    }

    .logo h4 {
        left: 15px;
        font-size: 26px;
    }
}