/* ============================================
   ITSR DCSS Child Theme — Custom Styles v4
   Enterprise-grade design inspired by SAIC & Leidos
   ============================================
   Design principles:
   • Solid opaque header — always readable (SAIC-style)
   • Large bold headings (700-800) + light body (400)
   • Generous section spacing (80-100px desktop)
   • Soft alternating backgrounds for visual rhythm
   • Clean card layouts with breathing room
   • Warm CTA buttons for action items
   ============================================ */

:root {
    --itsr-navy: #0E2237;
    --itsr-blue: #2563EB;
    --itsr-blue-soft: #3B82F6;
    --itsr-sky: #38BDF8;
    --itsr-slate: #475569;
    --itsr-text: #334155;
    --itsr-text-dark: #1E293B;
    --itsr-muted: #64748B;
    --itsr-bg-alt: #F1F5F9;
    --itsr-bg-soft: #F8FAFC;
    --itsr-border: #E2E8F0;
    --itsr-cta: #E8611E;
    --itsr-cta-hover: #D35516;
    --itsr-header-bg: #0E2237;

    /* ── Font Scale System ──
       Change --font-scale to resize all rem-based text proportionally.
       XXS=0.75  XS=0.875  S=1  M=1.15  L=1.30  XL=1.50
       Production default: XS (0.875 = 14px root). */
    --font-scale: 0.875;
}

html {
    font-size: calc(16px * var(--font-scale)) !important;
}

/* ── BASE TYPOGRAPHY ── */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--itsr-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p,
.htext,
.section-area-text,
.entry-content p {
    font-family: 'Inter', sans-serif !important;
    color: var(--itsr-text);
    font-size: 1.125rem;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6,
.section-title h2,
.widget-title {
    font-family: 'Montserrat', 'Inter', sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--itsr-navy);
}

/* Section titles (global) — SAIC-sized, bold */
.section-title .sub-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--itsr-blue) !important;
    margin-bottom: 12px;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 3rem;
    font-weight: 800;
    color: var(--itsr-navy) !important;
    margin-bottom: 20px;
    line-height: 1.12;
}

.section-title {
    margin-bottom: 48px !important;
}

.ht-section-title-tagline {
    margin-bottom: 48px !important;
}

/* ══════════════════════════════════════════════
   HEADER — Solid dark, always readable
   ══════════════════════════════════════════════ */

/* Hide email/share row — cleaner SAIC/Leidos look
   NOTE: .head-mob (logo, nav, phone) is INSIDE .top-bar-head,
   so we only hide .head-inn (the email/share bar), not the parent */
.top-bar-head > .head-inn {
    display: none !important;
}

/* ── SAIC-STYLE FIXED HEADER ──
   Always visible, always solid, never transparent.
   Parent theme sets position:absolute + transparent bg on .header-transparent.
   We override to position:fixed with solid dark bg. */

.site-header,
header.site-header,
.header-transparent,
header.header-transparent,
body .site-header,
body header.site-header,
.ht-sticky-header .header-transparent,
.ht-sticky-header.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: var(--itsr-header-bg) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 9999 !important;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

/* .top-bar-head is also position:absolute in parent — override to static
   so it flows normally inside the fixed header */
.top-bar-head {
    position: static !important;
    border-bottom: none !important;
}

/* Push page content below the fixed header */
body.home .slider_section,
body.home #slider-section {
    margin-top: 0;
}

/* Inner pages: push content down to account for fixed header */
body:not(.home) .page-main-header {
    padding-top: 160px;
    padding-bottom: 40px;
    background-position: center center !important;
    background-size: cover !important;
}

body:not(.home) #innerpage-box {
    padding-top: 100px;
}

/* Homepage: the slider already handles it since it's full-height,
   but add a top padding for safety on the first content section */
body.home #features-section {
    margin-top: 0;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    background: #0A1929 !important;
}

/* Scrolled state — slightly darker + stronger shadow */
header.itsr-scrolled,
header.site-header.itsr-scrolled,
.is-sticky .site-header,
header.is-sticky {
    background: #091520 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}

/* Logo area — slightly narrower to give nav/contacts more room */
.head-mob .logo.col-xl-3 {
    flex: 0 0 18% !important;
    max-width: 18% !important;
}

.head-mob .col-xl-9.HeaderRbx {
    flex: 0 0 82% !important;
    max-width: 82% !important;
}

/* Widen the phone/contact column, narrow the nav column */
.header-right .head-menu.col-xl-10 {
    flex: 0 0 73% !important;
    max-width: 73% !important;
}

.header-right .hbtn.col-xl-2 {
    flex: 0 0 27% !important;
    max-width: 27% !important;
}

.logo-header.mostion {
    display: flex;
    align-items: center;
}

/* Site tagline — Montserrat, professional
   NOTE: Header uses px (not rem) so it stays fixed regardless of font scale */
.ht-site-description,
.ht-site-description a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.55) !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Navigation links */
.mainm > li > a,
#menu-menu-menu > li > a,
.mainm > li.menu-item > a,
ul.mainm.ht-clearfix > li > a {
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    text-transform: none;
    transition: color 0.2s ease, background 0.2s ease;
    padding: 10px 8px !important;
}

.mainm > li > a:hover,
#menu-menu-menu > li > a:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 4px;
}

.mainm > li.current-menu-item > a,
.mainm > li.current_page_item > a {
    color: #fff !important;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 4px;
    border-bottom: 2px solid var(--itsr-sky) !important;
}

/* Dropdown menus */
.mainm .sub-menu,
ul.mainm li ul {
    background: #fff !important;
    border: 1px solid var(--itsr-border) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    border-radius: 8px !important;
    margin-top: 0 !important;
    padding: 8px 0 !important;
}

.mainm .sub-menu a,
ul.mainm li ul li a {
    color: var(--itsr-text) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    transition: color 0.2s ease, background 0.2s ease;
}

.mainm .sub-menu a:hover,
ul.mainm li ul li a:hover {
    color: var(--itsr-blue) !important;
    background: var(--itsr-bg-alt) !important;
}

/* ── HEADER CONTACT AREA (fully controlled layout, all fixed px) ── */

/* Override parent theme's Rqst-btn positioning — flex column, right-aligned */
header .Rqst-btn {
    position: relative !important;
    top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    padding: 6px 0 !important;
}

/* Remove parent theme's inner column grid inside Rqst-btn */
header .Rqst-btn > .col-md-2,
header .Rqst-btn > .col-md-10,
header .Rqst-btn > [class*="col-"] {
    flex: unset !important;
    max-width: unset !important;
    width: auto !important;
    padding: 0 !important;
    float: none !important;
}

/* Phone row: icon + text side-by-side */
.itsr-phone-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 0;
}

.itsr-phone-icon {
    text-decoration: none !important;
    display: flex !important;
    align-items: center;
    overflow: visible !important;
    padding: 0 !important;
}

.itsr-phone-icon i.fa,
.itsr-phone-row > i.fa {
    font-size: 18px !important;
    color: var(--itsr-sky) !important;
    margin-left: 0 !important;
}

.itsr-phone-text {
    text-align: right;
}

.itsr-phone-text .itsr-phone-label {
    display: block;
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700;
    color: rgba(255,255,255,0.6) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin-bottom: 1px;
}

.Rqst-btn .itsr-phone-text a {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    font-size: 15px !important;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
    display: block !important;
    overflow: visible !important;
    line-height: 1.2;
}

.Rqst-btn .itsr-phone-text a:hover {
    color: var(--itsr-sky) !important;
}

/* Email — right-aligned below phone */
.Rqst-btn a.itsr-header-email {
    display: block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600;
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    white-space: nowrap;
    line-height: 1.3;
    margin-top: 4px;
    overflow: visible !important;
    padding: 0 !important;
}

.Rqst-btn a.itsr-header-email:hover {
    color: var(--itsr-sky) !important;
}

.Rqst-btn .itsr-header-email .fa {
    margin-right: 4px;
    font-size: 11px;
    color: var(--itsr-sky);
}

