@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --text-color: #f2f2f2;
    --main-color: #0ef;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

section {
    min-height: 100vh;
    padding: 10rem 9% 6rem;
}

/* Header / navigation bar section */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header.sticky {
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.2);
}

.title {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    cursor: default;
}

#logo {
    height: 2rem;
    border-radius: 0.2rem;
    padding: 0.1rem;
    background-color: white;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    margin-left: 4rem;
    transition: color 0.3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

/* home section design */

.home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flash-message-container {
    height: 45px;
    width: 100%;
    position: relative;
}

.home-content-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img img {
    width: 30vw;
    animation: floatImage 20s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    12.5% {
        transform: translateY(-2.4rem);
    }

    25% {
        transform: translateY(0);
    }

    37.5% {
        transform: translateY(2.4rem);
    }

    50% {
        transform: translateY(0);
    }

    62.5% {
        transform: translateY(-2.4rem);
    }

    75% {
        transform: translateY(0);
    }

    87.5% {
        transform: translateY(2.4rem);
    }

    100% {
        transform: translateY(0);
    }
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

span {
    color: var(--main-color);
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content p {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 4rem;
}

.multiple-animated-container {
    max-width: 50rem;
}

.home-content .multiple-animated-text {
    display: inline;
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
}

.typed-cursor {
    font-size: 2rem;
    color: var(--main-color);
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 4rem 1.5rem 3rem 0;
    transition: all 0.5s ease;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.8rem;
    color: var(--second-bg-color);
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: all 0.5s ease;
}

.btn i {
    margin-right: 0.4rem;
    font-size: 2.2rem;
}

.btn:hover {
    box-shadow: none;
}

/* About us section */

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--second-bg-color);
}

.about-img img {
    width: 30vw;
}

.heading {
    text-align: center;
    font-size: 4.5rem;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 2rem;
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

/* services section design */

.services h2 {
    margin-bottom: 5rem;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 550px;
    width: 500px;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: 0.2rem solid var(--bg-color);
    transition: all 0.5s ease;
}

.services-container .services-box:hover {
    border-color: var(--main-color);
    transform: scale(1.02);
}

.services-box i {
    font-size: 7rem;
    color: var(--main-color);
}

.services-box h3 {
    font-size: 2.6rem;
    margin: 3rem 0 4rem 0;
}

.services-box p {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

/* departments section */

.departments {
    background: var(--second-bg-color);
}

.departments h2 {
    margin-bottom: 4rem;
}

.departments-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, 35rem);
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.departments-container .departments-box {
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;

}

.departments-box img {
    height: 25rem;
    width: 35rem;
    object-fit: cover;
    object-position: center center;
    transition: all 0.5s ease;
}

.departments-box:hover img {
    transform: scale(1.1);
}

.departments-box .departments-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.35), var(--bg-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.departments-box:hover .departments-layer {
    transform: translateY(0);
}

.departments-layer h4 {
    font-size: 3rem;
    line-height: 1.2;
}

.departments-layer p {
    font-size: 1.6rem;
    margin-top: 2.5rem;
}

.departments-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--text-color);
    border-radius: 50%;
    margin-top: 3rem;
}

.departments-layer a i {
    font-size: 2rem;
    color: var(--second-bg-color);
}

/* reviews section */

#reviews {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-color)
}

#reviews h2 {
    margin-bottom: 40px;
}

.poko {
    position: relative;
    border-radius: 20px;
    background-color: transparent;
    height: 450px;
    width: 1075px;
    display: flex;
}

.reviews-container {
    position: relative;
    border-radius: 20px;
    background-color: transparent;
    height: 400px;
}

.reviews-content {
    position: relative;
    align-items: center;
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: transparent;
}

.swiper {
    width: 950px;
}

.card {
    position: relative;
    background: var(--second-bg-color);
    border: 3px solid #0ef;
    border-radius: 20px;
    width: 30%;
    overflow-y: auto;
}

.card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0ef;
    clip-path: circle(50% at 0 0);
    border-top-left-radius: 10px;
}

.card .card-content {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 30px;
}

.card .image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--text-color);
    background-color: var(--main-color);
    z-index: 1;
}

.card .name-profession {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 10px;
    color: var(--text-color);
}

.name-profession .name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.name-profession .profession {
    font-size: 15px;
    font-weight: 400;
}

.card .rating {
    display: flex;
    align-items: center;
    margin-top: 18px;
}

.card .rating i {
    font-size: 18px;
    color: var(--main-color);
    margin: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .rating p {
    font-size: 18px;
    color: var(--main-color);
    margin: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .review-comment-container {
    position: relative;
    display: flex;
    justify-content: space-around;
    width: 110%;
    margin-top: 20px;
}

.card .review-comment-container .review-comment-text {
    background: var(--main-color);
    border: none;
    outline: none;
    color: #000;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: .3s;
}

.swiper-pagination-bullet {
    position: relative;
    height: 7px;
    width: 26px;
    background: #0ef;
    border-radius: 25px;
    margin-top: 50px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #0ef;
}

/* Emergency section */

#emergency {
    height: fit-content;
    width: 100%;
    background-color: var(--second-bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

#emergency img {
    position: absolute;
    height: 100%;
    width: 80%;
    /* -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px); */
    opacity: 0.1;

}

#emergency .emergency-message-container {
    height: fit-content;
    width: fit-content;
    background-color: var(--main-color);
    border-radius: 1rem;
    display: flex;
    padding: 2rem 3rem;
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    filter: blur(0px);
}

#emergency #warning-sign {
    font-size: 3.5rem;
    color: black;
}

