.price-tag {
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    padding-bottom: 0.5em;
}

.service-list {
    font-size: 1.2em;
}

.card-title {
    font-weight: bold;
    font-size: 2em;
    color: #931a23;  /* Choose a color that complements your site */
    padding-bottom: 1rem; /* Space below the title */
    padding-top: 1rem;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

button.btn.btn-custom,
a.btn.btn-custom {
    background-color: #931a23;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Normal shadow */
    border: none;
    font-weight: bold;
    border-radius: 4px;
    transition: box-shadow 0.3s ease, background-color 0.3s ease; /* Smooth transition */
}

button.btn.btn-custom:hover,
a.btn.btn-custom:hover {
    background-color: #85282e;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}


#card-list-item {
    padding-top: 1em;
}

.card {
    padding: 20px; /* Overall card padding */
    background-size: cover;
}

.card-body {
    padding: 20px !important; /* padding within the card body */
    padding-bottom: 2.7em !important;
    background-color: rgba(255, 255, 255, 0.8);
}

/* Remove weird underscores after social media icons */
a.link-secondary {
    text-decoration: none;
}

/* Reset margin and padding for html and body */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

/* NAVBAR */
/* ******************************* */
:root {
    --navbar-bg-color: #cfd1d5;
    --navbar-text-color: #931a23;
    --navbar-text-color-focus: #22222d;
    --navbar-bg-contrast: #931a23 !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#navbar {
    --navbar-height: 64px;
    position: fixed;
    height: var(--navbar-height);
    background-color: var(--navbar-bg-color);
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}

.home-link,
.navbar-link {
    color: var(--navbar-text-color);
    transition: color 0.2s ease-in-out;
    text-decoration: none;
    display: flex;
    font-weight: bold;
    align-items: center;
    transition: background-color 0.2s ease-in-out,
                color 0.2s ease-in-out;
}

.home-link:focus,
.home-link:hover {
    color: var(--navbar-text-color-focus);
}

.navbar-link {
    justify-content: center;
    width: 100%;
    padding: 0.4em 0.8em;
    border-radius: 5px;    
}

.navbar-link:focus,
.navbar-link:hover {
    color: var(--navbar-text-color-focus);
    background-color: var(--navbar-bg-contrast);
}

.navbar-logo {
    /*background-color: var(--navbar-text-color-focus);*/
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-right: 0.5em;
}

.navbar-toggle {
    cursor: pointer;
    border: none;
    background-color: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 4px;
    margin: 2px;
    transition: background-color 0.2s ease-in-out,
                transform 0.2s ease-in-out,
                opacity 0.2s ease-in-out;
    background-color: var(--navbar-text-color);
}

.navbar-toggle:focus .icon-bar,
.navbar-toggle:hover .icon-bar {
    background-color: #931a23;
    /*background-color: var(--navbar-text-color-focus);*/
}


#navbar.opened .navbar-toggle .icon-bar:first-child,
#navbar.opened .navbar-toggle .icon-bar:last-child {
    position: absolute;
    margin: 0;
    width: 30px;
}

#navbar.opened .navbar-toggle .icon-bar:first-child {
    transform: rotate(45deg);
}

#navbar.opened .navbar-toggle .icon-bar:nth-child(2) {
    opacity: 0;
}

#navbar.opened .navbar-toggle .icon-bar:last-child {
    transform: rotate(-45deg);
}

#navbar-menu {
    position: fixed;
    top: var(--navbar-height);
    bottom: 0;
    transition: opacity 0.2s ease-in-out,
                visibility 0.2s ease-in-out,
                left 0.2s ease-in-out,
                right 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

#navbar-menu.attached {
    left: 0;
    right: 0;
}

#navbar.opened #navbar-menu {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
    visibility: visible;
}

.navbar-links {
    list-style-type: none;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    background-color: var(--navbar-bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#navbar.opened .navbar-links {
    padding: 1em;
    max-height: none;
}

.sidebar .navbar-links {
    top: 0;
    bottom: 0;
}

.attached .navbar-links {
    left: 0;
    right: 0;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.4);
}

