/* PPGL FRONTEND STYLES */
:root {
  --dark: #1f2937;
  --dark-2: #111827;
  --card: #3a465d;
  --light: #f8fafc;
  --blue: #1e73be;
  --blue-dark: #0b3c6d;
  --yellow: #ffd200;
  --text: #e5e7eb;
  --muted: #cbd5e1;
  --body: #1f2937;
  --soft: #f1f5f9;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 999px;
}

body::-webkit-scrollbar-track {
  background: #1f2937;
}

a {
  text-decoration: none;
}

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

section {
  padding: 80px 0;
}

.center-heading {
  text-align: center;
  margin-bottom: 30px;
}

.center-text {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 28px;
  color: #475569;
}

/* HEADER */
header {
  padding: 18px 0;
  background:
    radial-gradient(
      circle at 18% 50%,
      rgba(30, 115, 190, 0.25),
      transparent 40%
    ),
    radial-gradient(circle at 82% 50%, rgba(11, 60, 109, 0.2), transparent 45%),
    linear-gradient(135deg, #e6c200, #cfae00);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(11, 60, 109, 0.18);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo img {
  height: 70px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--white);
}

/* HERO */
.hero {
  text-align: center;
  padding: 110px 20px;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(255, 255, 255, 0.25),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 210, 0, 0.35),
      transparent 50%
    ),
    linear-gradient(135deg, var(--dark), #1b2435);
}

.hero img {
  max-width: 280px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted);
  max-width: 760px;
  margin: auto;
  font-size: 1.08rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--yellow);
  color: var(--yellow);
}

.map-btn {
  color: var(--blue);
  border-color: var(--blue);
}

/* GENERAL CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  padding: 25px;
  border-radius: 20px;
  border-top: 4px solid var(--yellow);
}

.card:not(.service-card) {
  background: var(--card);
}

.card h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
}

/* SERVICE SLIDER */
.service-slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.service-slider-wrap::before,
.service-slider-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 5;
  pointer-events: none;
}

.service-slider-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark), rgba(47, 58, 79, 0));
}

.service-slider-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--dark), rgba(47, 58, 79, 0));
}

.service-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 24px 70px 42px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.service-slider::-webkit-scrollbar {
  display: none;
}

/* SERVICE CARDS */
.service-card {
  min-width: 300px;
  flex: 0 0 300px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    min-width 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 31, 54, 0.72),
    rgba(11, 60, 109, 0.45)
  );
  z-index: 1;
  pointer-events: none;
}

.service-card > * {
  position: relative;
  z-index: 2;
}

.service-card:hover {
  min-width: 380px;
  transform: translateY(-14px) scale(1.04);
  box-shadow: 0 30px 70px rgba(255, 210, 0, 0.22);
  border-color: var(--yellow);
}

/* BACKGROUND IMAGES */
.oilgas-bg {
  background-image: url("../images/oil_rig.jpg") !important;
}

.mining-bg {
  background-image: url("../images/mining.jpg") !important;
}

.procurement-bg {
  background-image: url("../images/procurement.jpg") !important;
}

.manpower-bg {
  background-image: url("../images/manpower.jpg") !important;
}

.epc-bg {
  background-image: url("../images/epc_support.jpg") !important;
}

.execution-bg {
  background-image: url("../images/execution_partner.jpg") !important;
}
.service-card h3 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 14px;
  color: #ffffff;
}

.service-card p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}
.service-card .more {
  display: block;
  margin-top: 16px;
  color: var(--yellow);
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s ease;
}

.service-card:hover .more {
  opacity: 1;
  transform: translateY(0);
}

.slider-controls {
  text-align: center;
  margin-top: 10px;
}

