﻿/*body, ul, li {
    margin: 0;
    padding: 0;
}*/
body, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding and borders are included in width/height */
}
.bodyheight {
    min-height: 100vh;
}
/* Main navigation styles */
/*ul.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: white;
    border: black;
    border-width: 2px;
    align-items: center;
    position:center;
}*/

ul.navbar {
    display: flex;
    align-items: center; /* Vertically center items */
    justify-content: flex-start; /* Align items to the left */
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: white;
   
}

    ul.navbar li {
        display: inline-block;
        position: relative;
        border: black;
        border-width: 2px;
        order: 1;
        align-items: center;
    }

        ul.navbar li input[type=email] {
            width: 90%
        }

        ul.navbar li a {
            display: block;
            padding: 10px;
            text-decoration: none;
            color: #18587C;
            font-weight:700;
            font-size:14px;
            border: black;
            border-width: 2px;
        }

        ul.navbar li a:hover {
            color: #D5534A;
        }

        ul.navbar li:hover > ul {
            display: block;
        }

    /*ul.navbar .login-link {
        margin-left: auto;
        margin-right:1%;*//* Push the login link to the far right */
    /*}*/
/* Submenu styles */
ul.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: floralwhite;
    border-style: solid;
    border-width: 1px;
    border-color: #457B9E;
    border-radius: 10px;
}

    ul.submenu li {
        display: block;
        border-radius: 10px;
    }

        ul.submenu li a {
            padding: 10px;
            color: #333;
        }

    /* Submenu indicator */
    ul.submenu:before {
        content: "";
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid #f1f1f1;
    }

    /* Sub-submenu styles */
    ul.submenu ul {
        top: 0;
        left: 100%;
    }

    ul.submenu li:hover {
        background-color: #457B9E;
    }

    ul.submenu li a:hover {
        color: white;
    }

.logo {
    height: 50px;
    padding-left: 10px;
    padding-top: 10px;
}

.loginbtn {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: #17587C; /* Button background color */
    color: #fff; /* Button text color */
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease; /* Add a smooth transition effect on hover */
}

    .loginbtn:hover {
        background-color: #095E96; /* Change the background color on hover */
    }


