/* ==========================================================================
   PT Segoro Mulyo Solusindo - Flat Minimalist, Modern & Elegant Home Theme
   ========================================================================== */

.home-flat-page {
    background: #ffffff;
    color: #1e293b;
}

.home-flat-page .header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 12px rgba(15, 23, 42, 0.06);
}

.home-flat-page .header .navbar {
    border-bottom-color: #edf2f7;
}

.home-flat-page .header .nav-item-child {
    color: #1e293b;
}

.home-flat-page .header .nav-item-child:hover,
.home-flat-page .header .nav-item-child:focus,
.home-flat-page .header .nav li.active > .nav-item-child {
    color: #4c76b2 !important;
}

.home-flat-page .header .language-switcher {
    background: #f1f4f8;
    border-color: #dbe2ea;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.home-flat-page .header .language-switcher::before {
    color: #718096;
}

.home-flat-page .header .language-switcher button {
    color: #64748b;
}

.home-flat-page .header .language-switcher button:hover,
.home-flat-page .header .language-switcher button:focus {
    color: #1a202c;
    background: rgba(0, 0, 0, 0.05);
}

/* --------------------------------------------------------------------------
   1. Flat Minimalist Split Hero
   -------------------------------------------------------------------------- */
.hf-hero {
    padding: 134px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.hf-hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 44px;
}

.hf-hero-content {
    flex: 1 1 520px;
    max-width: 630px;
}

.hf-hero-visual {
    flex: 1 1 420px;
    min-width: 300px;
}

.hf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 18px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hf-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563eb;
}

.hf-hero h1 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.015em;
}

.hf-hero-lead {
    margin: 0 0 24px;
    color: #475569;
    font-size: 17px;
    line-height: 1.7;
}

.hf-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.hf-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    font-size: 12.5px;
    font-weight: 600;
}

.hf-trust-pill i {
    color: #4c76b2;
    font-size: 13px;
}

.hf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hf-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 25px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(120deg, #4c76b2 0%, #7d5e96 100%);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(76, 118, 178, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hf-btn-primary:hover,
.hf-btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(76, 118, 178, 0.3);
    color: #ffffff !important;
}

.hf-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.hf-btn-secondary:hover,
.hf-btn-secondary:focus {
    border-color: #4c76b2;
    color: #4c76b2 !important;
    background: #f8fafc;
}

/* Flat Minimalist Ecosystem Card on Hero Right */
.hf-ecosystem-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.hf-eco-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.hf-eco-avatar {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: linear-gradient(145deg, #eff6ff 0%, #ffffff 100%);
    border: 1.5px solid #93c5fd;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 4px;
}

.hf-eco-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-fit: contain;
}

.hf-eco-intro strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 3px;
}

.hf-eco-intro span {
    display: block;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
}

.hf-eco-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.hf-eco-item {
    display: block;
    padding: 14px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.hf-eco-item:hover,
.hf-eco-item:focus {
    background: #ffffff;
    border-color: #4c76b2;
    transform: translateY(-2px);
}

.hf-eco-item-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.hf-eco-item-head i {
    color: #4c76b2;
    font-size: 16px;
}

.hf-eco-item-head img {
    width: 22px;
    height: 20px;
    object-fit: contain;
}

.hf-eco-item strong {
    font-size: 13.5px;
    color: #0f172a;
}

.hf-eco-item span {
    display: block;
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

.hf-eco-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 15px;
    background: #f0f7ff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    color: #1e40af;
    font-size: 12px;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   2. Authority Metrics Bar
   -------------------------------------------------------------------------- */
.hf-stats-bar {
    padding: 32px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.hf-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hf-stat-item {
    padding: 8px 16px;
    border-left: 3px solid #4c76b2;
}

.hf-stat-item strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.hf-stat-item span {
    display: block;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   3. Common Flat Section Layout
   -------------------------------------------------------------------------- */
.hf-section {
    padding: 76px 0;
    scroll-margin-top: 74px;
}

.hf-section-alt {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.hf-section-head {
    max-width: 740px;
    margin: 0 auto 44px;
    text-align: center;
}

.hf-section-head h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.hf-section-head p {
    margin: 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   4. About & Value Grid (#tentang & #keunggulan)
   -------------------------------------------------------------------------- */
.hf-about-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
}

.hf-about-text {
    flex: 1 1 560px;
    flex: 1 1 520px;
}

.hf-about-mascot {
    flex: 0 0 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hf-about-mascot img {
    width: 185px;
    height: auto;
    max-height: 315px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.1));
}

.hf-about-mascot-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.hf-about-mascot-copy {
    flex: 1 1 540px;
}

.hf-about-mascot-figure {
    flex: 0 0 240px;
    text-align: center;
    margin: 0 auto;
}

.hf-about-mascot-figure img {
    width: 220px;
    height: auto;
    max-height: 375px;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.11));
}

.hf-mascot-half-cta {
    width: 135px;
    height: auto;
    margin: 0 auto 14px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.09));
}

/* Contact Section & Contact Page Mascot Showcase */
.hf-contact-mascot-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    border-radius: 14px;
}

