* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-yellow: #ffd936;
  --accent-gold: #dab200;
  --forest-green: #536942;
  --light-cream: #f6f8f5;
  --white: #ffffff;
  --dark: #1a1a1a;
  --gray: #666;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 20px 0;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header.scrolled .logo a {
  color: var(--dark);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-yellow);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header.scrolled .nav-link {
  color: var(--dark);
}

.nav-link:hover {
  color: var(--primary-yellow);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

.header.scrolled .mobile-toggle span {
  background-color: var(--dark);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://cdn.pixabay.com/photo/2023/12/04/16/12/industry-8429764_1280.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}

.hero-tagline {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--primary-yellow);
  font-weight: 600;
}

.hero-title {
  font-size: 65px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.cta-button {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  background-color: var(--primary-yellow);
  border: 2px solid var(--primary-yellow);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: transparent;
  color: var(--primary-yellow);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 217, 54, 0.3);
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray);
}

/* ==========================About SECTION========================== */

.about {
  background-color: var(--light-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.about-card {
  text-align: center;
  padding: 40px;
  background-color: var(--white);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--forest-green);
}

.about-card p {
  color: var(--gray);
  line-height: 1.8;
}

/* ==========================COMPANY SECTION========================== */

.company {
  background-color: var(--white);
}

.company-grid {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 60px;
  align-items: center;
}

.company-text p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.company-stats {
  display: flex;
  gap: 30px;
  flex-direction: column;
}

.stat-item {
  padding: 25px;
  background-color: var(--light-cream);
  border-left: 5px solid var(--primary-yellow);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ==========================SUBSIDIARIES LOGO STRIP========================== */

.subsidiaries {
  margin-top: 80px;
  text-align: center;
}

.subsidiary-title {
  font-size: 28px;
  margin-bottom: 50px;
  color: var(--forest-green);
}

.subsidiary-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.subsidiary-card {
  width: 250px;              /* batas lebar tiap logo */
  height: 120px;             /* tinggi konsisten */
  display: flex;
  align-items: center;
  justify-content: center;
}

.subsidiary-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.subsidiary-card img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}


.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.stat-item h3 {
  font-size: 32px;
  margin-bottom: 5px;
  color: var(--forest-green);
}

.stat-item p {
  color: var(--gray);
}


.product-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.1);
}

.product-info {
  padding: 30px;
}

.product-info h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark);
}

.product-info p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.8;
}

.product-button {
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background-color: var(--forest-green);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-button:hover {
  background-color: var(--primary-yellow);
  color: var(--dark);
  transform: translateX(5px);
}

.services {
  background-color: var(--light-cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-item {
  padding: 40px 30px;
  background-color: var(--white);
  border-left: 4px solid var(--primary-yellow);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.service-item:hover {
  border-left-width: 8px;
  padding-left: 34px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--forest-green);
}

.service-item p {
  color: var(--gray);
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--forest-green);
}

.contact-item p {
  color: var(--gray);
  line-height: 1.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.contact-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-yellow);
}

.submit-button {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background-color: var(--forest-green);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: var(--primary-yellow);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(83, 105, 66, 0.3);
}

.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-yellow);
}

@media (max-width: 968px) {
  .mobile-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    padding: 100px 40px 40px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .nav-link {
    color: var(--dark);
    font-size: 18px;
  }

  .hero-title {
    font-size: 48px;
  }

  .company-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title {
    font-size: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-tagline {
    font-size: 12px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .about-grid,
  .product-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
}
