/********** Template CSS **********/
:root {
    --primary: #059669;
    --secondary: #064e3b;
    --light: #f8fafc;
    --dark: #111827;
    --border: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -.01em;
}

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


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(0,0,0,.04);
}

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

.navbar .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 14px;
    color: #334155;
    font-weight: 500;
    outline: none;
    text-align: center;
    position: relative;
    letter-spacing: 0;
}

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

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .2s ease;
    transform-origin: center;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }

    .navbar .btn-quote {
        margin: 10px 0 15px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgb(0 0 0 / 55%);
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 12px solid var(--primary);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgb(15 23 42 / 65%), rgb(15 23 42 / 50%)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


/*** Facts ***/
.facts {
    position: relative;
}

.facts * {
    position: relative;
    z-index: 1;
}

.facts::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(4 120 87 / 80%);
}


/*** Service Cards ***/
.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: .35s;
    height: 100%;
    border-left: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
    border-left-color: var(--primary);
}

.service-card .service-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, #34d399 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: border-radius .35s;
}

.service-card:hover .service-icon-wrap {
    border-radius: 50%;
}

.service-card .service-icon-wrap i {
    font-size: 1.6rem;
    color: #fff;
}

.service-card h5 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: .75rem;
}

.service-card p {
    color: #666;
    font-size: .93rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.service-card .btn-link-primary {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: .9rem;
}

.service-card .btn-link-primary:hover {
    color: var(--secondary);
}

.service-card .btn-link-primary i {
    font-size: .8rem;
    margin-left: 4px;
    transition: .3s;
}

.service-card .btn-link-primary:hover i {
    margin-left: 8px;
}


/*** Old service-item compat ***/
.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}


/*** Process Steps ***/
.process-step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.process-step .step-number {
    width: 56px;
    height: 56px;
    background: transparent;
    border: 2.5px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: .3s;
}

.process-step:hover .step-number {
    background: var(--primary);
    color: #fff;
}

.process-step h5 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: .5rem;
}

.process-step p {
    color: #666;
    font-size: .9rem;
    margin: 0;
}

.process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 28px;
    color: var(--primary);
    font-size: 1.5rem;
}

@media (max-width: 767px) {
    .process-connector { display: none; }
}


/*** Project Cards ***/
.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: .4s;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.14);
}

.project-card .project-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-card .project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.project-card:hover .project-img-wrap img {
    transform: scale(1.07);
}

.project-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.project-badge.badge-completed { background: #198754; color: #fff; }
.project-badge.badge-active    { background: var(--primary); color: #fff; }

.project-card .project-body {
    padding: 1.25rem;
}

.project-card .project-service {
    font-size: .8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .4rem;
}

.project-card .project-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .4rem;
}

.project-card .project-location {
    font-size: .85rem;
    color: #888;
    margin-bottom: .75rem;
}

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

.project-card .project-reviews-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
}

