/*
  ========================================
  STYLE.CSS
  Website: Financial Consulting
  Design System: Modern
  Trend: Asymmetrical Balance
  Color Scheme: Complementary
  Animation Style: Non-linear movements
  ========================================
*/

/* -------------------------------------- */
/* --- CSS Variables and Root Styles --- */
/* -------------------------------------- */
:root {
  --primary-color: #0d3d56; /* Deep, professional teal/blue */
  --secondary-color: #e87a00; /* Complementary warm orange */
  --background-light: #f7f9fa;
  --background-dark: #0a2f44;
  --text-dark: #222222;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --border-color: #dee2e6;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* -------------------------------------- */
/* --- Base and Typography Styles --- */
/* -------------------------------------- */
html {
  scroll-behavior: smooth;
  background-color: var(--text-light);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings */
.title, .subtitle {
  font-family: var(--font-heading);
  color: var(--text-dark);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.title.is-1, .title.is-2 {
  font-weight: 700;
  letter-spacing: 1px;
}

.section-title {
  margin-bottom: 3rem !important;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.content p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--secondary-color);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-color);
}

.section {
  padding: 4rem 1.5rem;
}

/* -------------------------------------- */
/* --- Header and Navigation --- */
/* -------------------------------------- */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-item.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.navbar-item.logo .has-text-primary, .has-text-primary {
  color: var(--secondary-color) !important;
}

.navbar-item {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.navbar-item:hover, .navbar-item.is-active {
  background-color: transparent !important;
  color: var(--secondary-color) !important;
}

.navbar-burger {
  color: var(--text-dark);
}

/* -------------------------------------- */
/* --- Global Button Styles --- */
/* -------------------------------------- */
.button {
  font-family: var(--font-heading);
  border-radius: var(--border-radius);
  border-width: 2px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  padding: 1.2rem 2rem;
}

.button.is-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-light);
}

.button.is-primary:hover {
  background-color: transparent;
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* -------------------------------------- */
/* --- Hero Section --- */
/* -------------------------------------- */
#hero {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-light);
}

.hero-title {
  font-size: 4rem;
  color: var(--text-light) !important;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  color: var(--text-light) !important;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-weight: 400;
  font-family: var(--font-body);
  text-shadow: none;
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

/* -------------------------------------- */
/* --- Mission Section & Stats --- */
/* -------------------------------------- */
.asymmetrical-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.stat-widget {
  padding: 1rem;
  text-align: center;
}
.stat-widget .title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.stat-widget .heading {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* -------------------------------------- */
/* --- Process Section (Timeline) --- */
/* -------------------------------------- */
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 19px;
  height: 100%;
  width: 4px;
  background: var(--border-color);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 50px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary-color);
  border: 4px solid var(--background-light);
  z-index: 1;
}

.timeline-content .heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* -------------------------------------- */
/* --- Cards (Case Studies, etc.) --- */
/* -------------------------------------- */
.card {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.card .card-image img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.card .card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card .card-content .media {
  margin-bottom: 1.5rem;
}

.card .card-content .title {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* -------------------------------------- */
/* --- Accolades Section --- */
/* -------------------------------------- */
.accolades-gallery .accolade-item {
  text-align: center;
  padding: 1.5rem;
}

.accolade-item img {
  max-height: 100px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(50%);
  opacity: 0.8;
  transition: var(--transition-fast);
}

.accolade-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* -------------------------------------- */
/* --- Insights (Accordion) --- */
/* -------------------------------------- */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--text-light);
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-color);
}

.accordion-header .icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header .icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0 1.5rem;
}
.accordion-content p {
  margin: 0;
  padding-bottom: 1rem;
}

/* -------------------------------------- */
/* --- External Resources Section --- */
/* -------------------------------------- */
.resource-card {
  background: var(--text-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  height: 100%;
  transition: var(--transition-fast);
}
.resource-card:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow);
}
.resource-card a {
  color: var(--primary-color);
}
.resource-card a:hover {
  color: var(--secondary-color);
}

/* -------------------------------------- */
/* --- Contact Section --- */
/* -------------------------------------- */
.input, .textarea {
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
  padding: 1.2rem;
}

.input:focus, .textarea:focus,
.input:active, .textarea:active {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.125em rgba(232, 122, 0, 0.25);
}

.label {
  font-family: var(--font-body);
  font-weight: 700;
}

.contact-info {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: var(--border-radius);
}

/* -------------------------------------- */
/* --- Footer --- */
/* -------------------------------------- */
.footer {
  background-color: var(--background-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 1.5rem;
}

.footer .title {
  color: var(--text-light);
  font-family: var(--font-heading);
}

.footer .logo .has-text-primary {
  color: var(--secondary-color) !important;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: var(--secondary-color);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

/* -------------------------------------- */
/* --- Standalone Pages (Success, Privacy, Terms) --- */
/* -------------------------------------- */
.success-page, .static-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.success-page .hero-body {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.static-page-content {
  flex-grow: 1;
  padding-top: 100px;
  padding-bottom: 4rem;
}

/* -------------------------------------- */
/* --- Media Queries for Responsiveness --- */
/* -------------------------------------- */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: white;
    box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
    padding: 0.5rem 0;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }

  .columns.is-vcentered {
    flex-direction: column-reverse;
  }
  .columns.is-vcentered .column:last-child {
    margin-bottom: 2rem;
  }
}