:root {
  --bg: #0f172a;
  --card: #111827;
  --card-light: #1e293b;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #22c55e;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top left, #1e3a8a 0, transparent 35%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.site-container, .content-shell {
  width: min(1120px, 92%);
  margin-left: auto;
  margin-right: auto;
}
.has-sticky-header .site-header {
  position: sticky;
  top: 0;
}
.site-header {
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 24px;
}
.site-logo-text, .custom-logo-link {
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.site-logo-text span { color: var(--accent); }
.custom-logo { max-height: 54px; width: auto; }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.nav-links li { position: relative; }
.nav-links a { display: block; padding: 8px 0; }
.nav-links a:hover, .nav-links .current-menu-item > a { color: var(--accent); }
.nav-links .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: rgba(17, 24, 39, 0.98);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.nav-links li:hover > .sub-menu { display: block; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 8px; cursor: pointer; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; margin: 4px; background: var(--text); }
.site-main { padding: 64px 0; }
.content-card {
  background: rgba(17, 24, 39, 0.62);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 48px);
  min-height: 420px;
}
.entry-title { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; margin: 0 0 22px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
/* Elementor should control the body content. These classes only provide the same visual language from your HTML template. */
.entry-content .hero, .elementor .hero { padding: 96px 0 72px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: center; }
.entry-content .badge, .elementor .badge { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--accent); background: rgba(56, 189, 248, 0.08); margin-bottom: 20px; font-size: 0.9rem; }
.entry-content h1, .elementor h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.05; }
.entry-content h1 span, .elementor h1 span { color: var(--accent); }
.entry-content p, .elementor p { color: var(--muted); }
.btn, .elementor .btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 12px; border: 1px solid var(--border); font-weight: 700; transition: transform 0.2s ease, background 0.2s ease; }
.btn:hover, .elementor .btn:hover { transform: translateY(-2px); }
.btn-primary, .elementor .btn-primary { background: linear-gradient(135deg, var(--accent), #2563eb); color: white; border: none; }
.btn-secondary, .elementor .btn-secondary { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.profile-card, .project-card, .info-card { background: rgba(17, 24, 39, 0.82); border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.site-main-full { padding: 0; }
.elementor-full-content { margin: 0; }
.site-footer {
  padding: 28px 0;
  color: var(--muted);
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-bottom: 22px; text-align: left; }
.footer-widget { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 18px; padding: 18px; }
.footer-widget-title { color: var(--text); margin: 0 0 10px; font-size: 1.1rem; }
.footer-menu { list-style: none; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 0 0 18px; padding: 0; }
.footer-menu a:hover { color: var(--accent); }
.footer-copy { margin: 0; }
.screen-reader-text { position: absolute; left: -9999px; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 4%; right: 4%; top: 78px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(17, 24, 39, 0.98); border: 1px solid var(--border); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links .sub-menu { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding-left: 16px; }
  .entry-content .hero, .elementor .hero { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .site-main { padding: 36px 0; }
  .content-card { border-radius: 20px; }
  .btn, .elementor .btn { width: 100%; }
}
