/*
 * Tromboneucd - Modern CSS for financial management site
 * Theme: Eco-minimalism with Neutral color scheme
 * Fonts: Oswald for headings, Nunito for body text
 * Framework: Bulma with custom extensions
 */

:root {
  /* Primary Colors */
  --color-primary: #4a7c59;
  --color-primary-light: #6b9e78;
  --color-primary-dark: #345943;
  
  /* Secondary Colors */
  --color-secondary: #c3a995;
  --color-secondary-light: #d5c4b6;
  --color-secondary-dark: #a48c7a;
  
  /* Neutral Colors */
  --color-neutral-100: #ffffff;
  --color-neutral-200: #f8f9fa;
  --color-neutral-300: #e9ecef;
  --color-neutral-400: #dee2e6;
  --color-neutral-500: #adb5bd;
  --color-neutral-600: #6c757d;
  --color-neutral-700: #495057;
  --color-neutral-800: #343a40;
  --color-neutral-900: #212529;
  
  /* Accent Colors */
  --color-accent: #e6a039;
  --color-accent-light: #f2c285;
  --color-accent-dark: #c78520;
  
  /* Feedback Colors */
  --color-success: #2aa876;
  --color-warning: #ffc107;
  --color-danger: #dc3545;
  
  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Spacing */
  --space-unit: 0.5rem;
  --space-xs: calc(var(--space-unit) * 1);
  --space-sm: calc(var(--space-unit) * 2);
  --space-md: calc(var(--space-unit) * 4);
  --space-lg: calc(var(--space-unit) * 8);
  --space-xl: calc(var(--space-unit) * 16);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-pill: 9999px;
  
  /* Container widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* ===== Base Styles ===== */
html, body {
  font-family: var(--font-body);
  color: var(--color-neutral-800);
  background-color: var(--color-neutral-100);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.title {
  position: relative;
}

.title.is-2:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--color-primary);
  transition: width var(--transition-medium);
}

.title.is-2:hover:after {
  width: 120px;
}

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

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

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

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

