/* =========================================================
   OrbitAvanya Tech — Refactor Layer
   Sits on top of style.css. Handles: theme system, navbar
   rebuild, mobile menu, marquee, testimonials, service
   timeline, footer balance, team carousel + image fixes,
   and global micro-interactions.
   ========================================================= */

/* ---------- 0. TYPOGRAPHY ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&display=swap');

/* ---------- 1. THEME TOKENS ---------- */
:root {
    --accent: #EF0548;
    --accent-rgb: 239, 5, 72;
    --accent-dark: #A30339;
    --surface: #ffffff;
    --surface-alt: #F5F8FC;
    --text-strong: #04213F;
    --text-body: #4B5A6E;
    --border-soft: rgba(4, 33, 63, 0.08);
    --shadow-soft: 0 10px 30px rgba(4, 33, 63, 0.08);
    --shadow-lift: 0 20px 45px rgba(239, 5, 72, 0.18);
    --transition-smooth: all 0.35s cubic-bezier(.22,.61,.36,1);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body, p, li, span, input, textarea, button, a {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6,
.title, .sub-title,
.theme-btn, .header-btn,
.main-menu ul li a,
.process-step__title, .expertise-card__title,
.testimonial-card__name, .num, .trust-stat-card .num {
    font-family: var(--font-heading) !important;
    letter-spacing: -0.01em;
}

h1.title, h2.title {
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

/* ---------- 2. KILL THE HEADER GAP ---------- */
.header-gutter { display: none !important; min-height: 0 !important; height: 0 !important; }

header.header-1 { background: var(--surface); box-shadow: 0 1px 0 var(--border-soft); transition: var(--transition-smooth); }

.top-header { display: none !important; }

.banner-home, .page-banner { padding-top: 28px; }

@media (max-width: 767px) {
    .banner-home, .page-banner { padding-top: 20px; }
}

/* ---------- 3. NAVBAR LAYOUT ---------- */
.main-header-wraper { 
    padding: 14px 0; 
    position: relative;
}

.main-header-wraper .d-flex.align-items-center.justify-content-between {
    gap: 16px;
    flex-wrap: nowrap;
}

.header-logo {
    flex: 0 0 auto;
    margin-right: auto;
    z-index: 100;
}

.header-menu { margin: 0 auto; flex: 0 1 auto; min-width: 0; }

header.header-1 .main-menu ul { flex-wrap: nowrap; white-space: nowrap; }

@media (min-width: 1200px) and (max-width: 1400px) {
    header.header-1 .main-menu ul > li > a {
        padding-left: 12px !important;
        padding-right: 12px !important;
        font-size: 15px;
    }
}

/* Extra-tight sub-range: full menu + lang selector + theme toggle + 2 CTA buttons
   all compete for space here. Free up room so the language button never
   overlaps the last nav item ("Contact"). */
@media (min-width: 1200px) and (max-width: 1320px) {
    header.header-1 .main-menu ul > li > a {
        padding-left: 9px !important;
        padding-right: 9px !important;
        font-size: 14.5px;
    }
    .header-right { gap: 6px; }
    .lang-selector { margin-right: 2px; }
    .globe-btn { font-size: 17px; padding: 3px; }
    .header-btn.header-btn-small { padding: 8px 12px !important; font-size: 11.5px !important; }
}

header.header-1 .main-menu ul > li > a {
    position: relative;
    transition: var(--transition-smooth);
}

header.header-1 .main-menu ul > li > a::after {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 6px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

header.header-1 .main-menu ul > li:hover > a::after,
header.header-1 .main-menu ul > li.active > a::after {
    transform: scaleX(1);
}

.header-right { flex: 0 0 auto; margin-left: auto; gap: 12px; display: flex; align-items: center; flex-wrap: nowrap; }
.header-right > * { flex-shrink: 0; }

.header-btn.header-btn-small {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 08px 14px !important;
    font-size: 11px !important;
    font-weight: 600;
    line-height: 1.3 !important;
    color: #fff !important;
    background-color: var(--accent) !important;
    background-image: none !important;
    border-radius: 30px !important;
    white-space: nowrap;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.header-btn.header-btn-small i { font-size: 10px !important; margin-left: 2px !important; }

.header-btn.header-btn-small:hover {
    background-color: var(--accent-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}

@media (max-width: 1350px) {
    .header-right {
        gap: 18px;
    }

    .header-btn.header-btn-small {
        padding: 8px 12px !important;
        font-size: 11px !important;
    }

    .globe-btn {
        margin-left: 6px;
    }
}

/* remove the leftover "Contact For Support" widget cleanly if present anywhere */
.header-contact { display: none !important; }

/* ---------- 5. PREMIUM MOBILE MENU ---------- */
#hamburger { font-size: 26px !important; line-height: 1 !important; display: flex !important; align-items: center; }
#hamburger i { line-height: 1; }

.mobile-nav {
    background: var(--surface);
    box-shadow: -20px 0 60px rgba(0,0,0,0.18);
    transition: right 0.45s cubic-bezier(.22,.61,.36,1), left 0.45s cubic-bezier(.22,.61,.36,1);
    padding: 34px 26px;
}

.mobile-nav .close-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--surface-alt);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mobile-nav .close-nav:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }
.mobile-nav .close-nav i { color: var(--text-strong); transition: var(--transition-smooth); }
.mobile-nav .close-nav:hover i { color: #fff; }

.mobile-nav .consulter-mobile-nav > ul { margin-top: 20px; }

.mobile-nav .consulter-mobile-nav > ul > li {
    border-bottom: 1px solid var(--border-soft);
}

.mobile-nav .consulter-mobile-nav > ul > li > a {
    display: block;
    padding: 16px 4px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-strong);
    transition: var(--transition-smooth);
}

.mobile-nav .consulter-mobile-nav > ul > li > a:hover {
    color: var(--accent);
    padding-left: 10px;
}

.mobile-nav .sidebar-nav__bottom h6 { color: var(--text-strong) !important; }

.mobile-nav .sidebar-nav__bottom-contact-infos a,
.mobile-nav .sidebar-nav__bottom-contact-infos li {
    color: var(--text-body);
}

.mobile-nav .sidebar-nav__bottom-social ul {
    display: flex;
    gap: 10px;
}

.mobile-nav .sidebar-nav__bottom-social ul li a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--text-strong);
    transition: var(--transition-smooth);
}

.mobile-nav .sidebar-nav__bottom-social ul li a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.offcanvas-overlay { backdrop-filter: blur(3px); transition: opacity 0.4s ease; }

/* ---------- 6. GLOBAL MICRO-INTERACTIONS ---------- */
a, button, .theme-btn, .work-process__item, .team-item, .testimonial__item,
.our-portfolio-home__item, .financial__item, .single-footer-wid a {
    transition: var(--transition-smooth);
}

.theme-btn {
    position: relative;
    overflow: hidden;
}

.theme-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.financial__item, .work-process__item, .our-portfolio-home__item {
    border-radius: 16px;
}

.financial__item:hover, .our-portfolio-home__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

/* ---------- 7. TEAM IMAGE FIX (no stretching) ---------- */
.team-item .media {
    aspect-ratio: 4 / 3.4 !important;
    height: auto !important;
    overflow: hidden;
    border-radius: 14px;
    background: var(--surface-alt);
}

.team-item .media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center;
    transition: transform 0.5s ease;
}

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

.team-item {
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.team-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

/* ---------- 8. HOME TEAM CAROUSEL ---------- */
.team-carousel-wrap { position: relative; }

.team-carousel .slick-track { display: flex; }
.team-carousel .slick-slide { height: auto; padding: 0 14px; }
.team-carousel .slick-slide > div { height: 100%; }

.team-carousel-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--surface);
    color: var(--text-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.team-carousel-arrow:hover { background: var(--accent); color: #fff; box-shadow: var(--shadow-lift); }
.team-carousel-prev { left: -20px; }
.team-carousel-next { right: -20px; }

@media (max-width: 991px) {
    .team-carousel-prev { left: -6px; }
    .team-carousel-next { right: -6px; }
    .team-carousel-arrow { width: 42px; height: 42px; }
}

/* ---------- 9. TRUST MARQUEE (replaces Our Achievements) ---------- */
.trust-marquee-section {
    padding: 60px 0;
    background: var(--surface-alt);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    overflow: hidden;
}

.trust-marquee {
    display: flex;
    width: max-content;
    animation: trust-marquee-scroll 32s linear infinite;
}

.trust-marquee-section:hover .trust-marquee { animation-play-state: paused; }

.trust-marquee__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.trust-marquee__pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 0 34px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text-strong);
}

.trust-marquee__pill i { color: var(--accent); font-size: 14px; }

.trust-marquee__pill:not(:last-child) { border-right: 1px solid var(--border-soft); }

@keyframes trust-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.trust-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 44px;
}