/* Contact Us button — right-aligned below email */
.Rqst-btn a.itsr-header-contact-btn {
    display: inline-block !important;
    background: var(--itsr-cta) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700;
    padding: 4px 12px !important;
    border-radius: 3px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-top: 5px;
    overflow: visible !important;
}

.Rqst-btn a.itsr-header-contact-btn:hover {
    background: var(--itsr-cta-hover) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232,97,30,0.3);
}

/* Allow header to show all elements */
.head-mob .container .row,
.head-mob .row-eq-height {
    overflow: visible;
}

.head-mob .col-xl-9.HeaderRbx {
    overflow: visible;
}

.HeaderRbx .header-right .row {
    flex-wrap: nowrap !important;
    align-items: center;
}

/* ══════════════════════════════════════════════
   SLIDER / HERO
   ══════════════════════════════════════════════ */

.slider_section .slider_gradiant {
    background: linear-gradient(135deg, rgba(8,20,34,0.85) 0%, rgba(15,42,63,0.6) 50%, rgba(15,42,63,0.4) 100%) !important;
    opacity: 1 !important;
}

.slider_section .item .title,
.slider_section .slider_content .title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    font-size: 3.75rem;
    text-transform: none;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
    color: #fff !important;
    line-height: 1.08;
    max-width: 780px;
}

.slider_section .item .sub-title,
.slider_section .slider_content .sub-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.92) !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
    max-width: 640px;
    margin-top: 16px;
}

.slider_section .btn5 a {
    background: var(--itsr-cta) !important;
    border: 2px solid var(--itsr-cta) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 40px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.slider_section .btn5 a:hover {
    background: var(--itsr-cta-hover) !important;
    color: #fff !important;
    border-color: var(--itsr-cta-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,97,30,0.35);
}

.slider_section .btn5 a:before {
    display: none !important;
}

.slider_section .owl-nav .owl-prev,
.slider_section .owl-nav .owl-next {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    transition: all 0.3s ease;
}

.slider_section .owl-nav .owl-prev:hover,
.slider_section .owl-nav .owl-next:hover {
    background: rgba(255,255,255,0.9) !important;
    border-color: #fff !important;
}

/* ══════════════════════════════════════════════
   SECTION SPACING — Generous, uniform
   ══════════════════════════════════════════════ */

.ht-section,
#about,
#counter,
#production-section,
#service,
#banner,
#project,
#testimonials,
#blog,
#newsletter {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

#features-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    background: #091520 !important;
}

/* Alternating section backgrounds for visual rhythm (Leidos-style) */
#about { background: #fff !important; }
#service { background: var(--itsr-bg-alt) !important; }
#project { background: #fff !important; }
#blog { background: var(--itsr-bg-soft) !important; }

/* Reduce inner-row bottom margins */
.service-area .row,
#project .row,
.blog-area .row {
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════
   FEATURE BOXES — 3x2 grid, tight, seamless
   ══════════════════════════════════════════════ */

#features-section .features-inn {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 auto !important;
    gap: 20px;
    max-width: 1200px;
    justify-content: center;
}

#features-section .features-inn .feabx {
    width: calc(33.333% - 14px) !important;
    max-width: calc(33.333% - 14px) !important;
    flex: 0 0 calc(33.333% - 14px) !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

#features-section .features-inn .feabx .mem-inn {
    border-radius: 10px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.75rem 2.25rem;
    transition: all 0.3s ease;
    margin: 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#features-section .mem-inn:hover {
    filter: brightness(1.1);
}

#features-section .feabx:nth-child(odd) .mem-inn {
    background: #0D2137 !important;
}

#features-section .feabx:nth-child(even) .mem-inn {
    background: #122B45 !important;
}

#features-section .sec-icn span {
    font-size: 3rem;
    color: var(--itsr-sky) !important;
    margin-bottom: 20px;
    display: block;
}

#features-section .features-content h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: none;
    color: #fff !important;
    margin-bottom: 14px;
    line-height: 1.3;
}

#features-section .features-content p {
    font-size: 1.1875rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85) !important;
    margin: 0;
}

#features-section .readmore {
    display: none;
}

/* ══════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════ */

/* About image — fill the full column height to match text side */
#about .abou-img3 {
    height: 100%;
    min-height: 400px;
}

#about .abou-img3 img.secondry-bg-img,
#about .abou-img3 img.img-responsive {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 10px;
    min-height: 400px;
}

/* Make about columns equal height */
#about .abtimg {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
}

#about .abtimginn {
    display: flex;
}

#about .section-title .sub-title {
    color: var(--itsr-blue) !important;
}

#about .section-title h2 {
    font-size: 2.5rem;
    color: var(--itsr-navy) !important;
    line-height: 1.15;
}

/* About bullets — icon circles */
#about .hi-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    background: linear-gradient(135deg, var(--itsr-blue) 0%, #1d4ed8 100%) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#about .hi-icon span {
    color: #fff !important;
    font-size: 1.25rem !important;
}

/* About bullets — title text */
#about .aboutus-single {
    display: flex !important;
    align-items: center !important;
    gap: 14px;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--itsr-border);
}

#about .aboutus-single .col-md-1 {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
}

#about .aboutus-single .col-md-11 {
    flex: 1 !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
}

#about .about-area-data .inner-area-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--itsr-navy) !important;
    margin: 0 !important;
    line-height: 1.3;
}

#about .about-area-data .inner-area-title:hover {
    color: var(--itsr-blue) !important;
}

/* Hide empty video column, make icon list full-width */
#about .about-right > .col-lg-5 {
    display: none !important;
}

#about .about-right > .col-lg-7.aboutus-post-wrap {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* About section text — bigger for impact */
#about .htext {
    font-size: 1.1875rem;
    line-height: 1.85;
    color: var(--itsr-text) !important;
    border-bottom-color: var(--itsr-border) !important;
    margin-bottom: 1.5rem;
}

#about .readmore a {
    background: var(--itsr-cta) !important;
    color: #fff !important;
    border-radius: 6px;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 14px 36px;
    transition: all 0.3s ease;
}

#about .readmore a:hover {
    background: var(--itsr-cta-hover) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,97,30,0.3);
}

#about .readmore a:before {
    display: none !important;
}

#about .abou-img3:after {
    border-color: var(--itsr-blue) !important;
}

/* Floating icon on the about image — replace bar-chart with server icon */
#about .about_icon {
    background: linear-gradient(135deg, var(--itsr-blue) 0%, var(--itsr-navy) 100%) !important;
    width: 70px !important;
    height: 70px !important;
    line-height: 70px !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(14,34,55,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about .about_icon:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37,99,235,0.5);
}

/* Hide the default bar-chart icon, replace with server */
#about .about_icon i.fa-bar-chart:before {
    content: '\f233' !important; /* fa-server */
}

#about .about_icon i {
    font-size: 1.75rem !important;
    color: #fff !important;
}

#about .lastdiv p {
    color: var(--itsr-muted) !important;
}

/* ══════════════════════════════════════════════
   SERVICES SECTION
   ══════════════════════════════════════════════ */

.service-area .section-title .sub-title {
    color: var(--itsr-blue) !important;
}

.service-area .section-title h2 {
    color: var(--itsr-navy) !important;
    font-size: 2.75rem;
}

.service-area .row {
    display: flex;
    flex-wrap: wrap;
}

.service-area .row > [class*="col-"] {
    display: flex;
    margin-bottom: 30px;
}

.service-area .single-service-bx {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border: 1px solid var(--itsr-border);
}

.service-area .single-service-bx:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15,42,63,0.08);
    border-color: var(--itsr-blue);
}

.service-area .single-service {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-area .service-icon {
    height: 200px;
    overflow: hidden;
}

.service-area .service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-area .service-icon .ovrly {
    background: linear-gradient(to top, rgba(15,42,63,0.5) 0%, transparent 40%) !important;
}

.service-area .service-title-box {
    flex: 1;
    padding: 1.5rem !important;
    background: #fff !important;
    display: flex;
    flex-direction: column;
}

.service-area .service-title-box h4 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--itsr-navy) !important;
    line-height: 1.3;
    margin-bottom: 12px;
}

.service-area .service-title-box h4:hover,
.service-area .service-title-box a:hover h4 {
    color: var(--itsr-blue) !important;
}

