:root {
  --bg-dark: #050816;
  --bg-light: #0f172a;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --card-bg: #111827;
  --border-soft: #1f2937;
  --danger: #ef4444;
  --success: #22c55e;

  /* Page-specific accents */
  --eng-accent: #e5e7eb;     /* Engineering = white */
  --foot-accent: #e5e7eb;    /* Football analytics = white */

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at top, #1e293b 0, #020617 55%);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 8%;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.2s ease;
}

.navbar a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* HERO */

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 4rem 8%;
}

.hero-content {
  max-width: 640px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* BUTTONS */

.primary-btn {
  display: inline-block;
  background: var(--accent);
  color: #0b1120;
  padding: 0.55rem 1.25rem;   /* smaller buttons */
  margin-top: 0.75rem;        /* small gap under text */
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;          /* slightly smaller text */
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3); /* scaled shadow */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(56, 189, 248, 0.4);
}



/* Smaller buttons + spacing */
.primary-btn {
  padding: 0.55rem 1.25rem;   /* smaller height + width */
  margin-top: 0.75rem;        /* small gap under text */
  font-size: 0.9rem;          /* slightly smaller text */
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3); /* proportionally smaller shadow */
}

.primary-btn:hover {
  box-shadow: 0 12px 26px rgba(56, 189, 248, 0.4);
}


/* PAGE HEADERS (Engineering / Football pages) */

.page-header {
  padding: 4rem 8% 2rem;
  text-align: left;
}

.page-header h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  max-width: 720px;
  color: var(--text-muted);
}

/* Accent variations */
.page-engineering h1 {
  color: var(--eng-accent);
}

.page-football h1 {
  color: var(--foot-accent);
}

/* SECTIONS */

.section {
  padding: 3rem 8%;
}

.section-alt {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.6)
  );
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.section p {
  max-width: 720px;
  color: var(--text-muted);
}

/* CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
  transition: 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.8);
  border-color: var(--accent-soft);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* TAGS */

.tag {
  display: inline-block;
  margin-top: 0.75rem;
  margin-right: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--accent-soft);
  color: var(--accent);
}

/* CONTACT FORM */

.contact-form {
  margin-top: 1.5rem;
  max-width: 520px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border-soft);
  background: #020617;
  color: var(--text-main);
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  min-height: 1.2em;
}

/* FOOTER */

.footer {
  padding: 1.5rem 8%;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: center;      /* center the text */
  align-items: center;
  position: relative;           /* allows right positioning */
}

.footer-link {
  position: absolute;
  right: 0;                     /* push LinkedIn link to the right */
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  color: var(--text-main);
}

.footer .linkedin-icon {
  width: 20px;
  height: 20px;
}


/* RESPONSIVE */

@media (max-width: 768px) {
  .hero {
    padding-top: 5rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .navbar ul {
    gap: 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}
/* Make service columns clickable */
.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}
.football-column {
  margin-bottom: 1.5rem;
}
/*Linkedin Info*/
.social-links {
  margin-bottom: 1.5rem;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.linkedin-link:hover {
  color: var(--text-main);
}

.linkedin-icon {
  width: 22px;
  height: 22px;
}
