* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f5f7fb;
  color: #222;
}

header {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 75px;
}

.nav-link {
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
  transition: color 0.3s ease;
}

.nav ul {
  list-style: none;      /* removes bullets */
  display: flex;         /* puts items in one row */
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
}
.nav ul li {
  display: inline-flex;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #3b82f6);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-link:hover::after {
  width: 100%;
}

.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #818cf8, #93c5fd);
  color:#000;
}


.hero-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.section.dark {
  background: #0f172a;
  color: white;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
}

.grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.pricing-row {
  display: flex;
  flex-wrap: nowrap;   /* VERY IMPORTANT */
  gap: 25px;
}

.pricing-scroll {
  overflow-x: auto;
  padding-bottom: 15px;   /* ONLY space for scrollbar */
}

/* Modern clean scrollbar */
.pricing-scroll::-webkit-scrollbar {
  height: 8px;
}

.pricing-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.pricing-scroll::-webkit-scrollbar-thumb {
  background-color: #3b82f6;   /* same blue as buttons */
  border-radius: 10px;
}

.price-card {
  background: #1e293b;
  border-radius: 16px;
  padding: 30px 25px;
  width: 280px;
  flex-shrink: 0;

  border: 2px solid transparent;
  box-sizing: border-box;   /* 🔥 THIS FIXES WIDTH CHANGE */

  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: #3b82f6;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.price-card.highlight:hover {
  transform: translateY(-8px);
}


.card, .price-card {
  background: white;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
}

.section.dark .card,
.section.dark .price-card {
  background: #1e293b;
}

.price {
  font-size: 1.4rem;
  margin: 15px 0;
  font-weight: 600;
}

.price-card ul {
  list-style: none;
}

.price-card ul li {
  margin: 8px 0;
}

.price-card.highlight {
  border: 3px solid #3b82f6;
}

.warning {
  margin-top: 12px;
  color: #facc15;
  font-weight: 600;
}

.how-it-works .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.step-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* ===== Extra Services – Premium Look ===== */

.extra-services {
  background: linear-gradient(180deg, #0f172a, #020617);
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Gradient border on hover */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #6366f1, #60a5fa);
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

/* Icon styling */
.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

/* Text hierarchy */
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.95rem;
  opacity: 0.85;
}
.github-icon {
  color: #ffffff;
}

.step-number {
  display: inline-block;
  background: #3b82f6;
  color: white;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 15px;
}


.btn {
  background: #60a5fa;
  color: white;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
}

.btn.large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

.btn.outline {
  background: transparent;
  border: 2px solid white;
}

.btn.center {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
}

.trust {
  background: #fff;
  padding: 60px 20px;
}

.trust-grid {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.trust-card {
  background: #f5f7fb;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
}

.trust-card h3 {
  color: #2563eb;
  margin-bottom: 10px;
}

footer {
  background: #020617;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

footer a {
  color: #60a5fa;
  text-decoration: none;
}

.copy {
  margin-top: 15px;
  font-size: 0.9rem;
  opacity: 0.7;
}
.hero.small {
  padding: 70px 20px;
}

.samples-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  height: 100%;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}


.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.card-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.tag {
  background: #2563eb;
  color: white;
  padding: 6px 14px;
  font-size: 0.75rem;
  border-radius: 20px;
}

.stars {
  color: #facc15;
}

.project-card h3 {
  margin-bottom: 8px;
}

.desc {
  font-size: 0.95rem;
  opacity: 0.85;
  flex-grow: 1;   /* KEY LINE */
}


.meta {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;   /* SPACE BETWEEN TIME & PRICE */
}

.time {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
}


.price {
  font-size: 1.05rem;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 18px;  /* SPACE BETWEEN PRICE & BUTTON */
}


.card-btn {
  margin-top: auto;   /* MAGIC FIX */
  display: block;
  text-align: center;
  padding: 12px;
  background: linear-gradient(135deg, #6366f1, #60a5fa);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
}

