.space-header-menu ul.main-menu li.menu-item-38 a {
    display: inline-block;
    padding: 8px 25px;
    margin: 18px 0 10px 12px;
    font-weight: 600;
    font-size: 1em;
    line-height: 1.25em;
    color: #000 !important;
    /* Black text */
    text-decoration: none !important;
    border-radius: 23px;
    background-color: #00ddf9;
    /* Button Color */
    border: 2px solid transparent;
    /* Base border */
    box-shadow: none;
    transition: all 0.2s ease-in-out;
}

/* Click / Active Shine Effect */
.space-header-menu ul.main-menu li.menu-item-38 a:active {
    border-color: #ffffff;
    /* Shine border */
    box-shadow: 0 0 10px #00ddf9;
    /* Light glow */
    transform: scale(0.98);
    /* Click press effect */
}


.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: transparent !important;
    /* removed background */
    color: #00ddf9 !important;
    /* WhatsApp green text */
    padding: 10px 18px;
    border: 2px solid #25D366 !important;
    /* border added */
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #25D366 !important;
    /* green bg on hover */
    color: #fff !important;
}



.mercury-homehero-button a {
    display: inline-block;
    padding: 13px 30px;
    font-weight: 600;
    font-size: 1em;
    line-height: 1.25em;
    color: #000 !important;
    /* Black text */
    text-decoration: none !important;
    border-radius: 23px;
    background-color: #00ddf9;
    /* Button color */
    border: 2px solid transparent;
    box-shadow: none;
    transition: all 0.2s ease-in-out;
}

/* On Click (active) shine effect */
.mercury-homehero-button a:active {
    border-color: #ffffff;
    /* white shine border */
    box-shadow: 0 0 10px #00ddf9;
    /* glow effect */
    transform: scale(0.97);
    /* press feel */
}

/* Optional hover brightness (same color, slight highlight) */
.mercury-homehero-button a:hover {
    filter: brightness(1.1);
}


.features-grid-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
    margin-top: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 1200px;
}

/* Mobile: one card per row */
@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.07);
    text-align: left;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.12);
}

.feature-icon img {
    width: 60px;
    height: auto;
    margin-bottom: 18px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 16px;
    line-height: 24px;
    color: #555;
}



/* ==== GLOBAL WRAPPER ==== */
.arclight-block {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #f7f9fc;
    /* same background */
    padding: 80px 0;
}

.arclight-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.arclight-block section+section {
    margin-top: 64px;
}

.arclight-section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 12px;
    color: #111827;
}

.arclight-section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
    color: #6b7280;
    font-size: 16px;
}

/* ==== WHY CHOOSE SECTION ==== */
.arclight-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 992px) {
    .arclight-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .arclight-why-grid {
        grid-template-columns: 1fr;
    }
}

.arclight-why-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    text-align: left;
}

.arclight-why-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #0ea5e9;
    font-size: 20px;
    margin-bottom: 14px;
}

.arclight-why-card-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: #111827;
}

.arclight-why-card-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
}

/* ==== TESTIMONIAL SECTION ==== */
.testimonial-section {
    text-align: center;
}

.testimonial-subtitle strong {
    font-weight: 600;
}

.testimonial-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.testimonial-card {
    text-align: left !important;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background: #ffffff;
    border-radius: 14px;
    position: relative;

    /* FIXED CARD HEIGHT — adjust if needed */
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-stars {
    text-align: left !important;
    color: #facc15;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    right: 26px;
    font-size: 40px;
    color: rgba(96, 165, 250, 0.25);
    font-family: Georgia, "Times New Roman", serif;
}

.testimonial-text {
    text-align: left !important;
    font-size: 16px;
    line-height: 1.6rem;
    color: #374151;

    /* Clamp to 3 lines only */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    /* FIXED HEIGHT so card never expands */
    height: calc(1.6rem * 3);
    min-height: calc(1.6rem * 3);
    max-height: calc(1.6rem * 3);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
}

.testimonial-user-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    color: #111827;
}

.testimonial-title,
.testimonial-location {
    font-size: 13px;
    color: #6b7280;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonial-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: #e5e7eb;
    color: #111827;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.1s ease;
}

