/*
 Theme Name: Pharmacy Mentor
 Author: Pharmacy Mentor
 Description: Pharmacy Mentor Template
 Version: 1.0
*/

body,
html {
    overflow-x: hidden;
    color: var(--pm-body-color);
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--pm-second-color);
    font-weight: 600;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--pm-image-radius);
}

a {
    text-decoration: none;
    color: var(--pm-body-color);
}

ul {
    list-style: none;
    padding-left: 0;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.pagination-wrapper .page-numbers {
    padding: 5px 10px;
    background: var(--pm-background-color);
    border-radius: 5px;
    color: var(--pm-btn-bg-hover);
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
}

.pagination-wrapper .page-numbers .current {
    background-color: var(--pm-btn-bg);
}

ul.tick-list {
    list-style: none;
    padding-left: 0;
    line-height: 30px;
}

ul.tick-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

ul.tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 20px;
    height: 20px;
    background-image: url("/wp-content/uploads/2025/12/icon_tick.png");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
}

.box-shadow {
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.18);
}

.flex-lc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.wave {
    position: absolute;
    width: 100%;
    height: max-content;
}

.banner-header {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.banner-header:hover .img1 {
    transform: translateX(-40px);
}

.banner-header:hover .img2 {
    transform: translateX(40px);
}

.banner-header:hover .img3 {
    transform: translateX(-20px);
}

.banner-header:hover .img4 {
    transform: translateX(20px);
}

.banner-header .white-wave {
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: max-content;
    z-index: 10;
}

.banner-header .img1,
.banner-header .img2,
.banner-header .img3,
.banner-header .img4 {
    position: absolute;
    transition: ease-in-out 0.4s;
}

.banner-header .img1 {
    top: 0;
    left: 5%;
}

.banner-header .img2 {
    top: 0;
    left: 4%;
}

.banner-header .img3 {
    bottom: 0;
    right: -20px;
}

.banner-header .img4 {
    bottom: 0;
    right: 0;
}

.post-banner {
    position: relative;
    background-color: var(--pm-background-color);
    padding-top: 150px;
    padding-bottom: 0;
}

.post-banner .header-img-wrapper {
    position: relative;
}

.post-banner .header-img-wrapper .masked-img {
    width: 100%;
    height: auto;
    -webkit-mask-image: url("/wp-content/uploads/2026/01/post-image-frame.png");
    mask-image: url("/wp-content/uploads/2026/01/post-image-frame.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.post-banner .header-img-wrapper .outline {
    position: absolute;
    max-width: 95%;
    top: -100px;
    z-index: 10;
}

.single-service,
.single-branch {
    padding: 0;
}

.single-service .wave,
.single-branch .wave {
    bottom: -1px;
    left: 0;
}

.single-service .single-content,
.single-branch .single-content {
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px;
}

.single-service .single-content .wave,
.single-branch .single-content .wave {
    left: 0;
    top: -1px;
}

.single-service .single-content .wave.bottom,
.single-branch .single-content .wave.bottom {
    bottom: -1px;
    top: auto;
}

.single-service .single-content .widget-area,
.single-branch .single-content .widget-area {
    max-width: 261px;
}

.single-service .single-content .widget-area .posts-list,
.single-branch .single-content .widget-area .posts-list {
    padding: 40px;
    background: var(--pm-background-color);
    border-radius: 30px;
}

.single-service .single-content .widget-area .posts-list h3,
.single-branch .single-content .widget-area .posts-list h3 {
    font-size: 24px;
    position: relative;
    margin-bottom: 15px;
}

.single-service .single-content .widget-area .posts-list h3::after,
.single-branch .single-content .widget-area .posts-list h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 4px;
    background-color: var(--pm-main-color);
    border-radius: 10px;
}

.single-service .single-content .widget-area .posts-list li,
.single-branch .single-content .widget-area .posts-list li {
    line-height: 50px;
    border-bottom: 1px solid lightgray;
}

.single-service .single-content .widget-area .posts-list li::after,
.single-branch .single-content .widget-area .posts-list li::after {
    content: ">";
    float: right;
}

.single-service .single-content .contact-row,
.single-branch .single-content .contact-row {
    padding-bottom: 150px;
}

.single-service .single-content .contact-row .google-map,
.single-branch .single-content .contact-row .google-map {
    position: relative;
}

.single-service .single-content .contact-row .google-map p,
.single-branch .single-content .contact-row .google-map p {
    margin: 0;
    display: flex;
    border-radius: 30px;
    width: 100%;
    height: max-content;
    overflow: hidden;
}

.single-service .single-content .contact-row .google-map svg,
.single-branch .single-content .contact-row .google-map svg {
    position: absolute;
    right: -15px;
    bottom: -15px;
}

.single-service .single-content .contact-row .contact-details li,
.single-branch .single-content .contact-row .contact-details li {
    display: flex;
    align-items: start;
}

.single-service .single-content .contact-row .opening-hours li,
.single-branch .single-content .contact-row .opening-hours li {
    display: flex;
    justify-content: space-between;
}

.btn,
.button,
button,
input[type="submit"],
input[type="button"] {
    background-color: var(--pm-btn-bg);
    color: var(--pm-btn-text);
    border-radius: var(--pm-button-radius);
    padding: 5px 20px !important;
    text-transform: uppercase;
    transition: ease-in-out 0.2s;
    outline: 1px solid var(--pm-btn-bg);
}

.btn:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: var(--pm-btn-bg-hover);
    color: var(--pm-btn-text-hover);
    outline: 1px solid var(--pm-btn-bg-hover);
}

