/* ==========================================================================
   AKMS Site — Sections CSS (Hero, Services, ERP, Calculator, Booking, Hub, etc.)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: calc(90vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem 0;
  background: var(--hero-bg-grad);
  transition: background var(--transition-normal);
}

.hero-bg-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 340px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
}

.hero-gold-glow-orb {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

/* Hero Headline: Clean, Non-Jumping Corporate Typography */
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero-title-main {
  color: var(--text-heading);
}

.hero-typewriter-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.3em;
}

.hero-typewriter-wrap {
  color: var(--gold-primary);
  border-bottom: 2.5px solid var(--gold-primary);
  padding-bottom: 2px;
  white-space: nowrap;
  font-weight: 800;
}

.hero-title-sub {
  font-size: 0.88em;
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

/* Hero Stats Showcase Metric Cards Bar */
.stats-counter-bar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  margin-top: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.65rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition-normal);
  text-align: center;
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-primary);
  display: block;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.35;
  margin: 0;
}

/* --------------------------------------------------------------------------
   2. SERVICES INTERACTIVE GRID
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 71, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--gold-primary);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-heading);
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.service-feature-item svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3. ODOO ERP INTERACTIVE SHOWCASE
   -------------------------------------------------------------------------- */
.odoo-section {
  background: var(--bg-tertiary);
  transition: background var(--transition-normal);
}

.odoo-showcase-wrap {
  background: var(--odoo-box-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.odoo-matrix-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.odoo-info-box h3 {
  font-size: 1.75rem;
  color: var(--text-heading);
  margin-bottom: 0.85rem;
}

.odoo-info-box p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.odoo-modules-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.odoo-module-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.odoo-preview-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
}

.odoo-preview-container img, .odoo-preview-container svg {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   4. INTERACTIVE BAHRAIN VAT & SERVICE CALCULATOR
   -------------------------------------------------------------------------- */
.calc-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.calc-results-card {
  background: var(--calc-result-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.calc-badge-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(197, 160, 71, 0.18);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.calc-price-display {
  margin: 1.25rem 0;
}

.calc-price-amount {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1.1;
}

.calc-price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.15rem;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.calc-breakdown-row strong {
  color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   5. GOOGLE MEET CALENDAR BOOKING WIZARD
   -------------------------------------------------------------------------- */
.booking-section {
  background: var(--bg-tertiary);
  transition: background var(--transition-normal);
}

.booking-wizard-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.booking-steps-nav {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
}

.booking-steps-nav::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-medium);
  z-index: 1;
  transform: translateY(-50%);
}

.booking-step-indicator {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
  border: 2px solid var(--border-medium);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.booking-step-indicator.active {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  color: #0A1628;
  box-shadow: 0 0 15px rgba(197, 160, 71, 0.5);
}

.booking-step-indicator.completed {
  border-color: var(--gold-primary);
  background: var(--bg-tertiary);
  color: var(--gold-primary);
}

.booking-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.booking-service-option {
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  background: var(--bg-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.booking-service-option:hover, .booking-service-option.selected {
  border-color: var(--gold-primary);
  background: rgba(197, 160, 71, 0.12);
  transform: translateY(-2px);
}

.booking-service-option.selected {
  box-shadow: 0 4px 15px rgba(197, 160, 71, 0.2);
}

.booking-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.slot-btn {
  padding: 0.75rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slot-btn:hover, .slot-btn.selected {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  color: #0A1628;
}

/* --------------------------------------------------------------------------
   6. KNOWLEDGE & TAX AUTHORITIES UPDATES HUB
   -------------------------------------------------------------------------- */
.knowledge-search-bar {
  display: flex;
  gap: 1rem;
  max-width: 580px;
  margin: 0 auto 2.25rem auto;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.article-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-lg);
}

.article-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.65rem;
  display: block;
}

.article-title {
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. FOUNDER & LEADERSHIP SPOTLIGHT
   -------------------------------------------------------------------------- */
.founder-section {
  background: var(--bg-tertiary);
  transition: background var(--transition-normal);
}

.founder-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--founder-box-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 3.25rem;
  box-shadow: var(--shadow-lg);
}

.founder-photo-wrap {
  position: relative;
  text-align: center;
  max-width: 340px;
  margin: 0 auto;
}

.founder-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 25px var(--gold-glow);
  background: var(--bg-tertiary);
}

.founder-photo-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--transition-normal);
}

.founder-photo-frame:hover img {
  transform: scale(1.03);
}

.founder-photo-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 17, 30, 0.95) 100%);
  padding: 1.25rem 0.5rem 0.65rem 0.5rem;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.founder-degrees-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  text-align: left;
}

.degree-pill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.degree-pill-item:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  background: rgba(197, 160, 71, 0.08);
  box-shadow: var(--shadow-sm);
}

.degree-flag {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.degree-pill-item strong {
  display: block;
  font-size: 0.825rem;
  color: var(--text-heading);
  line-height: 1.2;
}

.degree-pill-item small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.founder-info h3 {
  font-size: 2.1rem;
  color: var(--gold-primary);
  margin-bottom: 0.25rem;
}

.founder-title-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.founder-quote {
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text-secondary);
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.15rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.founder-credentials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.credential-chip {
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   8. TESTIMONIALS CAROUSEL
   -------------------------------------------------------------------------- */
.testimonials-slider-container {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.testimonials-track {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  min-width: calc(33.333% - 1.2rem);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.testimonial-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #0A1628;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.925rem;
}

.author-company {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Partner & Certification Brand Logos Wall */
.partner-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.15rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  height: 54px;
  min-width: 135px;
  transition: all var(--transition-normal);
}

.partner-logo-item:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md);
  background: var(--bg-secondary);
}

.partner-logo-item img {
  height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

/* --------------------------------------------------------------------------
   10. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-section {
  background: var(--bg-tertiary);
  transition: background var(--transition-normal);
}

.faq-accordion-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--gold-primary);
}

.faq-question-btn {
  width: 100%;
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-heading);
}

.faq-chevron {
  color: var(--gold-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.4rem;
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.4rem;
}

/* --------------------------------------------------------------------------
   11. CONTACT & INTERACTIVE MAP SECTION
   -------------------------------------------------------------------------- */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
}

.contact-info-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.map-container {
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1.5rem;
  border: 1px solid var(--border-medium);
}
