/* Warehousing Page Styles */

/* Base & Typography */
:root {
  --wh-blue: #0076D6;
  --wh-dark: #111111;
  --wh-darker: #0A0A0A;
  --wh-light: #F8F9FA;
  --wh-white: #FFFFFF;
  --wh-gray: #E0E0E0;
  --wh-text: #333333;
  --wh-text-light: #888888;
}

body.page-template-temp-warehousing {
  background-color: var(--wh-white);
  color: var(--wh-text);
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

.blue-text {
  color: var(--wh-blue);
}

.dark-text {
  color: var(--wh-dark);
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.wh-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--wh-white);
}

.wh-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.wh-hero-content {
  position: relative;
  z-index: 2;
  max-width: 712px;
}

.wh-hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.wh-hero-content p {
  font-size: 1.25rem;
  color: #CCCCCC;
  line-height: 1.6;
}

/* Presence Section */
.wh-presence {
  background: url('../images/warehousing/presense.png') no-repeat center;
  background-size: cover;
  color: var(--wh-white);
  padding: 100px 0;
  position: relative;
}

.wh-presence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.wh-presence-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--wh-white);
}

.wh-presence-content h2 .dark-text {
  color: #777777;
  /* "across India." is dimmed */
}

.wh-presence-content p {
  color: #999999;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.wh-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.wh-pill {
  background: transparent;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #DDDDDD;
}

.wh-pill .wh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--wh-blue);
}

.wh-fits-wrap h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--wh-blue);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.wh-fits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.wh-fits-list li {
  color: #AAAAAA;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wh-fits-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--wh-blue);
}

.wh-presence-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section — Revamped Layout */
.wh-services {
  padding: 100px 0 30px;
  background-color: var(--wh-white);
}

.wh-services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.wh-services h2 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--wh-dark);
  max-width: 500px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.wh-services-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  max-width: 340px;
  text-align: right;
  padding-top: 10px;
  margin: 0;
}

.wh-services-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.wh-services-banner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.wh-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
}

.wh-banner-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  max-width: 400px;
  line-height: 1.3;
  margin: 0;
}

.wh-banner-stats {
  display: flex;
  gap: 40px;
}

.wh-stat {
  text-align: center;
}

.wh-stat .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.2;
}

.wh-stat .stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-top: 4px;
}

.wh-carousel-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 1.1rem;
  color: #333;
}

.wh-carousel-nav button:hover {
  border-color: var(--wh-dark);
  background: var(--wh-dark);
  color: #fff;
}

/* Service Cards Carousel */
.wh-card-carousel {
  padding: 30px 0 100px;
  background: var(--wh-white);
  overflow: hidden;
}

.wh-carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 30px;
}

.wh-carousel-track {
  margin: 0 -10px;
  padding-bottom: 10px;
}

.wh-carousel-track .slick-list {
  overflow: visible !important;
  clip-path: inset(-50px -100vw -50px 0);
}

.wh-carousel-card {
  padding: 0 10px;
  outline: none;
  text-align: left;
}

.wh-card-inner {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.4s ease;
  background: var(--wh-white);
  cursor: pointer;
}

.wh-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.wh-card-number {
  font-size: 0.9rem;
  color: #999;
  font-weight: 500;
}

.wh-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #333;
  transition: all 0.4s;
}

.wh-carousel-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--wh-dark);
  margin-bottom: 12px;
  transition: color 0.4s;
}

.wh-carousel-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  transition: color 0.4s;
}

.wh-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
  border-top: 1px solid #eee;
  padding-top: 20px;
  transition: border-color 0.4s;
}

.wh-card-bullets li {
  font-size: 0.9rem;
  color: #333;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.4s;
}

.wh-card-bullets li::before {
  content: '•';
  color: var(--wh-blue);
  font-weight: bold;
  transition: color 0.4s;
}

/* Active card — Blue */
.wh-carousel-card.slick-current .wh-card-inner {
  background: var(--wh-blue);
  border-color: var(--wh-blue);
}

.wh-carousel-card.slick-current h3 {
  color: #fff;
}

.wh-carousel-card.slick-current p {
  color: rgba(255,255,255,0.9);
}

.wh-carousel-card.slick-current .wh-card-number {
  color: rgba(255,255,255,0.7);
}

.wh-carousel-card.slick-current .wh-card-arrow {
  background: #fff;
  border-color: #fff;
  color: var(--wh-blue);
}

.wh-carousel-card.slick-current .wh-card-bullets {
  border-color: rgba(255,255,255,0.2);
}

.wh-carousel-card.slick-current .wh-card-bullets li {
  color: #fff;
}

.wh-carousel-card.slick-current .wh-card-bullets li::before {
  color: #fff;
}

/* Four Stages Section */
.wh-stages {
  background: url('../images/warehousing/stages.png') no-repeat center;
  background-size: cover;
  color: var(--wh-white);
  padding: 100px 0;
}

.wh-stages-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: end;
}

.wh-stages-title h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

.wh-stages-title h2 .dark-text {
  color: #555555;
}

.wh-stages-desc p {
  font-size: 1.1rem;
  color: #fff;
  text-align: right;
}

.wh-tabs-nav {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
}

.wh-tab-btn {
  background: transparent;
  border: 1px solid #333333;
  color: #888888;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wh-tab-btn .num {
  font-size: 0.9rem;
  opacity: 0.6;
}

.wh-tab-btn.active {
  background: var(--wh-blue);
  border-color: var(--wh-blue);
  color: var(--wh-white);
}

.wh-tabs-content-container {
  position: relative;
}

.wh-tab-content {
  display: none;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
}

.wh-tab-content.active {
  display: grid;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wh-stage-left {
  padding: 50px;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.wh-stage-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #333333;
  color: var(--wh-blue);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.wh-stage-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wh-blue);
}

