:root {
  /* Color Scheme */
  --primary: #4a6bff;
  --primary-dark: #3959e6;
  --primary-light: #7c8fff;
  --secondary: #ff6b4a;
  --secondary-dark: #e65339;
  --secondary-light: #ff8c73;
  --accent: #6c4aff;
  --accent-dark: #5538e6;
  --accent-light: #8973ff;
  --success: #00d1b2;
  --warning: #ffdd57;
  --danger: #ff3860;
  --light: #f5f5f5;
  --dark: #363636;
  --background: #ffffff;
  --text: #333333;
  --text-light: #777777;
  --text-dark: #222222;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.2);
  
  /* Typography */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Sizes */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
}

/* Base Styles */
html, body {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.title.is-1 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.title.is-2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

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

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

p {
  margin-bottom: var(--space-sm);
}

section {
  padding: var(--space-xl) 0;
  position: relative;
}

.container {
  padding: 0 var(--space-md);
}

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

/* Navigation */
.navbar {
  background-color: var(--background);
  box-shadow: 0 2px 10px var(--shadow);
  transition: all var(--transition-medium);
  z-index: 100;
}

.navbar.is-fixed-top {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.9);
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition-fast);
}

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

.navbar-burger {
  color: var(--text);
}

/* Button Styles */
.button {
  font-family: var(--font-heading);
  font-weight: 500;
  transition: all var(--transition-fast);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 6px var(--shadow);
}

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

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

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

.button.is-light:hover {
  background-color: var(--border);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px var(--shadow-hover);
}

.button.is-rounded {
  border-radius: 50px;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.button.is-large {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

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

.animated-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform var(--transition-medium);
}

.animated-button:hover::after {
  transform: translateX(0);
}

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

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

.hero .title {
  margin-bottom: var(--space-sm);
}

.hero .subtitle {
  margin-bottom: var(--space-md);
}

.hero-body {
  padding: var(--space-xl) 0;
  z-index: 2;
}

.hero-foot {
  padding-bottom: var(--space-md);
}

.arrow-down {
  display: inline-block;
  position: relative;
  margin-top: var(--space-md);
}

.arrow-down a {
  display: block;
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0 auto;
}

.arrow-down span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
  animation: arrowBounce 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}

.arrow-down span:nth-of-type(1) {
  animation-delay: 0s;
}

.arrow-down span:nth-of-type(2) {
  top: 16px;
  animation-delay: 0.15s;
}

.arrow-down span:nth-of-type(3) {
  top: 32px;
  animation-delay: 0.3s;
}

@keyframes arrowBounce {
  0% {
    opacity: 0;
    transform: translate(0, 10px) rotate(-45deg);
  }
  50% {
    opacity: 1;
    transform: translate(0, 0) rotate(-45deg);
  }
  100% {
    opacity: 0;
    transform: translate(0, -10px) rotate(-45deg);
  }
}

/* Service Cards */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 6px 12px var(--shadow);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px var(--shadow-hover);
}

.service-card .card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 220px;
}

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

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

.service-card .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
}

.service-card .title {
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.service-card .content {
  color: var(--text);
  flex-grow: 1;
}

/* Stats Section */
.stats-section {
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding: var(--space-xl) 0;
}

.stat-box {
  text-align: center;
  padding: var(--space-md);
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition-medium);
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: white;
}

/* Resources Section */
.resources-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.resource-item {
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  background-color: var(--light);
  box-shadow: 0 4px 8px var(--shadow);
  transition: transform var(--transition-medium);
}

.resource-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px var(--shadow-hover);
}

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

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

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px var(--shadow-hover);
}

