body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f5f5f5;
    overflow-x: hidden;
}


/* Facebook Messenger Chat */
#fb-customer-chat {
    z-index: 10000 !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-float img {
    width: 36px;
    height: 36px;
}

.whatsapp-float:hover {
    background-color: #46348d;
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 80px;
        right: 80px;
    }

    .fb-customer-chat iframe {
        bottom: 20px !important;
        right: 20px !important;
    }
}

/* Navbar Customization */
.navbar {
    background-color: #fff;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.navbar .nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
}

.navbar .nav a:hover {
    color: #e91e63;
}

/* Responsive for smaller screens (sm & md) */
@media (max-width: 992px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .social-icons {
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .navbar .nav {
        gap: 8px;
    }

    .navbar .nav a {
        font-size: 14px;
        padding: 8px;
    }
}

/* icon start */
.social-icons {
    display: flex;
    gap: 20px;
}

.icon {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 18px;
    color: white;
    z-index: 5;
    transition: 0.3s ease;
}

.facebook {
    background-color: #1da1f2;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #1da1f2;
}

.icon:hover {
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    .social-icons {
        gap: 10px;
        justify-content: center;
    }

    .icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .logo {
        text-align: left;
        margin-left: 20px;
    }

    .logo img {
        height: 40px;
    }
}



/* ========== Home Page ========== */

/* Hero Section */
.content {
    max-width: 50%;
    height: 600px;
    margin-left: 5%;
    padding: 20px;
    color: white;
    position: relative;
    z-index: 1;
}

.content h1 {
    color: #0e54ae;
    font-size: 94px;
    font-weight: 700;
    margin: 10px 0;
}

.content h2 {
    color: #bc74a5;
    font-size: 36px;
    font-weight: 400;
    margin: 10px 0;
}

.content .button {
    background-color: #bc74a5;
    color: #fff;
    padding: 20px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.4s ease-in-out;
}

.content .button:hover {
    background-color: #0e54ae;
}

.hero-service {
    display: flex;
    text-align: center;
    position: relative;
}

.service-container {
    display: flex;
    max-width: 60%;
    margin-right: 5%;
    text-align: left;
}

.service-text h3 {
    margin-top: 5px;
    color: #0e54ae;
    font-weight: 300;
}

.service-text p {
    font-size: 14px;
    color: #000000;
    font-weight: 300;
}

.first-icon {
    padding: 5px;
}

.second-icon {
    padding: 5px;
}


/* Responsive Design for Medium Devices (md) */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 40px 20px;
    }

    .content {
        max-width: 100%;
    }

    .content h1 {
        font-size: 60px;
    }

    .content h2 {
        font-size: 28px;
    }

    .service-container {
        display: flex;
        max-width: 70%;
        text-align: center;
    }

    .service-text h3 {
        font-size: 20px;
    }

    .service-text p {
        font-size: 16px;
    }
}

/* Responsive Design for Small Devices (sm) */
@media (max-width: 480px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px 10px;
    }

    .content {
        max-width: 100%;
    }

    .content h1 {
        font-size: 28px;
    }

    .content h2 {
        font-size: 18px;
    }

    .content .button {
        padding: 10px 15px;
    }

    .service-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        text-align: start;
    }

    .service-text h3 {
        font-size: 16px;
    }

    .service-text p {
        font-size: 12px;
    }
}

/* Booking Section */
.booking-container {
    padding: 30px 20px;
    transform: translateY(-30px);
    z-index: 2;
}

