/* =============== Variables & Base Setup =============== */
:root {
  /* Primary Colors - Analogous Scheme */
  --primary-color: #0056b3;
  --primary-light: #007bff;
  --primary-dark: #004494;
  --secondary-color: #00a5d6;
  --secondary-light: #33c5f5;
  --secondary-dark: #0082a8;
  --accent-color: #005c76;
  --accent-light: #007d9e;
  --accent-dark: #003c4d;

  /* Neutral Colors */
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #777777;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --background-dark: #242424;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-dark: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  --gradient-light: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  
  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --bounce: cubic-bezier(0.5, -0.5, 0.1, 1.5);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-circle: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* =============== General Styles =============== */
html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-sm);
}

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

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

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

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.container {
  padding: 0 var(--spacing-md);
}

/* =============== Utility Classes =============== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.pt-1 { padding-top: var(--spacing-xs); }
.pt-2 { padding-top: var(--spacing-sm); }
.pt-3 { padding-top: var(--spacing-md); }
.pt-4 { padding-top: var(--spacing-lg); }
.pt-5 { padding-top: var(--spacing-xl); }

.pb-1 { padding-bottom: var(--spacing-xs); }
.pb-2 { padding-bottom: var(--spacing-sm); }
.pb-3 { padding-bottom: var(--spacing-md); }
.pb-4 { padding-bottom: var(--spacing-lg); }
.pb-5 { padding-bottom: var(--spacing-xl); }

.has-text-primary { color: var(--primary-color); }
.has-text-secondary { color: var(--secondary-color); }
.has-text-accent { color: var(--accent-color); }
.has-text-white { color: #FFFFFF !important; }
.has-text-dark { color: var(--text-dark); }

.has-background-primary { background-color: var(--primary-color); }
.has-background-secondary { background-color: var(--secondary-color); }
.has-background-accent { background-color: var(--accent-color); }
.has-background-light { background-color: var(--background-light); }
.has-background-white { background-color: var(--background-white); }
.has-background-dark { background-color: var(--background-dark); }

/* =============== Button Styles =============== */
.button, 
button, 
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal) var(--bounce);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button:hover, 
button:hover, 
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.button:active, 
button:active, 
input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-sm);
}

.button:before, 
button:before, 
input[type="submit"]:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transform: scale(0);
  transition: transform 0.3s var(--bounce);
  border-radius: 50%;
}

.button:hover:before, 
button:hover:before, 
input[type="submit"]:hover:before {
  transform: scale(2);
}

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

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

.button.is-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.button.is-secondary:hover {
  background-color: var(--secondary-light);
}

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

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

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

.button.is-outlined.is-light {
  color: white;
  border-color: white;
}

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

/* =============== Form Styles =============== */
.input, 
.textarea, 
.select select {
  background-color: var(--background-white);
  border: 1px solid #dbdbdb;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus, 
.textarea:focus, 
.select select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
  outline: none;
}

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

.field:not(:last-child) {
  margin-bottom: 1.5rem;
}

.checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox input {
  margin-right: 0.5rem;
}

/* =============== Navbar Styles =============== */
.navbar {
  background-color: var(--background-white);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  transition: background-color var(--transition-normal);
}

.navbar-brand {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 700;
}

.navbar-item {
  position: relative;
  color: var(--text-dark);
  transition: color var(--transition-fast);
  padding: 0.5rem 1rem;
}

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

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all var(--transition-normal) var(--bounce);
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 80%;
}

.navbar-burger {
  width: 3.25rem;
  height: 3.25rem;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.navbar-burger span {
  height: 2px;
  width: 25px;
  background-color: var(--text-dark);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all var(--transition-normal) var(--bounce);
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 8px);
}

.navbar-burger span:nth-child(2) {
  top: 50%;
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 8px);
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateX(-50%) rotate(45deg);
  top: 50%;
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateX(-50%) rotate(-45deg);
  top: 50%;
}

.navbar-menu {
  display: none;
}

.navbar-menu.is-active {
  display: block;
}

@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: var(--background-white);
    padding: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-md);
  }
  
  .navbar-item {
    padding: 1rem;
    display: block;
  }
}

/* =============== Hero Section =============== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero.is-fullheight {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.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-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: 0;
}

.hero-body {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s var(--bounce);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s var(--bounce) 0.2s;
  animation-fill-mode: both;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s var(--bounce) 0.4s;
  animation-fill-mode: both;
}

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

/* =============== Mission Section =============== */
.mission-content {
  padding: var(--spacing-md);
}