.trust-stat-card {
    flex: 1 1 220px;
    max-width: 280px;
    text-align: center;
    padding: 28px 20px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.trust-stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.trust-stat-card .num { font-size: 34px; font-weight: 800; color: var(--accent); }
.trust-stat-card .label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-body); margin-top: 4px; }

/* ---------- 10. TESTIMONIALS REDESIGN ---------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1400px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(var(--accent-rgb), 0.35);
}

.testimonial-card__quote-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.testimonial-card__stars i { color: #FFB13C; font-size: 13px; margin-right: 2px; }

.testimonial-card__text { color: var(--text-body); font-size: 15.5px; line-height: 1.7; flex: 1; }

.testimonial-card__footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(var(--accent-rgb), 0.25);
}

.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-card__name { font-weight: 700; color: var(--text-strong); font-size: 14.5px; }
.testimonial-card__role { color: var(--text-body); font-size: 12.5px; }

/* ---------- 11. SERVICE WORKFLOW TIMELINE ---------- */
.process-timeline {
    position: relative;
    display: flex;
    gap: 0;
    counter-reset: step;
    margin-top: 20px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 46px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--border-soft) 0 10px, transparent 10px 18px);
    z-index: 0;
}

.process-step {
    flex: 1;
    position: relative;
    text-align: center;
    padding: 0 16px;
    z-index: 1;
}

