/* Industries Page Styles */
:root {
  --primary-color: #e67e22;
  --secondary-color: #34495e;
  --accent-color: #3498db;
  --light-bg: #f9f9f9;
  --dark-bg: #2c3e50;
  --text-dark: #333;
  --text-light: #777;
  --box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

#industries-page {
  overflow-x: hidden;
  color: var(--text-dark);
}

/* Hero Section */
.industries-hero {
  height: 85vh;
  background-image: url('../images/industries/industries-hero.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.industries-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(230, 126, 34, 0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
  /* max-width: 900px; */
  /* padding: 0 20px; */
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.95;
}

/* Introduction Section */
.industries-intro {
  padding: 100px 0;
  background-color: white;
  position: relative;
  text-align: center;
}

.industries-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern-light.jpeg');
  opacity: 0.03;
  z-index: 0;
}

.intro-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.intro-content h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
  font-weight: 700;
}

.intro-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.intro-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* Alternating Industries Grid Section */
.industries-showcase {
  padding: 100px 0;
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

/* Add subtle decorative elements */
.industries-showcase::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background-color: var(--primary-color);
  opacity: 0.03;
  border-radius: 50%;
  z-index: 0;
}

.industries-showcase::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--secondary-color);
  opacity: 0.03;
  border-radius: 50%;
  z-index: 0;
}

/* Change grid to display items in a vertical list */
.industries-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  position: relative;
  z-index: 1;
}

/* Redesign industry item as a horizontal card */
.industry-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background-color: transparent;
  box-shadow: none;
  height: auto;
  transition: var(--transition);
}

/* Alternate layout for even items */
.industry-item:nth-child(even) {
  direction: rtl;
}

.industry-item:nth-child(even) .industry-content {
  direction: ltr;
}

/* Large image container */
.industry-image {
  height: 450px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.industry-item:hover .industry-image img {
  transform: scale(1.05);
}

.industry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
}

/* Content styling */
.industry-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0;
  position: relative;
}

.industry-icon {
  position: relative;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.industry-item:hover .industry-icon {
  transform: rotateY(180deg);
}

.industry-content h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 2.2rem;
  color: var(--secondary-color);
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.industry-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease;
}

.industry-item:hover .industry-content h3::after {
  width: 120px;
}

.industry-content p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.industry-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding-bottom: 3px;
  align-self: flex-start;
}

.industry-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.industry-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.industry-link:hover {
  color: var(--secondary-color);
}

.industry-link:hover::after {
  width: 100%;
  background-color: var(--secondary-color);
}

.industry-link:hover i {
  transform: translateX(8px);
}

/* Alternate colors for even items */
.industry-item:nth-child(even) .industry-icon {
  background-color: var(--secondary-color);
  box-shadow: 0 8px 20px rgba(52, 73, 94, 0.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .industry-item,
  .industry-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 30px;
    direction: ltr;
  }
  
  .industry-image {
    height: 350px;
  }
  
  .industry-content {
    padding: 20px 0;
  }
  
  .industry-content h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .industry-image {
    height: 250px;
  }
  
  .industry-content h3 {
    font-size: 1.5rem;
  }
  
  .industry-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Enhanced Expertise Section */
.industry-expertise {
  padding: 120px 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

/* Add decorative elements */
.industry-expertise::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color);
  opacity: 0.03;
  border-radius: 50%;
  z-index: 0;
}

.industry-expertise::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--secondary-color);
  opacity: 0.03;
  border-radius: 50%;
  z-index: 0;
}

.expertise-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.expertise-text h2 {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.expertise-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease;
}

.expertise-text:hover h2::after {
  width: 120px;
}

.expertise-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 40px;
}

.expertise-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.expertise-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  font-size: 1.1rem;
  position: relative;
  padding-left: 35px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.expertise-list li.visible {
  opacity: 1;
  transform: translateY(0);
}

.expertise-list li i {
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.expertise-list li:nth-child(even) i {
  color: var(--secondary-color);
}

.expertise-text .btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  box-shadow: 0 10px 20px rgba(230, 126, 34, 0.2);
}

.expertise-text .btn:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(230, 126, 34, 0.3);
}

.expertise-image {
  position: relative;
  height: 100%;
}

.expertise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  transition: all 0.5s ease;
}

.expertise-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 5px solid var(--primary-color);
  border-radius: 12px;
  z-index: -1;
  transition: all 0.5s ease;
}

.expertise-image:hover img {
  transform: scale(1.02);
}

.expertise-image:hover::before {
  top: -25px;
  right: -25px;
}

/* Add a floating badge */
.expertise-image::after {
  content: 'INDUSTRY EXPERTS';
  position: absolute;
  bottom: 30px;
  left: -15px;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .expertise-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .expertise-text h2 {
    font-size: 2.4rem;
  }
  
  .expertise-image {
    order: -1; /* Show image first on mobile */
  }
  
  .expertise-image::before {
    display: none;
  }
  
  .expertise-image::after {
    bottom: 20px;
    left: 20px;
  }
}

@media (max-width: 576px) {
  .expertise-text h2 {
    font-size: 2rem;
  }
  
  .expertise-text p {
    font-size: 1.1rem;
  }
  
  .expertise-list li {
    font-size: 1rem;
  }
}

/* CTA Section - Matching approach.css styling */
.cta-section {
  padding: 150px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: white;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(230, 126, 34, 0.8));
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
  background-color: #d35400;
  transform: translateY(-3px);
}

.btn-outline {
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

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

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 4rem;
  }
  
  .expertise-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .expertise-image::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .intro-content h2,
  .expertise-text h2,
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .industry-item {
    height: auto;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Additional Decorative Elements */
.industry-item:nth-child(even) .industry-icon {
  background-color: var(--secondary-color);
  box-shadow: 0 5px 15px rgba(52, 73, 94, 0.3);
}

.industry-expertise::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color);
  opacity: 0.05;
  border-radius: 50%;
  transform: translate(150px, -150px);
  z-index: 0;
}

.industry-expertise::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background-color: var(--secondary-color);
  opacity: 0.05;
  border-radius: 50%;
  transform: translate(-100px, 100px);
  z-index: 0;
}
