/* ==========================================
   VikrantYadav.com — Monochrome Stylesheet
   ========================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #000000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--alt {
  background: #fafafa;
}

.section__heading {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 12px;
}

.section__subheading {
  font-size: 1.1rem;
  color: #666666;
  margin-bottom: 48px;
  max-width: 600px;
}

.section__header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.section__view-all {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333333;
  white-space: nowrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  border: 2px solid transparent;
}

.btn--solid {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.btn--solid:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: #000000;
  border-color: #cccccc;
}

.btn--outline:hover {
  border-color: #000000;
  opacity: 1;
}

.btn--full {
  width: 100%;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #eaeaea;
  transition: box-shadow 0.3s ease;
}

.nav--scrolled {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.nav__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #000000;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #555555;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: #000000;
  opacity: 1;
}

.nav__link--cta {
  padding: 8px 20px;
  background: #000000;
  color: #ffffff !important;
  border-radius: 6px;
  font-weight: 600;
}

.nav__link--cta:hover {
  background: #1a1a1a;
  opacity: 1;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #000000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: #ffffff;
}

.hero__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__kicker {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666666;
  margin-bottom: 20px;
}

.hero__headline {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #000000;
  margin-bottom: 24px;
}

.hero__subheadline {
  font-size: 1.2rem;
  color: #444444;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 28px;
}

.hero__credentials {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero__dot {
  color: #999999;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__companies {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__company {
  height: 22px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  filter: grayscale(100%);
}

.hero__company:hover {
  opacity: 1;
}

/* --- About Companies --- */
.about__companies {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.about__company {
  height: 22px;
  opacity: 0.6;
  filter: grayscale(100%);
}

/* --- Services --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 28px 24px;
  background: #ffffff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: #000000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-card__icon {
  width: 32px;
  height: 32px;
  color: #333333;
  margin-bottom: 16px;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 0.88rem;
  color: #666666;
  line-height: 1.6;
}

/* --- About --- */
.about__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.about__visual {
  text-align: center;
}

.about__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
  display: block;
  margin: 0 auto 20px;
}

.about__stat {
  display: flex;
  flex-direction: column;
}

.about__stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #000000;
  line-height: 1;
  letter-spacing: -0.02em;
}

.about__stat-label {
  font-size: 0.85rem;
  color: #666666;
  margin-top: 4px;
}

.about__text {
  font-size: 1rem;
  color: #444444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about__highlights {
  display: flex;
  gap: 40px;
  margin: 28px 0;
}

.about__highlight {
  display: flex;
  flex-direction: column;
}

.about__highlight-number {
  font-size: 2rem;
  font-weight: 800;
  color: #000000;
  line-height: 1;
  letter-spacing: -0.02em;
}

.about__highlight-label {
  font-size: 0.8rem;
  color: #888888;
  margin-top: 4px;
  line-height: 1.3;
}

.about__companies {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* about__companies styled above with .about__company */

/* --- FAQ --- */
.faq__list {
  max-width: 760px;
}

.faq__item {
  border-bottom: 1px solid #e0e0e0;
}

.faq__item:first-child {
  border-top: 1px solid #e0e0e0;
}

.faq__question {
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: #999999;
  margin-left: 16px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

details[open] > .faq__question::after {
  content: '−';
  transform: rotate(0deg);
}

.faq__answer {
  padding: 0 0 20px;
}

.faq__answer p {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.7;
}

/* --- Blog Preview --- */
.blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 24px;
  background: #ffffff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: #000000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.blog-card__date {
  font-size: 0.78rem;
  color: #999999;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.blog-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 0.88rem;
  color: #666666;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.blog-card__read {
  font-size: 0.85rem;
  font-weight: 600;
  color: #000000;
  align-self: flex-start;
}

/* --- Contact --- */
.contact__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}

.contact__info-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000000;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.contact__icon {
  width: 20px;
  height: 20px;
  color: #666666;
  flex-shrink: 0;
}

.contact__icon svg {
  width: 100%;
  height: 100%;
}

