/* ============================================
   Template 4: "Navy & Peach"
   A.D. Evoque Financial Sdn. Bhd.
   Primary: #002549 | Accent: #E1965F | Dark: #001525 | Light: #FDF8F5
   Font: Darker Grotesque (300-900)
   ============================================ */

/* ----- Google Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #002549;
  --accent: #E1965F;
  --dark: #001525;
  --light-bg: #FDF8F5;
  --white: #ffffff;
  --black: #000000;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --font-family: 'Darker Grotesque', sans-serif;
}

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

body {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
  font-size: 1.1rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  color: var(--dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ----- Navbar ----- */
.custom-navbar {
  background-color: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 37, 73, 0.08);
  padding: 0.6rem 0;
  transition: all 0.3s ease;
}

.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.custom-navbar .navbar-brand img {
  height: 2.5rem;
  border-radius: 8px;
}

.card-wrap.little-radius {
  border-radius: 8px;
}

.navbar-caption {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary) !important;
  letter-spacing: -0.01em;
}

.custom-navbar .nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--accent) !important;
}

.navbar-buttons .btn-black {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.navbar-buttons .btn-black:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225, 150, 95, 0.3);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 37, 73, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ----- Hero Section ----- */
.header1 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.header1 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 37, 73, 0.7);
  z-index: 1;
}

.header1 .container {
  position: relative;
  z-index: 2;
}

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

.header1 .label-text {
  color: var(--accent) !important;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.header1 .display-1 {
  color: var(--white) !important;
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.header1 .mbr-text {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 650px;
  margin: 0 auto 2rem auto;
  line-height: 1.8;
}

.header1 .btn {
  background-color: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.9rem 2.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.header1 .btn:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 37, 73, 0.4);
}

/* ----- Features / Image+Text Sections ----- */
.features1 {
  padding: 5rem 0;
  background-color: var(--white);
}

.features1:nth-child(even) {
  background-color: var(--light-bg);
}

.features1 .image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 37, 73, 0.1);
}

.features1 .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.features1 .image-wrapper:hover img {
  transform: scale(1.03);
}

.features1 .text-wrapper {
  padding: 2rem;
}

.features1 .display-2 {
  color: var(--dark);
  font-weight: 800;
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.features1 .mbr-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-600);
}

.features1 .btn {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.features1 .btn:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225, 150, 95, 0.3);
}

/* ----- Numbered Steps Section ----- */
.numbered-steps {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.numbered-steps .section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.numbered-steps .section-title .display-2 {
  color: var(--dark);
  font-weight: 800;
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

.numbered-steps .section-title .label-text {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1rem;
}

.step-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 37, 73, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 37, 73, 0.12);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.step-card .icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--light-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.8rem;
  color: var(--accent);
}

.step-card h4 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.step-card p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
}

/* ----- FAQ Accordion ----- */
.faq-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.faq-section .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-section .section-title .display-2 {
  color: var(--dark);
  font-weight: 800;
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

.accordion-item {
  border: 1px solid rgba(0, 37, 73, 0.1);
  border-radius: 8px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  background-color: var(--white);
  padding: 1.2rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: var(--light-bg);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 37, 73, 0.15);
}

.accordion-button::after {
  background-image: none;
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.accordion-button:not(.collapsed)::after {
  content: '−';
  color: var(--primary);
}

.accordion-body {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
}

/* ----- Contact Form ----- */
.contact-form-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.contact-form-section .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-form-section .section-title .display-2 {
  color: var(--dark);
  font-weight: 800;
  font-size: 2.4rem;
}

.contact-form-section .form-control {
  border: 1px solid rgba(0, 37, 73, 0.15);
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-family);
  font-size: 1rem;
  background-color: var(--white);
  transition: all 0.3s ease;
}

.contact-form-section .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225, 150, 95, 0.15);
  outline: none;
}

.contact-form-section .form-control::placeholder {
  color: var(--gray-600);
  opacity: 0.7;
}

.contact-form-section textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.contact-form-section .btn-submit {
  background-color: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.9rem 2.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.contact-form-section .btn-submit:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 37, 73, 0.3);
}

/* ----- Contact Info Cards ----- */
.contacts01 {
  padding: 5rem 0;
  background-color: var(--dark);
}

.contacts01 .contact-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contacts01 .contact-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.contacts01 .contact-card .icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: var(--white);
}

.contacts01 .contact-card .field-label {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.contacts01 .contact-card .field-value {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
}

/* ----- Map Section ----- */
.map-section {
  padding: 0;
}

.map-section iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

/* ----- Footer ----- */
.footer-dense {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 2;
}

.footer-dense a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.footer-dense a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-dense .footer-info p {
  margin-bottom: 0;
}

/* ----- Page Hero (Sub-pages) ----- */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 37, 73, 0.75);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .display-1 {
  color: var(--white) !important;
  font-weight: 800;
  font-size: 3rem;
}

.page-hero .label-text {
  color: var(--accent) !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* ----- Content Sections ----- */
.content-section {
  padding: 5rem 0;
}

.content-section:nth-child(odd) {
  background-color: var(--white);
}

.content-section:nth-child(even) {
  background-color: var(--light-bg);
}

.content-section .display-3 {
  font-weight: 800;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.content-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-600);
}

/* ----- Service Cards ----- */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 30px rgba(0, 37, 73, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  border-top: 4px solid var(--accent);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 37, 73, 0.12);
}

.service-card .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--light-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: var(--accent);
}

.service-card h4 {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
}

/* ----- Team Cards ----- */
.team-card {
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
}

.team-card img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 30px rgba(0, 37, 73, 0.1);
}

.team-card h4 {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.team-card .role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ----- Client Logo Row ----- */
.client-logos {
  padding: 3rem 0;
  background-color: var(--white);
  border-top: 1px solid rgba(0, 37, 73, 0.06);
  border-bottom: 1px solid rgba(0, 37, 73, 0.06);
}

/* ----- Legal Pages ----- */
.legal-content {
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.legal-content h2 {
  color: var(--dark);
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.legal-content h3.wp-block-heading {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h4.wp-block-heading {
  color: var(--dark);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p, .legal-content li {
  line-height: 1.8;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.legal-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.cookie-tables-white .wp-block-table table,
.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  border: 1px solid black !important;
  border-collapse: collapse !important;
}

.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  padding: 12px 8px !important;
}

.cookie-tables-white .wp-block-table th {
  background-color: var(--dark);
  color: var(--white);
  font-weight: 700;
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
  .header1 .display-1 {
    font-size: 2.5rem;
  }
  .features1 .text-wrapper {
    padding: 2rem 0 0 0;
  }
  .page-hero .display-1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 767px) {
  .header1 .display-1 {
    font-size: 2rem;
  }
  .header1 .mbr-text {
    font-size: 1rem;
  }
  .features1 .display-2 {
    font-size: 1.8rem;
  }
  .step-card {
    margin-bottom: 1.5rem;
  }
  .page-hero {
    min-height: 35vh;
  }
}