.service-area .service-title-box p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--itsr-text) !important;
    flex: 1;
}

.service-area .btn5 {
    margin-top: auto;
    padding: 0 1.5rem 1.5rem;
}

.service-area .btn5 a {
    display: inline-block;
    background: var(--itsr-navy) !important;
    background-image: none !important;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid var(--itsr-navy) !important;
}

.service-area .btn5 a:hover {
    background: var(--itsr-blue) !important;
    border-color: var(--itsr-blue) !important;
    color: #fff !important;
}

.service-area .btn5 a:before {
    display: none !important;
}

/* ══════════════════════════════════════════════
   COUNTER SECTION
   ══════════════════════════════════════════════ */

.counter-area .counter-single-area .row {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
}

.counter-area .couneter-box {
    width: 25% !important;
    max-width: 25% !important;
    flex: 0 0 25% !important;
}

.counter-area .cd-single {
    text-align: center;
}

.counter-area .count-box {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 2.5rem 1.5rem;
    transition: all 0.3s ease;
}

.counter-area .count-box:hover {
    background: rgba(255,255,255,0.1) !important;
    transform: translateY(-3px);
}

.counter-area .cd-icon i {
    font-size: 2rem;
    color: var(--itsr-sky) !important;
    opacity: 0.5;
    margin-bottom: 14px;
}

.counter-area .cd-num {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    font-size: 3rem;
    color: #fff !important;
    line-height: 1;
    margin-bottom: 8px;
}

.counter-area .cd-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7) !important;
}

.counter-area .ovly {
    background: linear-gradient(135deg, rgba(8,20,34,0.93) 0%, rgba(15,42,63,0.88) 100%) !important;
    opacity: 1 !important;
}

/* ══════════════════════════════════════════════
   PRODUCTION / OUR PROCESS
   ══════════════════════════════════════════════ */

#production-section {
    background: var(--itsr-bg-alt) !important;
    padding-top: 60px !important;
    padding-bottom: 50px !important;
}

#production-section .section-title .sub-title {
    color: var(--itsr-blue) !important;
}

#production-section .section-title {
    margin-bottom: 30px !important;
}

#production-section .section-title h2 {
    color: var(--itsr-navy) !important;
    font-size: 32px !important;
}

#production-section .production-inn {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0;
}

#production-section .production-inn .prodbx {
    width: 33.333% !important;
    max-width: 33.333% !important;
    flex: 0 0 33.333% !important;
    padding: 12px !important;
}

/* Card wrapper: badge on top via order, no column-reverse */
#production-section .prodbx-inn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    overflow: visible !important;
    margin-bottom: 10px !important;
}

/* Number badge — use order to place it above the card */
#production-section .pro-num {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: 2;
    margin-bottom: -20px;
    order: -1;
}

#production-section .numinn {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    font-size: 16px !important;
    background: var(--itsr-blue) !important;
    color: #fff !important;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 3px 12px rgba(37,99,235,0.3);
    display: inline-block;
    margin: 0 !important;
}

#production-section .prodbx-inn:hover .numinn {
    background: var(--itsr-navy) !important;
}

#production-section .prodbx-innbx {
    background: #fff !important;
    border: 1px solid var(--itsr-border) !important;
    border-radius: 10px !important;
    padding: 28px 20px 20px !important;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    width: 100%;
}

#production-section .prodbx-innbx:hover {
    border-color: var(--itsr-blue) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37,99,235,0.08);
}

/* Hide clearfix */
#production-section .prodbx .clearfix {
    display: none !important;
}

#production-section .sec-icn {
    margin-top: 6px;
    margin-bottom: 12px;
}

#production-section .sec-icn span {
    font-size: 36px !important;
    color: var(--itsr-blue) !important;
    transition: color 0.3s ease;
    display: block;
}

#production-section .prodbx-innbx:hover .sec-icn span {
    color: var(--itsr-navy) !important;
}

#production-section .production-content h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    font-size: 16px !important;
    color: var(--itsr-navy) !important;
    margin-bottom: 8px;
    line-height: 1.2;
}

#production-section .production-content p {
    font-size: 14px !important;
    line-height: 1.6;
    color: var(--itsr-text) !important;
    margin: 0;
    text-align: left;
    text-indent: 0 !important;
    white-space: pre-line;
}

/* Arrow connectors */
#production-section .prodbx:nth-child(1) .prodbx-innbx:after,
#production-section .prodbx:nth-child(2) .prodbx-innbx:after,
#production-section .prodbx:nth-child(4) .prodbx-innbx:after,
#production-section .prodbx:nth-child(5) .prodbx-innbx:after {
    content: '\f054';
    font-family: 'FontAwesome';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--itsr-blue);
    opacity: 0.25;
    font-size: 13px;
    z-index: 3;
}

#production-section .prodbx:nth-child(3) .prodbx-innbx:after {
    content: '\f063';
    font-family: 'FontAwesome';
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--itsr-blue);
    opacity: 0.25;
    font-size: 13px;
    z-index: 3;
}

/* ══════════════════════════════════════════════
   BANNER / CTA SECTION
   ══════════════════════════════════════════════ */

#banner .ovly {
    background: linear-gradient(135deg, rgba(8,20,34,0.95) 0%, rgba(15,42,63,0.85) 100%) !important;
    opacity: 1 !important;
    background-image: none !important;
}

#banner .banner-inn h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    font-size: 2.25rem;
    letter-spacing: 0.02em;
    color: #fff !important;
    line-height: 1.3;
}

#banner .banner-inn a {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
    font-size: 1.75rem;
    color: #fff !important;
    transition: color 0.3s ease;
}

#banner .banner-inn a:hover {
    color: var(--itsr-sky) !important;
}

/* ══════════════════════════════════════════════
   PROJECTS / CASE STUDIES
   ══════════════════════════════════════════════ */

#project .section-title .sub-title {
    color: var(--itsr-blue) !important;
}

#project .section-title h2 {
    color: var(--itsr-navy) !important;
}

#project .single-project {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#project .single-project:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(15,42,63,0.1);
}

/* Fix project images — proportional, not stretched */
#project .single-project .project-imgg {
    height: 260px;
    overflow: hidden;
}

#project .single-project .project-imgg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#project .single-project .ovrly {
    background: linear-gradient(to top, rgba(15,42,63,0.85) 0%, transparent 50%) !important;
}

#project .project-title-box {
    border-left-color: var(--itsr-blue) !important;
}

#project .pk-text {
    color: var(--itsr-blue) !important;
}

#project h4.inner-area-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
    font-size: 1.1875rem;
    color: var(--itsr-navy) !important;
}

#project h4.inner-area-title:hover {
    color: var(--itsr-blue) !important;
}

/* ══════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════ */

.testimonials-area .overlay {
    background: linear-gradient(135deg, rgba(8,20,34,0.93) 0%, rgba(15,42,63,0.87) 100%) !important;
    opacity: 1 !important;
}

#testimonials .section-title .sub-title {
    color: rgba(255,255,255,0.6) !important;
}

#testimonials .section-title h2 {
    color: #fff !important;
    font-size: 2.75rem;
}

/* Owl Carousel: equal-height items */
.testimonials-area .owl-stage {
    display: flex !important;
}

.testimonials-area .owl-item {
    display: flex !important;
}

.testimonials-area .ts-area-single {
    border-radius: 10px !important;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 28px 28px !important;
}

/* Hide the generic placeholder image */
.testimonials-area .ts-area-thumb {
    display: none !important;
}

/* Quote icon — styled as accent */
.testimonials-area .ts-area-bx i.fa-quote-left {
    font-size: 2.5rem !important;
    color: var(--itsr-navy) !important;
    opacity: 0.15;
    margin-bottom: 12px;
}

/* Title — bigger, bolder, readable */
.testimonials-area h3.ts-area-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    color: var(--itsr-navy) !important;
    margin-bottom: 4px;
}

.testimonials-area h3.ts-area-title:hover {
    color: var(--itsr-blue) !important;
}

