* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

/* Navbar section 
--------------------------------------------- */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    color: black;
    padding: 0.625rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.07);
}
nav .logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

nav a {
    text-decoration: none;
}

nav .logo .logo_text {
    color: black;
    font-weight: bold;
    margin-left: 0.3125rem;
}

nav .logo .icon {
    color: #d85151;
    vertical-align: middle;
}

nav .dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav .dropdown-container {
    position: relative;
    display: inline-block;
}

nav .dropbtn {
    background-color: white;
    color: black;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    border: none;
    border-radius: 0.625rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav .dropbtn .icon-arrow-down {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease-in-out;
}

nav .dropdown-container:hover .dropbtn .icon-arrow-down {
    transform: rotate(180deg);
}

nav .links {
    color: black;
    padding: 0.625rem 1.25rem;
    border-radius: 0.625rem;
    text-decoration: none;
}

nav .dropbtn:hover,
nav .links:hover {
    background-color: #f0f0f0;
}

nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 10rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    z-index: 100;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
}

nav .dropdown-content a {
    color: black;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
}

nav .dropdown-content a:hover {
    background-color: #f0f0f0;
}

nav .dropdown-container:hover .dropdown-content {
    display: block;
}

nav .buttons {
    display: flex;
    gap: 0.625rem;
    align-items: center;
}

nav .buttons .theme_switcher {
    transition: transform 0.3s ease-in-out;
}

nav .buttons .theme_switcher:hover {
    transform: scale(1.1);
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

nav .buttons .account-btn:hover {
    animation: shake 0.3s ease-out forwards;
}
nav .buttons .buynow {
    background-color: #d85151;
    color: white;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 0.625rem;
    cursor: pointer;
}

nav .buttons .buynow:hover {
    background-color: #a83a3a;
}

nav .buttons .buynowtext {
    font-weight: bold;
    font-size: 1rem;
    color: white;
}

nav .buttons .buyicon {
    display: inline-block;
    margin-right: 0.3125rem;
    color: white;
    vertical-align: middle;
}

nav .buttons .buynow:hover .buyicon {
    transform: matrix(1.2, 0, 0, 1.2, 0, 0);
    transition: transform 0.3s ease-out forwards;
}

@media (max-width: 992px) {
    nav {
        position: relative;
        justify-content: space-between;
    }

    nav .dropdown {
        display: none;
    }

    nav .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .mobile-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        z-index: 1000;
        padding: 4rem 2rem;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    body.mobile-nav-open .mobile-nav {
        display: flex;
    }

    .mobile-nav a {
        font-size: 1.5rem;
        color: #333;
        text-decoration: none;
        font-weight: 500;
    }
}

@media (min-width: 993px) {
    .menu-btn {
        display: none;
    }
}

/* Header Section 
--------------------------------------------- */
header {
    background-image: url("../imgs/hero.png");
    background-color: #3d7a81;
    background-size: cover;
    background-position: center;
    height: 25rem;
    width: 100%;
    text-align: center;
}

header h1 {
    color: white;
    font-size: 3.3125rem;
    font-weight: bold;
    max-width: 37.5rem;
    margin: 0 auto;
    padding: 0.625rem 0;
}

header form {
    margin-top: 1.25rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 37.5rem;
    margin-bottom: 1.25rem;
    border-radius: 0.625rem;
    border: 0.0625rem solid #ccc;
    padding: 0.625rem;
    background-color: white;
    display: flex;
}

header form input[type="text"] {
    padding: 0.625rem;
    border: none;
    border-radius: 0.3125rem;
    margin-right: 0.625rem;
}

header form button[type="submit"] {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 0.3125rem;
    background-color: #d85151;
    color: white;
    cursor: pointer;
}

header form button[type="submit"]:hover {
    background-color: #a83a3a;
}

header form .searchicon {
    display: inline-block;
    margin-right: 0.3125rem;
    vertical-align: middle;
}

header form .zipicon {
    display: inline-block;
    margin-right: 0.3125rem;
    vertical-align: middle;
}

header .headerbuttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

header .headerbuttons button {
    border-radius: 1.25rem;
    background-color: #3d7a81;
    color: white;
    border: 0.0625rem solid white;
    padding: 0.625rem;
}

header .headerbuttons button:hover {
    background-color: white;
    color: black;
    border: 0.0625rem solid #2b5a63;
}
@media (max-width: 760px) {
    header {
        height: auto;
        padding: 2rem 1rem;
    }

    header h1 {
        font-size: 2.5rem;
    }

    header form {
        flex-direction: column;
        max-width: 95%;
        gap: 0.5rem;
    }

    header form .zipbox {
        border-left: none;
        padding-left: 0;
        border-top: 0.0625rem solid #eee;
        padding-top: 0.5rem;
    }

    header .headerbuttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* Services Section
--------------------------------------------- */
main .services {
    padding: 2.5rem;
}
main .services .head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

main .services .head a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
}

main .services .head a:hover {
    text-decoration: underline;
}

main .services .all-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem 5rem;
}

