/* =============================================
   DESIGN SYSTEM — OnePixel Soft
   ============================================= */

:root {
    --navy: #0B1C3F;
    --orange: #F4681A;
    --white: #FFFFFF;
    --gray: #F8F9FA;
    --text: #333;
    --steel: #8a8a8a;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* ---- Brand accent tokens -------------------------------------------
       Single source of truth for the OnePixel Soft accent. Referenced ~99×
       across custom.css / onepixel-service-pages.css / onepixel-widgets.css
       (previously UNDEFINED, so every rgba(var(--ops-brand-rgb),…) hover,
       border, glow, focus ring and eyebrow dot silently dropped).
       Brand color = live-site orange #ea5523. */
    --ops-brand:        #ea5523;   /* solid accent — buttons, links, dots */
    --ops-brand-rgb:    234, 85, 35;  /* for rgba(var(--ops-brand-rgb), α) tints */
    --ops-brand-soft:   #f2946f;   /* lighter tint — soft accents, hovers */
    --ops-brand-dark:   #c3421a;   /* pressed/active state */
    --ops-brand-tint:   #fdece5;   /* pale wash — label bg, section eyebrows */

    /* ---- Radius scale (was 19 ad-hoc values site-wide) ----------------- */
    --r-sm:   12px;
    --r-md:   20px;
    --r-lg:   28px;
    --r-pill: 999px;
}

