/* ========================================
   Ajaka & Co. – Simple HTML Site Stylesheet
   ======================================== */

/* -- Reset & Base -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:    #b8973e;
  --gold-lt: #d4b05a;
  --dark:    #0f1117;
  --dark2:   #1a1e2a;
  --mid:     #2d3142;
  --light:   #f5f5f0;
  --text:    #333340;
  --muted:   #6b7280;
  --white:   #ffffff;
  --radius:  8px;
  --shadow:  0 4px 20px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-lt); }

ul { list-style: none; }

h1,h2,h3,h4,h5 { line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }

/* -- Layout -- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--dark2); color: var(--white); }
.section-light { background: var(--light); }

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }

/* -- Navigation -- */
header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-bottom: 1px solid #ececec;
}

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo span { color: var(--dark); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }

.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-links > li > a {
  color: var(--text);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links > li > a:hover {
  color: var(--dark);
  background: rgba(0,0,0,0.05);
}
.nav-links > li > a.active {
  background: var(--gold);
  color: #fff;
  font-weight: 700;
}

/* Dropdown */
.nav-item { position: relative; }
.dropdown {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  min-width: 230px;
  padding: 0.5rem 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.89rem;
  color: var(--text) !important;
  background: none;
}
.dropdown a:hover { background: var(--light) !important; color: var(--dark) !important; }

.nav-cta {
  background: transparent !important;
  color: var(--gold) !important;
  border: 2px solid var(--gold) !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  padding: 0.45rem 1.2rem !important;
  margin-left: 0.5rem;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: #fff !important;
}

.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--dark); border-radius: 2px; transition: 0.3s; }

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 0.25rem;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid #ececec;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius); }
  .dropdown { position: static; border: none; box-shadow: none; padding: 0 0 0 1rem; display: none !important; background: transparent; }
  .dropdown a { color: var(--muted) !important; font-size: 0.87rem; padding: 0.4rem 0.75rem; }
  .nav-item.open .dropdown { display: flex !important; flex-direction: column; }
}

/* -- Hero -- */
.hero {
  position: relative;
  background: #272414;
  color: var(--white);
  padding: 2.5rem 0 2rem;
  overflow: hidden;
  min-height: 42vh;
  display: flex;
  align-items: center;
}
/* hero video is handled by the <video> element in HTML */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.70;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, #0D1B1E8C 45%, #0D1B1E26 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero > .container {
  padding-left: max(6rem, 12vw);
  margin-left: 0;
  max-width: 960px;
}
.hero-tag {
  display: inline-block;
  background: rgba(184,151,62,0.2);
  color: var(--gold);
  border: 1px solid rgba(184,151,62,0.4);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero h1 { margin-bottom: 0.75rem; font-size: clamp(2.4rem, 5.5vw, 4rem); }
.hero h1 span { color: var(--gold); }
.hero-typewriter {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  min-height: 1.4em;
  display: block;
  margin-bottom: 1.5rem;
}
.hero-typewriter::after {
  content: '|';
  animation: blink 0.7s step-end infinite;
  color: var(--gold);
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.78); margin-bottom: 2rem; max-width: 540px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-gold  { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-lt); color: var(--dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--mid); }

/* Stats row */
.stats-row {
  display: flex; gap: 2rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(184,151,62,0.25);
}
.stat-item h3 { font-size: 2.2rem; color: var(--gold); }
.stat-item p  { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin: 0; }

/* -- Section headings -- */
.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-heading { margin-bottom: 1rem; }
.section-intro { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin-bottom: 3rem; }
.section-intro.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* -- Cards -- */
.card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.card-dark {
  background: var(--mid);
  border-color: rgba(255,255,255,0.08);
  color: var(--white);
}

.card-icon {
  width: 52px; height: 52px;
  background: rgba(184,151,62,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card h3 { margin-bottom: 0.75rem; }
.card p  { color: var(--muted); margin: 0; font-size: 0.95rem; }
.card-dark p { color: rgba(255,255,255,0.65); }

/* Service card with image */
.service-card { position: relative; overflow: hidden; padding: 0; }
.service-card-img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 1.5rem; }
.service-card-body h3 { margin-bottom: 0.5rem; }
.service-card-body p  { font-size: 0.9rem; color: var(--muted); }
.service-card-body a  { display: inline-block; margin-top: 0.75rem; font-weight: 600; font-size: 0.9rem; }

/* -- Team cards -- */
.team-card { text-align: center; }
.team-card img {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--gold);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.team-card .role { color: var(--gold); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* -- Testimonials -- */
.testimonial-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
}
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial-card p { font-size: 0.95rem; color: var(--text); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span  { font-size: 0.8rem; color: var(--muted); }

/* -- FAQ -- */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  gap: 1rem;
}
.faq-q .icon { color: var(--gold); font-size: 1.5rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-a { display: none; color: var(--muted); padding-top: 0.75rem; font-size: 0.95rem; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .icon { transform: rotate(45deg); }

/* -- Page hero (inner pages) -- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../assets/hero-finance-DvuTr8En.jpg') center/cover no-repeat;
  opacity: 0.1;
}
.page-hero .container { position: relative; }
.page-hero .breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 620px; margin: 0; }

/* -- Industries grid -- */
.industry-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.2s;
}
.industry-card:hover { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(184,151,62,0.15); }
.industry-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.industry-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.industry-card p  { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* -- Contact -- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.contact-info-item .icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(184,151,62,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.contact-info-item h4 { font-size: 0.9rem; color: var(--muted); font-weight: 500; margin-bottom: 0.25rem; }
.contact-info-item p  { font-weight: 600; margin: 0; }
.contact-info-item a  { font-weight: 600; color: var(--text); }

.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,151,62,0.1);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

/* -- Checklist -- */
.checklist { margin: 1.25rem 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.93rem;
}
.checklist li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 0.05em; }

/* -- Awards bar -- */
.awards-bar {
  background: var(--light);
  padding: 2.5rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.awards-bar .container {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 2.5rem;
}
.awards-bar img { height: 70px; width: auto; filter: grayscale(20%); }

/* -- Footer -- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.25rem; }
footer ul li { margin-bottom: 0.6rem; }
footer ul a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color 0.2s; }
footer ul a:hover { color: var(--gold); }
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 45px; }
.footer-tagline { font-size: 0.9rem; line-height: 1.7; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* -- Utility -- */
.gold-line {
  width: 50px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.gold-line.centered { margin-left: auto; margin-right: auto; }

.badge {
  display: inline-block;
  background: rgba(184,151,62,0.15);
  color: var(--gold);
  border-radius: 50px;
  padding: 0.25rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

.img-rounded { border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }

/* -- Responsive helpers -- */
@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 5rem 0 4rem; }
  .hero > .container { padding-left: 1.5rem; margin-left: auto; }
  .stats-row { gap: 1.5rem; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
