/* ===== CSS Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1C1917;
  background-color: #FCFCFC;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== Utility Classes ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: #1C1917;
}

.section-subtitle {
  font-size: 18px;
  color: #78716C;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.section-title.light,
.section-subtitle.light {
  color: #FFFFFF;
}

.section-subtitle.light {
  color: #D6D3D1;
}

/* ===== Navigation Bar (.navbar) ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #1C1917;
  padding: 0;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar .logo {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.navbar .logo span {
  color: #EA580C;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: #D6D3D1;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #EA580C;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section (.hero-section) ===== */
.hero-section {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #1C1917 0%, #292524 50%, #1C1917 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -50px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  background: rgba(234, 88, 12, 0.15);
  color: #EA580C;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  color: #EA580C;
}

.hero-content p {
  font-size: 18px;
  color: #D6D3D1;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.2px;
}

.btn-primary {
  background-color: #EA580C;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #C2410C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #44403C;
}

.btn-secondary:hover {
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* ===== About Section (.about-section) ===== */
.about-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  padding: 24px;
}

.about-card-stack {
  position: relative;
  height: 380px;
}

.about-card {
  background-color: #F5F5F4;
  border-radius: 16px;
  padding: 32px;
  position: absolute;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.about-card:nth-child(1) {
  top: 0;
  left: 0;
  right: 40px;
  z-index: 3;
}

.about-card:nth-child(2) {
  top: 40px;
  left: 40px;
  right: 0;
  z-index: 2;
}

.about-card:nth-child(3) {
  top: 80px;
  left: 20px;
  right: 20px;
  z-index: 1;
}

.about-card .card-icon {
  width: 48px;
  height: 48px;
  background-color: #EA580C;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
}

.about-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1C1917;
}

.about-card p {
  font-size: 14px;
  color: #78716C;
  line-height: 1.5;
}

.about-text .section-title {
  margin-bottom: 20px;
}

.about-text .lead {
  font-size: 18px;
  color: #44403C;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-text p {
  color: #78716C;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-item h3 {
  font-size: 32px;
  font-weight: 800;
  color: #EA580C;
}

.stat-item p {
  font-size: 14px;
  color: #78716C;
  margin-top: 4px;
}

/* ===== Services Section (.services-section) ===== */
.services-section {
  padding: 100px 0;
  background-color: #FFF7ED;
}

.services-section .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.3s ease;
  border: 1px solid #E7E5E4;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: #EA580C;
  transition: height 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #EA580C, #C2410C);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 700;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1C1917;
}

.service-card p {
  font-size: 15px;
  color: #78716C;
  line-height: 1.6;
}

/* ===== CTA Section (.cta-section) ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  text-align: center;
}

.cta-section .cta-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cta-section .cta-content p {
  font-size: 18px;
  color: #FED7AA;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn-light {
  background-color: #FFFFFF;
  color: #EA580C;
}

.btn-light:hover {
  background-color: #FED7AA;
  color: #C2410C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== Industries Section (.industries-section) ===== */
.industries-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  background-color: #F5F5F4;
  transition: all 0.3s ease;
}

.industry-item:hover {
  background-color: #FFF7ED;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.industry-num {
  font-size: 40px;
  font-weight: 900;
  color: #FBDECE;
  margin-bottom: 4px;
}

.industry-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1C1917;
  margin-bottom: 8px;
}

.industry-item p {
  font-size: 13px;
  color: #78716C;
  line-height: 1.5;
}

/* ===== Testimonials Section (.testimonials-section) ===== */
.testimonials-section {
  padding: 100px 0;
  background-color: #1C1917;
}

.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial-card {
  background-color: #292524;
  border-radius: 16px;
  padding: 36px;
  border: 1px solid #44403C;
}

.testimonial-card .quote-icon {
  font-size: 48px;
  color: #F5AC86;
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 16px;
  color: #D6D3D1;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #EA580C, #2563EB);
  border-radius: 50%;
}

.testimonial-author .author-info strong {
  display: block;
  color: #FFFFFF;
  font-size: 15px;
}

.testimonial-author .author-info span {
  color: #78716C;
  font-size: 13px;
}

/* ===== Contact Section (.contact-section) ===== */
.contact-section {
  padding: 100px 0;
  background-color: #F5F5F4;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 12px;
}

.contact-info > p {
  color: #78716C;
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: #FFFFFF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EA580C;
  font-size: 18px;
  flex-shrink: 0;
  font-weight: 700;
}

.contact-detail-item strong {
  display: block;
  font-size: 14px;
  color: #1C1917;
  margin-bottom: 2px;
}

.contact-detail-item span {
  font-size: 15px;
  color: #78716C;
}

.contact-form {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1C1917;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid #E7E5E4;
  border-radius: 8px;
  background-color: #FAFAF9;
  color: #1C1917;
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #EA580C;
  background-color: #FFFFFF;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
}

.form-status.success {
  color: #16A34A;
}

.form-status.error {
  color: #DC2626;
}

/* ===== Footer (.site-footer) ===== */
.site-footer {
  background-color: #1C1917;
  padding: 64px 0 0;
  color: #D6D3D1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #292524;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: #EA580C;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #78716C;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #78716C;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #EA580C;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #78716C;
}

.footer-bottom a {
  color: #EA580C;
  font-weight: 500;
}

.footer-bottom a:hover {
  color: #FFFFFF;
}

/* ===== Scroll Reveal Animation ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 42px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-card-stack {
    height: 300px;
    max-width: 480px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #1C1917;
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 28px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-section {
    padding: 120px 0 80px;
  }

  .section-title {
    font-size: 28px;
  }

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

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta-section .cta-content h2 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .about-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
