/* ===== VARIABLES & BASE STYLES ===== */
:root {
  --primary: #1a3a8f;       /* Warna biru tua */
  --primary-light: #2b6cb0; /* Biru sedang */
  --secondary: #d69e2e;     /* Emas */
  --secondary-light: #ecc94b; /* Emas muda */
  --dark: #1a202c;         /* Biru tua gelap */
  --light: #f7fafc;        /* Abu-abu sangat muda */
  --neutral: #e2e8f0;      /* Abu-abu netral */
  --neutral-dark: #4a5568; /* Abu-abu gelap */
  --white: #ffffff;
  --off-white: #f8fafc;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--off-white);
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--dark);
  padding: 0.9rem 2.2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(214, 158, 46, 0.3);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(214, 158, 46, 0.4);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  z-index: 1000;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo::before {
  content: "🌿";
  font-size: 1.8rem;
  color: var(--secondary);
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transform-origin: 40% 100%; /* Titik putar di pangkal daun */
  animation: 
    leafSwing 0.65s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite alternate;
}

@keyframes leafSwing {
  0% {
    transform: 
      rotate(-25deg) 
      scale(1.05)
      translateX(2px);
  }
  50% {
    transform: 
      rotate(28deg) 
      scale(0.98)
      translateX(-4px)
      translateY(-2px);
  }
  100% {
    transform: 
      rotate(-22deg) 
      scale(1.03)
      translateX(3px);
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links li a {
  color: var(--dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a:focus::after {
  width: 100%;
}

.nav-links li a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  transition: var(--transition);
}

.menu-toggle:hover {
  color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(rgba(26, 58, 143, 0.7), rgba(26, 58, 143, 0.7)), 
              url('https://images.unsplash.com/photo-1473496169904-658ba7c44d8a') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 10rem 1rem;
  margin-top: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease;
  line-height: 1.1;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

/* ===== MAIN SECTIONS ===== */
.section {
  padding: 6rem 2rem;
}

.section h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* ABOUT SECTION */
.section-about {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--neutral-dark);
  line-height: 1.8;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* LEADERSHIP SECTION */
.section-leadership {
  background: var(--light);
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.leader-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.leader-image {
  height: 300px;
  overflow: hidden;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.leader-card:hover .leader-image img {
  transform: scale(1.1);
}

.leader-info {
  padding: 1.5rem;
  text-align: center;
}

.leader-position {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.leader-message {
  padding: 1.5rem;
  background: rgba(43, 108, 176, 0.05);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.leader-message h4 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* VISION MISSION */
.vision-mission {
  max-width: 1200px;
  margin: 4rem auto 0;
}

.vm-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.vision, .mission {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.vision h4, .mission h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.mission ul {
  list-style-type: none;
}

.mission li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--neutral-dark);
}

.mission li::before {
  content: "•";
  color: var(--secondary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* ACHIEVEMENTS */
.achievements {
  max-width: 1200px;
  margin: 4rem auto 0;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.achievement-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.achievement-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.achievement-item p {
  font-weight: 500;
  color: var(--dark);
}

/* STATS SECTION */
.section-stats {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}

.section-stats h2 {
  color: var(--white);
}

.section-stats h2::after {
  background: var(--secondary);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-light);
}

.stat-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.stat-info p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* MAP SECTION */
.section-map {
  background: var(--white);
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 450px;
}

/* FEATURES SECTION */
.section-features {
  background: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.feature {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature p {
  font-size: 1.05rem;
  color: var(--neutral-dark);
}

/* GALLERY SECTION */
.section-gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  text-align: left;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* CONTACT SECTION */
.section-contact {
  background: var(--light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.contact-info {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary);
  min-width: 30px;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 143, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* FOOTER */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-about h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.footer-about p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: translateY(-5px);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-light);
  padding-left: 5px;
}

.footer-contact ul {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-contact i {
  color: var(--secondary);
  min-width: 20px;
}

.footer-bottom {
  margin-top: 4rem;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.7rem;
  }
  
  .section {
    padding: 5rem 1.5rem;
  }
  
  .about-content,
  .leadership-grid,
  .vm-container,
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .leader-image {
    height: 350px;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: var(--shadow);
    z-index: 999;
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero {
    padding: 8rem 1rem;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .nav-container {
    padding: 0 1.5rem;
  }
  
  .logo {
    font-size: 1.6rem;
  }
  
  .hero {
    padding: 7rem 1rem;
    margin-top: 70px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 4rem 1rem;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}
