:root {
  /* Color variables */
  --primary-color: #3273dc;
  --primary-color-dark: #2366d1;
  --secondary-color: #23d160;
  --secondary-color-dark: #20bc56;
  --accent-color: #ff3860;
  --accent-color-dark: #ff1f4b;
  --neutral-color: #f5f5f5;
  --neutral-color-dark: #dbdbdb;
  --dark-color: #363636;
  --light-color: #ffffff;
  --text-color: #4a4a4a;
  --text-color-light: #7a7a7a;
  
  /* Gradient backgrounds */
  --gradient-primary: linear-gradient(135deg, #3273dc, #2366d1);
  --gradient-secondary: linear-gradient(135deg, #23d160, #20bc56);
  --gradient-accent: linear-gradient(135deg, #ff3860, #ff1f4b);
  --gradient-neutral: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  --gradient-dark: linear-gradient(135deg, #363636, #242424);
  
  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* 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 10px 20px 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: 12px;
  --radius-xl: 24px;
  
  /* Spacing */
  --space-unit: 8px;
  --space-xs: calc(var(--space-unit) * 0.5);
  --space-sm: var(--space-unit);
  --space-md: calc(var(--space-unit) * 2);
  --space-lg: calc(var(--space-unit) * 3);
  --space-xl: calc(var(--space-unit) * 5);
}

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

html {
  scroll-behavior: smooth;
}

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

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

p {
  margin-bottom: 1.5rem;
}

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

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

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

/* Utility Classes */
.divider {
  height: 3px;
  width: 80px;
  background: var(--gradient-primary);
  margin: 0 auto 2rem;
  border-radius: var(--radius-sm);
}

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

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--light-color);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 1rem 0;
}

.navbar-item {
  transition: color var(--transition-fast);
}

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

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-body {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 5rem 0;
}

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

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

/* Section Styling */
.section {
  padding: 5rem 1.5rem;
}

.section .title {
  position: relative;
  margin-bottom: 1rem;
}

.section .subtitle {
  margin-bottom: 2rem;
  color: var(--text-color-light);
}

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  margin-bottom: 2rem;
  background-color: var(--light-color);
}

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

.card-image {
  width: 100%;
  overflow: hidden;
}

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

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

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

.product-card, 
.service-card, 
.event-card, 
.resource-card, 
.testimonial-card, 
.accolade-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-card .card-image,
.service-card .card-image,
.event-card .card-image {
  height: 250px;
}

.product-card .card-image img,
.service-card .card-image img,
.event-card .card-image img {
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

/* Product card specific styles */
.product-card .rating {
  margin-bottom: 0.5rem;
}

.product-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Service card specific styles */
.service-card .title {
  margin-top: 1rem;
}

/* Events Section */
.event-card .card-image {
  height: 220px;
}

.event-card .subtitle {
  color: var(--text-color-light);
  margin-bottom: 1rem;
}

/* Resources Section */
.resource-card {
  height: 100%;
}

/* Testimonials */
.testimonial-card {
  height: 100%;
}

.testimonial-card .media {
  margin-bottom: 1rem;
}

.testimonial-card .image {
  border-radius: 50%;
  overflow: hidden;
}

/* Accolades Section */
.accolade-card {
  height: 100%;
  text-align: center;
}

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

/* Mission & Vision Sections */
#mission, #vision {
  position: relative;
}

#mission .content, #vision .content {
  position: relative;
  z-index: 2;
}

#mission .image, #vision .image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Behind the Scenes */
#behind-scenes .image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

/* Community Section */
#community .card {
  height: 100%;
}

/* Contact Section */
#contact .contact-info {
  height: 100%;
}

#contact .map-container {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

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

.footer ul {
  list-style: none;
  margin-bottom: 2rem;
}

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

.footer a {
  color: var(--neutral-color);
  transition: color var(--transition-fast);
}

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

.footer .social-links a {
  display: block;
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

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

.copyright {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: var(--text-color-light);
}

/* Button Styles */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  outline: none;
}

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

.button.is-primary:hover {
  background: var(--primary-color-dark);
  box-shadow: 0 4px 12px rgba(50, 115, 220, 0.25);
}

.button.is-light {
  background-color: var(--light-color);
  color: var(--text-color);
  border: 1px solid var(--neutral-color-dark);
}

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

.button.is-link {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

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

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

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

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

.input, .textarea, .select select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral-color-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.select:after {
  border-color: var(--primary-color);
}

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

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

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

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

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.fade-in {
  animation: fadeIn var(--transition-normal) forwards;
}

.slide-up {
  animation: slideUp var(--transition-normal) forwards;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .hero-body {
    padding: 3rem 0;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .card-image {
    height: 200px;
  }
}

@media screen and (max-width: 480px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .button.is-large {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
  }
}

/* Script-controlled classes */
.has-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.is-transparent {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Navbar burger */
.navbar-burger {
  color: var(--text-color);
  cursor: pointer;
}

.navbar-burger span {
  background-color: currentColor;
  display: block;
  height: 1px;
  width: 16px;
  transform-origin: center;
  transition-duration: 86ms;
  transition-property: background-color, opacity, transform;
  transition-timing-function: ease-out;
}

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

.navbar-burger span:nth-child(3) {
  margin-top: 6px;
}

.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);
}

/* Responsive navbar */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
  }
  
  .navbar-menu.is-active {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background-color: var(--light-color);
    box-shadow: var(--shadow-md);
    padding: 1rem;
  }
  
  .navbar-item {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral-color);
  }
  
  .navbar-item:last-child {
    border-bottom: none;
  }
}