/* Designation — visible below title */
.testimonials-area .text-designation {
    color: var(--itsr-blue) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

/* Quote text */
.testimonials-area .ts-area-c {
    flex: 1;
}

.testimonials-area .ts-area-c p {
    font-size: 1rem;
    line-height: 1.75;
    font-style: italic;
    color: var(--itsr-text) !important;
}

/* ══════════════════════════════════════════════
   BLOG SECTION
   ══════════════════════════════════════════════ */

.blog-area .section-title .sub-title {
    color: var(--itsr-blue) !important;
}

.blog-area .section-title h2 {
    color: var(--itsr-navy) !important;
    font-size: 2.75rem;
}

/* Blog cards — equal height with flex */
.blog-area .row,
#blog .row {
    display: flex !important;
    flex-wrap: wrap;
}

.blog-area .row > [class*="col-"],
#blog .row > [class*="col-"] {
    display: flex;
}

.blog-area .blog-post {
    border-radius: 10px !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--itsr-border);
    background: #fff !important;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.blog-area .blog-single {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-area .blog-single-img {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-area .btn5 {
    margin-top: auto !important;
    padding-top: 10px;
}

.blog-area .blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(15,42,63,0.08);
}

.blog-area .blog-date li {
    background: var(--itsr-blue) !important;
    border-radius: 4px;
}

.blog-area .blog-single a .inner-area-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.35;
    color: var(--itsr-navy) !important;
}

.blog-area .blog-single a:hover .inner-area-title {
    color: var(--itsr-blue) !important;
}

.blog-area .section-area-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--itsr-text) !important;
}

.blog-area .btn5 a {
    background: var(--itsr-blue) !important;
    color: #fff !important;
    border-radius: 6px;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 10px 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-area .btn5 a:hover {
    background: var(--itsr-navy) !important;
    color: #fff !important;
    border-color: var(--itsr-navy) !important;
}

.blog-area .btn5 a:before {
    display: none !important;
}

/* ══════════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════════ */

#newsletter .overlay {
    background: linear-gradient(135deg, rgba(8,20,34,0.93) 0%, rgba(15,42,63,0.88) 100%) !important;
    opacity: 1 !important;
}

#newsletter h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
    font-size: 2rem;
    color: #fff !important;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */

.footer-area {
    background: var(--itsr-navy) !important;
    font-family: 'Inter', sans-serif !important;
}

.footer-area .widget-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
    font-size: 1.0625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-area .bottom-area {
    background: rgba(0,0,0,0.3) !important;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-area .footer-text {
    color: rgba(255,255,255,0.7) !important;
    font-size: 1rem;
}

.footer-area a {
    transition: color 0.2s ease;
}

.footer-area a:hover {
    color: var(--itsr-sky) !important;
}

/* Hide all social media icons from footer — keep only LinkedIn later */
.footer-area .social-profile-icons,
.footer-area .f-contact .social-profile-icons {
    display: none !important;
}

/* ── SAIC-style professional footer top section ── */
.itsr-footer-top {
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.itsr-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.25fr;
    gap: 2.5rem;
}

.itsr-footer-section h5 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    font-size: 1.0625rem;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.itsr-footer-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 0.75rem;
}

.itsr-footer-section p .fa {
    color: var(--itsr-sky);
    width: 20px;
    margin-right: 6px;
}

.itsr-footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
}

.itsr-footer-section ul li {
    margin-bottom: 0.5rem;
    list-style: none !important;
    text-indent: 0 !important;
    padding-left: 0 !important;
}

.itsr-footer-section ul li:before {
    display: none !important;
}

.itsr-footer-section ul li a {
    font-size: 1rem;
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.itsr-footer-section ul li a:hover {
    color: var(--itsr-sky) !important;
}

/* Footer bottom bar — right side info */
.itsr-footer-info {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    align-items: center;
}

.itsr-footer-col {
    display: flex;
    flex-direction: column;
}

.itsr-footer-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2px;
}

.itsr-footer-col a,
.itsr-footer-col span {
    font-size: 1rem;
    color: rgba(255,255,255,0.75) !important;
}

.itsr-footer-col a:hover {
    color: var(--itsr-sky) !important;
}

/* ── Inline marketing CTA boxes for inner pages ── */
.itsr-inline-cta {
    clear: both;
    width: 100% !important;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.itsr-inline-cta-inner {
    background: linear-gradient(135deg, var(--itsr-navy) 0%, #1a365d 100%);
    border-radius: 14px;
    padding: 3rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.itsr-inline-cta-text h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    font-size: 1.875rem;
    color: #fff !important;
    margin: 0 0 0.75rem;
    border: none !important;
    padding-bottom: 0 !important;
    line-height: 1.2;
}

.itsr-inline-cta-text p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 1.1875rem;
    line-height: 1.7;
    margin: 0;
}

.itsr-inline-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.itsr-cta-btn-primary {
    display: inline-block;
    background: var(--itsr-cta) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.3s ease;
}

.itsr-cta-btn-primary:hover {
    background: var(--itsr-cta-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,97,30,0.3);
}

.itsr-cta-btn-secondary {
    display: inline-block;
    background: transparent !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    padding: 14px 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 8px;
    text-decoration: none !important;
    text-align: center;
    transition: all 0.3s ease;
}

.itsr-cta-btn-secondary:hover {
    border-color: var(--itsr-sky);
    color: var(--itsr-sky) !important;
}

.itsr-cta-btn-secondary .fa {
    margin-right: 6px;
}

/* ══════════════════════════════════════════════
   BUTTONS (global)
   ══════════════════════════════════════════════ */

input[type="submit"],
button[type="submit"] {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.itsr-cta-btn,
a.itsr-cta-btn {
    background: var(--itsr-cta) !important;
    color: #fff !important;
    border: 2px solid var(--itsr-cta) !important;
    padding: 18px 48px;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.0625rem;
    font-weight: 700;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
}

.itsr-cta-btn:hover,
a.itsr-cta-btn:hover {
    background: var(--itsr-cta-hover) !important;
    border-color: var(--itsr-cta-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,97,30,0.3);
}

/* ══════════════════════════════════════════════
   WP BLOCK COLUMNS — Override NFD/Bluehost forced sizing
   NFD forces: flex: 0 0 calc(75% - 6px) !important
   We must use attribute selectors to re-apply the correct
   inline flex-basis values with !important to win.
   ══════════════════════════════════════════════ */

.wp-block-columns {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    box-sizing: border-box;
}

.wp-block-columns > .wp-block-column {
    min-width: 0 !important;
    scroll-snap-align: unset !important;
    scroll-snap-stop: unset !important;
}

/* Match specific flex-basis values from WP inline styles */
.wp-block-columns > .wp-block-column[style*="flex-basis:66"] {
    flex: 0 1 66.66% !important;
}

.wp-block-columns > .wp-block-column[style*="flex-basis:50"] {
    flex: 0 1 50% !important;
}

.wp-block-columns > .wp-block-column[style*="flex-basis:33"] {
    flex: 0 1 33.33% !important;
}

.wp-block-columns > .wp-block-column[style*="flex-basis:25"] {
    flex: 0 1 25% !important;
}

/* Columns without explicit flex-basis share space equally */
.wp-block-columns > .wp-block-column:not([style*="flex-basis"]) {
    flex: 1 1 0% !important;
}

@media (max-width: 781px) {
    .wp-block-columns {
        flex-wrap: wrap !important;
    }
    .wp-block-columns > .wp-block-column,
    .wp-block-columns > .wp-block-column[style*="flex-basis"] {
        flex: 0 0 100% !important;
    }
}

/* ══════════════════════════════════════════════
   ABOUT PAGE — 4-IMAGE GALLERY GRID
   ══════════════════════════════════════════════ */

.itsr-about-gallery {
    margin-bottom: 0;
}

.itsr-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* WordPress wpautop inserts <br> between images — hide them in grid */
.itsr-gallery-grid br {
    display: none;
}

.itsr-gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.itsr-gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ══════════════════════════════════════════════
   SERVICES PAGE — FULL-WIDTH CTA BANNER
   ══════════════════════════════════════════════ */

.itsr-services-banner {
    clear: both;
    width: 100% !important;
    background: linear-gradient(135deg, #0E2237 0%, #1a3a55 100%) !important;
    margin: 3rem 0 0 0;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
}

.itsr-services-banner-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 3rem;
    text-align: center;
}

.itsr-services-banner h2,
.post-single-content .itsr-services-banner h2,
.entry-content .itsr-services-banner h2,
#innerpage-box .entry-content .itsr-services-banner h2,
#innerpage-box .post-single-content .itsr-services-banner h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.25rem !important;
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 1rem;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.itsr-services-banner p,
.post-single-content .itsr-services-banner p,
.entry-content .itsr-services-banner p,
#innerpage-box .entry-content .itsr-services-banner p,
#innerpage-box .post-single-content .itsr-services-banner p {
    font-size: 1.25rem !important;
    color: rgba(255,255,255,0.85) !important;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.itsr-services-banner-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   CTA SECTION (inline in pages)
   ══════════════════════════════════════════════ */

.itsr-cta-section {
    background: linear-gradient(135deg, #0E2237 0%, #1a3a55 100%) !important;
    color: #fff !important;
    padding: 4rem 3rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
}

.itsr-cta-section h3,
.post-single-content .itsr-cta-section h3,
.entry-content .itsr-cta-section h3,
.single-our-services .post-single-content .itsr-cta-section h3,
#innerpage-box .post-single-content .itsr-cta-section h3,
#innerpage-box .entry-content .itsr-cta-section h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    color: #fff !important;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.itsr-cta-section p,
.post-single-content .itsr-cta-section p,
.entry-content .itsr-cta-section p,
.single-our-services .post-single-content .itsr-cta-section p,
#innerpage-box .post-single-content .itsr-cta-section p,
#innerpage-box .entry-content .itsr-cta-section p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.itsr-cta-section:hover {
    box-shadow: 0 8px 32px rgba(15,42,63,0.15);
}

/* ══════════════════════════════════════════════
   PROCESS FLOW SHORTCODE [itsr_process_flow]
   ══════════════════════════════════════════════ */

/* Process flow — 3x2 card grid, big icons, bullet lists */
.itsr-process-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 2.5rem 0;
}

.itsr-process-step {
    background: var(--itsr-bg-soft);
    border: 1px solid var(--itsr-border);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.itsr-process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(14,34,55,0.1);
}

.itsr-step-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--itsr-blue);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.itsr-step-circle:hover,
.itsr-step-circle.active {
    background: var(--itsr-sky);
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(56,189,248,0.25);
}

