/*
  STYLE.CSS
  Theme: Financial Consulting
  Design System: Creative
  Trend: Block UI
  Color Scheme: Neutral
  Animation: 3D Effects
*/

/* -------------------------------------------------- */
/* 1. CSS VARIABLES & GLOBAL SETUP
/* -------------------------------------------------- */

:root {
  /* Colors */
  --color-primary: #0A2540;      /* Deep Navy Blue */
  --color-secondary: #0077FF;     /* A professional, vibrant blue for accents */
  --color-accent: #D4AF37;       /* Muted Gold for special highlights */
  --color-text-dark: #222222;     /* For headings, high contrast */
  --color-text-body: #555555;     /* For main body text */
  --color-text-light: #FFFFFF;
  --color-bg: #f9f9f9;           /* Main background */
  --color-bg-alt: #FFFFFF;       /* Alternate background for sections */
  --color-border: #EAEAEA;
  --color-form-bg: #FFFFFF;
  --color-success: #28a745;
  --color-error: #dc3545;
  --color-dark-overlay: rgba(10, 37, 64, 0.6); /* Overlay using primary color */

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Sizing & Spacing */
  --header-height: 80px;
  --container-width: 1200px;
  --section-padding: 6rem 0;
  
  /* UI Elements */
  --border-radius: 8px;
  --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-3d-hover: 0 15px 35px rgba(10, 37, 64, 0.15);
  --transition-fast: all 0.2s ease-in-out;
  --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* -------------------------------------------------- */
/* 2. BASE & TYPOGRAPHY
/* -------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

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

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

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

ul {
  list-style: none;
}

/* -------------------------------------------------- */
/* 3. LAYOUT & HELPERS
/* -------------------------------------------------- */

.main-container {
  overflow-x: hidden;
}

.section-container {
  padding: var(--section-padding);
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-bg-alt {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--color-text-dark);
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  font-size: 1.1rem;
  color: var(--color-text-body);
}

/* -------------------------------------------------- */
/* 4. GLOBAL COMPONENTS
/* -------------------------------------------------- */

/* --- BUTTONS --- */
.btn, button, input[type='submit'] {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-normal);
  font-size: 1rem;
  transform: perspective(1000px);
}

.btn:hover, button:hover, input[type='submit']:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-medium);
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-light);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.btn-tertiary {
  padding: 8px 16px;
  font-size: 0.9rem;
  background: transparent;
  color: var(--color-secondary);
  border: none;
}
.btn-tertiary:hover {
  background: rgba(74, 144, 226, 0.1);
  transform: none;
  box-shadow: none;
}
.btn.disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    border-color: #ccc;
}
.btn.disabled:hover {
    transform: none;
    box-shadow: none;
}


/* --- CARDS --- */
.card, .pricing-card, .career-card, .resource-card {
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: var(--transition-normal);
  transform: perspective(1000px);
  display: flex;
  flex-direction: column;
  text-align: left; /* Default text alignment */
}

.card:hover, .pricing-card:hover, .career-card:hover, .resource-card:hover {
  transform: translateY(-8px) perspective(1000px) rotateX(1deg);
  box-shadow: var(--shadow-3d-hover);
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
}
.card-content h3, .card-content h4 {
    margin-bottom: 0.75rem;
}

/* -------------------------------------------------- */
/* 5. HEADER & NAVIGATION
/* -------------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: var(--header-height);
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-light);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}
.header-logo:hover {
    text-decoration: none;
}

.header-nav .nav-list {
  display: flex;
  gap: 2.5rem;
}

.header-nav .nav-list a {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text-body);
  font-size: 1rem;
  position: relative;
  padding: 5px 0;
  text-decoration: none;
}

.header-nav .nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: var(--transition-fast);
}

.header-nav .nav-list a:hover::after {
  width: 100%;
}

.burger-menu, .mobile-nav {
  display: none;
}

/* -------------------------------------------------- */
/* 6. SECTION STYLES
/* -------------------------------------------------- */

/* --- HERO --- */
.hero-section {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-light);
  padding: 0 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0.9;
}