.testimonial-card .card-image {
  padding-top: var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-card .image-container {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
}

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

.testimonial-card .card-content {
  flex-grow: 1;
  padding: var(--space-md);
  text-align: center;
}

.testimonial-card .content {
  font-style: italic;
  margin-bottom: var(--space-md);
  color: var(--text);
}

.testimonial-card .client-name {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

.testimonial-card .client-position {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Insights Section */
.insights-section {
  background-color: white;
}

.timeline {
  position: relative;
  margin-left: 20px;
}

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

.timeline-item {
  position: relative;
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: -10px;
  width: 24px;
  height: 24px;
  background-color: var(--primary);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 3px var(--primary-light);
  z-index: 1;
}

.timeline-content {
  padding: var(--space-md);
  background-color: var(--light);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 8px var(--shadow);
  transition: transform var(--transition-medium);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px var(--shadow-hover);
}

.trends-list {
  list-style-type: none;
  padding-left: 0;
}

.trends-list li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 25px;
}

.trends-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Community Section */
.community-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.community-benefits {
  margin-top: var(--space-md);
}

.benefit-box {
  padding: var(--space-md);
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(5px);
  transition: transform var(--transition-medium);
  height: 100%;
}

.benefit-box:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 0, 0, 0.4);
}

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

.partner-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
  height: 100%;
  transition: transform var(--transition-medium);
}

.partner-box:hover {
  transform: translateY(-5px);
}

.partner-box img {
  max-width: 100%;
  height: auto;
  margin-bottom: var(--space-sm);
  filter: grayscale(100%);
  transition: filter var(--transition-medium);
}

.partner-box:hover img {
  filter: grayscale(0%);
}

/* Media Section */
.media-section {
  background-color: white;
}

.media-gallery {
  height: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: 0 6px 12px var(--shadow);
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  padding: var(--space-md);
  transform: translateY(100%);
  transition: transform var(--transition-medium);
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.gallery-item .overlay h3 {
  color: white;
  margin-bottom: var(--space-xs);
}

.gallery-item .overlay p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

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

.contact-info {
  padding: var(--space-md);
}

.contact-item {
  margin-bottom: var(--space-md);
}

.contact-item h3 {
  margin-bottom: var(--space-xs);
  color: var(--text-dark);
}

.contact-item p {
  margin-bottom: var(--space-xs);
  color: var(--text);
}

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 6px 12px var(--shadow);
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-form-container {
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  box-shadow: 0 6px 12px var(--shadow);
}

.contact-form .field {
  margin-bottom: var(--space-sm);
}

.contact-form .label {
  color: var(--text-dark);
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border-color: var(--border);
  border-radius: var(--border-radius-sm);
  box-shadow: none;
  transition: border-color var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

/* Footer Styles */
.footer {
  background-color: var(--dark);
  color: white;
  padding: var(--space-xl) 0 var(--space-md);
}

.footer .title {
  color: white;
}

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

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

.footer-links li {
  margin-bottom: var(--space-xs);
}

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

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  text-decoration: none;
  display: inline-block;
  padding: 5px 10px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
}

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

.newsletter .input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.newsletter .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter .input:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Modal Styles */
.modal-content {
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.modal-content .box {
  padding: var(--space-md);
}

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

.success-container {
  max-width: 600px;
  padding: var(--space-lg);
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px var(--shadow);
  animation: fadeInUp 0.5s ease-out;
}

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

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

.privacy-content, .terms-content {
  background-color: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius-md);
  box-shadow: 0 6px 12px var(--shadow);
}

/* About Page */
.about-hero {
  padding-top: 80px;
}

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

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-md);
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 6px 12px var(--shadow);
  margin-bottom: var(--space-sm);
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .stats-section .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .title.is-1 {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.8rem;
  }
  
  .title.is-3 {
    font-size: 1.5rem;
  }
  
  .service-card .card-image {
    height: 180px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .stat-box {
    margin-bottom: var(--space-md);
  }
  
  .contact-info {
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 480px) {
  section {
    padding: var(--space-lg) 0;
  }
  
  .title.is-1 {
    font-size: 1.8rem;
  }
  
  .title.is-2 {
    font-size: 1.5rem;
  }
  
  .button.is-large {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  
  .stats-section .stat-number {
    font-size: 2rem;
  }
  
  .testimonial-card .image-container {
    width: 100px;
    height: 100px;
  }
}