.testimonial-nav-btn:hover {
    background: #d1d5db;
    transform: translateY(-1px);
}

.testimonial-dots {
    display: flex;
    gap: 6px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.testimonial-dot.is-active {
    background: #4f46e5;
    transform: scale(1.15);
}

/* ==== OPERATORS + METRICS SECTION ==== */
.operator-section {
    padding: 60px 20px;
    color: #f5f7ff;
}

.operator-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: stretch;
}

/* Left Column */

.operator-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.operator-heading-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.operator-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgb(250, 254, 255);
    border: 1px solid #00ddf9;
    color: #000000;
}

.operator-title {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

.operator-title span {
    color: #00ddf9;
}

.operator-subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #a6b0cf;
}

/* Metrics */

.operator-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.operator-metric-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 12px;
    border: 1px solid #00ddf9;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.operator-metric-value {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #00ddf9 !important;
}

.operator-metric-value--purple {
    color: #00ddf9 !important;
}

.operator-metric-value--blue {
    color: #00ddf9;
}

.operator-metric-label {
    font-size: 11px;
    color: #9aa3c0;
}

/* CTAs */

.operator-cta-panel {
    margin-top: 6px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(0, 221, 249, 0.08), rgba(96, 165, 250, 0.08));
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.operator-cta-caption {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000000;
}

.operator-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.operator-cta-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid #00ddf9;
    background: #ffffff;
    color: #000000;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.18s ease-out;
}

.operator-cta-btn span {
    font-size: 13px;
}

/* Right Column - Logos */

.operator-right {
    display: flex;
    align-items: stretch;
}

.operator-logos-card {
    width: 100%;
    padding: 18px 16px 16px;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(0, 221, 249, 0.08), rgba(96, 165, 250, 0.08));
    border: 1px solid #00ddf9;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.operator-logos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.operator-logos-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000000;
}

.operator-logos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.operator-logo-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 9px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #00ddf9;
}

.operator-logo-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(0, 220, 249, 0.274), rgba(96, 165, 250, 0.345));
    font-size: 16px;
}

.operator-logo-name {
    font-size: 13px;
    font-weight: 500;
    color: #00ddf9;
}

.operator-logos-footnote {
    margin: 0;
    font-size: 11px;
    color: #000000;
    opacity: 0.9;
}

/* Responsive */

@media (max-width: 960px) {
    .operator-section-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .operator-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .operator-section {
        padding: 40px 16px;
    }

    .operator-title {
        font-size: 24px;
    }

    .operator-cta-row {
        flex-direction: column;
    }

    .operator-logos-card {
        padding: 16px 14px;
    }
}


/* MAIN FOOTER WRAPPER */
.space-footer {
    background: #050b24;
    /* deep navy like screenshot */
    color: #e5e7eb;
    padding: 60px 6vw 30px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Center content & max width */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* TOP GRID */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.footer-col {
    font-size: 14px;
}

.footer-col-brand {
    max-width: 360px;
}

/* LOGO & TEXT */
.footer-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: #9ca3af;
    margin-bottom: 24px;
}

/* NEWSLETTER */
.footer-newsletter-label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    /* transparent feel */
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    padding: 4px 6px 4px 14px;
    gap: 8px;
}

.footer-input-icon {
    color: #9ca3af;
    font-size: 16px;
    margin-left: 14px;
}

.footer-newsletter-form {
    margin-top: 4px;
}

.footer-input-wrap {
    display: flex;
    align-items: center;
    background: #020617;
    border-radius: 999px;
    padding: 4px;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

input[type="email"] {
    border: none;
}

.footer-input {
    flex: 1;
    background: transparent !important;
    border: none;
    outline: none;
    color: #00ddf9 !important;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 50px !important;
    /* ← Added */
}

.footer-input::placeholder {
    color: #9ca3af;
}

.footer-btn {
    background: #6366f1;
    border: none;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: 0.25s ease;
}

.footer-btn:hover {
    background: #818cf8;
    transform: translateY(-1px);
}

.space-header-menu ul.main-menu li a {
    padding: 31px 10px;
}

.footer-btn:active {
    transform: scale(0.96);
}

.footer-btn-icon {
    font-size: 14px;
}


/* Circular blue button on right */
.footer-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00ddf9;
    /* blue */
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.1s ease,
        box-shadow 0.2s ease;
}

