/* TSH Inner Pages Stylesheet */

/* Page Hero Section */
.page-hero-wrapper {
    background-color: #050508;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 45vh;
    /* padding-top: 140px;
    padding-bottom: 60px; */
}

[data-bs-theme="light"] .page-hero-wrapper {
    background-color: #050508; /* Keep hero section dark for premium developer vibe even in light mode */
}

/* Breadcrumb Styling */
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
    content: "→";
}
.breadcrumb-item a {
    transition: color 0.2s ease;
}
.breadcrumb-item a:hover {
    color: #fff !important;
}

/* Glassmorphism Cards for Inner Pages */
.card-glass-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-bs-theme="light"] .card-glass-premium {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.card-glass-premium:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.15);
}

/* Stat Cards */
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #fff 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-bs-theme="light"] .stat-number {
    background: linear-gradient(135deg, #212529 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Team Section */
.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

[data-bs-theme="light"] .team-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}

.team-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.team-img {
    transition: transform 0.5s ease;
    object-fit: cover;
    height: 320px;
    width: 100%;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-social-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(5, 5, 8, 0.9) 0%, rgba(5, 5, 8, 0) 100%);
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
    transition: all 0.3s ease;
    opacity: 0;
}

.team-card:hover .team-social-overlay {
    bottom: 0;
    opacity: 1;
}

/* Contact Page Form & Styling */
.contact-info-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.form-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

[data-bs-theme="light"] .form-glass {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #212529;
}

.form-glass:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
    color: #fff;
}

[data-bs-theme="light"] .form-glass:focus {
    background: #fff;
    color: #212529;
}

/* FAQ Accordion Styling */
.accordion-glass .accordion-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 16px !important;
    overflow: hidden;
}

[data-bs-theme="light"] .accordion-glass .accordion-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-glass .accordion-button {
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 20px;
    box-shadow: none;
}

[data-bs-theme="light"] .accordion-glass .accordion-button {
    color: #212529;
}

.accordion-glass .accordion-button:not(.collapsed) {
    color: var(--primary-color);
}

.accordion-glass .accordion-button::after {
    filter: invert(1);
}

[data-bs-theme="light"] .accordion-glass .accordion-button::after {
    filter: none;
}

.accordion-glass .accordion-body {
    padding: 0 20px 20px;
    color: rgba(255, 255, 255, 0.7);
}

[data-bs-theme="light"] .accordion-glass .accordion-body {
    color: #555;
}

/* Service Details & Capabilities Grid */
.capability-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

[data-bs-theme="light"] .capability-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.capability-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Tech Stack Pills */
.tech-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

[data-bs-theme="light"] .tech-pill {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #212529;
}

.tech-pill:hover {
    background: rgba(13, 110, 253, 0.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Process Timeline (Services) */
.process-step-pill {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.4);
}

/* CTA Banner for inner pages */
.inner-cta-banner {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(83, 53, 229, 0.1) 100%);
    border: 1px solid rgba(13, 110, 253, 0.15);
    border-radius: 32px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

[data-bs-theme="light"] .inner-cta-banner {
    background: linear-gradient(135deg, #0d6efd 0%, #5335e5 100%);
    border: none;
    color: #fff !important;
}

[data-bs-theme="light"] .inner-cta-banner h2,
[data-bs-theme="light"] .inner-cta-banner p {
    color: #fff !important;
}

[data-bs-theme="light"] .inner-cta-banner .btn-light {
    background: #fff;
    color: #0d6efd;
    border: none;
}

[data-bs-theme="light"] .inner-cta-banner .btn-light:hover {
    background: #f4f4f4;
    color: #5335e5;
}

/* Section transitions and utility */
.section-padding {
    padding: 80px 0;
}
.text-light-muted {
    color: rgba(255, 255, 255, 0.7);
}
[data-bs-theme="light"] .text-light-muted {
    color: #555;
}

/* WordPress Dropdown / Sub-Menu styling for Offcanvas */
#mainOffcanvas .sub-menu {
    list-style: none;
    margin-left: 0;
    padding-left: 20px;
    margin-top: 10px;
    /* border-left: 1px solid rgba(13, 110, 253, 0.2); */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#mainOffcanvas .sub-menu .nav-link {
    font-size: 21px;
    color: rgba(255, 255, 255, 0.65) !important;
    padding: 4px 0;
    letter-spacing: 0.02em;
    font-weight: 600;
}

[data-bs-theme="light"] #mainOffcanvas .sub-menu .nav-link {
    color: #212529 !important;
}

#mainOffcanvas .sub-menu .nav-link:hover {
    color: #0d6efd !important;
    padding-left: 5px;
    transition: all 0.2s ease;
}

/* Align all page containers with custom header max-width */
@media (min-width: 1200px) {
    .site-content .container {
        max-width: 1180px !important;
    }
}

