/* CSS Variables - Design System */
:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 15%, 20%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 15%, 20%);
  --primary: hsl(217, 91%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(220, 13%, 95%);
  --secondary-foreground: hsl(220, 15%, 20%);
  --muted: hsl(220, 13%, 95%);
  --muted-foreground: hsl(220, 10%, 50%);
  --border: hsl(220, 13%, 91%);
  --input: hsl(220, 13%, 91%);
  --ring: hsl(217, 91%, 60%);
  --radius: 0.5rem;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.bg-background {
  background-color: var(--background);
}

.min-h-screen {
  min-height: 100vh;
}

.text-foreground {
  color: var(--foreground);
}

.text-primary {
  color: var(--primary);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-secondary-bg {
  background-color: hsla(220, 13%, 95%, 0.3);
}

.bg-secondary-light {
  background-color: hsla(220, 13%, 95%, 0.5);
}

.bg-primary-light {
  background-color: hsla(217, 91%, 60%, 0.1);
}

.border-primary {
  border-color: var(--primary);
}

.border-b {
  border-bottom: 1px solid var(--border);
}

.bg-border {
  background-color: var(--border);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.nav-bg {
  background-color: hsl(220, 13%, 95%);
}

nav button,
nav a {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, opacity 0.2s;
}

nav button:hover,
nav a:hover {
  color: var(--primary);
}

.hidden {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
}

.btn-outline:hover {
  background-color: var(--secondary);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Cards */
.card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.border-l-4-primary {
  border-left: 4px solid var(--primary);
}

/* Icons */
.icon-sm {
  height: 1.25rem;
  width: 1.25rem;
}

.icon-md {
  height: 1.5rem;
  width: 1.5rem;
}

.icon-lg {
  height: 2rem;
  width: 2rem;
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: hsla(217, 91%, 60%, 0.1);
  display: flex;
  align-items: center;
  justify-center;
  flex-shrink: 0;
}

.cert-icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: hsla(217, 91%, 60%, 0.1);
  display: flex;
  align-items: center;
  justify-center;
}

.skill-icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: hsla(217, 91%, 60%, 0.1);
  display: flex;
  align-items: center;
  justify-center;
  flex-shrink: 0;
}

.contact-icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: hsla(217, 91%, 60%, 0.1);
  display: flex;
  align-items: center;
  justify-center;
  flex-shrink: 0;
}

/* Badges */
.skill-badge {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--secondary);
  color: var(--foreground);
  border-radius: 9999px;
}

.area-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: hsla(220, 13%, 95%, 0.5);
  transition: background-color 0.2s;
}

.area-badge:hover {
  background-color: var(--secondary);
}

/* Highlight Box */
.highlight-box {
  background-color: hsla(217, 91%, 60%, 0.05);
  border: 1px solid hsla(217, 91%, 60%, 0.2);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

/* Forms */
.input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 0.2s;
}

.input:focus {
  outline: none;
  ring: 2px;
  ring-color: var(--ring);
  ring-offset: 2px;
}

.input::placeholder {
  color: var(--muted-foreground);
}

textarea.input {
  resize: vertical;
}

/* Responsive Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Spacing */
.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

/* Flex */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-1 {
  flex: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

/* Text */
.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.625;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

/* Padding & Margin */
.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-1\.5 {
  margin-top: 0.375rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Width & Height */
.w-full {
  width: 100%;
}

.w-20 {
  width: 5rem;
}

.h-1 {
  height: 0.25rem;
}

.h-16 {
  height: 4rem;
}

.h-px {
  height: 1px;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

/* Positioning */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-50 {
  z-index: 50;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

/* Borders & Radius */
.rounded-md {
  border-radius: var(--radius);
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-r-lg {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.border-l-4 {
  border-left-width: 4px;
}

/* Shadows */
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Transforms */
.transform {
  transform: translateZ(0);
}

.rotate-3 {
  transform: rotate(3deg);
}

.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Responsive Design */
@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .md\:hidden {
    display: none;
  }

  .md\:flex {
    display: flex;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:items-center {
    align-items: center;
  }

  .md\:items-start {
    align-items: flex-start;
  }

  .md\:justify-between {
    justify-content: space-between;
  }

  .md\:justify-end {
    justify-content: flex-end;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
  }

  .md\:pt-32 {
    padding-top: 8rem;
  }

  .md\:pb-24 {
    padding-bottom: 6rem;
  }

  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .md\:p-8 {
    padding: 2rem;
  }

  .md\:p-10 {
    padding: 2.5rem;
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:text-6xl {
    font-size: 3.75rem;
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Menu */
@media (max-width: 767px) {
  .hidden.mobile-menu-open {
    display: block;
  }
}

/* Block level elements */
.block {
  display: block;
}

.text-left {
  text-align: left;
}

/* Object fit */
.object-cover {
  object-fit: cover;
}

/* List styles */
ul {
  list-style: none;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}