/* =================================================================== */
/*   ADEPT ELITE CONSULTING CENTER - SHARED CORE STYLESHEET            */
/*   File: adept-shared.css                                            */
/*   Unified CSS variables and shared classes for the entire project   */
/* =================================================================== */

/* =================================================================== */
/*   1. CORE CSS DESIGN TOKENS & SYSTEM VARIABLES                      */
/* =================================================================== */
:root {
  /* Brand Primary Colors */
  --adept-primary: #0056b3;
  --adept-primary-hover: #00418a;
  --adept-primary-dark: #004494;
  --adept-secondary: #007bff;
  --adept-sky: #00aeff;
  --adept-sky-dark: #0096dc;
  --adept-emerald: #10b981;
  --adept-amber: #f59e0b;
  --adept-danger: #dc3545;

  /* Aliases for legacy project file compatibility */
  --primary-color: var(--adept-primary);
  --primary-hover-color: var(--adept-primary-hover);
  --secondary-color: var(--adept-secondary);
  --header-link-active: var(--adept-primary);
  --adt-primary: var(--adept-sky);
  --adt-primary-dark: var(--adept-sky-dark);

  /* Deep Corporate Dark Colors */
  --adept-navy-darkest: #0b1120;
  --adept-navy: #0f172a;
  --adept-dark-blue: #0d3b4e;
  --adept-navy-card: #003152;
  --dark-color: #212529;
  --adt-navy: var(--adept-navy);
  --adt-header-bluish: #2c3e50;
  --adt-footer-bg: var(--adept-navy-darkest);

  /* Neutrals, Surfaces & Backgrounds */
  --adept-text-dark: #1e293b;
  --adept-text-muted: #64748b;
  --adept-border: #e2e8f0;
  --adept-bg-light: #f8fafc;
  --adept-white: #ffffff;
  --light-color: #ffffff;
  --light-bg: #f8f9fa;
  --text-color-dark: #1e293b;
  --text-muted: #64748b;
  --top-bar-bg: #f1f3f5;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0d3b4e 0%, #0056b3 100%);
  --gradient-sky: linear-gradient(90deg, #00aeff, #0078ff);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 18px rgba(0, 86, 179, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 86, 179, 0.12);
  --shadow-xl: 0 15px 45px rgba(0, 49, 82, 0.16);

  /* Dimensions & Spacing */
  --header-height-main: 76px;
  --header-height-top: 36px;
  --header-total-height: 112px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
}

/* =================================================================== */
/*   2. SHARED CONTAINER & LAYOUT CLASSES                              */
/* =================================================================== */
.container,
.page-container,
.adt-container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  width: 100%;
}

.container-narrow {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Section Spacing */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-padding-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Offset for fixed headers */
.has-fixed-header {
  padding-top: var(--header-total-height);
}

/* =================================================================== */
/*   3. SHARED TYPOGRAPHY & HEADINGS                                   */
/* =================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--adept-navy);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--adept-text-muted);
  line-height: 1.65;
}

.page-hero__title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.page-hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* =================================================================== */
/*   4. SHARED BUTTONS & CTAS                                          */
/* =================================================================== */
.btn-primary,
.cta-button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--adept-sky);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 174, 255, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary:hover,
.cta-button-primary:hover {
  background-color: var(--adept-sky-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 174, 255, 0.38);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #ffffff;
  color: var(--adept-primary);
  border: 1.5px solid var(--adept-border);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--adept-primary);
  color: var(--adept-primary-hover);
  background-color: var(--adept-bg-light);
  transform: translateY(-1px);
}

.cta-button-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #ffffff;
  color: var(--adept-dark-blue);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  text-decoration: none;
}

.cta-button-white:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

/* =================================================================== */
/*   5. SHARED CARDS & SURFACES                                        */
/* =================================================================== */
.card-base,
.feature-card,
.info-card,
.course-card-v2,
.program-card {
  background-color: var(--adept-white);
  border: 1px solid var(--adept-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.card-base:hover,
.feature-card:hover,
.info-card:hover,
.course-card-v2:hover,
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 174, 255, 0.3);
}

/* Glassmorphism Surface */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 49, 82, 0.08);
}

/* =================================================================== */
/*   6. SHARED BREADCRUMB BAR                                          */
/* =================================================================== */
.adt-breadcrumb {
  background-color: var(--adept-bg-light);
  border-bottom: 1px solid var(--adept-border);
  padding: 0.65rem 0;
  font-size: 0.85rem;
}

.adt-breadcrumb__list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.adt-breadcrumb__list a {
  color: var(--adept-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.adt-breadcrumb__list a:hover {
  color: var(--adept-sky);
}

.adt-breadcrumb__separator {
  color: #94a3b8;
  font-size: 0.7rem;
}

.adt-breadcrumb__active {
  color: var(--adept-navy);
  font-weight: 600;
}

/* =================================================================== */
/*   7. SHARED FLOATING ACTION BUTTONS (FABs) & CHAT WIDGET            */
/* =================================================================== */
.adt-fab {
  position: fixed;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
  z-index: 998;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  font-size: 1.35rem;
}

.adt-fab:hover {
  transform: scale(1.08);
  color: #ffffff;
}

.adt-fab--whatsapp {
  bottom: 24px;
  left: 24px;
  background-color: #25d366;
}

.adt-fab--whatsapp:hover {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.adt-fab--scroll-top {
  bottom: 24px;
  right: 24px;
  background-color: var(--adept-navy);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.adt-fab--scroll-top.visible,
.adt-fab--scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.adt-chat-widget {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 1000;
}

.adt-fab--chat {
  background-color: var(--adept-sky);
}

.adt-fab--chat:hover {
  box-shadow: 0 8px 25px rgba(0, 174, 255, 0.45);
}

/* =================================================================== */
/*   8. SHARED ANIMATIONS & KEYFRAMES                                  */
/* =================================================================== */
@keyframes floatBar {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

@keyframes backToForward {
  0% { opacity: 0; transform: scale(0.95) translateY(16px); filter: blur(4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes adept-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.anim-float {
  animation: floatBar 4s ease-in-out infinite;
}

.anim-hero-entry {
  animation: backToForward 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.anim-spinner {
  animation: spin 1s linear infinite;
}

/* =================================================================== */
/*   9. RESPONSIVE UTILITIES                                           */
/* =================================================================== */
@media (max-width: 992px) {
  :root {
    --header-height-main: 70px;
    --header-total-height: 70px;
  }
  .section-title {
    font-size: 1.85rem;
  }
}

@media (max-width: 576px) {
  :root {
    --header-height-main: 64px;
    --header-total-height: 64px;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .adt-fab {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }
  .adt-fab--whatsapp {
    bottom: 18px;
    left: 18px;
  }
  .adt-fab--scroll-top {
    bottom: 18px;
    right: 18px;
  }
  .adt-chat-widget {
    bottom: 74px;
    right: 18px;
  }
}