.process-step__badge {
    width: 92px;
    height: 92px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.process-step__badge::after {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    top: -6px;
    right: -6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step:hover .process-step__badge {
    transform: translateY(-6px) scale(1.05);
    box-shadow: var(--shadow-lift);
    border-color: var(--accent);
}

.process-step__title { font-size: 16px; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.process-step__desc { font-size: 13.5px; color: var(--text-body); line-height: 1.6; }

@media (max-width: 991px) {
    .process-timeline { flex-direction: column; gap: 40px; }
    .process-timeline::before { display: none; }
    .process-step { text-align: left; display: flex; align-items: flex-start; gap: 18px; padding: 0; }
    .process-step__badge { margin: 0; flex-shrink: 0; width: 72px; height: 72px; font-size: 24px; }
    .process-step__text { text-align: left; }
}

/* ---------- 12. FOOTER: SHORTER, BALANCED ---------- */
.footer-top__box {
    padding-bottom: 40px !important;
}

footer.footer-1 .col-md-6.col-xl-3:first-child { padding-right: 20px; }

.single-footer-wid.widget-description img.msme-mark { display: none; }

.recent-post-list .single-recent-post:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }

footer .wid-title { margin-bottom: 18px !important; }

footer .single-footer-wid ul li { margin-bottom: 8px !important; }

footer .single-footer-wid--compact ul.contact-info li { margin-bottom: 10px !important; line-height: 1.5; }

footer .container > .row { padding-top: 10px; }

/* ---------- 44. FOOTER: OFFICE + MAP LAYOUT, REMOVE BG IMAGE, SHRINK EVERYTHING ---------- */
.footer-1,
.footer-1.footer_wrapper {
    background-image: none !important;
    padding-top: 160px !important;
}

@media (max-width: 1199px) {
    .footer-1, .footer-1.footer_wrapper { padding-top: 130px !important; }
}
@media (max-width: 991px) {
    .footer-1, .footer-1.footer_wrapper { padding-top: 150px !important; }
}
@media (max-width: 767px) {
    .footer-1, .footer-1.footer_wrapper { padding-top: 90px !important; }
}

.footer-1.footer-3 { padding-top: 100px !important; }
@media (max-width: 1199px) { .footer-1.footer-3 { padding-top: 80px !important; } }
@media (max-width: 991px) { .footer-1.footer-3 { padding-top: 60px !important; } }
@media (max-width: 767px) { .footer-1.footer-3 { padding-top: 50px !important; } }

.footer-office-map { gap: 22px; align-items: stretch; }
.footer-office-map__text { flex: 1 1 220px; min-width: 200px; }
.footer-office-map__frame { flex: 1 1 220px; min-width: 200px; min-height: 150px; overflow: hidden; }
.footer-office-map__frame iframe { width: 100%; height: 100%; min-height: 150px; border: 0; filter: grayscale(0.3) invert(0.92) contrast(0.9); }

footer.footer-1 .single-footer-wid.site_info_box .description { font-size: 13.5px; line-height: 1.6; }
footer.footer-1 .wid-title { font-size: 16px; margin-bottom: 14px !important; }
footer.footer-1 .single-footer-wid ul li { margin-bottom: 6px !important; font-size: 13.5px; }
footer.footer-1 .single-footer-wid--compact ul.contact-info li,
footer.footer-1 .footer-office-map__text ul.contact-info li { margin-bottom: 8px !important; font-size: 13px; line-height: 1.45; }
footer.footer-1 .newsletter_box input,
footer.footer-1 .newsletter_box button { padding: 12px 18px; font-size: 13px; }
footer .footer-bottom { padding: 14px 0 !important; margin-top: 20px !important; }
footer .footer-bottom-content { font-size: 13px; }
footer .social-profile ul li,
footer .social-profile ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
footer .social-profile ul li a {
    width: 34px !important;
    height: 34px !important;
    font-size: 13px !important;
    line-height: normal !important;
    padding: 0 !important;
    text-align: center !important;
}
footer .social-profile ul li a i {
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

@media (max-width: 767px) {
    .footer-office-map { flex-direction: column; }
}

/* ---------- 46. FOOTER: TIGHTER SPACING, 2-COLUMN QUICK LINKS, MAP ABOVE LOCATION ---------- */
.footer-top__box { padding-bottom: 24px !important; }
footer.footer-1 .single-footer-wid { margin-bottom: 20px !important; }
footer .container > .row { padding-top: 0 !important; }

/* Remove the large gap between footer links (was gap:20px / margin-bottom:8px per item) */
.footer-1 .single-footer-wid ul { gap: 0 !important; }
footer.footer-1 .single-footer-wid ul li,
.footer-1 .single-footer-wid ul li { margin-bottom: 2px !important; }
footer.footer-1 .single-footer-wid ul li a { padding: 2px 0 2px 15px; line-height: 1.3; }

/* Quick Links: two columns instead of one long list */
footer.footer-1 .single-footer-wid.pl-xl-10.pl-50 { padding-left: 0 !important; }
footer.footer-1 .single-footer-wid.pl-xl-10.pl-50 ul {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px 10px !important;
    width: 100%;
}
footer.footer-1 .single-footer-wid.pl-xl-10.pl-50 ul li {
    min-width: 0;
}
footer.footer-1 .single-footer-wid.pl-xl-10.pl-50 ul li a {
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
    font-size: 14px;
    line-height: 1.35;
}

/* Office Location: address and map sit side-by-side again, but the map is
   smaller and the address column has a fixed width so it wraps into 2-3
   short lines instead of stretching the row full-width. */
.footer-office-map {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 20px !important;
}
.footer-office-map__text { flex: 0 0 240px; max-width: 240px; min-width: 200px; }
.footer-office-map__frame { order: 0; flex: 1 1 auto; min-height: 110px; max-height: 130px; }
.footer-office-map__frame iframe { min-height: 110px; }
footer.footer-1 .footer-office-map__text ul.contact-info li { margin-bottom: 5px !important; }
footer.footer-1 .footer-office-map__text .wid-title { margin-bottom: 10px !important; }

@media (max-width: 767px) {
    .footer-office-map__text { flex: 1 1 100%; max-width: 100%; }
    .footer-office-map__frame { min-height: 150px; max-height: none; }
    .footer-office-map__frame iframe { min-height: 150px; }
}

footer .footer-bottom { padding: 12px 0 !important; margin-top: 12px !important; }

/* ---------- 45. FIX: <a> inside .title always inherited red from global `a{color:red}` rule ---------- */
.title a,
h1.title a, h2.title a, h3.title a, h4.title a, h5.title a, h6.title a {
    color: inherit !important;
}
.title a:hover { color: var(--accent) !important; }

/* ---------- 46. FIX: portfolio "View Details" button unreadable at rest (white text on light pink) ---------- */
.our-portfolio-home__item .content .btn-link-share .theme-btn {
    color: var(--text-strong) !important;
}
.our-portfolio-home__item .content .btn-link-share .theme-btn:hover,
.our-portfolio-home__item .content .btn-link-share .theme-btn:focus {
    color: #fff !important;
}

/* ---------- 47. FIX: "View All Project" / any btn-border unreadable in dark theme ---------- */
html[data-theme="dark"] .theme-btn.btn-border {
    color: var(--ice);
    border-color: var(--line);
}
html[data-theme="dark"] .theme-btn.btn-border:after { background: var(--ice); }
html[data-theme="dark"] .theme-btn.btn-border:hover,
html[data-theme="dark"] .theme-btn.btn-border:focus {
    color: var(--navy-950);
}

/* ---------- 48. FIX: testimonial CEO text + marquee labels + quick-contact text in dark theme ---------- */
html[data-theme="dark"] .testimonial-card__name { color: var(--ice) !important; }
html[data-theme="dark"] .testimonial-card__role,
html[data-theme="dark"] .testimonial-card__text { color: var(--mute) !important; }
html[data-theme="dark"] .trust-stat-card .label { color: var(--mute) !important; }

html[data-theme="dark"] .trust-marquee__pill { color: var(--mute) !important; }
html[data-theme="dark"] .trust-marquee__pill:not(:last-child) { border-right-color: var(--line) !important; }
html[data-theme="dark"] .quick-contact-card__label { color: var(--mute) !important; }
html[data-theme="dark"] .quick-contact-card__value { color: var(--ice) !important; }

/* ---------- 49. OFFICE CARDS: follow dark navy theme like the rest of the site ---------- */
html[data-theme="dark"] .office-locations {
    background-color: var(--navy-950) !important;
}
html[data-theme="dark"] .office-locations .title,
html[data-theme="dark"] .office-locations .sub-title {
    color: var(--ice) !important;
}
html[data-theme="dark"] .office-card {
    background-color: var(--navy-900) !important;
    border-color: var(--line) !important;
}
.office-card__title { color: #000 !important; }
html[data-theme="dark"] .office-card__title { color: var(--ice) !important; }
.office-card__desc { color: #000 !important; opacity: 0.7; }
html[data-theme="dark"] .office-card__desc { color: var(--mute) !important; opacity: 1; }

/* ---------- 50. SERVICES PAGE TEXT IN DARK THEME ---------- */
html[data-theme="dark"] .similar-work__item { background-color: var(--navy-900) !important; border-color: var(--line) !important; }
html[data-theme="dark"] .similar-work__item .description,
html[data-theme="dark"] .similar-work__item p { color: var(--mute) !important; }

/* ---------- 51. REMOVE "BLACK PANEL" HERO BACKGROUND IN DARK THEME ---------- */
html[data-theme="dark"] .page-banner {
    background-color: transparent !important;
}
html[data-theme="dark"] .page-banner:before { display: none; }

/* ---------- 52. CONTACT PAGE: SOCIAL LINKS WITH LABEL BELOW ICON ---------- */
.direct-contact-row__social {
    display: flex;
    gap: 14px;
}
.direct-contact-row__social a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    margin-left: 0 !important;
}
.direct-contact-row__social a i,
.direct-contact-row__social a .social-icon {
    font-size: 16px;
}

html[data-theme="dark"] .direct-contact-row__social a {
    color: var(--accent) !important;
}
html[data-theme="dark"] .direct-contact-row__social a i {
    color: var(--accent) !important;
}

/* ---------- CTA button groups: space out stacked/wrapped buttons ---------- */
.theme-btn__wrapper {
    gap: 16px;
    row-gap: 14px;
}

@media (max-width: 575px) {
    .theme-btn__wrapper { gap: 12px; row-gap: 12px; }
}

.footer-bottom { margin-top: 12px !important; padding: 12px 0; }

footer .recent-post-list .thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
footer .recent-post-list .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 13. ACCENT COLOR APPLICATION ---------- */
.banner-home .highlight { color: var(--accent); }

.theme-btn.fw-600.btn-red,
a.theme-btn.btn-red {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
}

.header-btn.header-btn-small,
.theme-btn:not(.btn-white-border) {
    background-color: var(--accent);
}

.header-btn.header-btn-small:hover,
.theme-btn:not(.btn-white-border):hover {
    background-color: var(--accent-dark);
}

/* ---------- Kill orange hover sweep, keep the effect in-theme ----------
   .theme-btn / .btn-white / .btn-red use an animated diagonal ":after"
   wipe that defaults to orange (#FF9C00). Swap it for the brand's own
   darker accent so hovering still gives a clear visual effect without
   ever turning any button orange. */
.theme-btn:after,
.theme-btn.btn-white:after,
.theme-btn.btn-red:after {
    background: var(--accent-dark) !important;
}

.theme-btn:hover,
.theme-btn:focus,
.theme-btn.btn-white:hover,
.theme-btn.btn-white:focus,
.theme-btn.btn-red:hover,
.theme-btn.btn-red:focus {
    background-color: var(--accent-dark) !important;
    color: #fff;
}

.process-step__badge i,
.trust-marquee__pill i,
.testimonial-card__quote-icon,
header.header-1 .main-menu ul > li:hover > a,
header.header-1 .main-menu ul > li.active > a {
    color: var(--accent);
}

.our-team-home-1 .team-item .theme-btn,
.theme-btn.text-uppercase {
    box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.25);
}

/* ---------- 17. OUR APPROACH: CARD HOVER ---------- */
.why-choose__item.why-choose__item-two {
    transition: var(--transition-smooth);
    border-radius: 16px;
}

.why-choose__item-wrapper:hover .why-choose__item.why-choose__item-two {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
}

.why-choose__item.why-choose__item-two .icon {
    transition: var(--transition-smooth);
}

.why-choose__item-wrapper:hover .why-choose__item.why-choose__item-two .icon {
    transform: scale(1.12) rotate(-4deg);
    color: var(--accent);
}

/* ---------- 18. EXPERTISE GRID (replaces accordion) ---------- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 10px 24px 0;
}

@media (max-width: 991px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .expertise-grid { grid-template-columns: 1fr; margin: 10px 0 0; } }

@media (max-width: 1199px) { .expertise-grid { grid-template-columns: repeat(3, 1fr); margin: 10px 16px 0; } }
@media (max-width: 767px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); margin: 10px 8px 0; } }
@media (max-width: 480px) { .expertise-grid { grid-template-columns: 1fr; margin: 10px 0 0; } }

.expertise-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 28px 22px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.expertise-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(var(--accent-rgb), 0.35);
}

.expertise-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    transition: var(--transition-smooth);
}

.expertise-card:hover .expertise-card__icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}

.expertise-card__title { font-size: 15.5px; font-weight: 700; color: var(--text-strong); margin-bottom: 10px; }
.expertise-card__desc { font-size: 13.5px; color: var(--text-body); line-height: 1.6; }

/* ---------- 19. ABOUT PAGE: IMAGE + TEXT LAYOUT ---------- */
.about-media-stack {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding-top: 36px;
}

.about-media-stack__primary {
    flex: 1 1 58%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    aspect-ratio: 3 / 4;
}

.about-media-stack__primary img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-media-stack__secondary {
    flex: 1 1 38%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    aspect-ratio: 3 / 4;
    align-self: flex-end;
    margin-bottom: 6%;
}

.about-media-stack__secondary img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-media-stack__badge {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--accent);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: var(--shadow-lift);
    text-align: center;
    min-width: 110px;
    z-index: 2;
}

.about-media-stack__badge .number { font-size: 24px; font-weight: 800; }
.about-media-stack__badge .number sup { font-size: 14px; }

@media (max-width: 991px) {
    .about-media-stack { margin-bottom: 20px; }
    .about-media-stack__badge { padding: 12px 16px; min-width: 90px; }
}

@media (max-width: 575px) {
    .about-media-stack { flex-direction: column; align-items: stretch; }
    .about-media-stack__primary, .about-media-stack__secondary { flex: none; width: 100%; margin-bottom: 0; aspect-ratio: 16 / 10; }
}

/* ---------- 20. PROJECT CARD HOVER POLISH ---------- */
.our-project__item, .our-portfolio-home__item {
    transition: var(--transition-smooth);
    border-radius: 16px;
}

.our-project__item:hover, .our-portfolio-home__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

/* ---------- 21. CONTACT PAGE REDESIGN ---------- */
.quick-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: -18px;
}

.quick-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 280px;
    max-width: 340px;
    padding: 22px 24px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.quick-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(var(--accent-rgb), 0.35);
}