.itsr-step-num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--itsr-navy);
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    text-align: center;
    color: #fff;
}

.itsr-step-circle .fa {
    font-size: 2.25rem;
}

.itsr-step-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--itsr-navy);
    margin: 0 0 0.75rem;
}

/* Bullet list inside each process card */
.itsr-step-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left;
}

.itsr-step-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--itsr-text);
    text-indent: 0 !important;
    list-style: none !important;
}

.itsr-step-list li:last-child {
    margin-bottom: 0;
}

.itsr-step-list li:before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--itsr-blue);
    font-size: 0.8rem;
}

/* Legacy paragraph desc (in case still used) */
.itsr-step-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--itsr-text);
    margin: 0;
    padding: 0;
}

/* ══════════════════════════════════════════════
   FAQ PAGE
   ══════════════════════════════════════════════ */

#content-box .faq-content button.accordion:before {
    color: var(--itsr-blue) !important;
}

#content-box .faq_tp h4,
#content-box .faq_bm h4 {
    color: var(--itsr-navy) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
}

#content-box .faq_tp h4:before,
#content-box .faq_bm h4:before {
    border-color: var(--itsr-blue) !important;
}

#content-box .faqimg:after {
    border-color: var(--itsr-blue) !important;
}

#content-box .faq-form input[type="submit"] {
    background-color: var(--itsr-blue) !important;
}

.wp-block-details {
    border: 1px solid var(--itsr-border);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.wp-block-details:hover {
    border-color: var(--itsr-blue);
}

.wp-block-details summary {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 1rem 1.25rem;
    cursor: pointer;
    color: var(--itsr-navy);
    background: var(--itsr-bg-alt);
    font-size: 1.0625rem;
}

.wp-block-details[open] summary {
    border-bottom: 1px solid var(--itsr-border);
    color: var(--itsr-blue);
}

/* FAQ answer panel — override parent theme's purple gradient */
div#content-box .faq-content div.panel {
    background: var(--itsr-bg-alt) !important;
    color: var(--itsr-text) !important;
}

div#content-box .faq-content div.panel p {
    color: var(--itsr-text) !important;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* FAQ accordion titles — bigger, readable */
div#content-box .faq-content .accordion {
    font-size: 1.125rem;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600;
    color: var(--itsr-navy);
}

/* ══════════════════════════════════════════════
   INNER PAGES — Consistent accent colors
   ══════════════════════════════════════════════ */

#innerpage-box .service-title-box .inner-area-title:hover {
    color: var(--itsr-blue) !important;
}

#innerpage-box .service-icon i {
    color: var(--itsr-blue) !important;
}

#innerpage-box .servicesinn .btn5 a:before {
    background: linear-gradient(to right bottom, var(--itsr-blue) 50%, transparent 51%) !important;
}

#innerpage-box .servicesinn .btn5 a:hover {
    border-color: var(--itsr-blue) !important;
}

#innerpage-box .single-project-bx .project-link i:hover {
    background-color: var(--itsr-blue) !important;
}

#innerpage-box .single-project h4.inner-area-title {
    color: var(--itsr-navy) !important;
}

#innerpage-box .single-project h4.inner-area-title:hover {
    color: var(--itsr-blue) !important;
}

#team .section-title .sub-title {
    color: var(--itsr-blue) !important;
}

#innerpage-box .teaminn-page:hover .single-team-img img {
    border-color: var(--itsr-blue) !important;
}

.team-text .team-designation {
    color: var(--itsr-blue) !important;
}

#innerpage-box .teaminn-page .team-social-icon li a {
    background-color: var(--itsr-blue) !important;
}

#innerpage-box .ts-area-c i {
    color: var(--itsr-blue) !important;
}

#innerpage-box .ts-area-c {
    border-color: var(--itsr-blue) !important;
}

#innerpage-box .ts-area-c:before {
    border-color: var(--itsr-blue) transparent transparent transparent !important;
}

#innerpage-box h3.ts-area-title {
    color: var(--itsr-navy) !important;
}

#innerpage-box .spa-gall {
    border-right-color: var(--itsr-blue) !important;
}

#innerpage-box .spa-gall i {
    color: var(--itsr-blue) !important;
}

.title-color {
    color: var(--itsr-blue) !important;
}

/* Breadcrumb / Inner page header */
.breadcrumb-area,
.breadcrumb-section {
    font-family: 'Inter', sans-serif !important;
}

.innerpage-header-overlay,
.page-main-header .overlay1 {
    background: linear-gradient(135deg, rgba(8,20,34,0.88) 0%, rgba(14,34,55,0.75) 100%) !important;
    opacity: 1 !important;
}

.heading-border,
.sidebar-title-border {
    border-color: var(--itsr-blue) !important;
}

/* Back to top */
.back-to-top,
#back-to-top,
.scrollup,
#ht-back-top {
    background: var(--itsr-blue) !important;
    border-radius: 6px;
}

.back-to-top:hover,
#back-to-top:hover,
.scrollup:hover,
#ht-back-top:hover {
    background: var(--itsr-navy) !important;
}

/* Blog page accents */
.blog-page .blog-date li {
    background: var(--itsr-blue) !important;
}

.blog-page .inner-area-title:hover {
    color: var(--itsr-blue) !important;
}

.blog-page .social-share a {
    background: var(--itsr-blue) !important;
}

.pagination .active a,
.pagination .active span,
.pagination .page-numbers.current {
    background: var(--itsr-blue) !important;
    border-color: var(--itsr-blue) !important;
}

/* ══════════════════════════════════════════════
   CONTACT PAGE — Equal heights
   ══════════════════════════════════════════════ */

/* ── Contact Page — Uniform boxes ── */

/* Contact info top boxes — equal height */
#ht-contactus-wrap .address-box {
    display: flex !important;
    flex-wrap: wrap;
}

