/* ============================================================
   ETERNESIA CUSTOM STYLES — Modern, Fresh & Dynamic
   Overlay CSS: loads AFTER dashcore.min.css
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --et-green: #2dce89;
    --et-blue: #5e72e4;
    --et-cyan: #11cdef;
    --et-navy: #1a1a2e;
    --et-dark: #171730;
    --et-gradient: linear-gradient(135deg, var(--et-blue), var(--et-green));

    --et-gradient-r: linear-gradient(135deg, var(--et-green), var(--et-cyan));
    --et-shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
    --et-shadow-md: 0 10px 40px rgba(0, 0, 0, 0.12);
    --et-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --et-radius: 16px;
    --et-transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Smooth Scroll ---------- */
html {
    scroll-behavior: smooth;
}

/* ============================================================
   1. NAVBAR — Hover Underline Effect
   ============================================================ */
.st-nav-primary .nav-link {
    position: relative;
    transition: color var(--et-transition);
    padding-bottom: 6px !important;
}

.st-nav-primary .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--et-gradient-r);
    border-radius: 2px;
    transition:
        width var(--et-transition),
        left var(--et-transition);
}

.st-nav-primary .nav-link:hover::after {
    width: 70%;
    left: 15%;
}

.st-nav-primary .nav-link:hover {
    color: var(--et-green) !important;
}

/* Navbar scroll state — subtle shadow */
.main-nav.scrolled,
.main-nav.st-nav.navbar.fixed-top {
    transition: box-shadow 0.3s ease;
}

/* --- Navbar Spacing & Layout Adjustments --- */
@media (min-width: 992px) {
    /* Push primary menu to the right */
    .st-nav-primary.nav-item {
        margin-left: auto !important;
    }
    
    /* Make menu items closer to each other */
    .st-nav-primary .nav-link {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Bring language selector closer to WhatsApp button */
    .st-nav-secondary[data-dropdown="bahasa"] {
        margin-right: -15px !important;
    }
}

/* ============================================================
   2. HERO SECTION — Modern SaaS Style (with !important overrides)
   ============================================================ */

/* --- Hero Section Container --- */
.hero-section {
    position: relative !important;
    background: linear-gradient(160deg, #091638 0%, #0e2058 25%, #1e3a8a 50%, #2952b3 80%, #3462c7 100%) !important;
    min-height: 90vh !important;
    display: flex !important;
    align-items: center !important;
    padding: 100px 0 80px !important;
    overflow: hidden !important;
    margin: 0 !important;
    border: none !important;
    color: #ffffff !important;
}

/* Force white text on everything inside hero */
.hero-section,
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section p,
.hero-section span,
.hero-section a {
    -webkit-text-fill-color: unset !important;
}

.hero-section h1,
.hero-section h2,
.hero-section h3 {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* Background circle glow */
.hero-bg-circle {
    position: absolute !important;
    width: 750px !important;
    height: 750px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(80, 130, 230, 0.35) 0%, rgba(60, 110, 210, 0.18) 45%, transparent 72%) !important;
    top: 40% !important;
    right: 12% !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Second circle glow - upper area for depth */
.hero-section::after {
    content: '' !important;
    position: absolute !important;
    width: 500px !important;
    height: 500px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(70, 120, 220, 0.20) 0%, rgba(50, 100, 200, 0.08) 50%, transparent 72%) !important;
    top: -5% !important;
    right: 20% !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* --- Hero Content Layout --- */
.hero-section .hero-text {
    margin-top: -160px !important; /* Shift text up aggressively to align with image */
}

.hero-section .hero-text h1 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 3.2rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.5px !important;
    background: none !important;
}

.hero-section .hero-text h1 span {
    display: block !important;
    color: #ffffff !important;
}

.hero-section .hero-text p {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.7 !important;
    margin-bottom: 35px !important;
    max-width: 460px !important;
    font-weight: 300 !important;
}

/* --- CTA Buttons --- */
.hero-section .hero-cta {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    animation: heroFadeInUp 0.8s ease-out 0.4s both;
}

.hero-section .btn-hero-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 32px !important;
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4) !important;
}

.hero-section .btn-hero-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 35px rgba(249, 115, 22, 0.55) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    position: relative;
}

.hero-section .btn-hero-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 32px !important;
    background: transparent !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border-radius: 50px !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.hero-section .btn-hero-outline:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    position: relative;
}