.quick-contact-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.quick-contact-card__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-body); margin-bottom: 4px; }
.quick-contact-card__value { font-size: 15px; font-weight: 700; color: var(--text-strong); margin: 0; word-break: break-word; }

.office-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1199px) { .office-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .office-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .office-grid { grid-template-columns: 1fr; } }

.office-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 22px 20px;
    transition: var(--transition-smooth);
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(var(--accent-rgb), 0.35);
}

.office-card--soon { opacity: 0.6; }

.office-card__icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(var(--accent-rgb), 0.12); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.office-card__title { font-size: 14.5px; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.office-card__desc { font-size: 12.5px; color: var(--text-body); line-height: 1.55; margin: 0; }

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

@media (max-width: 991px) { .contact-split { grid-template-columns: 1fr; } }

.contact-split__map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 420px;
}

.contact-split__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

.contact-split__form {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 44px;
    box-shadow: var(--shadow-soft);
}

@media (max-width: 575px) {
    .contact-split__form { padding: 28px 22px; }
}

/* ---------- 22. ACCESSIBILITY ---------- */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .trust-marquee { animation: none; }
    * { scroll-behavior: auto !important; }
}

/* ---------- 23. NAVBAR SCROLL ANIMATION ---------- */
header.header-1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

header.header-1.navbar-hidden {
    transform: translateY(-100%);
}

body {
    padding-top: 0;
}

/* ---------- 26. THE PROBLEM SECTION ---------- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-soft);
    border-left: 1px solid var(--border-soft);
    margin-top: 50px;
}

.problem-card {
    border-right: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 40px 34px;
    background: var(--surface);
}

.problem-card__num {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

.problem-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 12px;
    line-height: 1.3;
}

.problem-card__desc {
    font-size: 14.5px;
    color: var(--text-body);
    line-height: 1.65;
    margin: 0;
}

.problem-card--cta {
    background: var(--text-strong);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem-card--cta .problem-card__num { color: var(--accent); }
.problem-card--cta .problem-card__title { color: #fff; }
.problem-card--cta .problem-card__desc { color: rgba(255,255,255,0.7); margin-bottom: 22px; }

.problem-card--cta .problem-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    padding: 12px 22px;
    width: fit-content;
    transition: var(--transition-smooth);
}

.problem-card--cta .problem-card__link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateX(4px);
}

.problem-card:hover:not(.problem-card--cta) { background: var(--accent); }
.problem-card:hover:not(.problem-card--cta) * { color: #fff !important; }

@media (max-width: 991px) {
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .problem-grid { grid-template-columns: 1fr; }
}

/* ---------- 27. SECTOR / SOLUTIONS BY SECTOR ---------- */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.sector-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
}

.sector-card__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 14px;
}

.sector-card__title { font-size: 21px; font-weight: 700; color: var(--text-strong); margin-bottom: 12px; }
.sector-card__desc { font-size: 14px; color: var(--text-body); line-height: 1.65; margin-bottom: 20px; }

.sector-card__tags { display: flex; gap: 8px; flex-wrap: wrap; }

.sector-card__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    color: var(--text-strong);
    transition: var(--transition-smooth);
}

.sector-card:hover .sector-card__tag { border-color: rgba(255,255,255,0.4); }

@media (max-width: 991px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sector-grid { grid-template-columns: 1fr; } }

/* ---------- 28. PRODUCT ECOSYSTEM PAGE ---------- */
.product-ecosystem-section { background: #04213F; padding: 100px 0; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.product-card {
    background: #161F35;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.product-card:hover {
    border-color: var(--accent);
    background: #16213A;
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(239, 5, 72,0.25);
}

.product-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 5px 12px;
    margin-bottom: 18px;
}

.product-card__title { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.product-card__desc { font-size: 13.5px; color: rgba(255,255,255,0.65); line-height: 1.6; margin-bottom: 22px; }

.product-card__stats { display: flex; gap: 22px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }
.product-card__stat-num { font-size: 18px; font-weight: 800; color: #fff; }
.product-card__stat-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); }

@media (max-width: 991px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }

.product-card__stats { display: flex; gap: 22px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; margin-top: auto; }

.product-card__widget { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; margin-top: auto; }

.product-card__widget-row { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; color: rgba(255,255,255,0.4); margin-bottom: 8px; }

.product-card__sparkline { width: 100%; height: 42px; display: block; }

.product-card__segments { display: flex; gap: 6px; height: 8px; }
.product-card__segments span { flex: 1; background: rgba(255,255,255,0.12); border-radius: 0; }
.product-card__segments span.is-active { background: #EF0548; }

.product-card__progress { width: 100%; height: 6px; background: rgba(255,255,255,0.12); overflow: hidden; margin-bottom: 10px; }
.product-card__progress-bar { height: 100%; background: #EF0548; }
.product-card__widget-caption { font-size: 12px; color: rgba(255,255,255,0.5); }

.product-card__dot-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.75); }
.product-card__dot { width: 8px; height: 8px; border-radius: 50%; background: #2ECC71; flex-shrink: 0; }

.product-card__widget--donut { display: flex; align-items: center; gap: 16px; }
.product-card__donut-text .product-card__stat-num { font-size: 15px; margin-bottom: 2px; }
.product-card__donut-text .product-card__stat-num .product-card__stat-label { font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.5); margin-left: 4px; }
.product-card__donut-text .product-card__stat-label { font-size: 11px; text-transform: none; letter-spacing: normal; }

/* ---------- 29. HOW WE WORK: 8-STAGE GRID ---------- */
.how-we-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-left: 1px solid rgba(255,255,255,0.12);
    margin-top: 50px;
}

.how-we-work-step {
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 34px 28px;
    transition: var(--transition-smooth);
}

.how-we-work-step__num { display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.how-we-work-step__title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.how-we-work-step__desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.55; margin: 0; }

.how-we-work-step:hover { background: var(--accent); }
.how-we-work-step:hover .how-we-work-step__num,
.how-we-work-step:hover .how-we-work-step__title,
.how-we-work-step:hover .how-we-work-step__desc { color: #fff !important; }

@media (max-width: 991px) { .how-we-work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .how-we-work-grid { grid-template-columns: 1fr; } }
@media (max-width: 1199px) and (min-width: 992px) { .how-we-work-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 30. WHY ORBITAVANYA ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.why-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 30px 26px;
    box-shadow: var(--shadow-soft);
}

.why-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
    transition: var(--transition-smooth);
}

.why-card__title { font-size: 17px; font-weight: 700; color: var(--text-strong); margin-bottom: 10px; }
.why-card__desc { font-size: 13.5px; color: var(--text-body); line-height: 1.6; margin: 0; }

@media (max-width: 991px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- 31. SERVICES CAPABILITIES GRID ---------- */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-soft);
    border-left: 1px solid var(--border-soft);
    margin-top: 50px;
}

.capability-card {
    border-right: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 38px 32px;
    background: var(--surface);
}

.capability-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
    transition: var(--transition-smooth);
}

.capability-card__title { font-size: 18px; font-weight: 700; color: var(--text-strong); margin-bottom: 10px; }
.capability-card__desc { font-size: 13.5px; color: var(--text-body); line-height: 1.6; margin: 0; }

@media (max-width: 991px) { .capabilities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .capabilities-grid { grid-template-columns: 1fr; } }
.testimonial-card,
.expertise-card,
.trust-stat-card,
.quick-contact-card,
.office-card,
.our-project__item,
.our-portfolio-home__item,
.financial__item,
.work-process__item,
.team-item,
.problem-card,
.sector-card,
.why-card,
.capability-card {
    transition: var(--transition-smooth);
    border: 1px solid var(--border-soft);
}

.testimonial-card:hover,
.expertise-card:hover,
.trust-stat-card:hover,
.quick-contact-card:hover,
.office-card:hover,
.our-project__item:hover,
.our-portfolio-home__item:hover,
.financial__item:hover,
.work-process__item:hover,
.team-item:hover,
.problem-card:hover,
.sector-card:hover,
.why-card:hover,
.capability-card:hover {
    border-color: var(--accent) !important;
    background-color: var(--accent) !important;
    box-shadow: var(--shadow-lift) !important;
}

.testimonial-card:hover *,
.expertise-card:hover *,
.trust-stat-card:hover *,
.quick-contact-card:hover *,
.office-card:hover *,
.our-project__item:hover *,
.our-portfolio-home__item:hover *,
.financial__item:hover *,
.work-process__item:hover *,
.team-item:hover *,
.problem-card:hover *,
.sector-card:hover *,
.why-card:hover *,
.capability-card:hover * {
    color: #fff !important;
    border-color: rgba(255,255,255,0.35) !important;
}