#ht-contactus-wrap .address-box > .col-md-4 {
    display: flex;
    margin-bottom: 20px;
}

#ht-contactus-wrap .contact_area {
    background: var(--itsr-bg-soft) !important;
    border: 1px solid var(--itsr-border);
    border-radius: 10px;
    padding: 2rem 1.5rem !important;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#ht-contactus-wrap .contact_area:hover {
    border-color: var(--itsr-blue);
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}

#ht-contactus-wrap .contact_l_area {
    flex: 0 0 auto;
}

#ht-contactus-wrap .contact_l_area i {
    font-size: 2rem !important;
    color: var(--itsr-blue) !important;
}

#ht-contactus-wrap .contact-label {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.08em;
    color: var(--itsr-muted) !important;
    margin-bottom: 4px;
}

#ht-contactus-wrap .contact-info {
    flex: 1;
}

#ht-contactus-wrap .contact-info a {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 600;
    color: var(--itsr-navy) !important;
}

#ht-contactus-wrap .contact-info a:hover {
    color: var(--itsr-blue) !important;
}

/* Map + Form side by side */
.page-template-contact-template #ht-contactus-wrap .row,
.page-template-contact-template #ht-contactus-wrap > .container > .row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
}

.page-template-contact-template #ht-contactus-wrap .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.page-template-contact-template .contact-mapbox,
.page-template-contact-template .google-map {
    flex: 1;
    min-height: 450px;
    border-radius: 10px;
    overflow: hidden;
}

.page-template-contact-template .google-map iframe,
.page-template-contact-template .contact-mapbox iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 450px;
    border-radius: 10px;
}

/* "Send Us a Message" heading */
.page-template-contact-template .Address_area h4,
.page-template-contact-template .social_area h4 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    font-size: 1.75rem !important;
    color: var(--itsr-navy) !important;
    margin-bottom: 1.5rem;
}

/* Form container next to map */
.page-template-contact-template .Address_area {
    background: var(--itsr-bg-soft);
    border: 1px solid var(--itsr-border);
    border-radius: 10px;
    padding: 2rem !important;
}

.page-template-contact-template .contact-icon i {
    color: var(--itsr-blue) !important;
}

/* Hide the social area section on contact page */
.page-template-contact-template .social_area {
    display: none !important;
}

/* ══════════════════════════════════════════════
   CONTACT PAGE — New full-width layout
   ══════════════════════════════════════════════ */

/* -- Contact Page Hero -- */
.itsr-contact-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.itsr-contact-hero h2,
.entry-content .itsr-contact-hero h2,
.post-single-content .itsr-contact-hero h2,
#innerpage-box .entry-content .itsr-contact-hero h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 800;
    color: var(--itsr-navy) !important;
    margin-bottom: 0.75rem;
}

.itsr-contact-hero p,
.entry-content .itsr-contact-hero p,
#innerpage-box .entry-content .itsr-contact-hero p {
    font-size: 1.25rem;
    color: var(--itsr-text);
    max-width: 600px;
    margin: 0 auto;
}

/* -- Contact Info Boxes (3 across) -- */
.itsr-contact-info-bar {
    display: flex;
    gap: 24px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.itsr-contact-item {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    background: #fff;
    border: 2px solid var(--itsr-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.itsr-contact-item:hover {
    border-color: var(--itsr-blue);
    box-shadow: 0 6px 20px rgba(14,34,55,0.1);
}

.itsr-contact-item > .fa,
.itsr-contact-item > span.fa,
.itsr-contact-item > i.fa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--itsr-navy);
    color: #fff !important;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.itsr-contact-item strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--itsr-navy);
    margin-bottom: 2px;
}

.itsr-contact-item a {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--itsr-navy) !important;
}

.itsr-contact-item a:hover {
    color: var(--itsr-blue) !important;
}

.itsr-contact-item div {
    font-size: 1.1875rem;
    color: var(--itsr-navy);
    font-weight: 600;
    line-height: 1.5;
}

/* -- Contact Form Section (centered, full content width) -- */
.itsr-contact-form-section {
    background: var(--itsr-bg-soft);
    border: 2px solid var(--itsr-border);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-sizing: border-box;
}

.itsr-contact-form-section .wpforms-container {
    max-width: 700px;
    margin: 0 auto;
}

.itsr-contact-form-section h3,
.entry-content .itsr-contact-form-section h3,
.post-single-content .itsr-contact-form-section h3,
#innerpage-box .entry-content .itsr-contact-form-section h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 800;
    color: var(--itsr-navy) !important;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* -- Contact Map (centered, full content width) -- */
.itsr-contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
    border: 2px solid var(--itsr-border);
}

.itsr-contact-map iframe {
    width: 100% !important;
    height: 450px !important;
    display: block;
}

/* ══════════════════════════════════════════════
   WPFORMS — Clean, professional, visible labels
   ══════════════════════════════════════════════ */

.wpforms-container .wpforms-field-label {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    color: var(--itsr-navy);
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.wpforms-container .wpforms-field-sublabel {
    font-size: 0.9375rem;
    color: var(--itsr-muted);
    margin-top: 4px;
}

.wpforms-container .wpforms-field {
    margin-bottom: 1.5rem;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="number"],
.wpforms-container textarea,
.wpforms-container select {
    border: 2px solid var(--itsr-border) !important;
    border-radius: 8px !important;
    padding: 16px 18px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.125rem !important;
    color: var(--itsr-text) !important;
    background: #fff !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    line-height: 1.5 !important;
    height: auto !important;
}

.wpforms-container select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23334155' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
}

.wpforms-container select option {
    font-size: 1.125rem !important;
    padding: 10px !important;
    color: var(--itsr-text) !important;
}

.wpforms-container textarea {
    min-height: 160px;
}

.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder {
    color: var(--itsr-muted) !important;
    font-size: 1rem;
}

.wpforms-container input:focus,
.wpforms-container textarea:focus,
.wpforms-container select:focus {
    border-color: var(--itsr-blue) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1) !important;
}

.wpforms-container .wpforms-submit {
    background: var(--itsr-cta) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    border: none !important;
    border-radius: 8px;
    padding: 18px 48px;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wpforms-container .wpforms-submit:hover {
    background: var(--itsr-cta-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,97,30,0.3);
}

/* Blog sidebar / widget forms */
.widget .wpforms-container {
    background: var(--itsr-bg-soft);
    border: 1px solid var(--itsr-border);
    border-radius: 10px;
    padding: 1.5rem;
}

/* ══════════════════════════════════════════════
   SERVICE DETAIL PAGES
   ══════════════════════════════════════════════ */

/* Service detail pages — clean, aligned, elegant */
/* Service CPT pages use .post-single-content (NOT .entry-content) */
.single-our-services .post-single-content h2,
.single-our-services .entry-content h2 {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--itsr-navy);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    margin-top: 2.5rem;
    text-indent: 0;
}

.single-our-services .post-single-content h3,
.single-our-services .entry-content h3 {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--itsr-navy);
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--itsr-blue);
    text-indent: 0;
}

.single-our-services .post-single-content p,
.single-our-services .entry-content p {
    font-size: 1.25rem;
    line-height: 1.85;
    color: var(--itsr-text);
    margin-bottom: 1.25rem;
    text-indent: 0 !important;
    padding-left: 0;
}

.single-our-services .post-single-content ul,
.single-our-services .entry-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 0 1.5rem 0;
}

.single-our-services .post-single-content ul li,
.single-our-services .entry-content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--itsr-text);
    text-indent: 0 !important;
    list-style: none !important;
}

.single-our-services .post-single-content ul li:before,
.single-our-services .entry-content ul li:before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--itsr-blue);
    font-size: 0.9rem;
}

.single-our-services .post-single-content ul li strong,
.single-our-services .entry-content ul li strong {
    color: var(--itsr-navy);
    font-weight: 700;
    font-size: 1.0625rem;
}

.single-our-services .post-single-content ol,
.single-our-services .entry-content ol {
    padding-left: 1.5rem !important;
    margin: 0 0 1.5rem 0;
}

.single-our-services .post-single-content ol li,
.single-our-services .entry-content ol li {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--itsr-text);
    margin-bottom: 0.75rem;
    text-indent: 0 !important;
    padding-left: 0.5rem;
}

