:root {
  /* Primary Colors */
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --primary-light: #5dade2;
  
  /* Secondary Colors */
  --secondary-color: #e74c3c;
  --secondary-dark: #c0392b;
  --secondary-light: #ec7063;
  
  /* Accent Colors */
  --accent-color: #2ecc71;
  --accent-dark: #27ae60;
  --accent-light: #58d68d;
  
  /* Neutral Colors */
  --dark-color: #2c3e50;
  --dark-light: #34495e;
  --light-color: #ecf0f1;
  --light-dark: #bdc3c7;
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  --secondary-gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  --accent-gradient: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  --dark-gradient: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-light) 100%);
  
  /* Shadow */
  --neomorphism-shadow-light: 8px 8px 16px rgba(0, 0, 0, 0.05), -8px -8px 16px rgba(255, 255, 255, 0.8);
  --neomorphism-shadow-dark: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.5);
  --neomorphism-inset-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -3px -3px 7px rgba(255, 255, 255, 0.6);
  
  /* Border Radius */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  /* Typography */
  --heading-font: 'Roboto', sans-serif;
  --body-font: 'Lato', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

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

body {
  font-family: var(--body-font);
  color: var(--dark-color);
  background-color: #f8f9fa;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

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

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

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: 1.75rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-light);
}

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

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

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

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.read-more::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transform: translateX(-100%);
  transition: transform var(--transition-fast);
}

.read-more:hover::after {
  transform: translateX(0);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  margin: var(--spacing-sm) auto;
  background: var(--primary-gradient);
  border-radius: 2px;
}

/* Container styles */
.container {
  padding: var(--spacing-md) var(--spacing-sm);
}

/* Button Styles */
.btn, button, input[type='submit'] {
  display: inline-block;
  font-weight: 500;
  font-family: var(--heading-font);
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  cursor: pointer;
  border: none;
  background-color: var(--primary-color);
  color: white;
  box-shadow: var(--neomorphism-shadow-light);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover, button:hover, input[type='submit']:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: white;
}

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

.btn::before, button::before, input[type='submit']::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%) rotate(45deg);
  transition: transform var(--transition-medium);
  z-index: -1;
}

.btn:hover::before, button:hover::before, input[type='submit']:hover::before {
  transform: translateX(100%) rotate(45deg);
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
}

.btn-secondary {
  background: var(--secondary-gradient);
  color: white;
}

.btn-accent {
  background: var(--accent-gradient);
  color: white;
}

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

.btn-outline:hover {
  background: var(--primary-gradient);
  color: white;
}

/* Card Styles */
.card {
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--neomorphism-shadow-light);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  margin-bottom: var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  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-md);
  flex-grow: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* Header Styles */
.header-section {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
  padding: 0.5rem 0;
}

.header-section .container {
  padding-block: 0 !important;
}

.header-section .navbar {
  padding: 0.5rem 1rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

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

.navbar-brand span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color);
  margin: 0 0.5rem;
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.nav-item {
  width: fit-content;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 180px 0 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  color: white;
  margin-bottom: var(--spacing-sm);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  animation: fadeIn 1s ease-out 1s both;
}

/* Mission Section */
.mission-section {
  padding: var(--spacing-xl) 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  opacity: 0.05;
  border-radius: 50%;
  top: -150px;
  right: -150px;
  z-index: 0;
}

.mission-content {
  position: relative;
  z-index: 1;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  background: white;
  box-shadow: var(--neomorphism-shadow-light);
}

.mission-section .image-container {
  position: relative;
  height: 100%;
  min-height: 360px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--neomorphism-shadow-light);
}

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

.mission-section .image-container:hover img {
  transform: scale(1.05);
}

/* Services Section */
.services-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, rgba(236, 240, 241, 0.8) 0%, rgba(189, 195, 199, 0.8) 100%);
  position: relative;
}

.services-section .card {
  height: 100%;
  background: white;
  overflow: hidden;
}

/* Why Us Section */
.why-us-section {
  padding: var(--spacing-xl) 0;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.why-us-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent-light);
  opacity: 0.05;
  border-radius: 50%;
  bottom: -200px;
  left: -200px;
  z-index: 0;
}

.why-us-content {
  position: relative;
  z-index: 1;
}

.feature-item {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  background: white;
  box-shadow: var(--neomorphism-shadow-light);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.resource-card {
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  background: white;
  box-shadow: var(--neomorphism-shadow-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.resource-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.resource-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--accent-color);
  transition: color var(--transition-fast);
}

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

/* Testimonials Section */
.testimonials-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(52, 152, 219, 0.05) 100%);
  position: relative;
}

.testimonial-card {
  text-align: center;
  height: 100%;
}

