/* ==========================================================================
   ZenX Creatives — Sub-Pages Design System (pages.css)
   Unified Styling for: About, Blogs, Contact, Projects
   Palette: Vermilion #FF4326 | Dark #111827 | Warm #FFA439 | Background #FAFAFA
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SHARED PAGE HERO & CONTAINER ELEMENTS
   -------------------------------------------------------------------------- */
.page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  box-sizing: border-box;
}

.page-hero {
  position: relative;
  padding: 160px 0 60px;
  text-align: center;
  overflow: hidden;
}

.page-hero-left {
  text-align: left;
}

.page-hero-content {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero-left .page-hero-content {
  margin: 0;
  max-width: 780px;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 67, 38, 0.08);
  border: 1px solid rgba(255, 67, 38, 0.22);
  border-radius: 9999px;
  color: #ff4326;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.page-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ff4326;
  box-shadow: 0 0 10px rgba(255, 67, 38, 0.8);
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.page-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #111827;
  margin: 0 0 20px 0;
}

.page-title span.highlight {
  color: #ff4326;
  position: relative;
  display: inline-block;
}

.page-title span.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 67, 38, 0.15);
  border-radius: 3px;
  z-index: -1;
}

.page-desc {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: #555e6d;
  margin: 0 auto;
  max-width: 660px;
}

.page-hero-left .page-desc {
  margin: 0;
}

/* Hero Stats Pill Row */
.hero-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  font-size: 13.5px;
  color: #374151;
  font-weight: 600;
  transition: all 0.25s ease;
}

.stat-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 67, 38, 0.3);
  box-shadow: 0 6px 18px rgba(255, 67, 38, 0.08);
}

.stat-pill strong {
  color: #ff4326;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   2. FILTER TABS & SEARCH
   -------------------------------------------------------------------------- */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 45px 0;
}

.filter-btn {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  color: #4b5563;
  padding: 9px 20px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.filter-btn:hover {
  color: #111827;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.filter-btn.active {
  background: #ff4326;
  color: #ffffff;
  border-color: #ff4326;
  box-shadow: 0 4px 14px rgba(255, 67, 38, 0.28);
}

/* --------------------------------------------------------------------------
   3. ABOUT PAGE SPECIFIC STYLES
   -------------------------------------------------------------------------- */
/* Story Split Section */
.about-story-section {
  padding: 60px 0 90px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-story-text h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.about-story-text p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 20px;
}

.about-story-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.story-metric-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.story-metric-box:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 67, 38, 0.3);
  box-shadow: 0 10px 24px rgba(255, 67, 38, 0.08);
}

.story-metric-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #ff4326;
  line-height: 1;
  margin-bottom: 6px;
}

.story-metric-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
}

/* Timeline Milestones */
.timeline-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 17px;
  width: 2px;
  background: #f1f3f6;
}

.timeline-item {
  display: flex;
  gap: 20px;
  position: relative;
}

.timeline-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff8f6;
  border: 2px solid #ff4326;
  color: #ff4326;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(255, 67, 38, 0.15);
}

.timeline-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px 0;
}