.testimonial-card:hover .testimonial-card__quote-icon,
.expertise-card:hover .expertise-card__icon,
.problem-card:hover .problem-card__icon,
.sector-card:hover .sector-card__tag,
.why-card:hover .why-card__icon,
.capability-card:hover .capability-card__icon {
    background: rgba(255,255,255,0.18) !important;
    color: #fff !important;
}

.testimonial-card:hover .testimonial-card__stars i { filter: brightness(0) invert(1); }

/* ---------- 32. FIX: how-we-work section must actually be dark (bg-dark_red utility is a pale pink, not dark) ---------- */
.how-we-work-section.bg-dark_red {
    background-color: #04213F !important;
}
:root { --accent-legacy-blue: none; }
.color-primary { color: var(--accent) !important; }

/* ---------- 33. SQUARE CARDS EVERYWHERE (no rounded corners) ---------- */
.testimonial-card, .expertise-card, .trust-stat-card, .quick-contact-card, .office-card,
.our-project__item, .our-portfolio-home__item, .financial__item, .work-process__item, .team-item,
.problem-card, .sector-card, .product-card, .why-card, .capability-card,
.contact-us__item, .client-feedback__item, .similar-work__item, .client-brand__item,
.testimonial__item, .counter-area__item, .have-any__item, .competitive-edge__item,
.pricing__card, .blog-item, .service_element,
.our-portfolio-home__item .featured-thumb,
.our-portfolio-home__item .featured-thumb img,
.team-item .media, .team-item .media img,
.blog-item .thumb, .blog-item .thumb img,
.our-project__item .thumb, .our-project__item .thumb img,
.similar-work__item .thumb, .similar-work__item .thumb img,
.theme-btn.color-pd_black {
    border-radius: 0 !important;
}

/* ---------- 34. DARK THEME TOKENS ---------- */
:root {
    --navy-950:#04213F;
    --navy-900:#04213F;
    --navy-800:#0A2B4C;
    --navy-700:#0F3459;
    --brand-red:#EF0548;
    --brand-blue:#3D8EC2;
    --blue-600:#0000FF;
    --blue-500:#0000FF;
    --blue-400:#0000FF;
    --blue-300:#0000FF;
    --blue-200:#3333ff;
    --ice:#eaf3fb;
    --mute:#8fa0bf;
    --paper:#f6f8fc;
    --line: rgba(255,255,255,0.14);
    --lineH: rgba(255,255,255,0.22);
}

html[data-theme="dark"] .problem-card,
html[data-theme="dark"] .sector-card,
html[data-theme="dark"] .why-card,
html[data-theme="dark"] .capability-card,
html[data-theme="dark"] .testimonial-card,
html[data-theme="dark"] .trust-stat-card,
html[data-theme="dark"] .expertise-card,
html[data-theme="dark"] .office-card,
html[data-theme="dark"] .quick-contact-card,
html[data-theme="dark"] .similar-work__item,
html[data-theme="dark"] .career-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .case-card,
html[data-theme="dark"] .security-checklist,
html[data-theme="dark"] .product-card-grid-light .product-card,
html[data-theme="dark"] .mv-card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

html[data-theme="dark"] { --accent: var(--brand-red); --accent-dark: #A30339; --accent-rgb: 239, 5, 72; }

html[data-theme="dark"] body { background-color: var(--navy-950); color: var(--ice); }

html[data-theme="dark"] section,
html[data-theme="dark"] .our-company-financial,
html[data-theme="dark"] .page-banner,
html[data-theme="dark"] .mobile-nav,
html[data-theme="dark"] .mobile-nav .sidebar-nav {
    background-color: var(--navy-950);
}

html[data-theme="dark"] header.header-1 .main-header-wraper,
html[data-theme="dark"] header.header-1.stop .main-header-wraper {
    background-color: var(--navy-950) !important;
    border-bottom: 1px solid var(--line);
}

html[data-theme="dark"] header.header-1 .main-menu > ul > li > a { color: var(--ice); }

/* Dropdown submenus keep a white background regardless of theme, so their links must stay dark/readable */
html[data-theme="dark"] header.header-1 .main-menu ul > li > ul li a { color: #04213F !important; }
html[data-theme="dark"] header.header-1 .main-menu ul > li > ul li a:hover { color: #EF0548 !important; }

html[data-theme="dark"] .bg-dark_white,
html[data-theme="dark"] .bg-dark_yellow { background-color: var(--navy-800) !important; }

html[data-theme="dark"] .color-pd_black,
html[data-theme="dark"] .color-d_black,
html[data-theme="dark"] .color-black,
html[data-theme="dark"] .title { color: var(--ice) !important; }

html[data-theme="dark"] p,
html[data-theme="dark"] .font-la,
html[data-theme="dark"] .description,
html[data-theme="dark"] li { color: var(--mute) !important; }

html[data-theme="dark"] .problem-card,
html[data-theme="dark"] .sector-card,
html[data-theme="dark"] .why-card,
html[data-theme="dark"] .capability-card,
html[data-theme="dark"] .testimonial-card,
html[data-theme="dark"] .trust-stat-card,
html[data-theme="dark"] .expertise-card,
html[data-theme="dark"] .office-card,
html[data-theme="dark"] .quick-contact-card {
    background-color: var(--navy-900) !important;
    border-color: var(--line) !important;
}

html[data-theme="dark"] .problem-card__title,
html[data-theme="dark"] .sector-card__title,
html[data-theme="dark"] .why-card__title,
html[data-theme="dark"] .capability-card__title { color: var(--ice); }

html[data-theme="dark"] .problem-card__desc,
html[data-theme="dark"] .sector-card__desc,
html[data-theme="dark"] .why-card__desc,
html[data-theme="dark"] .capability-card__desc { color: var(--mute); }

html[data-theme="dark"] .sector-card__tag { color: var(--ice); border-color: var(--line); }

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
    background-color: var(--navy-900) !important;
    border-color: var(--line) !important;
    color: var(--ice) !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: var(--mute); }

/* Home page "Free Consultation" form sits inside .can-help with its own
   white-background input rules from style.css that don't have a dark-theme
   variant, so the text color/background needs to be re-asserted here. */
html[data-theme="dark"] .can-help .contact-form {
    background-color: var(--navy-900) !important;
}

html[data-theme="dark"] .can-help .contact-form input,
html[data-theme="dark"] .can-help .contact-form textarea {
    background-color: var(--navy-900) !important;
    border-color: var(--line) !important;
    color: var(--ice) !important;
}

html[data-theme="dark"] .can-help .contact-form input::placeholder,
html[data-theme="dark"] .can-help .contact-form textarea::placeholder {
    color: var(--mute) !important;
}

html[data-theme="dark"] .footer-1 { background-color: var(--navy-950) !important; }

.footer-1,
.footer-1.footer_wrapper {
    background-color: #04213F !important;
}

html[data-theme="dark"] .mobile-nav-wrap #hamburger i,
html[data-theme="dark"] .close-nav i { color: var(--ice); }

html[data-theme="dark"] .header-logo img { filter: none; }

/* ---------- 35. THEME TOGGLE BUTTON ---------- */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: transparent;
    color: var(--text-strong);
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    margin-right: 4px;
}

.theme-toggle-btn:hover { border-color: var(--accent); color: var(--accent); }

.theme-toggle-btn .theme-toggle-btn__icon-dark { display: none; }
html[data-theme="dark"] .theme-toggle-btn .theme-toggle-btn__icon-light { display: none; }
html[data-theme="dark"] .theme-toggle-btn .theme-toggle-btn__icon-dark { display: inline-block; }
html[data-theme="dark"] .theme-toggle-btn { border-color: var(--line); color: var(--ice); }

/* ---------- 36. BIGGER NAVBAR ---------- */
header.header-1 .main-header-wraper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

header.header-1 .main-header-wraper .d-flex.align-items-center.justify-content-between {
    min-height: 92px;
}

.header-logo img { max-height: 32px !important; height: 32px !important; width: auto !important; max-width: none !important; }

header.header-1 .main-menu ul > li > a { font-size: 15.5px; padding-top: 16px !important; padding-bottom: 16px !important; }

@media (max-width: 1199px) {
    header.header-1 .main-header-wraper .d-flex.align-items-center.justify-content-between {
        min-height: 64px;
    }
    .header-logo img { max-height: 32px !important; height: 32px !important; }
}

/* ---------- 37. FOOTER LOGO MATCH NAVBAR LOGO SIZE ---------- */
footer.footer-1 .single-footer-wid.site_info_box img { max-height: 32px !important; height: 32px !important; width: auto !important; max-width: none !important; }
footer.footer-1.footer-3 .single-footer-wid.widget-description img { max-height: 32px !important; height: 32px !important; width: auto !important; max-width: none !important; }

/* ---------- 38. MARQUEE STATS BLUE ON HOVER ---------- */
.trust-stat-card { transition: var(--transition-smooth); cursor: default; }
.trust-stat-card:hover .num,
.trust-stat-card:hover .label { color: var(--accent) !important; }

/* ---------- 39. PLANNING SUCCESS VIDEO PLAYER ---------- */
.planning-success__video-wrap {
    position: relative;
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planning-success__playbtn {
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: none;
    background: rgba(239, 5, 72, 0.92);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 0 0 0 rgba(239, 5, 72, 0.55);
    animation: playbtn-blink 1.8s infinite;
}

.planning-success__playbtn:hover { background: var(--accent); }
.planning-success__playbtn i { margin-left: 2px; }

@keyframes playbtn-blink {
    0% { box-shadow: 0 0 0 0 rgba(239, 5, 72, 0.55); }
    70% { box-shadow: 0 0 0 22px rgba(239, 5, 72, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 5, 72, 0); }
}

@media (max-width: 767px) {
    .planning-success__video-wrap { max-width: 200px; margin-top: 30px; }
}

/* ---------- video lightbox modal ---------- */
.video-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 18, 0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.video-lightbox.is-active { display: flex; }

body.video-lightbox-open { overflow: hidden; }

.video-lightbox__frame {
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.video-lightbox__video { width: 100%; height: 100%; display: block; }

/* ---------- 40. ABOUT PAGE: STORY COLLAGE ---------- */
.our-story__collage {
    position: relative;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
    max-width: 480px;
    margin-left: auto;
}

.our-story__collage-main { grid-row: 1 / 3; aspect-ratio: 3 / 4; border: 1px solid var(--border-soft); overflow: hidden; }
.our-story__collage-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.our-story__collage-sub { aspect-ratio: 4 / 3; border: 1px solid var(--border-soft); overflow: hidden; }
.our-story__collage-sub img { width: 100%; height: 100%; object-fit: cover; display: block; }
.our-story__collage-tag { aspect-ratio: 4 / 3; border: 1px solid var(--border-soft); overflow: hidden; background: var(--surface-alt); }
.our-story__collage-tag img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 991px) {
    .our-story__collage { margin: 40px auto 0; max-width: 420px; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .our-story__collage { max-width: 320px; gap: 12px; }
}

/* ---------- 41. MISSION / VISION CARDS ---------- */
.mv-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    padding: 40px 36px;
    height: 100%;
    transition: var(--transition-smooth);
}

.mv-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.mv-card__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.mv-card__title { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--text-strong); margin-bottom: 14px; line-height: 1.35; }
.mv-card__desc { font-size: 14.5px; color: var(--text-body); line-height: 1.7; margin: 0; }

/* ---------- 42. ORIGIN / HOW-WE-GOT-HERE STEPS ---------- */
.origin-steps {
    border-top: 1px solid var(--border-soft);
}

.origin-step {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-soft);
    transition: var(--transition-smooth);
}