.btn::after {
    content: ">";
    margin-left: 0.4em;
    display: inline-block;
}

.btn.lift:hover {
    transform: translateY(-5px);
}

.wpcf7 .wpcf7-form-control,
.wpcf7 .wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    background-color: var(--pm-background-color);
    border: none;
    border-radius: 10px;
    min-height: 40px;
    margin-top: 10px;
}

.wpcf7 label {
    width: 100%;
    color: var(--pm-second-color);
}

.wpcf7 .wpcf7-form-control.wpcf7-submit {
    width: max-content;
    background-color: var(--pm-btn-bg);
    border-radius: 30px;
}

.swiper-wrapper {
    padding-bottom: 50px;
}

.swiper-pagination-bullet {
    transition: ease-in-out 0.4s;
}

.swiper-pagination-bullet-active {
    background: var(--pm-second-color);
    width: 30px;
    height: 8px;
    border-radius: 30px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background-color: var(--pm-main-color);
    border-radius: 30px;
    width: 40px;
    height: 40px;
    transition: ease-in-out 0.2s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
    background-color: var(--pm-btn-bg-hover);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

section {
    padding: 100px 0;
}

.curve {
    transition: ease-in-out 0.2s;
}

*:hover > .curve {
    transform: translateY(-15px);
}

.site-header {
    position: fixed;
    width: 100%;
    z-index: 99;
}

.site-header .navbar {
    background-color: #fff;
    border-radius: 20px;
    padding: 15px;
    margin-top: 15px;
}

.site-header .navbar .navbar-nav {
    gap: 10px;
    padding-right: 15px;
    border-right: 2px solid lightgray;
}

.site-header .navbar .navbar-nav li {
    list-style: none;
}

.site-header .navbar .navbar-nav li a {
    text-decoration: none;
}

.site-header .navbar .navbar-nav .menu-item {
    position: relative;
}

.site-header .navbar .navbar-nav .sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    padding: 15px;
    min-width: max-content;
    border-radius: 20px;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.18);
}

.site-header .navbar .navbar-nav .menu-item-has-children {
    padding-right: 15px;
    margin-right: 15px;
    width: max-content;
}

.site-header .navbar .navbar-nav .menu-item-has-children > a::after {
    content: "";
    position: absolute;
    left: 75px;
    top: 10px;
    transform: translateY(-50%) rotate(45deg);
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transition: transform 0.2s;
}

.site-header
    .navbar
    .navbar-nav
    .menu-item-has-children.show
    > a::after,
.site-header
    .navbar
    .navbar-nav
    .menu-item-has-children
    > a[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(-135deg);
}

.site-header .navbar-toggler {
    color: var(--pm-btn-bg);
    border: 1px solid var(--pm-btn-bg);
}

.site-header .navbar-toggler:hover {
    background-color: transparent;
}

.site-header .menu-btns-wrapper {
    display: flex;
    align-items: center;
}

.site-header .menu-btns-wrapper .phone {
    padding: 0 15px;
}

.site-header .menu-btns-wrapper .phone:hover {
    text-decoration: underline;
}

.site-header .menu-btns-wrapper img {
    border-radius: 0;
}

.site-footer {
    background-color: var(--pm-btn-bg-hover);
    padding: 90px 0;
}

.site-footer img {
    border-radius: 0;
}

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

.site-footer p,
.site-footer a,
.site-footer h4 {
    color: #fff;
}