/* --- Right Column: Illustration --- */
.hero-section .hero-image {
    position: relative !important;
    animation: heroFadeInRight 1s ease-out 0.3s both;
    margin-top: -8% !important; /* Shift entire image container up */
}

.hero-section .hero-illustration {
    width: 115% !important; /* Make it larger to match reference */
    max-width: none !important;
    height: auto !important;
    display: block !important;
    margin-left: -5% !important; /* Pull left slightly for better balance */
}

/* --- Floating Decorative Elements --- */
.hero-float {
    position: absolute !important;
    color: rgba(255, 255, 255, 0.15) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    animation: heroFloat 6s ease-in-out infinite !important;
}

.hero-float-1 { top: 20% !important; left: 5% !important; animation-delay: 0s !important; font-size: 1.5rem !important; }
.hero-float-2 { top: 70% !important; left: 15% !important; animation-delay: 1.5s !important; font-size: 1rem !important; }
.hero-float-3 {
    top: 30% !important; left: 40% !important;
    width: 8px !important; height: 8px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 50% !important;
    animation-delay: 0.8s !important;
}
.hero-float-4 {
    top: 80% !important; right: 25% !important;
    width: 6px !important; height: 6px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    animation-delay: 2s !important;
}
.hero-float-5 { top: 15% !important; right: 15% !important; animation-delay: 3s !important; font-size: 1rem !important; color: rgba(255,255,255,0.1) !important; }
.hero-float-6 {
    bottom: 25% !important; left: 30% !important;
    width: 10px !important; height: 10px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 2px !important;
    transform: rotate(45deg) !important;
    animation-delay: 1s !important;
}
.hero-float-7 { bottom: 35% !important; right: 5% !important; animation-delay: 2.5s !important; font-size: 0.9rem !important; color: rgba(255,255,255,0.12) !important; }

/* --- Hero Text Animation --- */
.hero-section .hero-text {
    animation: heroFadeInUp 0.8s ease-out both;
}

/* --- Hero Animations --- */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* --- Hero Responsive --- */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 80px !important;
        min-height: auto !important;
    }
    .hero-section .row {
        text-align: center !important;
    }
    .hero-section .hero-text {
        margin-top: 0 !important; /* Reset text shift */
    }
    .hero-section .hero-text p {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .hero-section .hero-cta {
        justify-content: center !important;
    }
    .hero-section .hero-text h1 {
        font-size: 2.5rem !important;
    }
    .hero-section .hero-image {
        margin-top: 40px !important; /* Reset negative margin on mobile */
    }
    .hero-section .hero-illustration {
        width: 100% !important; /* Reset to 100% on mobile */
        margin-left: 0 !important;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding: 110px 0 60px !important;
    }
    .hero-section .hero-text h1 {
        font-size: 2rem !important;
    }
    .hero-section .hero-text p {
        font-size: 1rem !important;
    }
    .hero-section .hero-cta {
        flex-direction: column !important;
        align-items: center !important;
    }
    .hero-section .btn-hero-primary,
    .hero-section .btn-hero-outline {
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
    }
    .hero-bg-circle {
        width: 300px !important;
        height: 300px !important;
    }
}

/* Keep existing btn-success for non-hero usage */
.btn-success {
    background: var(--et-green) !important;
    border-color: var(--et-green) !important;
    box-shadow: 0 4px 15px rgba(45, 206, 137, 0.35);
    transition: all var(--et-transition);
}

.btn-success:hover {
    box-shadow: 0 8px 30px rgba(45, 206, 137, 0.55);
    transform: translateY(-3px);
}

/* ============================================================
   3. SECTION HEADINGS — Gradient Text
   ============================================================ */
