/* --- VARIABLES --- */
:root {
  --navy: #14263F;
  --navy-dark: #0E1B2E;
  --navy-light: #1F3B60;
  --gold: #C6A15B;
  --gold-light: #D6B672;
  --bg-light: #F4F6F9;
  --white: #FFFFFF;
  --text: #4A5568;
  --border: #E6E9EF;
  --font-family: 'Be Vietnam Pro', sans-serif;
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASIC --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
  font-size: 16px;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- ICONS --- */
.lucide {
  width: 24px;
  height: 24px;
}
.icon-sm .lucide { width: 16px; height: 16px; }
.icon-md .lucide { width: 24px; height: 24px; }
.icon-lg .lucide { width: 32px; height: 32px; }
.icon-xl .lucide { width: 40px; height: 40px; }
.icon-xxl .lucide { width: 48px; height: 48px; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: 48px; font-weight: 700; }
h2 { font-size: 36px; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 24px; font-weight: 600; margin-bottom: 15px; }

@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
}

/* --- UTILITIES --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
}

.bg-light { background-color: var(--bg-light); }
.bg-navy { background-color: var(--navy); color: var(--white); }
.text-center { text-align: center; }

/* Section Title Component */
.section-title {
  margin-bottom: 50px;
}
.section-title.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}
/* Eyebrow Line Draw Animation */
.eyebrow::after, .eyebrow::before {
  content: '';
  display: block;
  width: 0; /* start at 0 */
  height: 2px;
  background-color: var(--gold);
  transition: width 0.8s ease;
}
.eyebrow.in-view::after, .eyebrow.in-view::before {
  width: 40px;
}
.eyebrow::after { margin-left: 15px; }
.eyebrow.eyebrow-left::before { display: none; }
.eyebrow.eyebrow-center::before { margin-right: 15px; }

/* Buttons with Sweep Effect */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}
.btn:hover::before {
  left: 100%;
}
.btn-primary {
  background-color: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(198, 161, 91, 0.4);
}
.btn-secondary {
  background-color: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(198, 161, 91, 0.2);
}

/* --- HEADER & TOPBAR --- */
.topbar {
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-info {
  display: flex;
  gap: 20px;
}
.topbar-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 768px) {
  .topbar { display: none; }
}

header {
  position: absolute;
  top: 44px; /* below topbar */
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
  background: transparent;
}
header.scrolled {
  position: fixed;
  top: 0;
  background-color: var(--navy);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}
.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-link {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 5px 0;
}
/* Nav Link Hover Underline */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: var(--gold);
}
.nav-link:hover::after {
  width: 100%;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--navy);
    flex-direction: column;
    padding-top: 80px;
    transition: var(--transition);
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
  }
  .nav-menu.active { right: 0; }
  .menu-toggle { display: block; z-index: 1001; }
  header { top: 0; padding: 15px 0; background-color: var(--navy); }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding-top: 80px;
  overflow: hidden;
}
/* Radial Gold Glow */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(198, 161, 91, 0.15) 0%, rgba(20, 38, 63, 0) 70%);
  z-index: 0;
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}
.hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 90%;
  width: 50%;
  object-fit: cover;
  object-position: bottom right;
  z-index: 1;
  opacity: 0.9;
  /* Floating animation */
  animation: floatImg 6s ease-in-out infinite;
}
@keyframes floatImg {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}
/* Hero Reveal Elements */
.hero-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpReveal 0.8s ease forwards;
}
.hero-reveal-1 { animation-delay: 0.2s; }
.hero-reveal-2 { animation-delay: 0.4s; }
.hero-reveal-3 { animation-delay: 0.6s; }
.hero-reveal-4 { animation-delay: 0.8s; }

