/* Skyscraper Hero Section */
.skyscraper-hero {
  position: relative;
  width: 100%;
  height: 600px;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2340&q=80'); /* Using external skyscraper image */
  background-size: cover;
  background-position: center top;
  background-color: #1a1a1a;
  overflow: hidden;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  margin: 20px 20px 80px;
  max-width: calc(100% - 40px);
}

.skyscraper-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.skyscraper-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 4rem;
  height: 70%;
}

.skyscraper-text {
  max-width: 600px;
  color: white;
}

.skyscraper-subtitle {
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-top: 20px;
}

.small-text {
  font-size: 0.75rem;
  opacity: 0.7;
  line-height: 1.5;
  font-weight: 300;
}

.skyscraper-title {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.2;
  color: white;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.learn-more-btn {
  display: inline-block;
  background-color: white;
  color: #333;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.learn-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-play-button {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: rgba(255, 255, 255, 0.3);
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-left: 20px solid white;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}

.stats-cards {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  width: calc(100% - 40px);
  max-width: 1200px;
  margin-bottom: -25px;
  transform: translateY(50px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.stat-card {
  background-color: white;
  padding: 1.5rem 2rem;
  width: 33.33%;
  position: relative;
  transition: background-color 0.3s ease;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
  background-color: #f9f9f9;
}

.stat-card:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  position: relative;
}

.stat-card:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  background-color: #1a1a1a;
  color: white;
  border-right: none;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 400;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.5px;
}

.stat-card:last-child .stat-number {
  color: white;
}

.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 500;
  color: #777;
  margin-top: 0.75rem;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.stat-card:last-child .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

.stat-dot {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 8px;
  height: 8px;
  background-color: #222;
  border-radius: 50%;
}

.stat-progress {
  position: relative;
  width: 60px;
  height: 8px;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
  display: inline-block;
}

.progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, #a1c4fd, #c2e9fb);
  border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .skyscraper-content {
    padding: 3rem;
  }
  
  .skyscraper-title {
    font-size: 2.5rem;
  }
  
  .stats-cards {
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
  }
  
  .stat-card {
    width: 90%;
    margin-bottom: 1rem;
    border-radius: 8px;
  }
  
  .stat-card:first-child,
  .stat-card:last-child {
    border-radius: 8px;
  }
}

@media (max-width: 576px) {
  .skyscraper-hero {
    height: 800px;
    margin: 10px 10px 60px;
    max-width: calc(100% - 20px);
  }
  
  .skyscraper-content {
    padding: 2rem;
    flex-direction: column;
    height: auto;
  }
  
  .skyscraper-title {
    font-size: 2rem;
  }
  
  .video-play-button {
    width: 60px;
    height: 60px;
  }
}

/* Animations */
.skyscraper-hero .skyscraper-subtitle,
.skyscraper-hero .skyscraper-title,
.skyscraper-hero .learn-more-btn,
.skyscraper-hero .video-play-button {
  opacity: 0;
  transform: translateY(20px);
}

.skyscraper-hero.in-view .skyscraper-subtitle {
  animation: fadeInUp 0.8s ease forwards;
}

