@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --c-dark: #3c3000;
  --c-light: #ffffff;
  --c-cream: #fdfaf5;
  --c-accent: #e96615;
  --c-accent-light: #ff6a0d;
  --c-text: #2e2600;
  --font-main: "Poppins", sans-serif;
  --font-header: "Poppins", sans-serif;
  --shadow: 0 10px 30px rgba(60, 48, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(60, 48, 0, 0.12);
}

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

body {
  font-family: var(--font-main);
  color: var(--c-text);
  background-color: var(--c-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--c-accent);
  color: var(--c-dark);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-header);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--c-dark);
}

.text-white {
  color: var(--c-light) !important;
}
.text-accent {
  color: var(--c-accent) !important;
}
.text-dark {
  color: var(--c-dark) !important;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: 1.25rem;
}

.text-large {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.7;
}
.text-medium {
  font-size: 1.1rem;
}
.text-small {
  font-size: 0.95rem;
}
.text-bold {
  font-weight: 600;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 2rem;
}
.mb-4 {
  margin-bottom: 3rem;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 2rem;
}
.mt-4 {
  margin-top: 4rem;
}
.pt-4 {
  padding-top: 4rem;
}
.pb-0 {
  padding-bottom: 0 !important;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
}

.section-white {
  background-color: var(--c-light);
}
.section-cream {
  background-color: var(--c-cream);
  background-image: radial-gradient(var(--c-accent) 0.5px, transparent 0.5px);
  background-size: 20px 20px;
  /* background-: 0.05; */
}
.section-dark {
  background-color: var(--c-dark);
  color: var(--c-light);
}
.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--c-light);
}

.border-top {
  border-top: 1px solid #e5e0d0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.flex-grid-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}
.flex-grid-center > * {
  flex: 0 1 calc(33.333% - 2rem);
  min-width: 300px;
}

.align-items-center {
  align-items: center;
}
.align-items-start {
  align-items: flex-start;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 3rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-accent {
  background-color: var(--c-accent);
  color: var(--c-light);
  box-shadow: 0 10px 20px rgba(204, 78, 0, 0.2);
}
.btn-accent:hover {
  background-color: var(--c-accent-light);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(204, 78, 0, 0.3);
}

.btn-dark {
  background-color: var(--c-dark);
  color: var(--c-light);
}
.btn-dark:hover {
  background-color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-large {
  margin-top: 3rem;
  padding: 1.5rem 4rem;
  font-size: 1.4rem;
  border-radius: 50px;
}

.btn-hero {
  margin-top: 2.5rem;
  padding: 1rem 3rem;
  font-size: 1rem;
  border-radius: 100px;
}

.w-100 {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(60, 48, 0, 0.05);
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-header);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--c-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--c-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--c-accent);
}
.admin-btn {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--c-dark);
  border-radius: 30px;
}
.admin-btn:hover {
  background: var(--c-dark);
  color: var(--c-light) !important;
}
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--c-dark);
  transition: var(--transition);
}
.hamburger:hover {
  color: var(--c-accent);
}

/* Hero */
.hero-section {
  padding: 10rem 0 10rem;
  background:
    linear-gradient(rgba(60, 48, 0, 0.6), rgba(60, 48, 0, 0.9)),
    url("../asset/hero_bg.jpg") center/cover fixed;
  color: var(--c-light);
  display: flex;
  align-items: center;
}
.hero-section h1 {
  color: var(--c-light);
  margin-bottom: 1.5rem;
  max-width: 1000px;
  margin-inline: auto;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.hero-subtitle {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
  opacity: 0.9;
}

/* Lists */
.list-unstyled {
  list-style: none;
}
.list-bullet {
  list-style: none;
  padding-left: 1.5rem;
}
.list-bullet li {
  position: relative;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}
.list-bullet li::before {
  content: "•";
  position: absolute;
  left: -1.5rem;
  top: -2px;
  color: var(--c-dark);
  font-weight: 900;
  font-size: 1.5rem;
}
.section-dark .list-bullet li::before {
  color: var(--c-accent);
}

/* Images */
.border-radius-img {
  border-radius: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}
.border-radius-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}
.img-full {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Cards */
.card-cream {
  background-color: var(--c-cream);
  border-radius: 0;
  overflow: hidden;
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
}
.card-cream:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
.card-cream img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: var(--transition);
}
.card-cream:hover img {
  transform: scale(1.05);
}
.card-cream h3 {
  padding: 2rem 1.5rem;
  font-size: 1.3rem;
  margin: 0;
}

.card-white {
  background-color: var(--c-light);
  padding: 4rem 3rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(60, 48, 0, 0.03);
}
.card-white:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-accent);
}
.card-white h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.card-white p {
  color: #555;
}
.section-dark .card-white {
  background-color: var(--c-light);
  color: var(--c-text);
}
.section-dark .card-white h3 {
  color: var(--c-dark);
}
.card-asterisk {
  font-size: 4rem;
  line-height: 1;
  color: var(--c-dark);
  margin-bottom: 1.5rem;
  font-weight: 300;
  display: inline-block;
  transition: var(--transition);
}
.card-white:hover .card-asterisk {
  transform: rotate(180deg);
  color: var(--c-accent);
}

