/* AAQSOLS — Clean professional theme (brand blue, white, no black) */

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #DBEAFE;
  --navy: #1E3A5F;
  --text: #334155;
  --muted: #64748B;
  --bg: #FFFFFF;
  --bg-soft: #F1F5F9;
  --bg-blue: #EFF6FF;
  --border: #E2E8F0;
  --shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 20px 50px rgba(37, 99, 235, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --wrap: 1140px;
  --header: 80px;
  --logo-h: 56px;
  --logo-max-w: 200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; cursor: pointer; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; top: -80px; left: 16px; z-index: 999;
  padding: 10px 16px; background: var(--blue); color: #fff;
  font-weight: 600; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(calc(100% - 32px), var(--wrap));
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-style: normal;
  color: var(--navy);
  line-height: 1.25;
}

.tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.tag-light {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.text-blue { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover { background: var(--blue-dark); }

.btn-secondary {
  background: var(--bg);
  color: var(--navy);
  border: 2px solid var(--border);
}

.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

.btn-white {
  background: #fff;
  color: var(--blue-dark);
  font-weight: 700;
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-block { width: 100%; margin-top: 16px; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header);
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.header-row {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  max-width: min(var(--logo-max-w), 42vw);
}

.brand img {
  height: var(--logo-h);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav a:not(.btn):hover {
  color: var(--blue);
  background: var(--bg-blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header) + 48px) 0 64px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-blue) 0%, var(--bg) 100%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-blob-a {
  width: 400px; height: 400px;
  background: rgba(37, 99, 235, 0.15);
  top: -100px; right: -80px;
}

.hero-blob-b {
  width: 300px; height: 300px;
  background: rgba(14, 165, 233, 0.12);
  bottom: 0; left: -60px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  list-style: none;
  display: flex;
  gap: 32px;
}

.hero-stats strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue);
}

.hero-stats span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-photo-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow);
}

.hero-photo-badge svg { color: var(--blue); }

/* Logos bar */
.logos-bar {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.logos-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.logo-pill {
  padding: 10px 20px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

/* Sections */
.section { padding: 88px 0; }

.section-soft { background: var(--bg-soft); }

.section-title {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title p { color: var(--muted); }

/* Projects */
.project.featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.project-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
}

.project-visual.sm { min-height: 180px; }

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.28), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.12), transparent 40%);
}

.project-visual svg {
  position: relative;
  width: 72px;
  height: 72px;
  color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
  transition: transform 0.35s ease;
}

.project-visual.sm svg {
  width: 56px;
  height: 56px;
}

.project:hover .project-visual svg { transform: scale(1.06); }

.project-visual--medipro {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 55%, #1d4ed8 100%);
}

.project-visual--travel {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 60%, #0369a1 100%);
}

