/* Add to end of style.css */

/* --- Nexocode Inspired Improvements --- */

/* Utility Classes */
.pt-large { padding-top: 6rem; }
.pb-large { padding-bottom: 6rem; }
.pb-small { padding-bottom: 2rem; }
.pt-small { padding-top: 2rem; }
.mt-large { margin-top: 4rem; }
.mt-medium { margin-top: 2rem; }
.mt-small { margin-top: 1rem; }
.mt-xs { margin-top: 0.25rem; }
.mb-large { margin-bottom: 3rem; }
.mb-medium { margin-bottom: 2rem; }
.mb-small { margin-bottom: 1rem; }
.p-large { padding: 3rem; }
.p-medium { padding: 2rem; }
.p-small { padding: 1rem; }
.p-0 { padding: 0; }
.pl-large { padding-left: 3rem; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { display: flex; flex-wrap: wrap; }
.gap-large { gap: 4rem; }
.gap-medium { gap: 2rem; }
.gap-small { gap: 1rem; }
.align-center { align-items: center; }
.justify-center { display: flex; justify-content: center; }
.text-start { text-align: left; }
.w-50 { width: 50%; }
.w-100 { width: 100%; }
.max-w-800 { max-width: 800px; margin: 0 auto; }
.max-w-400 { max-width: 400px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.block { display: block; }
.inline-block { display: inline-block; }
.text-xl { font-size: 2rem; }
.text-large { font-size: 1.25rem; }
.text-small { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.italic { font-style: italic; }
.m-0 { margin: 0; }
.bg-light { background-color: #f9f9f9; }
.bg-light-blue { background-color: #f0f0f0; }
.bg-transparent { background-color: transparent; }
.text-gray { color: #555; }
.text-white { color: #fff; }
.text-black { color: #000; }
.border-none { border: none; }
.border-bottom-light { border-bottom: 1px solid rgba(255,255,255,0.1); }
.border-right-light { border-right: 1px solid rgba(255,255,255,0.1); }
.border-left-light { border-left: 1px solid rgba(255,255,255,0.1); }
.border-top-light { border-top: 1px solid rgba(255,255,255,0.1); }
.border-light-all { border: 1px solid rgba(255,255,255,0.2); }
.border-blue { border-color: #333; }
.outline-none { outline: none; }
.shadow-mondrian { box-shadow: 8px 8px 0 var(--mondrian-black); }
.rounded-circle { border-radius: 50%; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.position-relative { position: relative; }
.min-h-200 { min-height: 200px; }
.h-24 { height: 24px; }
.f-1 { flex: 1; }
.f-2 { flex: 2; }
.f-3 { flex: 3; }
.py-medium { padding-top: 1rem; padding-bottom: 1rem; }
.px-medium { padding-left: 1rem; padding-right: 1rem; }
.cursor-pointer { cursor: pointer; }
.transition-all { transition: all 0.3s ease; }
.hover-bg-white:hover { background-color: #ffffff; }
.hover-text-black:hover { color: #000000; }
.hover-text-white:hover { color: #ffffff; }
.text-decoration-none { text-decoration: none; }
.color-inherit { color: inherit; }
.list-none { list-style: none; }

/* 1. Stats Bar */
.stats-container { text-align: center; }
.stat-item { flex: 1; padding: 1rem; }
.stat-num-container { font-family: var(--font-heading); font-size: 3rem; font-weight: 900; line-height: 1; color: var(--mondrian-white); margin-bottom: 0.5rem; }
.stat-label { text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.05em; color: #aaa; }

/* 2. Services Grid 6 */
.services-grid-6 { grid-template-columns: repeat(3, 1fr); }
.bar-black { background-color: var(--mondrian-black); }

/* 3. Industry Tabs */
.industry-tabs-container { min-height: 400px; }
.tabs-sidebar { width: 300px; flex-shrink: 0; }
.tab-btn { background: none; border: none; padding: 1.5rem; font-family: var(--font-heading); font-size: 1.125rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.2s; }
.tab-btn:hover { background-color: rgba(255,255,255,0.05); }
.tab-btn.active { background-color: #1a1a1a; font-weight: bold; border-color: #1a1a1a; }
.tab-btn .arrow { opacity: 0; transition: opacity 0.2s, transform 0.2s; }
.tab-btn.active .arrow { opacity: 1; transform: translateX(5px); }
.tab-pane { display: none; animation: fadeIn 0.5s ease forwards; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.check-list li { position: relative; padding-left: 1.5rem; list-style: none; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: #333; font-weight: bold; }

/* 4. Process Timeline 4 */
.process-timeline-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* 5. Testimonial Slider */
.testimonial-slide { display: none; position: absolute; top: 0; left: 0; width: 100%; transition: opacity 0.3s; opacity: 0; }
.testimonial-slide.active { display: block; position: relative; opacity: 1; animation: fadeIn 0.5s; }
.slider-btn.active, .slider-btn:hover { background-color: var(--mondrian-black); color: var(--mondrian-white); }
.btn-square { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 2px solid var(--mondrian-black); font-size: 1.25rem; font-weight: bold; transition: all 0.2s; }

/* 6. Tech Tags */
.tag { font-size: 0.75rem; text-transform: uppercase; padding: 0.25rem 0.5rem; border: 2px solid #222; font-weight: 700; letter-spacing: 0.03em; }
.tag-blue { background-color: #444; color: white; border-color: #444; }
.tag-red { background-color: #222; color: white; border-color: #222; }
.tag-yellow { background-color: #e8e8e8; color: #222; border-color: #ccc; }
.tag-dark { background-color: #000; color: white; border-color: #000; }

/* 7. CTA Forms */
.form-input { display: block; }
.cta-form { grid-column: 2; grid-row: 1/3; z-index: 10; }
.mondrian-cta-grid { grid-template-columns: 1fr 2fr; } /* Adjusting grid specifically for the added form */
@media (min-width: 1025px) {
    .mondrian-cta-grid { grid-template-columns: 5fr 1fr 1fr 4fr; }
    .cta-content { grid-column: 1/2; grid-row: 1/3; }
    .cta-accent.bg-cta-dark { grid-column: 2; grid-row: 1/2; }
    .cta-accent.bg-cta-mid { grid-column: 3; grid-row: 1/3; height: auto; }
    .cta-form { grid-column: 4; grid-row: 1/3; }
}

/* 8. Footer 5 Col */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 2fr; gap: 2rem; }

/* Responsive Adjustments for new stuff */
@media (max-width: 1024px) {
    .services-grid-6 { grid-template-columns: repeat(2, 1fr); }
    .process-timeline-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .brand-col { grid-column: 1/-1; margin-bottom: 2rem; }
    .border-left-light { border-left: none; padding-left: 0; }
}

@media (max-width: 768px) {
    .stats-container { flex-direction: column; gap: 2rem; }
    .stat-item.border-right-light { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .services-grid-6 { grid-template-columns: 1fr; }
    .industry-tabs-container { flex-direction: column; }
    .tabs-sidebar { width: 100%; display: flex; overflow-x: auto; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .tab-btn { padding: 1rem; white-space: nowrap; border-bottom: none; border-right: 1px solid rgba(255,255,255,0.1); }
    .process-timeline-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .w-50 { width: 100%; }
    .flex-gap-large { flex-direction: column; }
    .cta-form { padding: 2rem; }
}

/* --- Creative Grayscale Palette --- */

/* Hero visual Mondrian blocks */
.v-dark  { background-color: #1a1a1a; }
.v-medium { background-color: #666; }
.v-light { background-color: #d4d4d4; }

/* Hero accent text — subtle emphasis without color */
.text-accent { color: #333; font-style: italic; }

/* Service card top bars — alternating grays */
.bar-dark   { background-color: #1a1a1a; }
.bar-medium { background-color: #888; }
.bar-light  { background-color: #d0d0d0; }

/* Process step number circles */
.bg-step {
    background-color: #fff;
    color: #000;
    border: 2px solid #222;
}

/* CTA accent blocks */
.bg-cta-dark { background-color: #222; }
.bg-cta-mid  { background-color: #888; }

/* Footer decoration bars — graduated grays */
.bg-fd-1 { background-color: #333; }
.bg-fd-2 { background-color: #fcfcfc; }
.bg-fd-3 { background-color: #bbb; }
.bg-fd-4 { background-color: #666; }

/* Newsletter email input visibility */
.input-dark { border-bottom: 1px solid rgba(255,255,255,0.3) !important; }

/* Footer link flex-grow for email input */
.flex-grow { flex: 1; }
