* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Cairo", sans-serif;
  color: #1f3b4d;
  text-align: center;
}

/* Buttons */
.btn-main, .btn-next, .btn-back {
  display: inline-block;
  margin: 40px auto;
  padding: 16px 46px;
  background: #0f6c7a;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 20px;
  transition: 0.3s;
}

.btn-main:hover,
.btn-next:hover,
.btn-back:hover {
  background: #9fd8b1;
  color: #0f3b2f;
}

/* Start screen */
.center-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-xl {
  width: 1000px;
  max-width: 90%;
  margin-bottom: 40px;
  animation: zoomIn 4.2s ease;
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

/* Titles */
.title {
  font-size: 42px;
  margin: 50px 0 30px;
  font-weight: bold;
}

/* Accordion */
.accordion {
  max-width: 900px;
  margin: 0 auto;
}

.acc-btn {
  width: 100%;
  padding: 24px;
  margin-top: 20px;
  background: #fff;
  border-radius: 20px;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  transition: 0.3s;
}

.acc-btn:hover {
  background: #e9f6ef;
}

.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.acc-content-inner {
  padding: 25px;
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  margin-top: 12px;
  animation: fadeDown .6s ease;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Board */
.grid {
  max-width: 1200px;
  margin: auto;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.card {
  background: rgba(255,255,255,.95);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  border-radius: 16px;
}

/* Departments icons */
.icons {
  max-width: 960px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 30px;
}

.icon-card {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: DarkKhaki;
  border-radius: 24px;
  font-size: 24px;
  font-weight: bold;
  color: #0f6c7a;
  text-decoration: none;
  box-shadow: 0 15px 30px rgba(0,0,0,.15);
  transition: 0.35s;
}

.icon-card:hover {
  transform: scale(1.08);
  background: #e6f5ec;
}

/* Single department */
.dept-img {
  max-width: 860px;
  width: 100%;
  margin: 30px auto;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0,0,0,.2);
  display: block;
}
/* ===== Intro Top Buttons ===== */
.top-buttons {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 20px auto 40px;
  padding: 0 20px;
}

.top-btn {
  width: 45%;
  padding: 18px;
  font-size: 22px;
  font-weight: bold;
  background: #ffffff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  transition: 0.3s;
}

.top-btn:hover {
  background: #e6f5ec;
  transform: translateY(-4px);
}

/* ===== Image Viewer ===== */
.image-viewer {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.image-viewer img {
  width: 100%;
  max-height: 800px;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0,0,0,.2);
  opacity: 0;
  transform: scale(0.9);
  transition: 0.6s ease;
}

.image-viewer img.show {
  opacity: 1;
  transform: scale(1);
}
/* ===== Top Horizontal Buttons ===== */
.top-buttons {
  display: flex;
  justify-content: space-between;
  max-width: 1900px;
  margin: 20px auto 40px;
  padding: 0 20px;
}

.top-btn {
  width: 45%;
  padding: 18px;
  font-size: 22px;
  font-weight: bold;
  background: DarkKhaki;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  transition: 0.3s;
}

.top-btn:hover {
  background: #e6f5ec;
  transform: translateY(-4px);
}

/* ===== Content Viewer ===== */
.content-viewer {
  max-width: 900px;
  margin: auto;
}

.content-box {
  display: none;
  padding: 30px;
  background: rgba(255,255,255,.92);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0,0,0,.2);
  font-size: 20px;
  line-height: 1.9;
  animation: fadeDown .6s ease;
}

.content-box.show {
  display: block;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== Main Toggle Button ===== */
.main-toggle {
  display: block;
  margin: 40px auto;
  padding: 20px 60px;
  font-size: 26px;
  font-weight: bold;
  background: #0f6c7a;
  color: #fff;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.3s;
}

.main-toggle:hover {
  background: #9fd8b1;
  color: #0f3b2f;
}

/* ===== Toggle Section ===== */
.toggle-section {
  display: none;
  margin-top: 30px;
}

.toggle-section.show {
  display: block;
  animation: fadeDown 1.6s ease;
}

/* ===== Toggle Boxes ===== */
.toggle-box {
  width: 80%;
}

/* ===== Toggle Images ===== */
.toggle-img {
  width: 100%;
  margin-top: 20px;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
  display: none;
  transition: 0.4s;
}

.toggle-img.show-img {
  display: block;
  animation: zoomIn 1.5s ease;
}
/* ===== Toggle Blocks (intro) ===== */
.toggle-block {
  display: none;
  margin-top: 40px;
  animation: fadeDown .6s ease;
}

.toggle-block.show {
  display: block;
}

/* ===== Large Image ===== */
.large-img {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: block;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
}