.origin-step:hover {
    background: var(--surface-alt);
    padding-left: 16px;
    padding-right: 16px;
    margin: 0 -16px;
}

.origin-step:hover .origin-step__num { color: var(--accent); }

.origin-step__num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-strong);
}

.origin-step__desc { font-size: 14.5px; color: var(--text-body); line-height: 1.7; margin: 0; }
.origin-step__desc a { color: var(--accent); font-weight: 700; white-space: nowrap; margin-left: 4px; }

@media (max-width: 767px) {
    .origin-step { grid-template-columns: 1fr; gap: 8px; }
}

html[data-theme="dark"] .mv-card { background: var(--navy-900); border-color: var(--line); }
html[data-theme="dark"] .mv-card__title { color: var(--ice); }
html[data-theme="dark"] .mv-card__desc { color: var(--mute); }
html[data-theme="dark"] .origin-steps { border-color: var(--line); }
html[data-theme="dark"] .origin-step { border-color: var(--line); }
html[data-theme="dark"] .origin-step__num { color: var(--ice); }
html[data-theme="dark"] .origin-step__desc { color: var(--mute); }
html[data-theme="dark"] .our-story__collage-main,
html[data-theme="dark"] .our-story__collage-sub,
html[data-theme="dark"] .our-story__collage-tag { border-color: var(--line); }

/* ---------- 43. CONTACT PAGE REDESIGN ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.contact-grid__form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-strong);
    margin-bottom: 8px;
}

.contact-grid__form .single-personal-info { margin-bottom: 20px; }

.contact-grid__form input,
.contact-grid__form select,
.contact-grid__form textarea {
    width: 100%;
    border: 1px solid var(--border-soft);
    border-radius: 0;
    padding: 13px 16px;
    font-size: 14px;
    background: var(--surface);
    color: var(--text-strong);
}

.contact-grid__form textarea { min-height: 130px; resize: vertical; }

.direct-contact-list { border-top: 1px solid var(--border-soft); margin-bottom: 30px; }

.direct-contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-soft);
}

.direct-contact-row__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-body);
}

.direct-contact-row__value { font-weight: 400; color: var(--text-strong); font-family: var(--font-heading); }
.direct-contact-row__social a { color: var(--text-strong); font-weight: 700; margin-left: 14px; }
.direct-contact-row__social a:first-child { margin-left: 0; }
.direct-contact-row__value:hover, .direct-contact-row__social a:hover { color: var(--accent); }

.mumbai-map-card {
    background: #04213F;
    padding: 30px 28px;
}

.mumbai-map-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #E0577D;
    margin-bottom: 12px;
}

.mumbai-map-card__title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.mumbai-map-card__frame { width: 100%; height: 200px; overflow: hidden; margin-bottom: 14px; border: 1px solid rgba(255,255,255,0.1); }
.mumbai-map-card__frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) invert(0.9) contrast(0.9); }
.mumbai-map-card__desc { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; }

@media (max-width: 991px) {
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}

html[data-theme="dark"] .contact-grid__form input,
html[data-theme="dark"] .contact-grid__form select,
html[data-theme="dark"] .contact-grid__form textarea { background: var(--navy-900); border-color: var(--line); color: var(--ice); }
html[data-theme="dark"] .contact-grid__form label,
html[data-theme="dark"] .direct-contact-row__label { color: var(--mute); }
html[data-theme="dark"] .direct-contact-row__value { color: var(--ice); }
html[data-theme="dark"] .direct-contact-list,
html[data-theme="dark"] .direct-contact-row { border-color: var(--line); }

/* ---------- 53. CAREERS PAGE REDESIGN ---------- */
.careers-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 26px;
    margin-bottom: 40px;
}

.careers-tabs__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-soft);
    background: transparent;
    color: var(--text-strong);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 11px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.careers-tabs__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    background: var(--surface-alt);
    color: var(--text-body);
    font-size: 11px;
    font-weight: 700;
}

.careers-tabs__btn:hover { border-color: var(--accent); color: var(--accent); }

