:root {
  /* Primary colors - Complementary color scheme */
  --primary-color: #2c3e50;
  --primary-color-dark: #1a2530;
  --primary-color-light: #3d5a73;
  
  --accent-color: #e74c3c;
  --accent-color-dark: #c0392b;
  --accent-color-light: #f8786a;
  
  /* Neutral colors */
  --neutral-100: #ffffff;
  --neutral-200: #f8f9fa;
  --neutral-300: #e9ecef;
  --neutral-400: #dee2e6;
  --neutral-500: #adb5bd;
  --neutral-600: #6c757d;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  
  /* Shadow variables for Neumorphism */
  --shadow-small: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.8);
  --shadow-medium: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.8);
  --shadow-large: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.8);
  --shadow-inset: inset 3px 3px 6px rgba(0, 0, 0, 0.1), inset -3px -3px 6px rgba(255, 255, 255, 0.8);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  
  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-circle: 50%;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background-color: var(--neutral-200);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: 2rem;
  position: relative;
  margin-bottom: var(--space-xl);
}

h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius-sm);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

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

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

a:hover {
  color: var(--accent-color-dark);
  text-decoration: none;
}

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

.section-padding {
  padding: var(--space-xxl) 0;
}

.section-header {
  margin-bottom: var(--space-xxl);
}

/* Container adjustments */
.container {
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

/* Button styles */
.btn, button, input[type='submit'] {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius-md);
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-small);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn:active, button:active, input[type='submit']:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-inset);
}

.btn-primary {
  background-color: var(--accent-color);
  border: 2px solid var(--accent-color);
  color: var(--neutral-100);
}

.btn-primary:hover {
  background-color: var(--accent-color-dark);
  border-color: var(--accent-color-dark);
  color: var(--neutral-100);
}

.btn-outline-light {
  background-color: transparent;
  border: 2px solid var(--neutral-100);
  color: var(--neutral-100);
}

.btn-outline-light:hover {
  background-color: var(--neutral-100);
  color: var(--primary-color);
}

.btn-outline-primary {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--neutral-100);
}

/* Animated button effect */
.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn:hover:before {
  left: 100%;
}

/* Navbar styles */
.header {
  position: fixed;
  top: 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);
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
}

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

.navbar-brand {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.5rem;
  font-family: var(--font-heading);
}

.navbar-brand:hover {
  color: var(--accent-color);
}

.nav-link {
  color: var(--primary-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--accent-color);
  transform: translateX(-50%);
  transition: width var(--transition-medium);
}

.nav-link:hover:after {
  width: 80%;
}

/* Hero section */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--neutral-100);
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  color: var(--neutral-100);
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s ease-out;
}

.hero-content p {
  color: var(--neutral-100);
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.3s;
  animation-fill-mode: both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  animation: fadeIn 1s ease-out 0.6s;
  animation-fill-mode: both;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    margin-bottom: var(--space-sm);
  }
}

/* Services section */
.services {
  position: relative;
  background-color: var(--neutral-100);
}

.service-card {
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  background-color: var(--neutral-100);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  overflow: hidden;
  text-align: center;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--transition-medium);
  margin: 0 auto;
}

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

.card-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.card-content p {
  color: var(--neutral-700);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

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

.success-card {
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-medium);
  background-color: var(--neutral-100);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.success-metrics {
  display: flex;
  justify-content: space-around;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--neutral-300);
}

.metric {
  text-align: center;
}

.metric .value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
}

.metric .label {
  display: block;
  font-size: 0.9rem;
  color: var(--neutral-600);
  margin-top: var(--space-xs);
}

.custom-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.slider-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  overflow: hidden;
}

.slider-item {
  min-width: 100%;
  transition: transform var(--transition-slow);
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

.prev-btn, .next-btn {
  background-color: var(--primary-color);
  color: var(--neutral-100);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 var(--space-xs);
  transition: background-color var(--transition-fast);
  box-shadow: var(--shadow-small);
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--accent-color);
}

/* Events Calendar section */
.events-calendar {
  background-color: var(--neutral-100);
  position: relative;
}

