/* ===================================
   PROFESSIONAL SERVICES PAGE STYLES
   =================================== */

/* Hero Section */
.services-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.services-hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      135deg,
      rgba(10, 14, 41, 0.97) 0%,
      rgba(10, 14, 41, 0.93) 100%
    ),
    url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1920&h=1080&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.services-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(146, 47, 22, 0.15) 0%,
    transparent 50%
  );
}

.services-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.services-hero .hero-label {
  display: inline-block;
  padding: 10px 28px;
  background: rgba(146, 47, 22, 0.15);
  border: 1px solid rgba(146, 47, 22, 0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--light-brick);
  margin-bottom: 30px;
}

.services-hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 28px;
}

.services-hero h1 .highlight {
  background: linear-gradient(135deg, var(--brick) 0%, var(--light-brick) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-hero .hero-description {
  font-size: clamp(17px, 2.5vw, 22px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 45px;
  max-width: 900px;
}

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

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero-cta .btn-primary {
  background: linear-gradient(135deg, var(--brick) 0%, #b8402a 100%);
  color: var(--white);
  border: none;
}

.hero-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(146, 47, 22, 0.4);
}

.hero-cta .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.hero-cta .btn-secondary:hover {
  background: var(--white);
  color: var(--brick);
  transform: translateY(-3px);
}

/* Scroll Prompt */
.services-hero .scroll-prompt {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  cursor: pointer;
}

.scroll-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, var(--brick) 0%, transparent 100%);
  margin: 0 auto 15px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

.scroll-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Section Heading */
.section-heading {
  text-align: center;
  margin-bottom: 70px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  padding: 10px 28px;
  background: rgba(146, 47, 22, 0.1);
  border: 1px solid rgba(146, 47, 22, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brick);
  margin-bottom: 25px;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--navy);
  margin-bottom: 20px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #6c757d;
  margin: 0;
}

.section-heading.light .section-label {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.section-heading.light h2 {
  color: var(--white);
}

.section-heading.light .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Services Main Section */
.services-main {
  padding: 120px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Service Card */
.service-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  padding: 50px 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brick) 0%, var(--light-brick) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(146, 47, 22, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(146, 47, 22, 0.1) 0%,
    rgba(146, 47, 22, 0.05) 100%
  );
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.4s ease;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  color: var(--brick);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--brick) 0%, #b8402a 100%);
  transform: rotate(5deg) scale(1.1);
}

.service-card:hover .service-icon svg {
  color: var(--white);
}

.service-content h3 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 700;
}

.service-content > p {
  font-size: 16px;
  line-height: 1.7;
  color: #495057;
  margin-bottom: 25px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.service-features li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 12px;
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--brick);
  border-radius: 50%;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brick);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-link span {
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--navy);
}

.service-link:hover span {
  transform: translateX(5px);
}

/* Technology Stack Section */
.tech-stack {
  padding: 120px 0;
  background: #f8f9fa;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.tech-category {
  background: var(--white);
  padding: 40px 35px;
  border-radius: 20px;
  border: 1px solid #e9ecef;
  transition: all 0.4s ease;
}

.tech-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(146, 47, 22, 0.2);
}

.tech-category h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 25px;
  font-weight: 700;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-tag {
  padding: 10px 20px;
  background: rgba(146, 47, 22, 0.08);
  border-radius: 50px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: var(--brick);
  color: var(--white);
  transform: translateY(-2px);
}

/* Process Section */
.our-process {
  padding: 120px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.our-process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 80% 20%,
      rgba(146, 47, 22, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(180, 152, 137, 0.1) 0%,
      transparent 50%
    );
}

.our-process .container {
  position: relative;
  z-index: 2;
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brick) 0%, var(--light-brick) 100%);
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.process-step.process-revealed {
  opacity: 1;
  transform: translateX(0);
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brick) 0%, #b8402a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
}

.step-content {
  padding: 15px 0;
}

.step-content h3 {
  font-size: 26px;
  color: var(--white);
  margin-bottom: 15px;
  font-weight: 700;
}

.step-content p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Industries Section */
.industries {
  padding: 120px 0;
  background: var(--white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.industry-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 40px 35px;
  border-radius: 20px;
  border: 1px solid #e9ecef;
  text-align: center;
  transition: all 0.4s ease;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: rgba(146, 47, 22, 0.2);
}

.industry-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(146, 47, 22, 0.1) 0%,
    rgba(146, 47, 22, 0.05) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
}

.industry-icon svg {
  width: 32px;
  height: 32px;
  color: var(--brick);
  transition: all 0.4s ease;
}

.industry-card:hover .industry-icon {
  background: linear-gradient(135deg, var(--brick) 0%, #b8402a 100%);
  transform: rotate(10deg) scale(1.1);
}

.industry-card:hover .industry-icon svg {
  color: var(--white);
}

.industry-card h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.industry-card p {
  font-size: 15px;
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
}

/* CTA Section */
.services-cta {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.services-cta .cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 50px;
  background: linear-gradient(135deg, var(--brick) 0%, #b8402a 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.services-cta .cta-content::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  animation: floatShape 15s ease-in-out infinite;
}

@keyframes floatShape {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-50px, 50px);
  }
}

.services-cta h2 {
  font-size: clamp(32px, 4vw, 46px);
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.services-cta .cta-content > p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.services-cta .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.services-cta .btn-primary {
  background: var(--white);
  color: var(--brick);
  padding: 18px 40px;
}

.services-cta .btn-primary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.services-cta .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 18px 40px;
}

.services-cta .btn-secondary:hover {
  background: var(--white);
  color: var(--brick);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-number {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .services-hero {
    min-height: 85vh;
  }

  .services-hero .hero-content {
    padding: 100px 30px 60px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    justify-content: center;
  }

  .services-main,
  .tech-stack,
  .our-process,
  .industries,
  .services-cta {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card {
    padding: 40px 30px;
  }

  .tech-categories {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .services-cta .cta-content {
    padding: 60px 35px;
  }

  .services-cta .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 35px 25px;
  }

  .services-cta .cta-content {
    padding: 50px 25px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* AOS Animation Enhancements */
[data-aos] {
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
