:root {
  --primary-color: #ff3b3b;
  --background-color: #0d1117;
  --text-color: #ffffff;
  --secondary-text-color: #8b949e;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

header {
  padding: 1rem 2rem;
  background-color: rgba(13, 17, 23, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

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

.nav-links {
  display: flex;
  row-gap: 2rem;
  column-gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease 0s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease 0s;
}

.cta-button:hover {
  background-color: rgb(255, 82, 82);
  color: rgb(255, 255, 255) !important;
}

main {
  padding-top: 80px;
}

section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  max-width: 600px;
  margin: 0px auto 2rem;
  color: var(--secondary-text-color);
}

.cards-container {
  margin: 6rem 0px;
  text-align: center;
}

.card-grid {
  display: flex;
  row-gap: 2rem;
  column-gap: 2rem;
  justify-content: center;
  align-items: stretch;
  padding: 0px 2rem;
}

.card {
  background: rgb(28, 33, 40);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease 0s;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 20px;
  flex: 1 1 0%;
  max-width: 350px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 30px;
}

.card img {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease 0s;
}

.services {
  background-color: #1c2128;
}

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

.service-item {
  text-align: center;
  padding: 2rem;
  background-color: #0d1117;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.pricing {
  background-color: #0d1117;
}

.pricing h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.pricing-card {
  background-color: #1c2128;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

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

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.pricing-card ul {
  list-style-type: none;
  margin-bottom: 2rem;
}

.pricing-card ul li {
  margin-bottom: 0.5rem;
  color: var(--secondary-text-color);
}

.pricing-card ul li::before {
  content: "✓";
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.pricing-content {
  display: flex;
  align-items: center;
  row-gap: 4rem;
  column-gap: 4rem;
}

.pricing-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.pricing-text p {
  color: var(--secondary-text-color);
  margin-bottom: 2rem;
}

.pricing-text ul {
  list-style-type: none;
  margin-bottom: 2rem;
}

.pricing-text ul li {
  margin-bottom: 0.5rem;
  color: var(--secondary-text-color);
}

.pricing-text ul li::before {
  content: "✓";
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  row-gap: 2rem;
  column-gap: 2rem;
}

.portfolio-item {
  background-color: rgb(28, 33, 40);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease 0s;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

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

.portfolio-item p {
  padding: 1rem;
  color: var(--secondary-text-color);
}

.contact form {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  column-gap: 1rem;
  max-width: 600px;
  margin: 2rem auto 0px;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border-radius: 5px;
  border: medium;
  background-color: rgb(28, 33, 40);
  color: var(--text-color);
}

.contact textarea {
  min-height: 150px;
}

footer {
  padding: 2rem;
  background-color: #0d1117;
  border-top: 1px solid #21262d;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-weight: 700;
  display: flex;
  align-items: center;
  font-size: 16px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--secondary-text-color);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 2px 0px;
  transition: all 0.4s ease 0s;
}

.process {
  background-color: rgb(28, 33, 40);
  padding: 4rem 2rem;
}

.process .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 2rem;
  column-gap: 2rem;
}

.step {
  flex: 1 1 0%;
  min-width: 200px;
  text-align: center;
  padding: 2rem;
  background-color: rgb(13, 17, 23);
  border-radius: 10px;
  transition: transform 0.3s ease 0s;
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1rem;
}

.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-content i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--secondary-text-color);
}

.cards-container h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: rgb(255, 255, 255);
  font-weight: 700;
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  column-gap: 1rem;
}

.card-content a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.3s ease 0s;
}

.card-content a:hover {
  color: rgb(74, 158, 255);
}

.view-project {
  color: rgb(74, 158, 255);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease 0s;
}

.card:hover .view-project {
  opacity: 1;
  transform: translateY(0px);
}

.pricing-content img {
  border-radius: 10px;
}

.copyright {
  text-align: center;
  font-size: 14px;
  padding: 0 20px;
}

.cta-button-header {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease 0s;
  display: inline-block;
  box-shadow: rgba(255, 82, 82, 0.3) 0px 4px 15px;
}

.cta-button-header:hover {
  background-color: rgb(255, 82, 82);
  transform: translateY(-2px);
  box-shadow: rgba(255, 82, 82, 0.4) 0px 6px 20px;
}

.original-price {
  text-decoration: line-through;
  color: rgb(102, 102, 102);
  font-size: 3rem;
  margin-right: 10px;
}

.fas {
  margin-left: 8px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(13, 17, 23, 0.95);
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .pricing-content,
  .portfolio-grid {
    flex-direction: column;
    text-align: center;
  }

  .card-grid {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .pricing-content img,
  .portfolio-item img {
    max-width: 100%;
    height: auto;
  }

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

  .process-steps {
    flex-direction: column;
  }

  .step {
    width: 100%;
  }
}