/* Global Variables */
:root {
  /* Primary Colors - Split-complementary scheme */
  --primary-color: #3273dc;
  --primary-light: #4a89e8;
  --primary-dark: #1c54a0;
  
  /* Secondary/Accent Colors */
  --accent-color-1: #ff6b6b;
  --accent-color-2: #48c774;
  --accent-color-3: #ffdd57;
  
  /* Neutral Colors */
  --dark: #222222;
  --medium-dark: #333333;
  --medium: #666666;
  --light-medium: #999999;
  --light: #f5f5f5;
  --white: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
  --gradient-dark: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 3rem;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--medium-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light);
}

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

p {
  margin-bottom: 1rem;
}

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

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

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

/* Typography Refinements */
.title {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.title.is-1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
}

.title.is-2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.title.is-2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.title.is-3 {
  font-size: 2rem;
}

.title.is-4 {
  font-size: 1.5rem;
}

.subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  opacity: 0.9;
}

/* Global Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 1.5rem;
  position: relative;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

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

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

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

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

.navbar-item:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar-burger {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero .title {
  margin-bottom: 1rem;
  animation: fadeInDown 1s both;
}

.hero .subtitle {
  margin-bottom: 2rem;
  animation: fadeInUp 1s both 0.3s;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 1s both 0.5s;
}

/* Buttons */
.button, 
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.button:hover, 
button:hover,
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.button:active, 
button:active,
input[type="submit"]:active {
  transform: translateY(1px);
}

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

.button.is-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

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

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

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

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

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

.animated-button {
  position: relative;
  overflow: hidden;
}

.animated-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.animated-button:hover::before {
  transform: translateX(0);
  animation: buttonShine 1.5s infinite;
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

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

/* History Section */
.history-section {
  background-color: var(--white);
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
  display: flex;
  align-items: flex-start;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 8px rgba(50, 115, 220, 0.2);
  z-index: 10;
}

.timeline-content {
  width: 45%;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  transform: rotate(45deg);
  box-shadow: -5px 5px 5px rgba(0,0,0,0.05);
}

.timeline-item:nth-child(even) .timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  right: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  transform: rotate(45deg);
  box-shadow: 5px -5px 5px rgba(0,0,0,0.05);
}

.image-container {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: center;
}

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

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

/* Success Stories Section */
.success-stories-section {
  background-color: var(--light);
  position: relative;
}

.success-stories-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./image/pattern-bg.jpg') center/cover no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.success-stories-section .container {
  position: relative;
  z-index: 1;
}

/* Webinars Section */
.webinars-section {
  background-color: var(--white);
}

/* Blog Section */
.blog-section {
  background-color: var(--light);
}

.blog-section .card-content p.is-size-6 {
  color: var(--accent-color-1);
  font-weight: 600;
}

/* Resources Section */
.resources-section {
  background-color: var(--white);
}

.resources-section ul {
  list-style: none;
  padding-left: 0;
}

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

.resources-section ul li a {
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--primary-color);
  position: relative;
}

.resources-section ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.resources-section ul li a:hover::after {
  width: 100%;
}

/* Contact Section */
.contact-section {
  background-color: var(--light);
  position: relative;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--gradient-primary);
  opacity: 0.05;
  z-index: 0;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.info-item {
  margin-bottom: 1.5rem;
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Form Elements */
.field {
  margin-bottom: 1.5rem;
}

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

.input, 
.textarea, 
.select select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

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

.select {
  position: relative;
  display: block;
  width: 100%;
}

.select::after {
  content: '▼';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--medium);
  pointer-events: none;
  font-size: 0.8rem;
}

.select select {
  appearance: none;
  padding-right: 2.5rem;
}

/* Footer */
.footer {
  background-color: var(--medium-dark);
  color: var(--light);
  padding: 4rem 1.5rem 2rem;
}

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

.footer a {
  color: var(--light);
  transition: all var(--transition-normal);
}

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

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

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

.footer p {
  opacity: 0.8;
}

.social-links a {
  display: inline-block;
  margin-right: 1rem;
  color: var(--light);
  transition: all var(--transition-normal);
}

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

/* Modal */
.modal {
  display: none;
}

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

.modal-background {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  animation: modalFadeIn 0.3s ease;
}

.modal-card-head {
  background-color: var(--primary-color);
  color: var(--white);
  border-bottom: none;
  padding: 1.5rem;
}

.modal-card-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
}

.modal-card-body {
  padding: 2rem;
  max-height: calc(80vh - 150px);
  overflow-y: auto;
}

.modal-card-foot {
  background-color: var(--light);
  border-top: none;
  justify-content: flex-end;
  padding: 1.5rem;
}

/* Cookie Consent */
#cookie-consent {
  font-family: var(--font-body);
}

#accept-cookies {
  margin-left: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

#accept-cookies:hover {
  background-color: var(--primary-light);
}

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

.success-content {
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  width: 100%;
}

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

/* Privacy & Terms Pages */
.content-page {
  padding-top: 100px;
  padding-bottom: 5rem;
}

.content-page .container {
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes buttonShine {
  0% {
    transform: translateX(-100%);
  }
  20%, 100% {
    transform: translateX(100%);
  }
}

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

/* Utility Classes */
.has-text-centered {
  text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

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

/* Media Queries */
@media screen and (max-width: 1023px) {
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .navbar-menu {
    display: none;
  }
  
  .navbar-menu.is-active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .navbar-item {
    display: block;
    padding: 0.75rem 0;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    right: auto;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 4rem 1rem;
  }
  
  .title.is-1 {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .title.is-3 {
    font-size: 1.5rem;
  }
  
  .columns {
    display: block;
  }
  
  .column {
    width: 100% !important;
    margin-left: 0 !important;
  }
  
  .hero .buttons {
    flex-direction: column;
  }
  
  .hero .button {
    margin-bottom: 1rem;
    width: 100%;
  }
  
  .card {
    margin-bottom: 2rem;
  }
  
  .modal-card {
    width: 90%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  .title.is-1 {
    font-size: 1.75rem;
  }
  
  .title.is-2 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .timeline-content {
    padding: 1rem;
  }
}
.footer {
    background-color: #646161!important;
    padding: 3rem 1.5rem 6rem;
}
.navbar-burger{
  display: none!important;
}