html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Add Opacity to Image Headers */
.content-header {
    background: rgba(0,0,0,0.7) !important;
}

/* Spinner Color */
.spinner > div {
    background: var(--secondary-color) !important;
}

/* TopBar Color */
#topbar a i {
    color: var(--primary-color) !important;
}

#topbar.topbar-dark a i {
    color: var(--primary-color) !important;
}


.h-phone i {
    color: var(--secondary-color) !important;

}

.social-icons i:hover {
color: var(--secondary-color) !important;
}

#back-to-top {
    background: var(--secondary-color) !important;
}

#mainmenu li a:hover {
    color: var(--secondary-color) !important;
}

/* Custom Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
}

.leaflet-popup-content {
    margin: 15px;
    min-width: 200px;
}

.leaflet-container a {
    color: var(--primary-color) !important;
}

/* Leaflet Map Styles */
#map {
    height: 300px;
    min-height: 200px;
    max-height: 250px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.disclaimer-text {
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 991px) {
    #map {
        height: 200px !important;
    }
}

@media (max-width: 576px) {
    #map {
        height: 180px !important;
    }

    .disclaimer-text small {
        font-size: 0.75rem;
    }
}

.map-popup-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: opacity 0.3s;
}

    .map-popup-button:hover {
        opacity: 0.8;
        color: white;
    }


/* Footer Styles */

/* Style for practice area checkmarks in the footer */
footer .ul-style-2.s2 li:before {
    color: var(--secondary-color) !important;
}

footer .widget a {
    color: #fff !important;
}

    footer .widget a:hover {
        color: var(--secondary-color) !important;
    }



/* Active state for header navigation links used in _Header.cshtml & _HeaderPages.cshtml */
#mainmenu li a.active {
    color: var(--secondary-color) !important;
}

/* Floating Call Button */
.floating-call-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: slideInLeft 0.5s ease-out;
}

.call-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

    .call-btn:hover {
        background-color: #128C7E;
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }

.call-text {
    background-color: #555;
    color: white;
    padding: 6px 8px;
    border-radius: 5px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeIn 0.3s ease-out 0.5s forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}


/* Floating Call Button Mobile responsive */
@media (max-width: 768px) {
    .floating-call-button {
        bottom: 15px;
        left: 15px;
    }

    .call-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .call-text {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* Partner Logos Styling */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 15px;
    transition: transform 0.3s ease;
}

    .partner-logo img {
        max-height: 60px;
        max-width: 100%;
        height: auto;
        width: auto;
        object-fit: contain;
        filter: grayscale(100%);
        opacity: 0.7;
        transition: all 0.3s ease;
    }

    .partner-logo:hover img {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.05);
    }

/* Mobile specific adjustments */
@media (max-width: 576px) {
    .partner-logo {
        min-height: 70px;
        padding: 10px;
    }

        .partner-logo img {
            max-height: 50px;
        }
}


.no-gutters {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
}
header #logo {
    display: flex !important;
    align-items: center !important;
    height: 60px !important;
    max-height: 60px !important;
    overflow: hidden;
}

    header #logo a {
        display: inline-flex !important;
        align-items: center !important;
        height: 100% !important;
        max-height: 100% !important;
    }

    header #logo img.logo,
    header #logo img.logo-2,
    header #logo img {
        height: 100% !important;
        max-height: 60px !important;
        width: auto !important;
        object-fit: contain !important;
    }

/* Keep header sized to logo */
header.header-light {
    min-height: 70px !important;
}

    header.header-light .de-flex {
        min-height: 60px !important;
    }

/* Tablet */
@media only screen and (max-width: 992px) {
    header #logo {
        height: 48px !important;
        max-height: 48px !important;
    }

        header #logo img.logo,
        header #logo img.logo-2,
        header #logo img {
            max-height: 48px !important;
        }

    header.header-light {
        min-height: 58px !important;
    }
}

/* Mobile */
@media only screen and (max-width: 576px) {
    header #logo {
        height: 44px !important;
        max-height: 44px !important;
    }

        header #logo img.logo,
        header #logo img.logo-2,
        header #logo img {
            max-height: 44px !important;
        }

    header.header-light {
        min-height: 64px !important;
    }
}

.subfooter {
    margin-top: 0px !important;
}

.footerText {
    font-size: 14px !important;
}