/* ============================================ */
/*                  Global Styles               */
/* ============================================ */
:root {
    --primary: #007bff; /* Change this to match your primary color */
    --primaryLight: #5dade2;
    --secondary: #5dade2;
    --secondaryLight: #5dade2;
    --headerColor: #1a1a1a;
    --bodyTextColor: #4e4b66;
    --bodyTextColorWhite: #fafbfc;
    --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem);
    --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
    --bodyFontSize: 1rem;
    --sectionPadding: clamp(4.75rem, 7.82vw, 6.25rem) 1rem;
    --btn-color-light: #333;
    --btn-bg-light: #fff;
    --btn-color-dark: #fff;
    --btn-bg-dark: #333;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #D1E7F9 0%, #FFFFFF 100%);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    --btn-color: var(--btn-color-light);
    --btn-bg: var(--btn-bg-light);
}

*, *:before, *:after {
    box-sizing: border-box;
}

/* ============================================ */
/*                Dark Mode Styles              */
/* ============================================ */
body.dark-mode {
    background: linear-gradient(to bottom, #1e1e1e, #121212);
    color: #ffffff;
    --btn-color: var(--btn-color-dark);
    --btn-bg: var(--btn-bg-dark);
}

body.dark-mode header {
    background-color: #1e1e1e;
    box-shadow: none;
}

body.dark-mode .navbar {
    background-color: #1e1e1e;
}

body.dark-mode .navbar a {
    color: #ffffff;
}

body.dark-mode .navbar a:hover {
    color: #80cbc4;
}

body.dark-mode .top-bar {
    background-color: #1e1e1e;
}

body.dark-mode .language-btn, 
body.dark-mode .dark-mode-btn {
    color: #ffffff;
}

body.dark-mode .dropdown-menu {
    background-color: #1e1e1e;
    color: #ffffff;
}

body.dark-mode .dropdown-menu a {
    color: #ffffff;
}

body.dark-mode .dropdown-menu a:hover {
    background-color: #333333;
}

body.dark-mode .hero-buttons .cs-button-solid {
    background-color: #333333;
    color: #ffffff;
}

body.dark-mode .hero-buttons .cs-button-solid:hover {
    background-color: #80cbc4;
}

body.dark-mode .hero-buttons .cs-button-outline {
    border-color: #80cbc4;
    color: #80cbc4;
}

body.dark-mode .hero-buttons .cs-button-outline:hover {
    background-color: #80cbc4;
    color: #1e1e1e;
}

body.dark-mode footer {
    background-color: #1e1e1e;
    color: #ffffff;
}

body.dark-mode .footer-section a {
    color: #80cbc4;
}

body.dark-mode .footer-section a:hover {
    color: #ffffff;
}

body.dark-mode .cs-card-group .cs-item {
    background-color: #1e1e1e;
}

body.dark-mode .cs-card-group .cs-item:hover {
    background-color: #333333;
}

body.dark-mode #hero-1203 {
    color: #ffffff;
}

body.dark-mode .cs-title {
    color: #ffffff;
}

body.dark-mode .cs-text {
    color: #b0b0b0;
}

body.dark-mode .cs-topper {
    color: #80cbc4;
}

body.dark-mode .progress-dot {
    border-color: #ffffff;
}

body.dark-mode .progress-dot.active {
    background-color: #80cbc4;
}

body.dark-mode #services-title {
    background-color: #1e1e1e;
}

body.dark-mode #services-title h2 {
    color: #ffffff;
}

body.dark-mode #cs-contact-242 .cs-title,
body.dark-mode #about-content .cs-title {
    color: #ffffff;
}

body.dark-mode #cs-contact-242 .cs-text,
body.dark-mode #about-content .cs-text {
    color: #b0b0b0;
}

body.dark-mode #cs-contact-242 .cs-label {
    color: #b0b0b0;
}

body.dark-mode #cs-contact-242 .cs-input,
body.dark-mode #cs-contact-242 .cs-textarea {
    background-color: #333333;
    color: #ffffff;
    border: 1px solid #555555;
}

body.dark-mode #cs-contact-242 .cs-input::placeholder,
body.dark-mode #cs-contact-242 .cs-textarea::placeholder {
    color: #b0b0b0;
}

/* ============================================ */
/*                  Top Bar Styles              */
/* ============================================ */
.top-bar {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    background-color: transparent;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1002;
}

