:root {
  --primary-color: #212121;
  --accent-color: #34a85a;
  --cyan-color: #8bc34a;
  --bg-color: #f7f7f7;
  --text-color: #333333;
  --border-color: #ccc;
}

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

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif, sans-serif;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.header-main {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  text-decoration: none;
  color: #ffffff !important;
}

.logo-img {
  max-height: 44px;
  width: auto;
}

.site-name {
  color: #ffffff;
  font-size: 1.25rem;
}

.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 400;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--cyan-color) !important;
}

.btn {
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 0;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--cyan-color);
  border-color: var(--cyan-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-outline-primary:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
}

.btn-outline-light {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline-light:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--primary-color);
}

.page-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
  padding: 4rem 0;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
  max-width: 700px;
  margin: 0 auto;
}

.accordion-container {
  max-width: 900px;
  margin: 0 auto;
}

section {
  padding: 0;
  margin: 0;
}

.accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
}

.accordion-item {
  background-color: #ffffff;
  border: none;
  border-bottom: 2px solid var(--border-color);
  border-radius: 0 !important;
  margin-bottom: 0;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  background-color: #ffffff;
  color: var(--primary-color);
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 2rem;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: relative;
}

.accordion-button:not(.collapsed) {
  background-color: var(--bg-color);
  color: var(--accent-color);
}

.accordion-button::after {
  background-image: none;
  content: '+';
  font-size: 2rem;
  font-weight: 300;
  width: auto;
  height: auto;
  flex-shrink: 0;
  margin-left: auto;
}

.accordion-button:not(.collapsed)::after {
  content: '−';
}

.accordion-number {
  display: inline-block;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-right: 1rem;
  min-width: 47px;
}

.accordion-title {
  flex: 1;
  text-align: left;
}

.accordion-body {
  padding: 2rem;
  background-color: #ffffff;
  text-align: justify;
}

.accordion-body p {
  margin-bottom: 2rem;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

.accordion-body ul, .accordion-body ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.accordion-body li {
  margin-bottom: 0.75rem;
}

.accordion-body img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-image, .about-image, .service-image, .article-image, .case-study-image, .service-detail-image, .article-hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

.hero-content {
  text-align: center;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-color);
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border-color);
  font-weight: 600;
  color: var(--primary-color);
}

.feature-badge i {
  color: var(--accent-color);
  font-size: 1.25rem;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.features-grid, .services-grid, .testimonials-grid, .team-grid, .stats-grid, .contact-info-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
}

.feature-icon {
  width: 72px;
  height: 71px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color), var(--cyan-color));
  color: #ffffff;
  font-size: 2rem;
  border-radius: 0;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

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

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  margin-bottom: 1rem;
}

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

.btn-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  background: none;
}

.btn-link:hover {
  color: var(--cyan-color);
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: #ffffff;
  border: 2px solid var(--border-color);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: #ffffff;
  padding: 0.25rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 2rem;
}

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
}

.pricing-price .amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0 0.25rem;
}

.pricing-price .period {
  font-size: 1rem;
  color: #666;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--accent-color);
  margin-right: 0.75rem;
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
  background: #ffffff;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

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

.testimonial-avatar {
  width: 63px;
  height: 57px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.testimonial-role {
  color: #666;
  font-size: 0.875rem;
  margin-bottom: 0;
}

.testimonial-rating {
  color: #fbbf24;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-style: italic;
  color: #555;
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.team-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  text-align: center;
  overflow: hidden;
}

.team-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-content {
  padding: 1.5rem;
}

.team-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.team-role {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.team-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.team-social a {
  width: 40px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s;
}

.team-social a:hover {
  background: var(--accent-color);
  color: #ffffff;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--accent-color), var(--cyan-color));
  color: #ffffff;
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif, sans-serif;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.95;
}

.integrations-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.integration-logo {
  text-align: center;
}

.integration-logo i {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.integration-logo p {
  margin: 0;
  font-weight: 600;
  color: #666;
}

.faq-list {
  margin-top: 2rem;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
}

.cta-section .accordion-body {
  background: transparent;
}

.cta-content {
  color: #ffffff;
}

.cta-content .lead {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-label {
  font-weight: 600;
  color: var(--primary-color);
}

.form-control {
  border-radius: 0;
  border: 1px solid var(--border-color);
  padding: 0.75rem;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.contact-info-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.contact-info-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
}

.contact-icon {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.contact-info-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.contact-info-card p {
  margin-bottom: 0.5rem;
  color: #666;
}

.article-meta {
  color: #666;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.article-excerpt {
  color: #555;
  margin-bottom: 1.5rem;
}

.article-nav {
  text-align: center;
  padding: 2rem 0;
}

.case-study-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 0;
}

.mission-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.mission-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
}

.mission-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-main {
  background: var(--primary-color);
  color: #ffffff;
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}

.footer-brand {
  text-decoration: none;
  color: #ffffff !important;
}

.footer-desc {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--accent-color);
  color: #ffffff;
}

.footer-title {
  color: #ffffff;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--cyan-color);
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--accent-color);
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2rem 0 1.5rem;
}

.footer-bottom {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(0,0,0,0.05);
    padding: 1rem;
    margin-top: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .accordion-button {
    font-size: 1.125rem;
    padding: 1.5rem 1rem;
  }

  .accordion-number {
    font-size: 1rem;
    min-width: 42px;
  }

  .accordion-body {
    padding: 1.5rem 1rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 576px) {
  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .features-grid, .services-grid, .testimonials-grid, .team-grid, .stats-grid, .pricing-grid, .contact-info-grid {
    grid-template-columns: 1fr;
  }
}
