/* Consulting Hero Section */
.consulting-hero {
  position: relative;
  padding: 120px 0;
  color: white;
  overflow: hidden;
}

.consulting-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      135deg,
      var(--light-gray) 0%,
      rgba(165, 195, 238, 0.9) 100%
    ),
    url("/images/consulting-hero-bg.webp") center/cover no-repeat;
  z-index: -1;
}

.consulting-hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  z-index: 1;
}

.consulting-hero-text {
  flex: 0 0 65%; /* Takes 65% of the width and doesn't grow/shrink */
  max-width: 65%;
  padding-right: 40px; /* Adds some spacing between text and image */
}

.consulting-hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--primary);
}

.consulting-hero-subtitle {
   font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--text);
  max-width: 100%; /* Adjusted to take full width of text container */
  font-weight: 500;
}

.consulting-hero-image {
  flex: 0 0 35%; /* Takes 35% of the width and doesn't grow/shrink */
  max-width: 35%;
  position: relative;
  animation: float 6s ease-in-out infinite;
  display: flex;
  justify-content: flex-end; /* Aligns image to the right */
}

.consulting-hero-image img {
  width: 70%; /* Image takes full width of its container */
  max-width: 100%; /* Prevents image from overflowing */
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Floating animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}



/* consulting Intro Section */
.consulting-intro-section {
  padding: 100px 0;
  background-color: var(--bg);
}

.consulting-intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.consulting-intro-content h2 {
  font-size: 2.2rem;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.consulting-intro-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.core-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.core-feature {
  padding: 30px;
  background-color: var(--light-gray);
  border-radius: var(--radius);
  transition: var(--transition);
}

.core-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.core-feature i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.core-feature h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.core-feature p {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Why Choose Us Section */
.why-consulting {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.why-content .benefit-ite {
  margin-bottom: 40px;
}
.why-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-image {
    flex: 1;
}

.why-image img {
    width: 80%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.why-content {
    flex: 1;
}

.why-content h2 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 5px;
}

.benefit-item h3 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.benefit-item p {
    color: var(--dark-gray);
    line-height: 1.6;
}


/* Responsive Styles */
@media (max-width: 1200px) {
    .consulting-hero-content {
        flex-direction: column;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .why-container {
        flex-direction: column;
    }
    
    .step-image, .why-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .consulting-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .step-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .consulting-hero-text h1 {
        font-size: 2rem;
    }
    
    .consulting-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    .why-content h2 {
        font-size: 1.8rem;
    }
}