.project-card .project-reviews-summary .stars { color: #FFC107; font-size: .85rem; }
.project-card .project-reviews-summary span   { font-size: .82rem; color: #888; }

.project-filter { margin-bottom: 2rem; }

.project-filter .btn {
    border-radius: 25px;
    padding: 6px 22px;
    font-size: .88rem;
    font-weight: 500;
    margin: 4px;
    border: 2px solid #ddd;
    color: #555;
    background: #fff;
}

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


/*** Before/After Comparison Slider ***/
.comparison-slider {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    user-select: none;
    cursor: ew-resize;
    background: #000;
}

.comparison-slider .comparison-before {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

.comparison-slider .comparison-before img {
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.comparison-slider .comparison-after {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    pointer-events: none;
}

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

.comparison-slider .comparison-handle {
    position: absolute;
    top: 0; bottom: 0;
    width: 0;
    z-index: 5;
    pointer-events: none;
}

.comparison-slider .comparison-handle-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.comparison-slider .comparison-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    color: var(--primary);
    font-size: 1rem;
}

.comparison-slider .label-before,
.comparison-slider .label-after {
    position: absolute;
    top: 12px;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #fff;
    background: rgba(0,0,0,0.55);
    z-index: 4;
    pointer-events: none;
}

.comparison-slider .label-before { left: 12px; }
.comparison-slider .label-after  { right: 12px; }

.comparison-slider .comparison-range {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
}


/*** Star Rating ***/
.star-rating { display: inline-flex; gap: 2px; }

.star-rating .fa-star,
.star-rating .fa-star-half-alt { color: #FFC107; font-size: .9rem; }

.star-rating .far.fa-star { color: #ddd; font-size: .9rem; }


/*** Review Cards ***/
.review-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.07);
    height: 100%;
    position: relative;
}

.review-card::before {
    content: "\f10d";
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 2rem;
    color: var(--primary);
    opacity: .15;
}

.review-card .review-author {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .2rem;
}

.review-card .review-date {
    font-size: .8rem;
    color: #aaa;
    margin-bottom: .5rem;
}

.review-card .review-text {
    color: #555;
    font-size: .93rem;
    line-height: 1.65;
    margin: 0;
}


/*** Project Detail ***/
.project-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .9rem;
    color: rgba(255,255,255,.85);
    margin-right: 1.5rem;
    margin-bottom: .5rem;
}

.project-detail-meta span i { color: var(--primary); }

.gallery-grid .gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: .3s;
    display: block;
}

.gallery-grid .gallery-img:hover {
    opacity: .82;
    transform: scale(1.02);
}

.document-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.25rem;
    background: var(--light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: .3s;
    margin-bottom: .5rem;
}

.document-item:hover {
    background: var(--primary);
    color: #fff;
}

.document-item i { font-size: 1.5rem; color: var(--primary); }
.document-item:hover i { color: #fff; }


/*** CTA Section ***/
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, #064e3b 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(5,150,105,.15);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(5,150,105,.07);
    pointer-events: none;
}


/*** Contact Form ***/
.contact-info-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
    transition: .3s;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.contact-info-card .icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-info-card .icon-wrap i { font-size: 1.4rem; color: #fff; }

.contact-info-card h5 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: .5rem;
}

.contact-info-card p,
.contact-info-card a {
    color: #666;
    font-size: .93rem;
    margin: 0;
    text-decoration: none;
    line-height: 1.6;
}

.contact-info-card a:hover { color: var(--primary); }

.form-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2.5rem;
}

.form-section .form-label {
    font-weight: 600;
    color: var(--dark);
    font-size: .9rem;
}

.form-section .form-control,
.form-section .form-select {
    border-radius: 6px;
    border: 1.5px solid #e0e0e0;
    padding: .65rem 1rem;
    transition: .3s;
}

.form-section .form-control:focus,
.form-section .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5,150,105,.15);
}

.service-checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 575px) {
    .service-checkbox-group { grid-template-columns: 1fr; }
}

.service-checkbox-group .form-check-label { font-size: .88rem; color: #444; }
.service-checkbox-group .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

#form-success {
    display: none;
    background: #d1e7dd;
    border: 1px solid #badbcc;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    color: #0f5132;
}

#form-success i {
    font-size: 2.5rem;
    margin-bottom: .75rem;
    display: block;
}

#form-error {
    display: none;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    color: #842029;
    margin-top: .75rem;
}


/*** Team (services showcase) ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 10, 53, .8);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Footer ***/
.bg-footer {
    background-color: var(--dark);
    border-top: 4px solid var(--primary);
}

.footer { color: #aaa; }

.footer h5 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .5px;
    color: #ddd;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #aaa;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #aaa;
    border: 1px solid rgba(255,255,255,.2);
}

.footer .btn.btn-square:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #777;
}

.footer .copyright a { color: var(--primary); }
.footer .copyright a:hover { color: #fff; }

.footer p { color: #aaa; font-size: .9rem; }
.footer p i { color: var(--primary); }


/*** WhatsApp Float ***/
.btn-whatsapp {
    position: fixed;
    left: 20px;
    bottom: 95px;
    z-index: 999;
}

.btn-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(37,211,102,.45);
    transition: .25s;
    text-decoration: none;
}

.btn-whatsapp a:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,.55);
}

.btn-whatsapp i {
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
}


/*** Reviews background (set via class to allow dark-mode override) ***/
.reviews-bg { background: #f8f9fa; }


/*** No Projects ***/
.no-projects {
    text-align: center;
    padding: 4rem 2rem;
    color: #888;
}

.no-projects i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
    display: block;
}


/*** Section Title ***/
.section-title {
    position: relative;
    padding-bottom: .75rem;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}


/* ============================================================
   Toggle Buttons (theme + language)
   ============================================================ */

.toggle-btn {
    min-width: 36px;
    height: 36px;
    font-size: .82rem;
    font-weight: 700;
    padding: 0 .55rem;
    border: 1.5px solid #dee2e6;
    background: #f8f9fa;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .25s, border-color .25s, color .25s;
    border-radius: 6px;
}

.toggle-btn:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.toggle-lang-btn { min-width: 40px; letter-spacing: .5px; }


/* ============================================================
   Dark Mode
   ============================================================ */

