/* ========================================
   STT Pancasilacitta - Official Website
   Colors: Dark Blue (#0A2540) + Gold (#C9A227)
   Theme: Academic, Trustworthy, Modern, Welcoming
======================================== */

:root {
  --primary: #0A2540;
  --primary-dark: #061828;
  --primary-light: #12365a;
  --gold: #C9A227;
  --gold-light: #e0bc4a;
  --gold-dark: #a8861c;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-100: #f1f3f6;
  --gray-200: #e4e7ec;
  --gray-600: #4a5568;
  --gray-800: #1a202c;
  --text: #2d3748;
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--off-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
  background: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.header-top {
  background: var(--primary-dark);
  padding: 8px 0;
  font-size: 0.85rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-top a {
  color: var(--gold-light);
}

.header-top a:hover {
  color: var(--white);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.logo-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--gold);
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-tag {
  display: inline-block;
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(201,162,39,0.4);
}

.hero h2 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--white);
}

.hero h2 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .subtitle {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.1rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--gray-600);
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.8);
}

.section-gray {
  background: var(--gray-100);
}

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--gold);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.18);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ========== SAPTA SAKA ========== */
.sapta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.sapta-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sapta-number {
  min-width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.sapta-item p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

/* ========== NEWS CARDS ========== */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 2.5rem;
}

.news-card-body {
  padding: 22px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ========== PRODI ========== */
.prodi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--gold);
  transition: var(--transition);
}

.prodi-card:hover {
  box-shadow: 0 10px 30px rgba(10,37,64,0.15);
}

.prodi-card h3 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.prodi-badge {
  display: inline-block;
  background: rgba(201,162,39,0.15);
  color: var(--gold-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

/* ========== TIMELINE / ALUR ========== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 36px;
}

.timeline-dot {
  position: absolute;
  left: 10px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: var(--gold);
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
}

.timeline-item h4 {
  color: var(--primary);
  margin-bottom: 6px;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--gold);
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer p, .footer li {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.page-hero p {
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: var(--gold);
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: var(--gold);
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.highlight-box {
  background: linear-gradient(135deg, rgba(10,37,64,0.05), rgba(201,162,39,0.08));
  border-left: 4px solid var(--gold);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 30px 0;
}

.list-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  .hero {
    padding: 60px 0 70px;
  }
  .hero h2 {
    font-size: 1.8rem;
  }
  .section {
    padding: 50px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .navbar {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.55rem;
  }
  .btn {
    width: 100%;
  }
  .hero-buttons {
    flex-direction: column;
  }
}