.site-footer a.footer-contact:hover,
.site-footer .quick-links-menu li:hover {
text-decoration: underline;
}

.site-footer .upper-footer,
.site-footer .central-footer {
    border-bottom: 1px solid #ffffff26;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.site-footer .footer-socials {
    gap: 15px;
    display: flex;
    align-items: center;
}

.site-footer .footer-socials img {
    border-radius: 30px;
    transition: outline-color .2s ease-in-out;
    padding: 5px;
}

.site-footer .footer-social img:hover {
    outline: 1px white solid;
}

.site-footer .footer-icon {
    margin-right: 5px;
}

.site-footer .footer-contact {
    font-size: 20px;
}

.site-footer .payment {
    display: flex;
    align-items: center;
    justify-content: end;
}

.site-footer .payment img {
    max-width: 250px;
    border-radius: 0;
}

.accordion h4 {
    font-weight: bold;
}

.accordion .accordion-button {
    border: none;
    padding: 20px !important;
    border-radius: 50px;
    box-shadow: none !important;
    outline: 1px solid lightgray;
}

.accordion .accordion-button:hover {
    background-color: var(--pm-background-color);
}

.accordion .accordion-button:hover .accordion-title {
    color: var(--pm-body-color);
}

.accordion .accordion-button:not(.collapsed) {
    background-color: var(--pm-background-color);
    outline: none;
}

.accordion .accordion-item {
    color: var(--pm-body-color);
    background-color: var(--pm-background-color);
    margin-bottom: 20px;
    border: none;
    border-radius: 40px !important;
    box-shadow: none;
}

.accordion
    .accordion-item:first-of-type
    > .accordion-header
    .accordion-button,
.accordion
    .accordion-item:last-of-type
    > .accordion-header
    .accordion-button {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.accordion .accordion-item:last-of-type {
    margin-bottom: 0;
}

.accordion .accordion-number {
    background-color: var(--pm-second-color);
    color: #fff;
    padding: 10px;
    border-radius: 100px;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    margin-right: 20px;
}

.accordion .accordion-button:not(.collapsed) .accordion-number {
    background-color: var(--pm-main-color);
}

.accordion .accordion-title {
    font-weight: bold;
}

.accordion .accordion-body {
    padding-left: 80px;
    padding-top: 0;
}

section.homepage {
    padding: 0;
}

h1,
h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

h1::after,
h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 4px;
    background-color: var(--pm-main-color);
    border-radius: 10px;
}

h2 {
    font-size: 16px;
    color: var(--pm-main-color);
}

h3 {
    font-size: 36px;
}

.home-banner {
    padding: 120px 0 60px 0;
    background-color: var(--pm-background-color);
}

.home-banner .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.home-banner .outline {
    position: absolute;
    width: 90%;
    top: -20px;
    z-index: 10;
}

