/* Variables and theme colors */
:root {
    --primary: #142A65;
    --secondary: #5C98F6;
    --background: #ffffff;
    --accent: #000000;
    --accent-hover: #5C98F6;
    --hero-heading: #000000;
    --hero-text: #000000;
    --header-background: #142A65;
    --header-link: #ffffff;
    --header-link-hover: #5C98F6;
    --header-text: #ffffff;
    --footer-background: #142A65;
    --footer-link: #ffffff;
    --footer-heading: #ffffff;
    --footer-text: #ffffff;
    --text: #777777;
    --heading: #000000;
    --button-background: #5C98F6;
    --button-background-hover: #000000;
    --button-text: #ffffff;
    --button-border: #5C98F6;
    --button-alt-background: #142A65;
    --button-alt-text: #ffffff;
    --page-title-background: #eeeeee;
}

a {
    text-decoration: none !important;
}

/* Base styles */
body {
    margin: 0;
    padding: 0;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-image: url('../images/hero-bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Layout */
.site {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.col-full {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.site-content {
    flex: 1;
    padding: 40px 0;
}

.content-area {
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    margin-top: 0;
    font-weight: 500;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 0.8em;
}

p {
    margin-bottom: 1.5em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

a.active {
    font-weight: bold !important;
    color: var(--accent-hover) !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.alignwide {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
}

/* Header */
.site-header {
    background-color: var(--header-background);
    color: var(--header-text);
    padding: 20px 0;
    margin-bottom: 3.706325903em;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.header-row:last-child {
    margin-bottom: 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo-link img {
    width: 143px;
    height: 137px;
}

/* Navigation */
.main-navigation {
    flex: 1;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu-item {
    margin-right: 20px;
}

.menu-item a {
    color: var(--header-link);
    font-weight: 500;
    display: inline-block;
    padding: 1em 0.25em;
    font-size: 1em;
}

.menu-item a:hover {
    color: var(--header-link-hover);
}

.menu-item a:focus {
    outline: 2px solid var(--secondary);
}

.current-menu-item a {
    border-bottom: 2px solid var(--header-link);
}

.handheld-nav {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--header-link);
    font-size: 1.5em;
    cursor: pointer;
}

.menu-toggle span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: relative;
}

.menu-toggle span:before,
.menu-toggle span:after {
    content: '';
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: var(--header-link);
}

.menu-toggle span:before {
    transform: translateY(-7px);
}

.menu-toggle span:after {
    transform: translateY(7px);
}

.navbar-toggler {
    border: none;
    color: white;
    cursor: pointer;
    background-color: transparent;
    padding: 10px;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.navbar-toggler:focus {
    outline: none;
    border: none;
}

button:focus:not(:focus-visible) {
    outline: none !important;
}

/* Mobile Navigation */
#mobileNav {
    background-color: var(--primary);
    padding: 10px 0;
}

#mobileNav .navbar-nav {
    padding-left: 0;
    list-style: none;
}

#mobileNav .nav-link {
    color: #ffffff;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mobileNav .nav-link.active {
    color: var(--secondary);
}

/* Skip links */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    width: auto;
    height: auto;
    clip: auto;
    display: block;
    padding: 15px 23px;
    color: var(--text);
    background-color: var(--background);
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
}

/* Main content */
.entry-content {
    padding: 20px 0;
}

.separator {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

/* Buttons */
.buttons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.button a {
    display: inline-block;
    background-color: var(--button-background);
    color: var(--button-text);
    border: 2px solid var(--button-border);
    border-radius: 5px;
    padding: 12px 24px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.button a:hover {
    background-color: var(--button-background-hover);
    color: var(--button-text);
}

/* Footer */
.site-footer {
    background-color: var(--footer-background);
    color: var(--footer-text);
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.footer-widgets.col-3 .block {
    width: 33.33%;
    padding: 0 15px;
    box-sizing: border-box;
}

.widget {
    margin-bottom: 20px;
}

.widget p {
    margin-bottom: 10px;
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-widgets.col-3 .block {
        width: 50%;
    }

    .footer-widget-1 {
        width: 100% !important;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .primary-navigation {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .handheld-nav {
        display: none;
    }

    .handheld-nav.toggled {
        display: block;
        width: 100%;
    }

    .handheld-navigation .menu {
        flex-direction: column;
    }

    .footer-widgets.col-3 .block {
        width: 100%;
    }

    .text-right, .text-center {
        text-align: left;
    }

    .footer-widget-2, .footer-widget-3 {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2em;
    }

    .header-row {
        flex-wrap: wrap;
    }

    .site-branding {
        margin: 0 auto;
    }

    .menu-toggle {
        position: absolute;
        top: 20px;
        right: 15px;
    }
}

.bg-navy {
    background-color: #0d1d4a; /* Dark navy blue color */
}

.footer {
    color: white;
    font-size: 16px;
}

.footer-info p {
    line-height: 2.4;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .footer-info {
        text-align: center;
        margin-bottom: 15px;
    }

    .col-md-4 {
        text-align: center !important;
    }
}

.content-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    padding: 40px;
    margin: 50px auto;
    max-width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.welcome-heading {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.divider {
    height: 1px;
    background-color: #ccc;
    width: 100px;
    margin: 20px auto 30px;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.action-button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.action-button:hover {
    color: var(--header-link-hover);
}

.insurance-text {
    text-align: center;
    color: #00000087;
    margin: 0 0 1.41575em;
    font-size: 15px;
}

.cash-pay-text {
    text-align: center;
    color: #00000087;
    margin: 0 0 1.41575em;
    font-size: 15px;
}

.welcome-text {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 2;
}

.service-text {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 2;
}

.spanish-text {
    color: #666;
    font-weight: 500;
    margin-top: 20px;
    font-size: 15px;
    line-height: 2;
}

/* Page Title */
.page-title-bar {
    background: #fff;
    padding: 2%;
    border-radius: 10px;
    margin-bottom: 80px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--heading);
    margin: 0;
}

.title-section {
    font-size: 1.6rem;
    line-height: 1.214;
    font-weight: 700;
    text-align: center;
    color: var(--heading);
    margin: 0 0 0.5407911001em;
}

.block-list {
    color: #00000087;
    margin: 0 0 1.41575em 3em;
    padding: 0;
}

.block-list li {
    margin-bottom: 5px;
}

.entry-content-ser {
    counter-reset: footnotes;
}

/* Content Area */
.content-area {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

h2 {
    color: var(--heading);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.2rem;
}

/* Gallery Section */
.gallery {
    margin-top: 40px;
}

.gallery-item {
    margin-bottom: 30px;
    position: relative;
}

/*.gallery-item img {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}*/

/*.gallery-item img:hover {
    transform: scale(1.03);
}*/

/*
margin-top: 10px;
font-size: 0.9rem;
color: var(--heading);
text-align: center;
*/

.image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 10px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill and crop evenly */
    display: block;
}

.image-wrapper1 img {
    width: 330px;
    height: 494px;
    display: block;
    border-radius: 8px;
}

.image-wrapper3 img {
    width: 100%;
    height: 350px;
    display: block;
    border-radius: 8px;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    color: #fff;
    text-align: center;
    background: linear-gradient(0deg, #0006, #0000);
    box-sizing: border-box;
    font-size: 13px;
    margin: 0;
    overflow: auto;
    padding: 1em;
    scrollbar-color: #0000 #0000;
    scrollbar-gutter: stable both-edges;
    scrollbar-width: thin;
    text-shadow: 0 0 1.5px #000;
    will-change: transform;
    max-height: 100%;
}

/*.gallery-caption {
    position: absolute;
    text-align: center;
    z-index: 9999999;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, #0006, #0000);
    box-sizing: border-box;
    color: #fff;
    font-size: 13px;
    margin: 0;
    overflow: auto;
    padding: 1em;
    scrollbar-color: #0000 #0000;
    scrollbar-gutter: stable both-edges;
    scrollbar-width: thin;
    text-shadow: 0 0 1.5px #000;
    will-change: transform;
    max-height: 100%;
}

.gallery-caption:before {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    content: "";
    height: 100%;
    -webkit-mask-image: linear-gradient(0deg, #000 20%, #0000);
    mask-image: linear-gradient(0deg, #000 20%, #0000);
    max-height: 40%;
}*/

.img-logo {
    display: flex;
    justify-content: center;
    filter: drop-shadow(2px 4px 6px #fff);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.2rem;
    }

    .img-logo {
        justify-content: start;
    }

    .navbar-toggler {
        position: absolute;
        top: 25%;
        left: 0;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .content-area {
        padding: 25px;
    }

    .text-end, .text-center {
        text-align: left !important;
    }

    .navbar-toggler {
        position: absolute;
        top: 10%;
        left: 0;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.8rem;
    }
    .content-area {
        padding: 20px;
    }
    .gallery-item {
        margin-bottom: 20px;
    }
}

.article-p {
    color: #00000087;
    line-height: 1.9;
}

/* Admin Dashboard */
.left-side {
    background-image: url('../images/hero-bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
