:root {
  --teal-accent: #0f766e;
  --slate-secondary: #505a5f;
  --cloud-bg: #f3f2f1;
  --navy-headings: #0b2447;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--cloud-bg);
  color: var(--slate-secondary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  color: #1d70b8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#sideNav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 250px !important;
  height: 100% !important;
  background: linear-gradient(180deg, var(--navy-headings) 0%, #0a1f3d 100%) !important;
  color: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 1.5rem 1rem !important;
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.15) !important;
  z-index: 1030 !important;
}

#sideNav ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  text-align: center !important;
}

#sideNav li {
  margin: .75rem 0 !important;
}

#sideNav a {
  color: #fff !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
}

#sideNav a:hover {
  color: var(--cloud-bg) !important;
  text-decoration: none !important;
}

body > .container {
  margin-left: 260px !important;
  padding: 2rem 3rem !important;
  max-width: calc(100% - 280px) !important;
  width: auto !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1 !important;
}

@media (min-width: 576px) {
  body > .container {
    max-width: calc(100% - 280px) !important;
  }
}

@media (min-width: 768px) {
  body > .container {
    max-width: calc(100% - 280px) !important;
  }
}

@media (min-width: 992px) {
  body > .container {
    max-width: calc(100% - 280px) !important;
  }
}

@media (min-width: 1200px) {
  body > .container {
    max-width: calc(100% - 280px) !important;
  }
}

@media (min-width: 1400px) {
  body > .container {
    max-width: calc(100% - 280px) !important;
  }
}

header.hero {
  margin-bottom: 3rem;
  padding-top: 1rem;
}

header.hero h1 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 4rem;
  color: var(--navy-headings);
  letter-spacing: 1.5px;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

header.hero h2 {
  color: var(--navy-headings);
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

header.hero .subheading {
  color: var(--slate-secondary);
  margin-top: 0.5rem;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.social-inline a {
  margin-left: 0.5rem;
  color: var(--teal-accent);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.social-inline a:hover {
  transform: scale(1.15);
  color: var(--navy-headings);
}

section {
  margin-bottom: 3rem;
}

h2, h3 {
  font-weight: 600;
  color: var(--teal-accent);
}

ul {
  margin-left: 1.5rem;
}

li {
  margin: 0.3rem 0;
}

hr {
  border: none;
  border-top: 1px solid #d8dde0;
  margin: 2rem 0;
}

.project-card {
  background: var(--cloud-bg);
  border: 1px solid #d8dde0;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.project-card:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.card-title {
  color: var(--teal-accent);
  font-weight: 600;
}

.card-text {
  color: #1f2a33;
}

.card-text strong {
  color: #1f2a33;
  font-weight: 600;
}

.project-card p {
  color: #1f2a33;
}

.btn-alyzande {
  border: 1px solid var(--teal-accent);
  color: #fff;
  background-color: var(--teal-accent);
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-alyzande:hover {
  background-color: var(--navy-headings);
  border-color: var(--navy-headings);
  color: #fff;
}

@media (max-width: 992px) {
  #sideNav {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    background: linear-gradient(90deg, var(--navy-headings) 0%, #0a1f3d 100%) !important;
    box-shadow: none !important;
  }
  
  body > .container {
    margin: 0 !important;
    padding: 1.5rem !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .project-card {
    margin: 1rem 0;
  }
  
  header.hero h1 {
    font-size: 2.6rem;
  }
}