/* ── Dark Mode Text Visibility & Background Overrides ────────────────── */
html[data-bs-theme="dark"] h1,
html[data-bs-theme="dark"] h2,
html[data-bs-theme="dark"] h3,
html[data-bs-theme="dark"] h4,
html[data-bs-theme="dark"] h5,
html[data-bs-theme="dark"] h6,
html[data-bs-theme="dark"] .h1,
html[data-bs-theme="dark"] .h2,
html[data-bs-theme="dark"] .h3,
html[data-bs-theme="dark"] .h4,
html[data-bs-theme="dark"] .h5,
html[data-bs-theme="dark"] .h6 {
    color: #f7fafc !important;
}

html[data-bs-theme="dark"] p,
html[data-bs-theme="dark"] li,
html[data-bs-theme="dark"] .text-light-muted {
    color: #c9d1d9 !important;
}

html[data-bs-theme="dark"] .text-muted-gray {
    color: #a0aab5 !important;
}

html[data-bs-theme="dark"] .text-secondary {
    color: #b8c2cc !important;
}

html[data-bs-theme="dark"] .text-dark-emphasis {
    color: #f7fafc !important;
}

/* Glassmorphism card text color adjustments in dark mode */
html[data-bs-theme="dark"] .capability-card h3,
html[data-bs-theme="dark"] .card-glass-premium h3,
html[data-bs-theme="dark"] .card-glass-premium h4,
html[data-bs-theme="dark"] .card-glass-premium h5,
html[data-bs-theme="dark"] .accordion-glass .accordion-button {
    color: #ffffff !important;
}

html[data-bs-theme="dark"] .capability-card p,
html[data-bs-theme="dark"] .card-glass-premium p,
html[data-bs-theme="dark"] .accordion-glass .accordion-body {
    color: #b8c2cc !important;
}

/* Ensure background colors of inner page sections are deep premium dark */
html[data-bs-theme="dark"] .site-content {
    background-color: #050508 !important;
}

html[data-bs-theme="dark"] section.bg-body-tertiary {
    background-color: #090a0f !important;
}

html[data-bs-theme="dark"] section.bg-body {
    background-color: #050508 !important;
}

html[data-bs-theme="dark"] .accordion-glass .accordion-item {
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-bs-theme="dark"] .accordion-glass .accordion-button {
    background-color: transparent !important;
    color: #ffffff !important;
}

html[data-bs-theme="dark"] .accordion-glass .accordion-button:not(.collapsed) {
    color: var(--primary-color) !important;
}

/* Page Hero Badge & Breadcrumb Alignment overrides */
html[data-bs-theme="dark"] .page-hero-wrapper .badge.bg-white,
html[data-bs-theme="dark"] .page-hero-wrapper .badge.text-dark {
    color: #111318 !important;
    background-color: #ffffff !important;
}

.page-hero-wrapper .breadcrumb,
.page-hero-wrapper ol.breadcrumb,
.page-hero-wrapper nav[aria-label="breadcrumb"] {
    padding-left: 0 !important;
    margin-left: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: transparent !important;
}

.page-hero-wrapper .breadcrumb-item {
    margin-left: 0 !important;
}

.page-hero-wrapper .breadcrumb-item:first-child {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Pagination Styling */
.pagination-glass,
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding: 0;
    list-style: none;
}

.pagination-glass .page-numbers,
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-bs-theme="light"] .pagination-glass .page-numbers,
[data-bs-theme="light"] .pagination .page-numbers {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #212529 !important;
}

.pagination-glass .page-numbers:hover,
.pagination-glass .page-numbers.current,
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.35);
    transform: scale(1.05);
}

/* Rich Text Content Styling (Single Post details) */
.rich-text-content {
    line-height: 1.75;
    font-size: 1.125rem;
}

.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4,
.rich-text-content h5,
.rich-text-content h6 {
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Antonio', sans-serif;
    letter-spacing: -0.02em;
}

[data-bs-theme="light"] .rich-text-content h1,
[data-bs-theme="light"] .rich-text-content h2,
[data-bs-theme="light"] .rich-text-content h3,
[data-bs-theme="light"] .rich-text-content h4,
[data-bs-theme="light"] .rich-text-content h5,
[data-bs-theme="light"] .rich-text-content h6 {
    color: #212529;
}

.rich-text-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="light"] .rich-text-content p {
    color: #444;
}

.rich-text-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
}

[data-bs-theme="light"] .rich-text-content blockquote {
    background: rgba(0, 0, 0, 0.02);
    color: #2b3035;
}

.rich-text-content ul,
.rich-text-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="light"] .rich-text-content ul,
[data-bs-theme="light"] .rich-text-content ol {
    color: #444;
}

.rich-text-content li {
    margin-bottom: 0.5rem;
}

.rich-text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2rem 0;
}



