* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
    color: black;
}

ul {
    list-style: none;
}

/* header-section start */
header {
    background-image: url(clay-banks-cEzMOp5FtV4-unsplash.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    background-position: center;
    background-color: rgb(78, 78, 78);
}

.links ul {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.menu-burger i {
    font-size: 22px;
    color: black;
    display: none;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.links ul li a {
    font-size: 12px;
}

.nav-bar {
    width: 100%;
    background-color: whitesmoke;
    padding: 10px 0px;
    position: sticky;
    top: 0;
}

.header-section {
    width: 82%;
    background-color: whitesmoke;
    padding: 10px 0px;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
}

/* header section end */
/* hero section start */
.hero-section {
    width: 80%;
    margin: 240px auto;

}

.hero-content {
    width: 80%;
}

.hero-content h4 {
    font-size: 12px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-family: "Ubuntu", sans-serif;
}

.hero-content p {
    font-size: 14px;
    color: whitesmoke;
    margin-bottom: 10px;
}

.hero-content button {
    border: none;
    background: linear-gradient(to right, #244cfd, #15e4fd);
    color: white;
    font-size: 12px;
    padding: 12px 30px !important;
    border-radius: 2px;
    cursor: pointer;
}

/* hero section end */
/* cards section start */
.card-content {
    text-align: center;
    background-color: #f9f9fd;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 45px 20px;
}

.card-content img {
    margin-bottom: 15px;
}

.card-content h3 {
    margin-bottom: 15px;
}

.cards {
    width: 80%;
    margin: 100px auto;
}

.cards-section {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 30px;
}

.card-content:hover {
    background-color: rgb(228, 228, 228);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    transition: all 0.2s;
}

/* cards section End */
/* blog section start */
.blog-section {
    width: 80%;
    margin: 0 auto;
}

.blog {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 30px;
}

.blog-content h1 {
    font-size: 30px;
}

.blog-content p {
    padding-top: 1rem !important;
}

.two {
    margin-bottom: 1rem;
}

.blog-content button {
    border: none;
    background: linear-gradient(to right, #244cfd, #15e4fd);
    color: white;
    font-size: 12px;
    padding: 12px 30px;
    border-radius: 2px;
    cursor: pointer;
}

/* blog section end */
/* popular section  start */
.popular-section {
    width: 100%;
    background-color: #f9f9fd;
}

.popular-content {
    text-align: center;
    width: 50%;
    margin: 60px auto;
    padding: 130px 0 200px;
}

.popular-content h1 {
    margin-bottom: 1rem;
}

/* popular section end */
/* patient section start */
.patient-section {
    width: 80%;
    margin: 0 auto;
}

.patient {
    text-align: center;
    width: 60%;
    margin: 90px auto;
}

.patient h1 {
    margin-bottom: 1rem;
}

/* patient section end */
/* appointment section start */
.appointment-section {
    width: 80%;
    margin: 0 auto;
}

.jhonson {
    background-color: #f9f9fd;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 20px 30px;
    border-radius: 5px;
}

.jhonson h5 {
    margin-bottom: 1rem;
    font-weight: lighter;
    color: gray;
}

.jhonson h3 {
    margin-bottom: 0.5rem;
}

.jhonson img {
    margin-bottom: 1rem;
}

.appointment-form {
    background-image: url(alexandr-podvalny-tE7_jvK-_YU-unsplash.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: linear-gradient(to right, #244cfd, #15e4fd);

    display: flex;
    flex-direction: column;
    align-items: center;
}

.appointment {
    display: grid;
    grid-template-columns: 50% 45%;
    gap: 20px;
}

.appointment-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 100%;
}

form {
    display: flex;
    flex-direction: column;
    margin: auto 0;
    width: 90%;
}

input[type="text"] {
    border: none;
    padding: 10px;
    width: 100%;
}

form button {
    border: none;
    background: linear-gradient(to right, #244cfd, #15e4fd);
    padding: 20px;
    border-radius: 2px;
    cursor: pointer;
}

.appointment-form h2 {
    text-align: center;
    margin: auto 0;
}

/* appointment section end */
/* speshlish section start */
.speshlish-section {
    width: 80%;
    margin: 0 auto;
}

.speshlish {
    text-align: center;
    width: 60%;
    margin: 200px auto;
}

.spechlish-card {
    background-color: #f9f9fd;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    text-align: center;
    border-radius: 5px;
}

.profession {
    background-color: whitesmoke;
    padding: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.details p {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.details {
    padding: 20px;
}

.social-links i {
    font-size: 22px;
    color: gray;
}

.speshlish-content {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 20px;
}

.card-img img {
    width: 100%;
    height: 100%;
}

.profession h5 {
    margin-top: 0.5rem;
    color: gray;
}

.profession:hover {
    background: linear-gradient(to right, #244cfd, #15e4fd);
    color: white;
}

.content {
    margin-top: -4px;
}

.social-links i:hover {
    color: blue;
}

/* spedhlish section end */
/* emergency section start */
.emergency-section {
    width: 100%;
    margin: 100px auto;
    background: linear-gradient(to right, #244cfd, #15e4fd);
}

.emergency-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 130px 0;
    width: 80%;
    margin: 0 auto;
}

.emergency-content h2 {
    font-size: 30px;
    color: white;
}

.emergency-content h1 {
    font-size: 56px;
    color: white;
}

.emergency-content p {
    color: white;
    padding-top: 1rem;
}

/* emergency section end */
/* medical section start */
.medical-section {
    width: 80%;
    margin: 0 auto;
}

.medical-content {
    text-align: center;
    width: 52%;
    margin: 0 auto;
}

.medical-content p {
    padding-top: 1rem;
}

/* medical section end */
/* check up section start */
.checkup-card a {
    font-size: 18px;
    font-weight: 600;
}

.checkup-card p {
    font-weight: lighter;
    font-size: 14px;
}

.checkup {
    display: flex;
    gap: 20px;
}

.checkup-card {
    width: 33%;
}

.checkup-card img {
    width: 100%;
}

.checkup-section {
    width: 80%;
    margin: 5rem auto;
}

.checkup-card h5 {
    border: 1px solid #244cfd;
    background-color: #244cfd;
    color: white;
    font-size: 14px;
    border-radius: 2px;
    padding: 10px;
    width: 50%;
    position: relative;
    top: -20px;
    left: 20px;
}

.checkup-card p {
    margin: 1rem 0;
}

.checkup-card a:hover {
    color: #244cfd;
    transition: all 0.3s;
}

/* check up section */
/* footer section start */
.footer-section {
    background-color: #12151f;
    width: 100%;
}

.footer {
    width: 80%;
    margin: 0 auto;
}

.footer-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-card ul li a {
    color: white;
}

.footer-card h2 {
    color: white;
}

.subscribe button {
    border: none;
    background: linear-gradient(to right, #244cfd, #15e4fd);
    padding: 10px;
    border-radius: 2px;
    cursor: pointer;
}

.footer-card p {
    color: white;
}

.instgram-image {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 10px;
}

.footer {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 15px;
    padding: 130px 0;
}

.footer-card ul li :hover {
    color: #244cfd;
}

input[type="email"] {
    border: none;
    background-color: white;
    padding: 10px;
    border-radius: 2px;
}

.icon {
    display: flex;
    gap: 10px;
}

.icon i {
    border: 1px solid white;
    background-color: white;
    font-size: 12px;
    padding: 10px;
    border-radius: 2px;
}

.copy {
    color: white;
}

.last-section {
    display: flex;
    width: 80%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3rem;
}

.icon i:hover {
    background: linear-gradient(to right, #244cfd, #15e4fd);
    border: 1px solid linear-gradient(to right, #244cfd, #15e4fd);
    transition: all 0.3s;
}

/* footer section end */
/* responsive section start max-width(991px) and min-width(768px)*/
@media (max-width:991px) and (min-width:768px) {
    .footer {
        display: grid;
        grid-template-columns: auto;
        gap: 30px;
        padding: 130px 0;
    }

    .instgram-image {
        display: block;
    }

    .copy {
        color: white;
        width: 50%;
    }

    .checkup {
        display: grid;
        grid-template-columns: auto auto;
        gap: 40px;
    }

    .checkup-card {
        width: 100%;
    }

    .checkup-card h5 {
        width: 42%;
    }

    .speshlish-content {
        display: grid;
        grid-template-columns: auto auto;
        gap: 20px;
    }

    .appointment {
        display: grid;
        grid-template-columns: auto;
        gap: 20px;
    }

    .jhonson {
        background-color: #f9f9fd;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        padding: 20px 30px;
        border-radius: 5px;
        width: 100%;
    }

    form {
        display: flex;
        flex-direction: column;
        margin: auto 0;
        padding: 20px 40px;
    }

    .appointment-form h2 {
        text-align: center;
        margin: auto 0;
        padding-top: 1rem;
    }

    input[type="text"] {
        border: none;
        padding: 20px 180px;
    }

    .blog {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        gap: 30px;
    }

    .cards-section {
        display: grid;
        grid-template-columns: auto auto;
        gap: 30px;
    }

    .blog-img img {
        width: 100%;
        object-fit: cover;
    }

    .hero-content {
        width: 75%;
    }

    .appointment-form {
        border-radius: 5px;
    }

    .links ul {
        display: none;
    }

    .hero-content {
        width: 100%;
    }

    .menu-burger i {
        display: block;
    }
}

/* responsive section end max-width(991px) and min-width(768px)*/
/* responsive section start max-width(767px) and min-width(425px) */
@media (max-width:767px) and (min-width:425px) {

    .footer {
        display: grid;
        grid-template-columns: auto;
        gap: 30px;
        padding: 130px 0;
    }

    .instgram-image {
        display: block;
    }

    .copy {
        color: white;
        width: 50%;
    }

    .checkup {
        display: grid;
        grid-template-columns: auto;
        gap: 40px;
    }

    .checkup-card {
        width: 100%;
    }

    .checkup-card h5 {
        width: 42%;
    }

    .speshlish-content {
        display: grid;
        grid-template-columns: auto;
        gap: 20px;
    }

    .appointment {
        display: grid;
        grid-template-columns: auto;
        gap: 20px;
    }

    .jhonson {
        background-color: #f9f9fd;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        padding: 40px 80px 20px 40px;
        border-radius: 5px;

    }

    form {
        display: flex;
        flex-direction: column;
        margin: auto 0;
        padding: 20px 40px;
    }

    .appointment-form h2 {
        text-align: center;
        margin: auto 0;
        padding-top: 1rem;
    }

    .appointment-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
        max-width: 100%;
    }

    .blog {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        gap: 30px;
    }

    .cards-section {
        display: grid;
        grid-template-columns: auto;
        gap: 30px;
    }

    .blog-img img {
        width: 100%;
        object-fit: cover;
    }

    .hero-content {
        width: 75%;
    }

    .appointment-form {
        border-radius: 5px;
    }

    .links ul {
        display: none;
    }

    .speshlish {
        text-align: center;
        width: 100%;
        margin: 200px auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .emergency-content h1 {
        font-size: 45px;
        color: white;
    }

    .medical-content {
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }

    .last-section {
        display: flex;
        width: 80%;
        margin: 0 auto;
        justify-content: start;
        align-items: start;
        flex-direction: column;
        gap: 10px;
        padding-bottom: 3rem;
    }

    .patient {
        text-align: center;
        width: 100%;
        margin: 90px auto;
    }

    .popular-content {
        text-align: center;
        width: 80%;
        margin: 60px auto;
        padding: 130px 0 200px;
    }

    .hero-content {
        width: 100%;
    }

    .copy {
        color: white;
        width: 100%;
    }

    .menu-burger i {
        display: block;
    }
}

/* responsive section end max-width(767px) and min-width(425px) */
/* responsive section start max-width(424px) and min-width(320px) */
@media (max-width:424px) and (min-width:320px) {
    .menu-burger i {
        display: block;
    }

    .footer {
        display: grid;
        grid-template-columns: auto;
        gap: 30px;
        padding: 130px 0;
    }

    .instgram-image {
        display: block;
    }

    .copy {
        color: white;
        width: 50%;
    }

    .checkup {
        display: grid;
        grid-template-columns: auto;
        gap: 40px;
    }

    .checkup-card {
        width: 100%;
    }

    .checkup-card h5 {
        width: 46%;
    }

    .speshlish-content {
        display: grid;
        grid-template-columns: auto;
        gap: 20px;
    }

    .appointment {
        display: grid;
        grid-template-columns: auto;
        gap: 20px;
    }

    .jhonson {
        background-color: #f9f9fd;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        padding: 40px 80px 20px 40px;
        border-radius: 5px;

    }

    form {
        display: flex;
        flex-direction: column;
        margin: auto 0;
        padding: 20px 40px;
    }

    .appointment-form h2 {
        text-align: center;
        margin: auto 0;
        padding-top: 1rem;
    }

    .appointment-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
        max-width: 100%;
    }

    .blog {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        gap: 30px;
    }

    .cards-section {
        display: grid;
        grid-template-columns: auto;
        gap: 30px;
    }

    .blog-img img {
        width: 100%;
        object-fit: cover;
    }

    .hero-content {
        width: 75%;
    }

    .appointment-form {
        border-radius: 5px;
    }

    .links ul {
        display: none;
    }

    .speshlish {
        text-align: center;
        width: 100%;
        margin: 200px auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .emergency-content h1 {
        font-size: 45px;
        color: white;
    }

    .medical-content {
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }

    .last-section {
        display: flex;
        width: 80%;
        margin: 0 auto;
        justify-content: start;
        align-items: start;
        flex-direction: column;
        gap: 10px;
        padding-bottom: 3rem;
    }

    .patient {
        text-align: center;
        width: 100%;
        margin: 90px auto;
    }

    .popular-content {
        text-align: center;
        width: 80%;
        margin: 60px auto;
        padding: 130px 0 200px;
    }

    .hero-content {
        width: 100%;
    }

    .copy {
        color: white;
        width: 100%;
    }

    .appointment-form h2 {
        text-align: center;
        margin: auto 0;
        padding-top: 1rem;
        font-size: 20px;
    }

    form button {
        border: none;
        background: linear-gradient(to right, #244cfd, #15e4fd);
        padding: 16px;
        border-radius: 2px;
        cursor: pointer;
    }

    .jhonson p {
        width: 140%;
    }

    .jhonson h3 {
        width: 122%;
    }

    .subscribe {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* responsive section end max-width(424px) and min-width(320px) */