.wh-stage-left h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.wh-stage-left p {
  color: #AAAAAA;
  line-height: 1.6;
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
}

.wh-stage-watermark {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 8rem;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  z-index: 1;
}

.wh-stage-right {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.wh-feature-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 17px 20px;
  backdrop-filter: blur(10px);
}

.wh-feature-icon {
  width: 48px;
  height: 48px;
  background: #222222;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wh-feature-icon img {
  width: 24px;
  height: 24px;
}

.wh-feature-text h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--wh-white);
}

.wh-feature-text p {
  font-size: 0.95rem;
  color: #888888;
  line-height: 1.5;
  margin-bottom: 0;
}

.wh-tabs-arrows {
  position: absolute;
  bottom: -63px;
  right: 30px;
  display: flex;
  gap: 15px;
  z-index: 10;
}

.wh-tabs-arrows button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #444444;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.wh-tabs-arrows button:hover {
  background: var(--wh-white);
}

.wh-tabs-arrows button img {
  transition: filter 0.3s;
}

.wh-tabs-arrows button:hover img {
  filter: invert(1);
}

/* Scale Section */
.wh-scale {
  padding: 100px 0;
  background: var(--wh-white);
}

.wh-scale-header {
  margin-bottom: 60px;
}

.wh-scale-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.wh-scale-header p {
  font-size: 1.1rem;
  color: #666666;
}

.wh-scale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.wh-scale-card {
  border: 1px solid #EEEEEE;
  border-radius: 12px;
  padding: 40px;
  transition: all 0.4s ease;
  background: var(--wh-white);
  position: relative;
  display: flex;
  flex-direction: column;
}

.wh-scale-card .wh-card-num {
  font-size: 0.9rem;
  color: var(--wh-blue);
  font-weight: 600;
  margin-bottom: 15px;
  transition: color 0.4s;
}

.wh-scale-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--wh-dark);
  transition: color 0.4s;
}

.wh-scale-card p {
  color: #666666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  transition: color 0.4s;
}

.wh-scale-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.wh-scale-pills span {
  font-size: 0.8rem;
  padding: 5px 12px;
  border: 1px solid #DDDDDD;
  border-radius: 20px;
  color: #555555;
  transition: all 0.4s;
}

.wh-scale-bottom {
  margin-top: auto;
}

.wh-scale-card .explore-link {
  color: var(--wh-blue);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  transition: color 0.4s;
}

.wh-scale-card:hover {
  background: var(--wh-blue);
  border-color: var(--wh-blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 118, 214, 0.2);
}

.wh-scale-card:hover .wh-card-num {
  color: rgba(255, 255, 255, 0.7);
}

.wh-scale-card:hover h3 {
  color: var(--wh-white);
}

.wh-scale-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.wh-scale-card:hover .wh-scale-pills span {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--wh-white);
}

.wh-scale-card:hover .explore-link {
  color: var(--wh-white);
}

.wh-scale-card:hover .explore-link img {
  filter: brightness(0) invert(1);
}

/* FAQ Section */
.wh-faq-section {
  padding: 100px 0;
  background-color: #F0F4F8;
  /* Light blueish grey from design */
}

.wh-faq-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.wh-faq-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.wh-faq-left p {
  color: #666666;
  font-size: 1.05rem;
  line-height: 1.6;
}

.wh-faq-right {
  background: var(--wh-white);
  border-radius: 12px;
  padding: 10px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.wh-faq-item {
  border-bottom: 1px solid #EEEEEE;
}

.wh-faq-item:last-child {
  border-bottom: none;
}

.wh-faq-item-head {
  padding: 25px 0;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--wh-dark);
}

.wh-faq-item-head span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #DDDDDD;
  position: relative;
  transition: all 0.3s;
}

.wh-faq-item-head span::before,
.wh-faq-item-head span::after {
  content: '';
  position: absolute;
  background: #999999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s;
}

.wh-faq-item-head span::before {
  width: 10px;
  height: 2px;
}

.wh-faq-item-head span::after {
  width: 2px;
  height: 10px;
}

.wh-faq-item.active .wh-faq-item-head span {
  background: var(--wh-blue);
  border-color: var(--wh-blue);
}

.wh-faq-item.active .wh-faq-item-head span::before {
  background: var(--wh-white);
}

.wh-faq-item.active .wh-faq-item-head span::after {
  opacity: 0;
}

.wh-faq-content {
  display: none;
  padding-bottom: 25px;
  color: #666666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {

  .wh-presence-grid,
  .wh-stages-header,
  .wh-scale-grid,
  .wh-faq-wrap {
    grid-template-columns: 1fr;
  }

  .wh-tab-content {
    grid-template-columns: 1fr;
  }

  .wh-stage-right {
    border-left: none;
    border-top: 1px solid #2A2A2A;
  }

  .wh-hero-content h1 {
    font-size: 3rem;
  }

  .wh-services-header {
    flex-direction: column;
    gap: 20px;
  }

  .wh-services h2 {
    font-size: 2.5rem;
  }

  .wh-services-desc,
  .wh-stages-desc p {
    text-align: left;
    max-width: 100%;
  }

  .wh-banner-overlay {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .wh-carousel-track .slick-list {
    clip-path: none;
  }
}

@media (max-width: 768px) {
  .wh-fits-list {
    grid-template-columns: 1fr;
  }

  .wh-hero-content h1 {
    font-size: 2.5rem;
  }

  .wh-tabs-nav {
    flex-wrap: wrap;
  }



  .wh-banner-stats {
    gap: 20px;
  }

  .wh-banner-text {
    font-size: 1.2rem;
  }

  .wh-services-banner img {
    height: 240px;
  }
}