:root {
  /* Neomorphism Color Palette - Monochromatic Scheme */
  --primary-color: #4a76b9;
  --primary-light: #6f9ae2;
  --primary-dark: #345690;
  --primary-gradient: linear-gradient(135deg, #4a76b9 0%, #345690 100%);
  
  --secondary-color: #2d4a7b;
  --secondary-light: #3d5c8f;
  --secondary-dark: #1d3867;
  
  --neutral-100: #ffffff;
  --neutral-200: #f5f7fa;
  --neutral-300: #e4e9f2;
  --neutral-400: #d1d9e6;
  --neutral-500: #9bacc4;
  --neutral-600: #5d7290;
  --neutral-700: #445167;
  --neutral-800: #2d3748;
  --neutral-900: #1a202c;
  
  --success: #48bb78;
  --warning: #ed8936;
  --danger: #e53e3e;
  --info: #4299e1;
  
  /* Shadows for Neomorphism */
  --shadow-small: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.7);
  --shadow-medium: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.7);
  --shadow-large: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.7);
  --shadow-inset: inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
  
  /* 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: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--neutral-900);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

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

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

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

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

ul {
  padding-left: 1.5rem;
}

/* Button Styles */
.btn, 
button, 
input[type="submit"] {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-medium);
  border: none;
  box-shadow: var(--shadow-small);
}

.btn-primary, 
button.btn-primary, 
input[type="submit"].btn-primary {
  background: var(--primary-gradient);
  color: var(--neutral-100);
}

.btn-primary:hover, 
button.btn-primary:hover, 
input[type="submit"].btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-outline-light, 
button.btn-outline-light, 
input[type="submit"].btn-outline-light {
  background: transparent;
  color: var(--neutral-100);
  border: 2px solid var(--neutral-100);
}

.btn-outline-light:hover, 
button.btn-outline-light:hover, 
input[type="submit"].btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-outline-primary, 
button.btn-outline-primary, 
input[type="submit"].btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover, 
button.btn-outline-primary:hover, 
input[type="submit"].btn-outline-primary:hover {
  background: rgba(74, 118, 185, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Header & Navigation */
header {
  background-color: var(--neutral-100);
  padding: var(--spacing-md) 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.navbar {
  padding: var(--spacing-sm) 0;
}

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

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

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--neutral-800);
  padding: var(--spacing-sm) var(--spacing-md);
  transition: all var(--transition-medium);
  border-radius: var(--border-radius-md);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-color);
  background-color: var(--neutral-200);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--neutral-100);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
}

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

.hero-section h1 {
  color: var(--neutral-100);
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 1s ease-out;
}

.hero-section p.lead {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

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

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
  position: relative;
}

.section-divider {
  height: 4px;
  width: 60px;
  margin: 0 auto var(--spacing-lg);
  background: var(--primary-gradient);
  border-radius: var(--border-radius-sm);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  color: var(--neutral-700);
}

/* Card Styles */
.card {
  background: var(--neutral-100);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

.card h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

/* About Us Section */
.about-section .image-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-large);
}

.stat-card {
  background: var(--neutral-100);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-small);
  text-align: center;
  transition: transform var(--transition-medium);
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.stat-title {
  color: var(--neutral-700);
  font-size: 0.9rem;
  margin: 0;
}

/* Methodology Section */
.methodology-section .card {
  padding: 0;
  box-shadow: var(--shadow-medium);
}

.progress-container {
  width: 100%;
  margin-top: var(--spacing-md);
}

.progress-container p {
  margin-bottom: var(--spacing-xs);
  color: var(--neutral-700);
  font-size: 0.9rem;
}

.progress {
  height: 8px;
  background-color: var(--neutral-300);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.progress-bar {
  background: var(--primary-gradient);
  height: 100%;
  border-radius: var(--border-radius-sm);
  transition: width 1s ease;
}

/* Pricing Section */
.pricing-card {
  text-align: center;
}

.pricing-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-lg);
}

.pricing-card li {
  margin-bottom: var(--spacing-sm);
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* History Section */
.history-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--neutral-100);
}

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

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

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-light);
  left: -7px;
  top: 6px;
  border: 2px solid var(--neutral-100);
}

.timeline-content h3 {
  margin-top: 0;
  color: var(--neutral-100);
}

/* FAQ Section */
.accordion-item {
  margin-bottom: var(--spacing-md);
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

.accordion-header {
  margin: 0;
}

.accordion-button {
  background-color: var(--neutral-100);
  color: var(--neutral-900);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: var(--spacing-lg);
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--neutral-200);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234a76b9' class='bi bi-plus' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
  transition: transform var(--transition-medium);
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234a76b9' class='bi bi-dash' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}

.accordion-body {
  padding: var(--spacing-lg);
  background-color: var(--neutral-100);
}

/* Resources Section */
.resource-card {
  background: var(--neutral-100);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  height: 100%;
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-medium);
}

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

.resource-card h3 {
  color: var(--primary-color);
  margin-top: 0;
}

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

.resource-list li {
  margin-bottom: var(--spacing-md);
  padding-left: 1.5rem;
  position: relative;
}

.resource-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.resource-list a {
  color: var(--neutral-800);
  transition: color var(--transition-fast);
}

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

/* Testimonials Section */
.testimonial-card {
  text-align: center;
}