/* Style the login container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75vh;
    width: 100vw;
}

/* Style the login box */
.login-box {
    width: 350px;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

    .login-box h2 {
        text-align: center;
        font-size: 24px;
        color: #D5534A;
        margin-bottom: 20px;
    }

.login-form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-container.login-form div {
    justify-content: center;
}

.login-form button[type="submit"] {
    width: 100%;
    align-content: center;
    padding: 10px;
    background-color: #457B9E;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

    .login-form button[type="submit"]:hover {
        background-color: #457B9E;
    }

.forgot-password {
    text-align: center;
    margin-top: 20px;
    color: #007bff;
    cursor: pointer;
}

.loginbtn-container {
    padding-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.text-danger {
    color: red
}

.Blue {
    background-color: #457B9E
}

.Red {
    background-color: #D5534A
}

.button {
    width: 100%;
    align-content: center;
    padding: 10px;
    background-color: #D5534A;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.logoutbtn {
    float: right; /* Keep the button floated to the right */
    padding-right: 20px;
    padding-top: 40px;
    margin-left: auto;
    text-align: right;
}

    .logoutbtn button {
        font-size: 14px; /* Reduce font size */
        padding: 5px 10px; /* Adjust padding to make the button smaller */
        border-radius: 4px; /* Optional: Round the corners slightly */
        /*background-color: #007bff;*/ /* Optional: Change the button color */
        color: white; /* Ensure the text is readable */
        border: none; /* Remove the border */
        cursor: pointer; /* Add a pointer cursor */
        width:100px;
    }

        .logoutbtn button:hover {
            background-color: #0056b3; /* Optional: Change color on hover */
        }

    .logoutbtn a {
        display: block; /* Ensure the username appears on its own line */
        margin-top: 10px; /* Add space between the logout button and the username */
        font-size: 12px; /* Optional: Adjust the font size for the username */
    }
.verticalnavbar {
    list-style-type: none;
    background-color: #18587C;
    border: black;
    border-width: 2px;
}

    .verticalnavbar li input[type=text] {
        width: 90%;
        margin-bottom: 10px;
    }

    .verticalnavbar li input[type=submit] {
        width: 90%;
        margin-bottom: 10px;
    }

ul.verticalnavbar li a {
    color: white;
}

ul.verticalnavbar li p {
    color: white;
}

ul.verticalnavbar li {
    display: block;
    position: static;
    border: black;
    border-width: 2px;
    height: 30px;
}

h4 {
    color: #457B9E;
    font-weight: bold;
    font-size: 30px;
}

.divcontainer {
    display: flex;
}

    .divcontainer div {
        padding-top: 10px;
        padding-left: 10px
    }

        .divcontainer div div {
            padding-left: 10px
        }

        .divcontainer div input {
            width: 191px;
            height: 20px;
        }


        .divcontainer div select {
            width: 200px;
            height: 24px;
        }

.footer {
}

.verticaldiv {
    padding-left: 20px;
    border-color: black;
    border-width: 1px;
    border-style: solid;
    background-color: #18587C;
    float: left;
    width: 10%;
    margin-top: 20px;
    height: 100vh;
    margin-right: 30px;
}

.buttonregular {
    background-color: #D5534A;
    color: white;
    width: 100px;
    border-radius: 20px;
    cursor: pointer;
}

.buttonprint {
    background-color: #D5534A;
    color: white;
    width: 300px;
    border-radius: 20px;
    cursor: pointer;
}

table {
    border-style: solid;
}

    table thead {
        background-color: #18587C;
        color: white
    }

th, td {
    border-bottom: 2px solid #ddd;
    border-right: 2px solid #ddd
}

tbody, tr {
}

.btn {
    background-color: #D5534A;
    color: white;
    width: 100px;
    border-radius: 20px;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.blink {
    animation: blink infinite;
}

.profile-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/*.hero {
    position: relative;
    height: 100vh;*/ /* Full viewport height */
    /*overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}*/

.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:0px;
    padding-bottom:0px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    object-fit: cover; /* Ensures the video covers the entire background */
    z-index: -1; /* Puts the video behind the content */
}


/*.hero-content {
    position: relative;
    z-index: 1;*/ /* Ensures the content is above the video */
    /*max-width: 600px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);*/ /* Optional: Adds a transparent background for readability */
    /*border-radius: 10px;*/ /* Optional: Rounds the edges of the content box */
/*}*/

.hero-content {
    position: absolute;
    top: 30%; /* Adjust this value to move it higher */
    left: 30%; /* Adjust this value to move it to the left */
    transform: translate(-50%, -50%);
    text-align: left; /* Align text to the left */
    color: white;
    background-color: rgba(0, 0, 0, 0.3); /* Optional: Add a semi-transparent background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .hero-content button {
        background-color: #D5534A;
        color: white;
        border: none;
        padding: 10px 20px;
        font-size: 1rem;
        border-radius: 5px;
        cursor: pointer;
    }

        .hero-content button:hover {
            background-color: #b04137;
        }



@media (max-width: 768px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-content button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    /* Navbar */
    ul.navbar {
        flex-direction: column;
        align-items: flex-start;
    }

        ul.navbar li {
            width: 100%;
            text-align: left;
        }

            ul.navbar li a {
                display: block;
                padding: 10px;
            }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 0.8rem;
    }

    .hero-content button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .about-us h1 {
        font-size: 1.5rem;
    }

    .about-us p {
        font-size: 0.9rem;
    }
}

.imagecontainer {
    flex: 1;
    text-align: center;
    width: 50%;
    margin: 0;
    padding: 0;
}

    /* Image Wrapper */
    .image-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .image {
        padding:0;
        margin:0;
        display: block;
        width: 100%;
        height: 100%;
    }

    /* Overlay for color transition */
.overlay {
    margin-left: 20%;
    margin-top: 40%;
    position: absolute;
    top: 0;
    left: 0;
    width: 57%;
    height: 13%;
    background-color: yellow; /* Start color */
    mix-blend-mode: multiply;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 30px;
}

    /* Slider Styling */
.slider-container {
    margin-top: 10px;
    width: 100%;
}

    .slider {
        -webkit-appearance: none;
        width: 10%;
        height: 8px;
        background: #ddd;
        outline: none;
        border-radius: 5px;
        overflow: hidden;
        cursor: pointer;
    }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 10px;
            height: 10px;
            background: #D5534A;
            border-radius: 50%;
            cursor: pointer;
        }

        .slider:-moz-range-thumb {
            width: 20px;
            height: 20px;
            background: #D5534A;
            border-radius: 50%;
            cursor: pointer;
        }

.about-section {
    display: flex; /* Use Flexbox for horizontal alignment */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    padding: 20px;
    align-items: center; /* Vertically center-align items */
    justify-content: space-between;
    gap: 20px; /* Space between the image and content */
}

.about-us {
    margin: 0px;
    padding: 0px 0px;
    text-align: center;
    background-color: #f9f9f9;
}

    .about-us h1 {
        font-size: 2.5rem;
        color: #18587C;
    }

    .about-us p {
        font-size: 1rem;
        color: #333;
        max-width: 800px;
        margin: 20px auto;
        line-height: 1.6;
    }

.appointment-container {
    max-width: 80%;
    margin: 20px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Optional dark overlay for readability */
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-image: url(../images/smile-creation-banner2.jpg); /* Path to your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.appointment-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #D5534A;
    text-align: center;
}

.appointment-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.appointment-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.appointment-single-row {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.appointment-input-box {
    width: 45%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    color: black;
    box-sizing: border-box;
}

.appointment-textarea-box {
    width: 40%; /* Matches other inputs */
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    color: black;
    box-sizing: border-box;
}

.appointment-submit-button {
    width: 25%; /* Matches input fields */
    padding: 10px;
    font-size: 1.2rem;
    background-color: #18587C;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px; /* Adjust spacing */
}

    .appointment-submit-button:hover {
        background-color: #D5534A;
    }

.appointment-dropdown-box {
    width: 45%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    color: black;
    appearance: none; /* Removes default dropdown arrow */
}

.appointment-recaptcha-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px; /* Reduced gap */
}

