/* Root Variables */
:root {
  --primary-color: #3d5a80;
  --primary-dark: #2b3d56;
  --secondary-color: #ee6c4d;
  --secondary-dark: #d95c40;
  --accent-color: #98c1d9;
  --light-color: #e0fbfc;
  --dark-color: #293241;
  --neutral-gray: #f0f0f0;
  --neutral-dark: #333333;
  --neutral-light: #ffffff;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 12px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
}

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--neutral-dark);
  line-height: 1.6;
}

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

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

/* Navbar Styles */
.navbar {
  box-shadow: var(--box-shadow);
  background-color: var(--neutral-light);
  transition: all var(--transition-speed);
}

.navbar-item {
  font-weight: 500;
  transition: color var(--transition-speed);
}

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

.navbar-brand .title {
  color: var(--primary-color);
}

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

.navbar-burger:hover {
  background-color: var(--light-color);
}

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

.hero-image {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: var(--spacing-lg);
}

.hero-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--spacing-lg);
  transform: translateY(var(--spacing-sm));
  opacity: 0;
  animation: fadeInUp 1s forwards 0.5s;
}

.hero-content .title,
.hero-content .subtitle,
.hero-content p {
  color: var(--neutral-light);
  margin-bottom: var(--spacing-md);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content .buttons {
  margin-top: var(--spacing-md);
}

/* Vision Section */
.vision-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.vision-image {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  border-radius: var(--radius-medium);
  box-shadow: var(--box-shadow);
  margin-bottom: var(--spacing-md);
}

.vision-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-speed);
  object-fit: cover;
}

.vision-image:hover img {
  transform: scale(1.03);
}

/* Process Section */
.process-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--neutral-light);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  margin-bottom: var(--spacing-md);
  height: 100%;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.process-card .card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

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

.process-card .card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  text-align: center;
}

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

.process-card p {
  color: var(--neutral-dark);
}

/* Pricing Section */
.pricing-card {
  display: flex;
  flex-direction: column;
  background-color: var(--neutral-light);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  height: 100%;
  border: 2px solid transparent;
}

.pricing-card.featured {
  border-color: var(--secondary-color);
  transform: scale(1.05);
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
  transform: translateY(-5px) scale(1.05);
}

.pricing-header {
  padding: var(--spacing-md);
  background-color: var(--primary-color);
  color: var(--neutral-light);
  text-align: center;
}

.pricing-header .title {
  color: var(--neutral-light);
  margin-bottom: var(--spacing-xs);
}

.pricing-header .price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.pricing-header .subtitle {
  color: var(--light-color);
}

.pricing-body {
  padding: var(--spacing-md);
  flex-grow: 1;
}

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

.pricing-body li {
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid var(--neutral-gray);
}

.pricing-body li:last-child {
  border-bottom: none;
}

.pricing-footer {
  padding: var(--spacing-md);
  text-align: center;
}

.notification.is-info {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

/* Testimonials Section */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--neutral-light);
  border-radius: var(--radius-medium);
  padding: var(--spacing-md);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  height: 100%;
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
  border: 4px solid var(--accent-color);
}

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

.testimonial-content {
  flex-grow: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: var(--neutral-dark);
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.testimonial-position {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* Resources Section */
.resource-card {
  padding: var(--spacing-md);
  background-color: var(--neutral-light);
  border-radius: var(--radius-medium);
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

.resource-card .title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.resource-card .title a:hover {
  color: var(--secondary-color);
}

.resource-card p {
  color: var(--neutral-dark);
}

/* Research Section */
.research-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.research-image {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: var(--spacing-md);
}

.research-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-speed);
  object-fit: cover;
}

.research-image:hover img {
  transform: scale(1.03);
}

.research-projects {
  width: 100%;
  margin-top: var(--spacing-md);
}

.accordion-container {
  width: 100%;
}

.accordion {
  margin-bottom: var(--spacing-sm);
  border-radius: var(--radius-small);
  overflow: hidden;
}

.accordion-header {
  background-color: var(--primary-color);
  color: var(--neutral-light);
  padding: var(--spacing-sm);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-speed);
}

.accordion-header:hover {
  background-color: var(--primary-dark);
}

.accordion-header.active {
  background-color: var(--secondary-color);
}

.accordion-header p {
  margin: 0;
  font-weight: 700;
  color: var(--neutral-light);
}

.accordion-header .icon {
  font-weight: 700;
  font-size: 1.2rem;
}

.accordion-content {
  background-color: var(--neutral-light);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  padding: var(--spacing-sm);
  margin: 0;
}

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

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

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

