/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
    /**
   * colors
   */

    --dark-jungle-green: hsl(0, 0%, 10%);
    --prussian-blue: hsl(0, 0%, 20%);
    --raisin-black-1: hsl(0, 0%, 15%);
    --raisin-black-2: hsl(0, 0%, 25%);
    --yellow-green: hsl(0, 0%, 50%);
    --orange-soda: hsl(40, 90%, 60%); /* Gold */
    --cultured-1: hsl(0, 0%, 95%);
    --cultured-2: hsl(0, 0%, 98%);
    --misty-rose: hsl(0, 0%, 95%);
    --alice-blue: hsl(210, 100%, 97%);
    --seashell: hsl(0, 0%, 97%);
    --cadet: hsl(0, 0%, 50%);
    --white: hsl(0, 0%, 100%); /* Putih */
    --black: hsl(0, 0%, 10%); /* Tetap hitam */
    --opal: hsl(50, 90%, 60%); /* Gold */

    /**
   * typography
   */

    --ff-nunito-sans: "Nunito Sans", sans-serif;
    --ff-poppins: "Poppins", sans-serif;

    --fs-1: 1.875rem;
    --fs-2: 1.5rem;
    --fs-3: 1.375rem;
    --fs-4: 1.125rem;
    --fs-5: 0.875rem;
    --fs-6: 0.813rem;
    --fs-7: 0.75rem;

    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;

    /**
   * transition
   */

    --transition: 0.25s ease;

    /**
   * spacing
   */

    --section-padding: 100px;
    --section-padding-2: 50px;

    /**
   * shadow
   */

    --shadow-1: 0 5px 20px 0 hsla(219, 56%, 21%, 0.1);
    --shadow-2: 0 16px 32px hsla(188, 63%, 7%, 0.1);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

a,
img,
button,
ion-icon {
    display: block;
}

button {
    border: none;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

address {
    font-style: normal;
}

ion-icon {
    pointer-events: none;
}

html {
    font-family: var(--ff-nunito-sans);
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--white);
}

::-webkit-scrollbar-thumb {
    background: var(--cadet);
    border-left: 2px solid var(--white);
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
    padding-inline: 15px;
}

button,
a {
    transition: var(--transition);
}

.h1,
.h2,
.h3 {
    color: var(--dark-jungle-green);
    font-family: var(--ff-poppins);
    line-height: 1.3;
}

.h1 {
    font-size: var(--fs-1);
    line-height: 1;
}

.h2 {
    font-size: var(--fs-2);
}

.h3 {
    font-size: var(--fs-4);
    font-weight: var(--font-weight, 700);
}

.h3 > a {
    color: inherit;
}

.btn {
    position: relative;
    background: var(--orange-soda);
    color: var(--white);
    font-family: var(--ff-poppins);
    font-size: var(--fs-5);
    text-transform: var(--text-transform, capitalize);
    border: 1px solid var(--orange-soda);
    padding: 10px 20px;
    z-index: 1;
}

.btn:is(:hover, :focus) {
    background: var(--black);
    color: var(--dark-jungle-green);
    border-color: var(--black);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--white);
    transition: var(--transition);
    z-index: -1;
}

.btn:is(:hover, :focus)::before {
    width: 100%;
}

.w-100 {
    width: 100%;
}

.section-subtitle {
    color: var(--orange-soda);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    padding: 5px 20px;
    background: hsla(9, 100%, 62%, 0.1);
    width: max-content;
    border-radius: 50px;
    margin-inline: auto;
    margin-bottom: 15px;
}

.section-title {
    text-align: var(--text-align, center);
    margin-bottom: var(--margin-bottom, 50px);
    font-weight: 500;
}

.card-badge {
    background: var(--black);
    color: var(--white);
    font-size: var(--fs-7);
    text-transform: uppercase;
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    z-index: 1;
}

.card-badge.green {
    background: var(--yellow-green);
}

.card-badge.orange {
    background: var(--orange-soda);
}

.has-scrollbar {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    overflow-x: auto;
    margin-inline: -15px;
    padding-inline: 15px;
    scroll-padding-left: 15px;
    padding-bottom: 60px;
    scroll-snap-type: inline mandatory;
}