.careers-tabs__btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.careers-tabs__btn.active .careers-tabs__count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.career-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.career-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.career-card__dept {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.career-card__title { font-size: 20px; font-weight: 700; color: var(--text-strong); margin-bottom: 10px; }
.career-card__desc { font-size: 14px; color: var(--text-body); line-height: 1.65; margin-bottom: 22px; }

.career-card__perks {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    border-top: 1px solid var(--border-soft);
    padding-top: 20px;
    flex: 1;
}

.career-card__perks li {
    font-size: 13.5px;
    color: var(--text-strong);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px !important;
}

.career-card__perks li i { color: var(--accent); font-size: 13px; }
.career-card__perks li.is-unavailable { color: var(--text-body); opacity: 0.55; }
.career-card__perks li.is-unavailable i { color: var(--text-body); }

@media (max-width: 991px) { .careers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .careers-grid { grid-template-columns: 1fr; } }

html[data-theme="dark"] .careers-tabs { border-color: var(--line); }
html[data-theme="dark"] .careers-tabs__btn { border-color: var(--line); color: var(--ice); }
html[data-theme="dark"] .careers-tabs__count { background: var(--navy-800); color: var(--mute); }
html[data-theme="dark"] .career-card { background-color: var(--navy-900) !important; border-color: var(--line) !important; }
html[data-theme="dark"] .career-card__title { color: var(--ice); }
html[data-theme="dark"] .career-card__desc { color: var(--mute); }
html[data-theme="dark"] .career-card__perks { border-color: var(--line); }
html[data-theme="dark"] .career-card__perks li { color: var(--ice); }
html[data-theme="dark"] .career-card__perks li.is-unavailable { color: var(--mute); }

/* ---------- 54. CAREERS PAGE HERO BANNER ---------- */
.page-banner--compact { padding-top: 20px !important; padding-bottom: 20px !important; }
.page-banner--compact .breadcrumb { margin-bottom: 0; }

.join-team-hero {
    background: #04213F;
    padding: 90px 0;
}

.join-team-hero__stats {
    display: flex;
    gap: 36px;
    margin: 32px 0 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.join-team-hero__stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.join-team-hero__stat .num { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: #fff; }
.join-team-hero__stat .label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 4px; }

.join-team-hero__collage {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    max-width: 460px;
    margin-left: auto;
}

.join-team-hero__collage-main { border: 1px solid rgba(255,255,255,0.1); overflow: hidden; }
.join-team-hero__collage-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.join-team-hero__collage-sub { border: 1px solid rgba(255,255,255,0.1); overflow: hidden; align-self: end; }
.join-team-hero__collage-sub img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 991px) {
    .join-team-hero__collage { margin: 40px auto 0; max-width: 380px; }
    .join-team-hero__stats { flex-wrap: wrap; gap: 26px; }
}

@media (max-width: 575px) {
    .join-team-hero { padding: 60px 0; }
    .join-team-hero__stats { gap: 22px; }
    .join-team-hero__stat .num { font-size: 22px; }
}

/* ---------- 55. COMPANY SNAPSHOT TABLE ---------- */
.snapshot-table { border-top: 1px solid var(--border-soft); }

.snapshot-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-soft);
    transition: var(--transition-smooth);
}

.snapshot-row:hover { background: var(--surface); padding-left: 16px; padding-right: 16px; margin: 0 -16px; }

.snapshot-row__label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.snapshot-row__value { font-size: 15px; color: var(--text-strong); line-height: 1.6; }

@media (max-width: 767px) {
    .snapshot-row { grid-template-columns: 1fr; gap: 6px; }
}

html[data-theme="dark"] .snapshot-table,
html[data-theme="dark"] .snapshot-row { border-color: var(--line); }
html[data-theme="dark"] .snapshot-row:hover { background: var(--navy-900); }
html[data-theme="dark"] .snapshot-row__value { color: var(--ice); }

/* ---------- 56. MISSION LIST (bulleted mv-card) ---------- */
.mv-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mv-card__list li {
    position: relative;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
    padding-left: 22px;
    margin-bottom: 12px !important;
}

.mv-card__list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent);
}

html[data-theme="dark"] .mv-card__list li { color: var(--mute); }

/* ---------- 57. DETAILED SERVICE CARDS ---------- */
.service-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lift); }

.service-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.service-card__tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.service-card__title { font-size: 19px; font-weight: 700; color: var(--text-strong); margin-bottom: 12px; line-height: 1.35; }
.service-card__intro { font-size: 14px; color: var(--text-body); line-height: 1.65; margin-bottom: 18px; }
.service-card__subhead { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-strong); margin-bottom: 10px; }

.service-card__caps {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 14px;
}

.service-card__caps li {
    position: relative;
    font-size: 13px;
    color: var(--text-body);
    padding-left: 16px;
    line-height: 1.5;
}

.service-card__caps li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--accent);
}

.service-card__outcome {
    font-size: 13px;
    color: var(--text-body);
    border-top: 1px solid var(--border-soft);
    padding-top: 16px;
    margin-bottom: 16px;
    line-height: 1.6;
}
.service-card__outcome strong { color: var(--text-strong); }

.service-card__link {
    font-weight: 700;
    color: var(--accent);
    margin-top: auto;
}

@media (max-width: 991px) {
    .service-card-grid { grid-template-columns: 1fr; }
    .service-card__caps { grid-template-columns: 1fr; }
}

html[data-theme="dark"] .service-card { background-color: var(--navy-900) !important; border-color: var(--line) !important; }
html[data-theme="dark"] .service-card__title { color: var(--ice); }
html[data-theme="dark"] .service-card__intro,
html[data-theme="dark"] .service-card__caps li,
html[data-theme="dark"] .service-card__outcome { color: var(--mute); }
html[data-theme="dark"] .service-card__subhead,
html[data-theme="dark"] .service-card__outcome strong { color: var(--ice); }
html[data-theme="dark"] .service-card__outcome { border-color: var(--line); }

/* ---------- 58. LIGHT PRODUCT CARDS (category sections on ecosystem page) ---------- */
.product-card-grid-light {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card-grid-light .product-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.product-card-grid-light .product-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lift); }

.product-card-grid-light .product-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 14px;
    width: fit-content;
}

.product-card-grid-light .product-card__title { font-size: 18px; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.product-card-grid-light .product-card__desc { font-size: 13.5px; color: var(--text-body); line-height: 1.6; margin-bottom: 16px; }

.product-card__caps {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    flex: 1;
}

.product-card__caps li {
    position: relative;
    font-size: 12.5px;
    color: var(--text-body);
    padding-left: 16px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.product-card__caps li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--accent);
}

.product-card__link { font-weight: 700; color: var(--accent); margin-top: auto; }

@media (max-width: 991px) { .product-card-grid-light { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .product-card-grid-light { grid-template-columns: 1fr; } }

html[data-theme="dark"] .product-card-grid-light .product-card { background-color: var(--navy-900) !important; border-color: var(--line) !important; }
html[data-theme="dark"] .product-card-grid-light .product-card__title { color: var(--ice); }
html[data-theme="dark"] .product-card-grid-light .product-card__desc,
html[data-theme="dark"] .product-card__caps li { color: var(--mute); }
html[data-theme="dark"] .product-card-grid-light .product-card__tag { border-color: var(--line); }

/* ---------- 59. DARK WHY-CARD VARIANT (used on dark ecosystem section) ---------- */
.why-card--dark {
    background: #161F35;
    border: 1px solid rgba(255,255,255,0.08);
}
.why-card--dark .why-card__title { color: #fff; }
.why-card--dark .why-card__desc { color: rgba(255,255,255,0.6); }
.why-card--dark .why-card__icon { background: rgba(239, 5, 72,0.12); }
.why-card--dark:hover { border-color: var(--accent); }

/* ---------- 60. INDUSTRY DETAIL SECTIONS ---------- */
.industry-col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 16px;
}

.industry-list {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.industry-list li {
    position: relative;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
    padding-left: 20px;
    margin-bottom: 10px !important;
}

.industry-list--challenge li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    background: rgba(var(--accent-rgb), 0.4);
}

.industry-list--help li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    background: var(--accent);
}

.rel-products-wrap {
    border-top: 1px solid var(--border-soft);
    padding-top: 24px;
    margin-top: 10px;
}

.rel-products-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-strong);
    margin-bottom: 12px;
}

.rel-product {
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 6px;
}

.rel-product strong { color: var(--accent); font-family: var(--font-heading); }

html[data-theme="dark"] .industry-list li { color: var(--mute); }
html[data-theme="dark"] .rel-products-wrap { border-color: var(--line); }
html[data-theme="dark"] .rel-products-label { color: var(--ice); }
html[data-theme="dark"] .rel-product { color: var(--mute); }

