:root {
  --bg: #050816;
  --bg-alt: #0b1120;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.18);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --card-bg: #020617;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.75);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

/* Layout */

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: 2.0rem 0;
}

/*.section-alt {
  background: radial-gradient(circle at top, #020617 0, #020617 35%, #020617 100%);
}*/

.section-tight {
  margin-top: 3rem;
}

h1, h2, h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.1rem, 1.7rem + 1.6vw, 2.6rem);
}

h2 {
  font-size: clamp(1.9rem, 1.35rem + 1.3vw, 2.25rem);
}

.page-intro,
.section-intro {
  max-width: 680px;
  color: var(--muted);
  margin-bottom: 2rem;
}

.page-intro {
  margin-top: 0.4rem;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.75), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.brand-mark {
  width: 54px;
  height: 75px;

  /* 🔥 Use your background image */
  background-image: url("1w_logo.png");
  background-size: contain;      /* ensures full logo visibility */
  background-repeat: no-repeat;  /* no tiling */
  background-position: center;   /* centered logo */


  /* Optional: remove gradient if you only want the PNG */
  /* background: none; */

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
  font-size: 1.1rem;
  color: #020617;
  
  box-shadow: 
    0 0 0 1px rgba(15, 23, 42, 0.6),
    0 8px 18px rgba(15, 23, 42, 0.8);
}
.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 0.1rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #38bdf8, #4f46e5);
  transition: width 0.18s ease-out;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 70%;
}

.nav a.active {
  color: var(--text);
}

.nav a.active::after {
  width: 70%;
}

/* Hero (home) */

.hero-home {
  padding: 4rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr);
  align-items: center;
  gap: 3rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 1.6rem + 2.2vw, 3rem);
  margin-bottom: 1.1rem;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
              background 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9, #6366f1);
  color: #020617;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.9);
  margin-right: 0.75rem;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.9);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(248, 250, 252, 0.7);
}

.btn-full {
  width: 100%;
}

/* Grid helpers */

.grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.home-intro-grid {
  margin-top: 1.0rem;
}

/* Bullet list */

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(120deg, #22d3ee, #38bdf8, #6366f1);
}

/* Text link */

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.96rem;
}

.text-link:hover {
  text-decoration: underline;
}

.more-link-wrap {
  margin-top: 2rem;
}

/* Cards */

.card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 50%),
              radial-gradient(circle at bottom right, rgba(79, 70, 229, 0.22), transparent 55%);
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.card h2,
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.card ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(120deg, #22d3ee, #38bdf8, #6366f1);
}

.card-compact {
  padding: 1.35rem 1.15rem;
}

/* Portfolio layout */

.portfolio-grid {
  margin-top: 2rem;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-page {
  padding-top: 1rem;
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45);
  background: rgba(15, 23, 42, 0.95);
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.5rem 0 2.25rem;
  margin-top: 1rem;
/*  background: radial-gradient(circle at top, #020617 0, #020617 55%, #000 100%);*/
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-note {
  opacity: 0.85;
}

/* Responsive tweaks */

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .nav {
    font-size: 0.9rem;
    gap: 1.1rem;
  }
  .hero-home {
    padding-top: 3rem;
  }
}

@media (max-width: 768px) {
  .two-col,
  .three-col,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .section {
    padding: 3.25rem 0;
  }
  .card {
    padding: 1.35rem 1.15rem;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 2.1rem, 640px);
  }
  .header-inner {
    padding: 0.65rem 0;
  }
  .brand-name {
    font-size: 0.95rem;
  }
  .brand-tagline {
    display: none;
  }
  .hero-home {
    padding-top: 2.4rem;
  }
  .btn-primary {
    width: 100%;
    justify-content: center;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}


/* === 1stwebs Teal / Emerald + Glassmorphism Theme Overrides === */

:root {
  --bg: #021a1b;
  --bg-alt: #032325;

  /* Teal / emerald accent */
  --accent: #34d399;
  --accent-soft: rgba(52, 211, 153, 0.22);

  --text: #e8fdf7;
  --muted: #9fd4c2;

  /* Glassy card base */
  --card-bg: rgba(3, 24, 26, 0.75);
  --border-subtle: rgba(148, 226, 200, 0.35);

  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 22px 45px rgba(0, 0, 0, 0.6);
  --shadow-subtle: 0 12px 30px rgba(0, 0, 0, 0.5);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", sans-serif;

  /* Teal + charcoal background */
  background:
    radial-gradient(circle at top, #064e3b 0, #021a1b 45%, #000000 100%);
  color: var(--text);
  line-height: 1.6;
}

/* Header glass effect */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    to bottom,
    rgba(2, 34, 34, 0.92),
    rgba(2, 34, 34, 0.72),
    transparent
  );
  border-bottom: 1px solid rgba(148, 226, 200, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

/* Brand mark glow + logo */
.brand-mark {
  width: 36px;
  height: 50px;

  background-image: url("1w_logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
  font-size: 1.1rem;
  color: #020617;

/*  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.6),
    0 0 26px rgba(52, 211, 153, 0.6);*/
}

/* Nav underline in emerald */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #34d399, #5eead4);
  transition: width 0.18s ease-out;
}

/* Frosted glass cards */
.card {
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.24), transparent 60%);
  background-color: rgba(3, 24, 26, 0.72);

  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(148, 226, 200, 0.45);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px);
}

/* Contact form glass panel */
.contact-form {
  background: linear-gradient(
    135deg,
    rgba(6, 95, 70, 0.9),
    rgba(5, 46, 46, 0.88)
  );
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 226, 200, 0.55);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(22px);
}

/* Emerald primary button */
.btn-primary {
  background: linear-gradient(135deg, #22c55e, #34d399, #5eead4);
  color: #01211f;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.9);
  margin-right: 0.75rem;
}
