/* === Core Variables === */
:root {
  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* Primary Colors - Split-complementary scheme */
  --primary: #3273dc;
  --primary-dark: #1c54b2;
  --primary-light: #5691f0;
  
  /* Complementary Colors */
  --complementary: #dc7232;
  --complementary-dark: #b25a1c;
  --complementary-light: #f08f56;
  
  /* Additional Colors */
  --accent: #32dcaf;
  --accent-dark: #1cb291;
  --accent-light: #56f0cc;
  
  /* Neutral Colors */
  --white: #ffffff;
  --off-white: #f7f9fc;
  --light-gray: #e4e7ec;
  --medium-gray: #9ea3b0;
  --dark-gray: #4a4e57;
  --black: #1c1e22;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
  --gradient-complementary: linear-gradient(135deg, var(--complementary), var(--complementary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-light));
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* === Base Styles === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark-gray);
  background-color: var(--off-white);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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

p {
  margin-bottom: 1.5rem;
}

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

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

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

/* === Common Components === */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-medium);
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  border: none;
}

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

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

.button.is-outlined {
  background-color: transparent;
  border: 2px solid currentColor;
}

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

.button.is-outlined:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

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

.animated-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  z-index: -1;
}

.animated-button:hover::after {
  width: 300px;
  height: 300px;
}

.title {
  font-weight: 700;
}

.title.is-1 {
  font-size: 3rem;
  line-height: 1.2;
}

.title.is-2 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

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

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

.subtitle {
  font-weight: 500;
  color: var(--medium-gray);
}

.subtitle.is-3 {
  font-size: 1.75rem;
}

.subtitle.is-5 {
  font-size: 1.25rem;
  line-height: 1.5;
}

.subtitle.is-6 {
  font-size: 1rem;
}

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

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

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

.mb-3 {
  margin-bottom: 0.75rem !important;
}

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

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

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

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

.section {
  padding: 5rem 1.5rem;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}

.column {
  flex: 1;
  padding: 1rem;
}

.column.is-one-third {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

.column.is-one-quarter {
  flex: 0 0 25%;
  max-width: 25%;
}

.column.is-half {
  flex: 0 0 50%;
  max-width: 50%;
}

.column.is-two-thirds {
  flex: 0 0 66.6666%;
  max-width: 66.6666%;
}

.is-multiline {
  flex-wrap: wrap;
}

/* === Navbar === */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color var(--transition-medium);
}

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

.navbar-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: var(--dark-gray);
  transition: color var(--transition-fast);
}

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

.navbar-menu {
  display: flex;
  flex-grow: 1;
  justify-content: flex-end;
}

.navbar-burger {
  cursor: pointer;
  display: none;
  height: 3.25rem;
  width: 3.25rem;
  margin-left: auto;
  position: relative;
}

.navbar-burger span {
  background-color: var(--dark-gray);
  display: block;
  height: 2px;
  left: calc(50% - 8px);
  position: absolute;
  transform-origin: center;
  transition: all 0.3s ease-out;
  width: 16px;
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 6px);
}

.navbar-burger span:nth-child(2) {
  top: calc(50% - 1px);
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 4px);
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* === Hero Section === */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  min-height: 80vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transform: scale(1.05);
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-body {
  position: relative;
  width: 100%;
  z-index: 1;
  padding: 4rem 0;
}

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

.hero .buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* === Instructors Section === */
.instructors-section {
  background-color: var(--white);
}

.instructor-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.instructor-card .card-image {
  position: relative;
  overflow: hidden;
}

.instructor-card .image {
  display: block;
  width: 100%;
  transition: transform 0.5s ease;
}

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

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

.instructor-stats {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-item .icon {
  color: var(--primary);
}

/* === Gallery Section === */
.gallery-section {
  background-color: var(--off-white);
  position: relative;
}

.gallery-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem 1.5rem 1.5rem;
  color: var(--white);
}


/* === Pricing Section === */
.pricing-section {
  background-color: var(--white);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--light-gray);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

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

.pricing-card.featured:hover {
  transform: translateY(-8px) scale(1.05);
}

.popular-tag {
  position: absolute;
  top: 0;
  right: 1.5rem;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
}

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

.price {
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  font-family: var(--font-heading);
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.period {
  margin-left: 0.25rem;
  font-size: 1rem;
  color: var(--medium-gray);
  align-self: flex-end;
  margin-bottom: 0.5rem;
}

.features {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-item .icon {
  color: var(--primary);
  font-size: 1.2rem;
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

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

.resource-card h3 {
  margin-bottom: 1rem;
}

.resource-card a.button {
  margin-top: auto;
  align-self: flex-start;
}

/* === Team Section === */
.team-section {
  background-color: var(--white);
}

.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.team-card .card-image {
  position: relative;
  overflow: hidden;
}

.team-card .image {
  display: block;
  width: 100%;
  transition: transform 0.5s ease;
}

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

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--white);
  transition: all var(--transition-fast);
}

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

/* === Press Section === */
.press-section {
  background-color: var(--off-white);
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 2px;
  background-color: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 100px;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 42px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.press-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.press-card .card-content {
  padding: 1.5rem;
}

.press-card .media {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

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

.press-card .image {
  overflow: hidden;
  border-radius: 8px;
}

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

.press-card .content a {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition-fast);
}

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

/* === Contact Section === */
.contact-section {
  background-color: var(--white);
}

.field {
  margin-bottom: 1.5rem;
}

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

.input, .textarea, .select select {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

.is-fullwidth {
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.contact-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  flex-shrink: 0;
}

.info-item h3 {
  margin-bottom: 0.25rem;
}

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

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

.footer p {
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: var(--light-gray);
  transition: color var(--transition-fast);
}

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

.footer .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: flex-start;
}


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

.disclaimer {
  font-size: 0.875rem;
  color: var(--medium-gray);
  margin-top: 0.5rem;
}

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

.success-container {
  max-width: 600px;
}

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

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

.privacy-content, .terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* === Media Queries === */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 1rem 0;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .navbar-end {
    display: flex;
    flex-direction: column;
  }
  
  .column.is-one-third,
  .column.is-one-quarter,
  .column.is-half,
  .column.is-two-thirds {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline-marker {
    left: 22px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .column.is-one-third,
  .column.is-one-quarter {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .title.is-3 {
    font-size: 1.75rem;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero-body {
    padding: 3rem 0;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
}

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

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* === Utilities === */
.has-background-primary {
  background-color: var(--primary) !important;
}

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

.is-flex {
  display: flex !important;
}

.is-flex-direction-column {
  flex-direction: column !important;
}

.is-align-items-center {
  align-items: center !important;
}

.is-justify-content-center {
  justify-content: center !important;
}

.is-justify-content-space-between {
  justify-content: space-between !important;
}

.is-full-height {
  height: 100% !important;
}

.py-5 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.my-5 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

img {
  object-fit: cover;
}

@media (max-width:768px){
  .gallery-carousel {
    grid-template-columns: 1fr;
  }
}