/* ============================================================
   Expressions Remodeling – Custom Stylesheet
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS Custom Properties
   ---------------------------------------------------------- */
:root {
    --primary:        #41BFB9;
    --primary-dark:   #27948E;
    --secondary:      #233369;
    --secondary-dark: #131C3B;
    --accent:         #C97D69;
    --gold:           #C29E61;
    --text:           #565964;
    --near-black:     #363636;
    --medium-blue:    #4359A5;
    --light-gray:     #E3E3E3;
    --off-white:      #FAFAFA;
    --white:          #FFFFFF;
    --black:          #000000;

    --font-heading:    'Cinzel', serif;
    --font-body:       'Raleway', sans-serif;
    --font-ui:         'Roboto', sans-serif;

    --topbar-height:   38px;
    --header-height:   80px;
    --radius-sm:       5px;
    --radius-md:       10px;
    --radius-lg:       15px;
    --radius-pill:     100px;

    --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg:  0 10px 30px rgba(0, 0, 0, 0.12);

    --transition-base: all 0.3s ease;
}

/* ----------------------------------------------------------
   2. Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-base);
}
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

ul, ol { list-style: none; padding: 0; margin: 0; }

/* ----------------------------------------------------------
   3. Typography
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }

.section-subtitle {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text);
}

@media (max-width: 991px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 575px) {
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

/* ----------------------------------------------------------
   4. Preloader
   ---------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 48px; height: 48px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ----------------------------------------------------------
   5. Buttons
   ---------------------------------------------------------- */
.btn-primary-custom {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-base);
}
.btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline-custom {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: var(--primary);
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-base);
}
.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white-custom {
    display: inline-block;
    padding: 12px 32px;
    background: var(--white);
    color: var(--secondary);
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.95rem;
    border: 2px solid var(--white);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-base);
}
.btn-white-custom:hover {
    background: transparent;
    color: var(--white);
}

.btn-secondary-custom {
    display: inline-block;
    padding: 12px 32px;
    background: var(--secondary);
    color: var(--white);
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.95rem;
    border: 2px solid var(--secondary);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-base);
}
.btn-secondary-custom:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
}

/* ----------------------------------------------------------
   6. Top Bar
   ---------------------------------------------------------- */
.top-bar {
    background: var(--secondary-dark);
    padding: 8px 0;
    font-family: var(--font-ui);
    font-size: 0.85rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-base);
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-social {
    font-size: 1rem;
}

.top-bar-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

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

@media (max-width: 767px) {
    .top-bar-right span {
        display: none;
    }
}

/* ----------------------------------------------------------
   7. Navbar
   ---------------------------------------------------------- */
.navbar {
    padding: 0;
    transition: var(--transition-base);
    height: var(--header-height);
    z-index: 1030;
    background: var(--white);
}

.navbar.navbar-shadow {
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    height: 55px;
    width: auto;
    transition: var(--transition-base);
}

/* Always show dark logo */
.logo-light { display: none; }
.logo-dark { display: block; }

.nav-link {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px !important;
    color: var(--near-black);
    transition: var(--transition-base);
}

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

/* Services Dropdown */
.dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    min-width: 220px;
}

.dropdown-item {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    padding: 8px 20px;
    transition: var(--transition-base);
}

.dropdown-item:hover {
    background: var(--off-white);
    color: var(--primary);
}

/* Navbar CTA */
.nav-cta .btn-outline-custom {
    padding: 8px 24px;
    font-size: 0.85rem;
}

.nav-cta .btn-outline-custom i {
    margin-left: 4px;
    font-size: 0.8rem;
}

/* Navbar toggler */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

/* BBB badge in navbar */
.navbar-bbb {
    height: 45px;
    margin-left: 10px;
}

/* ----------------------------------------------------------
   7. Offcanvas Mobile Menu
   ---------------------------------------------------------- */
.offcanvas {
    width: 300px;
}

.offcanvas-logo img {
    height: 50px;
}

.mobile-nav .nav-link {
    color: var(--near-black) !important;
    padding: 10px 0 !important;
    font-size: 1rem;
    border-bottom: 1px solid var(--light-gray);
}
.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
    color: var(--primary) !important;
}

.mobile-nav .dropdown-menu {
    box-shadow: none;
    border: none;
    padding-left: 15px;
}

/* ----------------------------------------------------------
   8. Hero Section
   ---------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 80px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(19, 28, 59, 0.75) 0%,
        rgba(19, 28, 59, 0.45) 45%,
        rgba(19, 28, 59, 0.1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
    font-variant: small-caps;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

@media (max-width: 991px) {
    .hero-section { min-height: 450px; padding: 60px 0; }
    .hero-title { font-size: 2.5rem; }
}

@media (max-width: 575px) {
    .hero-section { min-height: 380px; padding: 50px 0; }
    .hero-title { font-size: 2rem; }
}

/* ----------------------------------------------------------
   9. Page Banner (interior pages)
   ---------------------------------------------------------- */