/* ---------- 61. CASE STUDY CARDS ---------- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.case-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lift); }

.case-card__tag {
    display: inline-block;
    width: fit-content;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 14px;
}

.case-card__title { font-size: 19px; font-weight: 700; color: var(--text-strong); margin-bottom: 6px; line-height: 1.35; }
.case-card__subtitle { font-size: 13.5px; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.case-card__label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-strong); margin-bottom: 6px; margin-top: 14px; }
.case-card__text { font-size: 13.5px; color: var(--text-body); line-height: 1.6; margin: 0; }

.case-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 14px;
}
.case-card__list li {
    position: relative;
    font-size: 12.5px;
    color: var(--text-body);
    padding-left: 14px;
    line-height: 1.5;
}
.case-card__list li:before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; background: var(--accent); }

.case-card__tech { font-size: 12.5px; color: var(--text-body); border-top: 1px solid var(--border-soft); padding-top: 14px; margin-top: 16px; }
.case-card__tech strong { color: var(--text-strong); }
.case-card__outcome { font-size: 13px; color: var(--text-body); font-style: italic; margin: 12px 0 16px; line-height: 1.6; }

@media (max-width: 991px) { .case-grid { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .case-card__list { grid-template-columns: 1fr; } }

html[data-theme="dark"] .case-card { background-color: var(--navy-900) !important; border-color: var(--line) !important; }
html[data-theme="dark"] .case-card__title { color: var(--ice); }
html[data-theme="dark"] .case-card__text,
html[data-theme="dark"] .case-card__list li,
html[data-theme="dark"] .case-card__tech,
html[data-theme="dark"] .case-card__outcome { color: var(--mute); }
html[data-theme="dark"] .case-card__label,
html[data-theme="dark"] .case-card__tech strong { color: var(--ice); }
html[data-theme="dark"] .case-card__tag { border-color: var(--line); }
html[data-theme="dark"] .case-card__tech { border-color: var(--line); }

/* ---------- SECURITY & RELIABILITY ---------- */
.security-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    background: var(--surface-alt);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 30px;
}

.security-checklist__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-strong);
}

.security-checklist__item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    font-size: 14px;
}

@media (max-width: 767px) { .security-checklist { grid-template-columns: 1fr; } }

html[data-theme="dark"] .security-checklist { background: var(--navy-900) !important; border-color: var(--line) !important; }
html[data-theme="dark"] .security-checklist__item { color: var(--ice) !important; }

/* ---------- MEDIA / SOCIAL BUTTONS — restore original brand colors & icons ---------- */
.fab.fa-facebook-f,
.fab.fa-facebook { color: #1877F2 !important; }

.fab.fa-twitter,
.fab.fa-x-twitter { color: #000000 !important; }

.fab.fa-instagram { color: #E1306C !important; }

.fab.fa-linkedin-in,
.fab.fa-linkedin { color: #0A66C2 !important; }

.fab.fa-youtube { color: #FF0000 !important; }

.fab.fa-whatsapp { color: #25D366 !important; }

/* Keep brand color on hover too — media buttons shouldn't shift to the site accent */
.sidebar-nav__bottom-social ul > li a:hover .fab,
.social-profile ul li a:hover .fab,
.footer-social a:hover .fab { color: inherit !important; }

html[data-theme="dark"] .fab.fa-facebook-f,
html[data-theme="dark"] .fab.fa-facebook { color: #1877F2 !important; }
html[data-theme="dark"] .fab.fa-twitter,
html[data-theme="dark"] .fab.fa-x-twitter { color: #ffffff !important; }
html[data-theme="dark"] .fab.fa-instagram { color: #E1306C !important; }
html[data-theme="dark"] .fab.fa-linkedin-in,
html[data-theme="dark"] .fab.fa-linkedin { color: #0A66C2 !important; }
html[data-theme="dark"] .fab.fa-youtube { color: #FF0000 !important; }
html[data-theme="dark"] .fab.fa-whatsapp { color: #25D366 !important; }

/* ---------- Careers stats strip (replaces old duplicate join-team-hero) ---------- */
.careers-stats-strip {
    background: linear-gradient(106.81deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 16px;
    padding: 32px 40px;
    column-gap: 48px;
    row-gap: 20px;
}
.careers-stats-strip .theme-btn { margin-left: 8px; }
@media (max-width: 767px) {
    .careers-stats-strip { padding: 26px 22px; column-gap: 28px; }
    .careers-stats-strip .theme-btn { width: 100%; text-align: center; margin-left: 0; margin-top: 6px; }
}
/* Mobile navbar: keep only logo, theme toggle, and hamburger.
   Hide the CTA buttons (View Our Work / Book Consultation) below desktop width. */
@media (max-width: 1199.98px) {
    header.header-1 .header-right > a.header-btn.header-btn-small {
        display: none !important;
    }
}
/* ---------- 56. FIX: work-process-home mobile huge gap (legacy padding-top: 290px/260px) ---------- */
@media (max-width: 991px) {
    .work-process.work-process-home {
        padding-top: 60px !important;
    }
}
@media (max-width: 575px) {
    .work-process.work-process-home {
        padding-top: 45px !important;
    }
}

/* ---------- 57. FIX: mobile menu social icons invisible against red panel (Instagram/YouTube blended into red bg) ---------- */
.mobile-nav .sidebar-nav__bottom-social ul li a {
    background-color: #ffffff !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.mobile-nav .sidebar-nav__bottom-social ul li a .fab,
.mobile-nav .sidebar-nav__bottom-social ul li a i {
    font-size: 15px;
}
.mobile-nav .sidebar-nav__bottom-social ul li a:hover {
    background-color: var(--accent) !important;
}
.mobile-nav .sidebar-nav__bottom-social ul li a:hover .fab { color: #fff !important; }
.mobile-nav .sidebar-nav__bottom-social h6 { color: #fff !important; }

/* ---------- 58. FIX: hero/banner images bleeding off-screen and getting clipped on mobile ---------- */
@media (max-width: 991px) {
    .banner-home__media {
        margin-right: 0 !important;
        margin-left: 0 !important;
        max-height: none;
        width: 100%;
        z-index: 1 !important;
    }
    .banner-home__media img.img-fluid:not(.start) {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 12px;
    }
    .banner-home__media .start {
        display: none;
    }
}

@media (max-width: 767px) {
    .page-banner__media,
    .page-banner .banner-home__media,
    [class*="__media"] img.img-fluid {
        max-width: 100%;
    }
}

/* ---------- 59. FIX: CTA banner (red box) overlapping/covering footer logo — no compensating footer padding existed ---------- */
.cta-banner {
    margin-bottom: 0 !important;
}

/* ---------- 60. FLOATING WIDGET: WhatsApp only, bottom-left ---------- */
.floating-widget-group {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
}

.floating-widget-group .floating-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.22);
    animation: fwg-float 3s ease-in-out infinite;
    border: none;
    cursor: pointer;
    padding: 0;
}

.floating-widget-group .whatsapp-button {
    background-color: #25D366;
}
.floating-widget-group .whatsapp-button svg { width: 23px; height: 23px; }

@keyframes fwg-float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@media (max-width: 575px) {
    .floating-widget-group { left: 14px; bottom: 14px; }
    .floating-widget-group .floating-button { width: 38px; height: 38px; }
    .floating-widget-group .whatsapp-button svg { width: 20px; height: 20px; }
}

/* ---------- Tawk.to launcher: shrink it in place ----------
   Note: Tawk renders its widget inside a cross-origin iframe served from
   tawk.to's own servers, so its internal artwork (the "We Are Here!" label
   and the waving-hand icon color) can't be recolored from this site's CSS —
   that has to be changed from the Tawk.to dashboard under
   Administration > Chat Widget > Widget Appearance. What we CAN control from
   here is the size of the iframe itself, so we scale the whole bubble down. */
iframe[title="chat widget"],
#tawkchat-container,
.tawk-min-container {
    transform: scale(0.72) !important;
    transform-origin: bottom right !important;
}

/* ---------- 61. TEAM DETAILS PAGE: FIX TEXT OVERFLOW / OVERLAP BUGS ---------- */
/* Bug: the role badge next to the name (e.g. "/ Founder/CEO") was forced
   white-space:nowrap in the base theme, so on narrower screens it ran off
   the edge of the viewport instead of wrapping. */
.team-details__content h2 {
    overflow-wrap: break-word;
}
.team-details__content h2 span {
    white-space: normal !important;
    display: inline-block;
}

/* Bug: on very wide screens, contact-info items (address especially) were
   forced onto a single line and could overflow their column/card. */
.team-details__content .contact-info ul li,
.team-details__content .contact-info ul li a {
    white-space: normal !important;
    overflow-wrap: break-word;
}

/* Fix: E-mail/Nationality (and similar short lists) were being split into
   two side-by-side CSS columns, so "E-mail" and "Nationality" landed on the
   same visual row instead of stacking. Force a single column. */
@media (min-width: 576px) {
    .team-details__content .contact-info ul {
        column-count: 1 !important;
    }
    .team-details__content .contact-info ul li {
        margin-bottom: 15px;
    }
}

/* Bug: education item text could sit flush against the number circle with
   no room to shrink, causing overlap on medium screens. */
.team-details__block .educational-item {
    min-width: 0;
    flex: 1 1 0;
}
.team-details__block .educational-item .text {
    min-width: 0;
    overflow-wrap: break-word;
}