.project-visual--hospital {
  background: linear-gradient(135deg, #34d399 0%, #059669 55%, #047857 100%);
}

.project-visual--auto {
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 55%, #c2410c 100%);
}

.project-visual--banking {
  background: linear-gradient(135deg, #64748b 0%, #334155 55%, #1e293b 100%);
}

.chip {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--blue);
  color: #fff;
}

.project-info { padding: 32px; }

.project-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.project-info ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.project-info li {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.project-info li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.project.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project.card .project-info { padding: 22px; }

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service {
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.2s, border-color 0.2s;
}

.service:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.service-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 18px;
}

.service h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-images { position: relative; }

.about-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-sub {
  position: absolute;
  bottom: -20px; right: -16px;
  width: 55%;
  border-radius: var(--radius);
  border: 4px solid var(--bg);
  box-shadow: var(--shadow);
  aspect-ratio: 16/10;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.checks {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.checks li {
  padding-left: 28px;
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

/* Contact */
.section-contact { padding-bottom: 88px; }

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, #0EA5E9 100%);
  box-shadow: var(--shadow-lg);
}

.contact-copy {
  padding: 48px 40px;
  color: #fff;
}

.contact-copy h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 12px;
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.contact-items { display: grid; gap: 20px; }

.contact-item strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4px;
}

.contact-item a {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-item a:hover { text-decoration: underline; }

.contact-item span { color: rgba(255, 255, 255, 0.9); font-size: 0.92rem; }

.contact-action {
  position: relative;
  min-height: 320px;
}

.contact-action img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.contact-action .btn {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
}

/* Footer */
.footer {
  padding: 56px 0 24px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  height: var(--logo-h);
  width: auto;
  max-width: min(var(--logo-max-w), 55vw);
  object-fit: contain;
  margin-bottom: 14px;
}

.footer-grid p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-grid h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-grid a {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer-grid a:hover { color: var(--blue); }

.footer-copy {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  :root {
    --header: 74px;
    --logo-h: 48px;
    --logo-max-w: 170px;
  }

  .hero-grid,
  .about-grid,
  .contact-box,
  .project.featured { grid-template-columns: 1fr; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }

  .about-sub {
    position: relative;
    bottom: auto; right: auto;
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --header: 68px;
    --logo-h: 42px;
    --logo-max-w: 150px;
  }

  .hero {
    padding: calc(var(--header) + 24px) 0 40px;
  }

  .hero-photo { display: none; }

  .hero-text h1 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .lead {
    font-size: 1rem;
    max-width: none;
  }

  .hero-stats {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero-stats strong { font-size: 1.5rem; }

  .brand { max-width: calc(100% - 48px); }

  .nav-toggle { display: flex; }

  .nav {
    display: none;
    position: fixed;
    top: calc(var(--header) + 8px);
    left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 110;
  }

  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; }
  .nav .btn { text-align: center; margin-top: 4px; }
  body.menu-open { overflow: hidden; }

  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .section { padding: 64px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-copy { padding: 32px 24px; }
}

@media (max-width: 480px) {
  :root {
    --header: 64px;
    --logo-h: 38px;
    --logo-max-w: 130px;
  }

  .brand { max-width: calc(100% - 44px); }
}

@media (min-width: 1200px) {
  :root {
    --header: 86px;
    --logo-h: 60px;
    --logo-max-w: 220px;
  }
}

/* Portfolio page (client-facing live projects) */
.portfolio-page { background: var(--bg); }

.portfolio-hero {
  padding: calc(var(--header) + 48px) 0 32px;
  background: linear-gradient(180deg, var(--bg-blue) 0%, var(--bg) 100%);
  text-align: center;
}

.portfolio-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: 720px;
  margin: 0 auto 16px;
}

.portfolio-hero .lead {
  max-width: 620px;
  margin: 0 auto 28px;
}

.portfolio-hero .hero-stats {
  justify-content: center;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.portfolio-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card-top {
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.portfolio-card-top--ecom { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.portfolio-card-top--gaming { background: linear-gradient(135deg, #E0E7FF, #C7D2FE); }
.portfolio-card-top--tech { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); }
.portfolio-card-top--furniture { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.portfolio-card-top--travel { background: linear-gradient(135deg, #CCFBF1, #99F6E4); }
.portfolio-card-top--auto { background: linear-gradient(135deg, #FEE2E2, #FECACA); }
.portfolio-card-top--lifestyle { background: linear-gradient(135deg, #F3E8FF, #E9D5FF); }

.portfolio-card-body {
  padding: 24px;
}

.portfolio-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.portfolio-card-body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.portfolio-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--navy);
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
}

.portfolio-link:hover { color: var(--blue-dark); }

.portfolio-cta .contact-box {
  display: block;
  text-align: center;
  padding: 48px 32px;
}

.portfolio-cta h2 { color: #fff; margin-bottom: 12px; }
.portfolio-cta p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }

.portfolio-banner {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-blue);
  border: 1px solid var(--blue-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.portfolio-banner h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.portfolio-banner p {
  color: var(--muted);
  max-width: 520px;
}

.nav a.active {
  color: var(--blue);
  font-weight: 600;
}

@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-banner { flex-direction: column; align-items: flex-start; }
  .portfolio-banner .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .project:hover, .service:hover, .project:hover .project-visual svg { transform: none; }
}