/* --- FEATURES --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.features-grid .card {
    text-align: center;
}
.features-grid .card-content {
    padding: 1.5rem;
}

/* --- OUR PROCESS --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  padding: 2rem;
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  text-align: center;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

/* --- PROJECTS --- */
.projects-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.projects-carousel .card-content { text-align: left; }

/* --- ACCOLADES --- */
.accolades-carousel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.accolade-item img {
    height: 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-normal);
}
.accolade-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- PRICING --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}
.pricing-card {
  padding: 2.5rem 2rem;
  text-align: center;
  border: 2px solid var(--color-border);
}
.pricing-card.featured {
  border-color: var(--color-secondary);
  transform: scale(1.05) perspective(1000px);
  box-shadow: var(--shadow-medium);
}
.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin: 1.5rem 0;
}
.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-body);
}
.pricing-card ul { margin: 2rem 0; }
.pricing-card ul li { margin-bottom: 1rem; }

/* --- SUSTAINABILITY --- */
.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.sustainability-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

/* --- EVENTS --- */
.events-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.event-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}
.event-date {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--color-secondary);
    background: rgba(74, 144, 226, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
    min-width: 80px;
}
.event-date .month { font-size: 0.9rem; font-weight: 500; }
.event-date .day { font-size: 2rem; font-weight: 700; line-height: 1; }
.event-details { flex-grow: 1; }
.event-details h4 { margin-bottom: 0.25rem; }
.event-details p { margin-bottom: 0; font-size: 0.9rem; }


/* --- CAREERS --- */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.career-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
.career-card .location {
    font-size: 0.9rem;
    color: var(--color-text-body);
    margin-bottom: 1rem;
}
.career-card p {
    flex-grow: 1;
}

/* --- RESOURCES --- */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.resource-card {
    padding: 2rem;
    color: var(--color-text-body);
    text-decoration: none;
}
.resource-card:hover {
    text-decoration: none;
}
.resource-card h4 {
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
}
.resource-card .resource-url {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-accent);
    display: block;
}

/* --- CONTACT --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background: var(--color-bg-alt);
  padding: 4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.contact-info h3 { margin-bottom: 1.5rem; }
.contact-info ul { margin-top: 2rem; }
.contact-info ul li { margin-bottom: 1rem; }

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-form-bg);
  transition: var(--transition-fast);
  font-family: var(--font-body);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.contact-form button {
  width: 100%;
}

/* -------------------------------------------------- */
/* 7. FOOTER
/* -------------------------------------------------- */

.footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem 0;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-col a:hover {
  color: var(--color-text-light);
  text-decoration: underline;
}

.footer-social li {
  display: inline-block;
  margin-right: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

/* -------------------------------------------------- */
/* 8. OTHER PAGES & RESPONSIVENESS
/* -------------------------------------------------- */

/* --- Success Page --- */
.success-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
    background-color: var(--color-bg);
}
.success-page-container h1 {
    color: var(--color-success);
    margin-bottom: 1rem;
}

/* --- Legal Pages (Privacy, Terms) --- */
.legal-page-content {
    padding: calc(var(--header-height) + 4rem) 2rem 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-bg-alt);
    min-height: 100vh;
}
.legal-page-content h1 {
    margin-bottom: 2rem;
}
.legal-page-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* --- Media Queries --- */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero-title { font-size: 3rem; }
  .section-container { padding: 4rem 0; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; padding: 2.5rem; }
  .sustainability-content { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .projects-carousel { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  
  .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
  }
  .burger-menu span {
    width: 2rem;
    height: 3px;
    background: var(--color-primary);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
  }
  
  .mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--color-bg-alt);
    height: 100vh;
    width: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
  }
  .mobile-nav.open {
    transform: translateX(0);
  }
  .mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .mobile-nav a {
      font-size: 1.5rem;
      color: var(--color-primary);
  }

  .projects-carousel { grid-template-columns: 1fr; }
  .pricing-grid { gap: 2rem; }
  .pricing-card.featured { transform: scale(1); }
  .event-item { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 576px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  .hero-title { font-size: 2.5rem; }
  .footer-container { grid-template-columns: 1fr; }
}