/* Base Variables */
:root {
  --primary-color: #FF6B35;
  --primary-dark: #E85A2A;
  --secondary-color: #2EC4B6;
  --secondary-dark: #25A99D;
  --accent-color: #FFBC42;
  --dark-color: #1A1423;
  --light-color: #F7FFF7;
  --gray-color: #4A4A4A;
  --light-gray: #F5F5F5;
  
  --header-height: 80px;
  --transition-fast: 0.3s;
  --transition-medium: 0.5s;
  --transition-slow: 0.8s;
  
  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.15);
  
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 12px;
}

/* Typography */
body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

h1, .title.is-1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h2, .title.is-2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.2rem;
}

h3, .title.is-3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h4, .title.is-4 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

p {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.subtitle {
  color: var(--gray-color);
}

/* Layout and General Styles */
.section {
  padding: 5rem 1.5rem;
}

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

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

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

.card-image {
  overflow: hidden;
  /* display: flex; */
  justify-content: center;
  align-items: center;
}

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

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

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

.card-content h3 {
  margin-bottom: 1rem;
}

/* Button Styles */
.button {
  white-space: wrap;
  width: 100%;
  max-width: 100%;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(255, 107, 53, 0.3);
}

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

.button.is-outlined:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(255, 107, 53, 0.3);
}

.button.is-rounded {
  border-radius: 50px;
}

/* Header/Navbar */
.navbar {
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  transition: background-color var(--transition-medium);
  height: var(--header-height);
}

.navbar.is-scrolled {
  background-color: white;
  box-shadow: var(--shadow-small);
}

.navbar-brand .logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

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

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

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

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

.hero.is-fullheight-with-navbar {
  min-height: calc(100vh - var(--header-height));
}

.hero-body {
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 2;
}

.hero-body .title,
.hero-body .subtitle,
.hero-body p {
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Mission Section */
.stats-container {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
}

.stat-box {
  padding: 1.5rem;
  transition: transform var(--transition-medium);
}

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

.stat-box .title {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Process Section */
.process-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  position: relative;
  margin-bottom: 2rem;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  text-align: center;
}

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

.process-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-small);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

/* Testimonials Section */
.testimonial-card {
  height: 100%;
  text-align: center;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1.5rem;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
}

.testimonial-text::before {
  top: -20px;
  left: 0;
}

.testimonial-text::after {
  bottom: -40px;
  right: 0;
}

/* Team Section */
.team-card {
  text-align: center;
}

.team-card .card-image {
  height: 250px;
}

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

.gallery {
  margin-top: 2rem;
}

.gallery .image {
  border-radius: var(--radius-small);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium);
}

.gallery .image:hover {
  transform: scale(1.05);
}

/* Contact Section */
.contact-info {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

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

.map-container {
  border-radius: var(--radius-small);
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-form-container {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  height: 100%;
}

.contact-form .label {
  font-weight: 600;
  color: var(--dark-color);
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border-radius: var(--radius-small);
  box-shadow: none;
  border: 2px solid #e0e0e0;
  transition: border-color var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

/* Resource Cards */
.resource-card {
  text-align: center;
  height: 100%;
}

.resource-card h3 {
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 1.5rem 2rem;
}

.footer .title {
  color: white;
}

.footer p {
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: #cccccc;
  transition: color var(--transition-fast);
}

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

.social-links a {
  color: #cccccc;
  margin-right: 1rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 1rem;
  z-index: 9999;
}

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

.cookie-content p {
  margin-bottom: 0;
  margin-right: 1rem;
}

.cookie-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-content {
  max-width: 600px;
  padding: 3rem;
  background-color: white;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
}

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

/* Pages with static content (privacy, terms) */
.static-page {
  padding-top: 100px;
  min-height: 100vh;
}

.static-page .content {
  background-color: white;
  padding: 3rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
}

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

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

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.fadeIn {
  animation: fadeIn var(--transition-medium) ease forwards;
}

.slideUp {
  animation: slideUp var(--transition-medium) ease forwards;
}

.scaleIn {
  animation: scaleIn var(--transition-medium) ease forwards;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .navbar-menu {
    background-color: white;
    box-shadow: var(--shadow-small);
  }
  
  .navbar-burger {
    color: var(--dark-color);
  }
  
  .navbar-item {
    color: var(--dark-color);
  }
  
  .hero-body {
    padding: 3rem 1.5rem;
  }
  
  .section {
    padding: 3rem 1.5rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 1023px) {
  .process-card {
    margin-bottom: 3rem;
  }
  
  .contact-info, .contact-form-container {
    margin-bottom: 2rem;
  }
}

/* 3D Effects */
.card, .button, .process-card, .stat-box {
  transform-style: preserve-3d;
  perspective: 1000px;
}

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

.card:hover, .process-card:hover {
  transform: translateY(-10px) rotateX(5deg);
}

/* Read More Links */
.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding-right: 1.5rem;
  transition: color var(--transition-fast);
}

.read-more::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover::after {
  transform: translate(5px, -50%);
}

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

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

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

.has-background-primary-light {
  background-color: rgba(255, 107, 53, 0.1) !important;
}

.has-background-secondary-light {
  background-color: rgba(46, 196, 182, 0.1) !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

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

.mb-4 {
  margin-bottom: 1rem !important;
}

.mb-5 {
  margin-bottom: 1.5rem !important;
}

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

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

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

.mt-3 {
  margin-top: 0.75rem !important;
}

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

.mt-5 {
  margin-top: 1.5rem !important;
}

.mt-6 {
  margin-top: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 0.75rem !important;
}

.p-4 {
  padding: 1rem !important;
}

.p-5 {
  padding: 1.5rem !important;
}

.p-6 {
  padding: 3rem !important;
}