:root {
  /* Primary Colors */
  --primary-color: #2c6ecf;
  --primary-light: #4b8ff7;
  --primary-dark: #1a4fa0;
  
  /* Secondary Colors */
  --secondary-color: #ff6b6b;
  --secondary-light: #ff8e8e;
  --secondary-dark: #e64545;
  
  /* Accent Colors */
  --accent-color: #4ad295;
  --accent-light: #6fdfaf;
  --accent-dark: #2ba76e;
  
  /* Neutral Colors */
  --dark-color: #2d3748;
  --dark-color-light: #4a5568;
  --light-color: #f7fafc;
  --light-color-dark: #e2e8f0;
  --grey-color: #a0aec0;
  
  /* Neomorphism Shadows */
  --nm-shadow-small: 5px 5px 10px rgba(0, 0, 0, 0.05), -5px -5px 10px rgba(255, 255, 255, 0.8);
  --nm-shadow-medium: 10px 10px 20px rgba(0, 0, 0, 0.06), -10px -10px 20px rgba(255, 255, 255, 0.8);
  --nm-shadow-large: 15px 15px 30px rgba(0, 0, 0, 0.07), -15px -15px 30px rgba(255, 255, 255, 0.8);
  --nm-shadow-inset: inset 5px 5px 10px rgba(0, 0, 0, 0.05), inset -5px -5px 10px rgba(255, 255, 255, 0.8);
  
  /* Typography */
  --heading-font: 'Raleway', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Border Radius */
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --border-radius-xl: 36px;
  --border-radius-full: 50%;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===== BASE STYLES ===== */
html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

.section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== BUTTONS ===== */
.button {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-medium);
  box-shadow: var(--nm-shadow-small);
  z-index: 1;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: var(--nm-shadow-medium);
}

.button:active {
  transform: translateY(0);
  box-shadow: var(--nm-shadow-inset);
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
  z-index: -1;
}

.button:hover::before {
  transform: translateX(0);
}

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

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

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

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar {
  padding: 0.5rem 0;
}

.navbar-brand h1 {
  margin-bottom: 0;
}

.navbar-item {
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero .title, .hero .subtitle {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease both;
  animation-delay: 0.3s;
}

.hero .title {
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  font-size: 3.5rem;
}

.hero .subtitle {
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  font-size: 2rem;
  animation-delay: 0.5s;
}

.hero p {
  animation: fadeInUp 1s ease both;
  animation-delay: 0.7s;
  margin-bottom: var(--spacing-lg);
  font-size: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .buttons {
  animation: fadeInUp 1s ease both;
  animation-delay: 0.9s;
}

/* ===== ABOUT SECTION ===== */
#about .title {
  margin-bottom: var(--spacing-lg);
}

#about .content {
  margin-bottom: var(--spacing-md);
}

#about .image-container {
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--nm-shadow-medium);
  transition: transform var(--transition-medium);
}

#about .image-container:hover {
  transform: translateY(-10px);
  box-shadow: var(--nm-shadow-large);
}

#about .image-container img {
  transition: transform var(--transition-slow);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#about .image-container:hover img {
  transform: scale(1.05);
}

/* ===== STATISTICS SECTION ===== */
.has-background-light {
  background-color: #f5f7fa !important;
}

.stat-card {
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--nm-shadow-medium);
  transition: transform var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-family: var(--heading-font);
  line-height: 1;
}

.stat-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: var(--spacing-md);
  font-family: var(--heading-font);
}

.stat-description {
  color: var(--dark-color-light);
  font-size: 0.9rem;
}

/* ===== ACCOLADES SECTION ===== */
.card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--nm-shadow-medium);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  overflow: hidden;
  text-align: center;
  margin: 0 auto;
}

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

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

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

.card-content .title {
  color: var(--dark-color);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

.card-content .content {
  color: var(--dark-color-light);
  flex-grow: 1;
}

/* ===== METHODOLOGY SECTION ===== */
.has-background-primary-light {
  background-color: rgba(43, 110, 207, 0.1) !important;
}

.methodology-timeline {
  position: relative;
  padding-left: var(--spacing-xl);
}

.methodology-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  border-radius: var(--border-radius-full);
}

.methodology-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
}