.timeline-body p {
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* Philosophy Comparison Grid */
.comparison-section {
  padding: 70px 0;
}

.comparison-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.comparison-header h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.comparison-card {
  border-radius: 20px;
  padding: 38px 34px;
  position: relative;
  transition: all 0.3s ease;
}

.comparison-card.card-legacy {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.comparison-card.card-zenx {
  background: #ffffff;
  border: 1px solid rgba(255, 67, 38, 0.35);
  box-shadow: 0 12px 36px rgba(255, 67, 38, 0.08);
}

.card-legacy .comparison-badge {
  display: inline-block;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.card-zenx .comparison-badge {
  display: inline-block;
  background: #ff4326;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(255, 67, 38, 0.3);
}

.comparison-card h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 16px 0;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #4b5563;
}

.comparison-list li .icon-cross {
  color: #ef4444;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

.comparison-list li .icon-check {
  color: #ff4326;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Core Pillars 4-Card Grid */
.pillars-section {
  padding: 80px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 67, 38, 0.35);
  box-shadow: 0 14px 32px rgba(255, 67, 38, 0.09);
}

.pillar-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: rgba(255, 67, 38, 0.16);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.pillar-card:hover .pillar-num {
  color: #ff4326;
}

.pillar-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
}

.pillar-card p {
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. BLOGS PAGE SPECIFIC STYLES
   -------------------------------------------------------------------------- */
/* Featured Blog Post */
.blog-featured-section {
  padding: 20px 0 50px;
}

.blog-featured-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.blog-featured-card:hover {
  border-color: rgba(255, 67, 38, 0.35);
  box-shadow: 0 16px 40px rgba(255, 67, 38, 0.1);
  transform: translateY(-3px);
}

.featured-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.featured-tag {
  background: #ff4326;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 9999px;
}

.featured-read-time {
  font-size: 12.5px;
  color: #6b7280;
  font-weight: 500;
}

.featured-content h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  margin: 0 0 16px 0;
  letter-spacing: -0.03em;
}

.featured-content p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 28px 0;
}

.featured-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.author-pill {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ff4326;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.author-info .name {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
}

.author-info .date {
  font-size: 11.5px;
  color: #9ca3af;
}

.featured-visual {
  background: linear-gradient(135deg, #1f252d 0%, #111827 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px;
}

.featured-visual-graphic {
  text-align: center;
  color: #ffffff;
}

.featured-visual-badge {
  font-family: 'Inter Tight', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #ff4326;
  letter-spacing: -0.03em;
}

.featured-visual-sub {
  font-size: 14px;
  color: #9ca3af;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Regular Blog Grid */
.blog-grid-section {
  padding: 40px 0 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 67, 38, 0.35);
  box-shadow: 0 14px 32px rgba(255, 67, 38, 0.08);
}

.blog-card-visual {
  height: 190px;
  background: #111827;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-badge-track {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #ff4326;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}

.blog-card-art {
  font-family: 'Inter Tight', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  opacity: 0.9;
  letter-spacing: -0.02em;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  color: #9ca3af;
}

.blog-card-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin: 0 0 12px 0;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: #ff4326;
}

.blog-card-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0 0 20px 0;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ff4326;
}

.read-more-arrow {
  transition: transform 0.25s ease;
}

.blog-card:hover .read-more-arrow {
  transform: translateX(4px);
}

/* Newsletter Section */
.newsletter-box {
  background: linear-gradient(135deg, #111827 0%, #1f252d 100%);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  color: #ffffff;
  margin: 60px 0 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 67, 38, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-box h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 12px 0;
}

.newsletter-box p {
  color: #9ca3af;
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto 30px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 14px 22px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: all 0.25s ease;
}

.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ff4326;
  box-shadow: 0 0 0 3px rgba(255, 67, 38, 0.3);
}

.newsletter-btn {
  background: #ff4326;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #e63919;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 67, 38, 0.4);
}

/* --------------------------------------------------------------------------
   5. CONTACT PAGE SPECIFIC STYLES
   -------------------------------------------------------------------------- */
.contact-page-section {
  padding: 20px 0 90px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: flex-start;
}

/* Contact Info Column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-channel-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.contact-channel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 67, 38, 0.35);
  box-shadow: 0 8px 24px rgba(255, 67, 38, 0.08);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon.whatsapp {
  background: #e8fbee;
  color: #25d366;
}

.channel-icon.phone {
  background: #fff0ed;
  color: #ff4326;
}

.channel-icon.email {
  background: #f0f4ff;
  color: #2563eb;
}

.channel-icon.location {
  background: #fff8eb;
  color: #d97706;
}

.channel-text .channel-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.channel-text .channel-val {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #16a34a;
  font-weight: 700;
}

.live-indicator::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulseDot 1.5s infinite;
}

/* Guarantee Pill Box */
.guarantee-box {
  background: #fff8f6;
  border: 1px dashed rgba(255, 67, 38, 0.35);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: #111827;
  font-weight: 600;
}

/* Contact Form Column */
.contact-form-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.04);
}

.contact-form-card h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.contact-form-card p.subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 28px 0;
}

.contact-field-group {
  margin-bottom: 22px;
}

.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 8px;
}

.contact-input,
.contact-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 14px;
  color: #111827;
  background: #fafafa;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: #ff4326;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 67, 38, 0.15);
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Pills Selection (Services / Budget) */
.options-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-pill {
  border: 1px solid #e5e7eb;
  background: #fafafa;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.option-pill:hover {
  border-color: #cbd5e1;
  color: #111827;
}

.option-pill.selected {
  background: #fff0ed;
  border-color: #ff4326;
  color: #ff4326;
  font-weight: 700;
}

.contact-submit-btn {
  width: 100%;
  background: #ff4326;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(255, 67, 38, 0.25);
  margin-top: 10px;
}

.contact-submit-btn:hover {
  background: #e63919;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 67, 38, 0.35);
}

/* --------------------------------------------------------------------------
   6. PROJECTS PAGE SPECIFIC STYLES
   -------------------------------------------------------------------------- */
.projects-grid-section {
  padding: 30px 0 90px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.project-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 67, 38, 0.35);
  box-shadow: 0 16px 40px rgba(255, 67, 38, 0.1);
}

.project-preview {
  height: 280px;
  background: linear-gradient(135deg, #181d24 0%, #0d1117 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.project-mockup-window {
  width: 90%;
  height: 85%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease;
}

.project-card:hover .project-mockup-window {
  transform: scale(1.03);
}

.mockup-header {
  height: 24px;
  background: #f1f3f6;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  border-bottom: 1px solid #e2e4e8;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mockup-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fafafa;
}

.mockup-hero-shape {
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 67, 38, 0.15) 0%, rgba(255, 164, 57, 0.15) 100%);
  border-radius: 8px;
  border: 1px dashed rgba(255, 67, 38, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #ff4326;
}

