/* style.css */

/* --- VARIABLE DEFINITIONS --- */
:root {
  --primary-color: #009688; /* A rich, natural teal/green, good for nature themes */
  --secondary-color: #FF5722; /* A vibrant, complementary orange for calls to action */
  --accent-color: #03A9F4; /* A clear blue for secondary highlights */
  
  --text-dark: #2C3E50;
  --text-light: #f5f5f5;
  --text-muted: #7a7a7a;

  --bg-light: #FFFFFF;
  --bg-soft-light: #f9fafb;
  --bg-dark: #222529;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --border-radius: 8px;
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 8px 24px rgba(0, 0, 0, 0.12);

  --transition-speed: 0.3s ease;
}

/* --- GLOBAL & HTML/BODY STYLES --- */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-light);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  font-size: 1.1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 600;
  text-rendering: optimizeLegibility;
}

.title.is-1, .title.is-2, .title.is-3 {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

p {
  font-family: var(--font-body);
  margin-bottom: 1.25rem;
}

a {
  color: var(--primary-color);
  transition: var(--transition-speed);
  font-weight: 500;
}

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

/* --- LAYOUT & SECTIONS --- */
.section {
  padding: 5rem 1.5rem;
}

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

.has-background-light {
    background-color: var(--bg-soft-light) !important;
}

/* --- HEADER / NAVBAR --- */
.navbar.is-fixed-top {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-item {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-dark);
    transition: var(--transition-speed);
}

.navbar-item:hover, .navbar-item.is-active {
    background-color: transparent !important;
    color: var(--primary-color) !important;
}

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

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
}

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

.hero .title.has-text-white {
  font-size: 4rem;
  font-weight: 700;
  color: #FFFFFF !important;
}

.hero .subtitle.has-text-white {
  font-size: 1.75rem;
  color: #FFFFFF !important;
}

.hero .has-text-white {
    color: #FFFFFF !important;
}

/* --- GLOBAL BUTTON STYLES --- */
.button, button, input[type='submit'] {
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border-width: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.button.is-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.button.is-large {
    padding: 1.5rem 3rem;
}

/* --- CARD STYLES (Team, Media, Awards) --- */
.card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
  height: 100%; /* Make cards in a row equal height */
}

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

.card-image {
  position: relative;
  width: 100%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the area without distortion */
}

.card-image .image.is-4by3 {
    padding-top: 75%;
}

.card-image .image.is-1by1 {
    padding-top: 100%;
}

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

/* --- TIMELINE SECTION --- */
.timeline .timeline-item .timeline-marker.is-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.timeline .timeline-header .tag.is-primary {
    background-color: var(--primary-color);
}

.timeline .timeline-item .timeline-content {
    background-color: var(--bg-soft-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
}

/* --- STATS / ACCOLADES WIDGET --- */
.widget .title.is-1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
}
.widget .subtitle.is-4 {
    color: var(--text-muted);
    font-weight: 500;
}

/* --- EXTERNAL RESOURCES SECTION --- */
.resource-card {
    transition: var(--transition-speed);
    border-left: 5px solid var(--accent-color);
    height: 100%;
}

.resource-card:hover {
    transform: translateX(5px) scale(1.02);
    box-shadow: var(--shadow-light);
    border-left-color: var(--secondary-color);
}

.resource-card h3 a {
    color: var(--text-dark);
    font-weight: 600;
}

.resource-card h3 a:hover {
    color: var(--primary-color);
}

/* --- FAQ SECTION --- */
.faq-item {
  background-color: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-speed);
}
.faq-item:hover {
    border-color: var(--primary-color);
}
.faq-question {
  cursor: pointer;
  padding: 1.5rem;
  display: block;
  position: relative;
  font-weight: 600;
  color: var(--text-dark);
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  line-height: 1.8;
}

/* --- CONTACT FORM --- */
.input, .textarea {
    font-family: var(--font-body);
    border-radius: var(--border-radius);
    border: 2px solid #dbdbdb;
    transition: var(--transition-speed);
    box-shadow: none;
    padding: 1rem;
    font-size: 1rem;
}
.input:focus, .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.125em rgba(0, 150, 136, 0.25);
}
.label {
    font-family: var(--font-heading);
    font-weight: 600;
}
#contact .image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    object-fit: cover;
    height: 100%;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 1.5rem;
}

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

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

.footer a {
  color: var(--text-light);
  opacity: 0.8;
  transition: var(--transition-speed);
  font-weight: 400; /* Regular weight for footer links */
}

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

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

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

/* --- STANDALONE PAGE STYLES (success, privacy, terms) --- */
.page-container {
    padding-top: 100px; /* Offset for fixed navbar */
    padding-bottom: 4rem;
}
.page-container h1, .page-container h2 {
    margin-bottom: 2rem;
}
.page-container .content {
    max-width: 800px;
    margin: 0 auto;
}

.success-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 2rem;
    background-color: var(--bg-soft-light);
}
.success-container .icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}
.success-container .box {
    max-width: 500px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media screen and (max-width: 768px) {
  .hero .title.has-text-white {
    font-size: 2.5rem;
  }
  .hero .subtitle.has-text-white {
    font-size: 1.25rem;
  }
  .section {
    padding: 3rem 1rem;
  }
  .columns.is-vcentered .column.is-two-thirds {
    order: 2; /* Move form below image on mobile */
  }
  .columns.is-vcentered .column:not(.is-two-thirds) {
    order: 1;
    margin-bottom: 2rem;
  }
  .footer .columns {
      text-align: center;
  }
}