/* ===================== ROOT – LIGHT (Purple Gradient — default) ===================== */
:root {
  --p900: #1a0540;
  --p800: #2d0e6e;
  --p700: #3d1a8f;
  --p600: #5025b8;
  --p500: #6a3fc7;
  --p400: #8a65d9;
  --p300: #b09ae8;
  --p200: #d8ccf5;
  --p100: #f0ebff;
  --p50: #faf8ff;
  --gold: #c9a84c;
  --gold-light: #e8c96b;
  --mint: #b5e0d0;
  --white: #ffffff;
}

/* ===================== ROOT – DARK ===================== */
[data-theme="dark"] {
  --p900: #f4f1ec;
  --p800: #d8d0f0;
  --p700: #b09ae8;
  --p600: #8a65d9;
  --p500: #c9a84c;
  --p400: #e8c96b;
  --p300: rgba(201, 168, 76, 0.5);
  --p200: rgba(201, 168, 76, 0.18);
  --p100: rgba(201, 168, 76, 0.1);
  --p50: #181818;
  --gold: #c9a84c;
  --gold-light: #e8c96b;
  --mint: rgba(201, 168, 76, 0.35);
  --white: #f4f1ec;

  /* form panel */
  --form-bg: #181818;
  --input-bg: #1f1f1f;
  --input-border: rgba(201, 168, 76, 0.18);
  --input-focus-border: #c9a84c;
  --label-color: #d8d0f0;
  --chip-bg: #1f1f1f;
  --chip-border: rgba(201, 168, 76, 0.18);
  --chip-color: rgba(244, 241, 236, 0.55);
  --chip-active-bg: rgba(201, 168, 76, 0.15);
  --chip-active-border: #c9a84c;
  --chip-active-color: #e8c96b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ===================== BODY ===================== */
body {
  font-family: "Tajawal", sans-serif;
  color: var(--p900);
  overflow-x: hidden;
  min-height: 100vh;
  transition:
    background 0.45s ease,
    color 0.45s ease;
}

/* LIGHT: radial-gradient background */
body {
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, #d8c8ff 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 100% 0%, #c9b6f8 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 60%, #ddd5ff 0%, transparent 60%),
    radial-gradient(ellipse 80% 70% at 100% 100%, #c2aff5 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, #d4caff 0%, transparent 50%),
    #ede6ff;
  background-attachment: fixed;
}

/* DARK: solid dark background */
[data-theme="dark"] body {
  background: #0a0a0a;
  color: var(--p900);
}

/* dot-grid overlay — light only */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(106, 63, 199, 0.28) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    black 30%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    black 30%,
    transparent 100%
  );
  opacity: 0.45;
  transition: opacity 0.45s;
}
[data-theme="dark"] body::before {
  background-image: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.12) 1px,
    transparent 1px
  );
  opacity: 0.25;
}

/* ===================== THEME TOGGLE ===================== */
.theme-toggle {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--p500);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 6px 28px rgba(106, 63, 199, 0.45);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.theme-toggle:hover {
  transform: scale(1.12) rotate(15deg);
  box-shadow: 0 10px 40px rgba(106, 63, 199, 0.55);
}
[data-theme="dark"] .theme-toggle {
  background: var(--gold);
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.45);
}
[data-theme="dark"] .theme-toggle:hover {
  box-shadow: 0 10px 40px rgba(201, 168, 76, 0.55);
}
.theme-toggle .icon-sun {
  display: none;
}
.theme-toggle .icon-moon {
  display: block;
}
[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}
[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}
/* in light mode show sun */
:root:not([data-theme="dark"]) .theme-toggle .icon-sun {
  display: block;
}
:root:not([data-theme="dark"]) .theme-toggle .icon-moon {
  display: none;
}

/* ===================== NAV ===================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition:
    background 0.45s,
    border-color 0.45s;
  background: rgba(237, 230, 255, 0.72);
  border-bottom: 1px solid rgba(106, 63, 199, 0.08);
}
[data-theme="dark"] nav {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: rgba(201, 168, 76, 0.12);
}

/* ── LOGO ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-shapes {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 34px;
}
.logo-bar-1 {
  width: 6px;
  height: 28px;
  background: var(--mint);
  border-radius: 10px;
}
.logo-bar-2 {
  width: 6px;
  height: 28px;
  background: var(--p500);
  border-radius: 10px;
}
.logo-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  align-self: flex-start;
}
.logo-text {
  font-size: 26px;
  font-weight: 900;
  color: var(--p700);
  letter-spacing: 1px;
}
[data-theme="dark"] .logo-text {
  color: var(--gold);
}
[data-theme="dark"] .logo-bar-2 {
  background: var(--gold);
}
[data-theme="dark"] .logo-bar-1 {
  background: rgba(201, 168, 76, 0.35);
}

/* ── NAV LINKS ── */
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin-right: 40px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(26, 5, 64, 0.6);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--p500);
  border-radius: 2px;
  transition: width 0.3s;
}
.nav-links a:hover {
  color: var(--p600);
}
.nav-links a:hover::after {
  width: 100%;
}
[data-theme="dark"] .nav-links a {
  color: rgba(244, 241, 236, 0.6);
}
[data-theme="dark"] .nav-links a::after {
  background: var(--gold);
}
[data-theme="dark"] .nav-links a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid rgba(106, 63, 199, 0.25);
  background: rgba(106, 63, 199, 0.06);
  cursor: pointer;
  color: var(--p600);
  font-size: 18px;
  transition: all 0.3s;
}
.nav-toggle:hover {
  background: rgba(106, 63, 199, 0.12);
  border-color: var(--p400);
}
[data-theme="dark"] .nav-toggle {
  border-color: rgba(201, 168, 76, 0.25);
  background: rgba(201, 168, 76, 0.06);
  color: var(--gold);
}

