/* =============================================
   PT Ashmore Asset Management Indonesia
   Template 2: "Emerald & Teal" — SOPHISTICATED WEALTH
   Primary: #0B5D3E | Accent: #14AB72 | Dark: #062A1C | Light bg: #f0faf4
   Font: Geist
   ============================================= */

/* ---- Font Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0B5D3E;
  --primary-rgb: 11, 93, 62;
  --accent: #14AB72;
  --dark: #062A1C;
  --light-bg: #f0faf4;
  --text-dark: #1a1a1a;
  --text-muted: #555;
  --white: #ffffff;
  --border-light: #dce8e2;
}

* { box-sizing: border-box; }

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  color: var(--dark);
}

a { color: var(--primary); transition: color 0.3s ease; }
a:hover { color: var(--accent); }

/* ---- Navbar ---- */
.custom-navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  padding: 0.6rem 0;
  transition: all 0.3s ease;
}
.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
}
.custom-navbar .navbar-brand img {
  height: 3.7rem;
  border-radius: 4px;
  /* small-radius */
}
.navbar-caption {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary) !important;
  text-decoration: none;
  line-height: 1.3;
}
.custom-navbar .nav-link {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary) !important;
  padding: 0.5rem 1.1rem !important;
  transition: color 0.3s ease;
}
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--accent) !important;
}
.navbar-buttons { margin-left: 1.5rem; }
.navbar-buttons .btn-secondary {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.6rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.navbar-buttons .btn-secondary:hover {
  background: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(11,93,62,0.3);
}
.navbar-toggler {
  border: none;
  padding: 0.4rem 0.5rem;
  box-shadow: none !important;
}
.navbar-toggler:focus { box-shadow: none; }

/* ---- Section Common ---- */
section {
  padding: 5rem 0;
  position: relative;
}
.section-heading {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
}

/* ---- Decorative Elements ---- */
.border-wrap {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.border_1 {
  top: 20px; left: 20px;
  width: 60px; height: 60px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.border_2 {
  bottom: 20px; right: 20px;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.corner-wrapper {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.corner_1 {
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.corner_2 {
  top: 0; right: 0;
  width: 40px; height: 40px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}
.corner_3 {
  bottom: 0; left: 0;
  width: 40px; height: 40px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.corner_4 {
  bottom: 0; right: 0;
  width: 40px; height: 40px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.frame-wrapper {
  position: relative;
  padding: 3rem;
}
.cross-section {
  position: absolute;
  pointer-events: none;
}
.cross_1 { top: -1px; left: 30px; width: 20px; height: 2px; background: var(--accent); }
.cross_2 { top: 30px; left: -1px; width: 2px; height: 20px; background: var(--accent); }
.cross_3 { bottom: -1px; right: 30px; width: 20px; height: 2px; background: var(--accent); }
.cross_4 { bottom: 30px; right: -1px; width: 2px; height: 20px; background: var(--accent); }

.card-wrapper {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.card-wrapper.large-radius {
  border-radius: 24px;
}

/* ---- Hero Section (Split, NOT full-screen, NOT parallax) ---- */
.hero-section {
  padding: 7rem 0 4rem;
  background: var(--light-bg);
  position: relative;
}
.hero-section .hero-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.hero-section .hero-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}
.hero-section .hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.hero-section .hero-text p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 1.25rem 0 1.75rem;
}
.btn-black {
  background: var(--dark);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-black:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11,93,62,0.3);
}
.btn-info {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-info:hover {
  background: var(--accent);
  color: #fff;
}

/* ---- Services Cards ---- */
.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card .card-body {
  padding: 1.75rem;
}
.service-card .card-body h4 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.service-card .card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---- Parallax Section ---- */
.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
  padding: 6rem 0;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 42, 28, 0.8);
  z-index: 1;
}
.parallax-section .container {
  position: relative;
  z-index: 2;
}

/* ---- Contact Form ---- */
.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.05);
}
.contact-form-wrap .form-control {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.contact-form-wrap .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20,171,114,0.1);
}
.contact-form-wrap textarea.form-control {
  min-height: 130px;
}

/* ---- Contact Info ---- */
.contact-info-item {
  text-align: center;
  padding: 1.5rem;
}
.contact-info-item .icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
}
.contact-info-item h5 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.contact-info-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---- Map ---- */
.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.05);
}
.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ---- FAQ Accordion ---- */
.accordion-item {
  border: none;
  border-bottom: 1px solid var(--border-light);
  background: transparent;
  margin-bottom: 0;
}
.accordion-button {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  background: transparent;
  padding: 1.25rem 0;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  color: var(--accent);
  background: transparent;
}
.accordion-button::after {
  background-size: 1rem;
}
.accordion-body {
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---- About / Mission / Join Sections ---- */
.info-section {
  padding: 4rem 0;
}
.info-section img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---- Footer ---- */
.footer01 {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 2rem 0;
  font-size: 0.9rem;
}
.footer01 a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer01 a:hover {
  color: #fff;
}

/* ---- Cookie Banner ---- */
.cookie-alert {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.12);
  padding: 1rem 0;
  z-index: 9999;
  display: none;
}
.cookie-alert.show { display: block; }
.cookie-alert .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.cookie-alert p { margin: 0; font-size: 0.9rem; color: #424a4d; max-width: 600px; }
.cookie-alert p a { color: #424a4d; text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.75rem; }
.cookie-btns .btn-accept {
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cookie-btns .btn-accept:hover { background: var(--accent); }
.cookie-btns .btn-reject {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ---- Legal Pages ---- */
.legal-content {
  padding: 7rem 0 4rem;
}
.legal-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.legal-content .wp-block-heading {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-content .wp-block-heading strong {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
}
.legal-content p, .legal-content li {
  color: var(--text-muted);
  line-height: 1.75;
}
.legal-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}
.legal-content .wp-block-table th,
.legal-content .wp-block-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  font-size: 0.9rem;
}
.legal-content .wp-block-table th {
  background: var(--light-bg);
  font-weight: 600;
}

/* ---- Page Header ---- */
.page-header {
  padding: 7rem 0 3rem;
  background: var(--light-bg);
}
.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero-section { padding: 6rem 0 3rem; }
  .hero-section .hero-text h1 { font-size: 2.2rem; }
  .section-heading { font-size: 2rem; }
  .custom-navbar .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
  }
  .frame-wrapper { padding: 1.5rem; }
  .card-wrapper { padding: 1.5rem; }
}
@media (max-width: 767px) {
  section { padding: 3rem 0; }
  .hero-section .hero-text h1 { font-size: 1.8rem; }
  .cookie-alert .container { flex-direction: column; align-items: flex-start; }
}
