.page-margin {
    margin-top: 112px;
}

.page-banner-container {
    padding-top: 20px !important;
}

#breadcrumbs a {
    color: #fff;
}


.pagination {
    margin-top: 30px
}

.page-numbers,
.pagination {
    align-items: center;
    display: flex;
    justify-content: center
}

.page-numbers {
    color: var(--muted);
    height: 40px;
    margin-right: 10px;
    width: 40px
}

.page-numbers.current {
    background-color: var(--primary);
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    color: #fff
}


.blog-page-content h2,
.blog-page-content h3,
.blog-page-content h4,
.blog-page-content h5 {
    color: var(--primary);
}

.blog-page-content h2 {
    font-size: 25px;
    font-weight: 600;
    margin-top: 30px;
}

.blog-page-content h3 {
    font-size: 22px;
    font-weight: 500;
}


.speciality-page-content h2,
.speciality-page-content h3,
.speciality-page-content h4,
.speciality-page-content h5 {
    color: var(--primary);
}

.speciality-page-content h2 {
    font-size: 25px;
    font-weight: 600;
    margin-top: 30px;
}

.speciality-page-content h3 {
    font-size: 22px;
    font-weight: 500;
}


/* About Page Starts */

.about-hero-content {
    padding: 70px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 480px;
}

.about-hero-image-wrap {
    position: relative;
    height: 520px;
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.about-hero-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background-color: white;
    padding: 12px 22px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-align: left;
}

.about-hero-badge h3 {
    font-size: 26px;
    font-weight: 900;
}

.about-stat-box h2 {
    font-size: 32px;
    margin-bottom: 5px;
}

.about-facts-card {
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
}

.about-facts-list {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.about-facts-list li {
    padding: 12px 0px;
    border-bottom: 1px solid #eeeeee;
}

.about-facts-list li:last-child {
    padding-bottom: 0px;
    border-bottom: 0px;
}

.about-facts-list li span {
    display: block;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
}

.about-tag {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    margin: 0px 10px 10px 0px;
    border: 1px solid #e5d9ee;
    transition: all 0.3s ease;
}

.about-tag:hover {
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-color: transparent;
}

.about-member-card {
    height: 100%;
    display: flex;
    align-items: center;
    border: 1px solid #eeeeee;
    transition: all 0.3s ease;
}

.about-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.12);
}

.about-location-card {
    height: 100%;
    transition: all 0.3s ease;
}

.about-location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.12);
}

@media (max-width: 991.98px) {
    .about-hero-content {
        min-height: 0px;
        padding: 50px 0px 20px 0px;
    }

    .about-hero-image-wrap {
        height: 380px;
        margin-bottom: 50px;
    }

    .about-hero-badge {
        left: 0px;
    }
}

@media (max-width: 575.98px) {
    .about-hero-content {
        padding: 40px 0px 15px 0px;
    }

    .about-hero-image-wrap {
        height: 280px;
        margin-bottom: 40px;
    }

    .about-stat-box h2 {
        font-size: 24px;
    }
}

/* About Page Ends */


/* Contact Page Starts */

.contact-info-card {
    transition: all 0.3s ease;
    border: 1px solid #eeeeee;
}

.contact-info-card:hover {
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.1);
}

.contact-info-card a {
    display: inline-flex;
    align-items: center;
}

.contact-form-card {
    box-shadow: 0 20px 45px rgba(var(--primary-rgb), 0.18);
}

.contact-map-box {
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    overflow: hidden;
    line-height: 0px;
}

.contact-map-box iframe {
    width: 100%;
    display: block;
}

/* Style the existing contact form markup (classes kept as-is in the template) */

.form-group {
    margin-bottom: 0px;
}

.form-control {
    display: block;
    width: 100%;
    font-size: 13px;
    font-family: "Google Sans Flex", sans-serif;
}

.form-control.form-glass {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    padding: 13px 18px;
    transition: all 0.3s ease;
}

.form-control.form-glass::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.form-control.form-glass:focus {
    background-color: rgba(255, 255, 255, 0.22);
    border-color: white;
    color: white;
    outline: none;
    box-shadow: none;
}

textarea.form-control.form-glass {
    resize: none;
}

select.form-glass {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M8 11L2 5h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

select.form-glass option {
    color: #444444;
}

.w-100 {
    width: 100% !important;
}

.btn-block {
    display: block;
}

.btn-orange {
    background-color: white !important;
    color: var(--primary) !important;
    font-weight: 700;
}

.btn-orange:hover {
    background-color: var(--tint) !important;
    color: var(--primary-dark) !important;
}

/* Contact Page Ends */


/* Single Blog Page Starts */

.blog-banner-image img,
.service-banner-image img,
.page-banner-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top center;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5 {
    color: var(--primary);
    margin-top: 25px;
    margin-bottom: 15px;
}

.post-content h2 {
    font-size: 24px;
    font-weight: 700;
}

.post-content h3 {
    font-size: 20px;
    font-weight: 700;
}

.post-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.post-content ul,
.post-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    margin: 10px 0px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
}

.post-tag {
    display: inline-block;
    background-color: white;
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    margin: 0px 10px 10px 0px;
    border: 1px solid #e5d9ee;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white !important;
    border-color: transparent;
}

@media (max-width: 575.98px) {

    .blog-banner-image img,
    .service-banner-image img,
    .page-banner-image img {
        height: 220px;
    }
}

/* Single Blog Page Ends */


/* Service Archive Page Starts */

.service-box {
    position: relative;
    display: block;
}

/* Service Archive Page Ends */


/* FAQ Page Starts */

.custom-accordion-item {
    background-color: #F4F5F9;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.custom-accordion-item.open {
    background-color: white;
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.12);
}

.custom-accordion-item-header {
    padding: 18px 55px 18px 20px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    position: relative;
}

.custom-accordion-item-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.custom-accordion-item.open .custom-accordion-item-header::after {
    content: '\2212';
}

.custom-accordion-item-content {
    display: none;
    padding: 0px 20px 20px 20px;
    color: #444444;
}

/* FAQ Page Ends */


/* Media Page Starts */

.media-box-image {
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    overflow: hidden;
}

.media-box-image img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
}

.media-box:hover .media-box-image img {
    transform: scale(1.06);
}

.media-box-title {
    color: var(--primary);
}

/* Media Page Ends */


/* Sidebar Widgets Start */

.sidebar-widget-card {
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
}

.sidebar-category-list {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.sidebar-category-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.sidebar-category-list li:last-child {
    border-bottom: 0px;
}

.sidebar-category-list li a {
    display: block;
    padding: 10px 0px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}

.sidebar-category-list li a:hover {
    color: white;
    opacity: 0.75;
    padding-left: 5px;
}

/* Sidebar Widgets End */