.slider-controls button {
  background: var(--yellow);
  color: #1f2937;
  border: none;
  padding: 10px 16px;
  margin: 0 6px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

/* SERVICE DETAIL */
.service-detail {
  display: none;
  padding: 90px 0;
  background: var(--dark);
}

.service-detail.active {
  display: block;
}

.service-detail-box {
  background: var(--white);
  color: var(--body);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.service-detail-box h2 {
  color: var(--blue-dark);
  margin-bottom: 15px;
}

.close-detail {
  margin-top: 25px;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

/* LIGHT SECTION */
.light-section {
  background: var(--white);
  color: var(--body);
}

.light-section h2 {
  color: var(--blue-dark);
}

.light-card {
  background: var(--soft);
  padding: 20px;
  border-radius: 20px;
  color: var(--body);
}

.light-card h3 {
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.light-card p {
  color: #475569;
}

/* CONTACT */
.contact-details {
  text-align: center;
  margin-bottom: 25px;
  color: #1f2937;
  line-height: 1.9;
}

.contact-details a {
  color: var(--blue);
  font-weight: 700;
}

.form {
  max-width: 600px;
  margin: auto;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font: inherit;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-message {
  margin-top: 14px;
  font-weight: 700;
  text-align: center;
}

.form-message.success {
  color: #0f766e;
}

.form-message.error {
  color: #b91c1c;
}

/* CTA */
.cta {
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.25),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(255, 210, 0, 0.38),
      transparent 50%
    ),
    linear-gradient(135deg, var(--blue), var(--blue-dark));
  padding: 60px;
  border-radius: 20px;
  text-align: center;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px 0;
  color: var(--muted);
}
/* STRATEGIC PARTNERSHIPS */
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.partner {
  background: var(--soft);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  color: var(--body);
  font-weight: 700;
  border: none;
  font: inherit;
}

.partner-card {
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  background: var(--blue);
  color: var(--white);
}

.partner-detail {
  display: none;
  margin-top: 25px;
  position: relative;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.25),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(255, 210, 0, 0.38),
      transparent 50%
    ),
    linear-gradient(135deg, #0b3c6d, #041f36);
  padding: 25px;
  border-radius: 20px;
  border-left: 5px solid var(--yellow);
  box-shadow: 0 24px 60px rgba(11, 60, 109, 0.35);
  color: #ffffff !important;
}

.partner-detail.active {
  display: block;
}

.partner-detail,
.partner-detail h2,
.partner-detail p,
#partnerTitle,
#partnerInfo {
  color: #ffffff !important;
}

.partner-detail h2,
#partnerTitle {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.partner-detail p,
#partnerInfo {
  line-height: 1.7;
  font-weight: 500;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.about-box {
  background: var(--soft);
  padding: 28px;
  border-radius: 22px;
  border-left: 6px solid var(--yellow);
}

.about-box h3 {
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.about-box p {
  color: #475569;
}

.members-heading {
  margin-top: 55px;
}

/* TEAM MEMBERS */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.team-card {
  background: var(--soft);
  padding: 24px;
  border-radius: 20px;
  border: none;
  border-top: 4px solid var(--blue);
  font: inherit;
  text-align: left;
}

.team-card h3 {
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.team-role {
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.member-card {
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(30, 115, 190, 0.18);
  border-top-color: var(--yellow);
}

/* MEMBER PROFILE DETAIL */
.member-detail {
  display: none;
  margin-top: 35px;
  position: relative;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 255, 255, 0.22),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 210, 0, 0.38),
      transparent 50%
    ),
    linear-gradient(135deg, #0b3c6d, #041f36);
  border-radius: 24px;
  padding: 30px;
  border-left: 6px solid var(--yellow);
  box-shadow: 0 28px 70px rgba(11, 60, 109, 0.45);
  color: #ffffff;
}

.member-detail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 24px;
  pointer-events: none;
}

.member-detail .member-content {
  position: relative;
  z-index: 2;
}

.member-detail.active {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  animation: memberProfileReveal 0.45s ease forwards;
}

@keyframes memberProfileReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.member-detail.active .member-image {
  animation: memberImagePop 0.55s ease forwards;
}

@keyframes memberImagePop {
  0% {
    opacity: 0;
    transform: scale(0.85) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.member-image {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: cover;
  background: #e5e7eb;
  flex: 0 0 120px;
  z-index: 2;
}

.member-content {
  flex: 1;
}

.member-detail h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.member-detail h3 {
  color: var(--yellow);
}

.member-detail p {
  color: #ffffff !important;
  font-weight: 500;
  line-height: 1.8;
  white-space: pre-line;
}

/* MOBILE */
@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero img,
  .logo img {
    max-width: 240px;
    height: auto;
  }

  .service-card {
    min-width: 280px;
    flex: 0 0 280px;
  }

  .service-card:hover {
    min-width: 280px;
    transform: translateY(-8px) scale(1.02);
  }
}