.mission-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

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

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

.mission-card .card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.mission-card .title {
  color: var(--primary-dark);
  margin-bottom: var(--spacing-sm);
}

/* =============== Services Section =============== */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  margin-bottom: var(--spacing-md);
}

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

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

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

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

.service-card .card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

/* =============== Portfolio Section =============== */
.carousel-container {
  position: relative;
  margin: var(--spacing-md) 0;
}

.carousel-content {
  overflow: hidden;
}

.portfolio-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

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

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

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

.portfolio-card .card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-card .subtitle {
  color: var(--text-light);
  margin-bottom: var(--spacing-xs);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-md);
  gap: var(--spacing-md);
}

.carousel-prev, .carousel-next {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1.2rem;
}

.carousel-prev:hover, .carousel-next:hover {
  background-color: var(--primary-light);
  transform: scale(1.1);
}

/* =============== Resources Section =============== */
.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

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

.resource-card .title {
  color: var(--primary-dark);
  margin-bottom: var(--spacing-sm);
}

/* =============== Blog Section =============== */
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  margin-bottom: var(--spacing-md);
}

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

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

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

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

.blog-card .card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .subtitle {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: var(--spacing-xs);
}

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

/* "Read more" button styling */
.blog-card .button.is-outlined {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--bounce);
}

.blog-card .button.is-outlined::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--bounce);
}

.blog-card .button.is-outlined:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* =============== FAQ Section =============== */
.accordion-container {
  margin-top: var(--spacing-md);
}

.accordion-item {
  margin-bottom: var(--spacing-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: white;
}

.accordion-header {
  padding: var(--spacing-md);
  background-color: var(--background-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: rgba(0, 86, 179, 0.05);
}

.accordion-header .title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.accordion-item.is-active .accordion-header {
  background-color: rgba(0, 86, 179, 0.1);
}

.accordion-content {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.accordion-item.is-active .accordion-content {
  padding: 0 var(--spacing-md) var(--spacing-md);
}

.accordion-header .icon i {
  transition: transform var(--transition-normal);
}

.accordion-item.is-active .accordion-header .icon i.fa-plus {
  transform: rotate(45deg);
}

/* =============== Contact Section =============== */
.contact-info {
  padding: var(--spacing-md);
}

.contact-info p {
  margin-bottom: var(--spacing-sm);
}

.map-container {
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

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

.contact-form-container {
  padding: var(--spacing-md);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-form button {
  margin-top: var(--spacing-sm);
}

/* =============== Footer =============== */
.footer {
  background-color: var(--background-dark);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer .title {
  color: white;
  margin-bottom: var(--spacing-md);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer ul li {
  margin-bottom: var(--spacing-sm);
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer ul li a:hover {
  color: white;
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  display: inline-block;
}

.social-links a:hover {
  color: white;
  transform: translateX(5px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-md);
}

/* =============== Cookie Consent =============== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: var(--spacing-md);
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

/* =============== Success Page =============== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-light);
}

.success-content {
  text-align: center;
  max-width: 600px;
  padding: var(--spacing-xl);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 1s var(--bounce);
}

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

/* =============== Terms & Privacy Pages =============== */
.terms-page,
.privacy-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-md);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* =============== Responsive Adjustments =============== */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .columns {
    display: block;
  }
  
  .column {
    width: 100% !important;
    display: block;
  }
  
  .contact-form-container,
  .contact-info {
    margin-bottom: var(--spacing-md);
  }
  
  .footer .column {
    margin-bottom: var(--spacing-md);
  }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media screen and (min-width: 1024px) {
  .navbar-menu {
    display: flex;
    justify-content: flex-end;
  }
  
  .navbar-item {
    display: inline-flex;
  }
  
  .hero-content {
    max-width: 50%;
  }
}

/* =============== Animation Utilities =============== */
.animate-fade-in {
  animation: fadeIn 1s var(--transition-normal);
}

.animate-fade-in-up {
  animation: fadeInUp 1s var(--bounce);
}

.animate-bounce {
  animation: bounce 1s var(--bounce) infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* =============== Image Styles =============== */
.image-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-burger{
  display: none;
}
.title.is-1{
  font-size: 20px;
}