/*
 * Main CSS Stylesheet for ConsultWise
 * Design System: Glassmorphism with Eco-minimalism elements
 * Color Scheme: Monochromatic
 * Animation Style: Particle Animation
 */

/* ----- CSS VARIABLES ----- */
:root {
  /* Primary Colors */
  --primary-color: #2b6777;
  --primary-light: #52ab98;
  --primary-dark: #1a4552;
  
  /* Secondary/Accent Colors */
  --accent-color: #c8d8e4;
  --accent-light: #f2f2f2;
  --accent-dark: #a7b8c3;
  
  /* Text Colors */
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #ffffff;
  
  /* Background Colors */
  --bg-light: #f8f9fa;
  --bg-medium: #e9ecef;
  --bg-dark: #343a40;
  
  /* Glassmorphism Settings */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --glass-blur: 10px;
  
  /* Card & Section Settings */
  --card-radius: 12px;
  --section-spacing: 5rem;
  --item-spacing: 2rem;
  
  /* Transition Speeds */
  --transition-fast: 0.3s;
  --transition-medium: 0.5s;
  --transition-slow: 0.8s;
}

/* ----- GLOBAL STYLES ----- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-medium);
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
  position: relative;
}

/* ----- GLASSMORPHISM EFFECT ----- */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  transition: transform var(--transition-medium) ease, box-shadow var(--transition-medium) ease;
}

.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px 0 var(--glass-shadow);
}

/* ----- BUTTONS ----- */
.button {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 50px;
  transition: all var(--transition-fast) ease;
  border: none;
  outline: none;
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(43, 103, 119, 0.3);
}

.button.is-light {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.button.is-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
}

.button.is-outlined {
  background-color: transparent;
  border: 2px solid currentColor;
}

.button.is-medium {
  font-size: 1.1rem;
  padding: 0.85rem 1.75rem;
}

.button.is-small {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.button.is-fullwidth {
  width: 100%;
  display: block;
}

/* ----- HEADER & NAVIGATION ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-medium) ease;
  background-color: rgba(248, 249, 250, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo {
  font-family: 'Roboto', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.navbar-item {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast) ease;
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent;
}

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

/* ----- HERO SECTION ----- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-body {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 5rem 0;
  position: relative;
  z-index: 2;
}

.hero .title,
.hero .subtitle,
.hero-description {
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

/* ----- PARTICLES ANIMATION ----- */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
}

/* ----- MISSION SECTION ----- */
.mission-section {
  background-color: var(--bg-light);
}

.mission-content {
  padding: 2.5rem;
  text-align: center;
}

.mission-image-container {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: var(--card-radius);
  width: 100%;
  text-align: center;
}

.mission-image-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  transition: transform var(--transition-medium) ease;
}

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

.progress-container {
  margin-top: 2rem;
}

.progress {
  height: 0.75rem;
  border-radius: 50px;
  overflow: hidden;
  background-color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.progress::-webkit-progress-bar {
  background-color: var(--accent-light);
  border-radius: 50px;
}

.progress::-webkit-progress-value {
  background-color: var(--primary-color);
  border-radius: 50px;
}

.progress::-moz-progress-bar {
  background-color: var(--primary-color);
  border-radius: 50px;
}

/* ----- VISION SECTION ----- */
.vision-section {
  background-color: var(--bg-medium);
}

.vision-content {
  padding: 2.5rem;
  text-align: center;
}

.vision-image-container {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: var(--card-radius);
  width: 100%;
  text-align: center;
}

.vision-image-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  transition: transform var(--transition-medium) ease;
}

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

/* ----- TIMELINE ----- */
.timeline {
  margin-top: 2.5rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 2px;
  background-color: var(--primary-light);
}

.timeline-item {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  flex-shrink: 0;
  margin: 0 1rem;
  border: 3px solid var(--bg-light);
}

.timeline-content {
  width: 45%;
  padding: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--card-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-content .heading {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* ----- TEAM SECTION ----- */
.team-section {
  background-color: var(--bg-light);
}

.team-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.card-image {
  width: 100%;
  margin-bottom: 1.5rem;
  text-align: center;
}

.image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--card-radius);
  text-align: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  transition: transform var(--transition-medium) ease;
}

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

.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  margin: 0 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
  transition: color var(--transition-fast) ease;
}

.social-links a:hover {
  color: var(--primary-light);
}

/* ----- RESOURCES SECTION ----- */
.resources-section {
  background-color: var(--bg-medium);
}

.resources-content {
  padding: 2.5rem;
}

.resource-list {
  list-style: none;
  padding: 0;
}

