/* ============================================================================
   Dogra Technologies — Uniform design layer
   Loaded LAST on every page so it wins over both the old Mobirise and the
   modern "2026" stylesheets. Delivers:
     1. Self-hosted fonts (Inter / Outfit / Space Grotesk) — no Google Fonts
     2. The signature blue-triangle background on every page
     3. Blue (logo) buttons with readable white text
     4. Red (logo accent) border on designed cards only
     5. A consistent CTA band
   ========================================================================== */

/* ---- 1. Self-hosted fonts ------------------------------------------------ */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/outfit-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/outfit-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/outfit-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/outfit-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/spacegrotesk-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/spacegrotesk-600.woff2') format('woff2');
}

/* ---- 2. Uniform blue-triangle background --------------------------------- */
html,
body {
    background: #3a4a5a url('../img/pageBG.png') no-repeat center center fixed !important;
    background-size: cover !important;
    -webkit-background-size: cover !important;
}

/* ---- Consistent typography ---------------------------------------------- */
body,
.mbr-text,
.mbr-fonts-style,
.p,
p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.mbr-section-title,
.card-title,
.panel__title,
.section__title,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-7 {
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif !important;
    letter-spacing: -0.01em;
}

/* Small labels / eyebrows use the mono/display accent */
.eyebrow,
.mbr-small-title,
.navbar-brand .text-primary,
.mbr-section-subtitle {
    font-family: 'Space Grotesk', ui-monospace, monospace !important;
}

