/* University Applied Sciences - Main Stylesheet */
/* Colors: Dark Blue (#0a1828), Red (#c41e3a), White (#ffffff) */

/* Reset and base styles */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.6;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #ffffff;
}

/* Utilities */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #0a1828;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-to-content:focus {
  top: 6px;
}

/* Site Navigation */
.site-nav {
  background-color: #0a1828;
  color: white;
  padding: 0;
  position: relative;
  z-index: 100;
}

.site-nav__width {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 80px;
}

.site-nav__logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-nav__logo-link img {
  height: 60px;
  width: auto;
}

.site-nav__links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.site-nav__link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.site-nav__link:hover {
  color: #c41e3a;
}

.site-nav__buttons {
  display: none;
}

.site-nav__mobile-trigger {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 10px;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 24, 40, 0.7);
  z-index: -1;
}

.hero-text {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background-color: #c41e3a;
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #a01729;
  transform: translateY(-2px);
}

/* Content sections */
.content-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.programs-overview,
.news-highlights {
  padding: 80px 0;
}

.programs-overview {
  background-color: #f8f9fa;
}

.programs-overview h2,
.news-highlights h2 {
  font-size: 2.5rem;
  color: #0a1828;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

/* Program Grid */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.program-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.program-card h3 {
  color: #0a1828;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.program-card h3 a {
  color: inherit;
  text-decoration: none;
}

.program-card h3 a:hover {
  color: #c41e3a;
}

.program-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.learn-more {
  color: #c41e3a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.learn-more:hover {
  color: #a01729;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.news-item {
  padding: 25px;
  border-left: 4px solid #c41e3a;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-item h3 {
  color: #0a1828;
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.news-item p {
  color: #666;
  margin-bottom: 15px;
}

.news-item time {
  color: #999;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background-color: #0a1828;
  color: white;
  padding: 60px 0 40px;
}

.site-footer__width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-footer__logo-link {
  display: inline-block;
  margin-bottom: 30px;
}

.site-footer__logo-link img {
  height: 50px;
  width: auto;
}

.site-footer__nav-mod {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 30px 0;
  padding: 0;
  gap: 30px;
}

.site-footer__nav__link {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer__nav__link:hover {
  color: #c41e3a;
}

.site-footer__utility-mod {
  border-top: 1px solid #2a3441;
  padding-top: 30px;
}

.site-footer__name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.site-footer__contact-info {
  margin-bottom: 20px;
}

.site-footer__contact-info-link {
  color: #ccc;
  text-decoration: none;
}

.site-footer__contact-info-link:hover {
  color: white;
}

.site-footer__utility-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.site-footer__utility__text-link {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.site-footer__utility__text-link:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-nav__links {
    display: none;
  }
  
  .site-nav__buttons {
    display: block;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
  }
  
  .programs-overview h2,
  .news-highlights h2 {
    font-size: 2rem;
  }
  
  .program-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .site-footer__nav-mod {
    flex-direction: column;
    gap: 15px;
  }
  
  .site-footer__utility-list {
    flex-direction: column;
    gap: 10px;
  }
}

/* Additional Page Styles */

/* Breadcrumbs */
.breadcrumb-section {
  background-color: #f8f9fa;
  padding: 20px 0;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb li {
  color: #666;
}

.breadcrumb li:not(:last-child)::after {
  content: ' › ';
  margin: 0 10px;
  color: #999;
}

.breadcrumb a {
  color: #0a1828;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #c41e3a;
}

/* Program/Course Headers */
.program-header,
.course-header,
.page-header {
  background-color: #0a1828;
  color: white;
  padding: 60px 0;
}

.program-intro,
.course-intro,
.page-intro {
  max-width: 800px;
}

.course-badge {
  display: inline-block;
  background-color: #c41e3a;
  color: white;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 15px;
}

.program-intro h1,
.course-intro h1,
.page-intro h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.program-subtitle,
.course-subtitle,
.page-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #ccc;
}

.program-meta,
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
  padding: 20px 0;
  border-top: 1px solid #2a3441;
  border-bottom: 1px solid #2a3441;
}

.meta-item {
  font-size: 0.95rem;
}

.meta-item strong {
  color: white;
  display: block;
  margin-bottom: 5px;
}

.program-actions,
.course-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.secondary-button {
  display: inline-block;
  background-color: transparent;
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid white;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background-color: white;
  color: #0a1828;
}

/* Content Grid Layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  margin-top: 40px;
}

.main-content {
  min-width: 0;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Program/Course Content Sections */
.program-content,
.course-content {
  padding: 80px 0;
}

.program-overview h2,
.course-overview h2,
.curriculum h2,
.curriculum-detail h2,
.career-outcomes h2 {
  color: #0a1828;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.program-overview h3,
.course-overview h3 {
  color: #0a1828;
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.feature-list,
.career-list,
.certification-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li,
.career-list li,
.certification-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.feature-list li::before,
.career-list li::before,
.certification-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #c41e3a;
  font-weight: bold;
}

/* Year/Semester Breakdown */
.year-breakdown,
.semester-breakdown {
  margin-top: 30px;
}

.year-item,
.semester-group {
  background: #f8f9fa;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  border-left: 4px solid #c41e3a;
}

.year-item h4,
.semester-group h3 {
  color: #0a1828;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.semester-item {
  margin-bottom: 25px;
}

.semester-item h4 {
  color: #0a1828;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.semester-item ul {
  list-style: disc;
  margin-left: 20px;
}

.semester-item li {
  margin-bottom: 5px;
  line-height: 1.5;
}

/* Learning Areas */
.learning-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.area-item {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #c41e3a;
}

.area-item h4 {
  color: #0a1828;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Related Courses */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.course-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.course-card h4 {
  margin-bottom: 15px;
}

.course-card h4 a {
  color: #0a1828;
  text-decoration: none;
  font-weight: 600;
}

.course-card h4 a:hover {
  color: #c41e3a;
}

/* Career Grid */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.career-item {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #c41e3a;
}

.career-item h4 {
  color: #0a1828;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Sidebar Boxes */
.info-box,
.contact-box,
.facilities-box {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-box h3,
.contact-box h3,
.facilities-box h3 {
  color: #0a1828;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.info-item {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.info-item strong {
  color: #0a1828;
  display: block;
  margin-bottom: 5px;
}

.contact-button {
  display: inline-block;
  background-color: #c41e3a;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

.contact-button:hover {
  background-color: #a01729;
}

/* Apply Page Styles */
.application-process {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #c41e3a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step-content h3 {
  color: #0a1828;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Programs Section */
.programs-section {
  padding: 80px 0;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.program-application-card {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #c41e3a;
}

.program-application-card h3 {
  color: #0a1828;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.program-details {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.detail-item {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.detail-item strong {
  color: #0a1828;
}

.specializations {
  margin: 20px 0;
}

.specializations ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.specializations li {
  margin-bottom: 5px;
}

.specializations a {
  color: #c41e3a;
  text-decoration: none;
}

.specializations a:hover {
  text-decoration: underline;
}

.apply-button {
  display: inline-block;
  background-color: #c41e3a;
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.apply-button:hover {
  background-color: #a01729;
}

/* Requirements Section */
.requirements-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.requirement-category {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.requirement-category h3 {
  color: #0a1828;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.requirement-category ul {
  list-style: none;
  padding: 0;
}

.requirement-category li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.requirement-category li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #c41e3a;
  font-weight: bold;
}

/* Application Form */
.application-form-section {
  padding: 80px 0;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.application-form {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section h3 {
  color: #0a1828;
  font-size: 1.3rem;
  margin-bottom: 25px;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #0a1828;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c41e3a;
}

.form-group small {
  display: block;
  color: #666;
  font-size: 0.9rem;
  margin-top: 5px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.form-actions {
  text-align: center;
  margin-top: 40px;
}

.submit-button {
  background-color: #c41e3a;
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #a01729;
}

.form-note {
  color: #666;
  font-size: 0.9rem;
  margin-top: 15px;
}

/* Contact Section */
.contact-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.contact-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
  color: #0a1828;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-item a {
  color: #c41e3a;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Responsive adjustments for additional pages */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .program-intro h1,
  .course-intro h1,
  .page-intro h1 {
    font-size: 2.5rem;
  }
  
  .program-meta,
  .course-meta {
    flex-direction: column;
    gap: 15px;
  }
  
  .program-actions,
  .course-actions {
    flex-direction: column;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
  }
  
  .requirements-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .application-form {
    padding: 25px;
  }
  
  .program-header,
  .course-header,
  .page-header {
    padding: 40px 0;
  }
  
  .program-intro h1,
  .course-intro h1,
  .page-intro h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .site-nav__width {
    padding: 0 15px;
  }
  
  .content-width {
    padding: 0 15px;
  }
  
  .hero-text {
    padding: 30px 15px;
  }
  
  .programs-overview,
  .news-highlights {
    padding: 60px 0;
  }
  
  .program-card,
  .news-item {
    padding: 20px;
  }
}
