/* Sejarah Page Styles */

.sejarah-page {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  line-height: 1.5;
}

/* Navbar */
.sejarah-navbar-container {
  position: relative;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-top: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.sejarah-navbar-desktop {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.sejarah-navbar-desktop a {
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: all 0.3s;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
}

.sejarah-navbar-desktop a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sejarah-navbar-mobile {
  display: block;
  width: 100%;
}

.sejarah-navbar-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 9999px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.sejarah-navbar-mobile-brand {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  font-style: italic;
}

.sejarah-navbar-mobile-btn {
  color: white;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.sejarah-navbar-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 1rem;
  right: 1rem;
  margin-top: 0.5rem;
  background: rgba(10, 31, 19, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 50;
}

.sejarah-navbar-mobile-menu.active {
  display: block;
}

.sejarah-navbar-mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
}

.sejarah-navbar-mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.sejarah-hero-section {
  background: linear-gradient(to bottom right, #0a1f13, #0d2a18, #0a1f13);
}

.sejarah-hero-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.sejarah-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.25rem;
}

.sejarah-hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-style: italic;
  color: #FFFAE3;
  text-align: center;
}

.sejarah-hero-tagline {
  color: #d1d5db;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

.sejarah-hero-image-wrapper {
  margin-top: 2.5rem;
}

.sejarah-hero-image {
  float: left;
  width: 100%;
  max-width: 550px;
  margin-right: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  aspect-ratio: 16/9;
}

.sejarah-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.sejarah-hero-description {
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.9;
  text-align: justify;
  font-weight: 300;
}

.sejarah-hero-description::after {
  content: "";
  display: table;
  clear: both;
}

/* About Section */
.sejarah-about-section {
  padding: 3rem 1rem;
}

.sejarah-about-container {
  max-width: 80rem;
  margin: 0 auto;
}

.sejarah-about-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.2;
  font-style: italic;
  color: #111827;
  text-align: center;
}

.sejarah-about-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sejarah-about-text {
  flex: 1;
}

.sejarah-about-text p {
  color: #111827;
  font-size: 1rem;
  line-height: 1.625;
  text-align: justify;
  margin-bottom: 1.5rem;
}

.sejarah-about-image {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 300px;
}

.sejarah-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

/* Program Section */
.sejarah-program-section {
  padding: 3rem 1rem;
  position: relative;
  margin-bottom: -100px;
}

.sejarah-program-container {
  max-width: 80rem;
  margin: 0 auto;
}

.sejarah-program-hero-image {
  width: 100%;
  height: 300px;
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.sejarah-program-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sejarah-program-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: -100px;
  position: relative;
  z-index: 10;
  padding: 0 1rem;
}

.sejarah-program-card {
  background: #1a3c27;
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
}

.sejarah-program-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
  line-height: 1.3;
}

.sejarah-program-card-desc {
  font-size: 0.875rem;
  line-height: 1.625;
  opacity: 0.9;
}

/* Philosophy Section */
.sejarah-philosophy-section {
  background: linear-gradient(to bottom right, #0a1f13, #0d2a18, #0a1f13);
  padding: 3rem 1rem;
}

.sejarah-philosophy-container {
  max-width: 80rem;
  margin: 0 auto;
  padding-top: 120px;
}

.sejarah-philosophy-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.2;
  font-style: italic;
  color: white;
  text-align: center;
}

.sejarah-philosophy-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.sejarah-philosophy-text {
  color: white;
}

.sejarah-philosophy-text p {
  font-size: 1rem;
  line-height: 1.625;
  text-align: justify;
  margin-bottom: 1.5rem;
}

.sejarah-philosophy-logo {
  display: flex;
  justify-content: center;
}

.sejarah-philosophy-logo-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
}

.sejarah-philosophy-logo-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(20px);
}

.sejarah-philosophy-logo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

/* Vision Mission Section */
.sejarah-vision-mission-section {
  padding: 3rem 1rem;
}

.sejarah-vision-mission-container {
  max-width: 80rem;
  margin: 0 auto;
}

.sejarah-vision-mission-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.2;
  font-style: italic;
  color: #111827;
  text-align: center;
}

.sejarah-vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

.sejarah-vision-card {
  background: #104026;
  color: white;
  padding: 2rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.sejarah-vision-card:hover {
  transform: scale(1.02);
}

.sejarah-mission-card {
  background: #1F6740;
  color: white;
  padding: 2rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.sejarah-mission-card:hover {
  transform: scale(1.02);
}

.sejarah-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: Georgia, serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1rem;
}

.sejarah-vision-content {
  font-size: 1rem;
  line-height: 1.625;
  opacity: 0.9;
}

.sejarah-mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sejarah-mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.sejarah-mission-list span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  line-height: 1;
}

.sejarah-mission-list p {
  font-size: 1rem;
  line-height: 1.625;
  opacity: 0.9;
}

/* Footer */
.sejarah-footer {
  background: linear-gradient(to bottom right, #0a1f13, #0d2a18, #0a1f13);
}

.sejarah-footer-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.sejarah-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.sejarah-footer-logo-section {
  grid-column: span 1;
}

.sejarah-footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  font-style: italic;
  margin-bottom: 1rem;
}

