:root {
  --bg: #07111f;
  --bg2: #0d1f3a;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --text: #eaf2ff;
  --muted: #b7c7e6;
  --blue: #4ea1ff;
  --blue-dark: #2d6df6;
  --cyan: #6be7ff;
  --gold: #f5c77a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top, #173760 0%, var(--bg) 45%, #050b14 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}


/* Mobile Nav */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(5, 11, 20, 0.6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-left: 5px;
}

.logo::before {
    content: ' ';
    top: 31%;
    right: 98%;
    height: 20px;
    width: 24px;
    position: absolute;
    background-image: url('/imgs/khwezistarlogo.png');
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center center;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--cyan);
  background: rgba(78, 161, 255, 0.12);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  cursor: pointer;
  padding: 0.75rem;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 1.25rem;
    right: 1.25rem;
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(15, 39, 71, 0.98), rgba(7, 17, 31, 0.98));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.9rem 1rem;
    background: rgba(255,255,255,0.04);
  }

  .logo::before{
    display: none;
  }
}


.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.eyebrow {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(78, 161, 255, 0.2);
  background: rgba(78, 161, 255, 0.12);
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2 {
  line-height: 1.05;
  margin: 0.9rem 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: var(--shadow);
}

.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.hero-card,
.service-box,
.project-card,
.timeline-item,
.contact-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
}

.card-stat {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.55);
  border: 1px solid rgba(255,255,255,0.06);
}

.card-stat h3 {
  margin: 0 0 0.4rem;
  color: var(--cyan);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 1.8rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-box,
.project-card {
  padding: 1.4rem;
  min-height: 180px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-item {
  padding: 1.4rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(78,161,255,0.2), rgba(107,231,255,0.08));
}

.timeline-item span {
  display: block;
  color: var(--cyan);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact {
  padding-bottom: 7rem;
}

.contact-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero,
  .grid.three,
  .timeline {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .section {
    padding: 4rem 1rem;
  }

  .nav {
    padding: 1rem;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

.pricing {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.pricing-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.pricing-intro {
  max-width: 620px;
}

.pricing-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.pricing-card.featured {
  position: relative;
  overflow: hidden;
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(78,161,255,0.22), transparent 40%),
              radial-gradient(circle at bottom left, rgba(107,231,255,0.12), transparent 35%);
  pointer-events: none;
}

.pricing-top,
.pricing-features,
.pricing-actions {
  position: relative;
  z-index: 1;
}

.pricing-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pricing-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(78,161,255,0.14);
  border: 1px solid rgba(78,161,255,0.25);
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-top h3 {
  margin: 0;
  font-size: 1.4rem;
}

.price {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.85rem;
}

.pricing-features li {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(7, 17, 31, 0.45);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
}

.pricing-features li::before {
  content: "✔";
  margin-right: 0.7rem;
  color: var(--cyan);
  font-weight: 700;
}

.pricing-actions {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 700px) {
  .pricing-top {
    flex-direction: column;
  }

  .price {
    white-space: normal;
  }

  .pricing-card {
    padding: 1.3rem;
  }

  .pricing-actions .btn {
    width: 100%;
  }
}


.services-page {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.services-intro {
  max-width: 700px;
}

.services-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.service-feature {
  padding: 1.4rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.service-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(78,161,255,0.12);
  border: 1px solid rgba(78,161,255,0.2);
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-feature h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
  color: var(--text);
}

.service-feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.google-form-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(78,161,255,0.16), rgba(107,231,255,0.08));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.google-form-card h3 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.google-form-card p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

@media (max-width: 800px) {
  .services-layout {
    grid-template-columns: 1fr;
  }

  .google-form-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .google-form-card .btn {
    width: 100%;
  }
}


.portfolio-page {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.portfolio-intro {
  max-width: 720px;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.5rem;
}

.filter-btn {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  cursor: pointer;
  transition: 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: rgba(78,161,255,0.14);
  border-color: rgba(78,161,255,0.25);
  color: var(--cyan);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-card {
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.portfolio-thumb {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(234,242,255,0.9);
  background:
    radial-gradient(circle at top left, rgba(78,161,255,0.45), transparent 38%),
    radial-gradient(circle at bottom right, rgba(107,231,255,0.18), transparent 35%),
    linear-gradient(135deg, #0f2747, #173760);
}

.portfolio-body {
  padding: 1.3rem;
}

.project-tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.portfolio-body h3 {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-size: 1.2rem;
}

.portfolio-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.portfolio-body li {
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(7,17,31,0.45);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
}

.portfolio-card.hidden {
  display: none;
}

@media (max-width: 1000px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-filters {
    gap: 0.5rem;
  }

  .filter-btn {
    width: 100%;
  }
}

.contact-page {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.contact-intro {
  max-width: 720px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.detail-card {
  padding: 1.3rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.detail-card.accent {
  background: linear-gradient(135deg, rgba(78,161,255,0.18), rgba(107,231,255,0.08));
}

.detail-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-card a,
.detail-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.contact-form {
  padding: 1.5rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.form-group label {
  color: var(--text);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(7,17,31,0.5);
  color: var(--text);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(183,199,230,0.75);
  font-size: 1.2em;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(107,231,255,0.45);
  box-shadow: 0 0 0 4px rgba(78,161,255,0.12);
}

.radio-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(7,17,31,0.45);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
}

.radio-option input {
  accent-color: var(--blue);
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}



@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .form-row {
    grid-template-columns: 1fr;
  }


}

.privacy-page {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.privacy-intro {
  max-width: 760px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.privacy-card,
.privacy-notice {
  padding: 1.4rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.privacy-card h3,
.privacy-notice h3 {
  margin-top: 0;
  color: var(--text);
}

.privacy-card p,
.privacy-notice li {
  color: var(--muted);
  line-height: 1.7;
}

.privacy-notice {
  margin-top: 1.5rem;
}

.privacy-notice ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

@media (max-width: 800px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}

.thankyou-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.thankyou-card {
  width: 100%;
  max-width: 980px;
  padding: 2rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  text-align: center;
}

.thankyou-card h1 {
  margin: 1rem 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
}

.thankyou-text {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.thankyou-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  text-align: left;
}

.thankyou-item {
  padding: 1.3rem;
  border-radius: 22px;
  background: rgba(7,17,31,0.45);
  border: 1px solid rgba(255,255,255,0.06);
}

.thankyou-item h3 {
  margin-top: 0;
  color: var(--text);
}

.thankyou-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.thankyou-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.thankyou-actions .btn {
  min-width: 180px;
}

@media (max-width: 900px) {
  .thankyou-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .thankyou-card {
    padding: 1.25rem;
  }

  .thankyou-actions .btn {
    width: 100%;
  }
}





.site-footer {
  padding: 4rem 1.5rem 2rem;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.2), rgba(7, 17, 31, 0.95));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand,
.footer-links,
.footer-contact,
.footer-social {
  padding: 1.2rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.site-footer h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--text);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  line-height: 1.7;
}

.footer-links,
.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-contact a,
.social-links a {
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.social-links a:hover,
.footer-bottom a:hover {
  color: var(--cyan);
  transform: translateY(-1px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-links a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(78,161,255,0.12);
  border: 1px solid rgba(78,161,255,0.18);
}

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p,
.footer-bottom a {
  color: var(--muted);
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 3rem 1rem 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}