/* ===================================
   WHY TASKMASTERS SECTION - EDITORIAL
   Two Column Layout: Title Left, Cards Horizontal Right
   =================================== */

.why-taskmasters {
  background-color: #3D405B;
  padding: 120px 60px;
  color: #F3F1DE;
  position: relative;
  overflow: hidden;
  border-top: 2px solid #80B29B;
  border-bottom: 2px solid #80B29B;
}

.why-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ========== TWO COLUMN LAYOUT ========== */
.why-layout {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 80px;
  align-items: start;
}

/* ========== LEFT: SECTION HEADER - EDITORIAL ========== */
.why-header {
  position: sticky;
  top: 120px;
  text-align: left;
}

/* Issue Label */
.section-issue {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.issue-vol {
  color: #80B29B;
}

.issue-divider {
  color: #DF7A5F;
}

.issue-section {
  color: #F3F1DE;
}

/* Main Headline - BIG */
.section-title-large {
  font-family: Arial, sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  color: #F3F1DE;
  line-height: 0.9;
  letter-spacing: -3px;
  margin: 0 0 40px 0;
}

/* Editorial Line */
.section-divider {
  width: 140px;
  height: 4px;
  background: #DF7A5F;
  margin-bottom: 35px;
}

/* Subtitle */
.section-subtitle {
  font-family: Arial, sans-serif;
  font-size: 18px;
  color: rgba(243, 241, 222, 0.85);
  line-height: 1.7;
  max-width: 450px;
  margin: 0;
}

/* ========== RIGHT: HORIZONTAL SERVICE CARDS ========== */
.services-cards-wrapper {
  width: 100%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Service Card - Editorial Style */
.service-card-editorial {
  background: #F3F1DE;
  padding: 35px 28px;
  border: 2px solid #1C1C1C;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 420px;
}

.service-card-editorial:hover {
  box-shadow: 8px 8px 0 #1C1C1C;
  transform: translate(-4px, -4px);
  border-color: #80B29B;
}

/* Card Number Badge */
.card-number {
  position: absolute;
  top: -15px;
  left: 25px;
  width: 45px;
  height: 45px;
  background: #1C1C1C;
  color: #80B29B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  font-family: Arial, sans-serif;
  border: 2px solid #1C1C1C;
}

.service-card-editorial:hover .card-number {
  background: #80B29B;
  color: #1C1C1C;
}

/* Card Icon */
.card-icon {
  font-size: 36px;
  color: #DF7A5F;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.service-card-editorial:hover .card-icon {
  color: #80B29B;
  transform: scale(1.1);
}

/* Card Content */
.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  color: #1C1C1C;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.card-description {
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #6B6B6B;
  margin: 0;
}

/* Card Features List */
.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-features li {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #1C1C1C;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.card-features li i {
  color: #80B29B;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card-editorial:hover .card-features li i {
  color: #DF7A5F;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1200px) {
  .why-layout {
    grid-template-columns: 450px 1fr;
    gap: 60px;
  }
  
  .section-title-large {
    font-size: 56px;
  }
  
  .services-grid {
    gap: 20px;
  }
  
  .service-card-editorial {
    padding: 30px 24px;
    min-height: 400px;
  }
  
  .card-title {
    font-size: 15px;
  }
  
  .card-description {
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  .why-taskmasters {
    padding: 80px 40px;
  }
  
  .why-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .why-header {
    position: relative;
    top: 0;
    max-width: none;
  }
  
  .section-title-large {
    font-size: 56px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .service-card-editorial {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .why-taskmasters {
    padding: 60px 30px;
  }
  
  .section-title-large {
    font-size: 48px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .service-card-editorial {
    padding: 35px 30px;
  }
  
  .card-title {
    font-size: 16px;
  }
  
  .card-description {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .why-taskmasters {
    padding: 50px 20px;
  }
  
  .section-title-large {
    font-size: 42px;
    letter-spacing: -2px;
  }
  
  .section-subtitle {
    font-size: 15px;
  }
  
  .service-card-editorial {
    padding: 30px 25px;
  }
  
  .card-number {
    top: -12px;
    left: 20px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
  
  .card-icon {
    font-size: 32px;
  }
  
  .card-title {
    font-size: 15px;
  }
  
  .card-description {
    font-size: 13px;
  }
  
  .card-features li {
    font-size: 12px;
  }
}

/* ========== DARK MODE SUPPORT ========== */
body.dark-mode .why-taskmasters {
  background: #2A2C3E;
  border-color: #80B29B;
}

body.dark-mode .section-title-large {
  color: #F3F1DE;
}

body.dark-mode .section-subtitle {
  color: rgba(243, 241, 222, 0.85);
}

body.dark-mode .service-card-editorial {
  background: #3D405B;
  border-color: #80B29B;
}

body.dark-mode .service-card-editorial:hover {
  box-shadow: 8px 8px 0 #80B29B;
}

body.dark-mode .card-title,
body.dark-mode .card-features li {
  color: #F3F1DE;
}

body.dark-mode .card-description {
  color: rgba(243, 241, 222, 0.75);
}

body.dark-mode .card-number {
  background: #F3F1DE;
  color: #3D405B;
  border-color: #F3F1DE;
}

body.dark-mode .service-card-editorial:hover .card-number {
  background: #80B29B;
  color: #1C1C1C;
}

/* ========== MOBILE MODE ========== */
@media screen and (max-width: 768px) {
  .why-taskmasters {
    padding: 60px 20px;
  }

  .section-issue {
  display : none;
  }

  .section-title-large {
    font-size: 3rem;
  }

  .section-divider {
    display: none;
  }
}