#emergency .emergency-message-container h3 {
    font-size: 3rem;
    font-weight: bold;
    color: black;
    margin-bottom: 1.5rem;
}

#emergency .emergency-message-container p {
    font-size: 2rem;
    font-weight: normal;
    opacity: 1;
    margin-bottom: 1rem;
    color: black;
}

#emergency .emergency-message-container a {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#emergency .emergency-message-container p:nth-of-type(3) {
    font-size: 1.4rem;
    font-weight: lighter;
    opacity: 1;
    color: black;
}

#emergency .emergency-message-container p span {
    text-decoration: underline;
    color: black;
}

/* #emergency #emergency-phone i {
    font-size: 5rem;
    font-weight: bold;
    margin-right: 0.2rem;
} */

/* Contact section */

.contact {
    position: relative;
    background-color: var(--bg-color);
}

#dog-cat-image {
    position: absolute;
    height: 20vw;
    width: auto;
    left: 0px;
    bottom: -20px;
}

.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form .input-box #topic,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    border-radius: 0.8rem;
    margin: 0.7rem 0;
}

.contact form .input-box input {
    width: 49%;
}

.contact form textarea {
    resize: none;
    height: 30rem;
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}

/* Footer */

.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--second-bg-color);
}

.footer .footer-text p {
    font-size: 1.6rem;
}

.footer a {
    color: var(--main-color);
}

.footer .footer-text a:hover {
    cursor: pointer;
    /* text-decoration: underline; */
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 0.35px;
}

.footer .footer-text .footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    background: var(--main-color);
    border-radius: 0.8rem;
    transition: box-shadow 0.5s ease;
}

.footer .footer-iconTop a:hover {
    box-shadow: 0 0 1rem var(--main-color);
}


.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--second-bg-color);
}

/**********************/
/* Responsive Design */
/********************/

@media (max-width: 1550px) {

    header {
        padding: 2rem 3%;
    }

    #menu-icon {
        display: block;
        cursor: pointer;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 1.8rem 0;
    }

    .navbar a:hover {
        cursor: pointer;
    }

}

@media (max-width: 1250px) {

    html {
        font-size: 75%;
    }

    /* section (universal) */

    section {
        padding: 8rem 8% 6rem;
    }

    /* Header section */

    header {
        padding: 2rem 3%;
    }

    /* Home */

    .home {
        flex-direction: column;
        text-align: center;
    }

    .home-content-container {
        flex-direction: column;
    }

    .home-img img {
        width: 40vw;
        margin-top: 2rem;
    }

    /* About */

    .about {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about h2 {
        text-align: center;
    }

    .about-img img {
        width: 40vw;
        margin-top: 2rem;
    }

    /* Services */

    .services-container .services-box {
        height: 780px;
        width: 425px;
    }

    /* departments section */

    .departments {
        padding-bottom: 6rem;
    }

    .departments h2 {
        margin-bottom: 3rem;
    }

    .departments-container {
        grid-template-columns: repeat(auto-fit, 35rem);
    }

    #dog-cat-image {
        display: none;
    }

}

@media (max-width: 1050px) {

    html {
        font-size: 55%;
    }

    /* Section universal */

    section {
        min-height: 100vh;
        padding: 8rem 6% 4rem;
    }

    /* Header section */

    /* Home section */

    /* About section */

    /* Services section */

    .services-container .services-box {
        height: 550px;
        width: 325px;
    }

    /* departments */

    /* Contact section */

    .contact {
        min-height: auto;
    }

    /* Footer */

    footer {
        padding: 2rem 6%;
    }

}

@media (max-width: 768px) {

    html {
        font-size: 45%;
    }

    /* Section universal */

    section {
        min-height: 100vh;
        padding: 8rem 4% 2rem;
    }

    /* Home section */

    .home {
        flex-direction: column;
    }

    .home-conent h3 {
        font-size: 2.6rem;
    }

    .home-conent h1 {
        font-size: 5rem;
    }

    .home-img img {
        width: 50vw;
        margin-top: 2rem;
    }

    /* About section */

    .about {
        flex-direction: column-reverse;
    }

    .about-img img {
        width: 50vw;
        margin-top: 2rem;
    }

    /* Services section */

    .services-container .services-box {
        height: 500px;
        width: 300px;
        flex: 1 1 300px;
    }

    .services h2 {
        margin-bottom: 3rem;
    }

    /* departments section */

    .departments h2 {
        margin-bottom: 3rem;
    }

    .departments-container {
        grid-template-columns: repeat(auto-fit, 35rem);
    }

    .departments-box img {
        width: 35rem;
    }

    .departments-layer a {
        width: 4rem;
        height: 4rem;
    }


    .departments-layer a i {
        font-size: 1.5rem;
    }

    .footer {
        display: flex;
        flex-direction: column-reverse;
    }

    .footer p {
        text-align: center;
        margin-top: 2rem;
    }

}

@media (max-width: 768px) {

    .flash_messages_success {
        margin: 0px auto 40px;
    }

    .flash_messages_success p {
        font-size: 15px;
        line-height: 0.95;
    }

    .flash_messages_error {
        margin: 0px auto 40px;
    }

    .flash_messages_error p {
        font-size: 15px;
        line-height: 0.95;
    }

}