.has-scrollbar > li {
    min-width: 100%;
    scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar-track {
    background: var(--cultured-2);
    outline: 2px solid var(--cadet);
    border-radius: 10px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
    background: var(--cadet);
    border: 1px solid var(--cultured-2);
    border-radius: 10px;
}

.has-scrollbar::-webkit-scrollbar-button {
    width: 15%;
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/
header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
}

.header-container {
    width: 100%;
    padding-inline: 15px;
}

.header-container > .navbar-wrapper {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.navbar-wrapper > .navbar-logo {
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar-logo > a {
    display: block;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    -webkit-tap-highlight-color: transparent !important;
}

.navbar-logo > a > img {
    width: 200px;
}

@media (min-width: 768px) {
    .navbar-logo > a > img {
        width: 250px;
    }
}

.navbar-wrapper > .navbar-menu {
    display: flex;
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: center;
}

.navbar-menu > .hamburger-button {
    display: block;
    position: absolute;
    right: 1rem;
    -webkit-tap-highlight-color: transparent !important;
}

@media (min-width: 1024px) {
    .navbar-menu > .hamburger-button {
        display: none;
    }
}

.hamburger-active > span:nth-child(1) {
    transform: rotate(-45deg);
}

.hamburger-active > span:nth-child(2) {
    transform: scale(0);
}

.hamburger-active > span:nth-child(3) {
    transform: rotate(45deg);
}

.hamburger-line {
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: #000000;
    width: 30px;
    height: 2px;
}

.hamburger-line:nth-child(1) {
    transition-property: background-color, border-color, color, fill, stroke,
        opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top right;
}
.hamburger-line:nth-child(2) {
    transition-property: background-color, border-color, color, fill, stroke,
        opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger-line:nth-child(3) {
    transition-property: background-color, border-color, color, fill, stroke,
        opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom right;
}

.hidden {
    display: none;
}

.navbar-menu > nav {
    position: absolute;
    padding-block: 15px;
    right: 0;
    top: 100%;
    border-radius: 0.5rem;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@media (min-width: 1024px) {
    .navbar-menu > nav {
        display: block;
        position: static;
        border-radius: 0;
        background-color: transparent;
        box-shadow: none;
    }
}

.nav-ul {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .nav-ul {
        display: flex;
        align-items: center;
        flex-direction: row;
    }
}

.nav-list {
    display: flex;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-left: 2rem;
    margin-right: 2rem;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: #000000;
}

.nav-list:hover {
    color: #f5b83d;
}

.nav-book {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border: 1px solid #ffffff;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    background: #f5b83d;
}

.nav-book:hover {
    border: 1px solid #000000;
    color: #000000;
    background-color: transparent;
}

.fixed-navbar {
    position: fixed;
    z-index: 10;
    background-color: #ffffff;
    box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
}

/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
    background: var(--cultured-2);
    align-items: center;
    align-content: center;
    width: 100dvw;
    height: 100dvh;
}

@media (min-width: 640px) {
    .hero {
        align-content: center;
    }
    .hero-content {
        margin-right: 20px;
    }
}

.hero > .container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column-reverse;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 100dvw;
    height: 100dvh;
    padding-top: 80px;
}

/* jangan lupa taro dibawah */
@media (min-width: 768px) {
    .hero > .container {
        flex-direction: row;
        flex-wrap: nowrap;
        padding-top: 81px;
    }

    .hero-content {
        width: 50%;
    }
    .container > .swiper {
        width: 50%;
        height: 100% !important;
    }
}

.hero-content {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.hero-title {
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-text {
    color: var(--cadet);
    font-size: var(--fs-5);
    line-height: 1.8;
    padding-left: 15px;
    border-left: 1px solid;
    margin-bottom: 20px;
}

.container > .swiper {
    width: 100%;
    height: 70%;
    border-radius: 20px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide .img-responsive {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--orange-soda);
}

.swiper-pagination-bullet-active {
    background-color: var(--orange-soda);
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about {
    padding-block: var(--section-padding);
}

.about .container {
    display: grid;
    grid-template-rows: auto auto;
    align-items: center;
}

#cafe > .container,
#gather > .container {
    display: grid;
}

#cafe > .container > .about-content,
#gather > .container > .about-content {
    order: 9999;
}

@media (min-width: 1024px) {
    #cafe > .container > .about-content,
    #gather > .container > .about-content {
        order: -9999;
    }
}

#parking,
#cafe,
#meeting,
#gather,
#kitchen {
    padding-block: var(--section-padding-2);
    /* padding-top: var(--section-padding-2); */
}

#parking {
    margin-top: var(--section-padding-2);
}

#kitchen {
    margin-bottom: var(--section-padding-2);
}