.mockup-grid-sample {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mockup-cell {
  height: 38px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.project-badge-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(17, 24, 39, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.project-category-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #ff4326;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(255, 67, 38, 0.4);
}

.project-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.project-client {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff4326;
}

.project-client-loc {
  font-size: 12px;
  color: #9ca3af;
}

.project-info h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 23px;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.project-info p {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 22px 0;
  flex: 1;
}

/* Impact Metrics Row in Project Card */
.project-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 22px;
}

.project-metric-item {
  text-align: center;
}

.project-metric-item .val {
  font-family: 'Inter Tight', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
}

.project-metric-item .val.highlight {
  color: #ff4326;
}

.project-metric-item .lbl {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  margin-top: 3px;
}

.project-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.project-tag {
  background: #f1f3f6;
  color: #4b5563;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.project-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #111827;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.project-action-btn:hover {
  background: #ff4326;
  box-shadow: 0 4px 14px rgba(255, 67, 38, 0.28);
}

/* CTA Bottom Banner */
.page-cta-banner {
  background: #ffffff;
  border: 1px solid rgba(255, 67, 38, 0.2);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  margin: 60px 0 30px;
  box-shadow: 0 10px 30px rgba(255, 67, 38, 0.05);
}

.page-cta-banner h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  margin: 0 0 14px 0;
}

.page-cta-banner p {
  font-size: 16px;
  color: #6b7280;
  max-width: 580px;
  margin: 0 auto 30px;
}

.page-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: #ff4326;
  color: #ffffff;
  padding: 15px 32px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(255, 67, 38, 0.3);
}

.btn-cta-primary:hover {
  background: #e63919;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 67, 38, 0.4);
}

.btn-cta-secondary {
  background: #ffffff;
  color: #111827;
  padding: 15px 32px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #d1d5db;
  transition: all 0.25s ease;
}

.btn-cta-secondary:hover {
  border-color: #111827;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   7. MODAL STYLES (For Project Deep Dives)
   -------------------------------------------------------------------------- */
.project-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.project-modal-overlay.active {
  display: flex;
}

.project-modal-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 67, 38, 0.2);
}

.project-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #4b5563;
}

.project-modal-close:hover {
  background: #ff4326;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 35px;
  }

  .page-container {
    padding: 0 18px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  .featured-content {
    padding: 28px 20px;
  }

  .project-metrics-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .project-card-image {
    height: 230px;
  }

  .project-modal-card {
    width: 92vw;
    max-width: 92vw;
    padding: 30px 22px;
    max-height: 88vh;
  }
}

@media (max-width: 600px) {
  .comparison-card {
    padding: 26px 20px;
  }

  .about-story-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .timeline-card {
    padding: 24px 18px;
  }

  .modal-metrics-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 100px 0 25px;
  }

  .page-container {
    padding: 0 14px;
  }

  .page-title {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
  }

  .page-subtitle {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .filter-tabs-wrapper {
    gap: 6px;
    margin: 8px 0 28px 0;
  }

  .filter-btn {
    padding: 7px 13px;
    font-size: 12px;
  }

  .project-card-image {
    height: 190px;
  }

  .project-card-body {
    padding: 20px 16px;
  }

  .project-card-body h3 {
    font-size: 1.35rem;
  }

  .project-metrics-row {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .project-metric-card {
    padding: 10px 8px;
  }

  .project-metric-val {
    font-size: 20px;
  }

  .project-modal-card {
    width: 95vw;
    max-width: 95vw;
    padding: 24px 16px;
    border-radius: 18px;
  }

  .project-modal-header h2 {
    font-size: 1.45rem;
  }

  .timeline-card {
    padding: 20px 14px;
    border-radius: 16px;
  }

  .timeline-item {
    gap: 12px;
  }

  .comparison-card {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .pillar-card {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .contact-form-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .channel-card {
    padding: 14px 12px;
    gap: 12px;
  }

  .channel-icon {
    width: 42px;
    height: 42px;
  }

  .channel-text .channel-val {
    font-size: 14px;
  }

  .options-pills {
    gap: 6px;
  }

  .option-pill {
    padding: 6px 11px;
    font-size: 12px;
  }

  .newsletter-box {
    padding: 30px 16px;
    border-radius: 18px;
    margin: 40px 0 20px;
  }

  .newsletter-box h3 {
    font-size: 1.6rem;
  }

  .newsletter-box p {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .project-metrics-row {
    grid-template-columns: 1fr;
  }

  .project-card-image {
    height: 170px;
  }

  .page-title {
    font-size: 1.85rem;
  }
}
