/* Generated by tools/dark-theme/convert_pages.py from /css/style.css — edit the source and re-run. */
/********** Template CSS — DBell Creations UI Refresh **********/
:root {
    --primary:#38b6f0;
    --secondary:#38b6f0;
    --light:#121821;
    --dark:#6ccbf5;
    /* UI polish extras — derived from brand palette */
    --primary-light:rgba(56,182,240,0.08);
    --primary-mid:rgba(56,182,240,0.18);
    --shadow-sm:0 2px 12px rgba(238,243,247,0.07);
    --shadow-md:0 6px 24px rgba(238,243,247,0.1);
    --shadow-lg:0 16px 48px rgba(238,243,247,0.13);
    --shadow-primary:0 8px 28px rgba(56,182,240,0.22);
    --radius-sm:8px;
    --radius-md:14px;
    --radius-lg:20px;
    --transition:all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scroll & improved text rendering */
html { scroll-behavior:smooth; }

body {
    margin:0;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.7;;
}


/*** 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;
}

a#number { color:white; }

.back-to-top {
    position:fixed;
    display:none;
    right:45px;
    bottom:45px;
    z-index:99;
    width:46px !important;
    height:46px !important;
    border-radius:50% !important;
    background:#0f1d29 !important;
    color:#fff !important;
    align-items:center;
    justify-content:center;
    box-shadow:var(--shadow-primary);
    transition:var(--transition);
}

.back-to-top:hover {
    background:#0f1d29 !important;
    color:var(--dark) !important;
    transform:translateY(-3px);
    box-shadow:0 12px 32px rgba(251, 165, 4, 0.35);
}


/*** Typography ***/
h1, h2, .fw-bold {
    font-weight:700 !important;
    line-height:1.18;
    letter-spacing:-0.02em;
}

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

h5, h6, .fw-medium {
    font-weight:500 !important;
    line-height:1.4;
}

p { line-height:1.75; }

.text-muted { color:#a3b1bf !important; }


/*** Button ***/
.btn {
    font-weight:600;
    letter-spacing:0.01em;
    transition:var(--transition);
    border:none;
}

.btn:hover {
    transform:translateY(-2px);
    box-shadow:var(--shadow-md);
}

.btn:active { transform:translateY(0); }

/* Primary button — gradient for premium feel */
.btn-primary {
    background:linear-gradient(135deg, #0f1d29 0%, #0f1d29 60%, #0f1d29 100%);
    color:#fff;
    box-shadow:var(--shadow-primary);
    border:none;
}

.btn-primary:hover {
    background:linear-gradient(135deg, #0f1d29 0%, #0f1d29 60%, #0f1d29 100%);
    box-shadow:0 10px 36px rgba(41, 171, 226, 0.38);
    color:#fff;
}

/* Secondary button */
.btn-secondary {
    background:#0f1d29;
    color:var(--dark) !important;
    font-weight:700;
    box-shadow:0 4px 18px rgba(251, 165, 4, 0.28);
    border:none;
}

.btn-secondary:hover {
    background:#13324a;
    box-shadow:0 8px 28px rgba(251, 165, 4, 0.42);
    color:var(--dark) !important;
}

/* Outline primary */
.btn-outline-primary {
    border:2px solid var(--primary);
    color:var(--primary);
    background:transparent;
}

.btn-outline-primary:hover {
    background:#0f1d29;
    color:#fff;
    box-shadow:var(--shadow-primary);
}

/* Outline light (hero) */
.btn-outline-light {
    border:2px solid rgba(38,49,64,0.7);
    color:#fff;
    background:rgba(255,255,255,0.07);
    backdrop-filter:blur(4px);
}

.btn-outline-light:hover {
    background:rgba(255,255,255,0.18);
    border-color:#263140;
    color:#fff;
}

.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;
    border-radius:50px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border:none;
    content:"\f067";
    font-family:"Font Awesome 5 Free";
    font-size:10px;
    font-weight:bold;
    vertical-align:middle;
    margin-left:8px;
}

.navbar-light .navbar-nav .nav-link {
    position:relative;
    margin-right:22px;
    padding:35px 0;
    
    font-size:16px;
    font-weight:500;
    color:rgba(255,255,255,0.92) !important;
    outline:none;
    transition:var(--transition);
}

/* Animated underline on nav links */
.navbar-light .navbar-nav .nav-link::after {
    content:'';
    position:absolute;
    bottom:28px;
    left:0;
    width:0;
    height:2px;
    background:#0f1d29;
    border-radius:2px;
    transition:width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width:100%;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding:20px 0;
    color:var(--dark) !important;
}

.sticky-top.navbar-light .navbar-nav .nav-link::after {
    bottom:13px;
}

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

.navbar-light .navbar-brand h1 {
    color:#FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height:58px;
    transition:var(--transition);
}

.sticky-top.navbar-light .navbar-brand img {
    max-height:44px;
}

/* ── Text logo: "DBELL CREATIONS" ── */
.brand-logo-text {
    
    font-weight:800;
    font-size:1.45rem;
    letter-spacing:0.04em;
    line-height:1;
    text-decoration:none;
    display:inline-flex;
    flex-direction:column;
    align-items:flex-start;
    gap:1px;
    transition:var(--transition);
}

.brand-logo-text .brand-dbell {
    color:var(--primary);          /* purple */
    font-size:1.55rem;
    letter-spacing:0.06em;
    text-shadow:0 2px 12px rgba(41, 171, 226, 0.25);
}

.brand-logo-text .brand-creations {
    color:var(--secondary);        /* orange */
    font-size:1.1rem;
    font-weight:700;
    letter-spacing:0.14em;
    text-shadow:0 2px 10px rgba(251, 165, 4, 0.20);
}

/* Sticky navbar — keep colors readable on white bg */
.sticky-top .brand-logo-text .brand-dbell     { color:var(--primary)   !important; text-shadow:none; }
.sticky-top .brand-logo-text .brand-creations { color:var(--secondary) !important; text-shadow:none; }

/* Mobile — always show brand colors on white background */
@media (max-width: 991.98px) {
    .brand-logo-text { font-size:1.25rem; }
    .brand-logo-text .brand-dbell { font-size:1.35rem; }
    .brand-logo-text .brand-creations { font-size:0.95rem; }
}

@media (max-width: 991.98px) {
    /* Ensure navbar always has a white background on mobile for brand readability */
    .navbar-light {
        background:#121821;
    }

    .sticky-top.navbar-light {
        position:sticky;
        top:0;
        background:#121821;
        box-shadow:var(--shadow-sm);
    }

    /* ── MOBILE BRAND COLOR — high-specificity definitive rules ── */
    .navbar-light .navbar-brand .brand-dbell,
    .navbar-light .navbar-brand:hover .brand-dbell,
    .navbar-light .navbar-brand:focus .brand-dbell,
    .sticky-top .navbar-brand .brand-dbell {
        color:#6ccbf5 !important;
        text-shadow:none !important;
    }
    .navbar-light .navbar-brand .brand-creations,
    .navbar-light .navbar-brand:hover .brand-creations,
    .navbar-light .navbar-brand:focus .brand-creations,
    .sticky-top .navbar-brand .brand-creations {
        color:#6ccbf5 !important;
        text-shadow:none !important;
    }

    .navbar-light .navbar-collapse {
        margin-top:12px;
        border-top:1px solid #263140;
        padding-top:8px;
        padding-bottom:8px;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding:10px 0;
        margin-left:0;
        color:var(--dark) !important;
        font-size:15px;
    }

    .navbar-light .navbar-nav .nav-link::after,
    .sticky-top.navbar-light .navbar-nav .nav-link::after {
        display:none;
    }

    .navbar-light .navbar-brand h1 {
        color:var(--primary);
    }

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

@media (min-width: 992px) {
    .navbar-light {
        position:absolute;
        width:100%;
        top:0;
        left:0;
        border-bottom:1px solid rgba(255, 255, 255, .08);
        z-index:999;
    }

    /* Desktop: non-sticky navbar overlays dark hero — DBELL in white for contrast */
    .navbar-light:not(.sticky-top) .brand-logo-text .brand-dbell {
        color:rgba(255, 255, 255, 0.95);
        text-shadow:0 0 20px rgba(41, 171, 226, 0.55);
    }
    .navbar-light:not(.sticky-top) .brand-logo-text .brand-creations {
        color:var(--secondary);
    }

    /* Glassmorphism sticky navbar */
    .sticky-top.navbar-light {
        position:fixed;
        background:rgba(18,24,33,0.96);
        backdrop-filter:blur(12px);
        -webkit-backdrop-filter:blur(12px);
        box-shadow:0 2px 20px rgba(4, 0, 11, 0.08);
        border-bottom:1px solid rgba(56,182,240,0.08);
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color:var(--primary);
    }

    .navbar-light .navbar-nav .nav-item .dropdown-menu {
        display:block;
        border:none;
        margin-top:0;
        top:150%;
        opacity:0;
        visibility:hidden;
        transition:var(--transition);
        border-radius:var(--radius-md);
        box-shadow:var(--shadow-lg);
        border:1px solid rgba(56,182,240,0.08);
        padding:8px;
    }

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

    .navbar-light .navbar-nav .nav-item .dropdown-menu .dropdown-item {
        border-radius:var(--radius-sm);
        padding:8px 16px;
        font-size:14px;
        font-weight:500;
        color:var(--dark);
        transition:var(--transition);
    }

    .navbar-light .navbar-nav .nav-item .dropdown-menu .dropdown-item:hover {
        background:#0f1d29;
        color:var(--primary);
    }

    /* Navbar CTA button */
    .navbar-light .btn {
        color:var(--dark);
        background:rgba(18,24,33,0.95);
        border:1px solid rgba(255,255,255,0.3);
        font-weight:600;
        font-size:14px;
    }

    .sticky-top.navbar-light .btn {
        color:var(--dark);
        background:#0f1d29;
        border:none;
        box-shadow:0 4px 14px rgba(251, 165, 4, 0.3);
    }

    .sticky-top.navbar-light .btn:hover {
        background:#13324a;
        transform:translateY(-2px);
        box-shadow:0 8px 22px rgba(251, 165, 4, 0.42);
    }
}


/*** Hero Header ***/
.hero-header {
    margin-bottom:0;
    padding:14rem 0 8rem;
    background:url(/img/blob-top-left.png),
        url(/img/blob-top-right.png),
        url(/img/blob-bottom-left.png),
        url(/img/blob-bottom-right.png),
        url(/img/blob-center.png);
    background-position:left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat:no-repeat;
    position:relative;
    overflow:hidden;
}

/* Subtle overlay for hero text legibility */
.hero-header::before {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(135deg, rgba(56,182,240,0.18) 0%, transparent 70%);
    pointer-events:none;
}

/* Inner page compact hero — no huge empty space */
.page-hero {
    padding:3.5rem 0 2.5rem !important;
}
.page-hero .container {
    padding-top:0.5rem;
    padding-bottom:0.5rem;
}

@media (max-width: 991.98px) {
    .hero-header {
        padding:7rem 0 5rem;
        margin-bottom:0;
    }
    .page-hero {
        padding:2.5rem 0 1.5rem !important;
    }
}

/* Hero trust badges */
.hero-header .badge-trust {
    background:rgba(255,255,255,0.13);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    border:1px solid rgba(255,255,255,0.22);
    border-radius:50px;
    padding:6px 16px;
    font-size:0.85rem;
    color:#fff;
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.hero-header .text-white-50 {
    opacity:0.88;
}


/*** Section Title ***/
.section-title {
    position:relative;
    display:flex;
    align-items:center;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:0.08em;
    font-size:0.82rem;
}

.section-title span:first-child,
.section-title span:last-child {
    position:relative;
    display:inline-block;
    margin-right:30px;
    width:30px;
    height:2px;
}

.section-title span:last-child {
    margin-right:0;
    margin-left:30px;
}

.section-title span:first-child::after,
.section-title span:last-child::after {
    position:absolute;
    content:"";
    width:15px;
    height:2px;
    top:0;
    right:-20px;
}

.section-title span:last-child::after {
    right:auto;
    left:-20px;
}

.section-title.text-primary span:first-child,
.section-title.text-primary span:last-child,
.section-title.text-primary span:first-child::after,
.section-title.text-primary span:last-child::after {
    background:#0f1d29;
}

.section-title.text-secondary span:first-child,
.section-title.text-secondary span:last-child,
.section-title.text-secondary span:first-child::after,
.section-title.text-secondary span:last-child::after {
    background:#0f1d29;
}

.section-title.text-white span:first-child,
.section-title.text-white span:last-child,
.section-title.text-white span:first-child::after,
.section-title.text-white span:last-child::after {
    background:#121821;
}


/*** Feature Items ***/
.feature-item {
    border:1px solid transparent;
    border-radius:var(--radius-md) !important;
    transition:var(--transition);
    box-shadow:var(--shadow-sm);
}

.feature-item:hover {
    margin-top:-8px;
    border-color:rgba(56,182,240,0.15);
    box-shadow:var(--shadow-md), 0 0 0 1px rgba(41, 171, 226,0.06);
}

.feature-item i {
    transition:var(--transition);
}

.feature-item:hover i {
    transform:scale(1.12) translateY(-3px);
    color:var(--primary) !important;
}


/*** About / Progress ***/
.progress {
    height:6px;
    border-radius:3px;
    background:rgba(56,182,240,0.08);
}

.progress .progress-bar {
    width:0;
    transition:3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius:3px;
}

.progress .progress-bar.bg-primary {
    background:linear-gradient(90deg, #0f1d29, #0f1d29) !important;
}

.progress .progress-bar.bg-secondary {
    background:linear-gradient(90deg, #13324a, #0f1d29) !important;
}

.progress .progress-bar.bg-dark {
    background:linear-gradient(90deg, #0f1d29, var(--dark)) !important;
}


/*** Stats / Fact Bar ***/
.fact {
    margin:0;
    background:url(/img/blob-top-left.png),
        url(/img/blob-top-right.png),
        url(/img/blob-bottom-left.png),
        url(/img/blob-bottom-right.png),
        url(/img/blob-center.png);
    background-position:left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat:no-repeat;
}

/* Stats counter numbers */
.fact h1[data-toggle="counter-up"] {
    font-size:2.8rem;
    font-weight:800;
    letter-spacing:-0.03em;
}


/*** Service Items ***/
.service-item {
    position:relative;
    padding:48px 32px;
    background:#121821;
    overflow:hidden;
    transition:var(--transition);
    border-radius:var(--radius-md) !important;
    border:1px solid rgba(56,182,240,0.07);
    box-shadow:var(--shadow-sm);
}

.service-item:hover {
    margin-top:-10px;
    padding-bottom:68px;
    background:#0f1d29;
    border-color:transparent;
    box-shadow:var(--shadow-primary);
}

.service-item .service-icon {
    margin:0 auto 24px auto;
    width:100px;
    height:100px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--light);
    background:url(/img/blob-primary.png) center center no-repeat;
    background-size:contain;
    transition:var(--transition);
}

.service-item:hover .service-icon {
    color:var(--dark);
    background:url(/img/blob-secondary.png) center center no-repeat;
    background-size:contain;
}

.service-item h5,
.service-item p {
    transition:var(--transition);
}

.service-item:hover h5,
.service-item:hover p {
    color:#FFFFFF;
}

.service-item a.btn {
    position:absolute;
    bottom:-44px;
    left:50%;
    transform:translateX(-50%);
    color:var(--primary);
    background:#121821;
    border-radius:40px 40px 0 0;
    transition:var(--transition);
    z-index:1;
    white-space:nowrap;
    padding:10px 24px;
    font-weight:600;
    font-size:13px;
}

.service-item a.btn:hover {
    color:var(--dark);
    background:#0f1d29;
}

.service-item:hover a.btn {
    bottom:0;
}


/*** Portfolio ***/
#portfolio-flters li {
    display:inline-block;
    font-weight:600;
    font-size:14px;
    color:var(--dark);
    cursor:pointer;
    transition:var(--transition);
    border-bottom:2px solid transparent;
    padding-bottom:4px;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color:var(--primary);
    border-color:var(--primary);
}

.portfolio-item img {
    transition:transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
    transform:scale(1.06);
}

.portfolio-item .portfolio-overlay {
    position:absolute;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background:linear-gradient(135deg, rgba(19,50,74,0.92) 0%, rgba(15,29,41,0.88) 100%);
    transition:var(--transition);
    opacity:0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity:1;
}

/* Portfolio card info panel */
.portfolio-item .bg-light {
    background:#121821 !important;
    border-top:3px solid var(--primary-light);
    transition:var(--transition);
}

.portfolio-item:hover .bg-light {
    border-top-color:var(--primary);
}

/* Portfolio card container */
.portfolio-item .rounded {
    border-radius:var(--radius-md) !important;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
    overflow:hidden;
}

.portfolio-item:hover .rounded {
    box-shadow:var(--shadow-md);
}


/*** CTA / Newsletter Banners ***/
.newsletter {
    margin:0;
    background:url(/img/blob-top-left.png),
        url(/img/blob-top-right.png),
        url(/img/blob-bottom-left.png),
        url(/img/blob-bottom-right.png),
        url(/img/blob-center.png);
    background-position:left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat:no-repeat;
}

/* Newsletter email input */
.newsletter .form-control {
    border:none;
    border-radius:50px;
    padding:14px 24px;
    font-size:15px;
    box-shadow:0 4px 20px rgba(0,0,0,0.10);
    transition:var(--transition);
}

.newsletter .form-control:focus {
    outline:none;
    box-shadow:0 4px 20px rgba(0,0,0,0.12), 0 0 0 3px rgba(251,165,4,0.2);
}


/*** Testimonials ***/
.testimonial-carousel .testimonial-item {
    padding:0 20px 20px;
}

/* Testimonial card styling */
.testimonial-item.bg-white {
    border-radius:var(--radius-md) !important;
    border-left:4px solid var(--primary);
    box-shadow:var(--shadow-sm) !important;
    transition:var(--transition);
    padding:28px 28px 24px !important;
    position:relative;
}

.testimonial-item.bg-white::before {
    content:'\201C';
    position:absolute;
    top:12px;
    right:24px;
    font-size:4rem;
    line-height:1;
    color:var(--primary-light);
    
    font-weight:700;
}

.testimonial-item.bg-white:hover {
    box-shadow:var(--shadow-md) !important;
    border-left-color:var(--secondary);
    transform:translateY(-4px);
}

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

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin:0 10px;
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--primary);
    background:#121821;
    border-radius:52px;
    font-size:20px;
    border:2px solid rgba(56,182,240,0.15);
    transition:var(--transition);
    box-shadow:var(--shadow-sm);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color:#FFFFFF;
    background:#0f1d29;
    border-color:var(--primary);
    box-shadow:var(--shadow-primary);
}


/*** Team ***/
.team-item .btn {
    color:var(--primary);
    background:#121821;
}

.team-item .btn:hover {
    color:#FFFFFF;
    background:#0f1d29;
}


/*** Footer ***/
.footer {
    margin-top:0;
    padding-top:80px;
    background:url(/img/bg-top.png),
        url(/img/map.png);
    background-position:center top,
        center center;
    background-repeat:no-repeat;
}

.footer .btn.btn-social {
    margin-right:6px;
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:rgba(255,255,255,0.75);
    border:1px solid rgba(255, 255, 255, .12);
    border-radius:40px;
    transition:var(--transition);
}

.footer .btn.btn-social:hover {
    color:var(--dark);
    background:#0f1d29;
    border-color:var(--secondary);
    transform:translateY(-3px);
    box-shadow:0 8px 22px rgba(251,165,4,0.35);
}

.footer .btn.btn-link {
    display:block;
    margin-bottom:10px;
    padding:0;
    text-align:left;
    color:rgba(255,255,255,0.72);
    font-weight:400;
    font-size:14px;
    transition:var(--transition);
    text-decoration:none;
}

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

.footer .btn.btn-link:hover {
    letter-spacing:0.5px;
    box-shadow:none;
    color:#fff;
    transform:translateX(4px);
}

.footer .copyright {
    padding:22px 0;
    font-size:13px;
    border-top:1px solid rgba(255, 255, 255, .08);
    color:rgba(255,255,255,0.55);
}

.footer .copyright a {
    color:rgba(255,255,255,0.72);
    text-decoration:none;
    transition:var(--transition);
}

.footer .copyright a:hover {
    color:var(--secondary);
}

.footer .footer-menu a {
    margin-right:15px;
    padding-right:15px;
    border-right:1px solid rgba(255, 255, 255, .1);
    color:rgba(255,255,255,0.72);
    font-size:13px;
    text-decoration:none;
    transition:var(--transition);
}

.footer .footer-menu a:last-child {
    margin-right:0;
    padding-right:0;
    border-right:none;
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color:var(--secondary);
}

/* Footer section titles */
.footer .section-title {
    font-size:0.78rem;
    margin-bottom:20px;
}

/* Footer recent work images */
.footer .row.g-2 img {
    aspect-ratio:1;
    object-fit:cover;
    transition:var(--transition);
    border-radius:6px;
    opacity:0.85;
}

.footer .row.g-2 img:hover {
    opacity:1;
    transform:scale(1.05);
}


/*** Automation Cards ***/
.automation-card {
    border:1px solid rgba(56,182,240,0.07);
    border-radius:var(--radius-md) !important;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
    background:#121821 !important;
}

.automation-card:hover {
    transform:translateY(-8px);
    box-shadow:var(--shadow-md), 0 0 0 1px rgba(41, 171, 226,0.12);
    border-color:rgba(56,182,240,0.2);
}

.automation-card .automation-icon i {
    transition:var(--transition);
}

.automation-card:hover .automation-icon i {
    transform:scale(1.15) translateY(-3px);
}


/*** Form Controls (contact page, etc.) ***/
.form-control, .form-select {
    border:1.5px solid #263140;
    border-radius:var(--radius-sm);
    padding:12px 16px;
    font-size:15px;
    color:#6ccbf5;
    background:#121821;
    transition:var(--transition);
    box-shadow:none;
}

.form-control:focus, .form-select:focus {
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(41, 171, 226, 0.12);
    background:#121821;
    outline:none;
}

.form-control::placeholder {
    color:#a49bbf;
}

/* Textarea */
textarea.form-control {
    resize:vertical;
    min-height:130px;
}


/*** Process Steps (if used) ***/
.process-step {
    position:relative;
}

.process-step:not(:last-child)::after {
    content:'';
    position:absolute;
    top:35px;
    right:-50%;
    width:100%;
    height:2px;
    background:linear-gradient(to right, #0f1d29, #0f1d29);
    z-index:0;
    display:none;
}

@media (min-width: 992px) {
    .process-step:not(:last-child)::after {
        display:block;
    }
}


/*** Section spacing ***/
.gap-3 { gap:1rem !important; }
.gap-4 { gap:1.5rem !important; }

/* Consistent section vertical padding */
.container-xxl.py-5 > .container.py-5 {
    padding-top:5rem !important;
    padding-bottom:5rem !important;
}


/*** Utility: smooth card bg-light override ***/
.bg-light {
    background-color:var(--light) !important;
}

/* Rounded corner consistency */
.rounded { border-radius:var(--radius-sm) !important; }
.rounded-3 { border-radius:var(--radius-md) !important; }


/*** Software section feature icons ***/
.flex-shrink-0.bg-primary.rounded {
    box-shadow:0 4px 14px rgba(41, 171, 226, 0.22);
    transition:var(--transition);
}

.d-flex:hover .flex-shrink-0.bg-primary.rounded {
    transform:scale(1.08);
    box-shadow:0 6px 20px rgba(41, 171, 226, 0.32);
}


/*** Mobile responsiveness polish ***/
@media (max-width: 767.98px) {
    h1 { font-size:clamp(1.8rem, 6vw, 2.4rem); }
    h2 { font-size:clamp(1.5rem, 5vw, 2rem); }

    .hero-header {
        padding:7rem 0 5rem;
        text-align:center;
    }

    .service-item { padding:36px 24px; }

    .automation-card { padding:28px 20px !important; }

    .fact h1[data-toggle="counter-up"] {
        font-size:2.2rem;
    }

    .back-to-top {
        right:20px;
        bottom:20px;
    }

    .portfolio-item .rounded {
        border-radius:var(--radius-sm) !important;
    }
}

@media (max-width: 575.98px) {
    .btn.rounded-pill.py-sm-3.px-sm-5 {
        padding:10px 24px !important;
        font-size:14px;
    }
}


/*** Form Floating (contact page) ***/
.form-floating > .form-control,
.form-floating > .form-select {
    border:1.5px solid #263140;
    border-radius:var(--radius-sm);
    background:#121821;
    transition:var(--transition);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(41, 171, 226, 0.12);
    background:#121821;
}

.form-floating > label {
    color:#a3b1bf;
    font-size:14px;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color:var(--primary);
}


/*** Breadcrumb styling ***/
.breadcrumb-item + .breadcrumb-item::before {
    color:rgba(255,255,255,0.5);
}

.breadcrumb-item a {
    text-decoration:none;
    transition:var(--transition);
}

.breadcrumb-item a:hover {
    color:var(--secondary) !important;
}


/*** FAQ page accordion ***/
.accordion-button {
    font-weight:600;
    color:var(--dark);
    background:#121821;
    border-radius:var(--radius-sm) !important;
}

.accordion-button:not(.collapsed) {
    color:var(--primary);
    background:#0f1d29;
    box-shadow:none;
}

.accordion-button:not(.collapsed)::after {
    filter:invert(27%) sepia(90%) saturate(1600%) hue-rotate(255deg) brightness(75%);
}

.accordion-item {
    border:1.5px solid #263140;
    border-radius:var(--radius-sm) !important;
    overflow:hidden;
    margin-bottom:12px;
    box-shadow:var(--shadow-sm);
}

.accordion-body {
    color:#a3b1bf;
    line-height:1.75;
    background:#121821;
}

/*** Booking / Consultation Calendar ***/
.booking-card {
    border:1.5px solid #263140;
    border-radius:var(--radius-lg) !important;
    box-shadow:var(--shadow-md);
}

#mini-calendar {
    background:#121821;
    border:1.5px solid #263140;
    border-radius:var(--radius-md);
    padding:20px;
}

.cal-day {
    width:36px;
    height:36px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    font-size:13px;
    font-weight:500;
    text-align:center;
    cursor:default;
    user-select:none;
}

.cal-available {
    cursor:pointer;
    color:var(--dark);
    transition:background 0.18s, color 0.18s;
}

.cal-available:hover {
    background:#0f1d29;
    color:var(--primary);
}

.cal-available:focus-visible {
    outline:2px solid var(--secondary);
    outline-offset:2px;
}

.cal-today {
    font-weight:700;
    color:var(--primary);
    border:1.5px dashed var(--primary);
}

.cal-selected {
    cursor:pointer;
    background:#0f1d29 !important;
    color:#fff !important;
    border:2px solid #263140;
    outline:2px solid var(--primary);
    box-shadow:0 8px 20px rgba(41, 171, 226, 0.35);
}

.cal-past {
    opacity:0.3;
    cursor:not-allowed;
}

.cal-unavailable {
    background:#121821;
    color:#a194bc;
    opacity:0.75;
    cursor:not-allowed;
    text-decoration:line-through;
    border:1px solid #263140;
}

.cal-empty {
    visibility:hidden;
}

.cal-day-name {
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:0.05em;
}

.time-slot-btn {
    position:relative;
    border:1.5px solid #263140;
    border-radius:50px;
    padding:10px 16px;
    background:#121821;
    color:var(--dark);
    font-weight:600;
    font-size:14px;
    cursor:pointer;
    transition:var(--transition);
    text-align:center;
    width:100%;
}

.time-slot-btn:hover,
.btn-check:checked + .time-slot-btn {
    background:#0f1d29;
    border-color:var(--primary);
    color:#fff;
    box-shadow:var(--shadow-primary);
    padding-right:34px;
}

.btn-check:focus-visible + .time-slot-btn {
    outline:2px solid var(--secondary);
    outline-offset:2px;
}

.btn-check:checked + .time-slot-btn::after {
    content:"\f00c";
    font-family:"Font Awesome 5 Free";
    font-weight:900;
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    width:18px;
    height:18px;
    border-radius:50%;
    background:rgba(26,34,45,0.2);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:10px;
}

.trust-strip {
    border:1px solid #263140;
    background:#121821;
    border-radius:var(--radius-md);
}

.hp-field {
    position:absolute !important;
    left:-9999px !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
}

/* Scanner modal (embedded WebsiteScan) */
body.scanner-modal-open {
    overflow:hidden;
}

.scanner-modal-backdrop {
    position:fixed;
    inset:0;
    background:rgba(4, 0, 11, 0.72);
    z-index:5000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
}

.scanner-modal-panel {
    width:min(1120px, 100%);
    height:min(88vh, 900px);
    background:#121821;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 24px 60px rgba(4, 0, 11, 0.34);
    border:1px solid rgba(255, 255, 255, 0.25);
    display:flex;
    flex-direction:column;
}

.scanner-modal-header {
    background:linear-gradient(135deg, #0f1d29 0%, #13324a 55%, #0f1d29 100%);
    color:#fff;
    padding:12px 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.scanner-modal-title {
    
    font-size:0.98rem;
    font-weight:700;
    letter-spacing:0.02em;
}

.scanner-modal-actions {
    display:flex;
    align-items:center;
    gap:8px;
}

.scanner-modal-actions .btn {
    box-shadow:none;
}

.scanner-modal-close {
    border:none;
    width:34px;
    height:34px;
    border-radius:50%;
    background:rgba(255, 255, 255, 0.18);
    color:#fff;
    font-size:1.1rem;
    line-height:1;
}

.scanner-modal-close:hover {
    background:rgba(26,34,45,0.3);
}

.scanner-modal-iframe {
    flex:1;
    border:none;
    width:100%;
    background:#121821;
}

    /* About page stats */
    .stat-box {
        background:#121821;
        border:1.5px solid #263140;
        border-radius:var(--radius-md);
        padding:28px 20px;
        text-align:center;
        box-shadow:var(--shadow-sm);
        transition:var(--transition);
    }
    .stat-box:hover {
        border-color:var(--primary);
        box-shadow:var(--shadow-primary);
        transform:translateY(-4px);
    }
    .stat-box h2 {
        font-size:2.2rem;
        color:var(--primary);
        margin-bottom:4px;
    }

    /* About value cards */
    .value-card {
        background:#121821;
        border:1.5px solid #263140;
        border-radius:var(--radius-md);
        padding:32px 24px;
        box-shadow:var(--shadow-sm);
        transition:var(--transition);
        height:100%;
    }
    .value-card:hover {
        border-color:var(--primary);
        box-shadow:var(--shadow-md);
        transform:translateY(-5px);
    }
    .value-card .icon-wrap {
        width:58px;
        height:58px;
        background:#0f1d29;
        border-radius:var(--radius-sm);
        display:flex;
        align-items:center;
        justify-content:center;
        margin-bottom:16px;
        font-size:1.4rem;
        color:var(--primary);
        transition:var(--transition);
    }
    .value-card:hover .icon-wrap {
        background:#0f1d29;
        color:#fff;
    }

    /* How-we-do-it badge on service cards */
    .how-badge {
        display:inline-block;
        background:#0f1d29;
        color:var(--primary);
        font-size:11px;
        font-weight:700;
        letter-spacing:0.06em;
        text-transform:uppercase;
        border-radius:50px;
        padding:3px 10px;
        margin-bottom:8px;
    }

.how-text {
    font-size:13px;
    color:#a3b1bf;
    line-height:1.55;
    border-top:1px solid #263140;
    padding-top:12px;
    margin-top:12px;
}


/*** Hero trust badge icon colors ***/
.hero-header .text-warning { color:var(--secondary) !important; }
.hero-header .text-success { color:#6ccbf5 !important; }
.hero-header .text-info    { color:#6ccbf5 !important; }


/*** Pain Points (Problem) Cards ***/
.pain-card {
    background:#121821;
    border:1.5px solid #263140;
    border-radius:var(--radius-md) !important;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.pain-card:hover {
    border-color:var(--secondary);
    box-shadow:var(--shadow-md);
    transform:translateY(-6px);
}

.pain-card i {
    transition:var(--transition);
}

.pain-card:hover i {
    transform:scale(1.12) translateY(-3px);
}


/*** Process Steps ***/
.process-num {
    width:76px;
    height:76px;
    background:linear-gradient(135deg, #0f1d29 0%, #0f1d29 100%);
    color:#fff;
    font-size:2rem;
    font-weight:800;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:var(--shadow-primary);
    position:relative;
    z-index:1;
    transition:var(--transition);
    letter-spacing:-0.03em;
}

/* Connecting line between steps on desktop
   Values derived from .process-num dimensions (76px circle):
   top: 38px = half of 76px (vertically centered)
   left: calc(50% + 38px) = starts at right edge of centered circle
   width: calc(100% - 76px) = fills the gap between two circles */
@media (min-width: 992px) {
    .process-step {
        position:relative;
    }
    .process-step:not(:last-child)::after {
        content:'';
        position:absolute;
        top:38px;            /* half of .process-num height (76px) */
        left:calc(50% + 38px); /* right edge of .process-num */
        width:calc(100% - 76px); /* gap between two .process-num circles */
        height:2px;
        background:linear-gradient(to right, #0f1d29, #0f1d29);
        opacity:0.3;
        z-index:0;
    }
}

.process-step:hover .process-num {
    transform:scale(1.1) translateY(-4px);
    box-shadow:0 14px 36px rgba(41, 171, 226, 0.38);
    background:linear-gradient(135deg, #0f1d29 0%, #13324a 100%);
    color:var(--dark);
}


/*** Trust / Why Choose Us Cards ***/
.trust-card {
    background:#121821;
    border:1.5px solid #263140;
    border-radius:var(--radius-md) !important;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.trust-card:hover {
    border-color:rgba(56,182,240,0.22);
    box-shadow:var(--shadow-md);
    transform:translateY(-7px);
}

.trust-card i {
    transition:var(--transition);
}

.trust-card:hover i {
    transform:scale(1.12) translateY(-3px);
    color:var(--secondary) !important;
}


/*** Free Audit / Lead Capture Form Card ***/
.audit-form-card {
    background:#121821;
    border-radius:var(--radius-lg) !important;
    box-shadow:var(--shadow-lg);
    border:1px solid rgba(56,182,240,0.08);
}

.audit-form-card .form-control,
.audit-form-card .form-select {
    padding:14px 18px;
    font-size:15px;
}

.audit-form-card .form-select {
    cursor:pointer;
}


/*** Sticky Mobile CTA Bar ***/
.sticky-cta-bar {
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:1050;
    background:linear-gradient(135deg, #0f1d29 0%, #0f1d29 100%);
    box-shadow:0 -4px 24px rgba(4, 0, 11, 0.18);
    transform:translateY(100%);
    transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top-left-radius:14px;
    border-top-right-radius:14px;
}

.sticky-cta-bar.visible {
    transform:translateY(0);
}

/* Ensure back-to-top stays above sticky bar on mobile */
@media (max-width: 991.98px) {
    .back-to-top {
        bottom:80px !important;
    }
}


/*** Who This Is For Cards ***/
.who-card {
    background:#121821;
    border:1.5px solid #263140;
    border-radius:var(--radius-md) !important;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.who-card:hover {
    border-color:var(--primary);
    box-shadow:var(--shadow-md), 0 0 0 1px rgba(41, 171, 226, 0.08);
    transform:translateY(-7px);
}

.who-card .who-icon {
    transition:var(--transition);
}

.who-card:hover .who-icon i {
    transform:scale(1.15) translateY(-4px);
    color:var(--secondary) !important;
}

.who-card h5 {
    color:var(--dark);
}


/*** Clear Offers / Solutions Section ***/
.offer-card {
    background:rgba(255, 255, 255, 0.06);
    border:1.5px solid rgba(255, 255, 255, 0.12);
    border-radius:var(--radius-lg) !important;
    color:#fff;
    transition:var(--transition);
    position:relative;
    overflow:hidden;
}

.offer-card::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:3px;
    background:linear-gradient(90deg, #0f1d29, #0f1d29);
    opacity:0;
    transition:var(--transition);
}

.offer-card:hover {
    background:rgba(255, 255, 255, 0.10);
    border-color:rgba(255, 255, 255, 0.22);
    transform:translateY(-8px);
    box-shadow:0 20px 56px rgba(0, 0, 0, 0.35);
}

.offer-card:hover::before {
    opacity:1;
}

.offer-card--featured {
    background:rgba(56,182,240,0.25);
    border-color:rgba(56,182,240,0.5);
    box-shadow:0 8px 32px rgba(41, 171, 226, 0.28);
}

.offer-card--featured::before {
    opacity:1;
}

.offer-badge {
    display:inline-block;
    background:#0f1d29;
    color:var(--dark);
    font-size:0.75rem;
    font-weight:700;
    padding:3px 12px;
    border-radius:50px;
    text-transform:uppercase;
    letter-spacing:0.07em;
    margin-bottom:16px;
}

.offer-icon {
    width:64px;
    height:64px;
    background:rgba(255, 255, 255, 0.10);
    border:1.5px solid rgba(255, 255, 255, 0.18);
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--secondary);
    transition:var(--transition);
}

.offer-card:hover .offer-icon {
    background:rgba(56,182,240,0.15);
    border-color:rgba(56,182,240,0.4);
    transform:scale(1.08);
}

.offer-card h4 {
    color:#fff;
    font-size:1.2rem;
    line-height:1.3;
}

/* Services section — allow text-start for bullet lists inside cards */
.service-item .list-unstyled {
    line-height:1.6;
}

.service-item:hover .list-unstyled {
    color:rgba(255, 255, 255, 0.85) !important;
}

.service-item:hover .list-unstyled li i {
    color:var(--secondary) !important;
}


/*** ===================================================
     UI REFRESH — Additional Polish
     =================================================== ***/

/* ── Keyframe animations ── */
@keyframes heroGradientShift {
    0%   { background-position:0% 50%; }
    50%  { background-position:100% 50%; }
    100% { background-position:0% 50%; }
}

@keyframes floatUp {
    0%, 100% { transform:translateY(0); }
    50%       { transform:translateY(-10px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow:var(--shadow-primary); }
    50%       { box-shadow:0 0 0 8px rgba(41, 171, 226, 0.10), var(--shadow-primary); }
}

@keyframes fadeInUp {
    from { opacity:0; transform:translateY(24px); }
    to   { opacity:1; transform:translateY(0); }
}


/* ── Hero section enhancement ── */
.hero-header {
    background:url(/img/blob-top-left.png),
        url(/img/blob-top-right.png),
        url(/img/blob-bottom-left.png),
        url(/img/blob-bottom-right.png),
        url(/img/blob-center.png),
        linear-gradient(135deg, #0f1d29 0%, #13324a 45%, #0f1d29 75%, #0f1d29 100%);
    background-position:left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center,
        center center;
    background-repeat:no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-size:auto, auto, auto, auto, auto, 200% 200%;
    animation:heroGradientShift 12s ease infinite;
}

/* Hero image — subtle float animation */
.hero-header .col-lg-6:last-child img {
    animation:floatUp 5s ease-in-out infinite;
    filter:drop-shadow(0 24px 48px rgba(0, 0, 0, 0.3));
}

/* Hero headings — improved spacing */
.hero-header h1 {
    text-shadow:0 2px 20px rgba(0, 0, 0, 0.25);
}

/* Stats trust badges in hero — now handled by .trust-pill class */


/* ── Section title — enhanced pill badge (layout-safe) ── */
/* Wrap in a div.section-title-wrap for centering pill badges */
.section-title {
    gap:10px;
    font-size:0.78rem;
    letter-spacing:0.1em;
    font-weight:700;
    padding:4px 14px 4px 10px;
    border-radius:50px;
    display:inline-flex;
    align-items:center;
    margin-bottom:12px;
}

/* Parent needs text-center or flex+justify-content-center to centre the inline pill */
p.section-title.justify-content-center,
p.section-title.text-center {
    display:flex;      /* keep block-width for centering via justify-content */
    justify-content:center;
}

.section-title span:first-child,
.section-title span:last-child {
    width:20px;
    flex-shrink:0;
    background:#0f1d29;
    opacity:0.85;
    border-radius:2px;
    margin:0;       /* reset the 30px margins from original CSS */
    position:static; /* reset position:relative from original (::after already hidden) */
}

.section-title span:last-child {
    margin-left:0;
    margin-right:0;
}

/* Pill backgrounds per color variant */
.section-title.text-secondary {
    border:1.5px solid rgba(56,182,240,0.28);
    background:linear-gradient(135deg, rgba(56,182,240,0.1), rgba(56,182,240,0.04));
}

.section-title.text-primary {
    border:1.5px solid rgba(56,182,240,0.22);
    background:linear-gradient(135deg, rgba(56,182,240,0.08), rgba(56,182,240,0.04));
}

.section-title.text-white {
    border:1.5px solid rgba(255, 255, 255, 0.25);
    background:rgba(255, 255, 255, 0.10);
}

.section-title.text-white span:first-child,
.section-title.text-white span:last-child {
    background:rgba(18,24,33,0.8);
}

/* Suppress the ::after extension lines from original CSS — they'd overflow the pill */
.section-title span:first-child::after,
.section-title span:last-child::after {
    display:none;
}

/* Footer section titles — reset pill style, keep as simple headings */
.footer .section-title {
    display:inline-flex;
    padding:0 0 6px 0;
    border:none;
    background:none;
    border-radius:0;
    border-bottom:2px solid rgba(255, 255, 255, 0.18);
    margin-bottom:20px;
    font-size:0.85rem;
}

.footer .section-title span:last-child {
    display:none; /* not needed in footer */
}


/* ── Service icon — replace blob PNG with CSS gradient circle ── */
/* Service icon with inline style (e.g. featured/CTA card) — preserve inline style */
.service-item .service-icon {
    background:linear-gradient(135deg, #0f1d29 0%, #0f1d29 60%, #0f1d29 100%);
    border-radius:50% !important;
    color:#fff;
    box-shadow:0 8px 24px rgba(41, 171, 226, 0.30);
    width:88px;
    height:88px;
}

.service-item:hover .service-icon {
    background:linear-gradient(135deg, #13324a 0%, #0f1d29 60%, #13324a 100%);
    color:var(--dark);
    box-shadow:0 10px 28px rgba(251, 165, 4, 0.40);
    transform:scale(1.08) translateY(-4px);
}


/* ── Trust cards — icon container ── */
.trust-card i {
    width:72px;
    height:72px;
    background:linear-gradient(135deg, rgba(56,182,240,0.1) 0%, rgba(56,182,240,0.06) 100%);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 16px;
    border:2px solid rgba(56,182,240,0.12);
    transition:var(--transition);
    font-size:1.6rem !important;
}

.trust-card:hover i {
    background:linear-gradient(135deg, rgba(56,182,240,0.18) 0%, rgba(56,182,240,0.1) 100%);
    border-color:rgba(56,182,240,0.35);
    color:var(--secondary) !important;
}


/* ── Process number — pulse glow on hover ── */
.process-step:hover .process-num {
    animation:pulseGlow 1.5s ease-in-out infinite;
}


/* ── Fact / Stats bar — number glow ── */
.fact h1[data-toggle="counter-up"] {
    text-shadow:0 0 28px rgba(255, 255, 255, 0.3);
}


/* ── CTA Banner — vibrant gradient ── */
.newsletter.bg-primary {
    background:url(/img/blob-top-left.png),
        url(/img/blob-top-right.png),
        url(/img/blob-bottom-left.png),
        url(/img/blob-bottom-right.png),
        linear-gradient(135deg, #0f1d29 0%, #13324a 50%, #0f1d29 100%) !important;
    background-position:left 0 top 0,
        right 0 top 0,
        left 0 bottom 0,
        right 0 bottom 0,
        center center;
    background-repeat:no-repeat, no-repeat, no-repeat, no-repeat;
    background-size:auto, auto, auto, auto, cover;
}


/* ── Portfolio overlay — smoother reveal ── */
.portfolio-item .portfolio-overlay {
    background:linear-gradient(160deg, rgba(19,50,74,0.93) 0%, rgba(30, 4, 90, 0.88) 100%);
}

.portfolio-item .portfolio-overlay .btn-square {
    width:44px;
    height:44px;
    border-radius:50% !important;
    border:2px solid rgba(38,49,64,0.7);
    background:rgba(255,255,255,0.12);
    backdrop-filter:blur(4px);
    transition:var(--transition);
}

.portfolio-item .portfolio-overlay .btn-square:hover {
    background:rgba(26,34,45,0.25);
    border-color:#263140;
}

.portfolio-item .bg-light p {
    font-weight:600;
    font-size:0.8rem;
    text-transform:uppercase;
    letter-spacing:0.05em;
}


/* ── Testimonials — refined card ── */
.testimonial-item.bg-white {
    border-left:none;
    border-top:4px solid var(--primary);
    border-radius:var(--radius-md) !important;
}

.testimonial-item.bg-white:hover {
    border-top-color:var(--secondary);
}


/* ── Footer — branded top gradient bar ── */
.footer {
    position:relative;
}

.footer::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg, #0f1d29, #0f1d29, #0f1d29);
    background-size:200%;
    animation:heroGradientShift 8s ease infinite;
}


/* ── Page container — smooth fade in on load ── */
.container-xxl.bg-white {
    animation:fadeInUp 0.4s ease-out both;
}

/* ── Spinner — branded primary color ring ── */
.spinner-grow.text-primary {
    width:3.5rem !important;
    height:3.5rem !important;
    background:linear-gradient(135deg, #0f1d29, #0f1d29);
}


/* ── Navbar CTA button (non-sticky, over dark hero) ── */
@media (min-width: 992px) {
    .navbar-light:not(.sticky-top) .btn {
        background:#0f1d29;
        color:var(--dark) !important;
        font-weight:700;
        box-shadow:0 4px 18px rgba(251, 165, 4, 0.30);
        border:none;
    }
    .navbar-light:not(.sticky-top) .btn:hover {
        background:#13324a;
        box-shadow:0 8px 28px rgba(251, 165, 4, 0.42);
        transform:translateY(-2px);
    }
}


/* ── Divider wave between light and white sections ── */
.section-wave {
    display:block;
    width:100%;
    height:60px;
    overflow:hidden;
    line-height:0;
}

.section-wave svg {
    display:block;
    width:100%;
    height:100%;
}


/* ── Typography: gradient text for hero accent words ── */
.text-gradient {
    background:linear-gradient(135deg, #0f1d29 0%, #13324a 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    display:inline;
}


/* ── Hero bottom feature pills ── */
.hero-header .trust-pill {
    background:rgba(255, 255, 255, 0.12);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    border:1px solid rgba(255, 255, 255, 0.22);
    border-radius:50px;
    padding:8px 18px;
    font-size:0.88rem;
    color:rgba(255,255,255,0.95);
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition:var(--transition);
}

.hero-header .trust-pill:hover {
    background:rgba(26,34,45,0.2);
    border-color:rgba(255, 255, 255, 0.40);
}


/* ── Process section background tint ── */
.process-section-bg {
    position:relative;
    background:linear-gradient(180deg, #0e131a 0%, var(--light) 100%);
}


/* ── Section separator ── */
.section-divider {
    width:60px;
    height:4px;
    background:linear-gradient(90deg, #0f1d29, #0f1d29);
    border-radius:2px;
    margin:0 auto 20px;
}

.section-divider.divider-left {
    margin-left:0;
}


/* ── Pain/Problem Cards ── */
.pain-card i {
    width:64px;
    height:64px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, rgba(56,182,240,0.12), rgba(56,182,240,0.06));
    border:2px solid rgba(56,182,240,0.18);
    margin:0 auto 12px;
    transition:var(--transition);
}

.pain-card:hover i {
    background:linear-gradient(135deg, rgba(56,182,240,0.22), rgba(56,182,240,0.12));
    border-color:rgba(56,182,240,0.4);
    transform:scale(1.12) translateY(-3px);
}


/* ── Who-Is-This-For cards icon ── */
.who-card .who-icon i {
    width:68px;
    height:68px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, rgba(56,182,240,0.1), rgba(56,182,240,0.05));
    border:2px solid rgba(56,182,240,0.15);
    margin:0 auto 12px;
    transition:var(--transition);
    font-size:1.5rem;
}

.who-card:hover .who-icon i {
    background:linear-gradient(135deg, rgba(56,182,240,0.18), rgba(56,182,240,0.08));
    border-color:rgba(56,182,240,0.38);
    transform:scale(1.12) translateY(-4px);
    color:var(--secondary) !important;
}


/* ── Automation cards icon ── */
.automation-card .automation-icon {
    width:72px;
    height:72px;
    border-radius:50%;
    background:linear-gradient(135deg, rgba(56,182,240,0.12), rgba(56,182,240,0.06));
    border:2px solid rgba(56,182,240,0.15);
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 16px;
    transition:var(--transition);
}

.automation-card:hover .automation-icon {
    background:linear-gradient(135deg, rgba(56,182,240,0.22), rgba(56,182,240,0.12));
    border-color:var(--primary);
    box-shadow:0 6px 20px rgba(41, 171, 226, 0.22);
}

.automation-card:hover .automation-icon i {
    transform:scale(1.15) translateY(-3px);
    color:var(--primary) !important;
}


/* ── Focus-visible states for accessibility ── */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline:2px solid var(--secondary);
    outline-offset:3px;
    box-shadow:none !important;
}

/* ── Back to top — force flex when visible (jQuery's fadeIn sets inline styles) ── */
.back-to-top[style*="display: block"],
.back-to-top[style*="display:block"] {
    display:flex !important;
}


/* ── Mobile: remove float animation on reduced-motion preference ── */
@media (prefers-reduced-motion: reduce) {
    .hero-header,
    .hero-header .col-lg-6:last-child img,
    .process-step:hover .process-num,
    .footer::before,
    .container-xxl.bg-white {
        animation:none !important;
    }
}


/*** ===================================================
     UI POLISH v2 — Site-wide visual enhancements
     =================================================== ***/

/* Ensure section containers don't overflow on mobile */
.container-xxl {
    max-width:100% !important;
    padding-left:0;
    padding-right:0;
    overflow-x:hidden;
}

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    max-width:100% !important;
}

.container-xxl > .container,
.container-xxl > .container-fluid {
    max-width:100%;
}

@media (min-width: 1200px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl > .container,
    .container-xxl > .container-fluid {
        width:100%;
        padding-left:clamp(28px, 4vw, 64px);
        padding-right:clamp(28px, 4vw, 64px);
    }

    .container-xxl.bg-white {
        width:100%;
        max-width:100% !important;
    }
}

html,
body {
    overflow-x:hidden;;
}

.container-xxl.bg-white {
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

body > .container-xxl.bg-white {
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    padding-left:0 !important;
    padding-right:0 !important;
}

.container-xxl.position-relative.p-0,
.container-xxl.bg-primary.hero-header,
.container-xxl.bg-primary.fact,
.container-fluid.footer {
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
}


/* ── Navbar toggler — branded style ── */
.navbar-toggler {
    border:1.5px solid rgba(255, 255, 255, 0.4);
    border-radius:var(--radius-sm);
    padding:6px 10px;
    transition:var(--transition);
    background:rgba(255, 255, 255, 0.08);
}

.navbar-toggler:focus {
    box-shadow:0 0 0 3px rgba(251, 165, 4, 0.3);
}

.navbar-toggler .fa-bars {
    color:rgba(255, 255, 255, 0.9);
    font-size:1rem;
}

/* Mobile: toggler on white navbar bg */
@media (max-width: 991.98px) {
    .navbar-toggler {
        border-color:rgba(56,182,240,0.3);
        background:rgba(56,182,240,0.06);
    }
    .navbar-toggler .fa-bars {
        color:var(--primary);
    }
}


/* ── Hero section — deepened gradient + subtle radial glow ── */
/* Note: uses the same selector as the earlier UI refresh rule.
   The animation property is preserved via the original rule.
   We only override visual appearance here without !important on
   background-position so CSS animation continues to work. */
.hero-header {
    background:url(/img/blob-top-left.png),
        url(/img/blob-top-right.png),
        url(/img/blob-bottom-left.png),
        url(/img/blob-bottom-right.png),
        url(/img/blob-center.png),
        radial-gradient(ellipse at 20% 70%, rgba(56,182,240,0.25) 0%, transparent 50%),
        linear-gradient(135deg, #0f1d29 0%, #0f1d29 35%, #0f1d29 65%, #0f1d29 100%);
    background-repeat:no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-size:auto, auto, auto, auto, auto, 100% 100%, 200% 200%;
}

/* Hero headings larger on wide screens */
@media (min-width: 1200px) {
    .hero-header .container h1 {
        font-size:clamp(2.2rem, 3.5vw, 3.4rem);
    }
}

/* Hero subtext */
.hero-header p.text-white-50 {
    font-size:0.92rem;
    letter-spacing:0.12em;
}


/* ── Stats / Fact bar — stronger gradient ── */
.container-xxl.bg-primary.fact {
    background:url(/img/blob-top-left.png),
        url(/img/blob-top-right.png),
        url(/img/blob-bottom-left.png),
        url(/img/blob-bottom-right.png),
        linear-gradient(135deg, #0f1d29 0%, #0f1d29 50%, #0f1d29 100%) !important;
    background-position:left 0 top 0,
        right 0 top 0,
        left 0 bottom 0,
        right 0 bottom 0,
        center center;
    background-repeat:no-repeat;
}

/* Fact stat number accent */
.fact .col-md-6 h1 {
    background:linear-gradient(135deg, #121821 0%, rgba(19,50,74,0.9) 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    text-shadow:none;
}


/* ── Services section ── */
/* Service cards: tighten heading */
.service-item h5 {
    font-size:1.05rem;
    letter-spacing:-0.01em;
}

/* Service CTA button on card */
.service-item a.btn.btn-square {
    width:42px;
    height:42px;
    border-radius:50% !important;
    background:#0f1d29;
    color:var(--primary);
    border:2px solid rgba(56,182,240,0.18);
    font-size:0.9rem;
    margin-top:auto;
    align-self:center;
    transition:var(--transition);
}

.service-item:hover a.btn.btn-square {
    background:rgba(255,255,255,0.18);
    color:#fff;
    border-color:rgba(255,255,255,0.35);
}


/* ── Process section — tighter BG ── */
.container-xxl[style*="background: var(--light)"],
.container-xxl[style*="background:var(--light)"] {
    background:linear-gradient(180deg, #0e131a 0%, var(--light) 60%, #121821 100%) !important;
}


/* ── Why Choose Us / Trust cards — alternating highlight row ── */
#why-us .row .col-lg-4:nth-child(2) .trust-card,
#why-us .row .col-lg-4:nth-child(5) .trust-card {
    border-color:rgba(56,182,240,0.22);
    background:linear-gradient(180deg, #121821 0%, #121821 100%);
}


/* ── Portfolio card category tag ── */
.portfolio-item .bg-light p.text-primary {
    color:var(--primary) !important;
    font-size:0.75rem;
    letter-spacing:0.07em;
    text-transform:uppercase;
    font-weight:700;
}


/* ── Testimonials ── */
/* Quote icon styling */
.testimonial-item.bg-white::before {
    font-size:5rem;
    color:rgba(108,203,245,0.07);
    top:8px;
    right:20px;
}

/* Avatar initials ── richer gradient */
.testimonial-item .bg-primary.rounded-circle {
    background:linear-gradient(135deg, #0f1d29, #0f1d29) !important;
}

.testimonial-item .bg-secondary.rounded-circle {
    background:linear-gradient(135deg, #13324a, #0f1d29) !important;
}

.testimonial-item .bg-dark.rounded-circle {
    background:linear-gradient(135deg, #0f1d29, #0f1d29) !important;
}

/* Star colors */
.testimonial-item .fa-star.text-warning {
    color:var(--secondary) !important;
}


/* ── CTA Banner — ensure proper contrast ── */
.newsletter.bg-primary p.text-white-50,
.newsletter.bg-primary .text-white-50 {
    color:rgba(255, 255, 255, 0.88) !important;
}


/* ── Footer improvements ── */
/* Footer brand heading */
.footer .section-title.h5 {
    font-size:1rem !important;
    font-weight:700;
    letter-spacing:0.02em;
}

/* Footer contact info */
.footer p i.fa {
    color:var(--secondary);
    width:20px;
}

/* Footer service/quick link columns */
.footer .btn-link::before {
    color:var(--secondary);
}

/* Footer bottom copyright */
.footer .copyright {
    margin-top:0;
    padding:20px 0;
}


/* ── Sticky mobile CTA bar — improved typography ── */
.sticky-cta-bar .fw-semibold {
    
}


/* ── Back to top — ensure visibility ── */
.back-to-top {
    display:none;
    align-items:center;
    justify-content:center;
}


/* ── Mobile: hero alignment ── */
@media (max-width: 575.98px) {
    .hero-header {
        padding:6.5rem 0 4rem;
        text-align:center;
    }

    .hero-header .d-flex.gap-3 {
        justify-content:center !important;
    }

    .hero-header .col-lg-6:last-child {
        /* Let hero image remain visible but smaller; let Bootstrap handle stacking */
        max-height:220px;
        overflow:hidden;
    }

    .trust-pill {
        font-size:0.8rem;
        padding:6px 12px;
    }
}

/* ── Mobile: stats bar spacing ── */
@media (max-width: 767.98px) {
    .fact .col-md-6 {
        padding-top:0.75rem;
        padding-bottom:0.75rem;
    }

    .fact .col-md-6 i {
        font-size:2rem !important;
    }

    .service-item {
        border-radius:var(--radius-md) !important;
    }
}

/* ── Mobile navbar padding ── */
@media (max-width: 991.98px) {
    .navbar-light {
        padding-top:14px !important;
        padding-bottom:14px !important;
    }

    .navbar-brand {
        padding-top:0 !important;
        padding-bottom:0 !important;
    }
}

/* ── Smooth section transition — alternating white/light ── */
.container-xxl.py-5 + .container-xxl.py-5:not([style]) {
    background:var(--light);
}


/* ── Global link color override ── */
a.navbar-brand:hover .brand-dbell {
    color:var(--primary) !important;
    opacity:0.85;
}

a.navbar-brand:hover .brand-creations {
    color:var(--secondary) !important;
    opacity:0.85;
}




/* ── Improved page section visual rhythm ── */
/* Slight top-border accent on alternating sections */
.container-xxl.py-5[style*="background: var(--light)"] > .container,
.container-xxl.py-5[style*="background:var(--light)"] > .container {
    position:relative;
}

/* Ensure service item list text is not clipped */
.service-item .list-unstyled li {
    font-size:0.875rem;
    line-height:1.65;
}


/* ── Refined FAQ accordion (if visited) ── */
.accordion-button {
    font-size:0.975rem;
}

.accordion-body {
    font-size:0.9rem;
}


/* ── Contact form improvements ── */
.form-control,
.form-select {
    font-size:0.9375rem;
    color:#6ccbf5;
}

.form-label {
    font-weight:600;
    font-size:0.875rem;
    color:#a3b1bf;
    margin-bottom:6px;
}


/* ── Scroll bar branding (webkit) ── */
::-webkit-scrollbar {
    width:8px;
}

::-webkit-scrollbar-track {
    background:var(--light);
}

::-webkit-scrollbar-thumb {
    background:linear-gradient(180deg, #0f1d29, #0f1d29);
    border-radius:4px;
}

::-webkit-scrollbar-thumb:hover {
    background:linear-gradient(180deg, #0f1d29, #0f1d29);
}


/* ── Selection highlight ── */
::selection {
    background:rgba(56,182,240,0.18);
    color:var(--primary);
}


/* ── Card entrance shadow on scroll (WOW.js fadeIn items) ── */
.wow.fadeInUp .service-item,
.wow.fadeInUp .trust-card,
.wow.fadeInUp .automation-card,
.wow.fadeInUp .who-card {
    transition:box-shadow 0.5s ease, transform 0.5s ease, border-color 0.5s ease;
}


/* ── Utility: gradient heading accent for all h2 section headers ── */
.section-h2-accent {
    position:relative;
    display:inline-block;
}

.section-h2-accent::after {
    content:'';
    position:absolute;
    bottom:-6px;
    left:0;
    width:56px;
    height:3px;
    background:linear-gradient(90deg, #0f1d29, #0f1d29);
    border-radius:2px;
}


/* ── Divider between footer columns (desktop) ── */
@media (min-width: 992px) {
    .footer .col-lg-3:not(:last-child) {
        border-right:1px solid rgba(255, 255, 255, 0.07);
        padding-right:2.5rem;
    }
    .footer .col-lg-3:not(:first-child) {
        padding-left:2.5rem;
    }
}


/* ── Responsive images in portfolio ── */
.portfolio-item img {
    aspect-ratio:16/9;
    object-fit:cover;
}

.portfolio-item .bg-light {
    padding:20px 24px !important;
}


/* ── Mobile bottom nav area safe zone ── */
@media (max-width: 991.98px) {
    body {
        padding-bottom:env(safe-area-inset-bottom, 0);
    }
}


/* ========================================
   CASE STUDY & PROJECT CARD STYLES
======================================== */

/* Featured case study row */
.case-study-row {
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-md);
    overflow:hidden;
    transition:var(--transition);
}

.case-study-row:hover {
    box-shadow:var(--shadow-lg);
    transform:translateY(-3px);
}

.case-study-content {
    background:#121821;
}

.case-tag-inline {
    display:inline-block;
    background:#0f1d29;
    color:var(--primary);
    font-size:0.75rem;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    padding:4px 12px;
    border-radius:50px;
}

.case-outcomes li {
    font-size:0.9rem;
    color:#a3b1bf;
    padding:2px 0;
}

/* Mini case card (3-grid) */
.mini-case-card {
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.mini-case-card:hover {
    box-shadow:var(--shadow-md);
    transform:translateY(-4px);
}

.mini-case-card .portfolio-overlay {
    border-radius:0;
    /* Overlay positioning for non-.portfolio-item cards */
    position:absolute;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background:linear-gradient(135deg, rgba(19,50,74,0.9) 0%, rgba(30, 4, 90, 0.86) 100%);
    transition:var(--transition);
    opacity:0;
}

.mini-case-card:hover .portfolio-overlay {
    opacity:1;
}

/* Project page cards */
.project-card {
    border-radius:var(--radius-md);
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

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

/* Overlay for project-card */
.project-card .portfolio-overlay {
    position:absolute;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background:linear-gradient(135deg, rgba(19,50,74,0.9) 0%, rgba(30, 4, 90, 0.86) 100%);
    transition:var(--transition);
    opacity:0;
}

.project-card:hover .portfolio-overlay {
    opacity:1;
}

.project-card .portfolio-overlay .btn-square,
.mini-case-card .portfolio-overlay .btn-square {
    width:40px;
    height:40px;
    border-radius:50% !important;
    border:2px solid rgba(38,49,64,0.7);
    background:rgba(255,255,255,0.12);
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
    color:#fff;
    transition:var(--transition);
}

.project-card .portfolio-overlay .btn-square:hover,
.mini-case-card .portfolio-overlay .btn-square:hover {
    background:rgba(26,34,45,0.25);
    border-color:#263140;
}

/* Portfolio section heading (on project.html) */
.portfolio-section-heading {
    font-size:1.15rem;
    font-weight:700;
    color:var(--dark);
    padding-bottom:12px;
    border-bottom:2px solid var(--primary-light);
    letter-spacing:-0.01em;
}

/* Responsive: stack case study rows nicely on mobile */
@media (max-width: 991.98px) {
    .case-study-row .case-study-img img {
        min-height:240px;
    }
    .case-study-content {
        padding:1.5rem !important;
    }
}

@media (max-width: 767.98px) {
    .case-study-row {
        border-radius:var(--radius-md);
    }
    .case-study-content {
        padding:1.25rem !important;
    }
    .mini-case-card .p-3 {
        padding:1rem !important;
    }
    /* Stack case study rows: image takes 220px on mobile */
    .case-study-row .case-study-img img {
        min-height:200px;
        max-height:260px;
    }
    /* On mobile, the col-md-5 order fix for reversed rows */
    .case-study-row .col-md-5.order-md-2 {
        order:0 !important;
    }
    .case-study-row .col-md-7.order-md-1 {
        order:1 !important;
    }
}

/* ── Portfolio grid — small-screen tightening ── */
@media (max-width: 575.98px) {
    /* col-6 project cards on tiny phones — shrink text & padding */
    .project-card .p-3 {
        padding:0.6rem !important;
    }
    .project-card h6 {
        font-size:0.8rem;
        margin-bottom:0.15rem;
    }
    .project-card .case-tag-inline {
        font-size:0.62rem !important;
        padding:2px 8px;
    }
    .project-card .text-muted[style] {
        display:none;  /* hide description on tiny phones, keeps card compact */
    }
    .portfolio-section-heading {
        font-size:0.95rem;
    }
}


/* ========================================
   DEFINITIVE BRAND COLOR LOCK
   Ensures DBELL=purple, CREATIONS=orange
   on ALL viewports and states
======================================== */
.brand-dbell {
    color:#6ccbf5 !important;
}
.brand-creations {
    color:#6ccbf5 !important;
}
/* On the hero (non-sticky desktop), DBELL becomes white for readability */
@media (min-width: 992px) {
    .navbar-light:not(.sticky-top) .brand-dbell {
        color:rgba(255, 255, 255, 0.95) !important;
        text-shadow:0 0 20px rgba(41, 171, 226, 0.55) !important;
    }
    .sticky-top .brand-dbell {
        color:#6ccbf5 !important;
        text-shadow:none !important;
    }
}


