/* Premium SaaS Section Styles - Clean, Solid & Professional */

/* Services Overview & Grid Styles */
.services-section {
    padding: var(--section-padding);
    background-color: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.section-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    font-family: var(--font-display);
    text-align: center;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.75rem;
    }
}

.section-description {
    font-size: 1.0625rem;
    color: var(--slate-500);
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

.service-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 0.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.service-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.625rem;
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.service-description {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.service-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}

.service-card:hover .service-link {
    gap: 0.6rem;
    color: var(--brand-primary-dark);
}

.services-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Feature Checkmarks in About Section */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--slate-800);
}

.about-feature-item .check-icon {
    width: 20px;
    height: 20px;
    color: var(--brand-accent);
    flex-shrink: 0;
}

.about-img-frame {
    border: 1px solid #E2E8F0;
    border-radius: 0.875rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #FFFFFF;
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: var(--section-padding);
    background: #FFFFFF;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

.testimonial-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 0.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.testimonial-card:hover {
    border-color: #CBD5E1;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #FFFFFF;
    font-size: 1rem;
    font-family: var(--font-display);
}

.avatar-green {
    background-color: var(--brand-primary);
}

.avatar-purple {
    background-color: #7C3AED;
}

.avatar-blue {
    background-color: #0284C7;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 0;
}

.testimonial-role {
    font-size: 0.8125rem;
    color: var(--slate-500);
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: #F59E0B;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.65;
    font-style: italic;
    margin: 0;
}

/* Regional SEO Hub Section Styles */
.seo-hub-section {
    background-color: #0F172A;
    color: #FFFFFF;
    padding: 5rem 0;
    border-top: 1px solid #1E293B;
    border-bottom: 1px solid #1E293B;
}

.seo-hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .seo-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .seo-hub-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.seo-hub-card {
    background: #090D16;
    border: 1px solid #1E293B;
    border-radius: 0.75rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.seo-hub-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-3px);
}

.seo-hub-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.seo-hub-card p {
    font-size: 0.875rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-align: left;
}

.seo-hub-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.seo-hub-link:hover {
    color: #34D399;
}

.seo-tag-matrix {
    border-top: 1px solid #1E293B;
    padding-top: 2rem;
    margin-top: 2rem;
}

.seo-tag-matrix h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #CBD5E1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.seo-tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.seo-tag-chip {
    background: #1E293B;
    border: 1px solid #334155;
    color: #94A3B8;
    padding: 0.35rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.seo-tag-chip:hover {
    color: #FFFFFF;
    border-color: var(--brand-primary);
    background: #0F172A;
}

/* Premium CTA Banner Styles */
.cta-section {
    background-color: var(--brand-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5.5rem 0;
    color: #FFFFFF;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-description {
    font-size: 1.0625rem;
    color: #CCFBF1;
    margin: 0 auto 2.25rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.btn-white {
    background-color: #FFFFFF;
    color: var(--brand-primary-dark);
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 0.625rem;
    border: 1px solid #FFFFFF;
    transition: all 0.2s ease;
}

.btn-white:hover {
    background-color: #F1F5F9;
    transform: translateY(-2px);
}

.btn-accent-outline {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 0.625rem;
    transition: all 0.2s ease;
}

.btn-accent-outline:hover {
    background-color: #1E293B;
    border-color: #475569;
    transform: translateY(-2px);
}

/* ======================
   Our Expertise Section
   ====================== */
.expertise-section {
    padding: 6rem 0;
    background-color: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.expertise-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.expertise-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary);
    box-shadow: 0 20px 25px -5px rgba(13, 148, 136, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
}

.expertise-card.span-2 {
    grid-column: span 1;
}

.expertise-card-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.expertise-image-wrapper {
    margin-top: 1rem;
}

.expertise-image-wrapper img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0.75rem;
}

.expertise-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    background: rgba(13, 148, 136, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon-wrapper {
    background: var(--brand-primary);
    color: #FFFFFF;
}

.expertise-icon-wrapper svg {
    width: 1.5rem;
    height: 1.5rem;
}

.expertise-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.625rem;
    font-family: var(--font-display);
}

.expertise-desc {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.expertise-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--slate-700);
    background: #F1F5F9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #E2E8F0;
}

/* Visual Mockups inside cards */
.expertise-visual-preview {
    background: #090D16;
    border-radius: 0.875rem;
    border: 1px solid #1E293B;
    padding: 1rem;
    overflow: hidden;
    height: 140px;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .expertise-visual-preview {
        margin-top: 0;
    }
}

.code-preview {
    font-family: monospace;
    font-size: 0.75rem;
    color: #38BDF8;
}

.code-preview pre {
    margin: 0;
    overflow: hidden;
}

.preview-dots {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.preview-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #334155;
}

.ui-preview {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    box-shadow: none;
}

.ui-button {
    background: var(--brand-primary);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
}

