:root {
    --primary: #315f52;
    --primary-dark: #23483e;
    --cream: #fbf7f0;
    --sage: #e9f0ec;
    --accent: #b8724d;
    --text: #25332e;
    --muted: #66736e;
    --border: #dce6e1;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    font-size: 17px;
    line-height: 1.7;
}

section {
    scroll-margin-top: 90px;
}

.section-padding {
    padding: 90px 0;
}

.section-label {
    color: var(--accent);
    text-transform: uppercase;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 700;
    letter-spacing: -.03em;
}

.text-muted-custom {
    color: var(--muted);
}

/* Accessibility */
.skip-link {
    position: absolute;
    left: 10px;
    top: -70px;
    background: white;
    color: black;
    padding: 10px 15px;
    z-index: 9999;
}

.skip-link:focus {
    top: 10px;
}

:focus-visible {
    outline: 3px solid #ffbd59;
    outline-offset: 3px;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, .97);
}

.navbar-brand {
    color: var(--primary-dark);
    font-weight: 800;
}

.nav-link {
    color: #31423c;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 3px;
}

.nav-link:hover {
    color: var(--primary);
}

/* Buttons */
.btn-care {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    font-weight: 700;
}

.btn-care:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-outline-care {
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
}

.btn-outline-care:hover {
    background: var(--primary);
    color: white;
}

/* Hero */
.hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    color: white;
    background:
        linear-gradient(90deg,
            rgba(30, 65, 55, .95),
            rgba(30, 65, 55, .78),
            rgba(30, 65, 55, .45)),
        linear-gradient(135deg, #759387, #315f52);
}

.hero h1 {
    font-size: clamp(2.7rem, 7vw, 5.4rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.045em;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .12);
    border-radius: 30px;
    padding: 7px 14px;
    font-weight: 600;
}

/* Cards */
.care-card,
.feature-card,
.life-card,
.team-card {
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: white;
}

.icon-box {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sage);
    color: var(--primary);
    font-size: 1.4rem;
}

.bg-cream {
    background: var(--cream);
}

.bg-sage {
    background: var(--sage);
}

/* Placeholder photos */
.photo-placeholder {
    min-height: 290px;
    display: grid;
    place-items: center;
    text-align: center;
    /* border: 2px dashed #9fb5ac; */
    border-radius: 20px;
    color: #50675e;
    background:
        linear-gradient(135deg,
            rgba(49, 95, 82, .07),
            rgba(184, 114, 77, .08));
}

.photo-placeholder i {
    font-size: 2.4rem;
}

.gallery-item {
    min-height: 220px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    border: 1px dashed #a7bab3;
    background: white;
    color: #596d65;
    text-align: center;
}

/* Visit */
.visit-panel {
    background: var(--primary-dark);
    color: white;
    border-radius: 25px;
}

.visit-panel .form-control,
.visit-panel .form-select {
    min-height: 50px;
}

/* Contact */
.contact-card {
    border: 1px solid var(--border);
    border-radius: 20px;
}

iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 20px;
}

/* Footer */
footer {
    background: #172b25;
    color: white;
}

footer a {
    color: #e5efeb;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-muted {
    color: #afc0b9;
}

/* Cookie box */
.cookie-box {
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
    z-index: 9999;
}

.hero {
    /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("./imgs/hero2.png");

    /* Set a specific height */
    height: 50%;

    /* Position and center the image to scale nicely on all screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Reviews Slider */

.review-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 24px;
    min-height: 350px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.review-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;

    display: grid;
    place-items: center;

    margin-left: auto;
    margin-right: auto;

    background: var(--sage);
    color: var(--primary);

    font-size: 2rem;
}

.review-icon img{
    width: 100% !important;
    height: 100% !important;
}

.review-stars {
    color: #d99b35;
    font-size: 1.1rem;
}

.review-text {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.7;
    max-width: 750px;
    margin: auto;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
}

.review-arrow {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--primary);
    color: white;

    font-size: 1.25rem;
}

.review-arrow:hover {
    background: var(--primary-dark);
}

#reviewsCarousel .carousel-indicators button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
}

@media (max-width: 767px) {

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
    }

    .review-arrow {
        width: 38px;
        height: 38px;
    }

    .review-card {
        margin-left: 30px;
        margin-right: 30px;
    }

}

.review-icon span {
    font-size: 1.5rem;
    font-weight: 700;
}