main .services .all-services .item {
    padding: 0.625rem 0;
}

main .services .all-services .item .icon {
    background-color: #f0f0f0;
    width: 3.75rem;
    height: 3.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 0.625rem;
    flex-shrink: 0;
}

main .services .all-services .item .icon svg {
    color: black;
}

main .services .all-services a {
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    gap: 0.9375rem;
}

main .services .all-services a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    main .services .all-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    main .services {
        padding: 2rem 1.5rem;
    }

    main .services .all-services {
        grid-template-columns: 1fr;
    }

    main .services .all-services a {
        justify-content: flex-start;
    }
}

/* Popular Projects Section
--------------------------------------------- */
.popular-projects {
    display: flex;
    padding: 3.75rem 2.5rem;
    background-color: #fff;
    gap: 3.75rem;
    align-items: center;
}
.popular-projects a {
    text-decoration: none;
    color: black;
}

.promo-card {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 0.75rem;
    flex-basis: 35%;
    flex-shrink: 0;
}

.promo-card h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.625rem;
    font-weight: 600;
}

.promo-card p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1.25rem;
}

.promo-card img {
    width: 100%;
    display: block;
}

.projects-list {
    flex-grow: 1;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.projects-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.projects-header a {
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
}
.projects-header a:hover {
    text-decoration: underline;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.projects-grid a {
    text-decoration: none;
    color: black;
}

.projects-grid a:hover {
    text-decoration: underline;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-item img {
    width: 5rem;
    height: 3.75rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.project-item img:hover,
.project-item:hover img {
    transform: matrix(1.05, 0, 0, 1.05, 0, 0);
    transition: transform 0.3s ease-in-out;
}

.project-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.project-rating,
.project-price {
    font-size: 0.875rem;
    color: #6c757d;
}

.project-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.project-rating .star {
    color: #ffb400;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .popular-projects .promo-card {
        display: none;
    }

    .popular-projects {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .popular-projects .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Home Projects Section
--------------------------------------------- */
.home-projects {
    padding: 3.75rem 2.5rem;
    background-color: #fff;
    border-top: 0.0625rem solid #eee;
}

.home-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    border: 0.0625rem solid #e0e0e0;
    border-radius: 0.75rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.project-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1);
}

.card-image-container {
    position: relative;
}

.card-image-container img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.card-image-container img:hover,
.project-card:hover img {
    transform: matrix(1.05, 0, 0, 1.05, 0, 0);
    transition: transform 0.3s ease-in-out;
}

.card-image-container h4 {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0.0625rem 0.0625rem 0.1875rem rgba(0, 0, 0, 0.6);
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.card-details {
    font-size: 0.875rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-button {
    border: 0.0625rem solid #ccc;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: #333;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
}

.project-card .card-button:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

@media (max-width: 992px) {
    .home-projects {
        padding: 2rem 1.5rem;
    }

    .home-projects-grid {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 1rem;
        scroll-snap-type: x mandatory;

        margin-left: -1.5rem;
        margin-right: -1.5rem;

        padding: 0 1.5rem 1rem;

        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .home-projects-grid::-webkit-scrollbar {
        display: none;
    }

    .home-projects-grid .project-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }

    .home-projects .carousel-pagination {
        text-align: center;
        margin-top: 1rem;
        padding-right: 0;
    }

    .home-projects .carousel-pagination .dot {
        display: inline-block;
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        background-color: #ccc;
        margin: 0 0.25rem;
    }
    /* color changing needs JS */
    .home-projects .carousel-pagination .dot.active {
        background-color: #d85151;
    }
}

/* Expert Advice Section
--------------------------------------------- */
.expert-advice {
    padding: 3.75rem 2.5rem;
    background-color: #f8f9fa;
    border-top: 0.0625rem solid #eee;
    width: 100%;
}

.advice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.advice-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: inherit;
}

.advice-card img {
    width: 8.75rem;
    height: 8.75rem;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
}

.advice-content {
    display: flex;
    flex-direction: column;
}

.advice-category {
    font-size: 0.8125rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.advice-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
    line-height: 1.4;
    transition: color 0.2s ease-in-out;
}

.advice-card:hover h4 {
    text-decoration: underline;
}

.advice-card:hover img {
    transform: matrix(1.05, 0, 0, 1.05, 0, 0);
    transition: transform 0.3s ease-in-out;
}

.advice-content p {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0.5rem 0;
}

.advice-date {
    font-size: 0.8125rem;
    color: #6c757d;
}

@media (max-width: 992px) {
    .advice-grid {
        grid-template-columns: 1fr;
    }
}

/* How It Works Section
--------------------------------------------- */
.how-it-works {
    padding: 5rem 2.5rem;
    background-color: #fff;
    border-top: 0.0625rem solid #eee;
    text-align: left;
    position: relative;
    width: 100%;
    display: block;
}

.section-intro {
    max-width: 62.5rem;
    margin: 0 auto 3.125rem auto;
}

.section-intro h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: black;
}

.section-intro p {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.6;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 62.5rem;
    margin: 0 auto;
}

.step-icon {
    margin-bottom: 1.25rem;
}

.step-icon svg {
    color: black;
}

.step-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: black;
}

.step-item p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 2rem 1.5rem;
    }

    .how-it-works .steps-container {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 1rem;
        scroll-snap-type: x mandatory;

        margin-left: -1.5rem;
        margin-right: -1.5rem;

        padding: 0 1.5rem 1rem;

        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .how-it-works .steps-container::-webkit-scrollbar {
        display: none;
    }

    .how-it-works .steps-container .step-item {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }

    .how-it-works .carousel-pagination {
        text-align: center;
        margin-top: 1rem;
        padding-right: 0;
    }

    .how-it-works .carousel-pagination .dot {
        display: inline-block;
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        background-color: #ccc;
        margin: 0 0.25rem;
    }
    /* color changing needs JS */
    .how-it-works .carousel-pagination .dot.active {
        background-color: #d85151;
    }
}

/* CTA Section
--------------------------------------------- */
.grow {
    position: relative;
    width: 100%;
    display: block;
    align-items: center;
    min-height: 30rem;
}
.cta-section {
    width: 100%;
    display: flex;
    min-height: 30rem;
    background-color: #3d7a81;
    color: #fff;
    position: absolute;
}

.cta-content {
    flex-basis: 50%;
    padding: 3.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-image {
    flex-basis: 50%;
    background-image: url("../imgs/become-pro-cta.jpg");
    background-size: cover;
    background-position: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 2rem 0;
    max-width: 31.25rem;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-buttons .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0.0625rem solid transparent;
    transition: all 0.2s ease-in-out;
}

.cta-buttons .btn-primary {
    background-color: #d85151;
    color: white;
}
.cta-buttons .btn-primary:hover {
    background-color: #a83a3a;
}

.cta-buttons .btn-primary span {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.cta-buttons .btn-primary:hover span {
    transform: scale(1.2);
    transition: transform 0.3s ease-out;
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

@keyframes slide-right {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

.cta-buttons .btn-secondary span {
    margin-left: 0.5rem;
    font-size: 1.25rem;
}
.cta-buttons .btn-secondary:hover span {
    animation: slide-right 0.3s ease-out forwards;
}
.decorative-circle-container {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10.25rem;
    height: 10.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinning-text {
    width: 9rem;
    height: 9rem;
    animation: spin 22s linear infinite;
}

.circle-border-outer,
.circle-border-inner,
.circle-dot-center {
    position: absolute;
    border-radius: 50%;
}

.circle-border-outer {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 0.125rem solid white;
}

.circle-border-inner {
    width: 5.4375rem;
    height: 5.4375rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 0.125rem solid white;
}

.circle-dot-center {
    width: 1.875rem;
    height: 1.875rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #d85151;
}

@media (max-width: 768px) {
    .cta-image,
    .decorative-circle-container {
        display: none;
    }

    .cta-content {
        flex-basis: 100%;
        text-align: center;
        align-items: center;
    }

    .cta-content h2 {
        max-width: none;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* Get App Section
--------------------------------------------- */
.get-app-section {
    padding: 5rem 2.5rem;
}

.get-app-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fbeeee;
    border-radius: 1rem;
    padding: 0 0 0 3.75rem;
    overflow: hidden;
}

.app-info h2 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
}

.app-info p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.app-store-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background-color: #1a1a1a;
    color: #fff;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
}

.app-store-btn:hover {
    background-color: #333;
}

.app-store-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #fff;
}

.app-image img {
    max-width: 31.25rem;
    display: block;
}

@media (max-width: 768px) {
    .get-app-container {
        flex-direction: column;
        padding: 2.5rem;
        text-align: center;
    }
    .app-store-buttons {
        justify-content: center;
    }
    .app-image {
        margin-top: 2.5rem;
    }
    .app-image img {
        max-width: 100%;
    }
}

/* Pricing References Section
--------------------------------------------- */
.pricing-references {
    padding: 0 2.5rem 5rem 2.5rem;
    background-color: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.pricing-card {
    display: flex;
    border: 0.0625rem solid #e9ecef;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease-in-out;
}

.pricing-card:hover {
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.08);
}

.pricing-card img {
    width: 11.25rem;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
}

.pricing-card:hover img {
    transform: matrix(1.05, 0, 0, 1.05, 0, 0);
    transition: transform 0.3s ease-in-out;
}

.pricing-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.pricing-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.625rem 0;
    color: #212529;
}

.pricing-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1.25rem;
}

.pricing-details .rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pricing-details .star {
    color: #ffb400;
    font-size: 1rem;
}

.btn-book {
    border: 0.0625rem solid #ced4da;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: #343a40;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.2s ease-in-out;
}

.btn-book:hover {
    background-color: #343a40;
    color: #fff;
    border-color: #343a40;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .pricing-card {
        flex-direction: column;
    }

    .pricing-card img {
        width: 100%;
        height: 12rem;
    }
}

/* Footer Section
--------------------------------------------- */
footer {
    background-color: #111827;
    color: #fff;
    padding: 3.75rem 2.5rem;
}

footer .footer-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 0 2.5rem 2.5rem;
}

