/********** Template CSS **********/
/* :root {
    --primary: #f3525a;
    --secondary: #f6f6f6;
    --light: #ffffff;
    --dark: #152440;
} */

:root {
    --primary: #e83e31;
    --secondary: #f6f6f6;

    --light: #ffffff;
    --dark: #0b1a33;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6,
.py-md-6 {
    padding-top: 90px !important;
    padding-bottom: 90px !important;
}

.btn {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    transition: 0.5s;
}

.btn-primary {
    color: #ffffff;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.max-w-content {
    max-width: max-content;
}

.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
}

.text-clamp-1 {
    -webkit-line-clamp: 1;
}
.text-clamp-2 {
    -webkit-line-clamp: 2;
}
.text-clamp-3 {
    -webkit-line-clamp: 3;
}

.text-clamp-1,
.text-clamp-2,
.text-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-sm {
    font-size: 14px !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.policy-pages-nav a:hover small {
    color: var(--primary) !important;
}

.contact-links a,
.footer-links a {
    transition: all 0.2s ease;
}
.contact-links a:hover {
    color: var(--dark) !important;
}

.footer-links a {
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary) !important;
    transform: translateX(4px);
}

.copyright a:hover {
    color: var(--primary) !important;
}

.navbar-light .navbar-nav {
    align-items: center;
}

.navbar-light .navbar-nav .nav-link {
    font-family: "Barlow", sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: 0.5s;
}

.navbar-brand img {
    height: 80px;
    width: auto;
}

.sticky-top.navbar-light .navbar-brand img {
    height: 60px;
    width: auto;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.sticky-top.navbar-light .navbar-nav .book-appointment {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-light .navbar-nav .nav-link.book-appointment:hover {
    color: var(--dark) !important;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, 0.7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

.service-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
    transition: 0.5s ease;
    transform: scale(1);
    filter: brightness(100%);
}

.service-item p {
    transition: 0.3s;
}

.service-list .list-column:nth-child(odd) .service-item:hover img {
    transform: translateY(-5px) scale(1.05) rotate(1deg);
}

.service-list .list-column:nth-child(even) .service-item:hover img {
    transform: translateY(-5px) scale(1.05) rotate(-1deg);
}

.blog-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-item .blog-info {
    flex-grow: 1;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: 0.5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: 0.5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

.contact-form .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

form .error-text {
    /* padding-left: 12px; */
    font-weight: 600;
    font-size: 14px;
    color: #ff6467;
}

/* ------------------------------
   Policy / Terms / Content Page Styling
--------------------------------*/

.dynamic-content {
    color: #333;
    line-height: 1.75;
    font-size: 17px;
}

/* Headings */
.dynamic-content h1,
.dynamic-content h2,
.dynamic-content h3,
.dynamic-content h4 {
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
}

.dynamic-content h1 {
    font-size: 32px;
}
.dynamic-content h2 {
    font-size: 26px;
}
.dynamic-content h3 {
    font-size: 22px;
}

/* Paragraphs */
.dynamic-content p {
    margin-bottom: 16px;
}

/* Ordered & Unordered Lists */
.dynamic-content ol,
.dynamic-content ul {
    margin-left: 22px;
    margin-bottom: 20px;
}

.dynamic-content ol li,
.dynamic-content ul li {
    margin-bottom: 10px;
    padding-left: 4px;
}

/* Fix Quill unwanted spans */
.dynamic-content li .ql-ui {
    display: none !important;
}

/* Links */
.dynamic-content a {
    color: var(--primary);
    text-decoration: underline;
}

.dynamic-content a:hover {
    color: var(--dark);
}

/* Better spacing between sections */
.dynamic-content h2 + h3,
.dynamic-content h3 + h3 {
    margin-top: 24px;
}

/* Tables (if ever included) */
.dynamic-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.dynamic-content table th,
.dynamic-content table td {
    border: 1px solid #ddd;
    padding: 10px;
}

/* Remove extra spacing from Quill */
.dynamic-content [data-list="bullet"] {
    list-style-type: disc !important;
}

.dynamic-content .no-content {
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    color: var(--dark);
}

footer img {
    height: 80px;
    width: auto;
}