/* ── HERO STRIP ── */
.page-hero {
  padding-top: 140px;
  padding-bottom: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(106, 63, 199, 0.08);
  border: 1px solid rgba(106, 63, 199, 0.18);
  color: var(--p600);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.page-hero .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--p500);
  border-radius: 50%;
  animation: blink 2s infinite;
}
[data-theme="dark"] .page-hero .eyebrow {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.25);
  color: var(--gold);
}
[data-theme="dark"] .page-hero .eyebrow::before {
  background: var(--gold);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: var(--p900);
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--p500), var(--p300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .page-hero h1 em {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
}
.page-hero p {
  font-size: 17px;
  color: rgba(26, 5, 64, 0.5);
  font-weight: 300;
}
[data-theme="dark"] .page-hero p {
  color: rgba(244, 241, 236, 0.5);
}

/* ── CONTACT WRAP ── */
.contact-wrap {
  position: relative;
  z-index: 1;
  padding: 60px 60px 120px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 2px 0 rgba(106, 63, 199, 0.08),
    0 40px 100px rgba(61, 26, 143, 0.15),
    0 0 0 1px rgba(106, 63, 199, 0.08);
  animation: riseUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
[data-theme="dark"] .contact-card {
  box-shadow:
    0 2px 0 rgba(201, 168, 76, 0.08),
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(201, 168, 76, 0.1);
}

/* ── INFO PANEL ── */
.info-panel {
  background: linear-gradient(
    160deg,
    var(--p600) 0%,
    var(--p800) 55%,
    var(--p900) 100%
  );
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .info-panel {
  background: linear-gradient(160deg, #2d1a6e 0%, #1a0f40 55%, #0d0820 100%);
  border-left: 1px solid rgba(201, 168, 76, 0.15);
}
.info-panel::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.info-panel::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.info-panel .grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.info-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.info-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 28px;
}
[data-theme="dark"] .info-tag {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.3);
  color: var(--gold);
}
.info-panel h2 {
  font-size: 32px;
  font-weight: 900;
  color: white;
  margin-bottom: 14px;
  line-height: 1.2;
}
.info-panel h2 span {
  color: var(--gold-light);
}
.info-panel > .info-content > p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 40px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-method-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 20px;
  text-decoration: none;
  transition: all 0.3s;
  color: white;
  cursor: pointer;
}
.contact-method-item:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-4px);
}
[data-theme="dark"] .contact-method-item {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.15);
}
[data-theme="dark"] .contact-method-item:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.3);
}
.method-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.method-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 3px;
}
.method-value {
  font-size: 14px;
  font-weight: 700;
  color: white;
}
.socials {
  margin-top: auto;
  padding-top: 36px;
  display: flex;
  gap: 12px;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s;
  cursor: pointer;
}
.social-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  transform: translateY(-3px);
}

/* ── FORM PANEL ── */
.form-panel {
  background: white;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  transition: background 0.45s;
}
[data-theme="dark"] .form-panel {
  background: #111111;
}
.form-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--p900);
  margin-bottom: 6px;
}
.form-sub {
  font-size: 14px;
  color: rgba(26, 5, 64, 0.45);
  font-weight: 400;
  margin-bottom: 40px;
}
[data-theme="dark"] .form-sub {
  color: rgba(244, 241, 236, 0.45);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-group.full {
  margin-bottom: 20px;
}

label {
  font-size: 13px;
  font-weight: 700;
  color: var(--p800);
  letter-spacing: 0.3px;
}
[data-theme="dark"] label {
  color: #d8d0f0;
}

input,
textarea {
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(106, 63, 199, 0.12);
  background: var(--p50);
  color: var(--p900);
  outline: none;
  transition: all 0.3s;
  width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: rgba(106, 63, 199, 0.3);
}
input:focus,
textarea:focus {
  border-color: var(--p400);
  background: white;
  box-shadow: 0 0 0 4px rgba(106, 63, 199, 0.07);
}
[data-theme="dark"] input,
[data-theme="dark"] textarea {
  background: #1f1f1f;
  border-color: rgba(201, 168, 76, 0.18);
  color: #f4f1ec;
}
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: rgba(201, 168, 76, 0.3);
}
[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus {
  border-color: var(--gold);
  background: #252525;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.07);
}
textarea {
  resize: none;
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.chip {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid rgba(106, 63, 199, 0.15);
  background: var(--p50);
  color: rgba(26, 5, 64, 0.5);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: "Tajawal", sans-serif;
}
.chip:hover,
.chip.active {
  background: var(--p100);
  border-color: var(--p400);
  color: var(--p600);
}
.chip.active {
  background: linear-gradient(135deg, var(--p100), var(--p200));
  border-color: var(--p500);
  color: var(--p700);
  font-weight: 700;
}
[data-theme="dark"] .chip {
  background: #1f1f1f;
  border-color: rgba(201, 168, 76, 0.18);
  color: rgba(244, 241, 236, 0.55);
}
[data-theme="dark"] .chip:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.35);
  color: var(--gold);
}
[data-theme="dark"] .chip.active {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  color: var(--gold-light);
  font-weight: 700;
}