.about-banner {
    position: relative;
    margin-bottom: 40px;
}

.about-banner > img {
    max-height: 80dvh;
    max-width: 90dvw;
    border-radius: 10px;
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.about-banner > img:hover {
    box-shadow: var(--shadow-1);
    border-radius: 10px;
    transform: scale(1.02);
}

.about-bannering {
    position: relative;
    margin-bottom: 40px;
}

.about-bannering > img {
    max-width: max-content;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease; /* Efek transisi untuk perubahan transformasi */
}

.about-bannering > img:hover {
    transform: scale(
        1.02
    ); /* Memperbesar gambar sebesar 10% saat mengarahkan kursor */
}

.about .section-subtitle {
    margin-inline: 0;
}

.about .section-title {
    --text-align: left;
    --margin-bottom: 15px;
}

.about-text {
    color: var(--cadet);
    font-size: var(--fs-5);
    line-height: 1.7;
    margin-bottom: 30px;
    border-left: 1px solid;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .about-text {
        padding-left: 30px;
    }
}

.about-list {
    margin-bottom: 30px;
}

.about-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.about-item-icon {
    background: var(--misty-rose);
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.about-item-icon ion-icon {
    color: var(--orange-soda);
    font-size: 18px;
}

.about-item-text {
    color: var(--cadet);
    font-size: var(--fs-5);
}

.about .callout {
    background: hsla(7, 78%, 53%, 0.05);
    color: var(--cadet);
    font-size: var(--fs-5);
    font-weight: var(--fw-500);
    line-height: 1.8;
    padding: 20px 25px;
    border-left: 4px solid var(--orange-soda);
    margin-bottom: 40px;
}

.about .btn {
    max-width: max-content;
    --text-transform: uppercase;
}

/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
    background: var(--cultured-2);
    padding-block: var(--section-padding);
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--white);
    text-align: center;
    padding: 40px 30px;
    box-shadow: var(--shadow-2);
}

.service-card .card-icon {
    width: max-content;
    margin-inline: auto;
    margin-bottom: 20px;
}

.service-card .card-title {
    margin-bottom: 15px;
}

.service-card .card-title > a:is(:hover, :focus) {
    color: var(--orange-soda);
}

.service-card .card-text {
    color: var(--cadet);
    font-size: var(--fs-5);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-card .card-link {
    color: var(--opal);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.service-card:is(:hover, :focus) .card-link {
    color: var(--orange-soda);
}

.service-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--orange-soda);
    transition: var(--transition);
}

.service-card:is(:hover, :focus)::after {
    width: 100%;
}

/*-----------------------------------*\
  #PROPERTY
\*-----------------------------------*/

.property {
    padding-block: var(--section-padding);
    min-width: 0;
}

.property .callout {
    background: hsla(7, 78%, 53%, 0.05);
    color: black;
    font-size: var(--fs-5);
    font-weight: var(--fw-500);
    line-height: 1.8;
    padding: 5px 10px; /* Kurangi padding untuk membuat kotak lebih kecil */
    margin: 0 auto 30px; /* Memposisikan callout di tengah dan menambahkan ruang di bagian bawah */
    max-width: fit-content; /* Menyesuaikan lebar kotak dengan panjang tulisan */
    background-color: rgb(255, 204, 204);
    border-left: 4px solid red;
    display: inline-block; /* Menyesuaikan lebar kotak dengan panjang tulisan */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    min-width: 0;
}

