:root {
  --primary-blue: #1e3a8a;
  --secondary-blue: #3b82f6;
  --light-blue: #60a5fa;
  --lighter-blue: #93c5fd;
  --lightest-blue: #dbeafe;
  --dark-blue: #1e40af;
  --gradient-1: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  --gradient-2: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  --gradient-3: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  --white: #ffffff;
  --light-gray: #f8fafc;
  --gray: #64748b;
  --dark-gray: #334155;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(30, 58, 138, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--light-gray);
}

/* ============================================
   NAVBAR / HEADER
   ============================================ */
.navbar {
  background: var(--gradient-1);
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
}

.nav-brand h1 {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nav-menu a.active {
  background-color: var(--white);
  color: var(--primary-blue);
}

.nav-menu a img {
  width: 20px;
  height: 20px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-menu.mobile-active {
  display: flex;
}

/* ============================================
   HERO SLIDER SECTION
   ============================================ */
.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--gradient-2);
}

.hero-slider {
  position: relative;
  height: 100%;
  width: 100%;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 10;
  width: 80%;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--white);
  color: var(--primary-blue);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background-color: var(--lightest-blue);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 11;
}

.slider-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

.slider-dot.active {
  background-color: var(--white);
  transform: scale(1.3);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 2rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 11;
}

.slider-arrow:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.slider-arrow.prev {
  left: 30px;
}

.slider-arrow.next {
  right: 30px;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: 4rem 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-2);
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1.5rem auto 0;
}

/* ============================================
   ABOUT / PROFILE SECTION
   ============================================ */
.about-section {
  background-color: var(--white);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.about-content h3 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-align: justify;
  line-height: 1.8;
}

.about-info {
  background: var(--lightest-blue);
  padding: 1.5rem;
  border-radius: 15px;
  margin-top: 1.5rem;
  border-left: 5px solid var(--secondary-blue);
}

.about-info p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-info strong {
  color: var(--primary-blue);
  min-width: 120px;
}

/* ============================================
   VISION MISSION SECTION
   ============================================ */
.vision-mission-section {
  background: var(--light-gray);
}

.vm-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vm-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.2);
}

.vm-card h3 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vm-card h3 i {
  color: var(--secondary-blue);
}

.vm-card ul {
  list-style: none;
  padding: 0;
}

.vm-card ul li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--lightest-blue);
  color: var(--gray);
  font-size: 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.vm-card ul li:last-child {
  border-bottom: none;
}

.vm-card ul li::before {
  content: '✓';
  color: var(--secondary-blue);
  font-weight: bold;
  font-size: 1.3rem;
}

/* ============================================
   FEATURES / FITUR UNGGULAN SECTION
   ============================================ */
.features-section {
  background: var(--white);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border: 2px solid var(--lightest-blue);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-blue);
  background: var(--lightest-blue);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.feature-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--gradient-1);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.feature-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   STATISTICS / INFO CARDS
   ============================================ */
.stats-section {
  background: var(--gradient-1);
  padding: 3rem 5%;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ============================================
   ARTICLES SECTION
   ============================================ */
.articles-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.article-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-content {
  padding: 1.5rem;
}

.article-category {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: var(--lightest-blue);
  color: var(--primary-blue);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.article-content h3 {
  color: var(--primary-blue);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.article-content p {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--lightest-blue);
  color: var(--gray);
  font-size: 0.9rem;
}

.read-more {
  color: var(--secondary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--primary-blue);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--gradient-1);
  color: var(--white);
  padding: 3rem 5% 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  line-height: 2;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Tablets and Small Desktops (1024px and below) */
@media (max-width: 1024px) {
  .navbar {
    padding: 1rem 3%;
  }
  
  .nav-brand h1 {
    font-size: 1.5rem;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 3rem 3%;
  }
  
  .about-container,
  .vm-container {
    gap: 2rem;
  }
  
  .features-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 2%;
  }
  
  .nav-brand {
    flex: 1;
  }
  
  .nav-brand h1 {
    font-size: 1.3rem;
  }
  
  .brand-logo {
    height: 40px;
    width: 40px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-blue);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu a {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    border-radius: 0;
  }

  .hero-section {
    height: 400px;
  }
  
  .hero-content {
    width: 90%;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  .section {
    padding: 2.5rem 4%;
  }

  .section-title h2 {
    font-size: 2rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-content h3 {
    font-size: 1.7rem;
  }
  
  .about-content p {
    font-size: 1rem;
  }

  .vm-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .vm-card {
    padding: 2rem;
  }
  
  .vm-card h3 {
    font-size: 1.7rem;
  }
  
  .features-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 2rem;
  }
  
  .stats-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 1rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .slider-arrow {
    padding: 0.5rem;
    font-size: 1.5rem;
  }

  .slider-arrow.prev {
    left: 10px;
  }

  .slider-arrow.next {
    right: 10px;
  }
  
  .slider-dot {
    width: 12px;
    height: 12px;
  }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .navbar {
    padding: 0.8rem 3%;
  }
  
  .nav-brand h1 {
    font-size: 1.1rem;
  }
  
  .brand-logo {
    height: 35px;
    width: 35px;
  }
  
  .mobile-menu-toggle {
    font-size: 1.5rem;
  }
  
  .hero-section {
    height: 350px;
  }
  
  .hero-content h1 {
    font-size: 1.7rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .section {
    padding: 2rem 4%;
  }
  
  .section-title h2 {
    font-size: 1.7rem;
  }
  
  .section-title p {
    font-size: 0.95rem;
  }
  
  .about-content h3 {
    font-size: 1.5rem;
  }
  
  .about-content p {
    font-size: 0.95rem;
  }
  
  .about-info {
    padding: 1.2rem;
  }
  
  .about-info p {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  
  .vm-card {
    padding: 1.5rem;
  }
  
  .vm-card h3 {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .vm-card ul li {
    font-size: 0.95rem;
    padding: 0.8rem 0;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .feature-card h3 {
    font-size: 1.3rem;
  }
  
  .feature-card p {
    font-size: 0.95rem;
  }
  
  .stats-section {
    padding: 2rem 4%;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-card {
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .stat-label {
    font-size: 0.95rem;
  }
  
  .article-card {
    border-radius: 12px;
  }
  
  .article-image {
    height: 200px;
  }
  
  .article-content {
    padding: 1.2rem;
  }
  
  .article-content h3 {
    font-size: 1.2rem;
  }
  
  .article-content p {
    font-size: 0.95rem;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  footer {
    padding: 2rem 4% 1rem;
  }
  
  .footer-section h3 {
    font-size: 1.3rem;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.9rem;
  }
  
  .slider-arrow {
    padding: 0.4rem;
    font-size: 1.3rem;
  }
  
  .slider-arrow.prev {
    left: 5px;
  }
  
  .slider-arrow.next {
    right: 5px;
  }
  
  .slider-controls {
    bottom: 20px;
    gap: 10px;
  }
  
  .slider-dot {
    width: 10px;
    height: 10px;
  }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
  .navbar {
    padding: 0.7rem 2%;
  }
  
  .nav-brand h1 {
    font-size: 1rem;
  }
  
  .brand-logo {
    height: 32px;
    width: 32px;
  }
  
  .hero-section {
    height: 300px;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-content p {
    font-size: 0.85rem;
  }
  
  .hero-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .about-content h3,
  .vm-card h3 {
    font-size: 1.3rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
  text-align: center;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-3 {
  margin-top: 3rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