.event-content {
  padding: var(--spacing-md);
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: var(--neutral-light);
  border-radius: var(--radius-small);
  padding: var(--spacing-xs);
  position: absolute;
  top: -30px;
  right: var(--spacing-md);
  width: 70px;
  height: 70px;
  text-align: center;
  box-shadow: var(--box-shadow);
}

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

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

.event-date .year {
  font-size: 0.8rem;
}

.event-content .title {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.event-content p {
  color: var(--neutral-dark);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

/* Media Section */
.media-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--neutral-light);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  height: 100%;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

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

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

.media-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  text-align: center;
}

.media-content .title {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.media-content p {
  color: var(--neutral-dark);
}

/* Press Section */
.press-card {
  display: flex;
  flex-direction: column;
  background-color: var(--neutral-light);
  border-radius: var(--radius-medium);
  padding: var(--spacing-md);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  height: 100%;
}

.press-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.press-logo {
  width: 150px;
  height: 80px;
  margin-bottom: var(--spacing-md);
  align-self: center;
}

.press-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.press-content .title {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.press-source {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

.press-excerpt {
  color: var(--neutral-dark);
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  background-color: var(--neutral-light);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  padding: var(--spacing-md);
}

@media screen and (min-width: 768px) {
  .contact-container {
    flex-direction: row;
  }
  
  .contact-info, .contact-form {
    flex: 1;
  }
}

.contact-info {
  padding: var(--spacing-md);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-md) 0;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-sm);
}

.contact-details .icon {
  margin-right: var(--spacing-sm);
  color: var(--primary-color);
}

.contact-map {
  width: 100%;
  border-radius: var(--radius-small);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.contact-form {
  padding: var(--spacing-md);
}

.contact-form .field {
  margin-bottom: var(--spacing-sm);
}

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

.contact-form .input, 
.contact-form .textarea, 
.contact-form .select select {
  border-radius: var(--radius-small);
  border: 1px solid var(--neutral-gray);
  transition: border-color var(--transition-speed);
}

.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);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: var(--spacing-lg) 0;
}

.footer .title {
  color: var(--neutral-light);
  margin-bottom: var(--spacing-sm);
}

.footer p {
  color: var(--light-color);
}

.social-links {
  margin-top: var(--spacing-md);
}

.social-links a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--transition-speed);
  display: inline-block;
  margin-right: var(--spacing-xs);
}

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

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

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

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

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

.newsletter-form .input {
  border-radius: var(--radius-small) 0 0 var(--radius-small);
}

.newsletter-form .button {
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-sm);
  flex-wrap: wrap;
}

.footer-legal {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.footer-legal li {
  margin-left: var(--spacing-sm);
}

.footer-legal a {
  color: var(--light-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.footer-legal a:hover {
  color: var(--secondary-color);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: var(--spacing-sm);
  z-index: 1000;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

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

.cookie-content p {
  margin: 0;
  padding-right: var(--spacing-sm);
}

/* Button Styles */
.button {
  border-radius: var(--radius-small);
  font-weight: 600;
  transition: all var(--transition-speed);
}

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

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

.button.is-outlined.is-white {
  border-color: var(--neutral-light);
  color: var(--neutral-light);
}

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

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

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

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

.success-content {
  max-width: 600px;
}

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

/* Privacy and Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(var(--spacing-md));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .hero-content {
    padding: var(--spacing-sm);
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    margin-top: var(--spacing-sm);
    justify-content: center;
  }
  
  .footer-legal li:first-child {
    margin-left: 0;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: var(--spacing-sm);
    padding-right: 0;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}

/* Additional utility classes */
.text-center {
  text-align: center;
}

.read-more {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-speed);
  display: inline-block;
  margin-top: var(--spacing-xs);
}

.read-more:hover {
  color: var(--secondary-dark);
  text-decoration: underline;
}

.image-container {
  overflow: hidden;
  border-radius: var(--radius-medium);
  margin-bottom: var(--spacing-md);
}

.image-container img {
  transition: transform var(--transition-speed);
  width: 100%;
  height: auto;
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

@media (max-width:768px){
    .testimonials-grid {
      grid-template-columns: 1fr;
    }
    .hero {
      margin-top: 70px;
      
    }
   
    .hero-image {
      padding-left: 16px;
      padding-right: 16px;
    }
    .container {
      padding-left: 20px;
      padding-right: 20px;
    }
}

.contact-info-icon {
  flex-shrink: 0;
}