/*
 Theme Name:   DongQueSon
 Theme URI:    https://nguyenngoctuan07.com/dongqueson-theme/
 Author:       Tuan Nguyen
 Author URI:   https://nguyenngoctuan07.com/
 Description:  A simple WordPress theme built with Bootstrap.
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  dongqueson
 Tags:         bootstrap, responsive, clean
*/
body {
    font-family: 'Times New Roman', Times, serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Times New Roman', Times, serif;
}

/* ============================
   Top Bar Styles
============================ */
.top-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
    font-size: 14px;
    color: #333;
}

.top-bar a {
    color: #007bff;
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

.top-bar-links a {
    color: #333;
    text-decoration: none;
    margin-right: 15px;
}

.top-bar-links a:hover {
    color: #158848;
}

.top-bar .bi {
    margin-right: 5px;
}

.top-bar img {
    width: 16px;
    height: 12px;
    vertical-align: middle;
}

/* ============================
   Navbar Styles
============================ */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.navbar-brand img {
    max-height: 50px;
    height: auto;
}

.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ============================
   Search Form Styles
============================ */
.search-form {
    max-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
}

.search-form:hover,
.search-form:focus-within {
    border-color: #007bff;
}

.search-input {
    border: none;
    padding: 0.5rem 1rem;
    width: 100%;
    outline: none;
    background: transparent;
}

.search-input::placeholder {
    color: #aaa;
    font-style: italic;
}

.search-icon {
    color: #007bff;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: #0056b3;
}

/* Highlight Section */
/* .highlight-section {
    background-color:rgba(241,90,35,0.047);
} */

.cta-box {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
}

.cta-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.btn-orange {
    background-color: #158848;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    text-transform: uppercase;
}

.btn-orange:hover {
    background-color: #e65b00;
    color: #fff;
}

.btn-green {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    text-transform: uppercase;
}

.btn-green:hover {
    background-color: #218838;
    color: #fff;
}

.info-box {
    padding: 20px;
}

.info-box i {
    color: #158848;
}

.info-box h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 14px;
    color: #000;
}

/* Support Buttons */
.fixed-bottom-left {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.phone-btn {
    background-color: #28a745;
    color: #fff;
    font-size: 24px;
}

.zalo-btn {
    background-color: #0068ff;
}

.zalo-btn img {
    width: 40px;
    height: 40px;
}

/* Services Section */
.services-section {
    background-color: #fff;
}

.services-tabs .nav-tabs {
    border-bottom: none;
}

.services-tabs .nav-link {
    color: #158848;
    background-color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
}

.services-tabs .nav-link.active {
    background-color: #158848;
    color: #fff;
}

.service-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
}

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

.service-card .card-body {
    padding: 15px;
}

.service-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.service-card .card-text {
    font-size: 14px;
    color: #fff;
    margin-bottom: 15px;
}

/* Doctors Section */
.doctors-section {
    background-color: #fff;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #158848;
}

.doctors-tabs .nav-tabs {
    border-bottom: none;
}

.doctors-tabs .nav-link {
    color: #158848;
    background-color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
}

.doctors-tabs .nav-link.active {
    background-color: #158848;
    color: #fff;
}

.doctor-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.doctor-card .card-body {
    padding: 15px;
}

.doctor-card .card-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.doctor-card .card-text {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
}

.contact-icons a {
    margin: 0 5px;
    font-size: 18px;
}

contact-icons .text-success {
    color: #28a745;
}

contact-icons .text-primary {
    color: #007bff;
}

/* Messages Section */
.messages-section {
    background-color: #158848;
    padding: 40px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.messages-section p {
    font-size: 16px;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.message-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ff6200" fill-opacity="0.1" d="M0,128L48,144C96,160,192,192,288,186.7C384,181,480,139,576,117.3C672,96,768,96,864,96C960,96,1056,96,1152,106.7C1248,117,1344,139,1392,149.3L1440,160V320H1392H1344H1248H1152H1056H960H864H768H672H576H480H384H288H192H96H48H0Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
}

.message-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50"><circle cx="25" cy="25" r="10" fill="%23ff6200" opacity="0.2"/><path d="M10 25 L40 25" stroke="%23ff6200" stroke-width="2" opacity="0.2"/><path d="M25 10 L25 40" stroke="%23ff6200" stroke-width="2" opacity="0.2"/></svg>');
    background-size: 50px;
    opacity: 0.1;
}

