/* 
===========================================================
  STYLE.CSS FOR FINCONSULT
  CORPORATE DESIGN SYSTEM WITH ECO-MINIMALISM INFLUENCES
  SPLIT-COMPLEMENTARY COLOR SCHEME
===========================================================
*/

/* ===== BASE VARIABLES AND RESETS ===== */
:root {
  /* Primary Colors */
  --primary-color: #2E7D32; /* Dark Green */
  --primary-light: #4CAF50; /* Medium Green */
  --primary-dark: #1B5E20; /* Very Dark Green */
  
  /* Complementary Colors */
  --complementary-color: #7D2E7A; /* Purple */
  --complementary-light: #9C4A99; /* Light Purple */
  --complementary-dark: #5E205B; /* Dark Purple */
  
  /* Split-Complementary Colors */
  --split-comp-1: #7D522E; /* Brown */
  --split-comp-1-light: #9C734A; /* Light Brown */
  --split-comp-1-dark: #5E3D20; /* Dark Brown */
  
  /* Neutral Colors */
  --neutral-100: #FFFFFF;
  --neutral-200: #F5F5F5;
  --neutral-300: #E0E0E0;
  --neutral-400: #BDBDBD;
  --neutral-500: #9E9E9E;
  --neutral-600: #757575;
  --neutral-700: #616161;
  --neutral-800: #424242;
  --neutral-900: #212121;
  
  /* Special Purpose */
  --success-color: #4CAF50;
  --warning-color: #FFC107;
  --error-color: #F44336;
  --info-color: #2196F3;
  
  /* Typography */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Source Sans Pro', sans-serif;
  
  /* Sizing */
  --container-width: 1200px;
  --section-spacing: 5rem;
  --element-spacing: 1.5rem;
  
  /* Effects */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  --box-shadow-light: 0 2px 5px rgba(0,0,0,0.1);
  --box-shadow-medium: 0 5px 15px rgba(0,0,0,0.1);
  --box-shadow-heavy: 0 10px 25px rgba(0,0,0,0.15);
  --border-radius-small: 4px;
  --border-radius-medium: 8px;
  --border-radius-large: 12px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInFromBottom {
  from { 
    transform: translateY(30px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from { 
    transform: translateX(-30px);
    opacity: 0;
  }
  to { 
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes morphing {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* ===== GLOBAL STYLES ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--neutral-800);
  line-height: 1.6;
  background-color: var(--neutral-100);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

/* Content pages (privacy, terms) */
.content-page {
  padding-top: 100px;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

/* ===== BUTTONS ===== */
.button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--neutral-100) !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-medium);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--box-shadow-light);
}

.button:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-medium);
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white !important;
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button.is-light {
  background-color: transparent;
  border-color: var(--neutral-100);
  color: var(--neutral-100) !important;
}

.button.is-light:hover {
  background-color: var(--neutral-100);
  color: var(--primary-color) !important;
}

.button.is-outlined {
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
}

.button.is-outlined:hover {
  background-color: var(--primary-color);
  color: var(--neutral-100) !important;
}

.button.is-large {
  font-size: 1.25rem;
  padding: 0.875rem 1.75rem;
}

/* ===== HEADER/NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--neutral-100);
  box-shadow: var(--box-shadow-light);
  transition: all var(--transition-fast);
}

.navbar {
  padding: 1rem 0;
}

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

.navbar-item {
  color: var(--neutral-800);
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast);
}

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

.navbar-menu {
  display: flex;
  justify-content: flex-end;
}

.navbar-burger {
  display: none;
  cursor: pointer;
}

@media (max-width: 1023px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--neutral-100);
    box-shadow: var(--box-shadow-medium);
    padding: 1rem;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
  }
  
  .navbar-item {
    padding: 0.75rem 0;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--neutral-100);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  z-index: 0;
}

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

.hero .title,
.hero .subtitle {
  color: var(--neutral-100);
  animation: fadeIn var(--transition-medium) forwards;
}

.hero p {
  animation: slideInFromBottom var(--transition-medium) 0.3s forwards;
}

.hero .buttons {
  animation: slideInFromBottom var(--transition-medium) 0.5s forwards;
}

/* ===== SERVICES SECTION ===== */
.section {
  padding: 5rem 0;
}

.card {
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--box-shadow-light);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-image img {
  transition: transform var(--transition-medium);
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin: 0 auto;
}

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

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

.card-content h3 {
  margin-top: 0;
  color: var(--neutral-900);
}

.card-content p {
  color: var(--neutral-700);
  margin-bottom: 1.5rem;
}

.card-content a {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== TEAM SECTION ===== */
.has-background-light {
  background-color: var(--neutral-200);
}

/* ===== RESOURCES SECTION ===== */
.box {
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-medium);
  padding: 2rem;
  box-shadow: var(--box-shadow-light);
}

/* ===== CONTACT SECTION ===== */
.info-block {
  margin-bottom: 2rem;
}

.info-block h4 {
  font-family: var(--body-font);
  margin-bottom: 0.5rem;
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.input,
.textarea,
.select select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral-400);
  border-radius: var(--border-radius-small);
  font-family: var(--body-font);
  transition: border-color var(--transition-fast);
}

.input:focus,
.textarea:focus,
.select select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.select {
  position: relative;
  display: block;
  width: 100%;
}

.select::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--neutral-800);
  pointer-events: none;
}

/* ===== AWARDS SECTION ===== */
.awards-card {
  text-align: center;
}

.awards-card img {
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-medium);
  margin-bottom: 1rem;
}

/* ===== NEWS & EVENTS SECTION ===== */
.event-card {
  padding: 2rem;
  border-radius: var(--border-radius-medium);
  background-color: var(--neutral-100);
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow-light);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.event-date {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* ===== BLOG SECTION ===== */
.blog-card {
  margin-bottom: 2rem;
}

.blog-card .card-image img {
  height: 250px;
}

.blog-card .subtitle {
  color: var(--neutral-600);
  font-size: 0.9rem;
}

.blog-card .button {
  margin-top: 1rem;
}

/* Read more links */
a.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

a.read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-fast);
}

a.read-more:hover::after {
  width: 100%;
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 0 2rem;
  color: var(--neutral-100);
}

.has-background-dark {
  background-color: var(--neutral-900);
}

.footer h3 {
  margin-bottom: 1.5rem;
}

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

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

.footer a {
  color: var(--neutral-300);
  transition: color var(--transition-fast);
}

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

.social-links p {
  margin-bottom: 0.5rem;
}

.social-links a {
  display: inline-block;
  color: var(--neutral-300);
  transition: color var(--transition-fast);
}

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

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

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

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .hero-body {
    padding: 6rem 0;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .column.is-one-third,
  .column.is-half {
    width: 100%;
  }
  
  .footer .column {
    margin-bottom: 2rem;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .column.is-one-third {
    width: 50%;
  }
}

/* ===== ANIMATIONS ===== */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn var(--transition-medium) forwards;
}

.animate-slide-in {
  opacity: 0;
  transform: translateY(30px);
  animation: slideInFromBottom var(--transition-medium) forwards;
}

/* Delay classes for animations */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ===== ADDITIONAL ENHANCEMENTS ===== */
/* Eco-minimalism influenced elements */
.eco-card {
  border: none;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-large);
}

/* Morphing elements */
.morph-image {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  overflow: hidden;
  animation: morphing 8s infinite;
}

/* Glassmorphism effects */
.glass-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}