/* style.css */

/* ======= VARIABLES ======= */
:root {
  /* Primary Colors */
  --primary-color: #3273dc;
  --primary-color-dark: #2160c4;
  --primary-color-light: #4a89e8;
  
  /* Secondary Colors */
  --secondary-color: #ff3860;
  --secondary-color-dark: #e62553;
  --secondary-color-light: #ff526f;
  
  /* Accent Colors */
  --accent-color: #23d160;
  --accent-color-dark: #20bc56;
  --accent-color-light: #3fe07f;
  
  /* Neutral Colors */
  --dark-color: #1c1c1c;
  --dark-color-light: #363636;
  --light-color: #f5f5f5;
  --light-color-dark: #e0e0e0;
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  --secondary-gradient: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-dark));
  --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--accent-color-dark));
  
  /* Typography */
  --heading-font: 'Inter', sans-serif;
  --body-font: 'IBM Plex Sans', sans-serif;
  
  /* Shadows */
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --button-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  
  /* Borders */
  --border-radius: 8px;
  --border-radius-large: 12px;
  --border-width: 2px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ======= GLOBAL STYLES ======= */
html, body {
  font-family: var(--body-font);
  color: var(--dark-color);
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--light-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
}

h1, .title.is-1 {
  font-weight: 800;
}

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

/* ======= LAYOUT ======= */
.section {
  padding: 5rem 1.5rem;
}

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

/* ======= NAVIGATION ======= */
.navbar {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-medium);
}

.navbar-item {
  font-weight: 600;
  transition: all var(--transition-fast);
}

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

.navbar-burger {
  border-radius: 4px;
  transition: background-color var(--transition-fast);
}

.navbar-burger:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

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

.hero-body {
  padding: 10rem 1.5rem;
}

.hero .title, .hero .subtitle {
  color: white;
  margin-bottom: 1.5rem;
}

.hero .title.is-1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
}

.hero .subtitle.is-3 {
  font-weight: 500;
}

/* ======= BUTTONS ======= */
.button {
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition-medium);
  border-radius: var(--border-radius);
}

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

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

.neo-button {
  box-shadow: 4px 4px 0 var(--dark-color);
  border-radius: 4px;
  transition: all 0.2s ease;
  transform: translate(-2px, -2px);
}

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

.neo-button-outline {
  box-shadow: 4px 4px 0 var(--dark-color);
  border-radius: 4px;
  border: 2px solid var(--dark-color);
  transition: all 0.2s ease;
  transform: translate(-2px, -2px);
  background-color: white;
}

.neo-button-outline:hover {
  transform: translate(0, 0);
  box-shadow: 0px 0px 0 var(--dark-color);
  background-color: var(--light-color-dark);
}

/* ======= RESEARCH SECTION ======= */
#research .image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

#research .image img {
  transition: transform var(--transition-medium);
}

#research .image:hover img {
  transform: scale(1.05);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-item {
  position: relative;
  padding: 2rem 0;
  display: flex;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 9px;
  height: 100%;
  width: 4px;
  background: var(--primary-gradient);
  border-radius: 4px;
}

.timeline-marker {
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 3px solid var(--light-color);
  box-shadow: 0 0 0 3px rgba(50, 115, 220, 0.2);
  transition: background-color var(--transition-fast);
}

.timeline-content {
  margin-left: 40px;
}

.timeline-item:hover .timeline-marker {
  background-color: var(--secondary-color);
  transform: scale(1.2);
}