.footer-icon-btn:hover {
    background: #00ddf9;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

.footer-icon-btn:active {
    transform: scale(0.95);
}

/* HEADINGS & LINKS */
.footer-heading {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #00ddf9;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li+li {
    margin-top: 8px;
}

.footer-links a {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* BOTTOM BAR */
.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    margin-top: 40px;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    color: #6b7280;
}

.footer-social a {
    margin-left: 14px;
    font-size: 16px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.1s ease;
}

.footer-social a:hover {
    color: #00ddf9;
    transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 32px;
    }
}

@media (max-width: 640px) {
    .space-footer {
        padding: 40px 16px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social a {
        margin-left: 0;
        margin-right: 12px;
    }
}

@media (max-width: 480px) {
    .footer-input-group {
        flex-direction: column;
        padding: 10px;
    }

    .footer-btn {
        width: 100%;
        margin-top: 10px;
    }
}


/*------- Home page ----*/
.newsletter-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    background: linear-gradient(90deg, rgba(0, 221, 249, 0.08), rgba(96, 165, 250, 0.08));
    padding: 0;
    margin-left: -50vw;
    margin-right: -50vw;
    /* remove spacing */
    display: flex;
    justify-content: center;
}

.newsletter-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 20px;
    /* padding only inside container */
    text-align: center;
    color: #fff;
}

.newsletter-icon {
    width: 52px;
    height: 52px;
    background: #ffffff14;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 18px;
    font-size: 22px;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00ddf9;
}

.newsletter-subtitle {
    font-size: 16px;
    color: #d1d5db;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 10px;
    outline: none;
    border: none;
    color: #000;
}

.newsletter-form button {
    padding: 14px;
    background-color: #00ddf9;
    border-radius: 10px;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.newsletter-form button i {
    margin-right: 8px;
}

.newsletter-privacy {
    margin-top: 22px;
    font-size: 14px;
    color: #b6beca;
}


/* --- MOBILE layout adjustments --- */
@media (max-width: 640px) {

    /* 1. Two columns on mobile for Solutions + Company */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Brand full width on first row */
    .footer-col-brand {
        grid-column: 1 / -1 !important;
    }

    /* 2. Company & Solutions stay side by side */
    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        grid-column: auto !important;
    }

    /* 3. Copyright & Social in one row */
    .footer-bottom {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
        gap: 10px;
    }

    .footer-copy {
        max-width: 60%;
        font-size: 13px;
        line-height: 1.3;
        white-space: normal;
    }

    .footer-social {
        display: flex;
        justify-content: flex-end;
        gap: 12px;
    }
}


/* --- Blog page -----*/
/* Wrapper */
.featured-article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Top label */
.featured-article-label {
    display: inline-flex;
    align-items: center !important;
    justify-content: center;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #00ddf9;
    background: linear-gradient(90deg, rgba(0, 221, 249, 0.08), rgba(96, 165, 250, 0.08));
    margin-bottom: 18px;
}

/* Card layout */
.featured-article-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 32px;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* Left side */
.featured-article-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
}

.featured-article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.featured-article-card:hover .featured-article-media img {
    transform: scale(1.03);
}

/* Tag on image */
.featured-article-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #000000;
    background: #00ddf9;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.45);
}

/* Right side */
.featured-article-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Meta */
.featured-article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

.featured-article-meta i {
    margin-right: 6px;
}

.meta-separator {
    opacity: 0.6;
}

/* Title & description */
.featured-article-title {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 10px;
    color: #0f172a;
}

.featured-article-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 18px;
}

/* Footer: author + button */
.featured-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 10px;
}

.featured-article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 221, 249, 0.08), rgba(96, 165, 250, 0.08));
    color: #00ddf9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.author-info {
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.author-role {
    font-size: 12px;
    color: #94a3b8;
}

/* Button */
.featured-article-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #111827);
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.featured-article-button i {
    font-size: 13px;
}