.navbar-item {
    margin: 0.4em;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .navbar-toggle {
        display: none;
    }
    
    #navbar #navbar-menu,
    #navbar.opened #navbar-menu {
        visibility: visible;
        opacity: 1;
        position: static;
        display: block;
        height: 100%;
    }

    #navbar .navbar-links,
    #navbar.opened .navbar-links {
        margin: 0;
        padding: 0;
        box-shadow: none;
        position: static;
        flex-direction: row;
        list-style-type: none;
        max-height: max-content;
        width: 100%;
        height: 100%;
    }

    #navbar .navbar-link:last-child {
        margin-right: 0;
    }
}

/* Dropdown styling */
.navbar-item.dropdown {
    position: relative;
}

/* Initially hide dropdown on large screens */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--navbar-bg-color);
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 999;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu .navbar-link {
    width: 100%;
    text-align: left;
    border-radius: 0;
}

.dropdown-menu li .navbar-link:hover {
    background-color: var(--navbar-bg-contrast);
    color: #ffffff;
    /* No border-radius by default for middle items */
}

/* Add rounded corners to the top item when hovered */
.dropdown-menu li:first-child .navbar-link:hover {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/* Add rounded corners to the bottom item when hovered */
.dropdown-menu li:last-child .navbar-link:hover {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

@media screen and (min-width: 768px) {
    /* Show dropdown on hover for large screens */
    .navbar-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}

@media screen and (min-width: 768px) {
    .navbar-links {
        overflow: visible; /* Allow the dropdown to display fully below the navbar */
    }
}

@media screen and (max-width: 768px) {
    /* On mobile, just show dropdown items when menu is opened */
    #navbar.opened .navbar-item.dropdown .dropdown-menu {
        display: block;
        position: static; /* so it flows as part of the expanded list */
        box-shadow: none;
    }
}

.arrow-down {
    display: inline-block;          /* Needed so transform and alignment work properly */
    position: relative;
    top: 0.5px;
    transform: scaleY(0.8);         /* Slightly flatten it vertically; reduce number for flatter arrow */
    margin-left: 2px;               /* Optional: add a bit of space before the arrow */
    /* You can also nudge it up or down by using position relative:
       position: relative;
       top: -1px;  (to lift it a bit higher)
    */
  }
  
/* Dropdown divider */
.dropdown-menu .divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1); /* Light divider line */
    margin: 8px 0; /* Spacing around divider */
}
/* === VERTICAL CENTER FIX FOR DESKTOP/TABLET (put at end) === */
@media (min-width: 768px) {
  /* Make the right area a flex row and center its contents vertically */
  #navbar #navbar-menu {
    display: flex;
    align-items: center;
    height: auto;                 /* override earlier height:100% */
  }

  /* The list itself should be a centered flex row, not full-height */
  #navbar .navbar-links {
    display: flex;
    align-items: center;
    height: auto;                 /* override earlier height:100% */
    margin: 0;
  }

  /* Each item and link are flex-centered; remove vertical margins */
  #navbar .navbar-item {
    display: flex;
    align-items: center;
    margin: 0 0.4rem;             /* was 0.4em all around */
    width: auto;
  }

  #navbar .navbar-link {
    display: flex;
    align-items: center;
    line-height: 1;               /* avoids odd baseline alignment */
    padding: .5rem .75rem;
    width: auto;                  /* don't stretch */
  }

  /* Logo stays perfectly centered */
  #navbar .navbar-container { display: flex; align-items: center; }
  #navbar .navbar-logo img { display: block; }
}


/* ************************* */
/* NAVBAR */

/* FOOTER */
/* ************************* */

footer a{
    color: #22222d !important;
}

footer {
    padding-top: 15px;
    background-color: #cfd1d5;
}

h1, h2 {
    color: #333;
    margin-bottom: 1em;
}

p {
    margin-bottom: 1.2em;
}

/* ************************* */
/* FOOTER */

#accordionFlushExample { 
  scroll-margin-top: 50px;  /* <- adjust if your header changes height */
}