/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050810;
  --bg-alt: #0b101c;
  --card: #111827;
  --accent: #22c55e; /* a nice green */
  --accent-soft: rgba(34, 197, 94, 0.1);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2933;
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --transition-fast: 0.18s ease-out;
  --max-width: 960px;
}

/* Global styles */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
}

.side-by-side {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;        /* aligns items vertically */
  gap: 2rem;                  /* spacing between image + text */
  margin: 2rem auto;          /* centers the whole block */
  max-width: 800px;           /* stops it from being too wide */
}

.text-box {
  max-width: 400px;
}

.rounded-img {
  border-radius: 12px;
}


/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.92), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.social-card-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  padding-top: 1rem;
}

.social-card {
  background: rgba(2,6,23,0.7);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 35px rgba(0,0,0,0.5);
  text-align: center;
}

.social-card a {
  color: #22c55e;
  text-decoration: none;
  font-weight: 600;
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #e5e5e5;
  font-size: 1rem;
  background: rgba(2, 6, 23, 0.6);
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.2s ease;
}

.social-link:hover {
  border-color: #22c55e;
  transform: translateX(4px);
}

.social-link img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.nav a:hover {
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
}

/* Hero section */
.hero {
  padding: 4rem 0 3rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.hero p {
  max-width: 32rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Button */
.btn-primary {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #022c22;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transform: translateY(0);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #16a34a;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 55%);
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Cards */
.card {
  background: linear-gradient(135deg, #020617, #020617 65%, #052e16);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transform: translateY(0);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  border-color: rgba(34, 197, 94, 0.5);
}

.card h3 {
  font-size: 1.05rem;
}

.card p {
  font-size: 0.92rem;
}

.meta {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Tags */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.tag-alt {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.4);
}

/* Contact list */
.contact-list {
  list-style: none;
  margin-top: 0.75rem;
}

.contact-list li + li {
  margin-top: 0.3rem;
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1rem 0 1.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}
