:root {
  --primary: #0E21A0;
  --secondary: #4D2FB2;
  --accent: #B153D7;
  --pink: #F375C2;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --text: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

/* Navbar */
.navbar {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  font-weight: bold;
  font-size: 1.3rem;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 20px;
  transition: background 0.3s;
  font-weight: 500;
}

.nav-menu a.active,
.nav-menu a:hover {
  background: var(--accent);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.4s;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--pink));
  color: white;
  padding: 80px 0;
  text-align: center;
  clip-path: ellipse(100% 55% at 50% 40%);
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn-primary {
  background: var(--pink);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: var(--accent);
}

/* Main Content */
.main-content {
  min-height: 70vh;
  padding: 20px 0;
}

/* Cards */
.card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(14,33,160,0.1);
  transition: transform 0.3s;
  margin-bottom: 30px;
  border: 1px solid rgba(255,255,255,0.3);
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

/* Footer */
.footer {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--pink);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li a {
  color: #e0e0ff;
  text-decoration: none;
  line-height: 2;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--pink);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--primary);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 20px 0;
  }
  .nav-menu.active {
    left: 0;
  }
  .menu-toggle {
    display: flex;
  }
}
/* ------ DIP SECTION ------ */
.section-title {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555;
}

.dip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.dip-card {
  background: white;
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(14, 33, 160, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 5px solid var(--primary);
}

.dip-card:nth-child(2) {
  border-top-color: var(--accent);
}

.dip-card:nth-child(3) {
  border-top-color: var(--pink);
}

.dip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 33, 160, 0.12);
}

.dip-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.dip-card:nth-child(2) .dip-icon {
  color: var(--accent);
}

.dip-card:nth-child(3) .dip-icon {
  color: var(--pink);
}

.dip-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.dip-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

.btn-outline {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ------ LAYANAN GRID ------ */
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.layanan-card {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  border-radius: 20px;
  padding: 25px 20px;
  text-align: center;
  transition: transform 0.3s;
  box-shadow: 0 8px 20px rgba(77, 47, 178, 0.2);
}

.layanan-card i {
  font-size: 2rem;
  margin-bottom: 12px;
}

.layanan-card h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.btn-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  background: rgba(255,255,255,0.2);
  padding: 8px 18px;
  border-radius: 30px;
  display: inline-block;
  transition: background 0.3s;
}

.btn-link:hover {
  background: rgba(255,255,255,0.4);
}