.resource-list li {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--accent-light);
}

.resource-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.resource-list a {
  display: block;
  transition: transform var(--transition-fast) ease;
}

.resource-list a:hover {
  transform: translateX(10px);
}

.resource-title {
  display: block;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.resource-description {
  display: block;
  color: var(--text-medium);
}

/* ----- EVENTS SECTION ----- */
.events-section {
  background-color: var(--bg-light);
}

.events-content {
  padding: 2.5rem;
}

.event-image-container {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: var(--card-radius);
  width: 100%;
  height: 400px;
  text-align: center;
}

.event-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  transition: transform var(--transition-medium) ease;
}

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

.event-list {
  margin-top: 2rem;
}

.event-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--accent-light);
}

.event-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.event-date {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-right: 1.5rem;
}

.event-date .month {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: bold;
}

.event-date .day {
  font-size: 1.75rem;
  font-weight: bold;
}

.event-details {
  flex-grow: 1;
}

.event-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.event-location {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 1rem;
}

.event-description {
  margin-bottom: 1.25rem;
}

/* ----- INSIGHTS SECTION ----- */
.insights-section {
  background-color: var(--bg-medium);
}

.insight-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  text-align: center;
}

/* ----- CAREERS SECTION ----- */
.careers-section {
  background-color: var(--bg-light);
}

.careers-content {
  padding: 2.5rem;
}

.careers-image-container {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: var(--card-radius);
  width: 100%;
  height: 400px;
  text-align: center;
}

.careers-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  transition: transform var(--transition-medium) ease;
}

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

.job-listings {
  margin-top: 2.5rem;
}

.job-item {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--accent-light);
  border-radius: var(--card-radius);
  transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

.job-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.job-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.job-description {
  margin-bottom: 1.25rem;
}

/* ----- BLOG SECTION ----- */
.blog-section {
  background-color: var(--bg-medium);
}

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  text-align: center;
}

.post-date {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* ----- INSTRUCTORS SECTION ----- */
.instructors-section {
  background-color: var(--bg-light);
}

.instructor-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.instructor-specs {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tag {
  background-color: var(--accent-light);
  color: var(--primary-color);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
}

/* ----- CONTACT SECTION ----- */
.contact-section {
  background-color: var(--bg-medium);
}

.contact-card {
  padding: 2.5rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-image-container {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: var(--card-radius);
  width: 100%;
  height: 200px;
  text-align: center;
}

.contact-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  transition: transform var(--transition-medium) ease;
}

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

.field {
  margin-bottom: 1.5rem;
}

.label {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.input,
.textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--accent-dark);
  border-radius: var(--card-radius);
  background-color: rgba(255, 255, 255, 0.8);
  transition: border-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(43, 103, 119, 0.25);
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

/* ----- FOOTER ----- */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

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

.footer p {
  color: var(--accent-light);
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: var(--accent-light);
  transition: color var(--transition-fast) ease;
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer .social-links {
  margin-top: 1rem;
}

.footer .social-links a {
  color: var(--accent-light);
  margin: 0 0.5rem;
  font-weight: 400;
}

.footer .social-links a:hover {
  color: var(--text-light);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--accent-light);
}

/* ----- COOKIE CONSENT ----- */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--text-light);
  z-index: 9999;
  padding: 1rem;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0 1rem 0 0;
  color: var(--text-light);
}

/* ----- SUCCESS PAGE ----- */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.success-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.success-message {
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* ----- PRIVACY & TERMS PAGES ----- */
.content-page {
  padding-top: 100px;
  padding-bottom: 5rem;
}

.content-page .container {
  max-width: 800px;
}

.content-page h1 {
  margin-bottom: 2rem;
}

.content-page h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.content-page p, 
.content-page ul,
.content-page ol {
  margin-bottom: 1.5rem;
}

/* ----- UTILITY CLASSES ----- */
.mt-6 {
  margin-top: 3rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

.mb-6 {
  margin-bottom: 3rem !important;
}

.has-text-centered {
  text-align: center !important;
}

.has-text-white {
  color: var(--text-light) !important;
}

/* ----- MEDIA QUERIES ----- */
@media screen and (max-width: 1023px) {
  .hero .title {
    font-size: 2.75rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    justify-content: flex-start;
  }
  
  .timeline-content {
    width: calc(100% - 50px);
  }
}

@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2.25rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .event-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .event-date {
    margin-bottom: 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .hero .title {
    font-size: 1.85rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .button.is-medium {
    font-size: 0.9rem;
    padding: 0.7rem 1.4rem;
  }
}