/* Variables */
:root {
  --primary-color: #2e48d0;
  --primary-light: #4e67e9;
  --primary-dark: #1a2c9e;
  --secondary-color: #ff4e50;
  --secondary-light: #ff7173;
  --secondary-dark: #c53032;
  --accent-color: #00c896;
  --accent-light: #3dd9b2;
  --accent-dark: #00a67a;
  --text-color: #333333;
  --text-color-light: #666666;
  --text-color-white: #ffffff;
  --bg-light: #f5f7fa;
  --bg-dark: #1c1c1c;
  --border-radius: 4px;
  --border-radius-large: 8px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --brutalist-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-dark: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.5));
  --gradient-light: linear-gradient(135deg, #ffffff, var(--bg-light));
  --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: all 0.3s ease;
}

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

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

/* Typography */
.title {
  font-weight: 900;
  letter-spacing: -0.5px;
}

.brutalist-title {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 1.5rem;
}

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

.subtitle {
  opacity: 0.9;
  font-weight: 400;
}

/* Button Styles */
.button {
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s ease;
}

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

.button:active {
  transform: translateY(1px);
}

.brutalist-button {
  position: relative;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  border: 3px solid currentColor;
  overflow: hidden;
  box-shadow: var(--brutalist-shadow);
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s ease, background-color 0.3s ease;
}

.brutalist-button:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.2);
}

.brutalist-button:active {
  transform: translate(0px, 0px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

/* Navbar Styles */
.navbar {
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-item {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

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

.logo {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
}

/* Hero Section */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
}

.hero-body {
  position: relative;
  z-index: 2;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--text-color-white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
  max-width: 600px;
}

.brutalist-notice {
  border: 3px solid var(--primary-dark);
  border-radius: 0;
  font-weight: 700;
  box-shadow: var(--brutalist-shadow);
  transform: rotate(-1deg);
}

/* Card Styles */
.card {
  overflow: hidden;
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.brutalist-card {
  border: 3px solid var(--text-color);
  border-radius: 0;
  box-shadow: var(--brutalist-shadow);
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s ease;
}

.brutalist-card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.2);
}

.card-image {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.card .title {
  margin-bottom: 1rem;
}

.progress-container {
  margin-top: auto;
  padding-top: 1rem;
}

.progress {
  height: 0.75rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.progress-text {
  display: block;
  font-size: 0.85rem;
  text-align: right;
  margin-top: 0.25rem;
  font-weight: 600;
}

/* Calculator Section */
.brutalist-calculator {
  border: 3px solid var(--text-color);
  border-radius: 0;
  box-shadow: var(--brutalist-shadow);
  padding: 2rem;
}

.brutalist-calculator .label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.brutalist-calculator .input,
.brutalist-calculator .select select,
.brutalist-calculator .textarea {
  border: 2px solid var(--text-color);
  border-radius: 0;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.brutalist-calculator .input:focus,
.brutalist-calculator .select select:focus,
.brutalist-calculator .textarea:focus {
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
  transform: translate(-2px, -2px);
}

.result-container {
  animation: slideUp 0.5s var(--transition-bounce);
}

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

/* Case Studies */
.brutalist-case {
  border: 3px solid var(--text-color);
  border-radius: 0;
  box-shadow: var(--brutalist-shadow);
  height: 100%;
}

.brutalist-case .image {
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
}

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

.tags {
  margin-top: 1rem;
}

.tag {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius);
}

/* Statistics Section */
.counter-section {
  padding: 2rem 0;
}

.stat-box {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-large);
  transition: transform 0.3s var(--transition-bounce);
}

.stat-box:hover {
  transform: translateY(-10px);
}

.counter {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-color-white);
  font-family: 'Raleway', sans-serif;
  line-height: 1;
  display: inline-block;
}

.stat-suffix {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-color-white);
  font-family: 'Raleway', sans-serif;
}

.stat-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color-white);
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* External Resources */
.external-resource-card {
  height: 100%;
  border: 3px solid var(--text-color);
  border-radius: 0;
  box-shadow: var(--brutalist-shadow);
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s ease;
}

.external-resource-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.2);
}

.external-resource-card a {
  color: var(--primary-color);
  transition: var(--transition-smooth);
}

.external-resource-card a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Partners Section */
.partner-logo {
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s var(--transition-bounce);
}

.partner-logo:hover {
  transform: scale(1.1);
}