.message-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.message-card .card-body {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
}

.message-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #158848;
}

/* News Section */
.news-card {
    border: 2px solid #158848;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.news-card .card-body {
    padding: 10px;
    background-color: #fff;
}
.news-card .card-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}
.news-card .card-text {
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 5px;
}
.news-meta {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0;
}
.nav-tabs .nav-link {
    color: #333;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 5px 15px;
}
.nav-tabs .nav-link.active {
    color: #158848;
    border-bottom: 2px solid #158848;
    background: none;
}
.next-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #158848;
    cursor: pointer;
}
.badge-custom {
    background-color: #158848;
    color: white;
    border-radius: 15px;
    padding: 2px 10px;
    font-size: 0.8rem;
}

/* ============================
   Footer Styles
============================ */
.footer-section {
    background-color: #343a40;
    color: #ffffff;
    padding: 2rem 0;
}

.footer-section h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: bold;
}

.footer-section a {
    color: #ffffff;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #007bff;
}

.footer-section .social-icons a {
    display: inline-block;
    margin-right: 10px;
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section .social-icons a:hover {
    color: #007bff;
    transform: scale(1.2);
}

.footer-section .footer-logo img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-section .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #cccccc;
}

.footer-section iframe {
    border-radius: 8px;
    border: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-section .footer-logo,
    .footer-section .footer-activity,
    .footer-section .footer-social {
        text-align: center;
    }

    .footer-section .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .search-form {
        margin-top: 1rem;
        max-width: 100%;
    }

    .footer-section .footer-contact,
    .footer-section .footer-activity,
    .footer-section .footer-map {
        margin-bottom: 20px;
    }

    .footer-section .footer-bottom {
        font-size: 0.8rem;
    }
}
.footer-section .text-dark {
    color: #fff;
}

/* ============================
   Highlight Section
============================ */
.cta-box {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.cta-box:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-box .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px;
}

.btn-orange {
    background-color: #ff7f50;
    color: #fff;
    border: none;
}

.btn-orange:hover {
    background-color: #e5673d;
    color: #fff;
}

.btn-green {
    background-color: #28a745;
    color: #fff;
    border: none;
}

.btn-green:hover {
    background-color: #218838;
    color: #fff;
}

/* ============================
   Info Boxes
============================ */
.info-box {
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-box i {
    color: #ff7f50;
}

.info-box h5 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.info-box p {
    font-size: 0.9rem;
    color: #666;
}

/* ============================
   News Section
============================ */
.tintuc .card {
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tintuc .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tintuc .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}

.tintuc .card-title:hover {
    color: #007bff;
}
a {
    text-decoration: none;
    color: #333;
}
li {
    list-style: none;
}

.pagination .page-item.active .page-link {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}


.pagination .page-link:hover {
    background-color: #28a745;
    color: #fff;
}
.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: #28a745;
    --bs-btn-border-color: #28a745;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #28a745;
    --bs-btn-hover-border-color: #28a745;
    --bs-btn-focus-shadow-rgb: 225, 83, 97;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #28a745;
    --bs-btn-active-border-color: #28a745;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #28a745;
    --bs-btn-disabled-border-color: #28a745;
}
.text-danger {
    --bs-text-opacity: 1;
    color: #333;
}

/* ============================
   Page Styles
============================ */
h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
}

h1:hover {
    color: #007bff;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.entry-content p {
    margin-bottom: 1rem;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
    padding: 1.5rem;
    border-radius: 8px;
}
.footer-logo h1 {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

/* ============================
   Logo Styles
============================ */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px; /* Khoảng cách giữa logo và text (nếu có) */
}

.navbar-brand img {
    max-height: 80px; /* Giới hạn chiều cao logo */
    width: auto; /* Đảm bảo tỷ lệ khung hình */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* Bo góc nhẹ cho logo */
}

.navbar-brand img:hover {
    transform: scale(1.1); /* Phóng to nhẹ khi hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Hiệu ứng bóng mờ */
}

.navbar-brand span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
}