.home-banner .masked-img {
    width: 100%;
    height: auto;
    -webkit-mask-image: url("/wp-content/uploads/2026/01/hero-image-frame.png");
    mask-image: url("/wp-content/uploads/2026/01/hero-image-frame.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.home-banner .cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.home-banner .cta-wrapper .btn:last-of-type {
    background-color: transparent;
    outline: 2px solid var(--pm-btn-bg-hover);
    color: var(--pm-btn-bg-hover);
}

.home-banner .cta-wrapper .btn:last-of-type:hover {
    background-color: var(--pm-btn-bg);
    outline: 2px solid var(--pm-btn-bg);
    color: #fff;
}

.services {
    position: relative;
}

.services .service-icon-wrapper {
    position: absolute;
    top: -51px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

.services .service-icon-wrapper .icon-graphic {
    position: absolute;
    top: 10px;
    transition: ease-in-out 0.2s;
}

.services .service-icon-wrapper .icon-graphic:hover {
    top: 15px;
}

.services .service-icon-wrapper .icon-graphic .bg-circle {
    fill: #ecf9ff;
}

.services .service-icon-wrapper .icon-graphic .inner-circle {
    fill: #266e91;
}

.services .service-icon-wrapper .icon-graphic .outer-arc {
    stroke: #266e91;
}

.services .service-icon-wrapper .icon-graphic .chevron {
    stroke: #ffffff;
    fill: none;
}

.services .service-icon-wrapper .icon-graphic .letter {
    fill: #266e91;
    stroke: none;
}

.services .service-icon-wrapper .icon-graphic:hover .inner-circle {
    fill: #f3ae0e;
}

.services .service-icon-wrapper .icon-graphic:hover .outer-arc {
    stroke: #f3ae0e;
}

.services .service-icon-wrapper .icon-graphic:hover .chevron {
    stroke: #000000;
    fill: none;
}

.services .service-icon-wrapper .icon-graphic:hover .letter {
    fill: #000000;
    stroke: none;
}

.services .end-wrapper {
    display: flex;
    justify-content: end;
    align-items: end;
    height: 100%;
    position: relative;
}

.services .end-wrapper .btn {
    margin-bottom: 1rem;
}

.services .end-wrapper .swiper-btn-position {
    position: absolute;
    bottom: 30px;
    top: auto;
    right: 195px;
}

.services .end-wrapper .swiper-btn-position .services-next.swiper-button-next {
    right: -50px;
    left: auto;
}

.services .end-wrapper .swiper-btn-position .services-prev.swiper-button-prev {
    right: 0;
    left: auto;
}

.services .swiper-wrapper {
    padding-top: 30px;
}

.services .swiper-slide.service-slide {
    background-color: var(--pm-main-color);
    border-radius: 20px;
    transition: ease-in-out 0.2s;
}

.services .swiper-slide.service-slide:hover {
    transform: translateY(-15px);
    background-color: var(--pm-btn-bg-hover);
}

.services .swiper-slide.service-slide:hover .text-wrapper p {
    margin-left: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    outline: none;
}

.services .swiper-slide.service-slide img {
    border-radius: 20px 20px 0 0;
}

.services .swiper-slide.service-slide .text-wrapper {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.services .swiper-slide.service-slide .text-wrapper h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.services .swiper-slide.service-slide .text-wrapper h3::after {
    display: none;
}

.services .swiper-slide.service-slide .text-wrapper h3,
.services .swiper-slide.service-slide .text-wrapper p {
    color: #fff;
}

.services .swiper-slide.service-slide .text-wrapper p {
    transition: ease-in-out 0.2s;
    margin-left: -20px;
    margin-bottom: 0;
    border: none;
    outline: none;
}

.services .swiper-slide.service-slide .text-wrapper p:hover {
    background: rgba(255, 255, 255, 0.2);
}

.services .swiper-slide.service-slide .text-wrapper .btn {
    width: max-content;
}

.our-features {
    position: relative;
    background: linear-gradient(to bottom, #ffffff, var(--pm-background-color));
}

.our-features h3::after {
    left: 50% !important;
    transform: translateX(-50%);
}

.our-features .wave {
    bottom: -1px;
    left: 0;
}

.our-features .feature {
    display: flex;
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
}

.our-features .feature .feature-icon {
    position: relative;
    margin-right: 20px;
}

.our-features .feature .feature-icon .background-icon {
    position: absolute;
    left: 10px;
    top: 5px;
}

.our-features .feature h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.our-features .feature h3::after {
    display: none;
}

.our-features .feature p {
    margin: 0;
}

.about-us-section {
    position: relative;
    padding-bottom: 0;
}

.about-us-section .wave {
    top: -1px;
    left: 0;
}

.about-us-section .masked-img {
    width: 100%;
    height: auto;
    -webkit-mask-image: url("/wp-content/uploads/2026/01/Image.png");
    mask-image: url("/wp-content/uploads/2026/01/Image.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    min-height: 400px;
    object-fit: cover;
}

.about-us-section .curve {
    position: absolute;
    bottom: 20%;
    z-index: 10;
}

.about-us-section .cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.about-us-section .cta-wrapper .btn {
    background-color: var(--pm-btn-bg-hover);
    outline: var(--pm-btn-bg-hover);
}

.about-us-section .cta-wrapper .btn:hover {
    background-color: var(--pm-btn-bg);
    outline: var(--pm-btn-bg);
}

.about-us-section .cta-wrapper .btn:last-of-type {
    background-color: transparent;
    outline: 2px solid var(--pm-btn-bg-hover);
    color: var(--pm-btn-bg-hover);
}

.about-us-section .cta-wrapper .btn:last-of-type:hover {
    background-color: var(--pm-btn-bg);
    outline: 2px solid var(--pm-btn-bg);
    color: #fff;
}

.testimonials {
    position: relative;
    background: linear-gradient(to bottom, #ffffff, var(--pm-background-color));
}

.testimonials h3::after {
    left: 50% !important;
    transform: translateX(-50%);
}

.testimonials .testimonial-slide {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.18);
}

.testimonials .testimonial-slide .post-featured-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-bottom: 30px;
}

.testimonials .testimonial-slide .post-featured-image img {
    border-radius: 100px;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 70px;
}

.testimonials .testimonial-slide .post-featured-image .text {
    text-align: left !important;
}

.testimonials .testimonial-slide .swiper-wrapper {
    padding-bottom: 60px;
}

.testimonials .testimonial-slide .swiper-pagination {
    bottom: 20px !important;
}

.testimonials .testimonial-slide .stars {
    color: gold;
    padding-bottom: 15px;
    padding-top: 20px;
}

.testimonials
    .testimonial-slide
    .testimonial.type-testimonial.status-publish.has-post-thumbnail.hentry {
    padding-left: 30px;
    padding-right: 30px;
}

.testimonials .testimonials-prev.swiper-button-prev {
    left: 15%;
    top: 60%;
}

.testimonials .testimonials-next.swiper-button-next {
    right: 15%;
    top: 60%;
}

.testimonials .testimonials-swiper .swiper-pagination {
    /* position adjusted by media queries below */
}

.faq {
    position: relative;
}

.faq .wave {
    top: -1px;
    left: 0;
}

.faq .container:first-of-type {
    padding-top: 100px;
}

.blog {
    padding-bottom: 150px;
    position: relative;
}

.blog svg:last-of-type {
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: max-content;
}

.blog .post-card {
    position: relative;
    border-radius: 30px;
    background-color: var(--pm-background-color);
    transition: ease-in-out 0.2s;
}

.blog .post-card:hover {
    transform: translateY(-15px);
}

.blog .post-card:hover .date-box {
    background: var(--pm-btn-bg-hover);
}

.blog .post-card:hover .btn {
    background: var(--pm-btn-bg);
    color: #fff;
    margin-left: 10px;
}

.blog .post-card .btn {
    background: transparent;
    margin-left: -20px;
    transition: ease-in-out 0.2s;
    outline: none;
    color: var(--pm-btn-bg);
}

.blog .post-card .date-box {
    position: absolute;
    top: -25px;
    right: 30px;
    background: var(--pm-btn-bg);
    color: #fff;
    padding: 15px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
}

.blog .post-card .date-box .post-day {
    font-size: 25px;
    line-height: 20px;
}

.blog .post-card img {
    border-radius: 20px 20px 0 0;
}

.blog .post-card .text-wrapper {
    padding: 30px;
}

.blog .post-card .text-wrapper h3 {
    font-size: 20px;
}

.blog .post-card .text-wrapper h3::after {
    display: none;
}

.blog .d-flex p {
    max-width: 50%;
}

.blog .d-flex a {
    margin-left: auto;
}

.contact {
    background-color: var(--pm-background-color);
    position: relative;
}

.contact #wpcf7-f7-o1 {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.18);
}

section.posts {
    position: relative;
}

section.posts h1 {
    position: relative;
}

section.posts h1::after {
    left: 50%;
    transform: translateX(-50%);
}

section.posts .posts-wrapper {
    position: relative;
    padding-bottom: 150px;
}

section.posts .posts-wrapper .wave {
    bottom: -1px;
    left: 0;
}

section.posts .posts-wrapper .posts-card {
    background-color: var(--pm-main-color);
    border-radius: 20px;
    transition: ease-in-out 0.2s;
}

section.posts .posts-wrapper .posts-card:hover {
    transform: translateY(-15px);
    background-color: var(--pm-btn-bg-hover);
}

section.posts
    .posts-wrapper
    .posts-card:hover
    .service-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    margin-left: 0 !important;
}

section.posts .posts-wrapper .posts-card img {
    border-radius: 20px 20px 0 0;
    width: 100%;
}

section.posts .posts-wrapper .posts-card .text-wrapper {
    padding: 30px;
}

section.posts .posts-wrapper .posts-card .text-wrapper h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

section.posts .posts-wrapper .posts-card .text-wrapper h3::after {
    display: none;
}

section.posts .posts-wrapper .posts-card .text-wrapper p.posts-btn {
    background: transparent;
    transition: ease-in-out 0.2s;
    margin-left: -20px;
    margin-bottom: 0;
    border: none;
    outline: none;
}

section.posts .posts-wrapper .posts-card .text-wrapper h3,
section.posts .posts-wrapper .posts-card .text-wrapper p {
    color: #fff;
}

section.posts
    .posts-wrapper
    .posts-card
    .text-wrapper
    .posts-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.visit-us {
    background: var(--pm-background-color);
}

.visit-us .visiting-wrapper {
    position: relative;
    border-radius: var(--pm-button-radius);
    background-color: #fff;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.18);
    padding: 60px;
    text-align: center;
    overflow: hidden;
}

.visit-us .visiting-wrapper:hover .img2,
.visit-us .visiting-wrapper:hover .img3 {
    transform: translateX(15px);
}

.visit-us .visiting-wrapper:hover .img1,
.visit-us .visiting-wrapper:hover .img4 {
    transform: translateX(-15px);
}

.visit-us .visiting-wrapper h3::after {
    left: 50%;
    transform: translateX(-50%);
}

.visit-us .visiting-wrapper svg {
    position: absolute;
    transition: ease-in-out 0.2s;
}

.visit-us .visiting-wrapper .img1,
.visit-us .visiting-wrapper .img2 {
    left: 0;
    top: 0;
}

.visit-us .visiting-wrapper .img3,
.visit-us .visiting-wrapper .img4 {
    right: 0;
    bottom: 0;
}

.contact-us {
    padding-top: 0;
    position: relative;
}

.contact-us h1::after {
    left: 50%;
    transform: translateX(-50%);
}

.contact-us h2 {
    font-size: 16px;
    color: var(--pm-main-color);
}

.contact-us h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.contact-us h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 4px;
    background-color: var(--pm-main-color);
    border-radius: 10px;
}

.contact-us #wpcf7-f7-o1 {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.18);
}