.featured-article-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #111827, #020617);
}

/* Responsive */
@media (max-width: 900px) {
    .featured-article-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .featured-article-media {
        max-height: 260px;
    }

    .featured-article-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-article-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .featured-article {
        padding: 24px 16px;
    }

    .featured-article-title {
        font-size: 22px;
    }

    .featured-article-desc {
        font-size: 14px;
    }
}


.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 221, 249, 0.08), rgba(96, 165, 250, 0.08));
    color: #00ddf9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
}

.author-info {
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.author-role {
    font-size: 12px;
    color: #6b7280;
}

/* Button */
.featured-article-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #00ddf9;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
        background 0.15s ease;
}

.space-page-content a {
    color: #000000;
    text-decoration: underline;
}

.space-page-content a:hover {
    color: #000000;
}

.featured-article-button:hover {
    background: #00ddf9;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
    .featured-article-card {
        flex-direction: column;
        padding: 20px;
    }

    .featured-article-image {
        flex: 0 0 auto;
        height: 220px;
    }

    .featured-article-title {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .featured-article-meta {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .featured-article-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-article-button {
        width: 100%;
        justify-content: center;
    }
}

.recent-articles {
    background: #f5f7fb;
    padding: 60px 16px 80px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;

    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.recent-articles-inner {
    max-width: 1120px;
    margin: 0 auto;
}

/* Header */
.recent-articles-header {
    text-align: center;
    margin-bottom: 32px;
}

.recent-articles-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #0f172a;
}

.recent-articles-header p {
    font-size: 14px;
    color: #6b7280;
}

/* Grid */
.recent-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Card */
.article-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}

/* Image */
.article-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.article-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    background: #017a89;
    border-radius: 999px;
}

.article-tag-green {
    background: #017a89;
}

.article-tag-orange {
    background: #017a89;
}

.article-tag-purple {
    background: #017a89;
}

/* Body */
.article-body {
    padding: 14px 16px 6px;
}

.article-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.article-meta i {
    margin-right: 4px;
}

.article-title {
    font-size: 16px;
    line-height: 1.4;
    color: #0f172a;
    margin-bottom: 6px;
}

.article-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
}

/* Footer */
.article-footer {
    padding: 10px 16px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 221, 249, 0.08), rgba(96, 165, 250, 0.08));
    color: #00ddf9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.author-info {
    flex-direction: column;
}

.author-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.author-role {
    font-size: 11px;
    color: #94a3b8;
}

/* Read more link */
.article-link {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-link i {
    font-size: 12px;
}

.article-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .recent-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .recent-articles {
        padding: 40px 12px 60px;
    }

    .recent-articles-grid {
        grid-template-columns: 1fr;
    }
}

.space-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 0px !important;
}

@media screen and (max-width: 991px) and (min-width: 768px) {
    .space-content-section {
        width: 100%;
        float: none;
        margin-bottom: 0px !important;
    }
}

.space-page-content.page-template {
    margin-bottom: 0px !important;
}


/*----- Support -------*/
.support-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
}

/* Floating Button */
.support-toggle-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: radial-gradient(circle at 30% 20%, #00ddf9, #0ea5e9, #050b24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ecfdf3;
    font-size: 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.support-toggle-btn::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.25), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.support-toggle-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 24px 55px rgba(187, 227, 245, 0.9);
}

.support-toggle-btn:hover::before {
    opacity: 1;
}

.support-toggle-btn span {
    position: relative;
    z-index: 1;
}

/* When panel open – show X icon */
.support-toggle-btn.open {
    background: radial-gradient(circle at 30% 20%, #0f172a, #020617);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

.support-toggle-btn.open .icon-chat {
    display: none;
}

.support-toggle-btn.open .icon-close {
    display: inline;
}

.support-toggle-btn .icon-close {
    display: none;
}

/* Panel */
.support-panel {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 290px;
    max-width: 80vw;
    padding: 14px 14px 10px;
    border-radius: 18px;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.96),
            rgba(15, 23, 42, 0.85));
    border: 1px solid rgba(148, 163, 184, 0.25);

    color: #e5e7eb;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform-origin: bottom right;
    transform: translateY(6px) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.support-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.support-panel-header {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.support-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 221, 249, 0.08), rgba(96, 165, 250, 0.08));
    color: #00ddf9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.support-panel-title {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.support-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 221, 249, 0.08), rgba(96, 165, 250, 0.08));
    border: 1px solid #00ddf9;
    color: #00ddf9;
}

