@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0b1020;
  --surface: #131b30;
  --surface-light: #1a2540;
  --yellow: #facc15;
  --white: #f8fafc;
  --muted: #a4afc4;
  --border: rgba(255, 255, 255, 0.09);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Cairo", Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.navbar {
  min-height: 78px;
  padding: 14px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(11, 16, 32, 0.94);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
}

.logo {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span,
.hero h1 span,
.section-heading h2 span,
.contact-section h2 span {
  color: var(--yellow);
}

.navbar nav {
  display: flex;
  gap: 26px;
}

.navbar nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}

.navbar nav a:hover,
footer > a:last-child:hover {
  color: var(--yellow);
}

.nav-cta {
  border: 1px solid var(--yellow);
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--yellow);
  font-size: 13px;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: white;
  padding: 4px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.hero {
  padding: 85px 9%;
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  overflow: hidden;
}

.tag {
  display: inline-block;
  color: var(--yellow);
  font-size: 13px;
  padding: 5px 12px;
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 30px;
}

.hero h1 {
  font-size: clamp(34px, 4.5vw, 57px);
  line-height: 1.45;
  margin: 22px 0 15px;
  font-weight: 800;
}

.hero-content > p,
.section-heading > p,
.contact-section > p {
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 12px 23px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--yellow);
  color: #101525;
}

.btn-primary:hover {
  background: #ffe36b;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
}

.stats {
  display: flex;
  gap: 32px;
  margin-top: 45px;
  flex-wrap: wrap;
}

.stats div {
  display: flex;
  flex-direction: column;
}

.stats strong {
  font-size: 16px;
}

.stats small {
  color: var(--muted);
  font-size: 12px;
}

.hero-art {
  position: relative;
  padding: 20px;
}

.glow {
  position: absolute;
  width: 270px;
  height: 270px;
  background: var(--yellow);
  filter: blur(130px);
  opacity: 0.15;
  top: 15%;
  left: 15%;
}

.design-card {
  position: relative;
  padding: 24px;
  background: linear-gradient(145deg, #202b43, #11192b);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 22px;
  min-height: 370px;
  transform: rotate(-2deg);
  box-shadow: 0 25px 70px rgba(0,0,0,0.3);
}

.card-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
}

.card-top span:last-child {
  color: var(--yellow);
  font-size: 22px;
}

.art-shape {
  margin: 12px auto 0;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 150px;
  line-height: 1;
  color: var(--yellow);
  text-shadow: 8px 8px 0 rgba(250,204,21,0.12);
}

.art-line {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.design-card h2 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: 2px;
}

.design-card p,
.art-number {
  font-size: 10px;
  color: var(--muted);
}

.design-card p {
  margin-top: 12px;
}

.art-number {
  display: block;
  text-align: left;
  margin-top: 18px;
}

.floating-badge {
  position: absolute;
  bottom: 35px;
  right: 0;
  background: var(--yellow);
  color: var(--bg);
  border-radius: 9px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 35px #0005;
}

.section {
  padding: 85px 9%;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2,
.contact-section h2 {
  font-size: clamp(25px, 3.5vw, 38px);
  line-height: 1.5;
  margin: 16px 0 8px;
}

.section-heading > p {
  margin: auto;
}

.service-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: 16px;
  transition: transform 0.25s, border-color 0.25s;
}

.service-card:hover,
.project:hover {
  transform: translateY(-6px);
  border-color: rgba(250,204,21,0.45);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  background: rgba(250,204,21,0.1);
  border-radius: 12px;
  font-size: 25px;
}

.service-card h3 {
  margin: 18px 0 8px;
  font-size: 19px;
}

.service-card p,
.project p {
  color: var(--muted);
  font-size: 13px;
}

.service-card a {
  display: inline-block;
  color: var(--yellow);
  margin-top: 20px;
  font-size: 13px;
}

.portfolio {
  background: #0e1527;
}

.project {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: var(--surface);
  transition: transform 0.25s, border-color 0.25s;
  overflow: hidden;
}

.project-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}

.project-preview {
  height: 180px;
  margin: 18px 0;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 2px;
  background: #222e48;
}

.project-one .project-preview {
  background: linear-gradient(135deg, #293c60, #11192b);
}

.project-two .project-preview {
  background: linear-gradient(135deg, #4c3821, #19172b);
}

.project-three .project-preview {
  background: linear-gradient(135deg, #243f3c, #15192b);
}

.project-preview span {
  color: var(--yellow);
}

.project h3 {
  font-size: 17px;
}

.contact-section {
  text-align: center;
  padding: 85px 20px;
  background: radial-gradient(ellipse at center, #1b2944 0%, var(--bg) 72%);
}

.contact-section > p {
  margin: 0 auto 15px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 7%;
  border-top: 1px solid var(--border);
}

footer p,
footer > a:last-child {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    padding: 65px 6%;
    gap: 25px;
  }

  .navbar {
    padding-inline: 5%;
  }

  .navbar nav {
    gap: 13px;
  }

  .service-grid,
  .portfolio-grid {
    gap: 12px;
  }

  .section {
    padding: 65px 6%;
  }
}

@media (max-width: 650px) {
  .navbar {
    flex-wrap: wrap;
  }

  .menu-btn {
    display: block;
    margin-right: auto;
  }

  .nav-cta {
    display: none;
  }

  .navbar nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
  }

  .navbar nav.open {
    display: flex;
  }

  .navbar nav a {
    padding: 9px 0;
    border-top: 1px solid var(--border);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
    gap: 25px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero-art {
    max-width: 420px;
    width: 100%;
    margin: auto;
  }

  .design-card {
    min-height: 330px;
  }

  .stats {
    gap: 22px;
  }

  .service-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 6%;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}