/* ══════════════════════════════════════════════
   BLOCKQUOTES
   ══════════════════════════════════════════════ */

blockquote {
    border-left: 4px solid var(--itsr-blue);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--itsr-bg-alt);
    border-radius: 0 8px 8px 0;
}

blockquote p:first-child {
    font-style: italic;
    color: var(--itsr-slate);
    margin-bottom: 0;
    font-size: 1.0625rem;
}

blockquote p:last-child {
    color: var(--itsr-muted);
    font-size: 0.9375rem;
    margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════
   SMOOTH SCROLL
   ══════════════════════════════════════════════ */

html {
    scroll-behavior: smooth;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   INNER PAGE SERVICES (uses .servicesinn not .single-service-bx)
   ══════════════════════════════════════════════ */

#innerpage-box .servicesinn .single-service {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--itsr-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#innerpage-box .servicesinn .single-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(15,42,63,0.08);
}

#innerpage-box .servicesinn .service-icon .ovrly,
#innerpage-box .servicesinn .service-icon .ovrly2 {
    background: linear-gradient(to top, rgba(15,42,63,0.6) 0%, transparent 50%) !important;
}

#innerpage-box .service-title-box {
    background: #fff !important;
    padding: 1.25rem !important;
}

#innerpage-box .service-title-box .inner-area-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    color: var(--itsr-navy) !important;
}

#innerpage-box .service-title-box p {
    font-size: 1.0625rem !important;
    line-height: 1.7 !important;
    color: var(--itsr-text) !important;
}

#innerpage-box .servicesinn .btn5 a {
    background: var(--itsr-navy) !important;
    background-image: none !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 24px !important;
    border: 1px solid var(--itsr-navy) !important;
}

#innerpage-box .servicesinn .btn5 a:before {
    display: none !important;
}

#innerpage-box .servicesinn .btn5 a:hover {
    background: var(--itsr-blue) !important;
    border-color: var(--itsr-blue) !important;
    color: #fff !important;
}

/* ══════════════════════════════════════════════
   ABOUT PAGE SIDEBAR — Contact Us box fix
   ══════════════════════════════════════════════ */

.nfd-bg-surface,
[class*="is-style-nfd-theme"] {
    background-color: var(--itsr-bg-alt) !important;
    color: var(--itsr-text) !important;
}

.nfd-bg-surface p,
.nfd-bg-surface a,
.nfd-bg-surface span,
[class*="is-style-nfd-theme"] p,
[class*="is-style-nfd-theme"] a,
[class*="is-style-nfd-theme"] span {
    color: var(--itsr-text) !important;
}

.nfd-bg-surface h2,
.nfd-bg-surface h3,
.nfd-bg-surface h4,
[class*="is-style-nfd-theme"] h2,
[class*="is-style-nfd-theme"] h3,
[class*="is-style-nfd-theme"] h4 {
    color: var(--itsr-navy) !important;
}

.nfd-bg-surface a:hover,
[class*="is-style-nfd-theme"] a:hover {
    color: var(--itsr-blue) !important;
}

/* Force sidebar contact details visible */
.wp-block-group.is-style-nfd-theme-primary-15,
.wp-block-group[class*="nfd-theme"],
.sidebar .wp-block-group {
    background-color: var(--itsr-bg-alt) !important;
    color: var(--itsr-text) !important;
    padding: 1.5rem !important;
    border-radius: 10px !important;
    border: 1px solid var(--itsr-border) !important;
}

.wp-block-group.is-style-nfd-theme-primary-15 p,
.wp-block-group.is-style-nfd-theme-primary-15 a,
.wp-block-group[class*="nfd-theme"] p,
.wp-block-group[class*="nfd-theme"] a {
    color: var(--itsr-text) !important;
    font-size: 1rem;
}

/* ══════════════════════════════════════════════
   GLOBAL OVERRIDES — Kill parent theme defaults
   ══════════════════════════════════════════════ */

/* Override parent theme's service button diagonal gradient */
.service-area .btn5 a {
    background-image: none !important;
}

/* Override parent theme's service card title bg */
.service-area .service-title-box {
    background-color: #fff !important;
}

/* Inner page headings — consistent font */
#innerpage-box h1,
#innerpage-box h2,
#innerpage-box h3,
#innerpage-box h4 {
    font-family: 'Montserrat', sans-serif !important;
}

#innerpage-box p,
#innerpage-box li {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.125rem;
    color: var(--itsr-text);
    line-height: 1.7;
}

/* Inner page breadcrumb header — SAIC-sized */
.page-main-header h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -0.02em;
}

/* ── GLOBAL TEXT RESET — No indentation anywhere ── */
.post-single-content p,
.post-single-content li,
.post-single-content h2,
.post-single-content h3,
.post-single-content h4,
.entry-content p,
.entry-content li,
.entry-content h2,
.entry-content h3,
.entry-content h4,
#innerpage-box p,
#innerpage-box li {
    text-indent: 0 !important;
}

.post-single-content ul,
.entry-content ul,
#innerpage-box ul {
    list-style-position: inside;
    padding-left: 0;
}

/* Inner page body content — readable, SAIC-sized */
#innerpage-box .entry-content p,
#innerpage-box .entry-content li,
#innerpage-box .post-single-content p,
#innerpage-box .post-single-content li {
    font-size: 1.25rem;
    line-height: 1.85;
    color: var(--itsr-text);
    text-indent: 0 !important;
}

/* Inner page headings — bold, SAIC-sized */
#innerpage-box .entry-content h2,
#innerpage-box .post-single-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--itsr-navy);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-indent: 0 !important;
}

#innerpage-box .entry-content h3,
#innerpage-box .post-single-content h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--itsr-navy);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    text-indent: 0 !important;
}

/* Inner page lists — uniform alignment, no browser indent */
#innerpage-box .entry-content ul,
#innerpage-box .post-single-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

#innerpage-box .entry-content ul li,
#innerpage-box .post-single-content ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    list-style: none !important;
    text-indent: 0 !important;
}

#innerpage-box .entry-content ul li:before,
#innerpage-box .post-single-content ul li:before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--itsr-blue);
    font-size: 0.85rem;
}

#innerpage-box .entry-content ol,
#innerpage-box .post-single-content ol {
    padding-left: 1.5rem !important;
    margin-left: 0 !important;
}

#innerpage-box .entry-content ol li,
#innerpage-box .post-single-content ol li {
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
    text-indent: 0 !important;
}

/* Consistent inner page backgrounds */
#innerpage-box {
    background: #fff;
}

#innerpage-box .entry-content,
#innerpage-box .post-single-content {
    padding-bottom: 40px;
}

/* ══════════════════════════════════════════════
   COMMENT FORM — Visible labels and styled fields
   ══════════════════════════════════════════════ */

.comment-form label {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--itsr-navy);
    display: block;
    margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    border: 2px solid var(--itsr-border) !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.125rem !important;
    color: var(--itsr-text) !important;
    background: #fff !important;
    width: 100%;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--itsr-blue) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1) !important;
}

.comment-form .form-submit input[type="submit"] {
    background: var(--itsr-cta) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    font-size: 1.125rem;
    border: none !important;
    border-radius: 8px;
    padding: 16px 44px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form .form-submit input[type="submit"]:hover {
    background: var(--itsr-cta-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,97,30,0.3);
}

/* ══════════════════════════════════════════════
   PAGE HEADER BANNER — Taller for fixed header clearance
   ══════════════════════════════════════════════ */

.page-main-header {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.page-main-header h1 {
    margin-bottom: 10px;
}

.page-main-header .breadcrumb-area {
    padding-bottom: 20px;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .slider_section .item .title,
    .slider_section .slider_content .title {
        font-size: 2.75rem;
    }

    .section-title h2,
    .service-area .section-title h2,
    #about .section-title h2,
    #production-section .section-title h2,
    #testimonials .section-title h2,
    .blog-area .section-title h2 {
        font-size: 2.25rem !important;
    }

    #features-section .features-inn .feabx .mem-inn {
        min-height: 220px;
    }

    .mainm > li > a,
    #menu-menu-menu > li > a {
        font-size: 14px !important;
        padding: 8px 9px !important;
    }

    .ht-section,
    #about,
    #counter,
    #production-section,
    #service,
    #banner,
    #project,
    #testimonials,
    #blog,
    #newsletter {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
}