.contact-us .contact-link:hover {
    text-decoration: underline;
}

.contact-us .wave {
    position: absolute;
    left: 0;
    bottom: -1px;
}

.about-us {
    padding: 0;
}

.about-us h1 {
    position: relative;
}

.about-us h1::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-us .about-us-wrapper {
    padding: 0;
}

.about-us .about-us-wrapper .about-stats {
    background: linear-gradient(
        0deg,
        var(--pm-background-color) 0%,
        #ffffff 100%
    );
}

.about-us .about-us-wrapper .about-stats .stats-wrapper {
    position: relative;
    background: #fff;
    border-radius: 30px;
    display: flex;
    padding: 30px;
    flex-wrap: wrap;
    overflow: hidden;
}

.about-us .about-us-wrapper .about-stats .stats-wrapper svg {
    position: absolute;
}

.about-us .about-us-wrapper .about-stats .stats-wrapper svg.img1,
.about-us .about-us-wrapper .about-stats .stats-wrapper svg.img2 {
    left: 0;
    top: 0;
}

.about-us .about-us-wrapper .about-stats .stats-wrapper svg.img3 {
    right: 0;
    bottom: 0;
}

.about-us .about-us-wrapper .about-stats .stats-wrapper svg.img4 {
    right: 0;
    top: 0;
}