.sejarah-footer-description {
  color: #9ca3af;
  font-size: 0.75rem;
  line-height: 1.625;
}

.sejarah-footer-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.sejarah-footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.sejarah-footer-nav-link {
  color: #9ca3af;
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.3s;
}

.sejarah-footer-nav-link:hover {
  color: white;
}

.sejarah-footer-text {
  color: #9ca3af;
  font-size: 0.75rem;
}

.sejarah-footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sejarah-footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.3s;
}

.sejarah-footer-social-link:hover {
  color: white;
}

.sejarah-footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

.sejarah-footer-copyright p {
  color: #9ca3af;
  font-size: 0.75rem;
}

/* Loading State */
.sejarah-loading {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(to bottom right, #0a1f13, #0d2a18, #0a1f13);
  align-items: center;
  justify-content: center;
  color: white;
}

.sejarah-loading p {
  font-size: 1.25rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Error State */
.sejarah-error {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(to bottom right, #0a1f13, #0d2a18, #0a1f13);
  align-items: center;
  justify-content: center;
  color: white;
  padding: 1rem;
}

.sejarah-error p {
  font-size: 1.25rem;
  color: #f87171;
  margin-top: 5rem;
}

/* Responsive Styles - sm (640px) */
@media (min-width: 640px) {
  .sejarah-hero-title {
    font-size: 2.25rem;
  }

  .sejarah-hero-tagline {
    font-size: 1.125rem;
  }

  .sejarah-about-title {
    font-size: 2.25rem;
  }

  .sejarah-program-hero-image {
    height: 400px;
  }

  .sejarah-program-cards {
    grid-template-columns: repeat(3, 1fr);
    margin-top: -150px;
  }

  .sejarah-philosophy-title {
    font-size: 2.25rem;
  }

  .sejarah-philosophy-logo-wrapper {
    width: 220px;
    height: 220px;
  }

  .sejarah-vision-mission-title {
    font-size: 2.25rem;
  }

  .sejarah-card-title {
    font-size: 1.75rem;
  }

  .sejarah-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sejarah-footer-logo-section {
    grid-column: span 2;
  }
}

/* Responsive Styles - md (768px) */
@media (min-width: 768px) {
  .sejarah-navbar-desktop {
    display: flex;
  }

  .sejarah-navbar-mobile {
    display: none;
  }

  .sejarah-hero-container {
    padding: 5rem 4rem;
  }

  .sejarah-hero-title {
    font-size: 3rem;
  }

  .sejarah-hero-tagline {
    margin-bottom: 2rem;
  }

  .sejarah-about-section {
    padding: 5rem 4rem;
  }

  .sejarah-about-content {
    flex-direction: row;
  }

  .sejarah-about-text p {
    font-size: 1rem;
  }

  .sejarah-about-image {
    min-height: 450px;
  }

  .sejarah-program-section {
    margin-bottom: -200px;
  }

  .sejarah-program-hero-image {
    height: 500px;
    border-radius: 3rem;
  }

  .sejarah-program-cards {
    margin-top: -250px;
    padding: 0 3rem;
  }

  .sejarah-program-card {
    padding: 2rem;
    min-height: 200px;
  }

  .sejarah-program-card-title {
    font-size: 1.25rem;
  }

  .sejarah-philosophy-section {
    padding: 5rem 4rem;
  }

  .sejarah-philosophy-container {
    padding-top: 250px;
  }

  .sejarah-philosophy-title {
    font-size: 3rem;
  }

  .sejarah-philosophy-content {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .sejarah-philosophy-logo-wrapper {
    width: 250px;
    height: 250px;
  }

  .sejarah-philosophy-text p {
    font-size: 1rem;
  }

  .sejarah-vision-mission-section {
    padding: 5rem 4rem;
  }

  .sejarah-vision-mission-title {
    font-size: 3rem;
  }

  .sejarah-vision-mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sejarah-card-title {
    font-size: 1.875rem;
  }

  .sejarah-vision-content,
  .sejarah-mission-list p {
    font-size: 1.125rem;
  }

  .sejarah-footer-container {
    padding: 3rem 4rem;
  }

  .sejarah-footer-section-title {
    font-size: 1.125rem;
  }

  .sejarah-footer-description,
  .sejarah-footer-nav-link,
  .sejarah-footer-text,
  .sejarah-footer-social-link,
  .sejarah-footer-copyright p {
    font-size: 0.875rem;
  }
}

/* Responsive Styles - lg (1024px) */
@media (min-width: 1024px) {
  .sejarah-hero-title {
    font-size: 3.75rem;
  }

  .sejarah-program-cards {
    gap: 1.5rem;
  }

  .sejarah-philosophy-content {
    gap: 3rem;
  }

  .sejarah-footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .sejarah-footer-logo-section {
    grid-column: span 1;
  }
}

/* Responsive Styles - xl (1280px) */
@media (min-width: 1280px) {
  .sejarah-hero-title {
    font-size: 4.5rem;
  }
}