.testimonial-card .card-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 20px auto 20px;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: var(--neomorphism-shadow-light);
  z-index: 10;
}

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

.testimonial-text {
  font-style: italic;
  position: relative;
  padding: 0 20px;
}

.testimonial-text::before, .testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  opacity: 0.2;
  position: absolute;
  line-height: 0;
}

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

.testimonial-text::after {
  bottom: 0;
  right: 0;
}

.client-name {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.client-position {
  font-size: 0.875rem;
  color: var(--dark-light);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

/* Research Section */
.research-section {
  padding: var(--spacing-xl) 0;
  background-color: white;
  position: relative;
}

.research-content {
  position: relative;
  z-index: 1;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  background: white;
  box-shadow: var(--neomorphism-shadow-light);
}

/* History Section */
.history-section {
  padding: var(--spacing-xl) 0;
  background-color: #f8f9fa;
  position: relative;
}

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

.timeline-item {
  padding: var(--spacing-md);
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--neomorphism-shadow-light);
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.year {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.history-gallery {
  margin-top: var(--spacing-lg);
}

/* Behind the Scenes Section */
.behind-scenes-section {
  padding: var(--spacing-xl) 0;
  background-color: white;
  position: relative;
}

.behind-scenes-content {
  position: relative;
  z-index: 1;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  background: white;
  box-shadow: var(--neomorphism-shadow-light);
}

/* Blog Section */
.blog-section {
  padding: var(--spacing-xl) 0;
  background-color: #f8f9fa;
  position: relative;
}

.blog-card {
  height: 100%;
}

.blog-date {
  color: var(--dark-light);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-sm);
}

/* Gallery Section */
.gallery-section {
  padding: var(--spacing-xl) 0;
  background-color: white;
  position: relative;
}

.gallery-grid {
  margin-bottom: var(--spacing-md);
}

.gallery-item {
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--neomorphism-shadow-light);
  position: relative;
}

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

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

/* FAQ Section */
.faq-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(46, 204, 113, 0.05) 100%);
  position: relative;
}

.accordion-item {
  margin-bottom: var(--spacing-md);
  border: none;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--neomorphism-shadow-light);
}

.accordion-button {
  font-weight: 600;
  padding: var(--spacing-md);
  background-color: white;
  border: none;
  box-shadow: none;
  border-radius: var(--border-radius-md) !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(52, 152, 219, 0.05);
}

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

.accordion-body {
  padding: var(--spacing-md);
  background-color: white;
}

/* Contact Section */
.contact-section {
  padding: var(--spacing-xl) 0;
  background-color: white;
  position: relative;
}

.contact-info {
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  background: white;
  box-shadow: var(--neomorphism-shadow-light);
  height: 100%;
}

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

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.contact-details i {
  margin-right: var(--spacing-sm);
  color: var(--primary-color);
}

.office-hours {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--light-dark);
}

.contact-form {
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  background: white;
  box-shadow: var(--neomorphism-shadow-light);
  height: 100%;
}

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

.form-control {
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 0.75rem;
  background-color: #f8f9fa;
  box-shadow: var(--neomorphism-inset-shadow);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.map-container {
  margin-top: var(--spacing-md);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--neomorphism-shadow-light);
}

.map-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Footer */
.footer-section {
  padding: var(--spacing-lg) 0 var(--spacing-sm);
  background: var(--dark-gradient);
  color: white;
}

.footer-section h3 {
  color: white;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  margin-top: 10px;
  background: var(--primary-gradient);
}

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

.social-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
  margin-top: var(--spacing-md);
}

.social-links a {
  color: white;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

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

.footer-links li {
  margin-bottom: 10px;
}

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

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

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

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem;
  border: none;
  border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
}

.newsletter-form button {
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  padding: 0.75rem 1.5rem;
  background: var(--primary-gradient);
  color: white;
  border: none;
  cursor: pointer;
}

.footer-bottom {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-sm);
  background: linear-gradient(135deg, rgba(236, 240, 241, 0.8) 0%, rgba(189, 195, 199, 0.8) 100%);
}

.success-content {
  max-width: 600px;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  background: white;
  box-shadow: var(--neomorphism-shadow-light);
  animation: fadeIn 1s ease-out, floatIn 1.5s ease-out;
}

.success-content h1 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

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

/* Privacy & Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-lg);
}

.content-section {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--neomorphism-shadow-light);
}

/* 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);
  }
}

@keyframes floatIn {
  0% {
    transform: translateY(30px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-section {
    padding: 150px 0 80px;
  }

  .contact-info, .contact-form {
    margin-bottom: var(--spacing-md);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: var(--border-radius-md);
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: var(--border-radius-md);
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    margin-bottom: 10px;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 1.75rem;
  }

  .contact-details li {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-details i {
    margin-bottom: 5px;
  }
}