.skyscraper-hero.in-view .skyscraper-title {
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.skyscraper-hero.in-view .learn-more-btn {
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.skyscraper-hero.in-view .video-play-button {
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.stats-cards .stat-card {
  opacity: 0;
  transform: translateY(30px);
}

.skyscraper-hero.in-view .stat-card:nth-child(1) {
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.skyscraper-hero.in-view .stat-card:nth-child(2) {
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.skyscraper-hero.in-view .stat-card:nth-child(3) {
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   ENHANCED MOBILE RESPONSIVE STYLES
   ======================================== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .skyscraper-hero {
    height: 500px;
    margin: 16px 16px 60px;
    max-width: calc(100% - 32px);
    border-radius: 16px;
  }

  .skyscraper-content {
    padding: 2.5rem;
    height: auto;
  }

  .skyscraper-title {
    font-size: 2.2rem;
  }

  .skyscraper-subtitle {
    max-width: 350px;
    margin-top: 15px;
  }

  .stats-cards {
    width: calc(100% - 32px);
    margin-bottom: -20px;
    transform: translateY(40px);
    flex-direction: column;
    border-radius: 16px;
  }

  .stat-card {
    width: 100%;
    padding: 1.25rem 1.75rem;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .stat-card:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 0;
  }

  .stat-card:last-child {
    border-top-right-radius: 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border-bottom: none;
  }

  .stat-number {
    font-size: 2.4rem;
  }

  .video-play-button {
    width: 70px;
    height: 70px;
  }

  .play-icon {
    border-top: 10px solid transparent;
    border-left: 16px solid white;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
  }
}

/* Large Phones (480px and below) */
@media (max-width: 480px) {
  .skyscraper-hero {
    height: 450px;
    margin: 12px 12px 50px;
    max-width: calc(100% - 24px);
    border-radius: 12px;
  }

  .skyscraper-content {
    padding: 2rem 1.5rem;
  }

  .skyscraper-text {
    max-width: 100%;
  }

  .skyscraper-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
  }

  .skyscraper-subtitle {
    max-width: 100%;
    margin-bottom: 1.25rem;
    margin-top: 12px;
  }

  .small-text {
    font-size: 0.7rem;
  }

  .learn-more-btn {
    padding: 0.45rem 1.1rem;
    font-size: 0.7rem;
  }

  .video-play-button {
    width: 60px;
    height: 60px;
  }

  .play-icon {
    border-top: 8px solid transparent;
    border-left: 14px solid white;
    border-bottom: 8px solid transparent;
    margin-left: 3px;
  }

  .stats-cards {
    width: calc(100% - 24px);
    margin-bottom: -15px;
    transform: translateY(30px);
    border-radius: 12px;
  }

  .stat-card {
    padding: 1.125rem 1.5rem;
  }

  .stat-card:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }

  .stat-card:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.6rem;
    margin-top: 0.6rem;
  }

  .stat-dot {
    top: 1.125rem;
    right: 1.125rem;
    width: 6px;
    height: 6px;
  }

  .stat-progress {
    width: 50px;
    height: 6px;
    margin-top: 8px;
  }
}

/* Very Small Phones (375px and below) */
@media (max-width: 375px) {
  .skyscraper-hero {
    height: 400px;
    margin: 10px 10px 45px;
    max-width: calc(100% - 20px);
    border-radius: 10px;
  }

  .skyscraper-content {
    padding: 1.5rem 1.25rem;
  }

  .skyscraper-title {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
  }

  .skyscraper-subtitle {
    margin-bottom: 1rem;
    margin-top: 10px;
  }

  .small-text {
    font-size: 0.65rem;
  }

  .learn-more-btn {
    padding: 0.4rem 1rem;
    font-size: 0.65rem;
  }

  .video-play-button {
    width: 55px;
    height: 55px;
  }

  .play-icon {
    border-top: 7px solid transparent;
    border-left: 12px solid white;
    border-bottom: 7px solid transparent;
  }

  .stats-cards {
    width: calc(100% - 20px);
    margin-bottom: -12px;
    transform: translateY(25px);
    border-radius: 10px;
  }

  .stat-card {
    padding: 1rem 1.25rem;
  }

  .stat-card:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .stat-card:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.55rem;
    margin-top: 0.5rem;
  }

  .stat-progress {
    width: 45px;
    height: 5px;
  }
}

/* Extra Small Phones (320px) */
@media (max-width: 320px) {
  .skyscraper-hero {
    height: 380px;
    margin: 8px 8px 40px;
    max-width: calc(100% - 16px);
  }

  .skyscraper-content {
    padding: 1.25rem 1rem;
  }

  .skyscraper-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .video-play-button {
    width: 50px;
    height: 50px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-card {
    padding: 0.875rem 1rem;
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
  .skyscraper-hero {
    height: 350px;
    margin: 10px 10px 40px;
  }

  .skyscraper-content {
    padding: 1.5rem 2rem;
    height: 60%;
  }

  .skyscraper-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .skyscraper-subtitle {
    margin-top: 8px;
    margin-bottom: 1rem;
  }

  .small-text {
    font-size: 0.65rem;
  }

  .video-play-button {
    width: 50px;
    height: 50px;
  }

  .stats-cards {
    flex-direction: row;
    transform: translateY(25px);
    margin-bottom: -15px;
  }

  .stat-card {
    width: 33.33%;
    padding: 1rem 1.25rem;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: none;
  }

  .stat-card:first-child {
    border-radius: 12px 0 0 12px;
  }

  .stat-card:last-child {
    border-radius: 0 12px 12px 0;
    border-right: none;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.55rem;
  }
}

/* Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
  .learn-more-btn,
  .video-play-button {
    min-height: 44px;
    min-width: 44px;
  }

  .learn-more-btn:active {
    transform: scale(0.98);
  }

  .video-play-button:active {
    transform: translate(-50%, -50%) scale(0.98);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .skyscraper-hero .skyscraper-subtitle,
  .skyscraper-hero .skyscraper-title,
  .skyscraper-hero .learn-more-btn,
  .skyscraper-hero .video-play-button,
  .stats-cards .stat-card {
    animation: none !important;
    opacity: 1;
    transform: translateY(0);
  }
}