@media screen and (max-width: 768px) {
    .appointment-input-box,
    .appointment-textarea-box,
    .appointment-dropdown-box {
        width: 90%; /* Full width for smaller screens */
    }

    .appointment-submit-button {
        width: 80%;
    }
}

#homepge-treatments-specialties {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
}

    #homepge-treatments-specialties h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: #333;
    }

.homepge-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four items per row */
    gap: 10px; /* Reduce gap between items */
    justify-content: center; /* Center the grid horizontally */
    align-items: center;
    margin: 0 auto; /* Center the grid container within the section */
    max-width: 70%; /* Set a maximum width for the grid */
    border: 2px;
    border-color: black;
}

.homepge-grid-item {
    text-align: center;
    background-color: #eaf4fc;
    width: 200px; /* Fixed width */
    height: 200px; /* Fixed height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: transform 0.3s ease;

}

    .homepge-grid-item:hover {
        transform: translateY(-10px);
        background-color:white;
    }

    .homepge-grid-item img {
        width: 150px;
        height: auto;
        margin-bottom: 10px;
    }

    .homepge-grid-item p {
        font-size: 1rem;
        color: black;
        font-weight:700;
        margin: 0;
    }

@media (max-width: 768px) {
    .homepge-grid-container {
        grid-template-columns: repeat(2, 1fr); /* Adjust for smaller screens */
    }
}