.about-us .about-us-wrapper .about-stats .stats-wrapper .stats-item {
    border-right: 1px solid #e9e9e9;
    padding: 0 29px;
    flex: 0 0 25%;
    max-width: 25%;
}

.about-us
    .about-us-wrapper
    .about-stats
    .stats-wrapper
    .stats-item:nth-of-type(4) {
    border-right: none;
}

.about-us .about-us-wrapper .about-stats .stats-wrapper .stats-item h4 {
    font-size: 18px;
}

.about-us .about-us-wrapper .history {
    position: relative;
    padding-top: 150px;
}

.about-us .about-us-wrapper .history .wave {
    top: -1px;
    left: 0;
}

.about-us .about-us-wrapper .history .curve {
    position: absolute;
    bottom: 20%;
    z-index: 10;
}

.about-us .about-us-wrapper .history .masked-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 400px;
    -webkit-mask-image: url("/wp-content/uploads/2026/01/Image.png");
    mask-image: url("/wp-content/uploads/2026/01/Image.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.about-us .about-us-wrapper .meet-the-team .end-wrapper {
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: end;
    position: relative;
    gap: 10px;
}

.about-us
    .about-us-wrapper
    .meet-the-team
    .end-wrapper
    .team-next,
.about-us
    .about-us-wrapper
    .meet-the-team
    .end-wrapper
    .team-prev {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.about-us .about-us-wrapper .meet-the-team .team-card {
    position: relative;
}

.about-us .about-us-wrapper .meet-the-team .team-card .team-thumb {
    position: relative;
    width: 350px;
    height: 350px;
    overflow: hidden;
    border-radius: 30px;
}

.about-us
    .about-us-wrapper
    .meet-the-team
    .team-card
    .team-thumb
    img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: ease-in-out 0.2s;
}

