/* ==========================================
   PRODJOST ACADEMY - STYLESHEET
   ========================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Fraunces:wght@400;600;700&display=swap");

/* Root Variables */
:root {
  /* Font Family */
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;

  /* Color Palette - Teal */
  --teal-50: #e6f4f2;
  --teal-100: #c0e5df;
  --teal-500: #0f766e;
  --teal-600: #0d6b63;
  --teal-700: #0a5850;
  --teal-800: #07453e;
  --teal-900: #052e28;

  /* Color Palette - Slate */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;

  /* Accent & White */
  --white: #ffffff;
  --accent: #1db4a8;

  /* Design Tokens */
  --nav-h: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   GENERAL STYLES
   ========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--slate-700);
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================
   NAVBAR
   ========================================== */

.navbar {
  background-color: var(--white);
  height: var(--nav-h);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--slate-900);
  flex-shrink: 0;
}

.logo-dot {
  width: 28px;
  height: 28px;
  background-color: var(--teal-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.nav-menu {
  display: flex;
  gap: 0;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-500);
  background-color: rgba(15, 118, 110, 0.08);
}

.nav-cta {
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-cta:hover {
  background-color: #18a09a;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.375rem;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background-color: var(--slate-700);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ==========================================
   PAGE HERO (for non-index pages)
   ========================================== */

.page-hero {
  background-color: var(--teal-900);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.page-hero .section-eyebrow {
  color: var(--teal-100);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto;
}

/* ==========================================
   SECTION PATTERNS
   ========================================== */

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* ==========================================
   CARD PATTERNS
   ========================================== */

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--accent));
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--teal-700);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.825rem;
  color: var(--slate-400);
  font-weight: 500;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.875rem 1rem;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--teal-700);
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}

.btn-primary:hover {
  background: #18a09a;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--teal-600);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--teal-500);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.btn-outline:hover {
  background: var(--teal-50);
}

/* ==========================================
   FORM STYLES
   ========================================== */

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: all 0.15s ease;
  background-color: var(--slate-50);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal-500);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.form-group.checkbox input {
  width: auto;
  margin: 0;
}

.form-group.checkbox label {
  margin-bottom: 0;
}

.required {
  color: #e74c3c;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: var(--slate-900);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .logo {
  font-weight: 700;
  color: var(--white);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-brand .logo .logo-dot {
  flex-shrink: 0;
}

.footer-brand p {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--teal-500);
  color: var(--white);
}

.footer-section h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section ul a:hover {
  color: var(--white);
}

.footer-section p {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-admin-link {
  font-size: 0.75rem;
  color: #1db4a8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  transition: color 0.15s;
}

.footer-admin-link:hover {
  color: #0f766e;
}

/* ==========================================
   CARD ICON, TITLE, DESC
   ========================================== */

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.card-title {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 0.4rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ==========================================
   GRID LAYOUTS
   ========================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.visi-misi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

/* ==========================================
   FORM SECTION & LAYOUT
   ========================================== */

.form-section {
  padding: 6rem 2rem;
  background: var(--slate-50);
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.form-info-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin: 1rem 0 1.75rem;
}

.form-contact-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--slate-600);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
}

.form-contact-hint i {
  color: var(--teal-500);
  font-size: 1rem;
}

.form-card {
  padding: 2rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--slate-900);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ==========================================
   MISSION LIST STYLING
   ========================================== */

.misi-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.misi-list li {
  display: flex;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.misi-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ==========================================
   RESPONSIVE - TABLET (768px)
   ========================================== */

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--slate-200);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .page-hero {
    padding: 4rem 1.5rem;
  }

  .page-hero-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  section {
    padding: 4rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .visi-misi-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================
   RESPONSIVE - MOBILE (480px)
   ========================================== */

@media (max-width: 480px) {
  .nav-logo {
    font-size: 0.9rem;
  }

  .logo-dot {
    width: 24px;
    height: 24px;
    font-size: 0.875rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .page-hero {
    padding: 3rem 1rem;
  }

  .page-hero-title {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 2vw, 2rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }
}
