:root {
  /* Color Scheme */
  --primary-color: #3A1C71;
  --secondary-color: #D76D77;
  --accent-color: #FFAF7B;
  --dark-primary: #2A1456;
  --dark-secondary: #B84E57;
  --dark-accent: #E58F5C;
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-muted: #6c757d;
  --background-light: #f8f9fa;
  --background-dark: #212529;
  --glassmorphism-bg: rgba(255, 255, 255, 0.15);
  --glassmorphism-border: rgba(255, 255, 255, 0.2);
  --glassmorphism-shadow: rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  --gradient-dark: linear-gradient(135deg, rgba(58, 28, 113, 0.9), rgba(215, 109, 119, 0.9), rgba(255, 175, 123, 0.9));
  --gradient-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  --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-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
}

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

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

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

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

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

section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

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

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-top: -1rem;
  margin-bottom: var(--spacing-lg);
}

/* Glassmorphism Effects */
.glassmorphism {
  background: var(--glassmorphism-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glassmorphism-border);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px var(--glassmorphism-shadow);
  padding: var(--spacing-xl);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.glassmorphism-section {
  background: var(--gradient-primary);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.glassmorphism-section h2, 
.glassmorphism-section h3, 
.glassmorphism-section h4 {
  color: var(--text-light);
}

.glassmorphism-section .glassmorphism {
  background: rgba(255, 255, 255, 0.1);
}

.glassmorphism-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
  padding: var(--spacing-sm) 0;
}

.glassmorphism-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn, 
button, 
input[type="submit"] {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
}

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

.btn-primary, 
input[type="submit"] {
  background: var(--primary-color);
  color: var(--text-light);
}

.btn-primary:hover, 
input[type="submit"]:hover {
  background: var(--dark-primary);
  color: var(--text-light);
}

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

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

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

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

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Navbar Styles */
.navbar {
  padding: var(--spacing-md) 0;
}

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

.navbar-brand:hover {
  color: var(--text-light);
  text-decoration: none;
}

.nav-link {
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0 var(--spacing-sm);
  transition: color var(--transition-fast);
}

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

.scrolled .navbar-brand,
.scrolled .nav-link {
  color: var(--text-dark);
}

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

.navbar-toggler {
  border: none;
  padding: var(--spacing-sm);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--text-light);
  text-align: center;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-light);
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xl);
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Process Section */
.process-section {
  position: relative;
}

.timeline-container {
  position: relative;
  padding: var(--spacing-xl) 0;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: var(--spacing-xxl);
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-left: -60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 4px solid var(--text-light);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.timeline-content {
  width: 45%;
  padding: var(--spacing-lg);
  position: relative;
}

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

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

/* Research Section */
.research-section {
  background-color: var(--background-light);
  padding: var(--spacing-xxl) 0;
}

.research-image {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--spacing-lg);
}

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

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

.research-content {
  height: 100%;
}

/* Behind Scenes Section */
.behind-scenes-section {
  padding: var(--spacing-xxl) 0;
}

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

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

.card-image {
  width: 100%;
  overflow: hidden;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

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

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

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

/* Resources Section */
.resources-section {
  background-color: var(--background-light);
  padding: var(--spacing-xxl) 0;
}

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: var(--spacing-xl);
}

.resource-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
}

.resource-card p {
  flex-grow: 1;
  margin-bottom: var(--spacing-lg);
}

/* Clientele Section */
.clientele-section {
  padding: var(--spacing-xxl) 0;
}

.testimonial-card {
  height: 100%;
  text-align: center;
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--spacing-lg);
  border: 3px solid var(--text-light);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

.testimonial-position {
  color: var(--accent-color);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.testimonial-text {
  font-style: italic;
}

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

.contact-info, .contact-form {
  height: 100%;
}

.contact-details {
  margin: var(--spacing-lg) 0;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.contact-item i {
  margin-right: var(--spacing-md);
  color: var(--primary-color);
  font-size: 1.2rem;
}

.social-links {
  margin-top: var(--spacing-lg);
}

.social-links a {
  display: inline-block;
  margin-right: var(--spacing-md);
  color: var(--primary-color);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.social-links a:hover {
  color: var(--dark-primary);
  text-decoration: none;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  padding: 0.8rem;
  color: var(--text-dark);
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--primary-color);
  box-shadow: none;
}

/* Footer */
.footer-section {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-info h3 {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

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

.footer-links h4 {
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
}

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

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

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

.footer-links a:hover {
  color: var(--text-light);
  text-decoration: none;
}

.footer-newsletter h4 {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-md);
}

.footer-newsletter form {
  display: flex;
}

.footer-newsletter input[type="email"] {
  flex-grow: 1;
  padding: 0.8rem;
  border: none;
  border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.footer-newsletter input[type="submit"] {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.footer-newsletter input[type="submit"]:hover {
  background-color: var(--dark-primary);
}

.copyright {
  margin-top: var(--spacing-xxl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.5);
}

.copyright a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.copyright a:hover {
  color: var(--text-light);
  text-decoration: none;
}

/* Success, Privacy, Terms Pages */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--spacing-xxl) 0;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .timeline::before {
    left: 60px;
  }
  
  .timeline-img {
    left: 60px;
    margin-left: 0;
  }
  
  .timeline-content {
    width: calc(100% - 150px);
    margin-left: 150px !important;
    text-align: left !important;
  }
  
  .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.8);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
  }
  
  .scrolled .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.95);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-section {
    height: auto;
    padding: 120px 0 80px;
  }
  
  .timeline-img {
    width: 80px;
    height: 80px;
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 100px);
    margin-left: 100px !important;
  }
  
  .btn-lg {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }
  
  .btn + .btn {
    margin-top: var(--spacing-sm);
    margin-left: 0 !important;
  }
  
  .footer-newsletter form {
    flex-direction: column;
  }
  
  .footer-newsletter input[type="email"],
  .footer-newsletter input[type="submit"] {
    width: 100%;
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-sm);
  }
}

@media (max-width: 576px) {
  .timeline::before {
    display: none;
  }
  
  .timeline-img {
    position: relative;
    left: 0;
    margin: 0 auto var(--spacing-md);
  }
  
  .timeline-content {
    width: 100%;
    margin-left: 0 !important;
    text-align: center !important;
  }
  
  .research-content,
  .card-content {
    padding: var(--spacing-md);
  }
}

/* Animation Effects */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

/* Cookie Consent */
#cookieConsent {
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

/* Read More Links */
.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-block;
  margin-top: var(--spacing-sm);
  position: relative;
  padding-right: 1.5rem;
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-fast);
}

.read-more:hover {
  color: var(--dark-primary);
  text-decoration: none;
}

.read-more:hover::after {
  transform: translate(5px, -50%);
}