/*=======================
  Base Styles & Variables
========================*/
:root {
  /* Primary Colors - Analogous Palette */
  --primary-color: #3366cc;
  --primary-light: #6699ff;
  --primary-dark: #1a4a99;
  --secondary-color: #33a3cc;
  --secondary-light: #66c2e6;
  --secondary-dark: #1a7a99;
  --tertiary-color: #3366aa;
  
  /* Neutral Colors */
  --dark-color: #222222;
  --dark-medium: #333333;
  --medium-color: #666666;
  --light-medium: #999999;
  --light-color: #f4f7fc;
  --white: #ffffff;
  
  /* Accent Colors */
  --accent-color: #ff6b4a;
  --accent-light: #ff8c73;
  --accent-dark: #e04d33;
  
  /* Utility */
  --border-radius: 4px;
  --large-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  --neo-shadow: 6px 6px 0 var(--dark-color);
  --neo-shadow-hover: 8px 8px 0 var(--dark-color);
  --transition: all 0.3s ease;
}

/*=======================
  Typography
========================*/
body {
  font-family: 'Nunito', sans-serif;
  color: var(--dark-medium);
  line-height: 1.7;
  font-size: 16px;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

p {
  margin-bottom: 1.5rem;
}

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

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

.title.is-1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.title.is-2 {
  font-size: 2.8rem;
  margin-bottom: 1.25rem;
}

.title.is-3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.title.is-4 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.subtitle {
  font-family: 'Nunito', sans-serif;
  font-weight: 300;
  line-height: 1.4;
}

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

.has-text-centered {
  text-align: center;
}

.has-text-right {
  text-align: right;
}

.is-uppercase {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.is-bold {
  font-weight: 700;
}

.read-more-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-top: 1rem;
  position: relative;
  transition: var(--transition);
}

.read-more-link::after {
  content: "→";
  position: relative;
  top: -1px;
  margin-left: 5px;
  transition: var(--transition);
}

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

.read-more-link:hover::after {
  transform: translateX(5px);
}

/*=======================
  Layout & Containers
========================*/
.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--light-color);
}

.columns {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.column {
  padding: 0 15px;
  flex: 1;
  min-width: 0;
}

.is-centered {
  justify-content: center;
  text-align: center;
}

.is-vcentered {
  align-items: center;
}

/*=======================
  Header & Navigation
========================*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header.is-scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand .title {
  margin-bottom: 0;
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-item {
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: var(--dark-medium);
  position: relative;
  transition: var(--transition);
}

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

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

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

.navbar-burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  cursor: pointer;
  padding: 0;
  background: transparent;
  border: none;
}

.navbar-burger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--dark-medium);
  border-radius: 3px;
  transition: var(--transition);
}

/*=======================
  Buttons
========================*/
.button {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

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

.button.is-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

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

.button.is-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

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

.button.is-light:hover {
  background-color: var(--light-color);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

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

.button.is-outlined:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.button.is-large {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
}

.button.is-fullwidth {
  display: block;
  width: 100%;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.buttons.is-centered {
  justify-content: center;
}

/* Neo-Brutalist Button */
.neo-button {
  position: relative;
  border: 3px solid var(--dark-color);
  box-shadow: var(--neo-shadow);
  transition: var(--transition);
  background-color: var(--white);
  color: var(--dark-color);
  z-index: 1;
  overflow: hidden;
}

.neo-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-light);
  transition: width 0.3s ease;
  z-index: -1;
}

.neo-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--neo-shadow-hover);
}

.neo-button:hover::before {
  width: 100%;
}

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

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

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

/*=======================
  Hero Section
========================*/
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.hero-body {
  position: relative;
  z-index: 1;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 100px 0;
}

.hero.is-fullheight .hero-body {
  min-height: 100vh;
}

.hero.is-medium .hero-body {
  min-height: 70vh;
}

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

.hero-foot {
  position: relative;
  z-index: 1;
  padding-bottom: 30px;
}

.scroll-down {
  display: inline-block;
  margin-top: 30px;
  animation: bounce 2s infinite;
}

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

