﻿* {
  box-sizing: border-box;
}

:root {
  --primary-color: #1e40af;
  --secondary-color: #e5e7eb;
  --accent-color: #f59e0b;
  --text-color: #1e293b;
  --bg-color: #f8fafc;
  --bg-secondary: #e5e7eb;
  --white: #ffffff;
  --dark: #111827;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.3;
}

h2 {
  font-size: calc(1.425rem + 1.1vw);
}

h3 {
  font-size: calc(1.375rem + .8vw);
}

h5 {
  font-size: 1.375rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  display: inline-block;
  transition: color .2s ease-in-out, opacity .2s ease-in-out;
  color: var(--primary-color);
}

a:hover {
  opacity: .8;
  color: #1e3a8a;
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
}

input, button, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.display-3 {
  font-size: calc(1.675rem + 4.2vw);
  font-weight: 700;
  line-height: 1.15;
}

.display-5 {
  font-size: calc(1.525rem + 2.4vw);
  font-weight: 600;
  line-height: 1.15;
}

.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.form-label {
  margin-bottom: .75rem;
  display: inline-block;
  font-weight: 500;
}

.form-control {
  display: block;
  width: 100%;
  padding: .925rem 1.375rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.3;
  background-color: var(--white);
  border: 2px solid var(--secondary-color);
  border-radius: .75rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.3rem rgba(30, 64, 175, 0.25);
}

.btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  padding: .925rem 1.375rem;
  font-size: 1.0625rem;
  border-radius: .75rem;
  transition: all .2s ease-in-out;
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: #1e3a8a;
  border-color: #1e3a8a;
  color: var(--white);
  opacity: 1;
  transform: translateY(-2px);
}

.btn-outline-light {
  color: var(--white);
  border-color: var(--white);
  background-color: transparent;
}

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

.btn-lg {
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: .5rem 1rem;
  font-size: .875rem;
}

.nav-link {
  display: block;
  padding: .75rem 1.25rem;
  transition: color .2s ease-in-out;
  color: var(--text-color);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary-color);
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar > .container {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  padding-top: .5rem;
  padding-bottom: .5rem;
  margin-right: 1.25rem;
  font-size: 1.5rem;
  white-space: nowrap;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-toggler {
  padding: .375rem .875rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid var(--secondary-color);
  border-radius: .75rem;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.75em;
  height: 1.75em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 64, 175, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.collapse:not(.show) {
  display: none;
}

.hero-section {
  background-image: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(30, 58, 138, 0.9)), url('../pixi/yeali1.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
  opacity: 0.85;
}

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

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

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

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

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

.text-white {
  color: var(--white) !important;
}

.text-muted {
  color: #6b7280 !important;
}

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

.process-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  color: var(--white);
}

.course-card {
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
  box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.decorated-border {
  position: relative;
  padding-left: 2rem;
}

.decorated-border::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color), #f97316);
  border-radius: 4px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 3px solid var(--primary-color);
  padding: 1rem 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.d-flex {
  display: flex !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-column-reverse {
  flex-direction: column-reverse !important;
}

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

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

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

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

.align-items-lg-start {
  align-items: flex-start !important;
}

.mt-4 {
  margin-top: 1.25rem !important;
}

.mt-6 {
  margin-top: 1.75rem !important;
}

.mt-7 {
  margin-top: 2rem !important;
}

.mt-8 {
  margin-top: 2.25rem !important;
}

.mt-9 {
  margin-top: 2.5rem !important;
}

.mt-12 {
  margin-top: 3.5rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-2 {
  margin-bottom: .75rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.25rem !important;
}

.mb-5 {
  margin-bottom: 1.5rem !important;
}

.mb-6 {
  margin-bottom: 1.75rem !important;
}

.mb-7 {
  margin-bottom: 2rem !important;
}

.mb-8 {
  margin-bottom: 2.25rem !important;
}

.mb-9 {
  margin-bottom: 2.5rem !important;
}

.mb-12 {
  margin-bottom: 3.5rem !important;
}

.mb-16 {
  margin-bottom: 4.5rem !important;
}

.ms-auto {
  margin-left: auto !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.me-4 {
  margin-right: 1.25rem !important;
}

.p-6 {
  padding: 1.75rem !important;
}

.p-8 {
  padding: 2.25rem !important;
}

.py-3 {
  padding-top: .875rem !important;
  padding-bottom: .875rem !important;
}

.py-8 {
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
}

.py-10 {
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
}

.px-7 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.ps-7 {
  padding-left: 2rem !important;
}

.ps-9 {
  padding-left: 2.5rem !important;
}

.ps-12 {
  padding-left: 3.5rem !important;
}

.fs-1 {
  font-size: 1.625rem !important;
}

.fs-2 {
  font-size: 1.4375rem !important;
}

.fs-3 {
  font-size: 1.3125rem !important;
}

.fs-4 {
  font-size: 1.1875rem !important;
}

.fw-bold {
  font-weight: 700 !important;
}

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

.text-start {
  text-align: left !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.rounded-2 {
  border-radius: .75rem !important;
}

.border-start {
  border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.border-5 {
  border-width: 5px !important;
}

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

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

@media (min-width: 576px) {
  .container {
    max-width: 560px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 740px;
  }

  .col-md-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-md-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }

  .col-md-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }

  .flex-md-row {
    flex-direction: row !important;
  }

  .justify-content-md-end {
    justify-content: flex-end !important;
  }

  .align-items-md-center {
    align-items: center !important;
  }

  .me-md-4 {
    margin-right: 1.25rem !important;
  }

  .mb-md-0 {
    margin-bottom: 0 !important;
  }

  .p-md-8 {
    padding: 2.25rem !important;
  }

  .p-md-12 {
    padding: 3.5rem !important;
  }

  .text-md-start {
    text-align: left !important;
  }

  .text-md-end {
    text-align: right !important;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 980px;
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .75rem;
    padding-left: .75rem;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-lg .navbar-toggler {
    display: none;
  }

  .flex-lg-row {
    flex-direction: row !important;
  }

  .justify-content-lg-between {
    justify-content: space-between !important;
  }

  .mb-lg-0 {
    margin-bottom: 0 !important;
  }

  .mb-lg-12 {
    margin-bottom: 3.5rem !important;
  }

  .mb-lg-20 {
    margin-bottom: 5.5rem !important;
  }

  .py-lg-15 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .py-lg-20 {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;
  }

  .text-lg-start {
    text-align: left !important;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1160px;
  }

  .col-xl-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-xl-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-xl-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }

  h2 {
    font-size: 2.125rem;
  }

  h3 {
    font-size: 1.875rem;
  }

  .display-3 {
    font-size: 4.75rem;
  }

  .display-5 {
    font-size: 3.25rem;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1340px;
  }

  .col-xxl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .col-xxl-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-xxl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.25rem !important;
  }

  .display-3 {
    font-size: calc(1.5rem + 2.5vw) !important;
  }
  
  .display-5 {
    font-size: calc(1.3rem + 1.8vw) !important;
  }
  
  .py-10 {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
  }

  .hero-section {
    background-attachment: scroll;
  }

  .fs-1 {
    font-size: 1.375rem !important;
  }

  .fs-2 {
    font-size: 1.25rem !important;
  }

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