/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

.bg-light {
  background-color: #f9f9f9;
}

.text-center {
  text-align: center;
}

/* General Components */
.section-header,
.section-header-left {
  margin-bottom: 50px;
}

.section-header {
  text-align: center;
}

.section-header-left {
  text-align: left;
}

.section-header h2,
.section-header-left h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #0f1e3d;
  margin-bottom: 10px;
}

.underline {
  height: 4px;
  width: 60px;
  background-color: #f7a01b;
}
.section-header .underline {
  margin: 0 auto;
}
.section-header-left .underline {
  margin: 0;
}

.btn-primary {
  background-color: #f7a01b;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #e59016;
  transform: translateY(-2px);
}

.page-header {
  background: linear-gradient(to right, rgba(15, 30, 61, 0.85), rgba(15, 30, 61, 0.65)),
    url("https://storage.googleapis.com/www.digiform.co.id/assets/images/banner.png") no-repeat center center / cover;
  color: white;
  padding: 140px 0 80px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 30, 61, 0.85), rgba(15, 30, 61, 0.65));
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 600px;
  color: white;
}

.hero-content img {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Home Page Sections */
.home-section {
  padding: 80px 0;
}

.home-about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.home-about-text p {
  margin-bottom: 30px;
}

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

.service-item-home {
  text-align: center;
}

.service-item-home .service-icon {
  width: 80px;
  height: 80px;
  background-color: #f7a01b;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.service-item-home h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f1e3d;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.partner-logos img {
  max-height: 60px;
  width: auto;
  max-width: 150px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* About Page */
.about-page-section {
  padding: 80px 0;
}

.about-content,
.folklores-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.folklores-content {
  grid-template-columns: 1fr 1fr;
}

.folklores-content .folklores-text {
  grid-column: 1;
  grid-row: 1;
}

.folklores-content .folklores-image {
  grid-column: 2;
  grid-row: 1;
}

.about-text p,
.folklores-text p {
  margin-bottom: 20px;
}

.mission {
  padding: 80px 0;
  text-align: center;
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
}

.mission-icon {
  width: 100px;
  height: 100px;
  background-color: #f7a01b;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px;
  font-size: 3rem;
}

.mission-content h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #0f1e3d;
}

/* Services Page */
.services-page-section {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-item {
  text-align: center;
  padding: 40px 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #f7a01b;
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: #f7a01b;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.service-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 20px 0 15px;
  color: #0f1e3d;
}

/* Expertise Page */
.expertise-page-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.tech-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}

.tech-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0f1e3d;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.tech-card h3 i {
  color: #f7a01b;
  margin-right: 15px;
  font-size: 1.5rem;
}

.tech-card ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-card li {
  background-color: #f0f0f0;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Customers Page */
.customer-page-section {
  padding: 80px 0;
}

.customer-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.customer-category-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
}

.category-header {
  background-color: #f7a01b;
  padding: 10px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: inline-block;
}

.category-header h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.customer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.customer-logos img {
  height: 45px;
  width: auto;
  max-width: 130px;
  transition: transform 0.3s ease;
}
.customer-logos img:hover {
  transform: scale(1.05);
}

/* Partners Page */
.partners-page-section {
  padding: 80px 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  align-items: center;
}

.partner-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  transition: all 0.3s ease;
}
.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partner-item img {
  max-width: 80%;
  max-height: 60px;
}

/* Contact Page */
.contact-page-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-form h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #0f1e3d;
  margin-bottom: 15px;
}

.contact-form p {
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .home-about-content,
  .about-content,
  .folklores-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .folklores-content .folklores-image {
    grid-row: 1;
  }
  .folklores-content .folklores-text {
    grid-row: 2;
  }
  .page-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-content {
    text-align: center;
  }
  .section-header h2,
  .section-header-left h2,
  .mission-content h2 {
    font-size: 1.8rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .page-header h1 {
    font-size: 2rem;
  }
}
