/* ============================================
   ODEXAR — style.css (v39)
   Methodology section centered (title + grid), text left-aligned inside cards
   ============================================ */

/* ---- RESET ---- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: #F5F7FC;
  color: #1A2C3E;
  line-height: 1.7;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ---- VARIABLES ---- */
:root {
  --space-unit: 1rem;
  --space-sm: calc(var(--space-unit) * 1.5);
  --space-md: calc(var(--space-unit) * 2.5);
  --space-lg: calc(var(--space-unit) * 4);
}

/* ---- CONTAINER (global) ---- */
.container {
  width: 88%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- HEADER ---- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #F5F7FC;
  height: 60px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 2px 20px rgba(10, 15, 46, 0.08);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.nav-left {
  display: flex;
  align-items: center;
  height: 60px;
}
.brand-logo {
  height: 18px;
  width: 112px;
  display: block;
  margin-left: -20px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.nav-links a {
  color: #0A0F2E !important;
  transition: opacity 0.2s;
}
.nav-links a:hover {
  opacity: 0.65;
}

/* ---- BUTTONS ---- */
.submit-topic-btn {
  display: inline-block;
  background: #1E2A5E;
  color: #ffffff;
  font-weight: 700;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.submit-topic-btn:hover {
  background: #2C3E6B;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.hero-cta-btn {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  padding: 12px 24px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.hero-cta-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  transform: translateY(-2px);
}
.primary-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  background: #C4A747;
  color: #0A0F2E;
  font-weight: 700;
  font-family: Arial, sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.primary-btn:hover {
  background: #B3963C;
}

/* ---- GENERAL SECTION STYLES ---- */
.services-section,
.how-section,
.insights-panel,
.contact-section {
  padding: 48px 0;
}
.section-title {
  font-size: 1.4rem;
  margin: 0 0 24px;
  color: #0A0F2E;
  text-align: left;
}

/* ---- HERO (unchanged) ---- */
.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: flex-start;
  padding: 0;
}
.hero .container {
  display: flex;
  align-items: flex-start;
  width: 88%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/image_odexar-hero.png') center center/cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(10, 15, 46, 0.75) 0%, rgba(10, 15, 46, 0.5) 45%, rgba(10, 15, 46, 0.2) 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 46, 0.65) 0%, rgba(10, 15, 46, 0.35) 30%, rgba(10, 15, 46, 0.1) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 160px 0 60px;
  max-width: 800px;
}
.hero-content h1 {
  font-size: 2rem;
  line-height: 1.45;
  margin: 0;
  color: #fff;
  max-width: 800px;
}
.hero-actions {
  margin-top: 40px;
}

/* ---- SERVICES ---- */
.services-section {
  background: #F5F7FC;
}
.services-section .section-title {
  margin-bottom: 40px;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 0;
}
.services-list-item {
  background: transparent;
  padding: 0;
}
.services-list-item h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #0A0F2E;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
.services-list-item p {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #2d3748;
}
.services-cta {
  text-align: left;
  margin-top: 32px;
}
.services-cta-button {
  display: inline-block;
  background: #1E2A5E;
  color: #ffffff;
  font-weight: 600;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.services-cta-button:hover {
  background: #2C3E6B;
  transform: translateY(-2px);
}

/* ---- METHODOLOGY (centered block, text left-aligned) ---- */
.how-section {
  background: #F9FAFB;
  margin-top: 0;
}
.how-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.step-card {
  padding-top: 20px;
  border-top: 1px solid rgba(10, 15, 46, 0.08);
}
.step-card:first-child,
.step-card:nth-child(2) {
  border-top: none;
  padding-top: 0;
}
.step-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #0A0F2E;
  font-weight: 700;
  text-align: left;
}
.step-card p {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #2d3748;
  text-align: left;
  max-width: 45ch;
}

/* ---- CTA BAR ---- */
.methodology-bar {
  background: #F9FAFB;
  padding: 48px 0;
}
.methodology-bar-inner {
  display: flex;
  justify-content: flex-start;
}
.methodology-bar-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.methodology-bar-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  color: #0A0F2E;
  font-weight: 500;
  line-height: 1.4;
}
.submit-topic-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- INSIGHTS PANEL (HOMEPAGE) ---- */
.insights-panel {
  background: #F5F7FC;
}
.insights-heading {
  font-size: 1.6rem;
  margin: 0 0 40px;
  color: #0A0F2E;
  text-align: left;
  font-weight: 700;
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.insight-card-horizontal {
  display: flex;
  gap: 24px;
  background: transparent;
  border-bottom: 1px solid rgba(10, 15, 46, 0.08);
  padding-bottom: 24px;
}
.insight-card-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 8px;
}
.insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.insight-card-content {
  flex: 1;
}
.insight-title {
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: #0A0F2E;
  font-weight: 700;
  line-height: 1.4;
}
.insight-excerpt {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #2d3748;
  margin: 0 0 12px;
}
.insight-meta {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  color: #4b5c6c;
  margin-bottom: 12px;
}
.insight-link {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #C4A747;
  text-decoration: none;
  border-bottom: 1.5px solid #C4A747;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.insight-link:hover {
  opacity: 0.7;
}
.insights-footer {
  text-align: center;
  margin-top: 48px;
}
.insights-view-all {
  display: inline-block;
  background: #1E2A5E;
  color: #ffffff;
  font-weight: 600;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.insights-view-all:hover {
  background: #2C3E6B;
  transform: translateY(-2px);
}

/* ---- INSIGHTS PAGE SPECIFIC STYLES ---- */
.page-header {
  background: #F5F7FC;
  padding: 80px 0 40px;
  text-align: center;
}
.page-title {
  font-size: 2.2rem;
  margin: 0 0 12px;
  color: #0A0F2E;
  font-weight: 700;
}
.page-subtitle {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #4b5c6c;
  max-width: 700px;
  margin: 0 auto;
}
.featured-post {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  border: 1px solid rgba(10, 15, 46, 0.05);
}
.featured-post-title {
  font-size: 1.6rem;
  margin: 0 0 16px;
  color: #0A0F2E;
  font-weight: 700;
}
.featured-post-excerpt {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #2d3748;
  margin-bottom: 16px;
}

/* ---- CONTACT ---- */
.contact-section {
  background: #FFFFFF;
}
.contact-section .section-title {
  margin-bottom: 24px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-lead {
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  color: #4b5c6c;
  margin: 0 0 24px;
}
.contact-info-statement {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: #1A2C3E;
  margin: 0;
}
.contact-info-label {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #C4A747;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.contact-info-value {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0A0F2E;
  transition: opacity 0.2s;
}
.contact-info-value:hover {
  opacity: 0.6;
}
.contact-info-note {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: #9baab8;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(28, 46, 74, 0.08);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-submit {
  align-self: flex-start;
  margin-top: 4px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
label {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: #1A2C3E;
  font-weight: 700;
}
input, select, textarea {
  padding: 11px 12px;
  border: 1px solid #d5dde7;
  border-radius: 6px;
  width: 100%;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  background: #ffffff;
  color: #16202a;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #0A0F2E;
  box-shadow: 0 0 0 3px rgba(10, 15, 46, 0.08);
}
textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---- FOOTER ---- */
.footer-main {
  background: #0A0F2E;
  padding: 56px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.footer-logo {
  height: 18px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.footer-tagline {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 8px 0 0;
  max-width: 220px;
}
.footer-col-heading {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #C4A747;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 14px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  transition: opacity 0.2s;
}
.footer-nav a:hover {
  opacity: 0.5;
}
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-contact-block p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-contact-label {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #C4A747;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.footer-contact-value {
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  transition: opacity 0.2s;
}
.footer-contact-value:hover {
  opacity: 0.5;
}
.footer-cta-link {
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.footer-cta-link:hover {
  opacity: 0.6;
}
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.footer-social-icon {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}
.footer-social-icon:hover {
  color: #ffffff;
}
.footer-base {
  background: #05081F;
  padding: 14px 0;
}
.footer-base-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-base-inner > span {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer-base-links {
  display: flex;
  gap: 20px;
}
.footer-base-links a {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}
.footer-base-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .steps-grid {
    gap: 28px 32px;
  }
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-content {
    padding-top: 120px;
  }
  .hero-content h1 {
    font-size: 1.7rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-header {
    padding: 60px 0 30px;
  }
  .page-title {
    font-size: 1.8rem;
  }
  .featured-post {
    padding: 20px;
  }
  .featured-post-title {
    font-size: 1.3rem;
  }
}
@media (max-width: 600px) {
  .services-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps-grid {
    gap: 28px;
  }
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .insight-card-horizontal {
    flex-direction: column;
    gap: 16px;
  }
  .insight-card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .step-card {
    padding-top: 20px;
    border-top: 1px solid rgba(10, 15, 46, 0.08);
  }
  .step-card:first-child {
    border-top: none;
    padding-top: 0;
  }
  .hero-content {
    padding-top: 100px;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .section-title {
    text-align: left;
    font-size: 1.65rem;
  }
  .primary-btn, .contact-submit, .submit-topic-btn, .hero-cta-btn, .services-cta-button, .insights-view-all {
    width: 100%;
    text-align: center;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-main {
    padding: 40px 0 36px;
  }
  .footer-tagline {
    max-width: 100%;
  }
  .footer-base-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav-links {
    display: none;
  }
  .methodology-bar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .submit-topic-btn {
    white-space: normal;
    width: auto;
  }
}
