@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,500,600");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  background: #fff;
}

#page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#content-wrap {
  flex: 1 0 auto;
}

p {
  margin-bottom: 1rem;
}

.site-header {
  background: #fff;
  padding: 0.2rem 1.2rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 90px;
  position: relative;
}

.logo-wrapper img {
  width: 240px;
  max-height: 140px;
  height: auto;
  display: block;
}

.navbar {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  color: darkgreen;
  font-size: 18px;
  font-weight: 500;
}

.nav-link:hover {
  opacity: .6;
}

.active {
  font-weight: 700;
  text-decoration: underline;
}

.info, .info2 {
  background: rgba(39, 116, 33, 0.12);
  padding: 2rem 2rem;
  margin-bottom: 2rem;
  border-top: 2px solid rgba(0,0,0,0.05);
  border-bottom: 2px solid rgba(0,0,0,0.05);
}

.info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.info img, .full-width-img {
  width: 100%;
  height: auto;
}

h1 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #2a4f1e;
}

h2 {
  margin-top: 1.1rem;
  margin-bottom: .4rem;
  font-weight: 500;
  color: #2a4f1e;
}

.primary-btn {
  display: inline-block;
  margin-top: 1.2rem;
  margin-bottom: 1.4rem;
  padding: 0.7rem 1.4rem;
  background: darkgreen;
  color: #fff;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
}

.primary-btn:hover {
  opacity: .9;
}

footer {
  background: darkgreen;
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: .6rem;
  font-size: .95rem;
}

.slideshow-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid rgba(0,0,0,0.05);
}

.mySlides {
  display: none;
  height: 100%;
  width: 100%;
}

.slideshow-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.prev, .next {
  position: absolute;
  top: 50%;
  padding: 16px;
  color: #fff;
  background: rgba(0,0,0,0.6);
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  border-radius: 0 3px 3px 0;
  transform: translateY(-50%);
  border: none;
  z-index: 10;
  user-select: none;
  transition: background 0.3s;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.9);
}

.dots-wrapper {
  text-align: center;
  margin: .7rem 0 1.2rem;
}

.dot {
  height: 14px;
  width: 14px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  margin: 0 3px;
  transition: .4s;
  border: none;
  padding: 0;
  cursor: pointer;
}

.dot.active {
  background: #666;
}

button:focus-visible, 
a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #2a4f1e;
}

.grades-image-wrapper img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  margin-top: 1.4rem;
}

.grades-table-wrapper {
  margin: 1.5rem 0;
  overflow-x: auto;
}

.grades-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.grades-table th, .grades-table td {
  padding: .75rem;
  border: 1px solid #ddd;
  text-align: left;
}

.grades-table th {
  background: rgba(39, 116, 33, 0.25);
  font-weight: 600;
  color: #1f3d15;
}

.boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.07);
}

.box a {
  text-decoration: none;
  color: #000;
}

.box h6 {
  margin-top: .8rem;
  font-size: 1rem;
  text-decoration: underline;
}

.process-step {
  display: flex;
  gap: 1.2rem;
  background: #fff;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.4rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  border-left: 4px solid darkgreen;
}

.step-number {
  width: 40px;
  height: 40px;
  background: darkgreen;
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-step h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #2a4f1e;
}

.news-section {
  max-width: 1350px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.news-item {
  display: flex;
  gap: 2rem;
  background: rgba(39, 116, 33, 0.15);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.news-text {
  flex: 1.2;
}

.news-gallery {
  flex: 1;
}

.news-slideshow {
  width: 100%;
  height: auto;
  min-height: 300px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.news-slide {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: none;
}

.news-slide.active {
  display: block;
}

.news-dots {
  margin-top: 0.6rem;
  text-align: center;
}

.news-dots .dot {
  height: 12px;
  width: 12px;
  display: inline-block;
  border-radius: 50%;
  margin: 0 4px;
  background: #bbb;
  cursor: pointer;
}

.news-dots .dot.active {
  background: #2a4f1e;
}

.mobile-toggle {
  display: none;
}

@media (max-width: 1000px) {
  .news-item {
    flex-direction: column;
  }
  .news-gallery {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
  }

  .hamburger-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: darkgreen;
    position: relative;
    transition: background 0.2s;
  }

  .hamburger-icon::before, 
  .hamburger-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: darkgreen;
    left: 0;
    transition: transform 0.2s;
  }

  .hamburger-icon::before {
    top: -8px;
  }
  .hamburger-icon::after {
    top: 8px;
  }
  
  .header-inner {
    justify-content: space-between;
    padding-bottom: 0;
  }
  
  .navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid #eee;
  }

  .navbar.nav-open {
    display: flex;
  }

  .navbar .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    margin-left: 0;
  }

  .navbar .nav-link:last-child {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .info, .info2 {
    padding: 1.4rem 1rem;
  }
  .slideshow-container {
    height: 300px;
  }
  p {
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
  }
  h1 {
    font-size: 1.45rem;
  }
  .process-step {
    padding: 1rem;
  }
  .step-number {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .logo-wrapper img {
    width: 170px;
  }
  p {
    font-size: 0.9rem;
  }
}