/*=======================
  About Section
========================*/
.about-image {
  border-radius: var(--large-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.about-content .title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  margin-top: 20px;
  background-color: var(--primary-color);
}

/*=======================
  Mission Section
========================*/
.mission-card {
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

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

.mission-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/*=======================
  History Section
========================*/
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--primary-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-marker {
  position: absolute;
  background-color: var(--primary-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -12px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -12px;
}

.timeline-content {
  padding: 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

/*=======================
  Projects Section
========================*/
.project-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  overflow: hidden;
  position: relative;
  text-align: center;
}

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

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

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

.card-content .title {
  margin-bottom: 0.75rem;
}

.card-content .subtitle {
  color: var(--medium-color);
  margin-bottom: 1rem;
}

/* Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  margin: 0 -15px;
}

.carousel-content {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 20px 15px;
  margin: -20px -15px;
  scrollbar-width: none; /* Firefox */
}

.carousel-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.carousel-content .column {
  flex: 0 0 auto;
  width: 100%;
  max-width: 350px;
  margin: 0 15px;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-prev,
.carousel-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

/*=======================
  News Section
========================*/
.news-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.news-date {
  color: var(--medium-color);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/*=======================
  Team Section
========================*/
.team-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.team-card .image {
  width: 100%;
  overflow: hidden;
  text-align: center;
}

.team-card .image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
  margin: 0 auto;
}

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

.team-info {
  padding: 1.5rem;
  flex-grow: 1;
}

.team-info .title {
  margin-bottom: 0.5rem;
}

.team-info .subtitle {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

/*=======================
  Press Section
========================*/
.press-list {
  list-style: none;
  padding: 0;
}

.press-list li {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.press-list li:last-child {
  border-bottom: none;
}

.press-date {
  font-weight: bold;
  color: var(--primary-color);
}

.media-coverage .media {
  display: flex;
  align-items: start;
  margin-bottom: 1.5rem;
}

.media-left {
  margin-right: 1rem;
}

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

/*=======================
  Contact Section
========================*/
.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.control {
  position: relative;
}

.input,
.textarea,
.select select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Nunito', sans-serif;
  transition: var(--transition);
}

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

.neo-input,
.neo-textarea {
  border: 3px solid var(--dark-color);
  box-shadow: 4px 4px 0 var(--dark-color);
  transition: var(--transition);
}

.neo-input:focus,
.neo-textarea:focus {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--dark-color);
}

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

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

.neo-form-container {
  background-color: var(--white);
  border: 3px solid var(--dark-color);
  box-shadow: 8px 8px 0 var(--dark-color);
  border-radius: var(--border-radius);
  padding: 2rem;
}

.contact-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

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

.contact-info {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.faq-question {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question .title {
  margin-bottom: 0;
}

.faq-answer {
  padding: 0 0 1rem;
  display: none;
}

.faq-item.is-active .faq-answer {
  display: block;
}

/*=======================
  Footer
========================*/
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 80px 0 40px;
}

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

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

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

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

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-direction: column;
}

.social-links a {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

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

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/*=======================
  Success Page
========================*/
.success-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}

.success-box {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--box-shadow);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  border: 3px solid var(--primary-color);
}

.success-box .image {
  margin-bottom: 2rem;
  display: inline-block;
}

/*=======================
  Privacy & Terms Pages
========================*/
.privacy-content,
.terms-content {
  padding-top: 100px;
}

.privacy-list,
.terms-list {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.privacy-list li,
.terms-list li {
  margin-bottom: 0.75rem;
}

/*=======================
  Resource Section
========================*/
.resource-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border-left: 5px solid var(--primary-color);
}

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

.resource-card .button {
  margin-top: auto;
}

/* Cookie Consent */
#cookie-consent {
  background-color: rgba(0, 0, 0, 0.85);
  color: var(--white);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px;
  text-align: center;
}

#cookie-consent button {
  margin-top: 10px;
  padding: 8px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

#cookie-consent button:hover {
  background-color: var(--primary-dark);
}

/*=======================
  Responsive Styles
========================*/
@media screen and (max-width: 1023px) {
  .container {
    width: 90%;
  }
  
  .title.is-1 {
    font-size: 2.8rem;
  }
  
  .title.is-2 {
    font-size: 2.2rem;
  }
  
  .title.is-3 {
    font-size: 1.8rem;
  }
  
  .title.is-4 {
    font-size: 1.4rem;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
  }
  
  .navbar-burger {
    display: flex;
  }
  
  .navbar-item {
    padding: 0.75rem 1.5rem;
  }
  
  .navbar-item::after {
    display: none;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-marker {
    left: 15px !important;
    right: auto !important;
  }
  
  .column {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .column.is-half-tablet {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .column.is-one-third-tablet {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .column.is-two-thirds-tablet {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}

@media screen and (max-width: 768px) {
  .title.is-1 {
    font-size: 2.2rem;
  }
  
  .title.is-2 {
    font-size: 1.8rem;
  }
  
  .title.is-3 {
    font-size: 1.5rem;
  }
  
  .title.is-4 {
    font-size: 1.2rem;
  }
  
  .hero-body {
    padding: 80px 0;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .buttons .button {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .carousel-nav {
    padding: 0 10px;
  }
  
  .carousel-prev,
  .carousel-next {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  
  .footer {
    padding: 60px 0 30px;
    text-align: center;
  }
  
  .footer .column {
    margin-bottom: 2rem;
  }
  
  .social-links {
    align-items: center;
  }
}