:root {
  --primary-color: #2f5f4f;
  --secondary-color: #8bc34a;
  --accent-color: #3e8e41;
  --bg-color: #f7f7f7;
  --text-color: #333333;
  --white: #ffffff;
  --shadow: 4px 4px 13px rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, sans-serif, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 39px;
}

.section-heading {
  font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, sans-serif, cursive;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.min-vh-70 {
  min-height: 70vh;
}

.navbar {
  background-color: var(--white) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  text-decoration: none;
  color: var(--primary-color);
  transition: opacity 0.3s ease;
}

.navbar-brand:hover {
  opacity: 0.8;
}

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

.site-name {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 400;
  transition: color 0.3s ease;
}

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

.polaroid-frame {
  background: var(--white);
  padding: 13px 19px 45px;
  border-radius: 0;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  position: relative;
  margin: 34px;
}

.polaroid-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  pointer-events: none;
}

.polaroid-frame[data-rotation="1"] {
  transform: rotate(1deg);
}

.polaroid-frame[data-rotation="-1"] {
  transform: rotate(-1deg);
}

.polaroid-frame[data-rotation="2"] {
  transform: rotate(2deg);
}

.polaroid-frame[data-rotation="-2"] {
  transform: rotate(-2deg);
}

.polaroid-frame[data-rotation="3"] {
  transform: rotate(3deg);
}

.polaroid-frame[data-rotation="-3"] {
  transform: rotate(-3deg);
}

.polaroid-frame:hover {
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 10;
}

.polaroid-img {
  width: 100%;
  height: auto;
  display: block;
}

.polaroid-caption {
  font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, sans-serif, cursive;
  font-size: 1rem;
  text-align: center;
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--text-color);
}

.hero-polaroid {
  max-width: 500px;
}

.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  font-weight: 500;
  padding: 14px 33px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-weight: 500;
  padding: 11px 33px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feature-icon-wrapper {
  width: 83px;
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
}

.feature-icon {
  font-size: 2rem;
  color: var(--secondary-color);
}

.feature-card,
.service-card,
.testimonial-card,
.team-card,
.value-card {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.testimonial-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  object-fit: cover;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.95rem;
  margin: 13px 0;
  color: var(--text-color);
}

.testimonial-author {
  font-weight: 700;
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #666;
}

.team-role {
  color: #666;
  font-size: 0.95rem;
}

.team-social a {
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.team-social a:hover {
  color: var(--secondary-color) !important;
}

.bg-primary {
  background-color: var(--secondary-color) !important;
}

.text-primary {
  color: var(--secondary-color) !important;
}

.process-number {
  width: 58px;
  height: 60px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 13px;
}

.pricing-card {
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border: 3px solid var(--secondary-color);
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 23px;
  font-size: 0.85rem;
  font-weight: 700;
  pointer-events: none;
}

.pricing-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 25px;
}

.price-currency {
  font-size: 1.5rem;
  align-self: flex-start;
  margin-top: 8px;
}

.price-period {
  font-size: 1rem;
  align-self: flex-end;
  margin-bottom: 8px;
  color: #666;
}

.pricing-features {
  text-align: left;
  padding: 0 15px;
}

.blog-content {
  padding: 14px 0;
}

.blog-meta {
  font-size: 0.9rem;
}

.article-meta {
  font-size: 0.95rem;
}

.article-content h2 {
  margin-top: 34px;
  margin-bottom: 17px;
  font-size: 1.75rem;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
  margin-bottom: 25px;
  padding-left: 34px;
}

.article-content li {
  margin-bottom: 8px;
}

.contact-info-item {
  padding: 19px;
}

.contact-form .form-label {
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-form .form-control {
  padding: 9px;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

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

.footer {
  background-color: #f8f9fa;
  color: var(--text-color);
}

.footer-brand {
  text-decoration: none;
  color: var(--primary-color);
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.footer a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer ul li {
  margin-bottom: 8px;
}

.social-links a {
  font-size: 1.25rem;
}

.integration-logo {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.integration-logo:hover {
  opacity: 1;
}

.case-study-full {
  text-align: left;
}

.case-meta {
  font-size: 0.9rem;
}

.legal-section {
  text-align: left;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 17px;
  font-weight: 600;
}

.legal-section ul,
.legal-section ol {
  padding-left: 29px;
  margin-bottom: 14px;
}

.legal-section li {
  margin-bottom: 11px;
}

.sidebar-widget {
  padding: 27px;
}

.sidebar-widget a {
  color: var(--text-color);
  transition: color 0.3s ease;
}

.sidebar-widget a:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .container {
    padding: 0 19px;
  }

  .polaroid-frame {
    margin: 16px 0;
  }

  .section-heading {
    font-size: 1.75rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .hero-polaroid {
    max-width: 100%;
  }

  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .btn-primary,
  .btn-outline-primary {
    padding: 7px 26px;
    font-size: 0.9rem;
  }

  .feature-icon-wrapper {
    width: 57px;
    height: 59px;
  }

  .feature-icon {
    font-size: 1.5rem;
  }
}