.property-list {
    list-style: none; /* Menghilangkan bullets atau numbering pada daftar */
    padding: 0; /* Menghapus padding default dari <ul> */
    margin: 0; /* Menghapus margin default dari <ul> */
    display: flex;
    flex-wrap: wrap; /* Membungkus kartu-kartu ke baris baru jika tidak cukup lebar */
    justify-content: center; /* Menengahkan kartu-kartu dalam container */
    min-width: 0;
}

.property-list li {
    margin: 10px; /* Memberikan jarak antara kartu-kartu */
    min-width: 0;
}

.property-card {
    border: 1px solid var(--alice-blue);
    box-shadow: var(--shadow-2);
    border-radius: 10px; /* Menambahkan border radius untuk sudut yang lebih lembut */
    overflow: hidden; /* Menghindari border terlihat terpotong oleh bayangan */
    max-width: 400px; /* Atur lebar maksimum kartu */
    width: 100%; /* Kartu akan mengikuti lebar container induknya */
    min-width: 0;
}

.property-card .card-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* max-height: 75%; */
    max-height: 230px;
    min-width: 0;
}

@media (min-width: 450px) {
    .property-card .card-banner {
        max-height: 300px;
    }
}

.card-banner .swiper {
    z-index: 0;
}

.card-banner .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-banner .swiper-pagination {
    /* position: absolute; */
    bottom: calc(100% - 39px);
    left: 15px;
    padding: 0 10px;
    width: unset;
    z-index: 1;
}

.property-card .card-banner .swiper-slide img {
    display: block;
    width: 100%; /* Set width to 100% to fill the container */
    object-fit: cover; /* Scale the image while preserving its aspect ratio */
    object-position: bottom; /* Position the image at the top */
    transition: 0.5s ease;
}

.property-card:hover .card-banner img {
    transform: scale(1.1);
}

.property-card .card-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(0, 0%, 0%, 0.95), transparent 30%);
    pointer-events: none;
    z-index: 1;
}

.property-card .banner-actions {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: center;
    gap: 15px 10px;
    z-index: 1;
}