.language-btn, .dark-mode-btn {
    margin-left: 10px;
    padding: 5px 10px;
    background-color: transparent;
    color: var(--btn-color);
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.language-btn:hover, .dark-mode-btn:hover {
    background-color: var(--btn-color);
    color: var(--btn-bg);
    text-decoration: none;
}

/* ============================================ */
/*                  Header Styles               */
/* ============================================ */
header {
    background-color: #fff;
    padding: 0;
    height: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #333;
    margin-left: 30px; /* Position hamburger menu to the right */
}

.hamburger:hover {
    color: #007bff;
}

.logo {
    flex-shrink: 0;
}

nav {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}

.logo img {
    height: auto;
    width: 150px;
}

.appointment {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 40px; /* Adjusted margin for equal spacing */
}

.appointment:hover {
    background-color: #0056b3;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    flex-direction: column; /* Ensure items stack vertically */
}

.dropdown-menu.show {
    display: flex; /* Show the menu when 'show' class is added */
}

.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu ul li {
    border-bottom: 1px solid #ddd;
}

.dropdown-menu ul li a {
    display: block;
    padding: 15px;
    color: #333;
    text-decoration: none;
    width: 100%; /* Ensure full width clickable area */
}

.dropdown-menu ul li a:hover {
    background-color: #f8f9fa;
}

/* Button Styles */
.cs-button-solid {
    font-size: 1rem;
    text-align: center;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    width: 11.25rem;
    text-decoration: none;
    font-weight: 700;
    overflow: hidden;
    color: #1a1a1a;
    padding: 0;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.cs-button-solid:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
}

.cs-button-solid:hover {
    color: #fff;
}

.cs-button-solid:hover:before {
    width: 100%;
}

.cs-button-outline {
    font-size: 1rem;
    text-align: center;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    width: 11.25rem;
    text-decoration: none;
    font-weight: 700;
    overflow: hidden;
    color: #007bff;
    padding: 0;
    background-color: transparent;
    border: 1px solid #007bff;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.cs-button-outline:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background: #007bff;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
}

.cs-button-outline:hover {
    color: #fff;
}

.cs-button-outline:hover:before {
    width: 100%;
}

/* ============================================ */
/*              Language Dropdown Styles        */
/* ============================================ */
.language-container {
    position: relative;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.language-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.language-dropdown ul li {
    border-bottom: 1px solid #ddd;
}

.language-dropdown ul li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

.language-dropdown ul li a:hover {
    background-color: #f8f9fa;
}

.language-container.active .language-dropdown {
    display: block;
}

/* ============================================ */
/*                    Hero                      */
/* ============================================ */

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #hero-1203 {
        padding: clamp(9rem, 25.95vw, 21.875rem) 1rem;
        padding-bottom: 0;
        position: relative;
        z-index: 1;
        overflow: hidden;
    }
    #hero-1203:before {
        content: "";
        width: 100%;
        height: clamp(6.25rem, 29vw, 12.5rem);
        background: #1a1a1a;
        opacity: 1;
        position: absolute;
        display: block;
        bottom: 0;
        left: 0;
    }
    #hero-1203 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(3rem, 7vw, 4rem);
    }
    #hero-1203 .cs-content {
        text-align: center;
        width: 100%;
        max-width: 39.375rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #hero-1203 .cs-topper {
        font-size: var(--topperFontSize);
        line-height: 1.2em;
        text-transform: uppercase;
        text-align: center;
        letter-spacing: 0.1em;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.25rem;
        display: block;
    }
    #hero-1203 .cs-title {
        font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
        font-weight: 900;
        line-height: 1.2em;
        width: 100%;
        max-width: 17ch;
        margin: 0 0 1rem;
        position: relative;
    }
    #hero-1203 .cs-text {
        font-size: 1.25rem;
        line-height: 1.5em;
        width: 100%;
        max-width: 43.75rem;
        margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
        color: var(--bodyTextColor);
    }
    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    #hero-1203 .cs-picture {
        width: 100%;
        max-width: 34.0625rem;
        height: auto;
        display: flex;
        align-items: flex-end;
        position: relative;
    }
    #hero-1203 .cs-picture img {
        width: 100%;
        height: auto;
    }
    #hero-1203 .cs-floater {
        display: none; /* Hide the arrow */
    }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #hero-1203:before {
        height: 16.125rem;
    }
    #hero-1203 .cs-picture {
        width: 70%;
        max-width: 54.125rem;
    }
    #hero-1203 .cs-floater {
        display: none; /* Hide the arrow */
    }
}
/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
    #hero-1203 {
        padding-bottom: 12.5rem;
    }
    #hero-1203:before {
        height: 100%;
        width: 40vw;
        margin-left: 20.8125rem;
        left: 50%;
    }
    #hero-1203 .cs-container {
        flex-direction: row;
        justify-content: flex-start;
        position: initial;
    }
    #hero-1203 .cs-content {
        text-align: left;
        align-items: flex-start;
    }
    #hero-1203 .cs-picture {
        width: 54.125rem;
        height: 52.625rem;
        margin-left: 0.625rem;
        position: absolute;
        left: 50%;
        bottom: 0;
    }
    #hero-1203 .cs-picture img {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        position: absolute;
        object-fit: contain;
    }
    #hero-1203 .cs-floater {
        display: none; /* Hide the arrow */
    }
}

