* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
  }
  
  /* Header styling */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0F4F84;
    padding: 10px 20px;
  }
  
  /* Logo styling */
  .logo {
    height: 100px;
    width: auto;
  }
  
  /* Navigation styling */
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
  }
  
  nav ul li a:hover {
    background-color: #555;
    border-radius: 4px;
  }
  
  .dropDown {
    background-color: #074f84;
    padding: 15px;
    border-radius: 20px;
    width: 250px;
    min-width: 250px;
    color: white;
    margin-top: 10px;
    margin-left: 10px;
  }
  
  aside details {
    display: block;
    margin-bottom: 10px;
    background-color: #003f6b;
    border-radius: 5px;
    overflow: visible;
    width: 100%;
  }
  
  aside summary {
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    background-color: #003f6b;
    border-radius: 5px;
  }
  
  aside summary::after {
    content: "▼";
    font-size: 12px;
    background: #222;
    padding: 2px 6px;
    border-radius: 4px;
  }
  
  details[open] summary::after {
    content: "▲";
  }
  
  aside ul {
    width: 100%;
    padding: 10px 30px;
    margin: 0;
    list-style: disc;
    background-color: #f1f1f1;
    color: #333;
    box-sizing: border-box;
  }
  
  aside ul li {
    margin-bottom: 6px;
  }
  
  summary:hover {
    background-color: #555;
  }
  

  .main-content {
    display: flex;
    align-items: flex-start; /* aligns items to the top */
    gap: 30px; /* spacing between dropdown and welcome section */
    margin: 40px;
    flex: 1;
  }
  

  /* Flex container that fills the whole viewport */
    body, html {
    height: 100%;
    margin: 0;
  }
  
  .page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* full viewport height */
  }
  
  /* Footer */
  .site-footer {
    background-color: #2c3e75;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: auto;
  }
  

  .about-us-section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .about-header {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #0F4F84;
  }
  
  .about-description {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: #333;
  }
  
  /* Student cards grid */
  .student-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  
  /* Individual card styling */
  .student-card {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem;
    text-align: center;
    transition: transform 0.2s ease;
  }
  
  .student-card:hover {
    transform: translateY(-5px);
  }
  
  .student-card h3 {
    font-size: 1.2rem;
    color: #1d3557;
    margin-bottom: 0.5rem;
  }
  
  .student-card p {
    font-size: 0.95rem;
    color: #555;
    margin: 0.25rem 0;
  }

  .main-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 40px;
  }

  .about-box {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    }
  
  #langLabel {
    color: white;
  }
  
  /* ===== Language Toggle Switch ===== */
.switch {
  position: relative;
  display: inline-block;
  width: 80px;   /* wide enough for text */
  height: 34px;
  margin-left: 15px;
}

/* Hide the checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider background */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
  color: white;
}

/* ENG/UKR labels */
.slider .label {
  position: relative;
  z-index: 3;          /* keep labels above the knob */
  width: 50%;          /* left = ENG, right = УКР */
  text-align: center;
  pointer-events: none;
}

/* Blue knob */
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 36px;
  left: 4px;
  bottom: 4px;
  background-color: #0F4F84;
  transition: .4s;
  border-radius: 34px;
  z-index: 2; /* knob under labels */
}

/* Move knob to right when checked */
input:checked + .slider:before {
  transform: translateX(40px);
}

/* Wrapper to keep ENG (slider) УКР in a line */
.lang-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 8px; /* space between text and slider */
}

/* Labels next to the slider */
.lang-label {
  font-size: 14px;
  font-weight: bold;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo {
    height: 72px;
  }

  .main-content {
    flex-direction: column;
    margin: 20px;
  }

  .dropDown {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  nav ul li a {
    display: block;
    width: 100%;
  }

  .main-content {
    margin: 15px;
  }

  .about-us-section {
    padding: 30px 10px;
  }
}