@media (max-width: 991px) {
    /* On mobile, parent theme sets header to position:relative.
       Override to keep it fixed like SAIC. */
    .header-transparent,
    header.header-transparent {
        position: fixed !important;
    }

    /* ── Slider: make text visible on mobile ── */
    /* Parent theme sets slide-mainimg to 400px which clips the text.
       Increase height and make slider_content responsive. */
    .slider_section .slide-mainimg {
        height: 550px !important;
        object-fit: cover;
    }

    .slider_content {
        width: 90% !important;
        left: 5% !important;
        top: 50% !important;
        transform: translateY(-50%);
        padding: 0 10px;
        box-sizing: border-box;
    }

    .slider_section .item .title,
    .slider_section .slider_content .title {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        max-width: 100%;
    }

    .slider_section .item .sub-title,
    .slider_section .slider_content .sub-title {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        max-width: 100%;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .slider_section .btn5 {
        margin-top: 0.75em !important;
    }

    .slider_section .btn5 a {
        padding: 12px 28px !important;
        font-size: 0.875rem !important;
    }

    /* Reset column widths on tablet/mobile */
    .head-mob .logo.col-xl-3,
    .head-mob .col-xl-9.HeaderRbx {
        flex: unset !important;
        max-width: unset !important;
    }

    /* On mobile: show phone icon only, hide all text/email/button */
    header .Rqst-btn {
        top: 0 !important;
        padding: 0 !important;
        text-align: center;
    }

    .itsr-phone-row {
        justify-content: center;
        gap: 0;
        margin-bottom: 0;
    }

    /* Hide everything except the phone icon */
    .itsr-phone-text,
    .Rqst-btn a.itsr-header-email,
    .Rqst-btn a.itsr-header-contact-btn {
        display: none !important;
    }

    /* Phone icon: tappable link */
    .itsr-phone-icon {
        padding: 8px !important;
    }

    .itsr-phone-icon i.fa,
    .itsr-phone-row > i.fa {
        font-size: 22px !important;
    }

    body:not(.home) .page-main-header {
        padding-top: 100px;
        padding-bottom: 16px;
        min-height: 0 !important;
    }

    body:not(.home) #innerpage-box {
        padding-top: 30px;
    }

    /* Ensure parent theme top-bar icons stay hidden on mobile */
    .head-inn {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* Footer grid — 2 columns on tablet */
    .itsr-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .itsr-footer-top {
        padding: 2.5rem 0 2rem;
    }

    /* Footer bottom info — stack */
    .itsr-footer-info {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    /* Inline CTA — stack vertically */
    .itsr-inline-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .itsr-inline-cta-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body, p, li { font-size: 1rem; }
    h1, .page-main-header h1 { font-size: 2rem !important; }
    h2, .section-title h2 { font-size: 1.75rem !important; }

    #features-section .features-inn .feabx {
        width: calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        flex: 0 0 calc(50% - 10px) !important;
    }

    #production-section .production-inn .prodbx {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }

    .counter-area .couneter-box {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
        margin-bottom: 20px;
    }

    #production-section .prodbx-innbx:after {
        display: none !important;
    }

    #banner .banner-inn h2 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    #banner .banner-inn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }

    #banner .banner-inn a {
        font-size: 1.1rem;
        display: block;
    }

    .itsr-process-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .itsr-process-step {
        padding: 1.5rem 1.25rem;
    }

    .itsr-cta-section {
        padding: 2rem 1.25rem;
    }

    .page-template-contact-template #ht-contactus-wrap .row {
        flex-direction: column !important;
    }

    .page-template-contact-template .google-map {
        min-height: 300px;
    }

    /* Contact page — stack info boxes on tablet */
    .itsr-contact-info-bar {
        flex-direction: column;
        gap: 16px;
    }

    .itsr-contact-item {
        flex-direction: row;
        text-align: left;
    }

    .itsr-contact-item > .fa,
    .itsr-contact-item > i.fa {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }

    .itsr-contact-form-section {
        padding: 2rem 1.5rem;
    }

    .itsr-contact-map iframe {
        height: 350px !important;
    }

    /* Footer grid — still 2 columns at 768px */
    .itsr-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    /* Inline CTA buttons — stack on smaller tablet */
    .itsr-inline-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .itsr-cta-btn-primary,
    .itsr-cta-btn-secondary {
        width: 100%;
    }

    /* Inner page headings scale down */
    #innerpage-box .entry-content h2,
    #innerpage-box .post-single-content h2 {
        font-size: 1.75rem !important;
    }

    #innerpage-box .entry-content h3,
    #innerpage-box .post-single-content h3 {
        font-size: 1.375rem !important;
    }

    .ht-section,
    #about,
    #counter,
    #production-section,
    #service,
    #banner,
    #project,
    #testimonials,
    #blog,
    #newsletter {
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }
}

@media (max-width: 480px) {
    .slider_section .slide-mainimg {
        height: 500px !important;
    }

    .slider_section .item .title,
    .slider_section .slider_content .title {
        font-size: 1.375rem !important;
        line-height: 1.25 !important;
    }

    .slider_section .item .sub-title,
    .slider_section .slider_content .sub-title {
        font-size: 0.875rem !important;
        line-height: 1.4 !important;
    }

    .slider_section .btn5 a {
        padding: 10px 24px !important;
        font-size: 0.8125rem !important;
    }

    #features-section .features-inn .feabx {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    #features-section .features-inn .feabx .mem-inn {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    #production-section .production-inn .prodbx {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .counter-area .couneter-box {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .itsr-process-flow {
        grid-template-columns: 1fr;
    }

    .itsr-step-circle {
        width: 70px;
        height: 70px;
    }

    .itsr-step-circle .fa {
        font-size: 1.75rem;
    }

    .itsr-step-title {
        font-size: 1.125rem;
    }

    .itsr-step-list li {
        font-size: 1rem;
    }

    .itsr-cta-section h3 {
        font-size: 1.25rem;
    }

    /* Footer grid — single column on mobile */
    .itsr-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .itsr-footer-top {
        padding: 2rem 0 1.5rem;
    }

    .itsr-footer-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .itsr-footer-col {
        align-items: center;
    }

    /* Inline CTA — tighter on mobile */
    .itsr-inline-cta-inner {
        padding: 1.75rem 1.25rem;
        gap: 1.25rem;
    }

    .itsr-inline-cta-text h3 {
        font-size: 1.25rem !important;
    }

    .itsr-inline-cta-text p {
        font-size: 1rem !important;
    }

    /* Contact boxes stack */
    #ht-contactus-wrap .address-box {
        flex-direction: column;
    }

    .ht-section,
    #about,
    #counter,
    #production-section,
    #service,
    #banner,
    #project,
    #testimonials,
    #blog,
    #newsletter {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }
}

/* ══════════════════════════════════════════════
   FONT SCALE TOGGLE — Dev Tool (remove before deploy)
   ══════════════════════════════════════════════ */

.itsr-font-scale-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    background: #0E2237;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    font-family: 'Inter', sans-serif;
    color: #fff;
    min-width: 220px;
}

.itsr-font-scale-panel h4 {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #38BDF8;
}

.itsr-font-scale-panel .itsr-scale-info {
    font-size: 11px;
    color: #94A3B8;
    margin-bottom: 12px;
}

.itsr-font-scale-btns {
    display: flex;
    gap: 6px;
}

.itsr-font-scale-btns button {
    flex: 1;
    padding: 10px 0;
    border: 2px solid #334155;
    border-radius: 8px;
    background: transparent;
    color: #CBD5E1;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.itsr-font-scale-btns button:hover {
    border-color: #38BDF8;
    color: #fff;
}

.itsr-font-scale-btns button.active {
    background: #E8611E;
    border-color: #E8611E;
    color: #fff;
}

.itsr-scale-current {
    margin-top: 10px;
    font-size: 12px;
    color: #94A3B8;
    text-align: center;
}