.timeline-content .heading {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* ======= EVENTS SECTION ======= */
.event-card {
  height: 100%;
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
}

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

.event-card .card-image {
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

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

.event-card .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-card .content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

/* ======= CUSTOMER STORIES ======= */
.testimonial-card {
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary-color);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-left-color: var(--secondary-color);
}

.testimonial-card .media-left .image {
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

.testimonial-card .media-content .title {
  margin-bottom: 0.25rem;
}

.testimonial-card .media-content .subtitle {
  color: var(--dark-color-light);
}

.testimonial-card .content p {
  font-style: italic;
}

/* ======= TEAM SECTION ======= */
.team-card {
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.team-card .card-image {
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

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

.team-card .card-content {
  flex-grow: 1;
}

.team-card .title {
  margin-bottom: 0.25rem;
}

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

/* ======= EXTERNAL RESOURCES ======= */
.external-link-box {
  border-radius: var(--border-radius);
  transition: all var(--transition-medium);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--light-color-dark);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.external-link-box:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.external-link-box h4 {
  color: var(--primary-color);
}

.external-link-box .button {
  margin-top: auto;
  align-self: flex-start;
}

/* ======= COMMUNITY SECTION ======= */
#community .image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

#community .image img {
  transition: transform var(--transition-medium);
  object-fit: cover;
}

#community .image:hover img {
  transform: scale(1.05);
}

#community ul {
  margin-left: 1.5rem;
}

#community ul li {
  margin-bottom: 0.5rem;
  position: relative;
}

#community ul li::before {
  content: "→";
  color: var(--primary-color);
  font-weight: bold;
  display: inline-block;
  width: 1rem;
  margin-left: -1rem;
}

/* ======= RESOURCES SECTION ======= */
.resource-card {
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.resource-card .card-image {
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

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

.resource-card .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.resource-card .content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

/* ======= PRICING SECTION ======= */
.pricing-card {
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  transform: translateY(-10px) scale(1.05);
  border: 2px solid var(--primary-color);
  z-index: 1;
}

.pricing-card:hover {
  box-shadow: var(--hover-shadow);
}

.pricing-card:not(.featured):hover {
  transform: translateY(-10px);
}

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

.pricing-card .subtitle.is-1 {
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.pricing-card ul {
  margin-left: 1rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-card li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-card li::before {
  content: "✓";
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* ======= EVENTS HIGHLIGHTS ======= */
.event-highlights .media {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
}

.event-highlights .media:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.event-highlights .media-left .image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.event-highlights .media-left .image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.event-highlights .title {
  margin-bottom: 0.25rem;
}

.event-highlights .subtitle {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* ======= ACCOLADES SECTION ======= */
.accolade-card {
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-medium);
  height: 100%;
}

.accolade-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  background-color: rgba(50, 115, 220, 0.05);
}

.accolade-card .media-left .image {
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-color);
}

.accolade-card .media-content .title {
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
}

.accolade-card .media-content .subtitle {
  color: var(--dark-color-light);
  font-size: 0.9rem;
}

/* ======= CONTACT SECTION ======= */
.contact-form .field:not(:last-child) {
  margin-bottom: 1.5rem;
}

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

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

.contact-form .input:focus, 
.contact-form .textarea:focus, 
.contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(50, 115, 220, 0.2);
}

.info-block {
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.info-block .title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

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

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

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

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

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

.footer .social-links a {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.footer .social-links a:hover {
  transform: translateY(-3px);
}

/* ======= RESPONSIVE ADJUSTMENTS ======= */
@media screen and (max-width: 768px) {
  .hero .title.is-1 {
    font-size: 2.5rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-item {
    flex-direction: column;
  }
  
  .timeline-marker {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-content {
    margin-left: 0;
    margin-top: 2rem;
    text-align: center;
  }
  
  .pricing-card.featured {
    transform: scale(1);
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

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

/* ======= ANIMATIONS ======= */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-down"] {
  transform: translateY(-30px);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="flip-left"] {
  transform: perspective(2500px) rotateY(15deg);
}

[data-aos="flip-right"] {
  transform: perspective(2500px) rotateY(-15deg);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0) rotate(0) scale(1) perspective(2500px) rotateY(0);
}

/* ======= UTILITY CLASSES ======= */
.has-background-light {
  background-color: var(--light-color) !important;
}

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

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