/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
}

/* Header styles */
.sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #0e332d;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  color: white;
}

/* Navigation Styles */
.nav-container {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
}

/* Hero section */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  position: relative;
  padding-top: 80px;
}

/* ✅ Updated Overlay — Lighter transparency so the image shows clearly */
.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(14, 51, 45, 0.35), /* lighter tint */
    rgba(24, 81, 71, 0.25)  /* softer gradient */
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.hero-text {
  color: white;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  color: #93c5fd;
  display: block;
}

.hero-description {
  font-size: 1.25rem;
  color: #e5e7eb;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .button-container {
    flex-direction: row;
  }
}

.primary-button {
  padding: 1rem 2rem;
  border-radius: 28px;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  white-space: nowrap;
  background-color: #185147;
  color: white;
  border: 2px solid #185147;
}

.primary-button:hover {
  background-color: #0f3a32;
  border-color: #0f3a32;
}

.secondary-button {
  padding: 1rem 2rem;
  border-radius: 28px;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  white-space: nowrap;
  background-color: transparent;
  color: white;
  border: 2px solid #ffffff;
}

.secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Service cards */
.service-card {
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.check-icon {
  color: #10B981;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Process timeline */
.process-timeline {
  position: relative;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 4px;
  background: #185147;
}

@media (min-width: 768px) {
  .process-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-number {
  width: 52px;
  height: 52px;
  background: #185147;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  z-index: 2;
  border: 4px solid #0e332d;
}

.timeline-card {
  background: #185147;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

/* Pricing section */
.pricing-section {
  padding: 2rem 1rem;
  background-color: #185147;
}

.pricing-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1rem;
  color: #bbbbbc;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .pricing-cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pricing-card {
    width: calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .pricing-card {
    width: calc(33.333% - 1rem);
  }
}

.card {
  background-color: #0e332d;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.card-body {
  padding: 1.5rem;
}

.card-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.card-price {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.card-duration {
  color: #bbbbbc;
  font-size: 0.875rem;
}

.features-list {
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.feature-item img {
  width: 20px;
  height: 20px;
  margin-right: 0.75rem;
  margin-top: 2px;
}

.feature-text {
  color: #ffffff;
  font-size: 0.9375rem;
  line-height: 1.4;
}

/* Portfolio section */
.portfolio-container {
  padding: 80px 0;
  background-color: #0e332d;
}

.portfolio-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 64px;
}

.portfolio-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.portfolio-subtitle {
  font-size: 1.25rem;
  color: #c4c4c4;
  max-width: 800px;
  margin: 0 auto;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -16px;
  row-gap: 32px;
}

.portfolio-col {
  width: 100%;
  padding: 0 16px;
}

@media (min-width: 576px) {
  .portfolio-col {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .portfolio-col {
    width: 33.333%;
  }
}

.portfolio-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
  background-color: #185147;
}

.portfolio-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-5px);
}

.portfolio-card-body {
  padding: 24px;
}

.portfolio-card-content {
  text-align: center;
  margin-bottom: 16px;
}

.portfolio-card-img-container {
  width: 128px;
  height: 256px;
  margin: 0 auto 16px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.portfolio-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.portfolio-card-category {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 8px;
}

.portfolio-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.portfolio-card-description {
  font-size: 0.875rem;
  color: #e4e4e4;
  margin-bottom: 16px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.portfolio-tag {
  padding: 4px 8px;
  background-color: #0e332d;
  color: #ffffff;
  font-size: 0.75rem;
  border-radius: 4px;
}

.portfolio-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #c9c9c9;
}

.portfolio-rating {
  display: flex;
  align-items: center;
}

.portfolio-star-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

/* Technology section */
.tech-section {
  padding: 80px 0;
  background-color: #185147;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.tech-badge {
  background-color: #0e332d;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.tech-name {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.tech-category {
  font-size: 14px;
  color: #6b7280;
}

/* Testimonials */
.testimonial-slider {
  position: relative;
  margin: 0 auto;
  max-width: 56rem;
}

.testimonial-card {
  background: #185147;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin: 0 1rem;
  text-align: center;
  border: none;
  transition: transform 0.5s ease;
}

.slick-center .testimonial-card {
  transform: scale(1.05);
}

.testimonial-img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 1.5rem;
}

.stars-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.star-img {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 0.125rem;
}

.testimonial-quote {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: white;
  font-style: italic;
  margin-bottom: 1.5rem;
  quotes: "“" "”" "‘" "’";
}

.testimonial-quote:before {
  content: open-quote;
}

.testimonial-quote:after {
  content: close-quote;
}

.testimonial-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.testimonial-title {
  color: #ebebeb;
}

.testimonial-project {
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-top: 0.25rem;
}

/* Footer */
.footer {
  background-color: #0e332d;
  color: white;
  padding: 2rem 0;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.footer-col,
.footer-cole {
  padding: 0 0.5rem;
  flex: 0 0 100%;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {

  .footer-col,
  .footer-cole {
    flex: 0 0 50%;
  }
}

@media (min-width: 768px) {
  .footer-col {
    flex: 0 0 30%;
  }

  .footer-cole {
    flex: 0 0 20%;
    padding-right: 1rem;
    margin-left: 600px;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: bold;
}

.footer-description {
  color: #9ca3af;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 20px;
  height: 20px;
  filter: invert(94%) sepia(5%) saturate(350%) hue-rotate(185deg) brightness(89%) contrast(86%);
  cursor: pointer;
  transition: filter 0.3s;
}

.social-icon:hover {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

.copyright {
  color: #9ca3af;
  font-size: 0.75rem;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Improve focus states for accessibility */
button:focus,
a:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Print styles */
@media print {

  .hero-section,
  .testimonial-slider,
  .footer {
    break-inside: avoid;
  }

  .primary-button,
  .secondary-button {
    display: none;
  }
}