@media (max-width: 480px) {
    .homepge-grid-container {
        grid-template-columns: 1fr; /* Single column for very small screens */
    }
}

.image-slider-container {
    position: relative;
    width: 30%; /* Adjust as per your image dimensions */
    height: 300px; /* Adjust as per your image dimensions */
    overflow: hidden;

  
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
}

    .slider-image img {
        width: 90%;
        height: 100%;
    }

    .slider-image.after {
        clip-path: inset(0 55% 0 0); /* Initially, half of the image is visible */
        transition: clip-path 0.3s ease;
    }

.slider {
    position: absolute;
    top: 70%; /* Center the slider vertically */
    left: 0; /* Align the slider to the left */
    width: 100%; /* Make the slider full-width */
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: all;
    appearance: none; /* Removes default browser styles */
    background: transparent; /* Transparent background for the slider */
    height: 10px; /* Slider thickness */
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

    .slider::-webkit-slider-thumb {
        appearance: none;
        width: 20px; /* Make the thumb handle more visible */
        height: 20px;
        border-radius: 50%;
        background: #ff6f61; /* Thumb color */
        border: 2px solid #fff;
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #ff6f61;
        border: 2px solid #fff;
        cursor: pointer;
    }

    .slider::-ms-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #ff6f61;
        border: 2px solid #fff;
        cursor: pointer;
    }

.labels {
    position: absolute;
    top: 10px; /* Moves labels to the top of the container */
    width: 70%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.before-label {
    color: #ff6f61;
}

.after-label {
    color: #18587C;
}

.statistics-section {
    background-color: #194970; /* Blue background */
    padding: 50px 20px;
}

.statistics-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
}

.statistics-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

    .statistics-image img {
        max-width: 100%;
        border-radius: 10px; /* Rounded corners */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow for depth */
    }

.statistics-info {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background-color: #013a63; /* Darker blue box */
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow */
    transition: transform 0.3s ease;
}

    .stat-box:hover {
        transform: translateY(-5px); /* Hover effect */
    }

.stat-icon img {
    width: 50px;
    height: 50px;
}

.stat-text h2 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
}

.stat-text p {
    color: #a8d5ff;
    margin: 5px 0 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .statistics-info {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
}


.features-section {
    background-image: url('/images/home/feature-bg-1024x403.jpg'); /* Correct relative path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; /* Ensure no tiling */
    padding: 50px 20px; /* Adjust padding for spacing */
    color: #fff;
    text-align: center;
}


.features-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: auto;

}

.feature {
    background-color: transparent; /* Semi-transparent background */
    padding: 10px;
    border-radius: 10px;
    width: 250px; /* Fixed width for columns */
    flex-grow: 1;
    color: black; /* Ensure text is readable */
}

.feature-icon img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature p {
    font-size: 0.9rem;
    line-height: 1.5;
}


.homepg-team-section {
    text-align: center;
    margin: 20px auto;
}

.homepg-team-carousel {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 80%;
    margin: 0 auto;
}

.homepg-team-wrapper {
    overflow: hidden;
    width: 100%;
}

