* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: dark;
  --bg: #1e2230;
  --surface: #2b3041;
  --surface-strong: #32384c;
  --surface-alt: #242939;
  --text: #f3f4f6;
  --muted: #b4b8c5;
  --primary: #f4b436;
  --primary-strong: #e39a12;
  --border: rgba(255, 255, 255, 0.08);
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    700px circle at var(--spotlight-x, 50%) var(--spotlight-y, 30%),
    rgba(244, 180, 54, 0.12),
    transparent 65%
  );
  opacity: 0.7;
  z-index: 0;
}

main,
header,
footer,
.scroll-progress,
.bg-orb {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header .container {
  width: 100%;
  max-width: none;
  padding: 0 3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: transparent;
  backdrop-filter: blur(0);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  padding-top: 0.6rem;
}

.site-header.scrolled {
  box-shadow: 0 16px 32px rgba(15, 18, 26, 0.45);
  border-color: rgba(244, 180, 54, 0.2);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  gap: 1.5rem;
}

.header-bar {
  gap: 2rem;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.nav-pill {
  background: rgba(20, 22, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 28px rgba(10, 12, 20, 0.35);
  flex: 1;
  justify-content: center;
  gap: 1.25rem;
  min-width: 0;
  max-width: 720px;
  margin: 0 auto;
}

.nav-pill a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header-cta {
  padding: 0.65rem 1.6rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a.active {
  color: var(--primary);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  display: block;
}

.hero {
  padding: 5.5rem 0 4.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
  position: relative;
}

.hero-text,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-text::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: min(55vw, 640px);
  height: min(70vh, 640px);
  background: url("Aze pfp 2 - Edited.png") center/cover no-repeat;
  opacity: 0.28;
  filter: saturate(1.05) contrast(1.05);
  mix-blend-mode: screen;
  z-index: -1;
  pointer-events: none;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  margin-bottom: 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.hero-tags span {
  background: rgba(244, 180, 54, 0.12);
  color: var(--primary);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(244, 180, 54, 0.25);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: var(--primary);
  color: #1e1c15;
  border-color: var(--primary);
}

.btn.primary:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(244, 180, 54, 0.35);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: rgba(244, 180, 54, 0.6);
  transform: translateY(-2px);
}

.hero-card {
  background: rgba(43, 48, 65, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.5rem;
}

.profile {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.profile-image {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: url("Aze pfp 2 - Edited.png") center/cover no-repeat;
  border: 4px solid rgba(244, 180, 54, 0.35);
  box-shadow: 0 12px 24px rgba(20, 22, 30, 0.35);
}

.overline {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.hero-mini-grid {
  display: grid;
  gap: 1rem;
}

.mini-card {
  background: rgba(50, 56, 76, 0.7);
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.mini-card h4 {
  margin-bottom: 0.35rem;
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: var(--surface-alt);
}

.section-heading {
  margin-bottom: 2rem;
}

.section h2 {
  font-size: 2rem;
}

.service-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cards {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: rgba(43, 48, 65, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  padding: 1.75rem;
  display: grid;
  gap: 0.8rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.highlight {
  background: linear-gradient(135deg, rgba(244, 180, 54, 0.9), rgba(244, 180, 54, 0.7));
  color: #1e1c15;
  border-color: rgba(244, 180, 54, 0.6);
}

.highlight .meta {
  color: rgba(30, 28, 21, 0.7);
}

.text-link {
  color: var(--primary);
  font-weight: 600;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.quote-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-certs {
  margin-top: 1rem;
  margin-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.stats-grid {
  display: grid;
  gap: 1.2rem;
}

.stat-card {
  background: rgba(50, 56, 76, 0.72);
}

.project-grid .project-card {
  min-height: 320px;
}

.timeline {
  display: grid;
  gap: 2rem;
}

.timeline article {
  background: rgba(43, 48, 65, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline ul,
.card ul {
  margin-top: 1rem;
  margin-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.contact-section {
  background: radial-gradient(
      circle at top,
      rgba(255, 255, 255, 0.06),
      transparent 45%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 52px,
      transparent 52px,
      transparent 104px
    );
}

.contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-layout {
  display: grid;
  gap: 2rem;
}

.contact-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-card {
  background: rgba(43, 48, 65, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.5rem;
  backdrop-filter: blur(18px);
  display: grid;
  gap: 0.75rem;
}

.info-card .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.info-card .value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.social-row {
  display: flex;
  gap: 0.75rem;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
}

.map-card {
  background: rgba(43, 48, 65, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  min-height: 320px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(1) brightness(0.85);
}

.card:hover,
.timeline article:hover,
.contact-panel:hover,
.hero-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 180, 54, 0.35);
  box-shadow: 0 18px 30px rgba(20, 22, 30, 0.45);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--muted);
}

.footer-title {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-text {
  color: var(--muted);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--muted);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #f59e0b);
  z-index: 20;
  box-shadow: 0 0 12px rgba(244, 180, 54, 0.6);
}

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(20, 22, 32, 0.85);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  z-index: 30;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: rgba(244, 180, 54, 0.6);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  opacity: 0.35;
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
  animation: float 16s ease-in-out infinite;
}

.orb-1 {
  width: 320px;
  height: 320px;
  left: -80px;
  top: 120px;
  background: radial-gradient(circle, rgba(244, 180, 54, 0.55), transparent 60%);
}

.orb-2 {
  width: 360px;
  height: 360px;
  right: -140px;
  top: 540px;
  background: radial-gradient(circle, rgba(92, 104, 146, 0.55), transparent 60%);
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-text::before {
    right: -20px;
    top: -40px;
    width: min(80vw, 520px);
    height: 380px;
    opacity: 0.2;
  }
  .site-nav {
    position: absolute;
    top: 70px;
    right: 4%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    flex-direction: column;
    padding: 1rem;
    min-width: 180px;
    display: none;
  }

  .nav-pill {
    position: absolute;
    top: 72px;
    right: 4%;
    left: 4%;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 18px;
  }

  .header-cta {
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 1080px) {
  .nav-pill {
    flex: 0 1 auto;
  }
}