.hf-contact-mascot-head img {
    flex: 0 0 84px;
    width: 84px;
    height: 86px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.1));
}

.hf-contact-mascot-head strong {
    display: block;
    font-size: 14.5px;
    color: #0f172a;
    margin-bottom: 3px;
}

.hf-contact-mascot-head span {
    display: block;
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
}

.hf-contact-hero-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 24px 26px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.hf-contact-hero-card img {
    flex: 0 0 155px;
    width: 155px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.1));
}

.hf-contact-hero-badge {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 8px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hf-contact-hero-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.hf-contact-hero-card p {
    margin: 0;
    font-size: 13.5px !important;
    color: #475569 !important;
    line-height: 1.55 !important;
}

.hf-contact-info-mascot {
    text-align: center;
    padding: 16px 12px 6px;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    border: 1px solid #dbeafe;
    border-radius: 14px;
}

.hf-contact-info-mascot img {
    width: 145px;
    height: auto;
    max-height: 248px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.1));
}

@media (max-width: 575px) {
    .hf-contact-hero-card {
        flex-direction: column;
        text-align: center;
    }
}

.hf-about-text h2 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 30px;
}

.hf-about-text p {
    margin: 0 0 14px;
    color: #475569;
    font-size: 15.5px;
    line-height: 1.7;
}

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

.hf-flat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hf-flat-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.hf-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #eff6ff;
    color: #4c76b2;
    font-size: 21px;
}

.hf-flat-card h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 19px;
    font-weight: 700;
}

.hf-flat-card p {
    margin: 0;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   5. Flagship Products Showcase (#produk)
   -------------------------------------------------------------------------- */
.hf-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.hf-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hf-product-card.hf-product-featured {
    border: 1.5px solid #4c76b2;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hf-product-card:hover {
    transform: translateY(-4px);
    border-color: #4c76b2;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.hf-product-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hf-product-badge {
    display: inline-block;
    padding: 4px 11px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hf-product-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 22px;
}

.hf-product-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}

.hf-product-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0284c7;
    font-weight: 700;
}

.hf-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4c76b2 !important;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none !important;
}

.hf-card-link:hover {
    color: #1e3a8a !important;
}

/* --------------------------------------------------------------------------
   6. Solutions Bento Grid (#solusi)
   -------------------------------------------------------------------------- */
.hf-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* --------------------------------------------------------------------------
   7. Our Approach 4 Steps (#cara-kerja)
   -------------------------------------------------------------------------- */
.hf-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hf-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 22px;
    position: relative;
}

.hf-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: #eff6ff;
    color: #4c76b2;
    font-size: 15px;
    font-weight: 700;
}

.hf-step-card h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 19px;
}