/* Base resets for brand sections */
.brand-section {
    background-color: var(--white);
    color: var(--navy);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.accent-word {
    color: var(--orange);
    font-weight: 700;
}

/* =============================================
   OnePixelSoft Brand Color Overrides (Alova)
   ============================================= */

/* Mega menu - header-11 dark variant link hover */
.tp-header-10-menu .tp-megamenu-list ul li a {
    font-size: 14px;
    font-weight: 500;
}

.tp-header-10-menu .tp-megamenu-list ul li a:hover {
    color: #000000 !important;
}

.tp-header-10-menu .tp-megamenu-title {
    color: var(--white) !important;
    font-family: var(--font-display);
    font-size: 17px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* Regular submenu hover */
.tp-header-10-menu .tp-submenu li a:hover {
    color: var(--orange) !important;
}

/* Nav links active / hover */
.tp-header-10-menu nav>ul>li>a {
    font-size: 15px;
    font-weight: 600;
}

.tp-header-10-menu nav>ul>li>a:hover,
.tp-header-10-menu nav>ul>li.active>a {
    color: var(--orange) !important;
}

/* Mega menu wrapper for dark header */
.tp-header-10-menu .tp-megamenu-wrapper {
    z-index: 9999;
    min-width: 900px;
    background: #0B1C3F;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
}

/* Ensure wrapper is positioned relative to the menu parent */
.tp-header-10-menu nav>ul>li {
    position: relative;
}

/* Hero section gradient accent on title */
.it-hero-title span img {
    opacity: 0.85;
}

/* Contact Us CTA button brand colors */
.tp-btn-black-radius {
    font-family: var(--font-display);
}

.tp-btn-black-radius:hover {
    background: var(--white);
    /* color:#e9a9aa; */
    /* color: var(--navy) !important; */
}

/* Submenu min-width */
.tp-submenu.submenu {
    min-width: 220px;
}

/* tp-megamenu-wrapper thumb image */
.tp-megamenu-thumb img {
    border-radius: 8px;
    width: 100%;
    max-height: 180px;
    object-fit: cover;
}

/* =============================================
   Branded Components
   ============================================= */

.topbar-brand {
    background: var(--navy);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-brand a {
    color: var(--white);
    text-decoration: none;
    margin-right: 20px;
}

.topbar-brand-badge {
    background: var(--orange);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Expertise Tabs Branding */
.exp-tab-btn-brand {
    padding: 12px 24px;
    border: 1px solid #eee;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.exp-tab-btn-brand.active {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

.reveal-brand {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-brand.in {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   Homepage Normalization & Typography
   ============================================= */

/* Global Typography Perfecting */
h1,
h2,
h3,
h4,
h5,
h6 {
    /* font-family: var(--font-display) !important; */
    font-family: 'Clash Display',sans-serif;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
}

.tp-section-title-platform {
    /* font-family: var(--font-display) !important; */
    /* font-weight: 800; */
}

.tp_text_anim p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(51, 51, 51, 0.8);
}

/* Reduced Section Padding */
.it-hero-ptb {
    padding-top: 100px !important;
    padding-bottom: 80px !important;
}

.it-feature-ptb {
    padding-top: 100px !important;
    padding-bottom: 70px !important;
}

.it-about-ptb {
    padding-top: 100px !important;
    padding-bottom: 80px !important;
}

.it-project-ptb {
    padding-top: 0px !important;
    padding-bottom: 10px !important;
}

.it-testimonial-ptb {
    padding-top: 100px !important;
    padding-bottom: 80px !important;
}

/* Normalizing Excessive Font Sizes */
.fs-200 {
    font-size: 110px !important;
    line-height: 1.1 !important;
    letter-spacing: -2px !important;
}

.fs-84 {
    font-size: 58px !important;
    line-height: 1.2 !important;
}

/* Hero Title Refinement
   Note: font-size is intentionally NOT set here. The responsive
   clamp() in custom.css (.ops-home-hero-solution .it-hero-title) owns the
   hero size across breakpoints; a fixed `55px !important` here previously
   overrode that clamp and capped the desktop hero (audit item 23). */
.it-hero-title {
    line-height: 1.1;
    font-weight: 400;
}

/* Sticky Header & Nav */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    backdrop-filter: blur(10px);
    background: rgba(11, 28, 63, 0.9) !important;
    /* Semi-transparent navy */
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 10px 15px !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.brand-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
    border: 1px solid var(--border-d);
}

.brand-social-icon:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .it-hero-title {
        font-size: 64px !important;
    }

    .fs-200 {
        font-size: 80px !important;
    }
}

@media (max-width: 767px) {
    .it-hero-title {
        font-size: 42px !important;
    }

    .fs-200 {
        font-size: 48px !important;
    }

    .fs-84 {
        font-size: 32px !important;
    }

    .it-hero-ptb,
    .it-feature-ptb,
    .it-about-ptb,
    .it-project-ptb {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
}

/* Sticky Lead Magnet */
.tp-sticky-lead-magnet {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp-sticky-btn {
    background: var(--orange);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(244, 104, 26, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.tp-sticky-btn:hover {
    transform: translateY(-5px);
    background: var(--navy);
    color: var(--white);
}

.tp-sticky-btn i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .tp-sticky-lead-magnet {
        bottom: 20px;
        right: 20px;
    }

    .tp-sticky-btn span {
        display: none;
    }
}


/* ********************** Krishna css ********************** */

.ops-gallery-card img {
    border-radius: 27px;
}

.ops-gallery-card {
    border: none !important;
    background: transparent !important;
}

/* ============================= */
/* PRODUCT IMAGE RESPONSIVE FIX */
/* Force Override Version */
/* ============================= */

.ops-gallery-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* Operations panel image */

.ops-project-side-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Grid layout improvement */

.ops-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

/* Tablet */

@media (max-width: 768px) {

    .ops-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .ops-project-side-image {
        max-height: 350px !important;
        width: 100% !important;
    }

}

/* Mobile */

@media (max-width: 576px) {

    .ops-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .ops-project-side-image {
        max-height: 280px !important;
        width: 100% !important;
    }

}

/* ===================================== */
/* SERVICE CARDS RESPONSIVE GRID FIX */
/* Applies to all product pages */
/* ===================================== */

/* Desktop Default */

.ops-service-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px !important;
}

/* Service Card Fix */

.ops-service-card {
    width: 100% !important;
    height: 100% !important;
    min-height: 140px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    padding: 15px 20px !important;
    box-sizing: border-box !important;
}

/* Index badge center fix */

.ops-card-index {
    margin-bottom: 12px !important;
}

/* Tablet (768px–992px) */

@media (max-width: 992px) {

    .ops-service-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }

}

/* Mobile (<576px) */

@media (max-width: 576px) {

    .ops-service-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .ops-service-card {
        min-height: 120px !important;
        padding: 22px 18px !important;
    }

}

/* Extra Small Screens (<400px) */

@media (max-width: 400px) {

    .ops-service-card {
        padding: 18px 15px !important;
        min-height: 110px !important;
    }

}

/* ===================================== */
/* SERVICE CARD TEXT RESPONSIVE FIX */
/* Applies to all product pages */
/* ===================================== */

/* Desktop Default */

.ops-service-card h3 {
    font-size: 22px !important;
    line-height: 1.3 !important;
}

.ops-card-index {
    font-size: 16px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
}

/* Tablet */

@media (max-width: 992px) {

    .ops-service-card h3 {
        font-size: 20px !important;
    }

    .ops-card-index {
        font-size: 15px !important;
        padding: 9px 13px !important;
    }

}

/* 768px Special (Most Important for You) */

@media (max-width: 768px) {

    .ops-service-card h3 {
        font-size: 18px !important;
    }

    .ops-card-index {
        font-size: 14px !important;
        padding: 8px 12px !important;
    }

}

/* Mobile */

@media (max-width: 576px) {

    .ops-service-card h3 {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .ops-card-index {
        font-size: 13px !important;
        padding: 7px 11px !important;
    }

}

/* Extra Small Mobile */

@media (max-width: 400px) {

    .ops-service-card h3 {
        font-size: 15px !important;
    }

    .ops-card-index {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }

}

/* ================================= */
/* COPYRIGHT FOOTER RESPONSIVE FIX */
/* Applies to all pages */
/* ================================= */

/* Default Desktop */

.ops-footer-legal {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
}

.tp-copyright-left span {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Tablet */

@media (max-width: 768px) {

    /* Stack the bottom bar; put the policy links first and the copyright LAST
       (at the very end of the page). Centered. Desktop layout untouched. */
    .tp-copyright-bottom .row {
        text-align: center !important;
        flex-direction: column !important;
    }

    .tp-copyright-bottom .row > .col-md-6:first-child {
        order: 2 !important;   /* copyright column -> bottom */
    }

    .tp-copyright-bottom .row > .col-md-6:last-child {
        order: 1 !important;   /* policy links column -> top */
    }

    .ops-footer-legal {
        justify-content: center !important;
        margin-top: 0 !important;
    }

    .tp-copyright-left {
        text-align: center !important;
        margin-top: 14px !important;
    }

}

/* Mobile */

@media (max-width: 576px) {

    .ops-footer-legal {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .ops-footer-legal a {
        font-size: 13px !important;
        display: block !important;
    }

    .tp-copyright-left span {
        font-size: 13px !important;
        padding: 0 10px !important;
        display: block !important;
    }

}

/* Extra Small Mobile */

@media (max-width: 400px) {

    .tp-copyright-left span {
        font-size: 12px !important;
    }

    .ops-footer-legal a {
        font-size: 12px !important;
    }

}

/* ================================= */
/* SMART TECHNOLOGIES SECTION */
/* ================================= */

.smart-technologies {
    padding: 100px 0 100px;
    background: #050312; /* Match Case Studies background_color */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.smart-technologies-top {
    text-align: center;
    margin-bottom: 60px;
}

.smart-technologies-top h2 {
    color: #fff;
    font-size: 50px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}

.smart-technologies-top h2 span {
    background: linear-gradient(to right, var(--ops-brand, var(--ops-brand)), #ff9a7b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.smart-technologies-top .title {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 500;
    color: #a0a0a0;
    letter-spacing: 2px;
    display: block;
}

.smart-technologies-middle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.smart-technologies-middle .left-part {
    width: 60%;
    padding-right: 30px;
}

.smart-technologies-middle .right-part {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.smart-technologies-middle .left-part ul {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    margin: 0;
    list-style: none;
}

.smart-technologies-middle .left-part ul li {
    width: 20%;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 10px;
    box-sizing: border-box;
}

.smart-technologies-middle .left-part ul li:hover {
    background: var(--ops-brand, var(--ops-brand));
   
    transform: translateY(-5px);
    /* box-shadow: 0 10px 30px rgba(252, 234, 234, 0.4); */
    z-index: 2;
}


.smart-technologies-middle .left-part ul li img {
    max-width: 55px;
    height: auto;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
    filter: brightness(0.9);
}

.smart-technologies-middle .left-part ul li:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.smart-technologies-middle .left-part ul li span {
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tech_robot {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.tech_robot video {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(234, 85, 35, 0.2));
}

@media (max-width: 1199px) {
    .smart-technologies-middle .left-part {
        width: 100%;
        padding-right: 0;
        margin-bottom: 50px;
    }

    .smart-technologies-middle .right-part {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .smart-technologies-top h2 {
        font-size: 42px;
    }

    .smart-technologies-middle .left-part ul li {
        width: 25%;
    }
}

@media (max-width: 767px) {
    .smart-technologies {
        padding: 70px 0 70px;
    }

    .smart-technologies-top h2 {
        font-size: 36px;
    }

    .smart-technologies-top .title {
        font-size: 18px;
    }

    .smart-technologies-middle .left-part ul li {
        width: 33.33%;
        height: 125px;
    }

    .smart-technologies-middle .left-part ul li img {
        max-width: 45px;
    }
}

@media (max-width: 575px) {
    .smart-technologies-middle .left-part ul li {
        width: 50%;
    }
}