/* Brand Color Migration: Replace Bootstrap default primary blue (#0d6efd) with brand gold (#b78d4c) */
:root {
  --bs-primary: #b78d4c;
  --bs-primary-rgb: 183, 141, 76;
  --bs-link-color: #b78d4c;
  --bs-link-hover-color: #a37d42;
}
.btn-primary {
  --bs-btn-bg: #b78d4c;
  --bs-btn-border-color: #b78d4c;
  --bs-btn-hover-bg: #a37d42;
  --bs-btn-hover-border-color: #99743c;
  --bs-btn-active-bg: #a37d42;
  --bs-btn-active-border-color: #99743c;
  --bs-btn-disabled-bg: #b78d4c;
  --bs-btn-disabled-border-color: #b78d4c;
}
.btn-outline-primary {
  --bs-btn-color: #b78d4c;
  --bs-btn-border-color: #b78d4c;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #b78d4c;
  --bs-btn-hover-border-color: #b78d4c;
  --bs-btn-focus-shadow-rgb: 183, 141, 76;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #b78d4c;
  --bs-btn-active-border-color: #b78d4c;
}
.text-primary, a.text-primary:hover, a.text-primary:focus {
  color: #b78d4c !important;
}
.bg-primary {
  background-color: #b78d4c !important;
}
.border-primary {
  border-color: #b78d4c !important;
}
.badge.bg-primary {
  background-color: #b78d4c !important;
}
.form-control:focus, .form-select:focus {
  border-color: #99743c !important;
  box-shadow: 0 0 0 0.25rem rgba(183, 141, 76, 0.25) !important;
}
.page-item.active .page-link {
  background-color: #b78d4c !important;
  border-color: #b78d4c !important;
}
.page-link {
  color: #b78d4c !important;
}
.page-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(183, 141, 76, 0.25) !important;
}
a {
  color: #b78d4c;
}
a:hover {
  color: #a37d42;
}

#overlay{
    position: absolute;
    width: 100vw;
    height: 100%;
    background: rgba(0,0,0,.6);
    top: 0;
    z-index: 9;
}
.counter-bg {
    z-index: 9;
}

@media only screen and (max-width: 991px) {
    .mean-container .mean-bar {
        background-color: #4c4944;
        padding: 10px 0;
    }
    .logo img {
        width: 60px;
    }
}
@media only screen and (max-width: 767px) {
    .help-left:before {
        left: -35px;
        border: 10px solid #b69d74;
        border-radius: 6px;
    }
}
.floating_btn {
    position: fixed;
    bottom: 30px;
    left: 15px;
    background: rgba(232, 76, 61, 0);
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.contact_icon {
    background-color: #42db87;
    color: #fff;
    width: 60px;
    height: 60px;
    font-size: 30px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translatey(0px);
    -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    font-weight: normal;
    font-family: sans-serif;
    text-decoration: none !important;
    transition: all 300ms ease-in-out;
}
.floating_btn2 {
    position: fixed;
    bottom: 30px;
    right: 15px;
    background: rgba(232, 76, 61, 0);
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.contact_icon2 {
    background-color: #b78d4c;
    color: #fff;
    width: 60px;
    height: 60px;
    font-size: 30px;
    border-radius: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translatey(0px);
    -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    font-weight: normal;
    font-family: sans-serif;
    text-decoration: none !important;
    transition: all 300ms ease-in-out;
}
@keyframes pulsing {
    to {
        box-shadow: 0 0 0 30px rgba(232, 76, 61, 0);
    }
}
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}
h4 {
    font-size: 17px;
    padding-top: 20px;
}
@media print {
    body { background: #fff !important; font-size: 12px !important; }
    .navbar, header, footer, .page-title-area, .floating_btn, .floating_btn2, .modal, .btn, nav { display: none !important; }
    .profile-header { background: transparent !important; padding: 20px 0 10px !important; margin-bottom: 20px !important; border-bottom: 2px solid #b78d4c; }
    .profile-header h1, .profile-header h5, .profile-header p { color: #000 !important; }
    .profile-photo { width: 100px !important; height: 100px !important; margin-top: 0 !important; border: 3px solid #b78d4c !important; box-shadow: none !important; display: block; margin: 0 auto; }
    .info-card { box-shadow: none !important; border: 1px solid #ddd !important; border-top: 3px solid #b78d4c !important; padding: 15px !important; margin-bottom: 15px !important; page-break-inside: avoid; }
    .container { width: 100% !important; max-width: 100% !important; padding: 0 !important; }
    iframe { display: none !important; }
    h1 { font-size: 24px !important; }
    h4 { font-size: 16px !important; padding-top: 0 !important; margin-bottom: 10px !important; }
    h5 { font-size: 14px !important; }
    h6 { font-size: 11px !important; margin-bottom: 2px !important; }
    .col-lg-8, .col-lg-4 { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
    .row { display: flex !important; flex-wrap: wrap !important; }
    .col-md-6 { width: 50% !important; max-width: 50% !important; flex: 0 0 50% !important; }
}

/* Custom Grid Card UI for Profiles */
.profile-grid-card {
    transition: all 0.3s ease;
    border: 1px solid #ced4da !important;
}
.profile-grid-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    transform: translateY(-5px);
    border-color: #c5a14d !important;
}