@keyframes fadeUpReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 { color: var(--white); margin-bottom: 20px; line-height: 1.15; }
.hero p { color: var(--border); font-size: 18px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 20px; }
@media (max-width: 992px) {
  .hero::before { right: 50%; transform: translate(50%, -50%); }
  .hero-image { display: none; }
  .hero-content { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero-btns { justify-content: center; flex-wrap: wrap; }
  .eyebrow.eyebrow-left::before { display: block; margin-right: 15px; } /* Center eyebrow on mobile */
  .eyebrow.eyebrow-left { justify-content: center; }
}

/* --- QUICK ACTIONS --- */
.quick-actions {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* Card Base Style for all cards */
.base-card {
  position: relative;
  transition: var(--transition);
}
.base-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
  z-index: 2;
}
.base-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.base-card:hover::before {
  transform: scaleX(1);
}

.action-card {
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
}
.action-card h3 { color: var(--white); margin-bottom: 5px; font-size: 20px; }
.action-card p { color: var(--border); font-size: 14px; }
.action-icon { color: var(--gold); transition: var(--transition); }
.action-card:hover .action-icon { transform: translateX(5px); }

@media (max-width: 992px) {
  .quick-actions-grid { grid-template-columns: 1fr; }
  .quick-actions { margin-top: 40px; }
}

/* --- ABOUT --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.about-image img { width: 100%; height: 400px; object-fit: cover; }
/* Video Play Button Pulse */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}
.play-btn::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background-color: rgba(198, 161, 91, 0.4);
  animation: pulseRipple 2s infinite ease-out;
  z-index: -1;
}
@keyframes pulseRipple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.play-btn:hover { background-color: var(--gold-light); transform: translate(-50%, -50%) scale(1.05); }
.about-list { margin: 20px 0; }
.about-list li { position: relative; padding-left: 30px; margin-bottom: 15px; }
.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: bold;
}
.signature { margin-top: 30px; }
.signature img { height: 50px; margin-bottom: 10px; }
.signature p { font-weight: 700; color: var(--navy); }
@media (max-width: 992px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* --- STATS --- */
.stats { background-color: var(--navy); color: var(--white); padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 {
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.stat-item p { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }

/* --- TIMELINE --- */
.timeline-container {
  position: relative;
  margin-top: 60px;
  padding: 0 20px;
}
.timeline-line {
  position: absolute;
  top: 20px;
  left: 0;
  width: 0; /* Animated via JS */
  height: 2px;
  background-color: var(--gold);
  z-index: 1;
  transition: width 1.5s ease-in-out;
}
.timeline-line-bg {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border);
  z-index: 0;
}
.timeline-items {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.timeline-item { width: 22%; text-align: center; }
.timeline-dot {
  width: 24px;
  height: 24px;
  background-color: var(--bg-light);
  border-radius: 50%;
  margin: 9px auto 25px;
  border: 4px solid var(--border);
  transition: all 0.5s ease;
}
.timeline-item.active .timeline-dot {
  background-color: var(--gold);
  border-color: var(--white);
  box-shadow: 0 0 0 4px var(--gold-light);
}
.timeline-item h3 { font-size: 20px; margin-bottom: 10px; }

@media (max-width: 768px) {
  .timeline-items { flex-direction: column; }
  .timeline-line-bg { left: 30px; top: 0; width: 2px; height: 100%; }
  .timeline-line { left: 30px; top: 0; width: 2px; height: 0; transition: height 1.5s ease; }
  .timeline-item { width: 100%; text-align: left; padding-left: 60px; margin-bottom: 40px; position: relative; }
  .timeline-dot { margin: 0; position: absolute; left: 19px; top: 0; }
}

/* --- SERVICES / PRODUCTS --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  overflow: hidden;
}
.service-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: var(--navy-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 25px;
  transition: var(--transition);
}
.service-icon-wrapper .lucide {
  color: var(--gold);
  transition: var(--transition);
}
.service-card:hover .service-icon-wrapper {
  background-color: var(--gold);
}
.service-card:hover .service-icon-wrapper .lucide {
  color: var(--white);
}
.service-card h3 { margin-bottom: 15px; }
.service-note { font-size: 12px; color: #718096; margin-top: 15px; font-style: italic; }
@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }

/* --- TESTIMONIALS SLIDER --- */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}
.testi-track {
  display: flex;
  transition: transform 0.5s ease;
  cursor: grab;
}
.testi-track:active { cursor: grabbing; }
.testi-card {
  min-width: 100%;
  padding: 0 15px;
  flex-shrink: 0;
}
@media (min-width: 768px) { .testi-card { min-width: 50%; } }
@media (min-width: 992px) { .testi-card { min-width: 33.333%; } }

.testi-content {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  height: 100%;
}
.testi-icon { color: var(--gold); margin-bottom: 20px; opacity: 0.3; }
.testi-text { font-size: 16px; font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 15px; }
.testi-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testi-author h4 { font-size: 16px; margin-bottom: 3px; }
.testi-author span { font-size: 14px; color: var(--gold); }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active { background-color: var(--gold); width: 24px; border-radius: 6px; }

/* --- TEAM --- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; justify-content: center; }
.team-card { text-align: center; }
.team-img-wrapper {
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.team-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-img { transform: scale(1.05); }
.team-card h3 { margin-bottom: 5px; }
.team-card p { color: var(--gold); font-weight: 600; font-size: 14px; text-transform: uppercase; }
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr; } }

/* --- BLOG --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.blog-img-wrapper {
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.blog-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-content { padding: 25px; }
.blog-date { font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 10px; display: block; }
.blog-content h3 { font-size: 20px; margin-bottom: 15px; }
.blog-content h3 a:hover { color: var(--gold); }
.read-more { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--navy); }
.read-more:hover { color: var(--gold); }
@media (max-width: 992px) { .blog-grid { grid-template-columns: 1fr; } }

/* --- BIG CTA --- */
.big-cta { background-color: var(--navy); padding: 80px 0; text-align: center; }
.big-cta h2 { color: var(--white); margin-bottom: 30px; }

/* --- CONTACT --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-item { display: flex; gap: 20px; margin-bottom: 30px; }
.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 18px; margin-bottom: 5px; }
.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}
.form-group { margin-bottom: 20px; }
.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 16px;
  transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--gold); }
textarea.form-control { height: 120px; resize: vertical; }
.map-embed {
  margin-top: 40px;
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; } }

/* --- FOOTER --- */
footer.apex-footer { 
  background-color: #16233F; 
  color: #C4D2EA; 
  padding: 80px 0 30px; 
}
.apex-footer .footer-grid { 
  display: grid; 
  grid-template-columns: 1.5fr 1fr 1fr 1fr; 
  gap: 50px; 
  margin-bottom: 50px; 
}
.apex-footer h3 {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.apex-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.apex-footer .logo-icon {
  width: 50px;
  height: 50px;
  background-color: #1A2B4C;
  color: #D4B673;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.apex-footer .logo-text {
  display: flex;
  flex-direction: column;
}
.apex-footer .brand {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.apex-footer .tagline {
  color: #D4B673;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}
.apex-footer .company-desc {
  color: #C4D2EA;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}
.apex-footer .contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #C4D2EA;
}
.apex-footer .contact-list i {
  color: #D4B673;
  flex-shrink: 0;
  margin-top: 3px;
}
.apex-footer .footer-links li { 
  margin-bottom: 15px; 
}
.apex-footer .footer-links a { 
  color: #C4D2EA; 
  display: inline-flex; 
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease, transform 0.3s ease; 
  font-size: 15px;
}
.apex-footer .footer-links a i {
  color: rgba(196, 210, 234, 0.5);
  transition: color 0.3s ease;
}
.apex-footer .footer-links a:hover { 
  color: #D4B673; 
  transform: translateX(5px); 
}
.apex-footer .footer-links a:hover i {
  color: #D4B673;
}
.apex-footer .cert-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(196, 210, 234, 0.2);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.apex-footer .cert-img {
  max-width: 100%;
  border-radius: 8px;
  height: auto;
}
.apex-footer .cert-placeholder {
  color: rgba(196, 210, 234, 0.5);
  font-size: 14px;
  font-style: italic;
}
.apex-footer .footer-bottom { 
  border-top: 1px solid rgba(196, 210, 234, 0.1); 
  padding-top: 30px; 
  text-align: center; 
}
.apex-footer .risk-warning { 
  font-size: 12px; 
  color: rgba(196, 210, 234, 0.6); 
  margin-bottom: 20px; 
  max-width: 1000px; 
  margin-left: auto; 
  margin-right: auto; 
  line-height: 1.6;
}
.apex-footer .copyright { 
  font-size: 14px; 
  color: #C4D2EA; 
  font-weight: 600;
}
@media (max-width: 992px) { 
  .apex-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } 
}
@media (max-width: 768px) { 
  .apex-footer .footer-grid { grid-template-columns: 1fr; gap: 40px; } 
}

/* --- SCROLL TO TOP --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background-color: var(--gold-light); transform: translateY(-5px); }

/* --- ANIMATIONS & DELAYS --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* --- PAGE BANNER --- */
.page-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.page-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(198, 161, 91, 0.15) 0%, rgba(20, 38, 63, 0) 70%);
  z-index: 0;
  border-radius: 50%;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--gold);
  z-index: 1;
}
.page-banner .container {
  position: relative;
  z-index: 2;
}
.page-banner h1 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 40px;
}
.breadcrumb {
  display: inline-flex;
  gap: 10px;
  font-size: 15px;
  color: var(--border);
}
.breadcrumb a {
  color: var(--border);
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb span.current {
  color: var(--gold);
}
@media (max-width: 768px) {
  .page-banner { padding: 120px 0 60px; }
  .page-banner h1 { font-size: 32px; }
}

/* --- ACCORDION --- */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  overflow: hidden;
  background-color: var(--white);
}
.accordion-header {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--white);
  transition: var(--transition);
}
.accordion-header h3 {
  margin: 0;
  font-size: 18px;
  color: var(--navy);
  font-weight: 600;
}
.accordion-icon {
  color: var(--gold);
  transition: transform 0.3s ease;
}
.accordion-item.active .accordion-header {
  background-color: var(--bg-light);
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-content-inner {
  padding: 0 25px 20px;
  color: var(--text);
  border-top: 1px solid transparent;
}
.accordion-item.active .accordion-content-inner {
  border-top-color: var(--border);
  padding-top: 20px;
}

/* --- FILTERS / TABS --- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 10px 24px;
  border-radius: 30px;
  background-color: var(--bg-light);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.filter-tab:hover {
  background-color: var(--white);
  border-color: var(--gold);
  color: var(--navy);
}
.filter-tab.active {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* --- PAGINATION --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}
.page-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  color: var(--text);
  font-weight: 600;
  transition: var(--transition);
}
.page-num:hover, .page-num.active {
  background-color: var(--navy);
  color: var(--white);
}

/* --- FEATURED POST --- */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  overflow: hidden;
}
.featured-img-wrapper {
  overflow: hidden;
  height: 100%;
}
.featured-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  transition: transform 0.5s ease;
}
.featured-post:hover img {
  transform: scale(1.05);
}
.featured-content {
  padding: 40px;
  padding-left: 0;
}
.featured-badge {
  display: inline-block;
  background-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 15px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.featured-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.featured-content p {
  font-size: 16px;
  margin-bottom: 30px;
  color: var(--text);
}
@media (max-width: 992px) {
  .featured-post { grid-template-columns: 1fr; gap: 0; }
  .featured-content { padding: 40px; }
  .featured-post img { min-height: 250px; }
}

/* --- BOOK CARDS --- */
.book-card {
  text-align: center;
  padding: 30px;
}
.book-card .blog-img-wrapper {
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: inline-block;
  width: 100%;
  aspect-ratio: 2/3;
}
.book-card .blog-img {
  height: 100%;
}
.book-author {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 10px;
}
.book-desc {
  font-size: 14px;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- PRICE TABLE --- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.price-card {
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--white);
  transition: var(--transition);
}
.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--gold);
}
.price-card.popular {
  border-color: var(--gold);
  background-color: var(--navy-dark);
  color: var(--white);
  transform: scale(1.05);
}
.price-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}
.price-card.popular h3, .price-card.popular .price, .price-card.popular li {
  color: var(--white);
}
.price-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}
.price {
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 30px;
}
.price-features {
  text-align: left;
  margin-bottom: 40px;
}
.price-features li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  color: var(--text);
}
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: bold;
}
@media (max-width: 992px) {
  .price-grid { grid-template-columns: 1fr; max-width: 400px; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-10px); }
}