/* ===== Button Styles ===== */
.button {
  font-family: var(--font-body);
  font-weight: 600;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.button.is-light {
  background-color: var(--color-neutral-200);
  color: var(--color-neutral-800);
}

.button.is-light:hover {
  background-color: var(--color-neutral-300);
  color: var(--color-neutral-900);
}

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

.button.is-primary.is-outlined {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.button.is-primary.is-outlined:hover {
  background-color: var(--color-primary);
  color: white;
}

.button.is-rounded {
  border-radius: var(--radius-pill);
}

/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand img {
  max-height: 48px;
  transition: all var(--transition-fast);
}

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

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

.navbar-burger {
  height: 3.5rem;
  width: 3.5rem;
}

.navbar-burger span {
  background-color: var(--color-neutral-800);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  margin-top: 0;
  padding: 0;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.5rem;
  z-index: 2;
}

.hero .title {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero .subtitle {
  font-size: 2rem;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-description {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.25rem;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero .buttons {
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.scroll-indicator a:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
}

/* ===== About Section ===== */
.about-section {
  position: relative;
  padding: 5rem 1.5rem;
  overflow: hidden;
}

.about-section .content {
  font-size: 1.1rem;
}

.about-section .image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
}

.about-section .image:hover {
  transform: scale(1.02);
}

.about-section .title.is-4 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.about-section .title.is-4:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
}

/* ===== Services Section ===== */
.services-section {
  position: relative;
  padding: 5rem 1.5rem;
  background-color: var(--color-neutral-200);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  box-shadow: var(--shadow-sm);
}

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

.service-card .card-image {
  width: 100%;
  overflow: hidden;
}

.service-card .image-container {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

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

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

.service-card .card-content {
  padding: 2rem;
  flex-grow: 1;
}

.service-card .title {
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

/* Toggle switch styles */
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-neutral-400);
  transition: var(--transition-fast);
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition-fast);
}

input:checked + .slider {
  background-color: var(--color-primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--color-primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ===== Resources Section ===== */
.resources-section {
  padding: 5rem 1.5rem;
  position: relative;
}

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

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

.resource-card .card-content {
  padding: 2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-card .title {
  color: var(--color-primary-dark);
}

.resource-card p {
  margin-bottom: 2rem;
}

/* ===== Community Section ===== */
.community-section {
  position: relative;
  padding: 5rem 1.5rem;
  background-color: var(--color-neutral-200);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 3rem;
}

.timeline-marker {
  position: absolute;
  top: 0.2rem;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 3px solid var(--color-neutral-100);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.timeline-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 7px;
  height: 100%;
  width: 2px;
  background-color: var(--color-neutral-400);
}

.timeline-item:last-child:before {
  height: 50%;
}

.timeline-content {
  padding: 1.5rem;
  background-color: var(--color-neutral-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.timeline-content:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.testimonial-card {
  padding: 2rem;
  background-color: var(--color-primary-light);
  color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card:after {
  content: "";
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 100px;
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-content p {
  color: white;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.9rem;
  text-align: right;
}

/* ===== Awards Section ===== */
.awards-section {
  padding: 5rem 1.5rem;
  position: relative;
}

.award-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 2rem;
  border-radius: var(--radius-md);
  background-color: var(--color-neutral-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.award-card .image {
  margin-bottom: 1.5rem;
  transition: transform var(--transition-medium);
}

.award-card:hover .image {
  transform: scale(1.1) rotate(5deg);
}

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

.award-year {
  display: inline-block;
  padding: 0.25rem 1rem;
  background-color: var(--color-primary-light);
  color: white;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ===== Contact Section ===== */
.contact-section {
  position: relative;
  padding: 5rem 1.5rem;
}

.contact-form-card,
.contact-info-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-form-card .card-content,
.contact-info-card .card-content {
  padding: 2rem;
}

.contact-info-card .title {
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  color: var(--color-neutral-700);
  font-weight: 600;
}

.input, .textarea, .select select {
  border: 2px solid var(--color-neutral-300);
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: border-color var(--transition-fast);
}

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

/* ===== Footer ===== */
.footer {
  background-color: var(--color-neutral-800);
  color: var(--color-neutral-300);
  padding: 4rem 1.5rem 2rem;
}

.footer .title {
  color: var(--color-neutral-100);
  margin-bottom: 1.5rem;
}

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

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

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

.footer-links a {
  color: var(--color-neutral-400);
  transition: color var(--transition-fast);
  display: inline-block;
  position: relative;
}

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

.footer-links a:before {
  content: "→";
  opacity: 0;
  margin-right: 0;
  transform: translateX(-10px);
  display: inline-block;
  transition: all var(--transition-medium);
}

.footer-links a:hover:before {
  opacity: 1;
  transform: translateX(-5px);
  margin-right: 5px;
}

.social-links a {
  display: flex;
  align-items: center;
}

.social-links a:before {
  content: "";
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.social-links a[href*="facebook"]:before {
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23adb5bd"><path d="M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z"/></svg>');
}

.social-links a[href*="twitter"]:before {
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23adb5bd"><path d="M24 4.37a9.6 9.6 0 0 1-2.83.8 5.04 5.04 0 0 0 2.17-2.8c-.95.58-2 1-3.13 1.22A4.86 4.86 0 0 0 16.61 2a4.99 4.99 0 0 0-4.79 6.2A13.87 13.87 0 0 1 1.67 2.92 5.12 5.12 0 0 0 3.2 9.67a4.82 4.82 0 0 1-2.23-.64v.07c0 2.44 1.7 4.48 3.95 4.95a4.84 4.84 0 0 1-2.22.08c.63 2.01 2.45 3.47 4.6 3.51A9.72 9.72 0 0 1 0 19.74 13.68 13.68 0 0 0 7.55 22c9.06 0 14-7.7 14-14.37v-.65c.96-.71 1.79-1.6 2.45-2.61z"/></svg>');
}

.social-links a[href*="instagram"]:before {
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23adb5bd"><path d="M12 2.16c3.2 0 3.58.01 4.85.07 3.25.15 4.77 1.7 4.92 4.92.06 1.27.07 1.65.07 4.85 0 3.2-.01 3.58-.07 4.85-.15 3.23-1.66 4.77-4.92 4.92-1.27.06-1.64.07-4.85.07-3.2 0-3.58-.01-4.85-.07-3.26-.15-4.77-1.7-4.92-4.92-.06-1.27-.07-1.64-.07-4.85 0-3.2.01-3.58.07-4.85.15-3.23 1.67-4.77 4.92-4.92 1.27-.06 1.65-.07 4.85-.07zM12 0C8.74 0 8.33.01 7.05.07 2.7.27.27 2.69.07 7.05.01 8.33 0 8.74 0 12c0 3.26.01 3.67.07 4.95.2 4.36 2.62 6.78 6.98 6.98 1.28.06 1.7.07 4.95.07 3.26 0 3.67-.01 4.95-.07 4.35-.2 6.78-2.62 6.98-6.98.06-1.28.07-1.7.07-4.95 0-3.26-.01-3.67-.07-4.95-.2-4.35-2.62-6.78-6.98-6.98C15.67.01 15.26 0 12 0zm0 5.84a6.16 6.16 0 1 0 0 12.32 6.16 6.16 0 0 0 0-12.32zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm7.84-10.4a1.44 1.44 0 1 1-2.88 0 1.44 1.44 0 0 1 2.88 0z"/></svg>');
}

.social-links a[href*="linkedin"]:before {
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23adb5bd"><path d="M6.5 21.5h-5v-13h5v13zM4 6.5C2.5 6.5 1.5 5.3 1.5 4s1-2.4 2.5-2.4c1.6 0 2.5 1 2.6 2.5 0 1.4-1 2.5-2.6 2.5zm11.5 6c-1 0-2 1-2 2v7h-5v-13h5V10s1.6-1.5 4-1.5c3 0 5 2.2 5 6.3v6.7h-5v-7c0-1-1-2-2-2z"/></svg>');
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-neutral-700);
}

.copyright p {
  font-size: 0.9rem;
}

/* ===== Additional Pages ===== */
.privacy-page, .terms-page {
  padding-top: 100px;
  padding-bottom: 3rem;
}

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

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

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* ===== Media Queries ===== */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: var(--color-neutral-100);
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .timeline-item {
    padding-left: 2rem;
  }
  
  .service-card .image-container {
    height: 200px;
  }
  
  .award-card {
    margin-bottom: 2rem;
  }
}

/* ===== Utilities ===== */
.has-text-primary {
  color: var(--color-primary) !important;
}

.has-background-primary {
  background-color: var(--color-primary) !important;
}

.has-shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.has-shadow-md {
  box-shadow: var(--shadow-md) !important;
}

.has-shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.is-rounded-sm {
  border-radius: var(--radius-sm) !important;
}

.is-rounded-md {
  border-radius: var(--radius-md) !important;
}

.is-rounded-lg {
  border-radius: var(--radius-lg) !important;
}

.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.overlay-dark {
  position: relative;
}

.overlay-dark:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  z-index: 1;
}

/* JavaScript interactive elements */
.navbar-burger {
  cursor: pointer;
}

img {
  object-fit: cover;
}