.hf-step-card p {
    margin: 0;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. Featured Articles Preview (#wawasan)
   -------------------------------------------------------------------------- */
.hf-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hf-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hf-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.hf-article-img {
    display: block;
    width: 100%;
    height: 185px;
    object-fit: cover;
    border-bottom: 1px solid #f1f5f9;
}

.hf-article-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hf-article-cat {
    display: inline-block;
    margin-bottom: 8px;
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hf-article-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.38;
}

.hf-article-body h3 a {
    color: #0f172a;
    text-decoration: none;
}

.hf-article-body h3 a:hover {
    color: #4c76b2;
}

.hf-article-body p {
    margin: 0 0 16px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. FAQ Section (#faq) & Contact Section (#kontak)
   -------------------------------------------------------------------------- */
.hf-faq-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.hf-faq-wrap details {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 12px;
}

.hf-faq-wrap summary {
    color: #0f172a;
    font-size: 16.5px;
    font-weight: 700;
    cursor: pointer;
}

.hf-faq-wrap details p {
    margin: 12px 0 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
}

.hf-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
    align-items: stretch;
}

.hf-contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
}

.hf-map-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    min-height: 320px;
}

.hf-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

/* Responsive Breakpoints */
@media (max-width: 1199px) {
    .hf-value-grid,
    .hf-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hf-hero {
        padding: 112px 0 60px;
    }

    .hf-hero h1 {
        font-size: 34px;
    }

    .hf-stats-grid,
    .hf-products-grid,
    .hf-articles-grid,
    .hf-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hf-hero h1 {
        font-size: 28px;
    }

    .hf-section {
        padding: 54px 0;
    }

    .hf-section-head h2 {
        font-size: 25px;
    }

    .hf-value-grid,
    .hf-solutions-grid,
    .hf-steps-grid,
    .hf-eco-grid {
        grid-template-columns: 1fr;
    }

    .hf-about-card,
    .hf-contact-card {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   10. Unified Flat Minimalist Subpage System
       (About Us, IT Infrastructure, Smart City, Software Solutions,
        Managed Services, Partners, Contact)
   ========================================================================== */

/* Subpage Heroes: Replace dark photo heroes with clean flat minimalist slate gradient */
.home-flat-page .solution-hero,
.home-flat-page .about-hero,
.home-flat-page .infrastructure-hero,
.home-flat-page .partners-hero,
.home-flat-page .contact-hero {
    min-height: 0 !important;
    padding: 134px 0 68px !important;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Eyebrow Pill Badges across all subpages */
.home-flat-page .solution-hero p.text-uppercase,
.home-flat-page .about-eyebrow,
.home-flat-page .infrastructure-eyebrow,
.home-flat-page .contact-eyebrow {
    display: inline-flex !important;
    align-items: center;
    padding: 6px 14px !important;
    margin: 0 0 16px !important;
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    border-radius: 999px !important;
    color: #2563eb !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    line-height: 1.4 !important;
}

/* Subpage Hero Headings */
.home-flat-page .solution-hero h1,
.home-flat-page .about-hero h1,
.home-flat-page .infrastructure-hero h1,
.home-flat-page .partners-hero h1,
.home-flat-page .contact-hero h1 {
    margin: 0 0 16px !important;
    color: #0f172a !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.015em !important;
}

/* Subpage Hero Lead Paragraphs */
.home-flat-page .solution-hero p:not(.text-uppercase):not(.about-eyebrow):not(.infrastructure-eyebrow),
.home-flat-page .contact-hero-copy > p:not(.contact-eyebrow) {
    margin: 0 0 22px !important;
    color: #475569 !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    max-width: 760px;
}

.home-flat-page .solution-hero p:last-child,
.home-flat-page .contact-hero-copy > p:last-child {
    margin-bottom: 0 !important;
}

/* Unified Buttons & Links across subpages */
.home-flat-page .btn-theme,
.home-flat-page .contact-form-submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 25px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(120deg, #4c76b2 0%, #7d5e96 100%) !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(76, 118, 178, 0.22) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.home-flat-page .btn-theme:hover,
.home-flat-page .btn-theme:focus,
.home-flat-page .contact-form-submit:hover,
.home-flat-page .contact-form-submit:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(76, 118, 178, 0.3) !important;
    color: #ffffff !important;
}

.home-flat-page .solution-cta .link,
.home-flat-page .infrastructure-text-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.home-flat-page .solution-cta .link:hover,
.home-flat-page .solution-cta .link:focus,
.home-flat-page .infrastructure-text-link:hover,
.home-flat-page .infrastructure-text-link:focus {
    border-color: #4c76b2 !important;
    color: #4c76b2 !important;
    background: #f8fafc !important;
}

/* Subpage Content Sections & Typography */
.home-flat-page main section .content-lg {
    padding-top: 72px;
    padding-bottom: 72px;
}

.home-flat-page main section h2 {
    color: #0f172a !important;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 14px;
}

.home-flat-page main section .row.margin-b-40 p:not(.infrastructure-eyebrow):not(.about-eyebrow):not(.text-uppercase),
.home-flat-page .about-overview p:not(.about-eyebrow),
.home-flat-page .about-contact p {
    color: #475569 !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
}

.home-flat-page .infrastructure-overview,
.home-flat-page .about-purpose.bg-color-sky-light,
.home-flat-page .contact-main {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* Solution Bento Grid (.solution-content-grid) */
.home-flat-page .solution-content-grid.row-space-1 {
    margin-right: -12px !important;
    margin-left: -12px !important;
}

.home-flat-page .solution-content-grid.row-space-1 > [class*="col-"] {
    padding-right: 12px !important;
    padding-left: 12px !important;
    margin-bottom: 24px !important;
}

.home-flat-page .solution-content-grid .service,
.home-flat-page .solution-content-grid .service.bg-color-base {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 28px 26px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.home-flat-page .solution-content-grid .service:hover,
.home-flat-page .solution-content-grid .service.bg-color-base:hover {
    transform: translateY(-4px);
    border-color: #93c5fd !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}

.home-flat-page .solution-content-grid .service-element {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px !important;
    border-radius: 12px;
    background: #eff6ff !important;
}

.home-flat-page .solution-content-grid .service-icon,
.home-flat-page .solution-content-grid .service.bg-color-base .service-icon {
    color: #4c76b2 !important;
    font-size: 21px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.home-flat-page .solution-content-grid .service h3,
.home-flat-page .solution-content-grid .service.bg-color-base h3 {
    color: #0f172a !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 0 12px !important;
}

.home-flat-page .solution-content-grid .solution-detail-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.home-flat-page .solution-content-grid .solution-detail-list li,
.home-flat-page .solution-content-grid .service.bg-color-base .solution-detail-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 9px;
    color: #334155 !important;
    font-size: 14.5px !important;
    line-height: 1.55 !important;
}

.home-flat-page .solution-content-grid .solution-detail-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0284c7;
    font-weight: 700;
}

/* Featured Product Banner Card (e.g. MedixCore on software-solutions.html) */
.home-flat-page .row.margin-b-40 .service.bg-color-base {
    background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%) !important;
    border: 1.5px solid #93c5fd !important;
    border-radius: 18px !important;
    padding: 32px 34px !important;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.06) !important;
}

.home-flat-page .row.margin-b-40 .service.bg-color-base p.text-uppercase {
    display: inline-block;
    padding: 5px 12px;
    margin-bottom: 12px;
    background: #dbeafe;
    color: #1d4ed8 !important;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.home-flat-page .row.margin-b-40 .service.bg-color-base h2 {
    color: #0f172a !important;
    margin: 0 0 10px !important;
}

.home-flat-page .row.margin-b-40 .service.bg-color-base p:not(.text-uppercase) {
    color: #334155 !important;
    font-size: 15.5px !important;
    margin: 0 0 20px !important;
    max-width: 760px;
}

/* Related Guides Cards */
.home-flat-page .related-guides-section {
    padding-top: 24px !important;
    padding-bottom: 72px !important;
}

.home-flat-page .related-guide {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #4c76b2 !important;
    border-radius: 16px !important;
    padding: 28px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
}

.home-flat-page .related-guide:hover {
    transform: translateY(-4px);
    border-color: #93c5fd !important;
    border-left-color: #4c76b2 !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}

.home-flat-page .related-guide h2 {
    font-size: 21px !important;
    color: #0f172a !important;
}

/* About Us Page Cards (.about-card) */
.home-flat-page .about-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 30px 26px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-flat-page .about-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}

.home-flat-page .about-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #eff6ff;
    color: #4c76b2;
}

.home-flat-page .about-card-icon .service-icon {
    font-size: 22px;
    color: #4c76b2;
}

.home-flat-page .about-card h3 {
    color: #0f172a !important;
    font-size: 20px;
    font-weight: 700;
}

.home-flat-page .about-card > p,
.home-flat-page .about-values-list span {
    color: #475569 !important;
    font-size: 14.5px;
    line-height: 1.65;
}

.home-flat-page .about-values-list strong {
    color: #0f172a !important;
    font-size: 15px;
}

/* Partners Page Cards (.partner-card & .partner-category) */
.home-flat-page .partner-category {
    margin-bottom: 44px;
}

.home-flat-page .partner-category h3 {
    color: #0f172a !important;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid #4c76b2;
}

.home-flat-page .partner-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 22px 18px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02) !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.home-flat-page .partner-card:hover,
.home-flat-page .partner-card:focus {
    transform: translateY(-4px) !important;
    border-color: #93c5fd !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06) !important;
}

.home-flat-page .partner-card span {
    color: #334155 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
}

.home-flat-page .partner-card:hover span,
.home-flat-page .partner-card:focus span {
    color: #4c76b2 !important;
}

/* Contact Page Cards (.contact-info-card & .contact-form-card) */
.home-flat-page .contact-info-card,
.home-flat-page .contact-form-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 34px !important;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04) !important;
}