.event-card {
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-medium);
  background-color: var(--neutral-100);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.event-date {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background-color: var(--accent-color);
  color: var(--neutral-100);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.event-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.event-details {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.event-details .detail {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  color: var(--neutral-700);
}

.event-details .detail i {
  margin-right: var(--space-sm);
  color: var(--accent-color);
}

/* External Resources section */
.external-resources {
  background-color: var(--neutral-200);
  position: relative;
}

.resource-card {
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-medium);
  background-color: var(--neutral-100);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.resource-link {
  margin-top: auto;
  color: var(--accent-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.resource-link:hover {
  color: var(--accent-color-dark);
  text-decoration: none;
}

.resource-link .arrow {
  margin-left: var(--space-xs);
  transition: transform var(--transition-fast);
}

.resource-link:hover .arrow {
  transform: translateX(5px);
}

/* Testimonials section */
.testimonials {
  background-color: var(--neutral-100);
  position: relative;
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-item {
  padding: var(--space-md);
}

.testimonial-content {
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-medium);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-text {
  margin-bottom: var(--space-lg);
  position: relative;
  text-align: center;
}

.testimonial-text:before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.2;
  position: absolute;
  top: -2.5rem;
  left: -1rem;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: var(--space-md);
}

.testimonial-author img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  border: 4px solid var(--neutral-100);
  box-shadow: var(--shadow-small);
  margin-right: var(--space-md);
}

.author-info {
  text-align: left;
}

.author-info h4 {
  margin-bottom: var(--space-xs);
  color: var(--primary-color);
}

.author-info p {
  margin-bottom: 0;
  color: var(--neutral-600);
  font-size: 0.9rem;
}

/* Press section */
.press {
  background-color: var(--neutral-200);
  position: relative;
}

.press-card {
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-medium);
  background-color: var(--neutral-100);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.press-date {
  display: block;
  color: var(--neutral-600);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}

.press-link {
  margin-top: auto;
  color: var(--accent-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.press-link:hover {
  color: var(--accent-color-dark);
}

.press-link .arrow {
  margin-left: var(--space-xs);
  transition: transform var(--transition-fast);
}

.press-link:hover .arrow {
  transform: translateX(5px);
}

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

.contact-info {
  height: 100%;
  padding: var(--space-lg);
  background-color: var(--primary-color);
  color: var(--neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.contact-info h3 {
  color: var(--neutral-100);
  margin-bottom: var(--space-lg);
}

.contact-details {
  margin-top: var(--space-xl);
}

.detail-item {
  display: flex;
  margin-bottom: var(--space-lg);
}

.detail-item i {
  font-size: 1.5rem;
  margin-right: var(--space-md);
  color: var(--accent-color);
}

.detail-item h4 {
  color: var(--neutral-100);
  margin-bottom: var(--space-xs);
}

.detail-item p {
  margin-bottom: 0;
  color: var(--neutral-300);
}

.contact-form {
  height: 100%;
  padding: var(--space-lg);
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.contact-form h3 {
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-control, .form-select {
  height: auto;
  padding: 0.75rem;
  border: 2px solid var(--neutral-300);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: none;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

.form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--neutral-300);
  padding-top: var(--space-xxl);
  position: relative;
}

.footer h3 {
  color: var(--neutral-100);
  margin-bottom: var(--space-lg);
  font-size: 1.3rem;
}

.footer-about p {
  margin-bottom: var(--space-lg);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  color: var(--neutral-300);
  transition: color var(--transition-fast);
  font-weight: 500;
  position: relative;
}

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

.social-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: width var(--transition-medium);
}

.social-links a:hover:after {
  width: 100%;
}

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

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

.footer-links a {
  color: var(--neutral-300);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-newsletter p {
  margin-bottom: var(--space-md);
}

.footer-newsletter .input-group {
  margin-top: var(--space-md);
}

.footer-newsletter .form-control {
  border: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.footer-newsletter .btn {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.footer-bottom {
  margin-top: var(--space-xxl);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-lg);
}

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

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

@media (max-width: 767px) {
  .footer-bottom-links {
    justify-content: center;
    margin-top: var(--space-md);
  }
  
  .footer-bottom p {
    text-align: center;
  }
}

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

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

.success-page h1 {
  margin-bottom: var(--space-lg);
}

.success-page p {
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

/* Privacy and Terms pages */
.privacy-page, .terms-page {
  padding-top: 100px;
  padding-bottom: var(--space-xxl);
}

.privacy-content, .terms-content {
  background-color: var(--neutral-100);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.privacy-content h2, .terms-content h2 {
  margin-top: var(--space-xl);
}

.privacy-content h3, .terms-content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

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

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

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

/* Utility classes */
.text-primary {
  color: var(--primary-color) !important;
}

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

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-accent {
  background-color: var(--accent-color) !important;
}

.shadow-neumorphic {
  box-shadow: var(--shadow-medium);
}

.rounded-custom {
  border-radius: var(--radius-lg);
}

/* Media queries */
@media (max-width: 991px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .hero-content {
    max-width: 90%;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: var(--space-xl) 0;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .contact-info {
    margin-bottom: var(--space-lg);
  }
}

@media (max-width: 575px) {
  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  
  .section-header {
    margin-bottom: var(--space-xl);
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .testimonial-author img {
    margin-right: 0;
    margin-bottom: var(--space-sm);
  }
  
  .author-info {
    text-align: center;
  }
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.testimonial-dot {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #000;
  padding: 0 !important;
}

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

    .navbar-toggler {
      display: none !important;
    }

    .header {
      position: relative !important;
    }

    body {
      padding-top: 0 !important;
    }

    .footer-bottom-links {
      flex-direction: column;
      align-items: center;
    }
}