.homepg-team-items {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.homepg-team-member {
    flex: 0 0 25%; /* Adjust to show 4 team members at a time */
    text-align: center;
    margin: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
    padding: 15px;
}

.homepg-team-image {
    margin-bottom: 10px;
}

    .homepg-team-image svg {
        border-radius: 50%;
    }

.homepg-team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.homepg-team-member p {
    font-size: 1rem;
    color: #666;
}

.homepg-scroll-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

    .homepg-scroll-button.left {
        left: -50px;
    }

    .homepg-scroll-button.right {
        right: -50px;
    }

    .homepg-scroll-button:hover {
        background-color: #0056b3;
    }


.homepg-branches-section {
    background-color: #2e3a8c;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.homepg-branches-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 80%;
    margin: 0 auto;
}

.homepg-branches-wrapper {
    overflow: hidden;
    width: 100%;
}

.homepg-branches-items {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.homepg-branch-card {
    flex: 0 0 25%; /* Show 4 items at a time */
    text-align: left;
    margin: 10px;
    background-color: #1d2b6c;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .homepg-branch-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .homepg-branch-card p {
        font-size: 1rem;
        margin-bottom: 5px;
    }

.homepg-scroll-button {
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

    .homepg-scroll-button.left {
        left: -50px;
    }

    .homepg-scroll-button.right {
        right: -50px;
    }

    .homepg-scroll-button:hover {
        background-color: #003d7a;
    }
.homepg-branches-section {
    background-color: #2e3a8c;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.branches-carousel {
    display: flex;
    align-items: center;
    position: relative;
}

.branches-wrapper {
    overflow: hidden;
    width: 100%;
}

.branches-items {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.branch-card {
    flex: 0 0 25%; /* Adjust to display 4 items at a time */
    margin: 10px;
    padding: 20px;
    background-color: #1d2b6c;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

    .branch-card h4 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .branch-card p {
        font-size: 1rem;
    }

/* Contact Us Section */
.homepg-contact-section {
    background-color: #2e3a8c;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.homepg-contact-carousel {
    display: flex;
    align-items: center;
    position: relative;
}

.homepg-contact-wrapper {
    overflow: hidden;
    width: 100%;
}

.homepg-contact-items {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.homepg-contact-card {
    flex: 0 0 25%; /* Adjust to display 4 items at a time */
    margin: 10px;
    padding: 20px;
    background-color: #1d2b6c;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

    .homepg-contact-card h4 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .homepg-contact-card p {
        font-size: 1rem;
    }

.homepg-scroll-button {
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

    .homepg-scroll-button.homepg-left {
        left: -50px;
    }

    .homepg-scroll-button.homepg-right {
        right: -50px;
    }

    .homepg-scroll-button:hover {
        background-color: #003d7a;
    }
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    font-size: 0.9rem;
}

.footer-top {
    margin-bottom: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #444;
    padding-top: 10px;
}

.footer-links a {
    color: #4CAF50;
    text-decoration: none;
    margin: 0 10px;
}

    .footer-links a:hover {
        text-decoration: underline;
    }

.footer-links span {
    color: #ccc;
}

/* Container for responsive grid */
.homepage-report-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Box Styling */
.homepage-report-box {
    width: 22%; /* Flexible width for desktop */
    min-width: 150px; /* Minimum width */
    height: 90px; /* Fixed height */
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    /* Hover Effect */
    .homepage-report-box:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

/* Text Styling */
.homepage-report-value {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: 0;
}

.homepage-report-label {
    font-size: 14px;
    color: white;
    margin: 0;
}

/* Individual Colors */
.homepage-income {
    background-color: #2ecc71; /* Green */
}

.homepage-inprogress {
    background-color: #e67e22; /* Orange */
}

.homepage-followup {
    background-color: #f1c40f; /* Yellow */
    color: black;
}

.homepage-balance {
    background-color: #e74c3c; /* Red */
}

/* Responsive Design Adjustments */
@media (max-width: 1024px) { /* Tablets */
    .homepage-report-box {
        width: 45%; /* Two boxes per row */
        height: 85px;
    }
}

@media (max-width: 768px) { /* Mobile */
    .homepage-report-container {
        flex-direction: column;
        align-items: center;
    }

    .homepage-report-box {
        width: 80%; /* Full width but not too large */
        max-width: 300px; /* Keeps it looking good */
        height: auto;
        padding: 20px;
        font-size: 14px;
    }
}

.profile-photo {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 50%;
}

/* ---------- Selects: readable everywhere ---------- */
select,
.form-select {
    color: #0f172a !important; /* dark text */
    background: #ffffff !important; /* white bg */
    border: 1px solid black;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 10px;
}

    select:focus,
    .form-select:focus {
        outline: none;
        border-color: #0ea5e9;
        box-shadow: 0 0 0 .2rem rgba(14,165,233,.25);
    }

    /* Options must also be dark-on-light */
    select option {
        color: #0f172a;
        background: #ffffff;
    }

        select option:checked,
        select option:hover,
        select option:focus {
            background: #e6f2ff !important; /* light blue highlight */
            color: #0f172a !important;
        }

/* If a select appears inside your dark sections, keep it readable */
.aboutpg-header-section select,
.homepg-contact-section select,
.statistics-section select {
    background: #ffffff !important;
    color: #0f172a !important;
}

/* Safari/WebKit quirk */
select, .form-select, select option {
    -webkit-text-fill-color: #0f172a;
}

/* ---------- Optional: scoped class if you prefer surgical usage ---------- */
/* Add class="form-select kks-select" to specific dropdowns */
/*.kks-select {
    color: #0f172a !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

    .kks-select:focus {
        border-color: #0ea5e9;
        box-shadow: 0 0 0 .2rem rgba(14,165,233,.25);
    }

    .kks-select option {
        color: #0f172a;
        background: #ffffff;
    }*/


/* readable select + options everywhere */
/*.kks-select,
.appointment-form select {
    color: #0f172a !important;*/ /* dark text */
    /*background: #ffffff !important;*/ /* white bg */
    /*border: 1px solid #e5e7eb;
    border-radius: 1rem;*/ /* matches your inline style */
    /*-webkit-text-fill-color: #0f172a;*/ /* Safari/WebKit fix */
/*}

    .appointment-form select:focus {
        outline: none;
        border-color: #0ea5e9;
        box-shadow: 0 0 0 .2rem rgba(14,165,233,.25);
    }*/

    /* options must also be dark on light in some UAs */
    /*.appointment-form select option {
        color: #0f172a;
        background: #ffffff;
    }

        .appointment-form select option:checked,
        .appointment-form select option:hover,
        .appointment-form select option:focus {
            background: #e6f2ff !important;
            color: #0f172a !important;
        }*/
/* === KKS unified small control size === */
/*:root {
    --kks-field-fz: 12px;*/ /* <-- change once to tune size */
    /*--kks-field-py: 4px;
    --kks-field-px: 8px;
    --kks-field-h: 28px;*/ /* target height */
/*}*/

/* Inputs: text-like */
/*input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
textarea,
.appointment-input-box,*/ /* your class */
/*.login-form input[type="email"],
.login-form input[type="password"] {
    font-size: var(--kks-field-fz) !important;
    line-height: 1.2;
    padding: var(--kks-field-py) var(--kks-field-px) !important;
    height: var(--kks-field-h) !important;
}*/

/* Selects: match inputs (extra right padding for the arrow) */
/*select,
.form-select,
.appointment-dropdown-box,
.divcontainer div select {
    font-size: var(--kks-field-fz) !important;
    line-height: 1.2;
    padding: var(--kks-field-py) calc(var(--kks-field-px) + 18px) var(--kks-field-py) var(--kks-field-px) !important;
    height: var(--kks-field-h) !important;*/
    /* keep your existing colors/borders */
/*}*/

/* If you’ve removed the native arrow elsewhere, keep consistency */
/*select,
.form-select,
.appointment-dropdown-box {
    appearance: none;*/ /* standard */
    /*-webkit-appearance: none;*/ /* Safari */
    /*-moz-appearance: none;*/ /* Firefox */
/*}*/

/* Optional: utility you can put on any container to force small fields inside */
/*.kks-fields-sm input,
.kks-fields-sm select,
.kks-fields-sm textarea {
    font-size: var(--kks-field-fz) !important;
    height: var(--kks-field-h) !important;
    padding: var(--kks-field-py) var(--kks-field-px) !important;
}*/

/* Restore normal size for search inputs (e.g., navbar) */
/*input[type="search"],
.navbar input[type="search"],
ul.navbar li input[type="search"],
.search-input {
    font-size: 14px !important;
    height: 34px !important;
    padding: 8px 12px !important;
}*/

/* If your search is actually type="text" with a class, target it instead */
/*.navbar .search-box,
.navbar .search-box input,
ul.navbar li input.search-box {
    font-size: 14px !important;
    height: 34px !important;
    padding: 8px 12px !important;
}*/

/* === KKS UI polish for treatment tables === */

/* Layout */
.kks-section-title {
    margin: 8px 0 12px;
    color: #0f172a;
}

.kks-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* Card container per visit */
.kks-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 16px;
    margin: 18px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.kks-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.kks-card-title {
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kks-card-subtle {
    color: #64748b;
}

/* Buttons */
.button, .kks-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: .88rem;
    line-height: 1.2;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform .08s ease, background-color .15s ease, border-color .15s ease;
}

    .kks-btn:active {
        transform: translateY(1px);
    }

.kks-btn-primary {
    background: #2563eb;
    color: #fff;
}

    .kks-btn-primary:hover {
        background: #1d4ed8;
    }

.kks-btn-ghost {
    background: #f1f5f9;
    color: #0f172a;
}

    .kks-btn-ghost:hover {
        background: #e2e8f0;
    }

.kks-btn-danger {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.kks-btn-icon {
    padding: 4px 8px;
}

/* Table */
.kks-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.kks-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 980px;
    font-size: .92rem;
}

    .kks-table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #f8fafc;
        color: #0f172a;
        text-align: left;
        font-weight: 600;
        border-bottom: 1px solid #e5e7eb;
        padding: 10px 10px;
    }

    .kks-table tbody td {
        border-bottom: 1px solid #f1f5f9;
        padding: 8px 10px;
        vertical-align: top;
        color: #0f172a;
    }

    .kks-table tbody tr:nth-child(odd) {
        background: #fcfcfd;
    }

    .kks-table td.nowrap, .kks-table th.nowrap {
        white-space: nowrap;
    }

/* Badges */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .78rem;
    line-height: 1.4;
    border: 1px solid transparent;
}

.badge-started {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.badge-appt {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.badge-follow {
    background: #e0e7ff;
    color: #3730a3;
    border-color: #c7d2fe;
}

.badge-done {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.badge-decline {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.badge-nr {
    background: #fce7f3;
    color: #9d174d;
    border-color: #fbcfe8;
}

/* Small text helpers */
.kks-mono {
    font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

.kks-muted {
    color: #64748b;
}

/* Action strip */
.kks-actions a {
    margin-right: 6px;
}
/* --- Compact mode for Treatment table --- */
.kks-table.compact {
    table-layout: fixed; /* make widths predictable */
    font-size: 0.86rem; /* slightly smaller text */
}

    .kks-table.compact thead th,
    .kks-table.compact tbody td {
        padding: 6px 8px; /* tighter padding */
    }

/* Column width plan (adjust if needed) */
.kks-col-teeth {
    width: 5.5ch;
}
/* e.g., 11, 36 */
.kks-col-dx {
    width: 14%;
}

.kks-col-tx {
    width: 14%;
}

.kks-col-amt {
    width: 7ch;
}
/* 123456 */
.kks-col-disc {
    width: 7ch;
}

.kks-col-pay {
    width: 8ch;
}

.kks-col-date {
    width: 10ch;
}
/* 12/12/2025 */
.kks-col-doc {
    width: 10%;
}

.kks-col-compl {
    width: 15%;
}

.kks-col-notes {
    width: 15%;
}

.kks-col-status {
    width: 12%;
}

.kks-col-actions {
    width: 10ch;
}

