.whole {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

.slide-container {
  width: 100%;
  min-height: 700px;
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  display: flex;
  flex-direction: column;
  padding: 40px;
  box-sizing: border-box;
}

.slide-title {
  font-size: 36px;
  font-weight: bold;
  color: #1E3A8A;
  margin-bottom: 25px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.navigation {
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 15px;
  background: linear-gradient(135deg, #8fa6e8 0%, #8de6ca 100%);
}

.navigation button:not(:last-child) {
  margin-right: 15px;
}

.content-wrapper {
  display: flex;
  width: 100%;
  gap: 30px;
  flex-grow: 1;
  align-items: stretch;
}

.text-content {
  width: 55%;
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #059669;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.resource-content {
  width: 100%;
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #059669;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  color: #1E3A8A;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.text-content p {
  font-size: 18px;
  line-height: 1.5;
  color: #374151;
  margin-bottom: 10px;
}

.text-content ul {
  list-style: none;
  margin-left: 0;
}

.text-content li {
  font-size: 18px;
  line-height: 1.5;
  color: #374151;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.image-container {
  width: 45%;
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pivot-table-image,
.pivot-fields-image,
.analysis-image,
.vlookup-image,
.vlookup-example-image,
.xlookup-image {
  display: block;
  margin: 0 auto;
  object-fit: contain;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.image-caption {
  margin-top: 15px;
  font-size: 16px;
  color: #6B7280;
  text-align: center;
  font-style: italic;
}

/* Home page only */
.title {
  font-size: 72px;
  font-weight: 900;
  color: white;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 10;
  position: relative;
}

.subtitle {
  font-size: 36px;
  color: #E5E7EB;
  text-align: center;
  font-weight: 300;
  z-index: 10;
  position: relative;
}

.excel-icon {
  position: absolute;
  top: 50px;
  right: 80px;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

/* Utility classes for code/box styling */
.syntax-box,
.example-formula {
  background: #1E293B;
  color: #E2E8F0;
  padding: 15px;
  border-radius: 10px;
  font-family: monospace;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 15px;
}

.syntax-param {
  color: #059669;
  font-weight: bold;
}

.warning-box {
  background: #FEF2F2;
  border: 2px solid #EF4444;
  color: #DC2626;
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Step/feature/example/field/box classes for various slides */
.step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 15px;
}

.step-number {
  background: #1E3A8A;
  color: white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
  flex-shrink: 0;
}

.step-description {
  font-size: 18px;
  color: #374151;
  line-height: 1.5;
}

.feature-item,
.example-item,
.field-section {
  margin-bottom: 15px;
}

.feature-title,
.example-title,
.field-title {
  font-size: 20px;
  font-weight: bold;
  color: #1E3A8A;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-desc,
.example-desc,
.field-description {
  font-size: 16px;
  color: #374151;
  line-height: 1.5;
}

.placeholder-image {
  width: 100%;
  height: 300px;
  background: #E2E8F0;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #6B7280;
  font-size: 20px;
  text-align: center;
}

.nav-button {
  background: #1E3A8A;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: background 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
  background: #059669;
}

.nav-button-placeholder {
  width: 120px;
  /* Adjust as needed to match button width */
}

/* anime button */
.showAnimeBtn {
  padding: 6px 18px;
  font-size: 12px;
  cursor: pointer;
  background-color: #ff5722;
  color: white;
  border: none;
  border-radius: 5px;
}

/* 2. The Modal (Pop-up Background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 101;
  /* Sit on top of the bottom-bar */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.8);
  /* Black w/ opacity */

  /* Use flexbox to center the image */
  justify-content: center;
  align-items: center;
}

/* 3. The Modal Content (The Image) */
.modal-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;

  /* The "Popping Up" Animation */
  animation-name: zoom;
  animation-duration: 0.4s;
}

@keyframes zoom {
  from {
    transform: scale(0.1)
  }

  to {
    transform: scale(1)
  }
}

/* 4. The Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}