/* ============================================
   KALYAN KUMAR — Page-Specific Styles
   ============================================ */

/* ----- ACTIVE NAV LINK ----- */
.nav-link.active {
  color: var(--text);
  background: rgba(108, 92, 231, 0.12);
}

/* ----- PAGE HERO ----- */
.page-hero {
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-marketing-analytics.jpg') center/cover no-repeat;
  opacity: 0.03;
  pointer-events: none;
}
.page-hero-content {
  max-width: 720px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin: 16px 0;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

/* ----- GRADIENT TEXT ----- */
.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- ABOUT PAGE ----- */
.about-expanded {
  max-width: 900px;
  margin: 0 auto;
}
.about-bio {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.about-portrait {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-bio-text h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}
.about-bio-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ----- TIMELINE ----- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient-1);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-date {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 8px;
  padding: 4px 12px;
  background: rgba(108, 92, 231, 0.1);
  border-radius: 4px;
}
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----- MVV GRID ----- */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mvv-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.mvv-card:hover {
  border-color: rgba(108, 92, 231, 0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.mvv-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(108, 92, 231, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.mvv-icon i {
  font-size: 24px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mvv-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.mvv-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.values-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.values-list li {
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.values-list li i {
  color: var(--secondary);
  font-size: 14px;
}

/* ----- FUN FACTS ----- */
.fun-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.fun-fact {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all var(--transition);
}
.fun-fact:hover {
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-4px);
}
.fun-fact i {
  font-size: 28px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  display: block;
}
.fun-fact span {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ----- CTA SECTION ----- */
.cta-section {
  padding: 60px 0;
}
.cta-block {
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 700px;
  margin: 0 auto;
}
.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-block p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ----- EXPANDED SKILLS ----- */
.skills-expanded-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 24px;
}
.skill-category-lg {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.skill-category-lg:hover {
  border-color: rgba(108, 92, 231, 0.2);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.skill-category-lg h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skill-category-lg h3 i {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.skill-category-lg .skill-bar-item {
  margin-bottom: 14px;
}

/* ----- TOOLS SHOWCASE ----- */
.tools-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.tool-group {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tool-group h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary-light);
}
.tool-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tool-items span {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(108, 92, 231, 0.06);
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: 6px;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.tool-items span:hover {
  background: rgba(108, 92, 231, 0.12);
  border-color: var(--primary);
  color: var(--primary-light);
}

/* ----- SERVICES DETAILED ----- */
.services-expanded {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.service-detailed {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.service-detailed:hover {
  border-color: rgba(108, 92, 231, 0.2);
  box-shadow: var(--shadow-glow);
}
.service-detailed-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.service-detailed-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(108, 92, 231, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-detailed-icon i {
  font-size: 26px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.service-detailed-header h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
}
.service-detailed-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 640px;
}
.service-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-detailed-item {
  padding: 20px;
  background: rgba(108, 92, 231, 0.03);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.service-detailed-item:hover {
  background: rgba(108, 92, 231, 0.06);
  border-color: rgba(108, 92, 231, 0.15);
  transform: translateY(-2px);
}
.service-detailed-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-detailed-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ----- CASE STUDIES PAGE ----- */
.case-image {
  height: 280px;
  border-radius: var(--radius) var(--radius) 0 0;
  background-size: cover;
  background-position: center;
  position: relative;
}
.case-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 26, 0.8), transparent);
  border-radius: var(--radius) var(--radius) 0 0;
}
.case-number-lg {
  position: absolute;
  bottom: 16px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
}
.case-full {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.case-full:hover {
  border-color: rgba(108, 92, 231, 0.2);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.case-full-body {
  padding: 32px;
}
.case-full-body .case-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.15);
  border-radius: 4px;
  color: var(--primary-light);
  margin-bottom: 12px;
}
.case-full-body h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}
.case-section {
  margin-bottom: 20px;
}
.case-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-light);
}
.case-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.case-takeaways {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-takeaways li {
  font-size: 14px;
  padding: 6px 14px;
  background: rgba(0, 206, 201, 0.08);
  border: 1px solid rgba(0, 206, 201, 0.12);
  border-radius: 6px;
  color: var(--text-secondary);
}
.case-takeaways li::before {
  content: '\2713\0020';
  color: var(--secondary);
  font-weight: 700;
}

/* ----- TESTIMONIALS PAGE ----- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}
.testimonial-card-lg {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.testimonial-card-lg:hover {
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.testimonial-card-lg .testimonial-stars {
  font-size: 18px;
  color: #f1c40f;
  margin-bottom: 16px;
  letter-spacing: 3px;
}
.testimonial-card-lg .testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-card-lg .testimonial-text::before { content: '\201C'; font-size: 24px; color: var(--primary); margin-right: 4px; }
.testimonial-card-lg .testimonial-text::after { content: '\201D'; font-size: 24px; color: var(--primary); margin-left: 4px; }
.testimonial-card-lg .testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.testimonial-card-lg .testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
}
.testimonial-card-lg .testimonial-author h4 {
  font-size: 16px;
  font-weight: 600;
}
.testimonial-card-lg .testimonial-author span {
  font-size: 13px;
  color: var(--text-muted);
}
.testimonial-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(108, 92, 231, 0.08);
  border: 1px solid rgba(108, 92, 231, 0.12);
  border-radius: 4px;
  color: var(--primary-light);
}

/* ----- STATISTICS STRIP ----- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ----- TRUSTED BY ----- */
.trusted-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.trusted-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}
.trusted-logo:hover {
  transform: translateY(-4px) scale(1.05);
}

/* ----- CASE STUDIES GRID (FULL) ----- */
.cases-full-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ----- FAQ ----- */
.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.active {
  border-color: rgba(108, 92, 231, 0.3);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question i {
  font-size: 14px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----- WHY WORK WITH ME ----- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ----- NEWSLETTER ----- */
.newsletter-block {
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-block h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.newsletter-block p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {
  .about-bio {
    grid-template-columns: 1fr;
  }
  .about-portrait {
    max-width: 300px;
  }
  .mvv-grid {
    grid-template-columns: 1fr;
  }
  .skills-expanded-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .page-hero {
    padding: 110px 0 60px;
  }
  .service-detailed-header {
    flex-direction: column;
    text-align: center;
  }
  .service-detailed-header h2 {
    font-size: 22px;
  }
  .service-detailed-desc {
    text-align: center;
    margin: 0 auto 28px;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-block {
    padding: 40px 24px;
  }
  .case-full-body {
    padding: 24px;
  }
}
@media (max-width: 480px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    padding: 20px 16px;
  }
  .stat-item .stat-num {
    font-size: 28px;
  }
  .newsletter-block {
    padding: 32px 20px;
  }
}