.ui-bars {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ui-bar {
    height: 6px;
    background: #CBD5E1;
    border-radius: 3px;
}

.device-preview {
    background: #090D16;
    border-radius: 0.875rem 0.875rem 0 0;
    border: 2px solid #1E293B;
    border-bottom: none;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: auto;
}

.phone-notch {
    width: 60px;
    height: 12px;
    background: #1E293B;
    border-radius: 0 0 6px 6px;
    position: absolute;
    top: 0;
}

.phone-status {
    color: #38BDF8;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
}

.secure-preview {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #047857;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 100px;
    border-radius: 0.875rem;
    margin-top: auto;
}

.secure-icon {
    width: 2.25rem;
    height: 2.25rem;
    color: #10B981;
}

.secure-preview span {
    font-size: 0.8125rem;
    font-weight: 700;
}

/* ====================================================
   Why Choose Us & Technologies We Use Section (Matched UI)
   ==================================================== */
.why-choose-us-section {
    padding: 6.5rem 0 7rem 0;
    background: radial-gradient(circle at 10% 15%, rgba(204, 251, 241, 0.45) 0%, rgba(248, 250, 252, 0.8) 45%, rgba(239, 246, 255, 0.45) 100%);
    color: #0F172A;
    position: relative;
}

.why-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 6rem;
}

@media (min-width: 992px) {
    .why-split-layout {
        grid-template-columns: 1fr 1.2fr;
        gap: 4.5rem;
    }
}

.why-left-content {
    display: flex;
    flex-direction: column;
}

.why-advantage-badge {
    align-self: flex-start;
    background: #E6FFFA;
    color: #0D9488;
    border: 1px solid #B2F5EA;
    padding: 0.35rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.why-heading {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
}

.why-heading .text-brand-teal {
    color: #0D9488;
}

.why-lead-desc {
    color: #64748B;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

/* 4 Metrics Row */
.why-metrics-bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.why-metric-box {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.why-metric-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0D9488;
    flex-shrink: 0;
}

.why-metric-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.1;
    font-family: var(--font-display, sans-serif);
}

.why-metric-lbl {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0.15rem;
}

/* Right Column Stack Cards */
.why-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.why-brand-card {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 1.125rem;
    padding: 1.4rem 1.75rem;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-brand-card:hover {
    transform: translateY(-3px);
    border-color: #CCFBF1;
    box-shadow: 0 12px 28px -4px rgba(13, 148, 136, 0.08);
}

.why-card-index {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0D9488;
    min-width: 24px;
    font-family: var(--font-display, sans-serif);
}

.why-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #E6FFFA;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0D9488;
    flex-shrink: 0;
}

.why-card-body {
    flex: 1;
}

.why-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 0.3rem 0;
    font-family: var(--font-display, sans-serif);
}

.why-card-text {
    font-size: 0.875rem;
    color: #64748B;
    margin: 0;
    line-height: 1.55;
}

/* =====================================
   Technologies We Use (Showcase Grid)
   ===================================== */
.tech-showcase-container {
    width: 100%;
    padding-top: 1rem;
}

.tech-showcase-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 3.5rem;
}

.tech-future-badge {
    background: #E6FFFA;
    color: #0D9488;
    border: 1px solid #B2F5EA;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    display: inline-block;
    margin-bottom: 0.85rem;
}

.tech-showcase-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
    font-family: var(--font-display, sans-serif);
}

.tech-showcase-title .text-brand-teal {
    color: #0D9488;
}

.tech-showcase-desc {
    font-size: 0.95rem;
    color: #64748B;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 6 Grid Cards */
.tech-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
    .tech-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tech-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

.tech-category-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 4px 15px -2px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tech-category-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}

.tech-category-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
}

.tech-category-head svg {
    color: #2563EB;
}

.tech-category-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    font-family: var(--font-display, sans-serif);
}

.tech-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    flex: 1;
    justify-content: center;
}

.tech-logos-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    gap: 1.25rem;
}

.tech-logos-row.row-tight {
    gap: 0.75rem;
}

.tech-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    min-width: 58px;
    max-width: 80px;
    flex: 0 1 auto;
}

.tech-logo-item img {
    height: 32px;
    width: 32px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.tech-logo-item:hover img {
    transform: scale(1.12);
}

.tech-logo-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.25;
    text-align: center;
    word-break: normal;
    white-space: normal;
}

.tech-action-center {
    text-align: center;
}

.tech-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: 1.5px solid #0D9488;
    border-radius: 8px;
    color: #0D9488;
    font-weight: 600;
    font-size: 0.9375rem;
    background: #FFFFFF;
    text-decoration: none;
    transition: all 0.25s ease;
}

.tech-action-btn:hover {
    background: #F0FDF4;
    border-color: #0F766E;
    color: #0F766E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -2px rgba(13, 148, 136, 0.15);
}