.about-us
    .about-us-wrapper
    .meet-the-team
    .team-card
    .team-thumb
    .overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 0.25s ease-in-out;
}

.about-us
    .about-us-wrapper
    .meet-the-team
    .team-card
    .team-thumb
    .overlay
    h4,
.about-us
    .about-us-wrapper
    .meet-the-team
    .team-card
    .team-thumb
    .overlay
    p {
    color: #fff;
}

.about-us
    .about-us-wrapper
    .meet-the-team
    .team-card
    .team-thumb:hover
    img {
    scale: 1.1;
}

.about-us
    .about-us-wrapper
    .meet-the-team
    .team-card
    .team-thumb:hover
    .overlay {
    transform: translateY(0);
}

/* Newsletter */
.newsletter {
    background: var(--pm-background-color);
    padding-top: 0;
}

.newsletter .newsletter-wrapper {
    position: relative;
    background: #fff;
    border-radius: 30px;
    padding: 30px;
    overflow: hidden;
}

.newsletter .newsletter-wrapper svg {
    position: absolute;
    z-index: 1;
    width: max-content;
    height: max-content;
    padding: 0;
}

.newsletter .newsletter-wrapper svg.img1,
.newsletter .newsletter-wrapper svg.img2 {
    left: 0;
    top: 0;
}

.newsletter .newsletter-wrapper svg.img3 {
    right: 0;
    bottom: 0;
}

.newsletter .newsletter-wrapper svg.img4 {
    right: 0;
    top: 0;
}

.newsletter .newsletter-wrapper .col-12.col-md-6 {
    position: relative;
    z-index: 3;
}

.newsletter .newsletter-wrapper .wpcf7 .wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    width: 100%;
    background-color: #fff;
    border: 1px solid lightgray;
    border-radius: 30px;
    padding: 15px;
    min-height: 40px;
    margin-top: 10px;
}

.newsletter .newsletter-wrapper .wpcf7 .wpcf7-form-control.wpcf7-submit {
    position: relative;
    border-radius: 30px;
    width: max-content;
    background-color: var(--pm-btn-bg-hover);
    outline: 1px solid var(--pm-btn-bg-hover);
}

.newsletter
    .newsletter-wrapper
    .wpcf7
    .wpcf7-form-control.wpcf7-submit::after {
    content: ">";
    margin-left: 0.4em;
    display: inline-block;
}

.newsletter
    .newsletter-wrapper
    .wpcf7
    .wpcf7-form-control.wpcf7-submit:hover {
    background-color: var(--pm-btn-bg);
    outline: 1px solid var(--pm-btn-bg);
}

.blog-post {
    position: relative;
    padding: 0;
}

.blog-post .flexible-content {
    padding-top: 100px;
    padding-bottom: 100px;
}

.blog-post .wave {
    bottom: -1px;
    left: 0;
}

/* Flexible Content */
.flexible-content {
    padding: 0;
}

.flexible-content section:first-of-type {
    padding-top: 0;
}

.flexible-content section {
    padding: 50px 0;
}

.flexible-content img {
    border-radius: 30px;
}

.flexible-content ul {
    list-style: disc;
    padding-left: 15px;
}

.flexible-content .full-width-text {
    border-radius: 30px;
}

.flexible-content .full-width-image {
    display: grid;
    place-items: center;
    padding-bottom: 0;
    margin-bottom: 50px;
}

.flexible-content .full-width-image svg {
    position: absolute;
    right: -10px;
    bottom: -20px;
}

.flexible-content .full-width-image .content {
    position: absolute;
    text-align: center;
}

.flexible-content .full-width-image .container {
    position: relative;
}

.flexible-content .multi-tile {
    position: relative;
    margin: 50px 0;
}

.flexible-content .multi-tile .tile {
    padding: 30px;
    text-align: center;
    border-radius: 30px;
}

.flexible-content .multi-tile .tile .tile-icon i {
    font-size: 36px;
    padding-bottom: 15px;
}

.flexible-content .multi-tile .tile h4 {
    font-size: 20px;
}

.flexible-content .double-images .position-relative svg {
    position: absolute;
    right: -5px;
    bottom: -15px;
}

/* ============= FLATTENED MEDIA QUERIES ============= */