.page-banner {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: var(--white);
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 28, 59, 0.7);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-banner .breadcrumb {
    justify-content: center;
    margin: 0;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-ui);
    font-size: 0.9rem;
}

.page-banner .breadcrumb-item.active {
    color: var(--primary);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------------------------------------
   10. Section Padding
   ---------------------------------------------------------- */
.section-padding {
    padding: 80px 0;
}

.bg-light-custom {
    background: var(--off-white);
}

.bg-secondary-custom {
    background: var(--secondary);
}

.bg-dark-custom {
    background: var(--secondary-dark);
}

/* ----------------------------------------------------------
   11. About / Intro Section
   ---------------------------------------------------------- */
.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img:hover img {
    transform: scale(1.03);
}

/* ----------------------------------------------------------
   12. Services Cards
   ---------------------------------------------------------- */
.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    background: var(--white);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card-img {
    overflow: hidden;
}

.service-card .ba-slider {
    border-radius: 0;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 1.5rem;
}

.service-card-body h4 {
    margin-bottom: 0.75rem;
}

.service-card-body p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Overlay-style service card */
.service-card-overlay {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: var(--transition-base);
}

.service-card-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(19, 28, 59, 0.85) 0%, transparent 60%);
    z-index: 1;
    transition: var(--transition-base);
}

.service-card-overlay:hover::before {
    background: linear-gradient(to top, rgba(19, 28, 59, 0.95) 0%, rgba(19, 28, 59, 0.3) 100%);
}

.service-card-overlay:hover img {
    transform: scale(1.05);
}

.service-card-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    padding: 1.5rem;
    z-index: 2;
    color: var(--white);
}

.service-card-overlay-content h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.service-card-overlay-content p {
    font-size: 0.9rem;
    opacity: 0;
    max-height: 0;
    transition: all 0.4s ease;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.service-card-overlay:hover .service-card-overlay-content p {
    opacity: 1;
    max-height: 100px;
    margin-top: 0.5rem;
}

/* ----------------------------------------------------------
   13. Company Benefits / Why Choose Us
   ---------------------------------------------------------- */
.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.benefit-text h5 {
    margin-bottom: 0.25rem;
    color: var(--secondary);
}

.benefit-text p {
    font-size: 0.95rem;
    margin: 0;
}

/* ----------------------------------------------------------
   14. Gallery / Projects
   ---------------------------------------------------------- */
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(35, 51, 105, 0.0);
    z-index: 1;
    transition: var(--transition-base);
}

.gallery-item:hover::before {
    background: rgba(35, 51, 105, 0.4);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    width: 48px; height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-item-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* Project Filter */
.filter-btn {
    padding: 8px 24px;
    background: transparent;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-pill);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.project-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-item.hide {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    pointer-events: none;
}

/* Projects page gallery */
.projects-gallery .gallery-item img {
    height: 300px;
}

/* ----------------------------------------------------------
   15. Testimonials
   ---------------------------------------------------------- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--secondary);
    font-size: 1rem;
}

.swiper-pagination-bullet {
    background: var(--primary);
}

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

.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonials-swiper .swiper-slide {
    height: auto;
}

/* ----------------------------------------------------------
   16. CTA Sections
   ---------------------------------------------------------- */
.cta-section {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

/* Review CTA */
.review-cta {
    background: var(--primary);
    padding: 50px 0;
    text-align: center;
    color: var(--white);
}

.review-cta h2 {
    color: var(--white);
}

.review-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    background: var(--white);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.25rem;
    margin: 0 8px;
    transition: var(--transition-base);
}

.review-icons a:hover {
    background: var(--secondary);
    color: var(--white);
}

/* ----------------------------------------------------------
   17. Contact Form Banner (Footer CTA)
   ---------------------------------------------------------- */
.contact-form-banner {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 0;
}

.contact-form-banner h2 {
    color: var(--white);
}

.contact-form-banner .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-ui);
}

.contact-form-banner .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form-banner .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: none;
    color: var(--white);
}

.contact-form-banner .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-ui);
}

/* ----------------------------------------------------------
   18. Footer
   ---------------------------------------------------------- */
.footer {
    background: var(--secondary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 60px;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-widget h5 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition-base);
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}
.footer-contact a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.footer-social a {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}
.footer-bottom a:hover {
    color: var(--primary);
}