.banner-actions-btn {
    color: var(--white);
    font-size: var(--fs-6);
    line-height: 1;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.banner-actions-btn ion-icon {
    font-size: 16px;
}

.banner-actions-btn:first-child {
    margin-right: auto;
}

.banner-actions-btn:is(:hover, :focus) {
    color: var(--orange-soda);
}

.property-card .card-content {
    padding: 30px 15px 15px;
    border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
}

.card-badge.green {
    background-color: green; /* Atur latar belakang menjadi hijau */
    color: white; /* Atur warna teks menjadi putih */
    /* Opsional: tambahkan properti lain sesuai kebutuhan */
}

.card-price {
    color: var(--orange-soda);
    font-family: var(--ff-poppins);
    font-size: var(--fs-4);
    margin-bottom: -5px;
}

.card-price strong {
    font-size: var(--fs-3);
    font-weight: var(--fw-600);
}

.card-price2 {
    color: var(--orange-soda);
    font-family: var(--ff-poppins);
    font-size: var(--fs-6);
    margin-bottom: 5px;
}

.card-price2 strong {
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
}

.property-card .card-title {
    --font-weight: var(--fw-600);
    margin-bottom: 15px;
}

.property-card .card-title > a:is(:hover, :focus) {
    color: var(--orange-soda);
}

.property-card .card-text {
    width: 100%;
    color: var(--cadet);
    font-size: 16px;
    font-weight: bold;
    line-height: 1.8;
    display: flex;
    flex-wrap: nowrap;
    /* overflow: scroll; */
}

.property-card .card-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.card-list > .card-item {
    color: var(--cadet);
    font-size: var(--fs-5);
    margin: 0;
    width: 50%;
    border-right: none;
    display: flex;
    align-items: flex-start;
    padding-block: 5px;
    line-height: 1.2;
}

.card-list-top > .card-item > span {
    display: inline-block;
}

.card-content hr {
    border-top: 1px solid hsla(0, 0%, 0%, 0.2);
    border-radius: 5px;
    margin: 10px 0;
}

.property-card .card-item :is(strong, ion-icon) {
    display: inline-block;
}

.property-card .card-item ion-icon,
.property-card .card-item img {
    margin-right: 5px;
    height: 16px;
}

.card-footer {
    padding: 15px;
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar img {
    width: 40px; /* Sesuaikan dengan ukuran yang diinginkan */
    height: auto; /* Biarkan tinggi sesuai proporsi */
}

.author-avatar ion-icon {
    font-size: 40px;
    color: green;
    transition: transform 0.3s ease; /* Menambahkan transisi smooth */
}

.author-avatar a:hover ion-icon {
    transform: scale(1.1); /* Scale up the icon on hover */
}

.author-avatar {
    margin-right: 10px; /* Atur jarak kanan antara elemen-elemen */
}

.author-avatar img {
    transition: transform 0.3s ease; /* Menambahkan transisi smooth */
}

.author-avatar img:hover {
    transform: scale(1.1); /* Menambahkan efek membesar saat dihover */
}

.author-name > a {
    color: var(--dark-jungle-green);
    font-family: var(--ff-poppins);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    margin-bottom: 3px;
}

.author-name > a:is(:hover, :focus) {
    color: var(--orange-soda);
}

.author-title {
    color: var(--cadet);
    font-size: var(--fs-7);
}

.card-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-footer-actions-btn {
    background: var(--cultured-2);
    color: var(--cadet);
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.card-footer-actions-btn:is(:hover, :focus) {
    background: var(--orange-soda);
    color: var(--white);
}

/*-----------------------------------*\
  #FEATURES
\*-----------------------------------*/

.features {
    background: var(--cultured-2);
    padding-block: var(--section-padding);
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 20px;
}

.features-list > li {
    width: calc(50% - 10px);
}

.features-card {
    position: relative;
    background: var(--white);
    padding: 40px 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-1);
}

.features-card:is(:hover, :focus) {
    background: var(--orange-soda);
}

.features-card .card-icon {
    background: var(--seashell);
    color: var(--orange-soda);
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 28px;
}

.features-card .card-icon ion-icon {
    --ionicon-stroke-width: 20px;
}

.features-card .card-title {
    color: var(--dark-jungle-green);
    font-family: var(--ff-poppins);
    font-size: var(--fs-6);
    font-weight: var(--fw-600);
    text-align: center;
    transition: var(--transition);
}

.features-card:is(:hover, :focus) .card-title {
    color: var(--white);
}

.features-card .card-btn {
    background: var(--white);
    color: var(--cadet);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 20px;
    border-radius: 50%;
    box-shadow: 0 0 10px hsla(219, 56%, 21%, 0.1);
    transition: var(--transition);
}

.features-card:is(:hover, :focus) .card-btn {
    color: var(--orange-soda);
}

/*-----------------------------------*\
  #Terms and Condition
\*-----------------------------------*/
.terms {
    background: var(--cultured-2);
    padding-block: var(--section-padding);
}

.terms h2 {
    margin-bottom: 20px;
}

.tnd-wrapper {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.terms-and-conditions {
    margin: 0 auto;
    width: 560px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    text-align: left;
}

.terms-and-conditions h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.terms-and-conditions ul {
    padding: 0;
    margin-bottom: 20px;
    margin-left: 20px;
}

.terms-and-conditions ul li {
    margin-bottom: 10px;
    list-style: decimal;
}

.terms-and-conditions p {
    font-style: italic;
    color: #666;
    line-height: 1.5;
}

/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta {
    background: linear-gradient(
        to bottom,
        var(--cultured-2) 50%,
        var(--raisin-black-1) 50%
    );
}

.cta-card {
    background: var(--orange-soda);
    padding: 50px 25px;
    box-shadow: var(--shadow-2);
}

.cta-card .card-content {
    max-width: max-content;
    margin-inline: auto;
    margin-bottom: 30px;
}

.cta-card .card-title {
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 15px;
}

.cta-card .card-text {
    color: var(--white);
    font-size: var(--fs-5);
    line-height: 1.8;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
    background: var(--white);
    box-shadow: var(--shadow-2);
    border-color: var(--white);
    margin-inline: auto;
}

.cta-btn:is(:hover, :focus) {
    background: none;
    color: var(--white);
    border-color: transparent;
}

.cta-btn::before {
    background: var(--black);
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
    background: var(--raisin-black-1);
    color: var(--white);
}

.footer a,
.footer address {
    color: inherit;
    text-decoration: none;
    font-style: normal;
}
.footer li {
    list-style: none;
    padding: 0;
}

.footer-top {
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-top .container {
    padding-inline: 30px;
}

.footer-social:nth-of-type(1) {
    margin-bottom: 60px;
}
.footer-social:nth-of-type(2) {
    margin-bottom: 60px;
}
.footer-social:nth-of-type(3) {
    margin-bottom: 50px;
}

.footer-social .logo {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

.footer-social > a > img {
    width: 250px;
    display: flex;
}

.section-text {
    font-family: var(--ff-nunito-sans);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 45ch;
}

.contact-list {
    display: grid;
    gap: 15px;
    margin: 0 0 30px 0;
    padding: 0;
}

.contact-link {
    font-family: var(--ff-nunito-sans);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-link ion-icon {
    font-size: 18px;
}

.contact-link :is(address, span) {
    font-size: 1rem;
    transition: 0.25s ease;
}

.contact-link:is(:hover, :focus) span,
.contact-link:is(:hover, :focus) address {
    color: var(--orange-soda);
}

.footer-list-title {
    font-family: var(--ff-nunito-sans);
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 25px 0;
}

.services-list {
    padding: 0;
    margin: 0;
}

.footer-link {
    font-family: var(--ff-nunito-sans);
    font-size: 1rem;
}

.social-list {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 32px;
    padding: 0;
    margin: 0;
}

.contact-link:is(:hover, :focus),
.footer-link:is(:hover, :focus),
.social-link:is(:hover, :focus) ion-icon {
    color: var(--orange-soda);
}

.footer-bottom {
    background: hsl(0, 0%, 25%);
    padding-block: 25px;
    font-family: var(--ff-nunito-sans);
    font-size: 1rem;
}

.copyright {
    font-size: 1rem;
    text-align: center;
}

.copyright a {
    display: inline-block;
}

.copyright a:is(:hover, :focus) {
    color: var(--orange-soda);
}

@media (min-width: 640px) {
    .footer-top .container {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        padding-inline: 50px;
    }

    .footer-social:nth-of-type(1) {
        grid-area: 1 / 1 / 3 / 2;
        margin-bottom: 50px;
    }
    .footer-social:nth-of-type(2) {
        grid-area: 1 / 2 / 2 / 3;
        margin-bottom: 50px;
    }
    .footer-social:nth-of-type(3) {
        grid-area: 2 / 2 / 3 / 3;
        margin-bottom: 50px;
    }
}

@media (min-width: 768px) {
    .footer-social > a > img {
        width: 300px;
    }
}

@media (min-width: 768px) {
    .footer-social > a > img {
        width: 300px;
    }
}

@media (min-width: 1200px) {
    .footer-top .container {
        display: flex;
        justify-content: space-between;
        max-width: 1140px;
        margin: 0 auto;
    }
    .footer-social:nth-of-type(1) {
        width: 570px;
        margin-bottom: 50px;
    }
    .footer-social:nth-of-type(2) {
        width: 280px;
        margin-bottom: 50px;
    }
    .footer-social:nth-of-type(3) {
        width: 280px;
        margin-bottom: 50px;
    }
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 600px screen
 */

@media (min-width: 600px) {
    /**
   * CUSTOM PROPERTY
   */

    :root {
        /**
     * typography
     */

        --fs-2: 1.875rem;
    }

    /**
   * REUSED STYLE
   */

    .container {
        max-width: 550px;
        margin-inline: auto;
    }

    .has-scrollbar {
        gap: 25px;
        margin-inline: -25px;
        padding-inline: 25px;
        scroll-padding-left: 25px;
    }

    .has-scrollbar > li {
        min-width: calc(50% - 12.5px);
    }

    /**
   * SERVICE
   */

    .service-list > li {
        width: calc(50% - 15px);
    }

    /**
   * PROPERTY
   */

    .property .container {
        max-width: unset;
        padding-inline: 25px;
    }

    /**
   * CTA
   */

    .cta-card {
        --fs-2: 1.5rem;
    }

    /**
   * FOOTER
   */

    .footer-link-box {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }
}

/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {
    /**
   * CUSTOM PROPERTY
   */

    :root {
        /**
     * typography
     */

        --fs-1: 2.5rem;
        --fs-5: 0.938rem;
        --fs-6: 0.875rem;
    }

    /**
   * REUSED STYLE
   */

    .container {
        max-width: 720px;
    }

    .btn {
        --fs-5: 1rem;
        padding: 12px 28px;
    }

    /**
   * HERO
   */

    .hero-content {
        max-width: 400px;
    }

    /**
   * ABOUT
   */

    .about .section-title {
        max-width: 30ch;
    }

    .about-text {
        max-width: 55ch;
    }

    .about-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .about-banner > .main-img {
        width: 650px;
        height: 900px;
        object-fit: cover;
    }

    /**
   * FEATURES
   */

    .features-list > li {
        width: calc(33.33% - 13.33px);
    }

    .features-card {
        gap: 20px;
    }

    .features-card .card-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .features-card .card-title {
        --fs-6: 1.125rem;
    }

    /**
   * BLOG
   */

    .blog-card {
        --fs-7: 0.875rem;
    }

    .blog-title {
        font-size: 1.25rem;
    }

    .blog .card-meta-list {
        gap: 30px;
    }

    /**
   * CTA
   */

    .cta-card {
        --fs-2: 1.625rem;
    }

    /**
   * FOOTER
   */

    .footer {
        margin-bottom: 0;
    }
}

/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {
    /**
   * CUSTOM PROPERTY
   */

    :root {
        /**
     * typography
     */

        --fs-1: 3.125rem;
        --fs-4: 1.375rem;
    }

    /**
   * REUSED STYLE
   */

    .container {
        max-width: 970px;
    }

    .btn {
        padding: 15px 40px;
    }

    /**
   * HERO
   */

    .hero-content {
        max-width: unset;
        margin-bottom: 0;
    }

    /* .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    } */

    /**
   * ABOUT
   */

    .about .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 60px;
    }

    .about-banner {
        margin-bottom: 0;
        justify-self: center;
    }

    .about-banner > img {
        /* width: 100%; */
    }

    .about-bannering {
        margin-bottom: 0;
    }

    .about-bannering > img {
        width: 100%;
    }

    /**
   * SERVICE
   */

    .service-list > li {
        width: calc(33.33% - 20px);
    }

    /**
   * PROPERTY
   */

    .property-card .card-content {
        padding-inline: 30px;
    }

    .card-footer {
        padding: 20px 30px 30px;
    }

    /**
   * FEATURES
   */

    .features-list {
        column-gap: 30px;
    }

    .features-list > li {
        width: calc(25% - 30px);
    }

    /**
   * BLOG
   */

    .blog-title {
        font-size: 1.375rem;
    }

    /**
   * CTA
   */

    .cta-card {
        --fs-2: 1.875rem;
        --fs-5: 1rem;

        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 50px;
    }

    .cta-card :is(.card-content, .cta-btn) {
        margin: 0;
    }

    /**
   * FOOTER
   */

    .footer-top .container {
        display: flex;
        justify-content: space-between;
    }
}

/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {
    /**
   * CUSTOM PROPERTY
   */

    :root {
        /**
     * typography
     */

        --fs-2: 2.75rem;
        --fs-4: 1.5rem;
    }

    /**
   * REUSED STYLE
   */

    .container {
        max-width: 1200px;
    }

    .has-scrollbar > li {
        min-width: calc(33.33% - 16.66px);
    }

    /**
   * HERO
   */

    .hero-text {
        padding-left: 30px;
        max-width: 450px;
        margin-bottom: 40px;
    }

    /**
   * FEATURES
   */

    .features-card .card-icon {
        width: 100px;
        height: 100px;
        font-size: 45px;
    }

    .features-card .card-title {
        --fs-6: 1.375rem;
    }

    /**
   * CTA
   */

    .cta-card {
        --fs-2: 2.25rem;
        padding-inline: 60px;
    }

    /**
   * FOOTER
   */

    .footer {
        --fs-5: 1rem;
    }

    .footer-link-box {
        flex-basis: 700px;
    }
}