footer .footer-top .logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}

footer .footer-top .logo i {
    color: #fff;
    padding-right: 0.625rem;
}

footer .footer-top .logo span {
    color: #fff;
    font-weight: bold;
    padding: 0 0.625rem;
}

footer .footer-top .logo button {
    background-color: #d85151;
    color: #fff;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

footer .footer-top .logo button:hover {
    background-color: #a83a3a;
}

footer .footer-top .help span {
    color: #ccc;
    padding-right: 1.25rem;
}

footer .footer-top .help a {
    color: #fff;
    padding-right: 0.625rem;
    font-weight: bold;
    text-decoration: none;
}

footer .footer-top .help a:hover {
    text-decoration: underline;
}

footer .footer-links {
    padding: 2.5rem;
    border-top: lightgray 0.0625rem solid;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
footer .footer-links .left-side {
    max-width: 30%;
}

footer .footer-links .left-side .logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

footer .footer-links .left-side .logo a {
    text-decoration: none;
}

footer .footer-links .left-side .logo .logo_text {
    color: white;
    font-weight: bold;
    margin-left: 0.3125rem;
}

footer .footer-links .left-side .logo .icon {
    color: #d85151;
    vertical-align: middle;
}

footer .footer-links .left-side p {
    color: #ccc;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

footer .footer-links .left-side .social-icons {
    display: flex;
    gap: 0.9375rem;
}

footer .footer-links .left-side .social-icons .logo i {
    width: 0.9375rem;
    height: 0.9375rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .footer-links .left-side .social-icons .logo {
    color: #fff;
    border-radius: 50%;
    padding: 0.625rem;
    background-color: rgba(125, 123, 123, 0.361);
    text-decoration: none;
}

footer .footer-links .left-side .social-icons .logo:hover {
    background-color: rgba(125, 123, 123, 0.561);
}
footer .footer-links .right-side {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
}

footer .footer-links .right-side .list1,
footer .footer-links .right-side .list2 {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
}

footer .footer-links .right-side .list1 ul,
footer .footer-links .right-side .list2 ul {
    list-style: none;
    padding: 0;
    max-height: calc(6 * 1.5em);
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
    flex-wrap: wrap;
}

footer .footer-links .right-side a {
    text-decoration: none;
    color: #ccc;
    padding-right: 1.875rem;
    font-size: 0.875rem;
}

footer .footer-links .right-side a:hover {
    text-decoration: underline;
}

footer .footer-cities {
    text-align: left;
    padding: 1.25rem 0;
    font-size: 0.875rem;
    color: #ccc;
    display: flex;
    align-items: center;
}

footer .footer-cities h3 {
    font-size: 1.25rem;
    font-weight: bold;
}

footer .footer-cities ul {
    display: flex;
    gap: 0.625rem;
    list-style: none;
    justify-content: space-evenly;
    padding-left: 1.25rem;
}

footer .footer-cities ul li {
    padding: 0.625rem;
    border: rgb(68, 67, 67) 0.0625rem solid;
    border-radius: 1.25rem;
}

footer .footer-cities ul li a {
    text-decoration: none;
    color: #ccc;
}

footer .footer-cities ul li:hover {
    border-color: #fff;
}

footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
}

footer .footer-bottom a {
    text-decoration: none;
    color: #ccc;
    font-weight: bold;
}

footer .footer-bottom a:hover {
    text-decoration: underline;
}

footer .footer-bottom div {
    display: flex;
    gap: 0.9375rem;
}
@media (max-width: 992px) {
    .footer-cities ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .right-side ul li a {
        font-size: smaller;
        max-width: 20%;
    }
    footer .footer-links {
        flex-direction: column;
        align-items: center;
    }

    footer .footer-links .left-side,
    footer .footer-links .right-side {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    footer .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .footer-links .right-side {
        flex-direction: column;
        align-items: center;
    }

    footer .footer-links .right-side h3 {
        margin-bottom: 0.625rem;
        text-align: left;
    }

    footer .footer-links .right-side ul li {
        display: none;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
}

/* Floating Buttons
--------------------------------------------- */

/* Keyframe animations */
@keyframes slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes rotate-cw {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes slide-up {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-0.25rem);
    }
}

.floating-buttons {
    position: fixed;
    top: 50%;
    right: 0;
    padding: 0.5rem;
    transform: translateY(-50%);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.75rem;
    animation: slide-in-right 0.5s ease-out forwards;
}

.floating-buttons a {
    writing-mode: vertical-rl;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.2rem;
    border-radius: 50rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    text-decoration: none;
    font-size: 0.5rem;
    font-weight: 500;
    white-space: nowrap;
}

.floating-buttons a i {
    width: 0.875rem;
    height: 0.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-buttons a .txt {
    margin-left: 0.25rem;
}

.btn-scroll-top {
    background-color: #fff;
    border: 0.0625rem solid #6c757d;
    color: black;
    padding-right: 1rem;
    font-size: 0.6rem;
    transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn-scroll-top .icon-arrow {
    margin-left: 0.25rem;
    transition: transform 0.2s ease-out;
}

.btn-scroll-top:hover .icon-arrow {
    animation: slide-up 0.3s ease-out forwards;
}

.btn-customize {
    background-color: #fff;
    border: 0.0625rem solid #6c757d;
    color: black;
    text-transform: uppercase;
    font-size: 0.6rem;
    letter-spacing: 0.05rem;
    padding-right: 0.8rem;
}

.btn-customize .icon-settings {
    margin-left: 0.25rem;
    transition: transform 0.5s ease-in-out;
}

.btn-customize:hover .icon-settings {
    transform: rotate(180deg);
}