/* Quote Image Section */
.section-image-overlay {
  background-image:
    linear-gradient(rgba(60, 48, 0, 0.8), rgba(60, 48, 0, 0.8)),
    url("../asset/quote_bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 12rem 0;
}
.quote-text {
  font-family: var(--font-header);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--c-light);
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 1000px;
  margin-inline: auto;
  font-style: normal;
}

/* Border top cols */
.border-top-line {
  border-top: 4px solid var(--c-dark);
  padding-top: 2rem;
}

/* Form */
.contact-form-minimal {
  text-align: left;
  padding: 2rem;
  background: var(--c-cream);
}
.form-group-minimal {
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.5rem;
  position: relative;
}
.form-group-minimal label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group-minimal input,
.form-group-minimal textarea {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  font-family: var(--font-main);
  outline: none;
  padding: 0.5rem 0;
  color: var(--c-dark);
}
.form-group-minimal input:focus,
.form-group-minimal textarea:focus {
  border-bottom-color: var(--c-dark);
}
.form-group-minimal::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-dark);
  transition: var(--transition);
}
.form-group-minimal:focus-within::after {
  width: 100%;
}

/* Footer */
.footer-minimal {
  padding-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-header);
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.05em;
  margin: 0;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 4rem;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
}
.footer-asterisk {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 2rem;
  display: inline-block;
}
.footer-minimal a {
  text-decoration: none;
  color: var(--c-accent);
  transition: var(--transition);
}
.footer-minimal a:hover {
  color: var(--c-light);
}

/* Human Capital Line specific overrides */
.hc-box {
  background: var(--c-light);
  padding: 2rem;
  border-top: 4px solid var(--c-accent);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.hc-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Our Process */
.process-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 1000px;
  margin: 4rem auto 0;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
}
.process-container::-webkit-scrollbar {
  height: 6px;
}
.process-container::-webkit-scrollbar-thumb {
  background: var(--c-accent);
  border-radius: 10px;
}
.process-container::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--c-accent),
    var(--c-accent) 6px,
    transparent 6px,
    transparent 12px
  );
  z-index: 0;
}
.process-step {
  flex: 1;
  min-width: 110px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-icon-wrap {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
  background-color: var(--c-light);
  border: 1px solid rgba(60, 48, 0, 0.1);
  box-shadow: var(--shadow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.process-icon-wrap:hover {
  background-color: var(--c-accent);
  transform: scale(1.1) rotate(10deg);
  box-shadow: var(--shadow-lg);
}
.process-icon-wrap:hover .process-icon {
  color: var(--c-light);
}
.process-icon {
  font-size: 2.5rem;
  color: var(--c-dark);
}
.process-step h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .order-2-mobile {
    order: 2;
  }
  .order-1-mobile {
    order: 1;
  }
  section {
    padding: 5rem 0;
  }
  .hero-section {
    padding: 10rem 0 6rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--c-light);
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    gap: 1.5rem;
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .flex-between {
    flex-direction: column;
    gap: 1rem;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .order-1-mobile {
    order: 1;
  }
  .order-2-mobile {
    order: 2;
  }
  section {
    padding: 5rem 0 !important;
  }
  .hero-section {
    padding: 8rem 0 4rem !important;
  }
  .hero-section h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
    line-height: 1.1;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  .btn-hero {
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }
  h2 {
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
    line-height: 1.2 !important;
  }
  h3 {
    font-size: 1.5rem !important;
  }
  .text-large {
    font-size: 1.1rem;
  }
  .grid-2, .grid-3 {
    gap: 3rem;
  }
  
  /* Section specific mobile fixes */
  .section-cream {
    padding: 4rem 0 !important;
  }
  
  /* Container Fix */
  .container {
    padding: 0 1.5rem;
  }

  /* Problem Section Fixes */
  .order-2-mobile img {
    height: 400px !important;
  }
  .order-2-mobile div.reveal[style*="position: absolute"] {
    right: 0 !important;
    bottom: 20px !important;
    max-width: 200px !important;
    padding: 1.5rem !important;
  }
  .order-1-mobile img[src*="profile"] {
    height: 400px !important;
  }
  
  /* HC Services Fixes */
  .hc-box {
    min-height: auto;
    padding: 1.5rem;
  }
  div[style*="position: absolute"][style*="top: 40px"] {
    display: none; /* Hide horizontal line on mobile */
  }
  div[style*="position: absolute"][style*="bottom: -1.5rem"] {
    display: none; /* Hide vertical connectors on mobile */
  }
  
  /* Quote Text Fix */
  .quote-text {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  
  /* About Section Fix */
  [style*="padding-left: 2rem"] {
    padding-left: 0 !important;
    margin-top: 2rem;
  }

  /* Process steps */
  .process-container {
    gap: 2rem;
    padding: 1rem;
  }

  .footer-logo {
    font-size: clamp(2rem, 10vw, 4rem) !important;
    margin-bottom: 2rem !important;
  }
  .footer-logo img {
    height: 60px !important;
  }
  .flex-between {
    padding-top: 2rem !important;
  }

  p[style*="font-size: 1.5rem"] {
    font-size: 1.2rem !important;
  }
  
  .contact-form-minimal {
    padding: 1.5rem !important;
  }

  [style*="padding-left: 4rem"] {
    padding-left: 0 !important;
  }
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #128c7e;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
  color: #fff;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}