[data-theme="dark"] body {
    background-color: #111827;
    color: #e5e7eb;
}

[data-theme="dark"] .navbar {
    background-color: #1f2937 !important;
}

[data-theme="dark"] .navbar .navbar-nav .nav-link {
    color: #d1d5db;
}

[data-theme="dark"] .navbar .navbar-nav .nav-link:hover,
[data-theme="dark"] .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

[data-theme="dark"] .bg-light,
[data-theme="dark"] .navbar-nav.bg-light {
    background-color: #1f2937 !important;
}

[data-theme="dark"] .bg-white {
    background-color: #1f2937 !important;
}

[data-theme="dark"] h1:not(.footer h1),
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5:not(.footer h5),
[data-theme="dark"] h6 {
    color: #f9fafb;
}

[data-theme="dark"] p:not(.footer p):not(.carousel-caption p):not(.cta-section p):not(.facts p):not(.page-header p):not(.text-white-50) {
    color: #d1d5db;
}

[data-theme="dark"] .text-muted {
    color: #9ca3af !important;
}

/* Service Cards */
[data-theme="dark"] .service-card {
    background: #1f2937;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
[data-theme="dark"] .service-card h5 { color: #f9fafb; }
[data-theme="dark"] .service-card p  { color: #9ca3af; }

/* Project Cards */
[data-theme="dark"] .project-card {
    background: #1f2937;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
[data-theme="dark"] .project-card .project-title { color: #f9fafb; }
[data-theme="dark"] .project-card .project-location { color: #9ca3af; }

/* Project filter buttons */
[data-theme="dark"] .project-filter .btn {
    background: #1f2937;
    border-color: #374151;
    color: #d1d5db;
}

/* Review Cards */
[data-theme="dark"] .review-card {
    background: #1f2937;
    box-shadow: 0 3px 15px rgba(0,0,0,.4);
}
[data-theme="dark"] .review-card .review-author { color: #f9fafb; }
[data-theme="dark"] .review-card .review-text   { color: #9ca3af; }

/* Contact info cards */
[data-theme="dark"] .contact-info-card {
    background: #1f2937;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
[data-theme="dark"] .contact-info-card h5   { color: #f9fafb; }
[data-theme="dark"] .contact-info-card p,
[data-theme="dark"] .contact-info-card a    { color: #9ca3af; }

/* Form section */
[data-theme="dark"] .form-section {
    background: #1a2332;
}
[data-theme="dark"] .form-section .form-label { color: #d1d5db; }
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background-color: #374151;
    border-color: #4b5563;
    color: #e5e7eb;
}
[data-theme="dark"] .form-control::placeholder { color: #6b7280; }
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background-color: #374151;
    color: #e5e7eb;
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(5,150,105,.2);
}
[data-theme="dark"] .service-checkbox-group .form-check-label { color: #d1d5db; }

/* Tables */
[data-theme="dark"] .table { color: #e5e7eb; }
[data-theme="dark"] .table td,
[data-theme="dark"] .table th { border-color: #374151; }
[data-theme="dark"] .table td.fw-bold { color: #d1d5db !important; }

/* Inline bg overrides */
[data-theme="dark"] .bg-light.rounded,
[data-theme="dark"] [class*="bg-light"] { background-color: #1f2937 !important; }

/* Any section with inline style background:#f8f9fa */
[data-theme="dark"] .reviews-bg,
[data-theme="dark"] .container-xxl.py-5[style*="background"] {
    background: #1a2332 !important;
}

/* Document items */
[data-theme="dark"] .document-item {
    background: #1f2937;
    color: #d1d5db;
}
[data-theme="dark"] .document-item:hover { background: var(--primary); color: #fff; }

/* Process steps */
[data-theme="dark"] .process-step h5 { color: #f9fafb; }
[data-theme="dark"] .process-step p  { color: #9ca3af; }

/* No-projects placeholder */
[data-theme="dark"] .no-projects { color: #6b7280; }

/* About badge boxes */
[data-theme="dark"] .d-flex.align-items-center.bg-light.rounded { background: #1f2937 !important; }
[data-theme="dark"] .d-flex.align-items-center.bg-light.rounded h6 { color: #f9fafb; }

/* Spinner */
[data-theme="dark"] #spinner { background-color: #111827 !important; }

/* Toggle buttons inside dark navbar */
[data-theme="dark"] .toggle-btn {
    background: #374151 !important;
    border-color: #4b5563 !important;
    color: #e5e7eb !important;
}
[data-theme="dark"] .toggle-btn:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}