.testimonial-card .card-image {
  margin-top: var(--spacing-lg);
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid var(--primary-light);
  box-shadow: var(--shadow-medium);
}

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

.testimonial-occupation {
  color: var(--neutral-600);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.testimonial-text {
  font-style: italic;
  position: relative;
  padding: 0 var(--spacing-md);
}

.testimonial-text::before, 
.testimonial-text::after {
  content: '"';
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--neutral-400);
  position: absolute;
  height: 1rem;
  line-height: 0;
}

.testimonial-text::before {
  top: 0;
  left: 0;
}

.testimonial-text::after {
  bottom: 0;
  right: 0;
  transform: rotate(180deg);
}

/* News Section */
.news-card {
  overflow: hidden;
}

.news-card .card-image {
  height: 200px;
  overflow: hidden;
}

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

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

.news-date {
  color: var(--neutral-600);
  font-size: 0.85rem;
  margin-bottom: var(--spacing-xs);
  display: block;
}

/* Gallery Section */
.gallery-item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  position: relative;
  transition: transform var(--transition-medium);
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-large);
}

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

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

/* Research Section */
.research-list li {
  margin-bottom: var(--spacing-sm);
  color: var(--neutral-800);
}

.research-graph {
  margin-bottom: var(--spacing-lg);
}

.research-graph h4 {
  margin-bottom: var(--spacing-md);
}

.research-image {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

/* Why Us Section */
.why-us-card {
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-medium);
  height: 100%;
}

.why-us-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2rem;
  color: var(--primary-light);
  margin-bottom: var(--spacing-md);
}

/* Clients Section */
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.client-logo {
  padding: var(--spacing-md);
  background: var(--neutral-100);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 180px;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.client-logo img {
  max-height: 80px;
  max-width: 80px;
  filter: grayscale(100%);
  transition: filter var(--transition-medium);
}

.client-logo:hover img {
  filter: grayscale(0%);
}

/* Contact Section */
.contact-info {
  background: var(--neutral-100);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-medium);
  height: 100%;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-lg);
}

.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
  color: var(--neutral-700);
}

.contact-list li i {
  color: var(--primary-color);
  width: 24px;
  margin-right: var(--spacing-sm);
}

.opening-hours {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-lg);
  color: var(--neutral-700);
}

.opening-hours li {
  margin-bottom: var(--spacing-xs);
}

.contact-map {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

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

.contact-form .form-control {
  background-color: var(--neutral-200);
  border: none;
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow-inset);
  transition: all var(--transition-fast);
}

.contact-form .form-control:focus {
  box-shadow: var(--shadow-inset), 0 0 0 3px rgba(74, 118, 185, 0.25);
}

.contact-form .form-select {
  background-color: var(--neutral-200);
  border: none;
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow-inset);
  transition: all var(--transition-fast);
}

.contact-form .form-select:focus {
  box-shadow: var(--shadow-inset), 0 0 0 3px rgba(74, 118, 185, 0.25);
}

.contact-form .form-check-input {
  background-color: var(--neutral-200);
  border: none;
  box-shadow: var(--shadow-inset);
}

.contact-form .form-check-input:checked {
  background-color: var(--primary-color);
  box-shadow: var(--shadow-inset);
}

/* Footer */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-300);
  padding-top: var(--spacing-xxl);
}

.footer-title {
  color: var(--neutral-100);
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
  font-weight: 600;
}

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

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

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

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

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

.social-links a {
  color: var(--neutral-400);
  margin-right: var(--spacing-sm);
  transition: color var(--transition-fast);
}

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

.copyright {
  color: var(--neutral-500);
  font-size: 0.9rem;
  margin-top: var(--spacing-xl);
}

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

.success-content {
  max-width: 600px;
  padding: var(--spacing-xl);
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-large);
  animation: fadeInUp 1s ease;
}

.success-icon {
  font-size: 4rem;
  color: var(--success);
  margin-bottom: var(--spacing-lg);
}

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

.page-content .container {
  background-color: var(--neutral-100);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-large);
}

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

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

/* Read More Links */
.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  padding: var(--spacing-xs) 0;
  position: relative;
  overflow: hidden;
}

.read-more::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-medium);
}

.read-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Media Queries */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .navbar-collapse {
    background-color: var(--neutral-100);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
  }
}

@media (max-width: 767.98px) {
  section {
    padding: var(--spacing-xl) 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-section p.lead {
    font-size: 1rem;
  }
  
  .client-logo {
    width: 80px;
    height: 80px;
  }
  
  .client-logo img {
    max-height: 60px;
    max-width: 120px;
  }
}

@media (max-width: 575.98px) {
  .btn, 
  button, 
  input[type="submit"] {
    padding: 0.6rem 1.2rem;
  }
  
  .card-content {
    padding: var(--spacing-md);
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 50px;
  }
  
  .timeline-item::before {
    left: 13px;
  }
}

/* Additional Utility Classes */
.bg-light {
  background-color: var(--neutral-200);
}

.text-white {
  color: var(--neutral-100);
}

.shadow-sm {
  box-shadow: var(--shadow-small);
}

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

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

.rounded-circle {
  border-radius: 50%;
}

.text-center {
  text-align: center;
}

.overflow-hidden {
  overflow: hidden;
}

.position-relative {
  position: relative;
}