/* ============================================ */
/*                Services Title                */
/* ============================================ */
#services-title {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 40px; /* Add bottom margin to create space */
}

#services-title h2 {
    font-size: 2rem;
    color: #333;
    font-weight: bold;
    margin: 0;
}

/* ============================================ */
/*                    Services                  */
/* ============================================ */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #services-1354 {
        padding: var(--sectionPadding);
        position: relative;
        z-index: 10;
    }
    #services-1354 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: clamp(3rem, 6vw, 4rem);
    }
    #services-1354 .cs-content {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #services-1354 .cs-topper {
        color: #767676;
    }
    #services-1354 .cs-title {
        max-width: 25ch;
        margin: 0;
    }
    #services-1354 .cs-service-slider {
        width: 100%;
    }
    #services-1354 .cs-card-group {
        margin: 0;
        padding: 0;
        width: 100%;
        display: none; /* Hide all by default */
        grid-template-columns: repeat(4, 1fr);
        gap: clamp(1rem, 2vw, 1.25rem);
    }
    #services-1354 .cs-card-group.active {
        display: grid; /* Show only active group */
    }
    #services-1354 .cs-item {
        text-align: center;
        list-style: none;
        width: 100%;
        height: 19.0625rem;
        margin: 0;
        padding: 0;
        background-color: #000;
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: 0px 12px 80px 0px rgba(26, 26, 26, 0.08);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        position: relative;
        z-index: 1;
    }
    #services-1354 .cs-item:hover .cs-background:before {
        background-color: rgba(255, 255, 255, 0.6); /* Light white color on hover */
        opacity: 0.84;
    }
    #services-1354 .cs-item:hover .cs-background img {
        transform: scale(1.2);
    }
    #services-1354 .cs-link {
        text-decoration: none;
        width: 100%;
        height: 100%;
        padding: 1.5rem;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #services-1354 .cs-h3 {
        font-size: 1.5625rem;
        line-height: 1.2em;
        font-weight: bold;
        text-align: inherit;
        margin: 0;
        color: var(--bodyTextColorWhite);
        transition: color 0.3s;
    }
    #services-1354 .cs-span {
        display: block;
    }
    #services-1354 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #services-1354 .cs-background:before {
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        background-color: #000;
        opacity: 0.4;
        top: 0;
        left: 0;
        z-index: 1;
        transition: background-color 0.3s, opacity 0.3s;
    }
    #services-1354 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition: transform 0.6s;
    }
}
/* Tablet - 600px */
@media only screen and (min-width: 37.5rem) {
    #services-1354 .cs-card-group {
        grid-template-columns: repeat(2, 1fr);
    }
    #services-1354 .cs-item {
        height: 15rem;
    }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #services-1354 .cs-card-group {
        grid-template-columns: repeat(4, 1fr);
    }
    #services-1354 .cs-item {
        height: 19.0625rem;
    }
}

/* ============================================ */
/*               Progress Bar Section           */
/* ============================================ */
#progress-bar-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.progress-bar {
    display: flex;
    gap: 10px;
}

.progress-dot {
    width: 20px;
    height: 20px;
    background-color: #ddd;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.progress-dot.active {
    background-color: #007bff;
}

/* ============================================ */
/*               Contact Section                */
/* ============================================ */
#cs-contact-242 {
    padding: var(--sectionPadding);
    margin-top: 100px; /* Adjust this value to match the height of your navbar */
}

#cs-contact-242 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
}

#cs-contact-242 .cs-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cs-contact-242 .cs-topper {
    font-size: var(--topperFontSize);
    line-height: 1.2em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: block;
}

#cs-contact-242 .cs-title {
    font-size: var(--headerFontSize);
    font-weight: 900;
    line-height: 1.2em;
    max-width: 32.625rem;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    position: relative;
}

#cs-contact-242 .cs-text {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    max-width: 32.625rem;
    margin: 0;
    color: var(--bodyTextColor);
}

#cs-contact-242 #cs-form-242 {
    width: 100%;
    margin-bottom: clamp(2rem, 5.3vw, 2.5rem);
    padding: clamp(1.25rem, 4.5vw, 2.5rem);
    box-sizing: border-box;
    border: 1px solid #dad9e3;
    border-radius: 1rem;
}