.home-flat-page .contact-form-card .form-control {
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    min-height: 44px;
    padding: 10px 14px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.home-flat-page .contact-form-card .form-control:focus {
    background: #ffffff !important;
    border-color: #4c76b2 !important;
    box-shadow: 0 0 0 3px rgba(76, 118, 178, 0.15) !important;
}

.home-flat-page .contact-captcha {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
}

/* Subpage Responsive Adjustments */
@media (max-width: 991px) {
    .home-flat-page .solution-hero,
    .home-flat-page .about-hero,
    .home-flat-page .infrastructure-hero,
    .home-flat-page .partners-hero,
    .home-flat-page .contact-hero {
        padding: 112px 0 54px !important;
    }

    .home-flat-page .solution-hero h1,
    .home-flat-page .about-hero h1,
    .home-flat-page .infrastructure-hero h1,
    .home-flat-page .partners-hero h1,
    .home-flat-page .contact-hero h1 {
        font-size: 33px !important;
    }
}

@media (max-width: 767px) {
    .home-flat-page .solution-hero h1,
    .home-flat-page .about-hero h1,
    .home-flat-page .infrastructure-hero h1,
    .home-flat-page .partners-hero h1,
    .home-flat-page .contact-hero h1 {
        font-size: 28px !important;
    }

    .home-flat-page main section .content-lg {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .home-flat-page .contact-info-card,
    .home-flat-page .contact-form-card {
        padding: 24px 20px !important;
    }
}
