:root {
  --primary: #ff6b00;
  --secondary: #ff8e00;
  --accent: #ffa940;
  --light: #fff8f2;
  --dark: #2a1610;
  --text-main: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --border: #e5e7eb;
  --gradient-main: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--secondary) 100%
  );
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background-color: var(--light);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 10px;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 107, 0, 0.4);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
  border: 2px solid var(--primary);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo i {
  color: var(--secondary);
  font-size: 2rem;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--secondary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--dark);
  font-size: 1.75rem;
  cursor: pointer;
  z-index: 1001; /* di atas nav-links */
}

/* Hero Section */
.hero {
  padding: 180px 0 120px;
  background: linear-gradient(
    135deg,
    rgba(255, 142, 0, 0.03) 0%,
    rgba(255, 107, 0, 0.05) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 142, 0, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 0;
}

.hero-content {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 107, 0, 0.08);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 24px;
  font-family: "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-badge i {
  color: var(--secondary);
  font-size: 1.2rem;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--dark);
}

.hero h1 span {
  color: var(--secondary);
  display: block;
  margin-top: 8px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* General Sections */
section {
  padding: 120px 0;
  background: var(--white);
}

section:nth-child(even) {
  background: var(--light);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header .subtitle {
  color: var(--secondary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 16px;
  font-family: "Outfit", sans-serif;
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  font-size: 1.15rem;
  margin-bottom: 24px;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-text .highlight-text {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 30px;
}

.tagline-box {
  background: var(--gradient-main);
  padding: 32px;
  border-radius: var(--radius-md);
  color: var(--white);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tagline-box i {
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 120px;
  opacity: 0.1;
}

.tagline-box h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.vm-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.vm-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.vm-card h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--light);
  padding-bottom: 16px;
}

.vm-card h3 i {
  color: var(--white);
  background: var(--secondary);
  padding: 10px;
  border-radius: 12px;
  font-size: 1.5rem;
}

.vm-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.vm-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--white);
  background: var(--primary);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Programs Section */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.program-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 107, 0, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}

.program-card:hover .program-icon {
  background: var(--secondary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--dark);
  font-weight: 700;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.program-tags span {
  background: var(--light);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.program-card:hover .program-tags span:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  cursor: default;
}

/* Facilities */
#fasilitas.facilities {
  background: var(--gradient-main);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.facilities::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=");
  opacity: 0.5;
}

.facilities .section-header h2 {
  color: var(--white);
}

.facilities .container {
  position: relative;
  z-index: 2;
}

.fac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.fac-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.fac-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.fac-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--white);
  display: inline-block;
  transition: var(--transition);
}

.fac-item:hover .fac-icon {
  transform: scale(1.1);
}

.fac-item h4 {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Locations */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.loc-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.loc-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.loc-content {
  padding: 40px;
  flex-grow: 1;
}

.loc-type {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: "Outfit", sans-serif;
  letter-spacing: 1px;
}

.loc-main .loc-type {
  background: rgba(255, 142, 0, 0.1);
  color: var(--secondary);
}

.loc-branch .loc-type {
  background: rgba(255, 107, 0, 0.1);
  color: var(--primary);
}

.loc-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--dark);
  font-weight: 800;
}

.loc-card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  line-height: 1.6;
}

.loc-card p i {
  color: var(--primary);
  font-size: 1.5rem;
  margin-top: 2px;
}

.loc-action {
  padding: 24px 40px;
  background: var(--light);
  border-top: 1px solid var(--border);
}

.loc-action a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
}

.loc-action a:hover {
  color: var(--secondary);
  gap: 12px;
}

/* Clients */
.clients {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.clients h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.client-marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.client-marquee::before,
.client-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.client-track {
  display: inline-block;
  animation: marquee 40s linear infinite;
}

.client-track:hover {
  animation-play-state: paused;
}

.client-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  padding: 16px 32px;
  margin: 0 16px;
  border-radius: 12px;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  color: var(--dark);
  border: 1px solid var(--border);
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: default;
}

.client-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
  color: var(--primary);
  border-color: var(--primary);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* CTA Section */
#kontak.cta {
  background: var(--gradient-main);
  color: var(--white);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.15;
  top: -200px;
  right: -200px;
  filter: blur(80px);
}

.cta::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.15;
  bottom: -100px;
  left: -100px;
  filter: blur(60px);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 24px;
}

.cta p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 60px;
  line-height: 1.8;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  min-width: 250px;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
}

.contact-info {
  text-align: left;
}

.contact-info span {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-info a {
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  font-family: "Outfit", sans-serif;
  transition: var(--transition);
}

.contact-info a:hover {
  color: var(--secondary);
}

/* Footer */
footer {
  background: #0a192f;
  padding: 40px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .loc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .hero {
    padding: 130px 0 60px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }

  section {
    padding: 80px 0 !important; /* ensures specificity over main section rules */
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tagline-box {
    padding: 24px;
  }

  .tagline-box h3 {
    font-size: 1.5rem;
  }

  .vm-card {
    padding: 24px;
  }

  .loc-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    padding: 32px 24px;
  }

  .cta {
    padding: 80px 0 !important;
  }

  .cta h2 {
    font-size: 2rem !important;
  }

  .cta p {
    margin-bottom: 40px;
  }

  .contact-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-card {
    justify-content: flex-start;
    text-align: left;
    flex-direction: row;
    gap: 16px;
  }

  .contact-info {
    text-align: left;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