#cs-contact-242 .cs-label {
    font-size: clamp(0.875rem, 1.3vw, 1rem);
    line-height: 1.5em;
    font-weight: 700;
    margin-bottom: clamp(1rem, 1em, 1.25rem);
    color: var(--headerColor);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

#cs-contact-242 .cs-label-message {
    margin-bottom: clamp(2rem, 4.5vw, 2.5rem);
}

#cs-contact-242 .cs-input,
#cs-contact-242 .cs-textarea {
    font-size: 1rem;
    width: 100%;
    height: 4rem;
    margin-top: 0.25rem;
    padding-left: 1.25rem;
    border: 1px solid transparent;
    border-bottom: 1px solid #b4b2c7;
    box-sizing: border-box;
    transition: border 0.3s;
}

#cs-contact-242 .cs-input:hover,
#cs-contact-242 .cs-textarea:hover {
    border: 1px solid var(--primary);
}

#cs-contact-242 .cs-input::placeholder,
#cs-contact-242 .cs-textarea::placeholder {
    color: #7d799c;
}

#cs-contact-242 .cs-textarea {
    font-family: inherit;
    margin: 0;
    padding-top: 1.25rem;
    min-height: 7.5rem;
}

#cs-contact-242 .cs-button-solid {
    font-size: 1rem;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

#cs-contact-242 .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width 0.3s;
}

#cs-contact-242 .cs-button-solid:hover:before {
    width: 100%;
}

#cs-contact-242 .cs-submit {
    width: 100%;
    border: none;
    border-radius: 0.5rem;
}

#cs-contact-242 .cs-submit:hover {
    cursor: pointer;
}

/* Dark mode styles */
body.dark-mode #cs-contact-242 {
    background-color: #1e1e1e;
    color: #ffffff;
}

body.dark-mode #cs-contact-242 .cs-title {
    color: #ffffff;
}

body.dark-mode #cs-contact-242 .cs-text {
    color: #b0b0b0;
}

body.dark-mode #cs-contact-242 .cs-label {
    color: #b0b0b0;
}

body.dark-mode #cs-contact-242 .cs-input,
body.dark-mode #cs-contact-242 .cs-textarea {
    background-color: #333333;
    color: #ffffff;
    border: 1px solid #555555;
}

body.dark-mode #cs-contact-242 .cs-input::placeholder,
body.dark-mode #cs-contact-242 .cs-textarea::placeholder {
    color: #b0b0b0;
}

/* ============================================ */
/*                About Section                 */
/* ============================================ */
#about-hero {
    padding: var(--sectionPadding);
    background-color: transparent;
    text-align: center;
    margin-top: 100px;
}

#about-hero .cs-title {
    font-size: var(--headerFontSize);
    font-weight: 900;
    line-height: 1.2em;
    color: var(--headerColor);
    margin: 0;
}

#about-content {
    padding: var(--sectionPadding);
}

#about-content .cs-text {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    color: var (--bodyTextColor);
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    text-align: justify;
}

/* ============================================ */
/*                  Popup Styles                */
/* ============================================ */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.popup-content .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.popup-info {
    margin-top: 20px;
    color: #333;
}

/* ============================================ */
/*                 Footer Section               */
/* ============================================ */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 20px 0;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-section p, .footer-section a, .footer-section address {
    font-size: 14px;
    line-height: 1.5;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-rights {
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-container {
        flex-wrap: nowrap;
    }
}

/* Footer Menu List Styles */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 5px;
}

/* Site Map Popup Styles */
.sitemap-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.sitemap-popup-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.sitemap-popup-content .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.sitemap-popup-content h2 {
    margin-bottom: 20px;
}

.sitemap-popup-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-popup-content ul li {
    margin-bottom: 10px;
}

.sitemap-popup-content ul li a {
    text-decoration: none;
    color: #007bff;
}

.sitemap-popup-content ul li a:hover {
    text-decoration: underline;
}


/* ============================================ */
/*               Responsive Adjustments         */
/* ============================================ */
@media (max-width: 768px) {
    .hamburger {
        display: block; /* Show hamburger menu on small screens */
    }

    nav ul {
        display: none; /* Hide the navigation links initially */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 119px;
        background-color: #fff;
    }

    nav ul.active {
        display: flex; /* Show navigation when hamburger is clicked */
    }

    .navbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    nav ul li {
        margin-left: 0; /* No left margin for vertical stacking */
        width: 100%; /* Full width links for easier touch */
    }

    nav ul li a {
        padding: 10px; /* Larger clickable area */
    }

    .appointment {
        display: none; /* Hide the appointment button in nav */
    }

    .dropdown-menu ul li a.cs-button-solid {
        width: 100%; /* Full width for the appointment button in the dropdown */
        text-align: center;
    }
}