/* --- APEX TRUST SECTION --- */
.apex-trust {
  background-color: #0B2447;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}
.apex-trust::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(212, 182, 115, 0.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(212, 182, 115, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
  z-index: 0;
}
.apex-trust .container {
  position: relative;
  z-index: 1;
}
.apex-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.apex-trust-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  min-height: 400px;
  background-color: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255,255,255,0.1);
}
.apex-trust-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}
.apex-trust-placeholder {
  color: rgba(255,255,255,0.4);
  font-style: italic;
  font-size: 16px;
  z-index: 2;
}
.apex-trust-content h2 {
  font-size: 32px;
  color: #FFFFFF;
  margin-bottom: 40px;
  line-height: 1.3;
}
.apex-trust-brand {
  color: #D4B673;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}
.apex-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.apex-stat-item {
  border-left: 2px solid rgba(255,255,255,0.1);
  padding-left: 15px;
}
.apex-stat-number {
  color: #D4B673;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
}
.apex-stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.4;
}
.apex-trust-note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin-top: 20px;
}
@media (max-width: 992px) {
  .apex-trust-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .apex-trust-img-wrapper {
    min-height: 300px;
  }
  .apex-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .apex-trust-content h2 {
    font-size: 26px;
  }
  .apex-stat-number {
    font-size: 24px;
  }
}
/* --- CIRCULAR PRODUCTS SECTION --- */
.circular-products {
  background-color: #16233F;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}
.circular-products::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(212, 182, 115, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 182, 115, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}
.circular-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.circular-wrapper {
  position: relative;
  height: 450px;
  margin: 100px auto 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.circular-center {
  width: 140px;
  height: 140px;
  background: #0B2447;
  border: 2px solid #D4B673;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 30px rgba(212, 182, 115, 0.2);
  position: relative;
}
.circular-center h3 {
  color: #D4B673;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
}
.circular-item {
  position: absolute;
  width: 300px;
  text-align: center;
  z-index: 5;
}
.circular-item-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #D4B673;
  object-fit: cover;
  margin: 0 auto 20px;
  background-color: #1A2B4C;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.circular-item h4 {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.circular-item p {
  font-size: 14px;
  color: #C4D2EA;
  line-height: 1.6;
}
.circular-item p strong {
  color: #D4B673;
}
.pos-top {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pos-bottom-left {
  top: 90%;
  left: 15%;
  transform: translate(-50%, -50%);
}
.pos-bottom-right {
  top: 90%;
  left: 85%;
  transform: translate(-50%, -50%);
}
.connectors-svg {
  position: absolute; 
  top: 0; left: 0; 
  z-index: 1;
}
.circular-cta {
  margin-top: 40px;
}
.circular-cta .btn-gold {
  background-color: #D4B673;
  color: #0B2447;
  padding: 16px 45px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 40px;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.circular-cta .btn-gold:hover {
  background-color: #e0c58a;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 182, 115, 0.3);
}
.circular-footer-note {
  font-size: 14px;
  color: rgba(196, 210, 234, 0.6);
  margin-top: 25px;
  font-style: italic;
}

@media (max-width: 992px) {
  .circular-wrapper {
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 40px auto;
    gap: 50px;
  }
  .circular-center, .connectors-svg {
    display: none;
  }
  .circular-item {
    position: relative;
    width: 100%;
    top: auto;
    left: auto;
    transform: none;
    max-width: 400px;
    margin: 0 auto;
  }
  .circular-products {
    padding: 80px 0;
  }
}