@media (max-width: 575px) {
    .site-header .navbar .navbar-nav {
        border-right: none;
    }

    .site-header .navbar .navbar-nav .sub-menu {
        box-shadow: none;
        position: relative;
    }

    .site-header .menu-btns-wrapper {
        flex-direction: column;
        align-items: start;
    }

    .site-header .menu-btns-wrapper .phone {
        padding: 0 0 15px 0;
    }

    section {
        padding: 60px 0;
    }

    .testimonials .testimonials-prev.swiper-button-prev {
        top: 90%;
    }

    .testimonials .testimonials-next.swiper-button-next {
        top: 90%;
    }

    .testimonials .testimonials-swiper .swiper-pagination {
        top: 95%;
    }

    .blog .d-flex p {
        max-width: 100%;
    }

    .blog .d-flex a {
        margin-left: 0;
    }

    .about-us
        .about-us-wrapper
        .about-stats
        .stats-wrapper
        .stats-item {
            flex: 0 0 100%;
            max-width: 100%;
            border-right: none;
            padding: 29px;
    }

    .about-us
        .about-us-wrapper
        .about-stats
        .stats-wrapper
        .stats-item:nth-of-type(4) {
            border-bottom: none;
    }

    .post-banner .header-img-wrapper .outline {
        top: -60px;
    }

    .home-banner .outline {
        top: -100px;
    }

    .services .swiper-slide.service-slide .text-wrapper p {
        width: max-content;
    }

    .our-features .feature {
        margin-top: 15px;
    }

    .about-us-section {
        padding-bottom: 30px;
    }

    .single-service .single-content .widget-area,
    .single-branch .single-content .widget-area {
        max-width: 100%;
    }

    .visit-us .visiting-wrapper svg {
        max-width: 80px;
    }

    .site-footer .payment {
        justify-content: start;
    }

    .banner-header .img1, .banner-header .img2, .banner-header .img3, .banner-header .img4 {
        max-height: 130px;
    }

    .about-us .about-us-wrapper .meet-the-team .end-wrapper {
        margin-top: 40px;
        justify-content: start;
        align-items: start;
    }

    .swiper {
        padding-bottom: 30px;
    }

    .single-service .single-content .contact-row, .single-branch .single-content .contact-row {
        padding-bottom: 50px;
    }

    .flexible-content .full-width-image svg {
        right: 5px;
        bottom: -7px;
    }
}

@media (max-width: 991px) {
    .site-header .navbar .navbar-nav .sub-menu {
        box-shadow: none;
        position: relative;
    }

    .about-us
        .about-us-wrapper
        .about-stats
        .stats-wrapper
        .stats-item {
            flex: 0 0 50%;
            max-width: 50%;
            padding: 29px;
    }

    .about-us
        .about-us-wrapper
        .about-stats
        .stats-wrapper
        .stats-item:nth-of-type(1),
    .about-us
        .about-us-wrapper
        .about-stats
        .stats-wrapper
        .stats-item:nth-of-type(2) {
            border-right: none;
            border-bottom: 1px solid #e9e9e9;
    }

    .about-us
        .about-us-wrapper
        .about-stats
        .stats-wrapper
        .stats-item:nth-of-type(1) {
            border-right: 1px solid #e9e9e9;
    }

    .about-us
        .about-us-wrapper
        .about-stats
        .stats-wrapper
        .stats-item:nth-of-type(3) {
            border-right: none;
    }

    .about-us
        .about-us-wrapper
        .about-stats
        .stats-wrapper
        .stats-item:nth-of-type(1),
    .about-us
        .about-us-wrapper
        .about-stats
        .stats-wrapper
        .stats-item:nth-of-type(3) {
            border-right: 1px solid #e9e9e9;
    }
}

@media (min-width: 575px) {
    .site-header .navbar .navbar-nav .menu-item-has-children:hover .sub-menu {
        display: flex;
        flex-direction: column;
        line-height: 28px;
    }

    .single-service
        .single-content
        .contact-row
        .opening-hours
        ul,
    .single-branch
        .single-content
        .contact-row
        .opening-hours
        ul {
            width: 80%;
    }
    .services .service-icon-wrapper {
        top: -62px;
    }
}

@media (min-width: 768px) {
    .post-banner .header-img-wrapper .outline {
        top: -90px;
    }
    .home-banner .outline {
        top: -110px;
    }
}

@media (min-width: 991px) {
    .home-banner .outline {
        top: -70px;
    }
}

@media (min-width: 1200px) {
    .post-banner .header-img-wrapper .outline {
        top: -60px;
    }
    .home-banner .outline {
        top: -40px;
    }
}

@media (min-width: 1400px) {
    .post-banner .header-img-wrapper .outline {
        top: -30px;
    }
    .home-banner .outline {
        top: -10px;
    }
}
