/* ==========================================================================
   AIPAMF CORE DESIGN SYSTEM - IMPERIAL NAVY & GOLD
   ========================================================================== */

:root {
  --navy-primary: #0b1a38;
  --navy-dark: #061126;
  --navy-deep: #030814;
  --gold-accent: #d4af37;
  --gold-vibrant: #f59e0b;
  --gold-light: #fef3c7;
  --surface-light: #f8fafc;
  --card-bg: #ffffff;
  --text-primary: #0f172a;
  --text-muted: #475569;
  --border-light: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--surface-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ================= 0. TOP NAVIGATION ================= */
.aipamf-navbar {
  background: var(--navy-primary);
  border-bottom: 2px solid var(--gold-accent);
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-brand-text h1 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.nav-brand-text span {
  font-size: 0.65rem;
  color: var(--gold-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-accent);
}

.nav-cta-btn {
  background: var(--gold-accent);
  color: var(--navy-dark) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

/* ================= 1. HERO SLIDE SECTION ================= */
.hero-banner-section {
  position: relative;
  width: 100%;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 3px solid var(--gold-accent);
  background-color: var(--navy-deep);
}

.hero-banner-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
   overflow: hidden;
  object-fit: cover;
  object-position: center;
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 17, 38, 0.75) 0%, rgba(6, 17, 38, 0.92) 100%);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 900px;
}

.hero-subtag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-accent);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.hero-line-white {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1.15;
}

.hero-line-gold {
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold-accent);
  letter-spacing: 2.5px;
  margin-top: 0.3rem;
  line-height: 1.15;
}

.hero-breadcrumbs {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.hero-breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
}

.hero-breadcrumbs span {
  color: var(--gold-accent);
}

/* ================= 2. COMPLETE OVERVIEW SECTION ================= */
.overview-section {
  padding: 5.5rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

.overview-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b45309;
  background: var(--gold-light);
  border: 1px solid #fde68a;
  padding: 3px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.overview-left-text h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--navy-primary);
  line-height: 1.25;
}

.gold-accent-line {
  width: 60px;
  height: 3px;
  background: var(--gold-accent);
  margin: 1rem 0 1.5rem;
  border-radius: 2px;
}

.lead-paragraph {
  font-size: 1.05rem;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.body-paragraph {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.visual-card-frame {
  background: var(--navy-primary);
  border: 2px solid var(--gold-accent);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 20px 45px rgba(11, 26, 56, 0.18);
  position: relative;
}

.overview-side-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.visual-badge-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(6, 17, 38, 0.9);
  border: 1px solid var(--gold-accent);
  border-radius: 8px;
  padding: 8px 16px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.visual-badge-overlay strong {
  font-size: 0.72rem;
  color: var(--gold-accent);
  letter-spacing: 1px;
}

.visual-badge-overlay span {
  font-size: 0.7rem;
  color: #cbd5e1;
}

/* ================= 3. WHY US IN BRIEF (4-POINTS) ================= */
.why-us-section {
  background: #f1f5f9;
  padding: 5.5rem 3rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-center-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-center-head h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy-primary);
  margin-top: 0.5rem;
}

.title-gold-bar {
  width: 70px;
  height: 3px;
  background: var(--gold-accent);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.why-four-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.why-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(11, 26, 56, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-accent);
  box-shadow: 0 18px 36px rgba(11, 26, 56, 0.08);
}

.why-icon-box {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy-primary);
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================= 4. OUR CORE OBJECTIVES ================= */
.objectives-section {
  position: relative;
  background: url('../aboutus.png') center/cover no-repeat;
  padding: 6.5rem 3rem;
  color: #ffffff;
  border-top: 2px solid var(--gold-accent);
  border-bottom: 2px solid var(--gold-accent);
}

.objectives-backdrop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 17, 38, 0.93);
}

.objectives-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.section-center-head.light h2 {
  color: #ffffff;
}

.directive-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-accent);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
}

.objectives-two-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.objective-card {
  background: rgba(11, 26, 56, 0.85);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 2.8rem 2.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.obj-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.2rem;
}

.obj-num {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-accent);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 6px 14px;
  border-radius: 8px;
}

.obj-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.objective-card p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.75;
}

/* ================= 5. STANDARDIZED FOOTER ================= */
.aipamf-footer {
  background: var(--navy-dark);
  color: #94a3b8;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-top-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.5rem 3rem 3rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.2rem;
}

.footer-emblem {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-accent);
  object-fit: cover;
}

.footer-brand-lockup h4 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
}

.footer-brand-lockup span {
  font-size: 0.68rem;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: block;
}

.brand-col p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col h5 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--gold-accent);
}

.contact-col p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.contact-col strong {
  color: #cbd5e1;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 3rem;
  background: var(--navy-deep);
}