/* ==========================================
   Headquarters / Regional Advantage Section
   ========================================== */
.hq-section {
    padding: var(--section-padding);
    background-color: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    overflow: hidden;
}

.hq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hq-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 5rem;
    }
}

.hq-text-wrapper {
    max-width: 100%;
}

.hq-badge {
    background: #1E293B;
    color: #2DD4BF;
    border: 1px solid #334155;
    padding: 0.35rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: inline-block;
}

.hq-text-wrapper {
    text-align: center;
}

.hq-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    font-family: var(--font-display);
    text-align: center;
}

.hq-title span.brand-highlight {
    color: var(--brand-primary);
}

.hq-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .hq-title {
        font-size: 2.75rem;
    }
}

@media (min-width: 992px) {
    .hq-text-wrapper {
        text-align: left;
    }

    .hq-title {
        text-align: left;
    }

    .hq-description {
        text-align: left;
    }
}

.hq-card {
    background-color: #F0F9FF;
    /* Light blue workspace card */
    border: 1px solid #E0F2FE;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.hq-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.hq-card-desc {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin: 0;
}

/* Image Grid/Collage Styles */
.hq-collage-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modern Asymmetric Bento Collage for Images */
.hq-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 0.75rem;
    width: 100%;
    max-width: 580px;
    aspect-ratio: 1.15 / 1;
}

.hq-grid-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hq-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hq-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.hq-grid-item:hover img {
    transform: scale(1.05);
}

/* Position mapping for the items to look extremely premium and custom */
.item-1 {
    grid-column: 1 / 9;
    grid-row: 1 / 8;
}

.item-2 {
    grid-column: 9 / 13;
    grid-row: 1 / 6;
}

.item-3 {
    grid-column: 1 / 5;
    grid-row: 8 / 13;
}

.item-4 {
    grid-column: 5 / 9;
    grid-row: 8 / 13;
}

.item-5 {
    grid-column: 9 / 13;
    grid-row: 6 / 13;
}

/* ====================================================
   Ambient Blended Mesh Gradient Backgrounds & Glows
   ==================================================== */
.ambient-gradient-bg {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ambient-gradient-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, rgba(14, 165, 233, 0.2) 50%, rgba(255, 255, 255, 0) 75%);
    animation: pulseGlowRight 12s ease-in-out infinite alternate;
}

.ambient-gradient-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.35) 0%, rgba(236, 72, 153, 0.2) 45%, rgba(255, 255, 255, 0) 75%);
    animation: pulseGlowLeft 15s ease-in-out infinite alternate;
}

.ambient-glow-teal-purple {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ambient-glow-teal-purple::before {
    content: '';
    position: absolute;
    top: -15%;
    left: 15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.4) 0%, rgba(13, 148, 136, 0.2) 50%, rgba(255, 255, 255, 0) 75%);
    animation: pulseGlowLeft 14s ease-in-out infinite alternate;
}

.ambient-glow-teal-purple::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(139, 92, 246, 0.2) 50%, rgba(255, 255, 255, 0) 75%);
    animation: pulseGlowRight 16s ease-in-out infinite alternate;
}

.ambient-gradient-bg>.container,
.ambient-glow-teal-purple>.container {
    position: relative;
    z-index: 2;
}

@keyframes pulseGlowRight {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -25px) scale(1.08);
    }

    100% {
        transform: translate(-15px, 20px) scale(0.96);
    }
}

@keyframes pulseGlowLeft {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-25px, 20px) scale(1.06);
    }

    100% {
        transform: translate(20px, -15px) scale(0.95);
    }
}

/* Mobile Responsive Tweaks for Bento Collage and Why Item */
@media (max-width: 576px) {
    .hq-bento-grid {
        gap: 0.5rem;
    }

    .hq-grid-item {
        border-radius: 0.5rem;
    }

    .why-item {
        padding: 1.5rem;
        gap: 1rem;
        flex-direction: column;
        /* Stack details vertically on very narrow screens */
    }

    .why-icon-number {
        font-size: 1.25rem;
    }
}

/* ====================================================
   Trusted Brands / Clients Section
   ==================================================== */
.brands-section {
    padding: 3rem 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #F1F5F9;
    overflow: hidden;
}

.brands-subtitle {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--slate-500);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.brands-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Add subtle fade effect on edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.brands-marquee {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: scrollMarquee 30s linear infinite;
    will-change: transform;
}

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

.brand-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Translate left by exactly half the width since we duplicated the items */
        transform: translateX(calc(-50% - 2rem));
    }
}

@media (max-width: 768px) {
    .brands-section {
        padding: 2.5rem 0;
    }

    .brand-logo {
        height: 45px;
    }

    .brands-marquee {
        gap: 2.5rem;
    }

    @keyframes scrollMarquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-50% - 1.25rem));
        }
    }
}