/* Base Styles */
html {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background-color: #f5f8fa;
  color: #0f172a;
  line-height: 1.6;
}

body {
  margin: 0;
  background-color: #ffffff;
}

/* Container spacing */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #004080 0%, #007acc 100%);
  color: #ffffff;
}

.logo {
  max-height: 60px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #e0f2ff;
}

/* Role Cards */
.role-card {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 8px rgba(0, 64, 128, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 64, 128, 0.2);
}

.role-card .card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #004080;
}

.role-card .bi {
  font-size: 1.5rem;
  vertical-align: middle;
}

.role-card .btn {
  border-radius: 8px;
  font-weight: 500;
}

/* Buttons base style */
.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  user-select: none;
  box-sizing: border-box;
  white-space: nowrap;
}

/* Primary button */
.btn-primary {
  background-color: #004080;
  border: 2px solid #004080;
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #003366;
  border-color: #003366;
  color: #ffffff;
  outline: none;
}

/* Outline Success button */
.btn-outline-success {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline-success:hover,
.btn-outline-success:focus {
  background-color: #004080;
  color: #ffffff;
  outline: none;
}

/* Outline Primary button (if needed) */
.btn-outline-primary {
  background-color: transparent;
  border: 2px solid #004080;
  color: #004080;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #004080;
  color: #ffffff;
  outline: none;
}

/* Disabled state for buttons */
.btn:disabled,
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Make buttons full width when used with utility class */
.btn.w-100 {
  width: 100%;
}

/* Features Section */
.features {
  background-color: #f5f8fa;
  padding: 60px 20px;
}

.features h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  font-weight: 600;
  color: #004080;
}

/* Feature Box */
.feature-box {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 64, 128, 0.1);
  border: 1px solid #e0e0e0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 64, 128, 0.2);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #004080;
}

.feature-box h5 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #004080;
}

.feature-box p {
  font-size: 0.95rem;
  color: #475569;
  margin: 0;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .container {
    padding: 1.5rem;
  }

  .hero {
    padding: 50px 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    max-width: 90%;
  }

  .features {
    padding: 40px 15px;
  }

  .features h2 {
    font-size: 1.5rem;
  }

  .feature-box {
    padding: 1rem;
  }

  .feature-icon {
    font-size: 1.75rem;
  }

  .feature-box h5 {
    font-size: 1.1rem;
  }

  .feature-box p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .features h2 {
    font-size: 1.25rem;
  }

  .feature-box {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 10px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .features {
    padding: 30px 10px;
  }

  .feature-box {
    padding: 1rem 0.75rem;
  }

  .feature-icon {
    font-size: 1.5rem;
  }

  .feature-box h5 {
    font-size: 1rem;
  }

  .feature-box p {
    font-size: 0.85rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .btn.w-100 {
    width: 100%;
  }
}
