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

html {
  scroll-behavior: smooth;
}

:root {
  --primary-dark: #1e3a5f;
  --primary-light: #2d5a8c;
  --accent: #3b82f6;
  --white: #ffffff;
  --light-gray: #f8fafb;
  --medium-gray: #e5e7eb;
  --dark-gray: #6b7280;
  --text-dark: #1a2642;
  --text-light: #6b7280;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--medium-gray);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

@media (prefers-color-scheme: dark) {
    .logo {
        content: url("assets/img/logo-putih.svg");
    }
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  /* Logo is now an image */
  height: 50px;
  object-fit: contain;
  content: url("assets/img/logo.svg");
}

.logo:hover {
  color: var(--accent);
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-dark);
}

/* === ACTIVE LINK STYLE === */
.nav-link.active {
  font-weight: 700;
  color: var(--primary-dark);
}

/* === RESPONSIVE NAVBAR === */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .nav-container {
    position: relative;
    height: 70px;
    padding: 0 15px;
  }

  .menu-toggle {
    display: block;
  }

  .logo {
    height: 40px; /* sebelumnya 50px */
    transition: all 0.3s ease;
  }

  .nav-links {
    position: absolute;
    top: 70px; /* muncul tepat di bawah navbar */
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background-color: var(--white);
    border-top: 1px solid var(--medium-gray);
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    z-index: 999; /* pastikan di atas konten */
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .nav-link {
    font-size: 16px;
  }

  /* Active state di mobile tetap sama */
  .nav-link.active {
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
  }
}


/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  margin-top: 70px;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Hero background now includes background image with gradient overlay */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
}

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

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Added styles for hero buttons container and secondary button */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-down {
  animation: slideDown 0.8s ease-out 0.2s both;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out 0.4s both;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out 0.6s both;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animation for multiple elements */
.fade-in-up:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in-up:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in-up:nth-child(3) {
  animation-delay: 0.3s;
}
.fade-in-up:nth-child(4) {
  animation-delay: 0.4s;
}
.fade-in-up:nth-child(5) {
  animation-delay: 0.5s;
}
.fade-in-up:nth-child(6) {
  animation-delay: 0.6s;
}
.fade-in-up:nth-child(7) {
  animation-delay: 0.7s;
}
.fade-in-up:nth-child(8) {
  animation-delay: 0.8s;
}
.fade-in-up:nth-child(9) {
  animation-delay: 0.9s;
}

/* Buttons */
.btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Sections */
.section {
  padding: 80px 20px;
}

.section-title {
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-light);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* About Section */
.about {
  background-color: var(--white);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.founder-card {
  background-color: var(--light-gray);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--medium-gray);
  transition: all 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.founder-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.founder-card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 25px;
}

.card-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.card-content .title {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 15px;
}

.card-content .bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
}

/* Services Section */
.services {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: var(--light-gray);
  padding: 35px 25px;
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
  transform: translateY(-8px);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.15);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Why Choose Us Section */
.why-us {
  background-color: var(--light-gray);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 2fr));
  gap: 16px;
  margin-bottom: 32px;
}

.reason-card {
  display: flex;
  gap: 20px;
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
  transition: all 0.3s ease;
}

.reason-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.reason-icon {
  font-size: 36px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.reason-card:hover .reason-icon {
  transform: scale(1.2);
}

.reason-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.reason-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.highlight-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: var(--white);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  box-shadow: 0 8px 30px rgba(30, 58, 95, 0.3);
}

/* Vision & Mission Section */
.vision-mission {
  background-color: var(--white);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.vision-box{
  background-color: var(--light-gray);
  padding: 40px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.mission-box {
  background-color: var(--light-gray);
  padding: 40px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.vision-box:hover,
.mission-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.15);
}

.vision-box h3,
.mission-box h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary-dark);
}

.vision-box p,
.mission-box p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light);
}

.mission-list {
  list-style: none;
  padding: 0;
}

.mission-list li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.mission-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}

/* Service Scope Section */
.service-scope {
  background-color: var(--light-gray);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.scope-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
  text-align: center;
  transition: all 0.3s ease;
}

.scope-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
  transform: translateY(-8px);
}

.scope-icon {
  font-size: 44px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.scope-card:hover .scope-icon {
  transform: scale(1.2) rotate(5deg);
}

.scope-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.scope-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Team Section */
.team {
  background-color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-card {
  background-color: var(--light-gray);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--medium-gray);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.08);
}

.team-card h3 {
  font-size: 18px;
  font-weight: 700;
  padding: 20px 20px 8px;
  color: var(--primary-dark);
}

.team-card p {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  padding: 0 20px 20px;
}

/* Added styles for profile button on team cards
.btn-profile {
  background-color: var(--accent);
  color: var(--white);
  width: 100%;
  margin-top: 12px;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
} */

.btn-profile:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Added styles for team card hidden state and expand button */
.team-card-hidden {
  display: none;
}

.team-card-hidden.visible {
  display: block;
}

.btn-expand {
  background-color: var(--primary-dark);
  color: var(--white);
  border: 2px solid var(--primary-dark);
  box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-expand:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
}

.btn-expand.collapsed::after {
  content: "";
}

/* Contact Section */
.contact {
  background-color: var(--light-gray);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.contact-info-card {
  background-color: var(--white);
  padding: 35px;
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.15);
  border-color: var(--accent);
}

.info-icon {
  font-size: 44px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.contact-info-card:hover .info-icon {
  transform: scale(1.2);
}

.contact-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.contact-info-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* Contact Form */
.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
  max-width: 100%;
  
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  background-color: var(--white);
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
  resize: none;
}

.contact-form .btn {
  width: 100%;
  margin-top: 10px;
}

/* Grid 3 atas (tetap sama) */
.top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

/* Grid 2 bawah */
.contact-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

/* WA Card */
.wa-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.wa-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.15);
  border-color: var(--accent);
}

/* WA Button */
.btn-wa {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 20px;
  border-radius: 8px;
  background-color: #25D366; /* hijau WA */
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-wa:hover {
  background-color: #1ebe5d;
}

/* Responsif */
@media (max-width: 768px) {
  .contact-bottom-grid {
    grid-template-columns: 1fr;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .top-grid {
    grid-template-columns: 1fr;
  }

  .contact-bottom-grid {
    grid-template-columns: 1fr;
  }
}


/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 60px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px;
  }

  .footer-grid {
    gap: 30px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-title {
    font-size: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .reasons-grid,
  .team-grid,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
}

:root {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
  }
}

