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

body {
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header {
  background-color: #13294b;
  height: 15vh; 
  display: flex;      
  align-items: center; 
  padding: 0 2rem;      
  box-sizing: border-box;
}

.header .container {
  display: flex;
  justify-content: space-between; 
  align-items: center;     
  width: 100%;
}

.logo {
  position: relative;
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  text-align: left;
}

.logo::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 45px;
  height: 2px; 
  background-color: #ff5f0f;
}

.main {
  padding: 2.2rem 0;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero-title {
  font-size: 2.7rem;
  font-weight: 700;
  color: #13294b;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 1.1875rem;
}

.btn-primary {
  background-color: #ff5f05;
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #ffffff;
  color: #13294b;
  outline: 2px solid #13294b;
  outline-offset: 2px;
}

.btn-secondary {
  background-color: #ffffff;
  color: #13294b;
  border: 1px solid #13294b;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #f9fafb;
  border-color: #e8e9eb;
  outline: 2px solid #13294b;
  outline-offset: 2px;
}

.search-section {
  margin-bottom: 3rem;
}

.search-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  max-width: 600px;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: #13294b;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.course-card {
  width: 100%;
  max-width: 350px;
  background-color: #ffffff;
  border-radius: 0.7rem;
  overflow: hidden;
  transition: transform 0.2s ease;
  border: 2px solid #e5e7eb;
  margin-bottom: 40px;
}

.course-card:hover {
  transform: translateY(-2px);
}

.course-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.course-content {
  padding: 1.5rem;
}

.course-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #13294b;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.course-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #13294b;
  font-size: 1.1rem;
}

.meta-icon {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
}

.course-btn {
  background-color: #ff5f05;
  color: #ffffff;
  padding: 0.75rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: bold;
  font-size: 1.1875rem;
  line-height: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.course-btn:hover,
.course-btn:focus {
  background-color: #ffffff;
  color: #13294b;
  border-color: #d1d5db;
  outline: 2px solid #13294b;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .action-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: auto;
  }

  .search-container {
    flex-direction: column;
    align-items: stretch;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-meta {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .main {
    padding: 2rem 0;
  }

  .hero {
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .course-content {
    padding: 1rem;
  }
}

li {
  color: #13294b;
}

*:focus {
  outline: 2px solid #ff5f05;
  outline-offset: 2px;
}

@media (prefers-contrast: high) {
  .course-card {
    border: 2px solid #13294b;
  }

  .btn {
    border-width: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