.methodology-number {
  position: absolute;
  left: calc(-1 * var(--spacing-xl) - 10px);
  top: 0;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: var(--nm-shadow-small);
}

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

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

.methodology-item:nth-child(2) .methodology-number {
  background-color: var(--primary-light);
}

.methodology-item:nth-child(3) .methodology-number {
  background-color: var(--secondary-color);
}

.methodology-item:nth-child(4) .methodology-number {
  background-color: var(--secondary-light);
}

.methodology-item:nth-child(5) .methodology-number {
  background-color: var(--accent-color);
}

#methodology .image-container {
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--nm-shadow-medium);
  height: 100%;
}

#methodology .image-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform var(--transition-slow);
}

#methodology .image-container:hover img {
  transform: scale(1.05);
}

/* ===== RESOURCES SECTION ===== */
.resources-list {
  list-style: none;
  padding: 0;
}

.resources-list li {
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-left: var(--spacing-lg);
}

.resources-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: var(--border-radius-full);
}

.resources-list a {
  color: var(--primary-color);
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

/* ===== TEAM SECTION ===== */
#team .card {
  text-align: center;
  align-items: center;
}

#team .card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

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

#team .card-content {
  padding: var(--spacing-lg);
  width: 100%;
}

#team .title {
  margin-bottom: var(--spacing-xs);
}

#team .subtitle {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

/* ===== CONTACT SECTION ===== */
.contact-form-container {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--nm-shadow-medium);
}

.contact-info {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--nm-shadow-medium);
  height: 100%;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

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

.contact-info strong {
  color: var(--dark-color);
}

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

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

/* Form Styles */
.field {
  margin-bottom: var(--spacing-md);
}

.label {
  color: var(--dark-color);
  font-weight: 600;
}

.input, .textarea, .select select {
  background-color: var(--light-color);
  border: 1px solid var(--light-color-dark);
  box-shadow: var(--nm-shadow-inset);
  border-radius: var(--border-radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(44, 110, 207, 0.2);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: var(--spacing-xl) 0;
}

.footer .title {
  color: white;
}

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

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

.footer-links a {
  color: var(--light-color-dark);
  transition: color var(--transition-fast);
}

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.social-links a {
  color: var(--light-color-dark);
  transition: color var(--transition-fast);
  font-weight: 600;
}

.social-links a:hover {
  color: white;
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl);
}

.success-page h1 {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: var(--spacing-lg);
  animation: fadeInDown 1s ease both;
}

.success-page p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 1s ease both;
  animation-delay: 0.2s;
}

.success-page .button {
  animation: fadeInUp 1s ease both;
  animation-delay: 0.4s;
}

/* ===== PRIVACY/TERMS PAGES ===== */
.content-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

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

.content-page h2 {
  color: var(--dark-color);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  font-size: 1.8rem;
}

.content-page p, .content-page li {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.content-page ul, .content-page ol {
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-lg);
}

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

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .stat-value {
    font-size: 2.5rem;
  }
  
  .stat-title {
    font-size: 1.2rem;
  }
  
  .methodology-timeline {
    padding-left: var(--spacing-lg);
  }
  
  .methodology-number {
    left: calc(-1 * var(--spacing-lg) - 10px);
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  #about .image-container, #methodology .image-container {
    margin-top: var(--spacing-lg);
  }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .hero .title {
    font-size: 3rem;
  }
  
  .hero .subtitle {
    font-size: 1.8rem;
  }
}

@media screen and (min-width: 1024px) {
  /* Apply custom animations to elements on larger screens */
  .stat-card:nth-child(1) {
    animation: fadeInUp 1s ease both;
    animation-delay: 0.2s;
  }
  
  .stat-card:nth-child(2) {
    animation: fadeInUp 1s ease both;
    animation-delay: 0.4s;
  }
  
  .stat-card:nth-child(3) {
    animation: fadeInUp 1s ease both;
    animation-delay: 0.6s;
  }
  
  .stat-card:nth-child(4) {
    animation: fadeInUp 1s ease both;
    animation-delay: 0.8s;
  }
}

/* ===== UTILITIES ===== */
.mb-6 {
  margin-bottom: 3rem !important;
}

.mb-5 {
  margin-bottom: 2.5rem !important;
}

/* Highlight "Read more" links */
.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.read-more:after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-light);
  transform: translateX(3px);
}

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