.speech,
.appointment {
    padding: 60px 30px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.speech {
    background-color: #0e54ae;
    color: white;
    height: auto;
}

.speech p {
    font-size: 20px;
    line-height: 1.5;
    padding: 10px;
    margin-left: 10px;
    font-weight: 300;
    transform: translateX(-20px);
}

.speech p::before,
.speech p::after {
    content: "";
    display: block;
    width: 300px;
    height: 2px;
    background-color: #bc74a5;
    margin: 10px auto;
}

.speech .signature {
    margin-top: 20px;
    display: block;
}

.appointment {
    background-color: white;
    padding: 0px 30px 20px 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.appointment h2 {
    color: #004a8f;
    margin-bottom: 20px;
    border-bottom: 2px solid #bc74a5;
    padding-bottom: 10px;
    text-align: left;
    top: 0;
}

.appointment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.appointment-content img {
    width: 250px;
    margin-left: 20px;
    height: auto;
}

.appointment-content form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.appointment input,
.appointment select,
.appointment button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ebebeb;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.appointment button {
    background-color: #bc74a5;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.appointment button:hover {
    background-color: #004a8f;
}

/* Responsive Design for Extra Large Devices (xl) */
@media (max-width: 1200px) {
    .booking-container {
        flex-direction: column;
        align-items: center;
    }

    .speech,
    .appointment {
        max-width: 80%;
        padding: 50px 30px;
    }

    .speech p {
        font-size: 18px;
    }
}

/* Responsive Design for Medium Devices (md) */
@media (max-width: 1024px) {
    .booking-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .speech,
    .appointment {
        max-width: 90%;
        padding: 40px 20px;
    }

    .appointment-content {
        flex-direction: column;
    }

    .appointment-content img {
        width: 100px;
    }
}

/* Responsive Design for Small Devices (sm) */
@media (max-width: 480px) {
    .booking-container {
        padding: 10px;
        transform: none;
    }

    .speech,
    .appointment {
        max-width: 100%;
        padding: 20px 10px;
        transform: none;
    }

    .speech p {
        font-size: 12px;
        transform: none;
    }

    .speech p::before,
    .speech p::after {
        width: 200px;
    }

    .appointment h2 {
        font-size: 20px;
        text-align: center;
    }

    .appointment-content img {
        width: 100px;
        margin-left: 0;
    }

    .appointment input,
    .appointment select,
    .appointment button {
        font-size: 12px;
        padding: 8px;
    }
}

/* Excellence Section */
.excellence-container {
    padding: 20px;
    text-align: center;
    background: url('/frontend/assets/background.jpg') no-repeat center center/cover;
    position: relative;
}

.excellence-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 5%;
    text-align: left;
    flex-wrap: wrap;
}

.header-tag h1 {
    color: #0e54ae;
    font-size: 94px;
    font-weight: 700;
    margin: 10px 0;
}

.header-tag h2 {
    color: #bc74a5;
    font-size: 36px;
    font-weight: 400;
    margin: 10px 0;
}

.excellence-head .view-button {
    background-color: #0e54ae;
    color: #fff;
    padding: 15px 25px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.4s ease-in-out;
    white-space: nowrap;
}

.excellence-head .view-button:hover {
    background-color: #bc74a5;
}

/* Excellence Services Section */
.excellence-services {
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
}

.excellence-service-slider {
    display: flex;
    width: 100%;
}

.excellence-single-service-card {
    gap: 20px;
    width: 90%;
    padding: 20px 0;
}

.excellence-single-service {
    width: 100%;
    transition: transform 0.5s ease;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    background: #fff;
    margin-left: 5px;
    margin-right: 5px;
    display: none;
}

.excellence-single-service.active {
    display: block;
}

.excellence-single-service img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.excellence-single-service-content {
    padding: 20px;
    background-color: #bc74a5;
    color: #ffffff;
    position: relative;
}

.excellence-single-service-content img {
    width: 60px;
    height: 60px;
    position: absolute;
    top: -30px;
    left: 20px;
    background-color: white;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.excellence-single-service-content h3 {
    margin-top: 40px;
    font-size: 22px;
    font-weight: 600;
}

.excellence-single-service-content p {
    font-size: 16px;
    font-weight: 300;
}

/* Previous and Next Buttons */
.slide-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* For Extra Large Devices (xl) */
@media (max-width: 1200px) {
    .header-tag h1 {
        font-size: 72px;
    }

    .header-tag h2 {
        font-size: 28px;
    }

    .excellence-service {
        flex: 1 1 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
}

/* For Medium Devices (md) */
@media (max-width: 1024px) {
    .header-tag h1 {
        font-size: 64px;
    }

    .header-tag h2 {
        font-size: 28px;
    }

    .excellence-service {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* For Small Devices (sm) */
@media (max-width: 768px) {
    .header-tag h1 {
        font-size: 48px;
    }

    .header-tag h2 {
        font-size: 24px;
    }

    .excellence-service {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* For Extra Small Devices (xs) */
@media (max-width: 480px) {
    .header-tag h1 {
        font-size: 36px;
    }

    .header-tag h2 {
        font-size: 20px;
    }

    .excellence-head .view-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}


/* Special Section */
.special-section {
    position: relative;
    background-image: url('/frontend/assets/background-3.jpg') no-repeat center center/cover;
    height: 700px;
    display: flex;
    align-items: center;
    text-align: left;
}

.hero-content {
    display: block;
    width: 100%;
    margin-left: 20%;

}

.hero-content h1 {
    color: #0e54ae;
    font-weight: 700;
    padding-bottom: 20px;
    font-size: 60px;
}

.hero-content h2 {
    color: #bc74a5;
    padding-bottom: 10px;
    font-size: 36px;
    font-weight: 400;
}

.hero-content blockquote {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: black;
    max-width: 100%;
    font-weight: 300;
    font-size: 23px;
    margin: 10px 0;
}

.hero-content blockquote::before,
.hero-content blockquote::after {
    content: "";
    display: block;
    width: 40%;
    height: 2px;
    margin-bottom: 15px;
    margin-top: 15px;
    background-color: #bc74a5;
}

/* For Extra Large Devices (xl) */
@media (max-width: 1200px) {
    .hero-content h1 {

        font-size: 48px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content blockquote {
        font-size: 20px;
    }

    .special-section {
        height: 600px;
        padding: 40px;
    }
}

/* For Medium Devices (md) */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content blockquote {
        font-size: 18px;
    }

    .special-section {
        height: 500px;
        padding: 30px;
    }

    .hero-content {
        left: 50px;
    }
}

/* For Small Devices (sm) */
@media (max-width: 480px) {
    .special-section {
        height: 100%;
        display: flex;
        align-items: center;
        text-align: left;
    }

    .hero-content {
        display: block;
        width: 100%;
        padding: 10px;
        text-align: left;
        margin-left: -5px;
    }

    .hero-content h1 {
        font-size: 32px;
        /* padding-bottom: 2px; */
    }

    .hero-content h2 {
        font-size: 20px;
        padding-bottom: 5px;
    }

    .hero-content blockquote {
        font-size: 12px;
        margin: 5px 0;
    }

    .hero-content blockquote::before,
    .hero-content blockquote::after {
        width: 30%;
        margin: 10px 0;
    }
}


/* DentiCare Section */
.denticare-container {
    display: flex;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: url('/frontend/assets/Frame-1.png') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
}

.denticare-image {
    max-width: 50%;
    margin-left: 10% !important;
    align-self: flex-end;
}

.denticare-image img {
    width: 100%;
    object-fit: cover;
}

.denticare-form-info {
    border-bottom: 2px solid #bc74a5;
    margin-bottom: 30px;
}

.denticare-form-section {
    max-width: 50%;
    max-height: 80%;
    margin-left: 35%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.denticare-form-section h1 {
    color: #0e54ae;
    font-size: 72px;
    font-weight: 700;
    margin: 10px 0;
}

.denticare-form-section h2 {
    color: #bc74a5;
    font-size: 36px;
    font-weight: 400;
    margin: 10px 0;
}

.denticare-form-section p {
    font-size: 22px;
    font-weight: 300;
    color: #002443;
    margin-bottom: 30px;
    line-height: 1.5;
}

.denticare-form-group {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.denticare-form-group div {
    flex: 1;
    min-width: 48%;
}

.denticare-form-group input,
.denticare-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
}

.denticare-form-group input:focus,
.denticare-form-group select:focus {
    outline: none;
    border-color: #007bff;
}

.denticare-form-group label {
    display: block;
    margin-bottom: 5px;
    color: #495057;
    font-weight: 500;
}

.denticare-form-group .required {
    color: #bc74a5;
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #0e54ae;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.btn:hover {
    background-color: #bc74a5;
    color: #ffffff;
}

/* For Extra Large Devices (xl) */
@media (max-width: 1200px) {
    .denticare-container {
        flex-direction: column;
    }

    .denticare-image {
        max-width: 100%;
        margin: 0;
    }

    .denticare-form-section {
        max-width: 100%;
        padding: 30px;
        margin: 0;
    }
}

/* For Medium Devices (md) */
@media (max-width: 1024px) {
    .denticare-form-section h1 {
        font-size: 48px;
    }

    .denticare-form-section h2 {
        font-size: 28px;
    }

    .denticare-form-section p {
        font-size: 20px;
    }

    .denticare-form-group {
        flex-direction: column;
        gap: 15px;
    }
}

/* For Small Devices (sm) */
@media (max-width: 480px) {
    .denticare-form-section h1 {
        font-size: 36px;
    }

    .denticare-form-section h2 {
        font-size: 24px;
    }

    .denticare-form-section p {
        font-size: 18px;
    }

    .denticare-form-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* For Extra Small Devices (xs) */
@media (max-width: 480px) {
    .denticare-form-section h1 {
        font-size: 28px;
    }

    .denticare-form-section h2 {
        font-size: 20px;
    }

    .denticare-form-section p {
        font-size: 16px;
    }

    .denticare-form-group {
        flex-direction: column;
        gap: 5px;
    }

    .btn {
        font-size: 16px;
    }
}


/* Actions Section */
.action-container {
    background-color: #ececec;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 40px;
    margin-left: 5%;
    margin-right: 5%;
}

.action-item {
    width: 23%;
    margin-bottom: 20px;
}

.action {
    display: flex;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.action img {
    width: 60px;
    height: 60px;
    align-self: flex-start;
    margin-right: 15px;
}

.action h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 10px;
}

.action p {
    margin: 5px 0 0;
    max-width: 80%;
    font-size: 16px;
    font-weight: 200;
    color: #4f4e4e;
}

.button-container {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 20px;
}

.button-container button {
    background-color: #d48ba0;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    padding: 20px 30px;
    transition: background-color 0.4s ease-in-out;
}

.button-container button:hover {
    background-color: #0e54ae;
}

/* For Extra Large Devices (xl) */
@media (max-width: 1200px) {
    .actions {
        padding: 30px;
    }

    .action-item {
        width: 30%;
    }
}

/* For Medium Devices (md) */
@media (max-width: 1024px) {
    .actions {
        padding: 20px;
    }

    .action-item {
        width: 45%;
    }

    .button-container button {
        padding: 15px 20px;
    }
}

/* For Small Devices (sm) */
@media (max-width: 480px) {
    .actions {
        padding: 15px;
    }

    .action-item {
        width: 100%;
        margin-bottom: 15px;
    }

    .button-container button {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* For Extra Small Devices (xs) */
@media (max-width: 480px) {
    .action h3 {
        font-size: 18px;
    }

    .action p {
        font-size: 14px;
    }

    .button-container button {
        font-size: 14px;
        padding: 10px 15px;
    }
}


/* Appointment Modal */
.modal-content {
    border-radius: 10px;
    padding: 20px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: bold;
    color: #0056b3;
}

.modal-body {
    padding: 20px;
}

/* Image Styling */
.appointment-img {
    max-width: 100%;
    height: auto;
    padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-dialog {
        width: 90%;
        margin: auto;
    }

    .modal-header h3 {
        font-size: 18px;
    }

    .modal-appointment .row {
        flex-direction: column;
    }

    .appointment-img {
        width: 50%;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 15px;
    }

    .modal-header h3 {
        font-size: 16px;
    }

    .appointment-img {
        width: 60%;
    }
}


/* Contact Section */
.contract-container {
    background-color: #fff;
    text-align: center;
}

.contract-sub-container {
    margin-left: 5%;
    margin-right: 5%;
}

.contract-header-info {
    text-align: center;
    padding: 40px;
}

.contract-header-info h1 {
    font-size: 72px;
    font-weight: 500;
    color: #bc74a5;
}

.contract-header-info h1 span {
    color: #0e54ae;
}

.contract-header-info p {
    font-size: 16px;
    color: #4f4e4e;
    margin-bottom: 40px;
}

.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
}

.map-google {
    width: 60%;
    height: 500px;
}

.map-google iframe {
    width: 100%;
    height: 100%;
    border: 2px solid #ddd;
}

.working-hours {
    padding: 10px 20px 10px 20px;
    width: 40%;
    height: 450px;
    background-color: #0056b3;
    color: #fff;
    border-radius: 8px;
    text-align: left;
    z-index: 2;
    margin-left: -40px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.working-hours h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.working-hours p {
    font-size: 16px;
    margin-bottom: 20px;
}

.working-hours .hours {
    margin-bottom: 20px;
}

.working-hours .day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.working-hours .day span {
    font-size: 14px;
}

.day .time {
    color: #b0c4de;
}

.book-btn {
    background-color: white;
    color: #bc74a5;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.book-btn i {
    margin-left: 5px;
}

.flexible-time {
    text-align: left;
}

.flexible-time button {
    background-color: #ffffff;
    color: #bc74a5;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.flexible-time button i {
    margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contract-header-info h1 {
        font-size: 48px;
    }

    .contract-header-info p {
        font-size: 14px;
    }

    .map-container {
        margin-left: 3%;
        margin-right: 3%;
    }

    .map-google {
        width: 80%;
        height: 400px;
    }

    .working-hours {
        width: 45%;
        margin-left: 0;
        height: auto;
    }

    .contact-info .info-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .contract-header-info h1 {
        font-size: 36px;
    }

    .contract-header-info p {
        font-size: 14px;
    }

    .map-container {
        margin-left: 3%;
        margin-right: 3%;
    }

    .map-google {
        width: 100%;
        height: 350px;
    }

    .working-hours {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
        height: auto;
    }

    .flexible-time button {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }

    .contact-info .info-item {
        text-align: center;
        padding: 10px;
    }
}

/* Extra small devices (portrait phones, 480px and down) */
@media (max-width: 480px) {

    .map-container,
    .working-hours {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .map-google {
        width: 100%;
        height: 250px;
        margin-bottom: 20px;
    }

    .working-hours {
        margin-top: 20px;
        width: 100%;
        height: auto;
    }

    .book-btn,
    .flexible-time button {
        width: 100%;
        font-size: 14px;
    }

    .contact-info .info-item {
        text-align: center;
        margin-bottom: 15px;
    }
}

/* Contract Info */
.contact-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
    padding-top: 40px;
    padding-bottom: 40px;
}

.contact-info .info-item {
    flex: 1;
    min-width: 20%;
    margin: 20px;
    text-align: center;
}

.contact-info .info-item h3 {
    color: #ac579b;
}

.contact-info .info-item p {
    margin: 6px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .contact-info {
        flex-wrap: wrap;
        justify-content: start;
        margin-left: 3%;
        margin-right: 3%;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .contact-info .info-item {
        flex: 1 1 100%;
        min-width: 100%;
        margin: 10px 0;
    }

    .contact-info .info-item h3 {
        font-size: 16px;
    }

    .contact-info .info-item p {
        font-size: 12px;
    }
}




/* ========== About Page ========== */

/* about section */
.about-social-icons {
    display: flex;
    margin-top: 10px;
}

.about-social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    text-decoration: none;
    color: #0e54ae;
    font-size: 32px;
    transition: 0.3s ease;
}

.social-icons a:hover {
    border: 1px solid #0e54ae;
    color: #ac579b;
}

/* Biography Section */
.container-bio {
    max-width: 1240px;
    margin: 60px auto;
    padding: 40px 30px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff 0%, #e0f2fe 50%, #dbeafe 60%);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.bio-head {
    padding: 15px;
    position: relative;
    z-index: 1;
}

.bio-subtitle {
    color: #64748b;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    opacity: 0.85;
    transition: color 0.3s ease;
}

.bio-subtitle:hover {
    color: #1e40af;
}

.bio-title {
    color: #1e3a8a;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.bio-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(to right, #60a5fa, #1e3a8a);
    border-radius: 3px;
    z-index: -1;
}

.bio-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, #3b82f6, #1e40af);
    border-radius: 2px;
}

.bio-description {
    color: #4b5563;
    font-size: 17px;
    line-height: 1.7;
    margin: 25px 0 0 0;
    font-weight: 400;
    text-align: justify;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bio-description:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bio-text {
    padding: 15px;
}

.bio-tabs {
    display: flex;
    justify-content: flex-start;
    margin: 0 0 25px 0;
}

.bio-tab {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.bio-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.bio-tab:hover::before {
    width: 300%;
    height: 300%;
}

.bio-tab.active,
.bio-tab:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.bio-content {
    color: #374151;
    font-size: 17px;
    line-height: 1.8;
    padding: 20px;
    background: #ffffff;
    text-align: justify;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin: 0;
    transition: transform 0.3s ease;
}

.bio-content:hover {
    transform: scale(1.01);
}

/* Bio-graphy Horizontal Rule */
hr {
    margin: 40px auto;
    width: 85%;
    height: 3px;
    background: linear-gradient(to right, #60a5fa, #1e3a8a);
    border: none;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 767px) {
    .container-bio {
        padding: 20px;
        margin: 40px auto;
        border-radius: 10px;
    }

    .bio-subtitle {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .bio-title {
        font-size: 40px;
    }

    .bio-title::before {
        width: 60px;
        height: 4px;
    }

    .bio-title::after {
        width: 80px;
        height: 2px;
    }

    .bio-description {
        font-size: 15px;
        padding: 8px 0;
    }

    .bio-tab {
        padding: 12px 20px;
        font-size: 15px;
    }

    .bio-content {
        font-size: 15px;
        padding: 15px;
    }

    .bio-head,
    .bio-text {
        padding: 20px;
    }

    .row {
        flex-direction: column;
        text-align: center;
    }

    .bio-tabs {
        justify-content: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .container-bio {
        padding: 25px;
    }

    .bio-title {
        font-size: 48px;
    }

    .bio-subtitle {
        font-size: 24px;
    }

    .bio-description,
    .bio-content {
        font-size: 16px;
    }

    .bio-head,
    .bio-text {
        padding: 25px;
    }
}


/* Testimonial Section */
.patient-testimonial-container {
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.patient-testimonial-head {
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: center;
    position: relative;
}

.header-tag {
    position: relative;
    padding: 20px;
}

.subtitle {
    color: #bc74a5;
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title {
    color: #0e54ae;
    font-size: 4rem;
    font-weight: 800;
    margin: 10px 0;
    line-height: 1.1;
}

.header-decoration {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #0e54ae, #bc74a5);
    margin: 20px auto;
    border-radius: 2px;
}

/* Slider Section */
.patient-testimonial-services {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.patient-testimonial-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.patient-testimonial-slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
    gap: 30px;
    padding: 20px 0;
}

.patient-testimonial-card {
    flex: 0 0 100%;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.patient-testimonial-card.active {
    transform: scale(1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.patient-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.patient-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.patient-testimonial-card:hover .patient-image-wrapper img {
    transform: scale(1.1);
}

.patient-content {
    padding: 25px;
    background: linear-gradient(135deg, #bc74a5 0%, #0e54ae 100%);
    color: #fff;
    position: relative;
}

.patient-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.designation {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.rating {
    margin-top: 15px;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
    margin-right: 4px;
}

/* Navigation Buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(14, 84, 174, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-btn-prev {
    left: 0;
}

.slide-btn-next {
    right: 0;
}

.slide-btn:hover {
    background: #bc74a5;
    transform: translateY(-50%) scale(1.1);
}

/* Responsive Design */
@media (min-width: 768px) {
    .patient-testimonial-slider {
        gap: 30px;
    }

    .patient-testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (min-width: 1024px) {
    .patient-testimonial-card {
        flex: 0 0 calc(33.33% - 20px);
    }

    .subtitle {
        font-size: 2.5rem;
    }

    .title {
        font-size: 5rem;
    }
}

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

    .subtitle {
        font-size: 1.5rem;
    }

    .patient-content {
        padding: 20px;
    }

    .slide-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .patient-info h3 {
        font-size: 1.2rem;
    }

    .designation {
        font-size: 0.9rem;
    }
}







/*========== Surgery Page ==========*/
/* Surgery Section */
.service-container-one {
    text-align: center;
    background: url('/frontend/assets/background.jpg') no-repeat center center/cover;
    padding: 20px;
}

.continer-content {
    align-items: flex-start;
    margin: 0 5%;
    color: white;
    background-color: #0e54ae;
    padding: 20px;
    border-radius: 10px;
}

.continer-content-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.text-section {
    flex: 1;
    text-align: left;
    padding: 40px;
}

.text-section h1 {
    font-size: 48px;
    color: #ffb3f0;
    margin: 0;
}

.text-section h2 {
    font-size: 72px;
    color: #ffffff;
    margin: 0;
    font-weight: bold;
}

.text-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-top: 20px;
}

.text-section hr {
    border: 0;
    border-top: 1px solid #ffffff;
    margin: 20px 0;
}

.expertise-container h4 {
    color: #ffb3f0;
    font-size: 20px;
    font-weight: bold;
}

.treatments-list {
    display: flex;
    justify-content: space-between;
    gap: 2%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.treatments-list>div {
    width: 48%;
}

.treatments-list span {
    font-size: 16px;
    margin-bottom: 10px;
}

.treatments-list-text {
    text-align: left;
}

.image-section {
    flex: 1;
    position: relative;
}

.image-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .continer-content {
        flex-direction: column;
        text-align: center;
    }

    .text-section {
        padding: 20px;
        width: 100%;
    }

    .text-section h1 {
        font-size: 36px;
    }

    .text-section h2 {
        font-size: 48px;
    }

    .text-section p {
        font-size: 16px;
    }

    .expertise-container {
        flex-direction: column;
        gap: 20px;
    }

    .expertise-container>div {
        width: 100%;
    }

    .treatments-list {
        flex-direction: column;
    }

    .treatments-list>div {
        width: 100%;
    }
}

/* All Service Section */
.all-services {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
}

.service-slider {
    display: flex;
    width: 100%;
}

#prevBtn,
#nextBtn {
    background-color: #edf3ff;
    color: #ac579b;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

#prevBtn {
    left: 10px;
}

#nextBtn {
    right: 10px;
}

.single-service-card {
    gap: 20px;
    width: 90%;
    padding: 20px 0;
}

.single-service {
    width: 100%;
    transition: transform 0.5s ease;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    background: #fff;
    margin-left: 5px;
    margin-right: 5px;
    display: none;
}

.single-service.active {
    display: block;
}

.single-service img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.single-service-content {
    padding: 20px;
    background-color: #bc74a5;
    color: #ffffff;
    position: relative;
}

.single-service-content img {
    width: 60px;
    height: 60px;
    position: absolute;
    top: -30px;
    left: 20px;
    background-color: white;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.single-service-content h3 {
    margin-top: 40px;
    font-size: 22px;
    font-weight: 600;
}

.single-service-content p {
    font-size: 16px;
    font-weight: 300;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .single-service-card {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .single-service-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Responsiveness (480px and below) */
@media (max-width: 480px) {
    .service-container-one {
        padding: 5px;
    }

    .continer-content {
        margin: 0 3%;
        padding: 10px;
    }

    .continer-content-info {
        flex-direction: column;
        align-items: center;
    }

    .image-section {
        width: 100%;
        margin-bottom: 15px;
    }

    .image-section img {
        max-height: 400px;
        object-fit: cover;
    }

    .text-section {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .text-section h1 {
        font-size: 24px;
    }

    .text-section h2 {
        font-size: 28px;
    }

    .text-section p {
        font-size: 14px;
        margin-top: 10px;
    }

    .text-section hr {
        margin: 10px 0;
    }

    .treatments-list {
        flex-direction: column;
        gap: 10px;
    }

    .treatments-list>div {
        width: 100%;
    }

    .treatments-list span {
        font-size: 13px;
    }

    .expertise-container h4 {
        font-size: 16px;
    }
}



/* Blog Layout Styles */
/* Blog Container */
.container {
    padding: 20px;
}

/* Main Content */
.blog-posts .post {
    margin-top: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

/* Post Image */
.post-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Post Title */
.post-title {
    font-size: 24px;
    font-weight: bold;
    color: #3b5998;
    margin: 0;
}

/* Post Date */
.post-date {
    font-size: 16px;
    color: #777;
}

/* Post Content */
.post-content {
    gap: 2%;
    font-size: 18px;
}

.post-text {
    margin-top: 10px;
}

/* Sidebar */
.sidebar h3 {
    margin-bottom: 15px;
    color: #ac579b;
    font-size: 20px;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 5px;
}

.sidebar ul {
    padding: 0;
}

/* Sidebar List Items */
.sidebar ul li {
    margin-bottom: 15px;
}

/* Sidebar Links */
.sidebar ul li a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.sidebar ul li a:hover {
    background: #f1f1f1;
}

/* Sidebar Image */
.service-icon {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

/* Sidebar Text */
.sidebar ul li a div {
    display: flex;
    flex-direction: column;
}

.sidebar ul li a p {
    margin: 0;
    font-size: 14px;
}

.sidebar ul li a p:first-child {
    font-weight: bold;
    font-size: 16px;
    color: #0073e6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-content {
        flex-direction: column;
    }

    .post-img {
        max-width: 100%;
    }

    .sidebar ul li a {
        gap: 5px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 20px;
    }

    .post-date {
        font-size: 14px;
    }

    .sidebar h3 {
        font-size: 18px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }
}

/* Footer */
.footer {
    background-color: #ececec;
    padding-top: 20px;
}

.footer h3 {
    color: #033ca6;
}

.footer p {
    font-weight: 400;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    height: auto;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.footer .contact {
    flex: 1;
}

.footer .contact h3 {
    padding: 0;
}

.footer h3::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #ac579b;
    margin-top: 5px;
}

.about a {
    text-decoration: none;
    color: #333;
}

.about a:hover {
    color: #007bff;
}

.footer .social-icons a {
    margin: 0 5px;
    color: #fff;
    font-size: 32px;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
}

.awards {
    position: relative;
}

.award-image {
    position: relative;
    display: inline-block;
}

.award-image img {
    width: 100%;
    height: auto;
}

.award-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.award-sub-text {
    padding: 20px;
    font-size: 18px;
}

.footer-bottom {
    background-color: #033ca6;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

.footer-bottom a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

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

.footer-bottom .subscribe {
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
}

.footer-bottom .subscribe:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer .container {
        flex-direction: column;
        align-items: center;
    }

    .footer .contact,
    .footer .about,
    .footer .awards,
    .footer .social {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer .social-icons a {
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
        align-items: center;
    }

    .footer .contact,
    .footer .about,
    .footer .awards,
    .footer .social {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer .social-icons a {
        margin: 0 10px;
    }

    .footer-bottom .subscribe {
        padding: 8px 16px;
    }
}

/* Mobile Responsiveness (480px and below) */
@media (max-width: 480px) {
    .footer {
        padding-top: 10px;
    }

    .footer .container {
        flex-direction: column;
        padding: 0 15px 20px;
    }

    .footer .contact,
    .footer .about,
    .footer .awards {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer h3 {
        font-size: 20px;
    }

    .footer h3::after {
        width: 40px;
        margin-top: 3px;
        background-color: #ffffff00;
    }

    .footer p {
        font-size: 14px;
    }

    .footer .social-icons a {
        width: 28px;
        height: 28px;
        font-size: 22px;
        line-height: 28px;
        margin: 0 3px;
    }

    .award-image img {
        max-height: 150px;
        object-fit: cover;
    }

    .award-text {
        padding: 10px;
        font-size: 14px;
    }

    .text-info {
        font-size: 18px;
    }

    .award-sub-text {
        padding: 10px;
        font-size: 16px;
    }

    .footer-bottom {
        padding: 20px 15px;
    }

    .footer-bottom a {
        display: inline-block;
        margin: 5px 8px;
        font-size: 14px;
    }

    .footer-bottom .subscribe {
        padding: 8px 15px;
        font-size: 14px;
    }

    @media (max-width: 767.98px) {
        .header-container {
            padding: 10px;
        }

        .header {
            flex-direction: column;
            align-items: center;
        }

        .brand {
            width: 140%;
            text-align: center;
        }

        .brand-text h3 {
            font-size: 1 rem;
        }

        .brand-text p {
            font-size: 0.75rem;
        }

        .contact-info {
            flex-direction: column;
            align-items: center;
        }

        .contact-item {
            margin-bottom: 1rem;
        }

        .navbar-nav .nav-link {
            padding: 0.5rem 0.75rem;
            font-size: 0.875rem;
        }

        .social-icons a {
            font-size: 1.25rem;
        }

        @media (max-width: 480px) {
            .brand-text h3 {
                font-size: 1 rem;
            }
        }
    }
}