:root {
  --primary: #020617;
  --primary-soft: #0f172a;
  --accent: #22c1c3;
  --accent-strong: #0ea5e9;
  --accent-soft: #e0f7fa;
  --bg: #f3f4f8;
  --bg-soft: #ffffff;
  --text: #020617;
  --muted: #6b7280;
  --radius-xl: 20px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  --transition: all 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #e0f7fa 0, #f3f4f8 40%, #e5e7eb 100%);
  color: var(--text);
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden; /* mobile pe left-right scroll band */
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER / NAV */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(2, 6, 23, 0.96);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  position: relative; /* dropdown nav ke liye */
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  width: 170px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.88rem;
}

.nav-links a {
  color: #e5ecff;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #22c1c3);
  color: #021016;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(34, 193, 195, 0.6);
}

/* mobile toggle hidden by default */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
}

/* HERO (HOME) */

.hero {
  padding: 4.2rem 0 3.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.6rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.72rem;
  color: #4b5563;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.hero-title {
  font-size: clamp(2.1rem, 3vw + 0.6rem, 2.9rem);
  margin-top: 0.9rem;
  margin-bottom: 0.6rem;
  line-height: 1.15;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, #0ea5e9, #22c1c3, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 0.96rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 1.3rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
  font-size: 0.86rem;
}

.hero-point {
  padding: 0.45rem 0.8rem;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-point span.icon {
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn-primary {
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #0ea5e9, #22c1c3);
  color: #021017;
  box-shadow: 0 18px 40px rgba(34, 193, 195, 0.7);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(34, 193, 195, 0.85);
}

.btn-outline {
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: rgba(255,255,255,0.96);
  cursor: pointer;
  font-size: 0.85rem;
  color: #0f172a;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  transition: var(--transition);
}

.btn-outline:hover {
  background: #0f172a;
  color: #e5e7eb;
}

.hero-note {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: #4b5563;
}

/* HERO RIGHT VISUAL */

.hero-visual {
  position: relative;
  margin-top: 0;
}

.hero-mockup {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #020617;
}

.hero-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay card styling */

.hero-overlay-card {
  position: absolute;
  right: 6%;
  bottom: -10%;
  width: 65%;
  max-width: 260px;
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  border-radius: 18px;
  padding: 0.9rem 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
}

.hero-overlay-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.hero-overlay-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.hero-overlay-main {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.hero-overlay-label {
  font-size: 0.7rem;
  color: #9ca3af;
}

.hero-overlay-value {
  font-size: 1rem;
  font-weight: 600;
}

.hero-overlay-footer {
  font-size: 0.72rem;
  color: #9ca3af;
}

/* Hero card */

.hero-card {
  background: linear-gradient(145deg, #020617, #0f172a);
  color: #e5e7eb;
  border-radius: 24px;
  padding: 1.7rem 1.4rem;
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-card h3 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.chip {
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
}

.hero-mini {
  font-size: 0.78rem;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(34,197,94,0.1), rgba(15,23,42,0.98));
  border: 1px solid rgba(34, 197, 94, 0.6);
  margin-bottom: 0.9rem;
}

.hero-mini strong {
  display: block;
  margin-bottom: 0.2rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.85);
}

/* GENERIC SECTIONS */

section {
  padding: 3.2rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0.1rem auto 0;
}

/* INNER PAGE HERO */

.inner-hero {
  padding: 3rem 0 2.2rem;
}

.inner-heading {
  font-size: 1.9rem;
  margin-bottom: 0.3rem;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
}

/* CARDS GRID */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(34,193,195,0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.18);
  border-color: rgba(34,193,195,0.8);
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.card-text {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.card-meta {
  font-size: 0.78rem;
  color: #6b7280;
}

/* PORTFOLIO */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
}

/* PRICING */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.6rem;
}

.price-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid #d4def5;
  position: relative;
}

.price-card.popular {
  border-color: var(--accent-strong);
  box-shadow: 0 26px 60px rgba(34, 193, 195, 0.32);
}

.price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.68rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-strong);
  color: white;
}

.price-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.price-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.price {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.price span {
  font-size: 0.8rem;
  color: var(--muted);
}

.price-secondary {
  font-size: 0.82rem;
  color: #4b5563;
  margin-bottom: 0.7rem;
}

.price-list {
  list-style: none;
  margin: 0.5rem 0 1rem;
  padding: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.price-list li {
  margin-bottom: 0.35rem;
  display: flex;
  gap: 0.35rem;
}

.price-list li::before {
  content: "✔";
  color: #059669;
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.price-cta {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  background: #eff6ff;
  cursor: pointer;
  transition: var(--transition);
}

.price-card.popular .price-cta {
  background: linear-gradient(135deg, #0ea5e9, #22c1c3);
  color: #021018;
  border-color: transparent;
}

.price-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid #d4def5;
}

.contact-card h3 {
  margin-bottom: 0.55rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.8rem;
  color: #4b5563;
}

input, textarea {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  background: #f9fafb;
  transition: var(--transition);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(34, 193, 195, 0.4);
  background: #ffffff;
}

.contact-side {
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-info {
  margin-top: 0.7rem;
}

.contact-info div {
  margin-bottom: 0.35rem;
}

/* FOOTER */

footer {
  padding: 1.5rem 0 1.3rem;
  background: #020617;
  color: #9ca3af;
  font-size: 0.8rem;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-links a {
  color: #e5e7eb;
}

.footer-links a:hover {
  color: #38bdf8;
}

/* ANIMATIONS */

.fade-in-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.7s ease-out forwards;
}

.fade-in-up.delay-1 { animation-delay: 0.15s; }
.fade-in-up.delay-2 { animation-delay: 0.3s; }
.fade-in-up.delay-3 { animation-delay: 0.45s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

/* Tablet & small laptop */
@media (max-width: 900px) {
  .container {
    max-width: 100%;
    padding: 0 1.2rem;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-left {
    order: 1;
  }

  .hero-right {
    order: 2;
  }

  .hero-visual {
    margin-top: 1.2rem;
  }

  .hero-overlay-card {
    position: static;
    margin-top: 0.9rem;
    width: 100%;
    max-width: none;
  }

  .inner-hero {
    padding: 2.4rem 0 1.8rem;
  }

  .contact-grid {
    row-gap: 1.8rem;
  }
}

/* Mobile phones */
@media (max-width: 700px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 34px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.98);
    cursor: pointer;
    padding: 4px 6px;
    margin-left: auto;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 999px;
    background: #e5e7eb;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1rem;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    display: none;
  }

  .nav-links a {
    color: #e5ecff;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-title {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-outline {
    margin-left: 0 !important;
  }

  .contact-card {
    padding: 1.3rem 1.1rem;
  }

  .contact-side {
    margin-top: 0.5rem;
  }

  .inner-heading {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }
}