.section-heading h2.bold,
.section-heading .section-title {
    background: var(--et-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure white text in dark sections */
.bg-darker .section-heading h2,
.text-contrast .section-heading h2,
.gradient .section-heading h2,
header h1,
header h2 {
    background: none;
    -webkit-text-fill-color: inherit;
}

/* ============================================================
   4. CARDS — Hover Lift + Shadow Animations
   ============================================================ */
.card {
    border-radius: var(--et-radius) !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition:
        transform var(--et-transition),
        box-shadow var(--et-transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--et-shadow-lg);
}

/* Card icon gradient on hover */
.card:hover .stroke-primary {
    stroke: var(--et-green);
    transition: stroke 0.3s ease;
}

/* ============================================================
   5. BLOG CARDS — Image Zoom + Gradient Border
   ============================================================ */
.blog-card-wrap .card,
.col-md-6.col-lg-4 .card {
    overflow: hidden;
    position: relative;
}

/* Image zoom on hover */
.zoom-image img,
.col-md-6.col-lg-4 .card img.card-img-top {
    transition: transform 0.5s ease;
}

.zoom-image:hover img,
.col-md-6.col-lg-4 .card:hover img.card-img-top {
    transform: scale(1.08);
}

/* Blog card title hover */
.col-md-6.col-lg-4 .card h5 a {
    transition: color 0.3s ease;
    text-decoration: none;
}

.col-md-6.col-lg-4 .card h5 a:hover {
    color: var(--et-green) !important;
}

/* Gradient bottom accent for blog cards */
.col-md-6.col-lg-4 .card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--et-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.col-md-6.col-lg-4 .card:hover::after {
    opacity: 1;
}

/* ============================================================
   6. FEATURE BOXES (Why Choose Section)
   ============================================================ */
.shadow-box,
.off-left-background {
    transition:
        transform var(--et-transition),
        box-shadow var(--et-transition);
    border-radius: var(--et-radius);
}

.shadow-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--et-shadow-md);
}

.off-left-background:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--et-shadow-md) !important;
}

/* ============================================================
   7. FAQ ACCORDION — Smoother Interactions
   ============================================================ */
.accordion-clean .card {
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.accordion-clean .card-header {
    background: transparent;
    transition: background-color 0.3s ease;
}

.accordion-clean .card-header:hover {
    background-color: rgba(45, 206, 137, 0.04);
}

.accordion-clean .card-title.btn {
    transition: color 0.3s ease;
}

.accordion-clean .card-title.btn:hover {
    color: var(--et-green) !important;
}

/* ============================================================
   8. FOOTER — Gradient Accent + Social Glow
   ============================================================ */
.site-footer {
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--et-gradient);
}

/* Social icon hover glow */
.site-footer .btn-circle {
    transition: all var(--et-transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer .btn-circle:hover {
    background: var(--et-gradient) !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 206, 137, 0.4);
    color: #fff !important;
}

.site-footer .btn-circle:hover i {
    color: #fff !important;
}

/* Footer link hover */
.site-footer .nav-item:hover {
    color: var(--et-green) !important;
    transition: color 0.3s ease;
}

/* ============================================================
   9. SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animation */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.reveal-stagger.active > *:nth-child(1) {
    transition-delay: 0.1s;
}
.reveal-stagger.active > *:nth-child(2) {
    transition-delay: 0.2s;
}
.reveal-stagger.active > *:nth-child(3) {
    transition-delay: 0.3s;
}
.reveal-stagger.active > *:nth-child(4) {
    transition-delay: 0.35s;
}
.reveal-stagger.active > *:nth-child(5) {
    transition-delay: 0.4s;
}
.reveal-stagger.active > *:nth-child(6) {
    transition-delay: 0.45s;
}

.reveal-stagger.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   10. TESTIMONIAL SECTION — Enhanced
   ============================================================ */
.singl-testimonial {
    border-radius: 0;
    overflow: hidden;
}

.singl-testimonial .quote {
    font-size: 2rem;
    opacity: 0.3;
    color: var(--et-green);
}

blockquote {
    border-left: 3px solid var(--et-green);
    padding-left: 1rem;
}

/* ============================================================
   11. CONTACT FORM — Enhanced Inputs
   ============================================================ */
.form-contact .form-control {
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    padding: 12px 16px;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-contact .form-control:focus {
    border-color: var(--et-green);
    box-shadow: 0 0 0 3px rgba(45, 206, 137, 0.15);
}

.form-contact .btn-primary {
    background: var(--et-gradient) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(94, 114, 228, 0.35);
    transition: all var(--et-transition);
    padding: 12px 30px;
}

.form-contact .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(94, 114, 228, 0.5);
}

/* ============================================================
   12. GENERAL — Smooth Transitions & Polish
   ============================================================ */

/* All links smooth transition */
a {
    transition: color 0.3s ease;
}

/* Images rounded */
.card img {
    border-radius: var(--et-radius) var(--et-radius) 0 0;
}

/* Counter numbers animation-ready */
.counter {
    background: var(--et-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* WhatsApp button pulse */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 15px rgba(45, 206, 137, 0.35);
    }
    50% {
        box-shadow: 0 4px 25px rgba(45, 206, 137, 0.55);
    }
    100% {
        box-shadow: 0 4px 15px rgba(45, 206, 137, 0.35);
    }
}

.st-nav-secondary .btn-success {
    animation: whatsappPulse 2.5s ease-in-out infinite;
}

.st-nav-secondary .btn-success:hover {
    animation: none;
    box-shadow: 0 8px 30px rgba(45, 206, 137, 0.6);
    transform: translateY(-2px);
}

/* Section spacing polish */
section.section {
    overflow: hidden;
}

/* Selection color */
::selection {
    background: rgba(45, 206, 137, 0.2);
    color: inherit;
}

/* ============================================================
   14. SOLUSI SECTION (NEW CUSTOM 4-COLUMN)
   ============================================================ */

.solusi-section {
    padding: 80px 0 !important;
    background-color: #f7f9fc !important;
}

.solusi-container {
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

.section-heading-custom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.section-heading-custom::before,
.section-heading-custom::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #dce3ed; /* Thicker, slightly darker solid line */
}

.section-heading-custom h2 {
    font-weight: 700 !important;
    color: #1a2b5b !important;
    padding: 0 30px !important;
    margin: 0 !important;
    font-size: 2.2rem !important;
}

.solusi-card {
    border-radius: 12px !important;
    padding: 28px 24px !important;
    display: flex !important;
    flex-direction: column !important; /* Stack icon and text vertically */
    align-items: flex-start !important;
    gap: 15px !important;
    /* Added strong, elegant shadow so cards pop out */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04) !important; 
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    height: 100% !important;
    border: none !important; /* Removed generic border since we use colored backgrounds now */
}