.support-panel-subtitle {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 2px;
}

.support-close-inline {
    margin-left: auto;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
    padding: 0 4px;
}

.support-actions {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-btn {
    width: 100%;
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 8px 10px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    text-align: left;
}

.support-btn .icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.support-btn .text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.support-btn .label {
    font-size: 12px;
}

.support-btn .sub {
    font-size: 10px;
    opacity: 0.75;
}

.support-btn.whatsapp {
    background: radial-gradient(circle at 10% 0, #22c55e, #16a34a);
    color: #022c22;
    border-color: rgba(16, 185, 129, 0.7);
}

.support-btn.whatsapp .icon {
    background: rgba(6, 78, 59, 0.2);
}

.support-btn.email {
    background: radial-gradient(circle at 0 0, #0f172a, #020617);
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.4);
}

.support-btn.email .icon {
    background: rgba(15, 23, 42, 0.85);
}

.support-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.7);
}

.support-note {
    margin-top: 6px;
    font-size: 10px;
    opacity: 0.6;
    text-align: center;
}

/* Mobile tweaks */
@media (max-width: 640px) {
    .support-widget {
        bottom: 14px;
        right: 14px;
    }

    .support-toggle-btn {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .support-panel {
        width: 260px;
        padding: 12px 12px 8px;
    }
}

.support-btn .label {
    color: #ffffff !important;
}

.whatsapp-icon i {
    color: #ffffff !important;
    /* pure white */
    font-weight: 200 !important;
    /* bold effect */
    font-size: 15px !important;
    /* increase size */
}


.space-mobile-menu-copy {
    margin-top: 310px;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.75em;
    line-height: 1.45em;
    color: #7f8c8d;
}

.space-mobile-menu-list ul li.menu-item-38 a {
    position: relative;
    display: inline-block;
    padding: 13px 50px;
    margin: 30px 0 0;
    font-weight: 400;
    font-size: 1em;
    line-height: 1.25em;
    color: #000 !important;
    text-decoration: none !important;
    border-radius: 23px;
    border-bottom: 0;
    background-color: transparent !important;
    border: 2px solid #2ecc71 !important;
    box-shadow: 0 5px 15px 0 rgba(242, 248, 252, 0.55);
}

.space-mobile-menu-list ul li.menu-item-38 a:hover {
    background-color: #16a34a !important;
    color: #fff !important;
}


.whatsapp-btn-mf {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: #00ddf9;
    border: 2px solid #00ddf9;
    border-radius: 5px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.whatsapp-btn-mf:hover {
    background-color: #00ddf9;
    color: white;
    transform: scale(1.05);
    /* Slight zoom effect */
}

.whatsapp-btn-mf:active {
    transform: scale(1);
    /* Reset scale when clicked */
}


.article-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Visible state */
.article-popup.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Box styling */
.article-popup-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(90deg, rgba(0, 221, 249, 0.08), rgba(96, 165, 250, 0.08));
    /* dark navy */
    color: #000;
    /* light gray */
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.4);
    max-width: 320px;
    font-size: 14px;
}

/* Icon */
.article-popup-icon i {
    font-size: 18px;
    color: #38bdf8;
    /* info blue */
}

/* Close button */
.article-popup-close {
    margin-left: auto;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 16px;
    cursor: pointer;
    padding: 0 0 0 4px;
}

.article-popup-close:hover {
    color: #e5e7eb;
}

/* Text */
.article-popup-text {
    font-weight: 500;
}

/* Mobile: full-width bottom bar */
@media (max-width: 768px) {
    .article-popup {
        bottom: 0;
        right: 0;
        left: 0;
        transform: translateY(10px);
        padding: 0 10px 10px;
    }

    .article-popup-inner {
        max-width: 100%;
        width: 100%;
        border-radius: 14px 14px 0 0;
    }
}