/* Global Styles */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  background: #ffffff;
  color: #333333;
  line-height: 1.6;
  font-display: swap;
}

/* Header Styles */
header {
  background: #1a365d;
  color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.logo {
  flex: 0 0 16%;
  max-width: 16%;
}

.logo img {
  width: 80%;
  height: auto;
  max-width: 200px;
}

.nav-container {
  flex: 0 0 74%;
  max-width: 74%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.cta-container {
  flex: 0 0 10%;
  max-width: 10%;
}

nav {
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  position: relative;
}

nav a {
  color: #ffffff;
  margin: 0 1.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5rem;
  transition: color 0.3s ease;
  white-space: nowrap;
  position: relative;
  padding: 0.5rem 0;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

nav a:hover {
  color: #60a5fa;
}

.brand-name {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
  color: white;
}

/* Button Styles */
.cta-btn {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.cta-btn:hover {
  background: #1d4ed8;
}

/* Container Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section Styles */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  gap: 3rem;
  min-height: 80vh;
}

.hero-text {
  flex: 1 1 500px;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #1a365d;
}

.hero-img {
  flex: 1 1 400px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.bundle-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.bundle-hero h1 {
  font-size: 2.8rem;
  color: #1a365d;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.bundle-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 1rem auto;
  line-height: 1.6;
}

/* Section Title Styles */
.section-title {
  color: #1a365d;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
}

/* Card Styles */
.service-card,
.feature-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 350px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card h2,
.feature-card h2,
.service-card h3,
.feature-card h3 {
  color: #1a365d;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p,
.feature-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Stats Styles */
.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem 0;
}

.stat-item {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  flex: 1 1 200px;
  max-width: 250px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.stat-item h2 {
  font-size: 2.5rem;
  color: #2563eb;
  margin: 0 0 0.5rem 0;
}

.stat-item p {
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

/* Why Us/Features Grid Styles */
.services,
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 3rem 0;
}

.why-us {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  justify-items: center;
}

.why-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  width: 100%;
  max-width: 320px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-3px);
}

.why-card h3,
.why-card h4 {
  color: #1a365d;
  margin-bottom: 1rem;
}

.why-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Benefits Section Styles */
.benefits {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  padding: 4rem 2rem;
}

.benefits-container {
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.benefit-number {
  background: #2563eb;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.benefit-content h2,
.benefit-content h3 {
  color: #1a365d;
  margin-top: 0;
  font-size: 1.3rem;
}

.benefit-content p {
  color: #64748b;
  margin-bottom: 0;
}

/* Workflow Styles */
.workflow {
  padding: 4rem 2rem;
  text-align: center;
}

.workflow-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.workflow-step {
  flex: 1 1 150px;
  max-width: 200px;
  position: relative;
}

.workflow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.5rem;
}

.step-icon {
  background: #2563eb;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-weight: bold;
  font-size: 1.5rem;
}

.step-title {
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 0.5rem;
}

/* Industries Section */
.industries {
  padding: 4rem 2rem;
  background: #f8fafc;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.industry-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  border: 1px solid #e2e8f0;
}

.industry-card h2 {
  color: #1a365d;
  margin-top: 0;
}

.industry-card ul {
  padding-left: 1.5rem;
  color: #64748b;
}

.industry-card li {
  margin-bottom: 0.5rem;
}

/* Testimonial Styles */
.testimonials {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  padding: 4rem 1rem;
}

.testimonial-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.testimonial-container {
  width: 100%;
  max-width: 800px;
  min-height: 180px;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0rem;
  background: #ffffff;
  font-style: italic;
  transition: all 0.5s ease;
  border-radius: 12px;
  opacity: 0;
  transform: translateX(100%);
  z-index: 1;
  white-space: normal;
  word-break: break-word;
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial p {
  color: #374151;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial strong {
  color: #1a365d;
  font-weight: 600;
}

.testimonial-section {
  padding: 4rem 2rem;
  text-align: center;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #2563eb;
}

.slider-btn {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.slider-btn:hover {
  background: #1d4ed8;
}

/* Expertise Section */
.expertise-section {
  padding: 4rem 2rem;
  background: #f8fafc;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.expertise-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.expertise-card h2 {
  color: #1a365d;
  margin-top: 0;
}

/* Contact Form Styles */
.contact-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  border: 1px solid #e2e8f0;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #1a365d;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1a365d;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  min-height: 44px;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Final CTA Section */
.final-cta {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #1a365d 0%, #2563eb 100%);
  color: white;
}

.final-cta h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.final-cta p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1.2rem;
}

.final-cta .cta-btn {
  background: white;
  color: #2563eb;
  font-weight: 600;
}

.final-cta .cta-btn:hover {
  background: #e2e8f0;
}

/* Footer Styles */
footer {
  background: #1a365d;
  color: #ffffff;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

/* Floating CTA Styles */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.floating-cta-btn {
  background: #2563eb;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
}

.floating-cta-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-cta-btn i {
  margin-right: 0.5rem;
}

/* Message Styles */
.success {
  color: #059669;
  background: #d1fae5;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #a7f3d0;
}

.error-message {
  color: #dc2626;
  background: #fef2f2;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #fecaca;
}

/* ================== */
/* Mobile Responsiveness */
/* ================== */

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 2rem 1rem;
    min-height: auto;
  }

  .hero-text {
    order: 2;
    padding: 0 1rem;
    margin-top: 2rem;
  }

  .hero-img {
    order: 1;
    margin-bottom: 1rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  header {
    flex-direction: column;
    padding: 1rem;
  }

  .logo,
  .nav-container,
  .cta-container {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .logo img {
    width: 60%;
    margin: 0 auto;
  }

  .brand-name {
    font-size: 3rem;
    margin: 0.5rem 0;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
  }

  nav a {
    margin: 0 0.5rem;
    font-size: 1.1rem;
  }

  .cta-container {
    margin-top: 1rem;
  }

  .section-title {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .why-us {
    grid-template-columns: 1fr;
  }

  .workflow-step:not(:last-child)::after {
    content: "";
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: block;
    text-align: center;
    margin: 1rem 0;
  }
}

/* Improved Testimonials for Mobile */
@media (max-width: 768px) {
  .testimonials {
    padding: 2rem 0.5rem;
  }

  .testimonial-slider {
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
  }

  .testimonial-container {
    padding: 1.5rem;
    min-height: auto;
    margin: 0 1rem;
  }

  .testimonial {
    position: relative;
    opacity: 1;
    transform: none;
    padding: 1rem;
  }

  .testimonial.active {
    position: relative;
  }

  .slider-btn {
    padding: 0.75rem 1.25rem;
    margin: 0.5rem;
    font-size: 1rem;
  }

  .testimonial-dots {
    margin-top: 1.5rem;
  }

  .dot {
    width: 14px;
    height: 14px;
  }

  /* Services Section Mobile Improvements */
  .services {
    gap: 1rem;
    padding: 0 1rem;
    margin: 2rem 0;
  }

  .service-card {
    min-width: 100%;
    max-width: 100%;
    padding: 1.5rem;
    margin-bottom: 0;
  }

  .section#services {
    padding: 2rem 0;
  }

  .section-title {
    margin-bottom: 1rem;
    padding: 0 1rem;
  }

  /* General Mobile Improvements */
  .section {
    padding: 2rem 1rem;
  }

  .service-card h2,
  .feature-card h2 {
    font-size: 1.4rem;
  }

  .service-card p,
  .feature-card p {
    font-size: 1rem;
  }

  .stats {
    gap: 1rem;
    margin: 2rem 0;
  }

  .stat-item {
    flex: 1 1 45%;
    padding: 1.5rem;
  }

  .workflow-step {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .workflow-step:not(:last-child)::after {
    display: none;
  }

  .final-cta {
    padding: 3rem 1rem;
  }

  .final-cta h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 2.5rem;
  }

  nav a {
    font-size: 1rem;
    margin: 0 0.3rem;
  }

  .cta-btn {
    font-size: 1.2rem;
    padding: 0.6rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .testimonial p {
    font-size: 1rem;
  }

  .stat-item {
    flex: 1 1 100%;
  }

  .floating-cta {
    bottom: 1rem;
    right: 1rem;
  }

  .floating-cta-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}