/* ----------------------------------------------------------
   19. Back to Top
   ---------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px; height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
}

/* ----------------------------------------------------------
   20. Floating Desktop CTA
   ---------------------------------------------------------- */
.floating-cta {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.floating-cta.show {
    opacity: 1;
    visibility: visible;
}

.floating-cta .btn-primary-custom {
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    padding: 12px 24px;
}

@media (max-width: 991px) {
    .floating-cta { display: none; }
}

/* ----------------------------------------------------------
   21. Mobile Sticky Call Bar
   ---------------------------------------------------------- */
.mobile-call-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--secondary);
    padding: 10px 15px;
    z-index: 1020;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.mobile-call-bar a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius-pill);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.9rem;
}

.mobile-call-bar .call-btn {
    background: var(--white);
    color: var(--secondary);
}

.mobile-call-bar .estimate-btn {
    background: var(--primary);
    color: var(--white);
}

@media (max-width: 991px) {
    .mobile-call-bar { display: flex; }
    body { padding-bottom: 65px; }
    .back-to-top { bottom: 80px; right: 15px; }
}

/* ----------------------------------------------------------
   22. Before / After Slider
   ---------------------------------------------------------- */
.ba-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    max-width: 700px;
    margin: 0 auto;
}

.ba-slider img {
    display: block;
    width: 100%;
    height: auto;
}

.ba-slider .ba-after {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
}

.ba-slider .ba-after img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-slider input[type="range"] {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 3;
}

.ba-slider .ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--white);
    z-index: 2;
    pointer-events: none;
    transform: translateX(-50%);
}

.ba-slider .ba-handle::after {
    content: '\f0d9\00a0\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 0.8rem;
    box-shadow: var(--shadow-md);
}

.ba-label {
    position: absolute;
    top: 15px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.ba-label-before { left: 15px; }
.ba-label-after { right: 15px; }

/* ----------------------------------------------------------
   23. Pricing Cards
   ---------------------------------------------------------- */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: 15px; right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-icon {
    width: 70px; height: 70px;
    margin: 0 auto 1.5rem;
}

.pricing-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pricing-card h4 {
    margin-bottom: 0.75rem;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 6px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* ----------------------------------------------------------
   24. Blog Cards
   ---------------------------------------------------------- */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-card-img {
    height: 220px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    font-family: var(--font-ui);
}

.blog-card-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.blog-card-body h5 {
    margin-bottom: 0.75rem;
}

.blog-card-body h5 a {
    color: var(--secondary);
}
.blog-card-body h5 a:hover {
    color: var(--primary);
}

/* Blog Post single */
.blog-post-content {
    font-size: 1.05rem;
    line-height: 1.9;
}

.blog-post-content h2,
.blog-post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content p {
    margin-bottom: 1.25rem;
}

.blog-post-content img {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

/* Blog Sidebar */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.sidebar-widget h5 {
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 1rem;
}

.sidebar-recent li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light-gray);
}

.sidebar-recent li:last-child {
    border: none;
}

.sidebar-recent a {
    color: var(--near-black);
    font-size: 0.9rem;
}
.sidebar-recent a:hover {
    color: var(--primary);
}

/* ----------------------------------------------------------
   25. Contact Page
   ---------------------------------------------------------- */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-base);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
}

.contact-info-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-info-card h5 {
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-ui);
    transition: var(--transition-base);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(65, 191, 185, 0.15);
}

/* ----------------------------------------------------------
   26. Service Detail Pages
   ---------------------------------------------------------- */
.service-features {
    counter-reset: feature;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.feature-number {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.feature-content h5 {
    margin-bottom: 0.25rem;
}

.feature-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* Service gallery grid */
.service-gallery .gallery-item img {
    height: 250px;
}

/* ----------------------------------------------------------
   27. Commitment / Promise Section
   ---------------------------------------------------------- */
.commitment-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.commitment-icon {
    width: 70px; height: 70px;
    margin: 0 auto 1.25rem;
}

.commitment-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.commitment-card h5 {
    margin-bottom: 0.5rem;
}

/* ----------------------------------------------------------
   28. Legal Pages
   ---------------------------------------------------------- */
.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

/* ----------------------------------------------------------
   29. AOS Overrides
   ---------------------------------------------------------- */
[data-aos] {
    pointer-events: auto !important;
}

/* ----------------------------------------------------------
   30. Utilities & Misc
   ---------------------------------------------------------- */
.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }

.img-rounded { border-radius: var(--radius-lg); }

.gap-30 { gap: 30px; }

/* Fancybox overrides */
.fancybox__container {
    --fancybox-bg: rgba(19, 28, 59, 0.92);
}
