/* Modern Corporate Design System */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  /* Colors */
  --primary-color: #0f172a;
  /* Slate 900 */
  --secondary-color: #334155;
  /* Slate 700 */
  --accent-color: #dc2626;
  /* Seele Red */
  --accent-hover: #b91c1c;
  /* Darker Red */
  --background-light: #f8fafc;
  /* Slate 50 */
  --surface-white: #ffffff;
  --text-main: #1e293b;
  /* Slate 800 */
  --text-muted: #64748b;
  /* Slate 500 */
  --border-color: #e2e8f0;
  /* Slate 200 */

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--background-light);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  /* Added spacing */
}

h1,
h2,
h3 {
  font-size: 1.5rem;
  /* Requested size */
  margin-top: 2rem;
  /* Added spacing before H3 */
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

h2 {
  text-align: center;
}

/* Breadcrumb Navigation */
.breadcrumb {
  padding: 1rem 0;
  background: var(--background-light);
  font-size: 0.875rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--primary-color);
}

.breadcrumb-item.active {
  color: var(--text-color);
  font-weight: 500;
}

.breadcrumb-separator {
  color: var(--text-muted);
  margin: 0 0.25rem;
}

/* Dropdown Menu - Improved */
.nav-item {
  position: relative;
  display: inline-block;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-weight: 500;
  color: var(--secondary-color);
}

.nav-item > a:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--accent-color);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 1000;
  margin-top: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.875rem 1.25rem;
  color: var(--text-color);
  transition: all 0.2s ease;
  font-size: 0.95rem;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: var(--background-light);
  color: var(--primary-color);
  padding-left: 1.5rem;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
  display: inline-block;
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Separator in dropdown */
.dropdown-menu a + a {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: 1.5rem 0;
}

.grid {
  display: grid;
  gap: var(--spacing-md);
}

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

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

/* Components */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

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

/* Header & Nav */
header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-links>a,
.nav-links>.nav-item {
  font-weight: 500;
  color: var(--secondary-color);
}

.nav-links>a:hover,
.nav-links>a.active,
.nav-item > a:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: var(--spacing-xl);
  background: linear-gradient(135deg, var(--background-light) 0%, #e2e8f0 100%);
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  /* Specific override for Hero section */
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(to right,
      var(--primary-color),
      var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--spacing-md);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: var(--spacing-lg) 0;
  text-align: center;
}

footer p {
  color: var(--text-muted);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: transform var(--transition-medium);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    left: 1rem;
    /* Moved to left */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    /* Ensure it's above everything */
  }

  nav {
    justify-content: center;
    /* Center logo */
    position: relative;
  }

  .logo {
    margin: 0 auto;
    /* Center logo */
  }

  .logo img {
    height: 40px;
    /* Smaller on mobile */
  }
}