.footer-bottom-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.gold-tagline {
  color: var(--gold-accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ================= RESPONSIVE RULES ================= */
@media (max-width: 1024px) {
  .overview-wrapper,
  .why-four-grid,
  .objectives-two-grid,
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .aipamf-navbar {
    padding: 1rem 1.5rem;
  }
  
  .overview-section,
  .why-us-section,
  .objectives-section,
  .footer-top-grid,
  .footer-bottom-bar {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .footer-bottom-wrap {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}

/* ==========================================================================
   AIPAMF ABOUT US - HERO BANNER & ANIMATION
   LOCKED DEVELOPMENT CODEBASE (Ref image_36.png Visualization)
   ========================================================================== */

/* 1. BACKGROUND SWAP & OVERLAY (image_36.png style) */
/* We target the new class from Step A, not the old shared index class */
.hero-section-animated-lock {
  position: relative;
  width: 100%;
  height: 380px; /* Preserve initial height standard */
  overflow: hidden;
  border-bottom: 3px solid var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Applying the generated port image as background */
  background: #020617 url('../assets/images/port-bg.jpg') center/cover no-repeat;
}

/* Adds the necessary dark navy overlay so text reads perfectly */
.hero-section-animated-lock::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(6, 17, 38, 0.94) 0%, rgba(11, 26, 56, 0.7) 100%);
  z-index: 1; /* Puts background and gradient overlay below text */
}

/* Text must be above the gradient overlay */
.hero-caption-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* 2. HEADING (BE THE FACE) - The slow floating effect */
.float-reveal {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1.5px;
  margin: 0;
  opacity: 1;
  
  /* Apply floating animation: Up/Down */
  animation: floating 4s ease-in-out infinite;
}

/* 3. TAGLINE (UNIFIED STRENGTH...) - Step-by-step reveal text effect */
.typed-effect {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  margin-top: 0.2rem;
  letter-spacing: 2.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Shared settings for typing effect prerequisites */
.type-line-1, .type-line-2 {
  display: block;
  overflow: hidden; /* Key for typing effect */
  white-space: nowrap; /* Keeps text on one line */
  
  /* Initial state: invisible */
  opacity: 0;
  width: 0; 
  
  /* forward ensures it stays visible after animation ends */
  animation: typing 1.5s steps(20, end) forwards;
}

/* Line 1 settings: Starts with minimal delay, standard white */
.type-line-1 {
  animation-delay: 1.2s;
  color: #ffffff; /* Unified Strength is White */
}

/* Line 2 settings: Starts after Line 1 is nearly complete, golden/amber */
.type-line-2 {
  animation-delay: 2.8s;
  
  /* Apply standardized vibrant gold coloring [cite: 1, 13] */
  color: #f59e0b !important; /* PROTECTED BY ETHICS. is Golden-Amber */
}

/* 4. ANIMATION KEYFRAMES (The actual definitions) */

/* Slow float: Moves Up/Down 8px continuously */
@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Typing: Step-by-step width reveal, coupled with opacity fade-in */
@keyframes typing {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

/* ================= OVERVIEW SECTION & BIG LOGO FRAME ================= */
.overview-section {
  padding: 5rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

.overview-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.overview-left-text h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: #0b1a38;
  line-height: 1.25;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 3px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.gold-accent-line {
  width: 60px;
  height: 3px;
  background: #d4af37;
  margin: 1rem 0 1.5rem;
  border-radius: 2px;
}

.lead-paragraph {
  font-size: 1.05rem;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.body-paragraph {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
}

/* Big Logo Presentation Card */
.visual-card-frame {
  background: linear-gradient(145deg, #061126 0%, #0b1a38 100%);
  border: 2px solid #d4af37;
  border-radius: 18px;
  padding: 2.2rem 2rem 1.8rem;
  box-shadow: 0 20px 45px rgba(11, 26, 56, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-display-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 1.5rem;
}

.overview-big-logo {
  width: 250px;
  height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

.overview-big-logo:hover {
  transform: scale(1.04);
}

/* Status & Verify Member Action */
.visual-meta-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audit-status-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
}

.status-indicator {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
}

.audit-status-tag strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  color: #d4af37;
  text-transform: uppercase;
}

.audit-status-tag small {
  display: block;
  font-size: 0.7rem;
  color: #cbd5e1;
}

/* Single-Line Verify Member Bar */
.verify-member-single-line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #d4af37;
  color: #061126;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.85rem 1.2rem;
  border-radius: 8px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.verify-member-single-line-btn:hover {
  background: #f59e0b;
  color: #030814;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

@media (max-width: 992px) {
  .overview-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .overview-big-logo {
    width: 170px;
    height: 170px;
  }
}

.footer-credit {
  font-size: 0.85rem;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.footer-credit .heart-icon {
  color: #ef4444; /* Vibrant heart red */
  display: inline-block;
  margin: 0 4px;
  animation: heartPulse 1.5s infinite;
}

.footer-credit .brand-highlight {
  color: #d4af37; /* Metallic gold */
  font-weight: 700;
  letter-spacing: 1px;
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
  60% { transform: scale(1); }
}

/* ---------------- 3. WHY US IN BRIEF (SUBTLE MAP BACKDROP) ---------------- */
.why-us-section {
  position: relative;
  background-color: #f1f5f9;
  background-image: 
    linear-gradient(180deg, rgba(241, 245, 249, 0.88) 0%, rgba(241, 245, 249, 0.92) 100%),
    url('../assets/images/world-network-map.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 6rem 3rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.why-card {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  padding: 3rem 2.5rem 2.5rem;
  box-shadow: 0 12px 32px rgba(11, 26, 56, 0.06);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: #d4af37;
  box-shadow: 0 20px 45px rgba(11, 26, 56, 0.14);
}