.partner-logo img {
  max-height: 80px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

.brutalist-testimonial {
  border: 3px solid var(--text-color);
  border-radius: 0;
  box-shadow: var(--brutalist-shadow);
  padding: 2rem;
  position: relative;
}

.testimonial-text {
  font-style: italic;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 5rem;
  position: absolute;
  top: -2rem;
  left: -1rem;
  color: rgba(0, 0, 0, 0.1);
  font-family: serif;
}

/* Blog Section */
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .content {
  flex-grow: 1;
}

.blog-card .button {
  align-self: flex-start;
  margin-top: auto;
}

/* Community Section */
.community-section {
  background-size: cover;
  background-position: center;
  position: relative;
}

.brutalist-community {
  border: 3px solid var(--text-color);
  border-radius: 0;
  box-shadow: var(--brutalist-shadow);
  background-color: white;
}

.community-benefit {
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s var(--transition-bounce);
}

.community-benefit:hover {
  transform: translateY(-10px);
}

.community-benefit .icon {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.community-events {
  border: 3px solid var(--text-color);
  border-radius: 0;
  box-shadow: var(--brutalist-shadow);
}

.event-card {
  display: flex;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 2px solid var(--text-color-light);
  border-radius: var(--border-radius);
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateX(5px);
  box-shadow: var(--box-shadow);
  border-color: var(--primary-color);
}

.event-date {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem;
  min-width: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--border-radius);
}

.event-date .day {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

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

.event-details {
  margin-left: 1rem;
  flex-grow: 1;
}

/* Awards Section */
.awards-section {
  position: relative;
}

.award-card {
  text-align: center;
  border: 3px solid var(--text-color);
  padding: 1rem;
  border-radius: 0;
  box-shadow: var(--brutalist-shadow);
  transition: transform 0.3s var(--transition-bounce), box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.award-card:hover {
  transform: translateY(-10px);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.2);
}

.award-card .image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.award-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brutalist-certification {
  border: 3px solid var(--text-color);
  border-radius: 0;
  box-shadow: var(--brutalist-shadow);
}

.certification {
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s var(--transition-bounce);
}

.certification:hover {
  transform: scale(1.1);
}

.certification img {
  max-height: 100px;
  width: auto;
}

/* Contact Section */
.contact-section {
  position: relative;
}

.brutalist-contact-form {
  border: 3px solid var(--text-color);
  border-radius: 0;
  box-shadow: var(--brutalist-shadow);
  height: 100%;
}

.brutalist-contact-form .input,
.brutalist-contact-form .select select,
.brutalist-contact-form .textarea {
  border: 2px solid var(--text-color);
  border-radius: 0;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.brutalist-contact-form .input:focus,
.brutalist-contact-form .select select:focus,
.brutalist-contact-form .textarea:focus {
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
  transform: translate(-2px, -2px);
}

.brutalist-contact-info {
  border: 3px solid var(--text-color);
  border-radius: 0;
  box-shadow: var(--brutalist-shadow);
}

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

.contact-item .icon {
  margin-right: 1rem;
  color: var(--primary-color);
}

.brutalist-map {
  border: 3px solid var(--text-color);
  border-radius: 0;
  box-shadow: var(--brutalist-shadow);
  overflow: hidden;
}

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

/* Footer */
.footer {
  padding: 4rem 1.5rem 2rem;
}

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

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

.footer-links a {
  color: var(--text-color-white);
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 5px;
}

.footer .input {
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.footer .button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.footer-divider {
  background-color: rgba(255, 255, 255, 0.1);
  height: 1px;
  margin: 2rem 0;
}

.social-links .button {
  margin-right: 0.5rem;
  transition: transform 0.3s var(--transition-bounce), opacity 0.3s ease;
}

.social-links .button:hover {
  transform: translateY(-3px);
  opacity: 1;
}

/* 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(--accent-color);
  margin-bottom: 2rem;
}

.success-page .title {
  margin-bottom: 1.5rem;
}

.success-page .subtitle {
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Privacy and Terms Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: 4rem;
}

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

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

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

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

/* Utility Classes */
.has-background-gradient {
  background: var(--gradient-primary);
}

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

.has-brutalist-shadow {
  box-shadow: var(--brutalist-shadow);
}

/* Responsive Adjustments */
@media screen and (max-width: 1023px) {
  .brutalist-title {
    font-size: 3rem;
  }
  
  .counter {
    font-size: 2.5rem;
  }
  
  .stat-suffix {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .brutalist-title {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .counter {
    font-size: 2rem;
  }
  
  .stat-suffix {
    font-size: 1.5rem;
  }
  
  .stat-box {
    padding: 1.5rem;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    margin-bottom: 1rem;
    width: 100px;
  }
  
  .event-details {
    margin-left: 0;
  }
  
  .brutalist-button {
    font-size: 0.9rem;
  }
  .hero-body {
    padding-top: 80px;
    padding-left: 0;
    padding-right: 0;
  }

  .brutalist-button {
    flex-wrap: wrap;
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .brutalist-title {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.5rem;
  }
  
  .counter {
    font-size: 1.8rem;
  }
  
  .stat-suffix {
    font-size: 1.2rem;
  }
}

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

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

.fade-in {
  animation: fadeIn 1s var(--transition-bounce);
}

.bounce {
  animation: bounce 2s infinite;
}

/* Cookie Consent */
#cookieConsent {
  animation: slideUp 0.5s var(--transition-bounce);
}

#acceptCookies {
  transition: transform 0.3s var(--transition-bounce), background-color 0.3s ease;
}

#acceptCookies:hover {
  transform: scale(1.05);
}
.image.is-3by2 {
  height: 100%;
  width: 100%;
  padding-top: 0;
}

.card-image {
  height: 320px;
}

.navbar-end {
  flex-wrap: wrap;
}

.navbar-menu {
  flex-shrink: 1;
}