/* Distinct Backgrounds & Theming for Each Card */
.solusi-card-1 {
    background-color: #f0f7ff !important; /* Soft Sky Blue */
}
.solusi-card-1 .solusi-title { color: #0284c7 !important; }
.solusi-card-1 .solusi-separator { background-color: #bae6fd !important; }

.solusi-card-2 {
    background-color: #fff8f0 !important; /* Soft Orange/Peach */
}
.solusi-card-2 .solusi-title { color: #ea580c !important; }
.solusi-card-2 .solusi-separator { background-color: #fed7aa !important; }

.solusi-card-3 {
    background-color: #f0fdf4 !important; /* Soft Mint/Green */
}
.solusi-card-3 .solusi-title { color: #16a34a !important; }
.solusi-card-3 .solusi-separator { background-color: #bbf7d0 !important; }

.solusi-card-4 {
    background-color: #f5f3ff !important; /* Soft Indigo/Purple */
}
.solusi-card-4 .solusi-title { color: #6366f1 !important; }
.solusi-card-4 .solusi-separator { background-color: #c7d2fe !important; }

.solusi-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.06) !important;
}

.solusi-icon-wrapper {
    flex: 0 0 100px !important; /* give the image more room in the row */
    position: relative;
    margin-right: 15px !important; /* increased space between icon and title so it's not too tight */
}

.solusi-img-icon {
    width: 100px !important; /* make icons clearly larger */
    height: auto !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important; /* Forces the white background of images to disappear into the card color */
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.solusi-card:hover .solusi-img-icon {
    transform: scale(1.1) translateY(-5px);
}

.solusi-content {
    flex: 1 !important;
    width: 100% !important; /* Ensure it takes full width of the card now */
    display: flex;
    flex-direction: column;
}

.solusi-link {
    margin-top: auto; /* Pushes the link to the very bottom naturally */
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a2b5b;
    text-decoration: none !important;
    position: relative;
    padding-bottom: 3px;
    width: fit-content;
    transition: color 0.3s ease;
}

.solusi-link i {
    margin-left: 6px;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

/* Base underline effect */
.solusi-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* specific colors matching their card themes */
.solusi-card-1 .solusi-link { color: #0284c7; }
.solusi-card-2 .solusi-link { color: #ea580c; }
.solusi-card-3 .solusi-link { color: #16a34a; }
.solusi-card-4 .solusi-link { color: #6366f1; }

.solusi-card:hover .solusi-link::after {
    transform: scaleX(1); /* Expand the line on card hover */
}

.solusi-link:hover i {
    transform: translateX(4px); /* nudge arrow on hover */
}

.solusi-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #1a2b5b !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
    line-height: 1.3 !important;
}

.solusi-separator {
    width: 100%; /* Spans exactly the width of the card's text area */
    height: 1px !important;
    background-color: #e2e8f0 !important;
    margin-bottom: 8px !important; /* Slightly tighter so detail text goes up */
}

.solusi-desc {
    font-size: 0.85rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 0 20px 0 !important; /* Guaranteed minimum 20px gap above the 'Lihat selengkapnya' link */
}

@media (max-width: 991px) {
    .section-heading-custom::before,
    .section-heading-custom::after {
        display: none !important;
    }
    .section-heading-custom h2 {
        font-size: 1.8rem !important;
    }
}

/* ============================================================
   15. CLIENT LOGOS SLIDER (SEAMLESS STRIP)
   ============================================================ */

.partners {
    padding-top: 40px !important;
    padding-bottom: 50px !important;
    background-color: #f8fafc !important; /* Subtle blue-gray background so it's not plain white */
    overflow: hidden !important; /* contain the negative margins */
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(5px); }
    60% { transform: translateY(3px); }
}

/* Override bootstrap container padding for just this section */
.partners .container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Reset to prevent breaking Swiper */
.partners .swiper-slide {
    height: auto !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    justify-content: center !important;
    padding: 0 !important; /* Removed padding to make them flush */
    margin: 0 !important; /* Force no margins */
}

/* Style the link to fill the space seamlessly */
.partners .swiper-slide a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important; /* 100% width pulls them together */
    height: 120px !important;
    border-radius: 0 !important; /* Square edges */
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important; /* Vertical separator line */
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: none !important; /* Removed shadow */
    transition: background-color 0.3s ease !important;
    text-decoration: none !important;
    position: relative !important;
    z-index: 10 !important; /* Ensure the link is above any invisible Swiper overlays */
}

.partners .swiper-slide a:hover {
    transform: none !important; /* Removed popup effect */
    background: #f1f5f9 !important; /* Simple hover lightness */
}

/* Subtle, professional silver/gray background for logos */
.partners .swiper-slide:nth-child(even) a { background-color: #ffffff !important; }
.partners .swiper-slide:nth-child(odd) a { background-color: #f8fafc !important; }

.partners .swiper-slide img {
    opacity: 1 !important;
    filter: grayscale(0) !important;
    max-height: 60px !important; /* Slightly larger image */
    transition: transform 0.3s ease;
}

.partners .swiper-slide a:hover img {
    transform: scale(1.05);
}

/* ============================================================
   16. PRODUK UNGGULAN (FEATURE CARDS & DEMO BOX)
   ============================================================ */

/* Feature Cards (Top Row) */
.feat-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(26, 43, 91, 0.15); /* Deep blue glow */
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 43, 91, 0.1);
}

.feat-card:hover::before {
    opacity: 1; /* Show glowing shadow on hover */
}

.feat-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
}

.feat-card:hover .feat-icon {
    transform: scale(1.1) translateY(-5px);
}

/* Demo Section (Bottom Row) */
.demo-browser {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.2);
}

/* The Swiper slide images in the demo browser */
.demo-browser .swiper-slide {
    background: transparent !important;
}

.demo-browser .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.demo-blue-box {
    background: linear-gradient(135deg, #1e3a8a, #1e40af); /* Elegant dark blue */
    border-radius: 16px;
    overflow: hidden;
    color: #ffffff;
}

/* Nav Tabs inside Blue Box */
.demo-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1); /* Slightly darker header strip */
    margin: 0;
    padding: 0;
    border: none;
}

.demo-tabs .nav-item {
    flex: 1; /* Equal width tabs */
    text-align: center;
    margin: 0;
}

.demo-tabs .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600;
    padding: 20px 10px !important;
    border: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 !important;
    transition: all 0.3s ease;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    position: relative;
}

.demo-tabs .nav-item:last-child .nav-link {
    border-right: none !important;
}

.demo-tabs .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* ACTIVE State for Tabs */
.demo-tabs .nav-link.demo-active { /* In case swiper uses a custom active class */
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    position: relative;
}

/* Base line for ALL tabs (subtle white) */
.demo-tabs .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1); 
}

/* Animate the thick bottom border for active tab */
.demo-tabs .nav-link.demo-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #f97316; /* Orange highlight */
    box-shadow: 0 -2px 10px rgba(249, 115, 22, 0.5);
    transition: width 0.3s ease;
}

.demo-box-content {
    padding: 40px;
}

/* Horizontal Feature Cards Overrides */
.feat-card-horizontal {
    display: flex;
    align-items: center;
    padding: 0;
}
.feat-icon-horizontal {
    width: 100%;
    max-width: 130px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
}
.feat-card:hover .feat-icon-horizontal {
    transform: scale(1.1) translateY(-5px) rotate(3deg);
}




