/* Import modern font from Google */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* ------------------------ */
/* Global Styles */
/* ------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

/* ------------------------ */
/* Header Styles */
/* ------------------------ */
header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #cc0000;
}

/* ------------------------ */
/* Hero Section Styles */
/* ------------------------ */
.hero {
  background: linear-gradient(135deg, #f5f5f5, #eaeaea);
  padding: 4rem 0;
}

.hero-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text-content {
  flex: 1 1 400px;
  padding-right: 20px;
}

.hero-text-content h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-text-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-text-content p {
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  transition: opacity 0.3s ease;
}

/* Primary Button */
.btn-primary {
  background: #cc0000;
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.85;
  background: #b30000;
}

/* Secondary Button */
.btn-secondary {
  background: #fff;
  color: #cc0000;
  border: 2px solid #cc0000;
}

.btn-secondary:hover {
  background: #cc0000;
  color: #fff;
}

/* Hero Image */
.hero-image {
  flex: 1 1 400px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ------------------------ */
/* Process Flow Styles */
/* ------------------------ */
.process-flow {
  background: #f9f9f9;
  padding: 4rem 0;
}

.process-flow h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.process-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.step {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  flex: 1 1 250px;
  max-width: 280px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.step h3 {
  color: #cc0000;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.step p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.process-cta {
  text-align: center;
  margin-top: 3rem;
}

.process-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.process-cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.5;
}

.process-cta a.btn-primary {
  background: #ff6600;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.process-cta a.btn-primary:hover {
  background: #e65c00;
}

/* ------------------------ */
/* Testimonials Section */
/* ------------------------ */
.testimonials {
  padding: 4rem 0;
  background: #fff;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.testimonials-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonial-card {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  flex: 1 1 300px;
  max-width: 350px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.client-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.client-position {
  font-size: 0.85rem;
  color: #999;
}

blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: #444;
  line-height: 1.5;
  quotes: "“" "”" "‘" "’";
}

blockquote:before {
  content: open-quote;
  color: #cc0000;
  font-size: 2rem;
  margin-right: 0.2rem;
  vertical-align: -0.4rem;
}

blockquote:after {
  content: close-quote;
  color: #cc0000;
  font-size: 2rem;
  margin-left: 0.2rem;
  vertical-align: -0.4rem;
}

/* ------------------------ */
/* Contact Section */
/* ------------------------ */
.contact {
  background: #fff;
  padding: 4rem 0;
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.75rem;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #cc0000;
  box-shadow: 0 0 5px rgba(204, 0, 0, 0.3);
}

.btn-primary {
  grid-column: 1 / -1;
  padding: 0.75rem 2rem;
  background: #cc0000;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  justify-self: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background: #b30000;
  transform: translateY(-2px);
}

/* ------------------------ */
/* Efficiency Gains Section */
/* ------------------------ */
.efficiency-gains {
  background: #f5f5f5;
  padding: 2.5rem 0;
  text-align: center;
}

.big-task-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #cc0000;
  transition: transform 0.3s ease;
}

.big-task-number:hover {
  transform: scale(1.1);
}

.task-text {
  font-size: 1rem;
}

.efficiency-gains h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #cc0000;
}

.gains-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.before,
.after {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  width: 200px;
}

.before h3,
.after h3 {
  color: #cc0000;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.before p,
.after p {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.4;
}

.arrow {
  font-size: 2rem;
  color: #cc0000;
  font-weight: bold;
  margin: 0 1rem;
}

.efficiency-summary {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  font-size: 1rem;
  color: #333;
}

/* ------------------------ */
/* Mobile Compatibility */
/* ------------------------ */

/* Adjust header for smaller screens */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* Hero Section Mobile Optimization */
@media (max-width: 768px) {
  .hero-content-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
  }
  
  .hero-text-content {
    padding: 0 1rem;
    text-align: center;
  }
  
  .hero-text-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-text-content h2 {
    font-size: 1.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-image {
    margin: 1.5rem 0;
    width: 100%;
  }
  
  .hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* Process Flow Mobile Optimization */
@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}

/* Contact Form Mobile Adjustment */
@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* Further adjustments for very small screens */
@media (max-width: 480px) {
  .big-task-number {
    font-size: 3rem;
  }
  
  .hero-text-content h1 {
    font-size: 2.3rem;
  }
  
  .hero-text-content h2 {
    font-size: 1.3rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .step {
    padding: 1.5rem;
  }
  
  .before,
  .after {
    width: 90%;
    max-width: 300px;
  }
  
  .arrow {
    margin: 1rem 0;
  }
}