.contact__item a {
  font-size: 0.95rem;
  color: #333333;
}

/* Form */
.contact__form {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 32px;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
}

.form__input {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #000000;
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  transition: border-color 0.2s ease;
  outline: none;
}

.form__input:focus {
  border-color: #000000;
}

.form__input::placeholder {
  color: #aaaaaa;
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__note {
  font-size: 0.75rem;
  color: #999999;
  margin-top: 12px;
  text-align: center;
}

select.form__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* --- Footer --- */
.footer {
  background: #000000;
  color: #ffffff;
  padding: 48px 0 32px;
}

.footer__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.footer__name {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer__tagline {
  font-size: 0.85rem;
  color: #999999;
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer__links a {
  font-size: 0.85rem;
  color: #cccccc;
}

.footer__links a:hover {
  color: #ffffff;
  opacity: 1;
}

.footer__bottom {
  border-top: 1px solid #333333;
  padding-top: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #888888;
}

.footer__bottom a {
  color: #888888;
  text-decoration: underline;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Blog Listing Page --- */
.blog-page {
  padding: 120px 0 80px;
}

.blog-page__heading {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.blog-page__subtitle {
  font-size: 1.05rem;
  color: #666666;
  margin-bottom: 48px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-list__item {
  border-bottom: 1px solid #e0e0e0;
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-list__item:first-child {
  border-top: 1px solid #e0e0e0;
}

.blog-list__date {
  font-size: 0.78rem;
  color: #999999;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-list__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.3;
}

.blog-list__title a:hover {
  opacity: 0.6;
}

.blog-list__excerpt {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
}

.blog-list__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.blog-list__tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #666666;
  background: #f0f0f0;
  padding: 3px 10px;
  border-radius: 4px;
}

/* --- Blog Post Page --- */
.blog-post {
  padding: 120px 0 80px;
}

.blog-post__back {
  font-size: 0.9rem;
  font-weight: 500;
  color: #666666;
  margin-bottom: 32px;
  display: inline-block;
}

.blog-post__date {
  font-size: 0.78rem;
  color: #999999;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.blog-post__title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #000000;
  line-height: 1.2;
  margin-bottom: 32px;
}

.blog-post__body {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333333;
}

.blog-post__body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin: 40px 0 16px;
}

.blog-post__body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #000000;
  margin: 28px 0 12px;
}

.blog-post__body p {
  margin-bottom: 16px;
}

.blog-post__body ul,
.blog-post__body ol {
  margin: 0 0 16px 24px;
  list-style: disc;
}

.blog-post__body ol {
  list-style: decimal;
}

.blog-post__body li {
  margin-bottom: 6px;
}

.blog-post__body code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
}

.blog-post__body pre {
  background: #f5f5f5;
  padding: 16px 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
}

.blog-post__body pre code {
  background: none;
  padding: 0;
}

.blog-post__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about__grid {
    grid-template-columns: 200px 1fr;
    gap: 40px;
  }

  .hero__headline {
    font-size: 2.8rem;
  }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 64px;
  }

  .section {
    padding: 64px 0;
  }

  .section__heading {
    font-size: 1.6rem;
  }

  .section__subheading {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  /* Nav */
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav__links.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    font-size: 1.2rem;
  }

  .nav__toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 120px 0 64px;
  }

  .hero__headline {
    font-size: 2.2rem;
  }

  .hero__subheadline {
    font-size: 1rem;
  }

  .hero__companies {
    gap: 16px;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__visual {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
  }

  .about__photo {
    width: 100px;
    height: 100px;
    margin: 0;
    flex-shrink: 0;
  }

  .about__highlights {
    gap: 24px;
  }

  /* FAQ */
  .faq__question {
    font-size: 0.95rem;
    padding: 16px 0;
  }

  /* Blog Preview */
  .blog-preview__grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact__form {
    padding: 20px;
  }

  /* Blog Post */
  .blog-post__title {
    font-size: 1.8rem;
  }

  .blog-post__body {
    font-size: 1rem;
  }
}