/* ---- Multicolor (gradient) headings: signature brand theme --------------- */
h1,
h2 {
    background: linear-gradient(135deg, #007bc4 0%, #da241d 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

/* Text inside headings follows the multicolor theme too */
h1 span,
h2 span {
    background: inherit !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

/* ---- Remove horizontal section divider borders site-wide ----------------- */
section[style*="border-top"] {
    border-top: 0 !important;
}

section[style*="border-bottom"] {
    border-bottom: 0 !important;
}

/* Neutralise standalone divider elements */
hr,
.divider,
.mbr-figure hr,
.section-divider,
[class*="divider"] {
    border: 0 !important;
    background: none !important;
    height: 0 !important;
    margin: 0.75rem 0 !important;
}

/* ---- 3. Blue buttons (readable white text) ------------------------------- */
.btn,
.btn-sm,
.btn-lg,
.btn-primary,
.btn-white,
.btn-black,
.btn-info,
.btn-warning,
.btn-premium,
.btn-primary-2026,
.btn-secondary-2026,
.btn-view-details,
.mbr-section-btn .btn,
.navbar-buttons a,
.navbar-buttons .btn,
.mbr-section-btn a,
input[type="submit"],
button[type="submit"] {
    background-color: #0087ca !important;
    background-image: none !important;
    border: 2px solid transparent !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    text-shadow: none !important;
    text-decoration: none !important;
    text-align: center !important;
    padding: 0.75rem 1.5rem !important;
    margin: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
    cursor: pointer !important;
    display: inline-block;
    -webkit-appearance: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease !important;
}

.dt-cta .btn {
    margin: 0.25rem !important;
}

/* Interactive hover / focus / active */
.btn:hover,
.btn:focus,
.btn-premium:hover,
.btn-primary-2026:hover,
.btn-secondary-2026:hover,
.btn-view-details:hover,
.mbr-section-btn .btn:hover,
.navbar-buttons a:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background-color: #006fa8 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 135, 202, 0.4) !important;
    transform: translateY(-2px) !important;
}

.btn:active,
.btn-premium:active {
    transform: translateY(0) !important;
}

.btn:focus-visible {
    outline: 3px solid #0087ca !important;
    outline-offset: 2px;
}

/* ---- 4. Red (logo accent) border on hover — designed cards only ----------- */
.card:hover,
.mbr-cards .card:hover,
.premium-card:hover {
    box-shadow: 0 0 0 2px #ff3366 !important;
    border-radius: 6px;
}

/* ---- 8. Uniform card hover theme: thin red border, no blue top bar ------- */
/* Removes the blue gradient "top bar" pseudo-elements across all designed
   cards so every card shares one consistent signature. */
.detail-card::before,
.cs-card::before,
.svc-card::before,
.premium-card::before,
.contact-card::before,
.abt-card::before,
.team-card::before,
.value-item::before,
.bi-tool-card::before,
.insight-card::before,
.mcs-card::before,
.bento-item-2026::before,
.matrix-cell::before,
.review-card::before,
.port-card-2026::before {
    display: none !important;
    opacity: 0 !important;
    height: 0 !important;
}

.detail-card:hover::before,
.cs-card:hover::before,
.svc-card:hover::before,
.premium-card:hover::before,
.contact-card:hover::before,
.abt-card:hover::before,
.team-card:hover::before,
.value-item:hover::before,
.bi-tool-card:hover::before,
.insight-card:hover::before,
.mcs-card:hover::before,
.bento-item-2026:hover::before,
.matrix-cell:hover::before,
.review-card:hover::before,
.port-card-2026:hover::before {
    opacity: 0 !important;
}

/* Uniform thin red hover border for every designed card across the system. */
.detail-card:hover,
.cs-card:hover,
.svc-card:hover,
.premium-card:hover,
.contact-card:hover,
.abt-card:hover,
.team-card:hover,
.value-item:hover,
.bi-tool-card:hover,
.insight-card:hover,
.mcs-card:hover,
.bento-item-2026:hover,
.matrix-cell:hover,
.review-card:hover,
.port-card-2026:hover {
    border: 1px solid #ff3366 !important;
    border-color: #ff3366 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 0 0 1px #ff3366 !important;
}

/* ---- 7. Symmetric card grids (equal-height cards in every row) ------------ */
/* Ensures all cards sharing a row have identical height across the whole site. */
.detail-grid,
.cs-grid,
.svc-grid,
.review-grid,
.abt-grid,
.team-grid,
.values-list,
.port-grid-2026,
.bento-grid-2026,
.mcs-grid,
.insight-grid,
.matrix-cell-grid {
    grid-auto-rows: 1fr !important;
    align-items: stretch;
}

/* Clean, symmetric column counts for card grids that hold a known card count.
   All other auto-fill grids remain responsive but stay equal-height per row. */
.detail-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

.cs-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

.svc-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

.abt-grid,
.values-list,
.team-grid,
.review-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 992px) {

    .detail-grid,
    .cs-grid,
    .svc-grid,
    .abt-grid,
    .values-list,
    .team-grid,
    .review-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {

    .detail-grid,
    .cs-grid,
    .svc-grid,
    .abt-grid,
    .values-list,
    .team-grid,
    .review-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ---- 5. Consistent CTA band (inserted on every page) --------------------- */
.dt-cta {
    width: 100%;
    margin: 3rem auto;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: linear-gradient(160deg, #eef8fe 0%, #ffffff 60%);
    border: 2px solid #0087ca;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: #1e293b;
    position: relative;
    overflow: hidden;
}

.dt-cta__title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.6rem;
    font-weight: 700;
    color: #005f96 !important;
    margin: 0 0 0.5rem;
}

.dt-cta__text {
    font-family: 'Inter', sans-serif !important;
    color: #475569;
    font-size: 1rem;
    margin: 0 auto 1.25rem;
    max-width: 34rem;
}

@media (max-width: 600px) {
    .dt-cta {
        margin: 2rem 0.75rem;
        padding: 1.75rem 1rem;
    }

    .dt-cta__title {
        font-size: 1.3rem;
    }
}

/* ---- 6. Floating CTA buttons (bottom-left, like the index page) ----------- */
.dt-floating-cta {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.dt-floating-cta .btn {
    border-radius: 9999px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    font-size: 0.92rem !important;
    padding: 0.8rem 1.5rem !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.dt-floating-cta .btn svg {
    flex-shrink: 0;
}

/* Match the index-page lead widget buttons (WhatsApp green + Calendly blue) */
.dt-floating-cta .dt-cta-wa {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

.dt-floating-cta .dt-cta-call {
    background: linear-gradient(135deg, #0087ca 0%, #006097 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

.dt-floating-cta .dt-cta-wa:hover,
.dt-floating-cta .dt-cta-call:hover {
    transform: translateY(-3px) scale(1.03) !important;
}

@media (max-width: 600px) {
    .dt-floating-cta {
        left: 12px;
        bottom: 12px;
        gap: 8px;
    }

    .dt-floating-cta .btn {
        font-size: 0.82rem !important;
        padding: 0.65rem 1.15rem !important;
    }
}

/* Hide legacy injected lead widgets (site-common) where floating CTA is present */
.dt-floating-cta~.dt-lead-widgets,
body:has(.dt-floating-cta) .dt-lead-widgets {
    display: none !important;
}

/* ---- 7. Trusted Across Industries ticker (matches indus.html theme) --------- */
.ticker-sec {
    padding: 40px 0;
    background-color: #FFFFFF !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ticker-sec .ticker-title {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent, #da241d);
    font-weight: 700;
    margin: 0 0 18px;
    text-align: center;
}

.ticker-sec .ticker-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
}

.ticker-sec .ticker-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: ticker-slide 32s linear infinite;
}

.ticker-sec .ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-slide {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.ticker-sec .logo-cloud-item {
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #64748B;
}

.ticker-sec .logo-cloud-item:hover {
    background: var(--primary, #007bc4) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.ticker-sec .ticker-status {
    margin-top: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary, #007bc4);
    min-height: 20px;
    text-align: center;
}