.chips-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--p800);
  margin-bottom: 12px;
  display: block;
}
[data-theme="dark"] .chips-label {
  color: #d8d0f0;
}

.submit-btn {
  margin-top: 8px;
  width: 100%;
  padding: 17px;
  background: linear-gradient(135deg, var(--p500) 0%, var(--p800) 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-family: "Tajawal", sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .submit-btn {
  background: linear-gradient(135deg, var(--gold) 0%, #a07830 100%);
}
.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  transition: left 0.5s;
}
.submit-btn:hover::before {
  left: 100%;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(106, 63, 199, 0.4);
}
[data-theme="dark"] .submit-btn:hover {
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.3);
}
.submit-btn:active {
  transform: translateY(0);
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(106, 63, 199, 0.08);
  padding: 60px 60px 30px;
  transition:
    background 0.45s,
    border-color 0.45s;
  background: linear-gradient(180deg, transparent, rgba(45, 14, 110, 0.04));
}
[data-theme="dark"] footer {
  background: #0a0a0a;
  border-top-color: rgba(201, 168, 76, 0.12);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.footer-brand p {
  color: rgba(26, 5, 64, 0.5);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 300;
  margin-top: 20px;
  max-width: 280px;
}
[data-theme="dark"] .footer-brand p {
  color: rgba(244, 241, 236, 0.45);
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.f-social {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(106, 63, 199, 0.07);
  border: 1px solid rgba(106, 63, 199, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p600);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}
.f-social:hover {
  background: var(--p500);
  border-color: var(--p500);
  color: white;
  transform: translateY(-3px);
}
[data-theme="dark"] .f-social {
  background: rgba(201, 168, 76, 0.07);
  border-color: rgba(201, 168, 76, 0.12);
  color: var(--gold);
}
[data-theme="dark"] .f-social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
}

.footer-col h6 {
  font-size: 13px;
  font-weight: 800;
  color: var(--p800);
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
[data-theme="dark"] .footer-col h6 {
  color: var(--gold);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  text-decoration: none;
  color: rgba(26, 5, 64, 0.5);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  cursor: pointer;
}
.footer-links a:hover {
  color: var(--p600);
}
[data-theme="dark"] .footer-links a {
  color: rgba(244, 241, 236, 0.45);
}
[data-theme="dark"] .footer-links a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(26, 5, 64, 0.5);
  font-size: 14px;
  margin-bottom: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
}
.footer-contact-item:hover {
  color: var(--p600);
}
.footer-contact-item i {
  color: var(--p400);
}
[data-theme="dark"] .footer-contact-item {
  color: rgba(244, 241, 236, 0.45);
}
[data-theme="dark"] .footer-contact-item:hover {
  color: var(--gold);
}
[data-theme="dark"] .footer-contact-item i {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(106, 63, 199, 0.07);
  padding-top: 28px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(26, 5, 64, 0.35);
}
.footer-bottom span {
  color: var(--p500);
  font-weight: 700;
}
[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(201, 168, 76, 0.08);
}
[data-theme="dark"] .footer-bottom p {
  color: rgba(244, 241, 236, 0.3);
}
[data-theme="dark"] .footer-bottom span {
  color: var(--gold);
}

/* ===================== ANIMATIONS ===================== */
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
@keyframes riseUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  nav {
    padding: 15px 20px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    margin: 0;
    gap: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }
  [data-theme="dark"] .nav-links {
    background: #111111;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li a {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: block;
    text-align: center;
  }
  [data-theme="dark"] .nav-links li a {
    border-bottom-color: rgba(201, 168, 76, 0.1);
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-wrap {
    padding: 20px 20px 80px;
  }
  .form-panel {
    padding: 36px 24px;
  }
  .info-panel {
    padding: 40px 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  footer {
    padding: 50px 20px 24px;
  }
}
