/* Root Variables - Color Scheme */
:root {
  --primary-color: #0056b3;
  --primary-dark: #004494;
  --primary-light: #3378c5;
  --secondary-color: #f8f9fa;
  --accent-color: #17a2b8;
  --text-color: #333333;
  --text-light: #6c757d;
  --text-white: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #343a40;
  --card-bg: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.1);
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --border-color: #dee2e6;
  --border-radius: 8px;
  --transition-speed: 0.3s;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-body);
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

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

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

img {
  max-width: 100%;
  height: auto;
}

/* Button Styles */
.button {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 2px solid transparent;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

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

.button.is-light:hover {
  background-color: var(--text-white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.button.is-outlined {
  background-color: transparent;
}

.button.is-medium {
  font-size: 1.1rem;
  padding: 0.75rem 1.75rem;
}

.button.is-large {
  font-size: 1.25rem;
  padding: 1rem 2rem;
}

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

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

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

.header.scrolled {
  background-color: var(--text-white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
}

.navbar-menu {
  display: flex;
}

.navbar-item {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: var(--text-color);
  font-weight: 500;
  transition: color var(--transition-speed) ease;
}

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

.navbar-burger {
  display: none;
  cursor: pointer;
  background-color: transparent;
  border: none;
  padding: 0.5rem;
}

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

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

.hero-body {
  padding: 3rem 0;
  width: 100%;
  z-index: 2;
}

.hero .title, 
.hero .subtitle {
  color: var(--text-white);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.hero .buttons {
  margin-top: 2rem;
}

/* Workshops Section */
.section {
  padding: 5rem 0;
}

.section .title {
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section .title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px var(--card-shadow);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

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

.card .content {
  margin-bottom: 1.5rem;
}

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

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

.column {
  padding: 15px;
  width: 100%;
}

.is-4 {
  width: 100%;
}

.is-6 {
  width: 50%;
}

.is-one-third {
  width: 33.33%;
}

.is-two-thirds {
  width: 66.66%;
}

.has-background-light {
  background-color: var(--background-light);
}

/* Webinars Section */
.webinar-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.webinar-details p {
  margin-bottom: 0.5rem;
}

/* Research Section */
.image-container {
  overflow: hidden;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.research-paper {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.research-paper:last-child {
  border-bottom: none;
}

.research-paper h4 {
  color: var(--primary-color);
}

/* Events Calendar */
.event-date {
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  background-color: var(--primary-color);
  color: var(--text-white);
}

.event-details {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
}

.event-details p {
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-card {
  text-align: center;
  padding: 1rem;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

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

.rating {
  color: var(--warning);
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

/* Statistics Section */
.statistic-box {
  padding: 2rem;
  transition: transform var(--transition-speed) ease;
}

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

.statistic-box span {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

/* News Section */
.subtitle {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-info {
  padding: 2rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-details p {
  margin-bottom: 1.5rem;
}

form {
  margin-top: 1.5rem;
}

.field {
  margin-bottom: 1.5rem;
}

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

.control {
  position: relative;
}

.input, .textarea, .select select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease;
}

.input:focus, .textarea:focus, .select select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

.select {
  display: block;
  position: relative;
}

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

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

/* Footer */
.footer {
  background-color: #343a40 !important;
  color: var(--text-white);
  padding: 4rem 0 2rem;
}

.footer .title {
  color: var(--text-white);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 1.5rem;
}

.footer .title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

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

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

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

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

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

.social-links a {
  margin-right: 1rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-speed) ease;
}

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

.newsletter {
  margin-top: 2rem;
}

.has-addons {
  display: flex;
}

.has-addons .control:first-child {
  flex: 1;
}

.has-addons .control:not(:first-child) {
  margin-left: -1px;
}

.has-addons .button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.has-addons .input {
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

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

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

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

.mt-6 {
  margin-top: 2rem;
}

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

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

.mb-6 {
  margin-bottom: 2rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal.is-active {
  display: flex;
}

.modal-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: relative;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  z-index: 2001;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-white);
  z-index: 2002;
}

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

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

/* Success Page */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--background-light);
}

.success-container {
  text-align: center;
  padding: 3rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 90%;
}

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

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

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

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

/* Animation Classes */
[data-aos="fade-up"] {
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="fade-left"] {
  transform: translateX(50px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
  opacity: 1;
}

/* Media Queries */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (max-width: 991px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    flex-direction: column;
  }

  .navbar-menu.is-active {
    display: block;
  }

  .navbar-burger {
    display: block;
  }

  .navbar-item {
    display: block;
    text-align: center;
  }

  .column.is-4, 
  .column.is-6, 
  .column.is-one-third, 
  .column.is-two-thirds {
    width: 100%;
  }

  .hero .title {
    font-size: 2.5rem !important;
  }

  .hero .subtitle {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .hero .title {
    font-size: 2rem !important;
  }

  .hero .subtitle {
    font-size: 1.1rem !important;
  }

  .hero p {
    font-size: 1rem;
  }

  .statistic-box span {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar-brand{
    width: 100%;
  }
}