/* ================= Variables ================= */
:root {
  /* Primary Colors - Monochromatic Scheme */
  --color-primary: #0056b3;
  --color-primary-light: #0074e8;
  --color-primary-lighter: #3a98ff;
  --color-primary-dark: #003d80;
  --color-primary-darker: #00285a;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-light: #f2f5f9;
  --color-light-gray: #e0e7ef;
  --color-gray: #a0b0c5;
  --color-dark-gray: #4d5b6e;
  --color-dark: #2c3e50;
  --color-black: #121a23;

  /* Accent Colors */
  --color-accent: #00c9a7;
  --color-accent-light: #41ead4;
  --color-accent-dark: #00a388;

  /* Background Colors */
  --bg-light: var(--color-light);
  --bg-dark: var(--color-dark);
  --bg-gradient-light: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  --bg-gradient-primary: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  --bg-gradient-dark: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary-darker) 100%);

  /* Shadows - Neomorphism Style */
  --shadow-small: 6px 6px 12px rgba(0, 0, 0, 0.1), -6px -6px 12px rgba(255, 255, 255, 0.8);
  --shadow-medium: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.8);
  --shadow-large: 15px 15px 30px rgba(0, 0, 0, 0.1), -15px -15px 30px rgba(255, 255, 255, 0.8);
  --shadow-inset: inset 4px 4px 8px rgba(0, 0, 0, 0.1), inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  --shadow-dark: 8px 8px 16px rgba(0, 0, 0, 0.3);
  --shadow-accent: 0 0 15px rgba(0, 201, 167, 0.5);

  /* Border Radius - Biomorphic Design */
  --radius-small: 8px;
  --radius-medium: 16px;
  --radius-large: 24px;
  --radius-circle: 50%;
  --radius-blob: 60% 40% 70% 30% / 60% 30% 70% 40%;

  /* Typography */
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container-width: 1200px;
  --container-padding: 1.5rem;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index */
  --z-header: 100;
  --z-modal: 200;
}

/* ================= Base Styles ================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

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

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

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

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

ul {
  list-style-type: none;
}

/* ================= Container ================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ================= Header ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: var(--z-header);
  transition: background-color var(--transition-medium);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-list a {
  font-weight: 500;
  color: var(--color-dark);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-small);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-list a:hover {
  background-color: var(--color-light-gray);
  color: var(--color-primary);
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--color-dark);
  transition: transform var(--transition-medium), opacity var(--transition-medium);
}

/* ================= Buttons ================= */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-small);
  transition: all var(--transition-medium);
  font-size: var(--font-size-md);
  line-height: 1.5;
  border: none;
  outline: none;
}

.btn:focus {
  outline: none;
}

.btn-primary {
  background: var(--bg-gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-small);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-small);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-light-gray);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
  color: var(--color-primary);
}

button, 
input[type="submit"] {
  font-family: var(--font-body);
  cursor: pointer;
}

/* ================= Hero Section ================= */
.hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-2xl);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  overflow: hidden;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-lg);
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

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

/* ================= History Section ================= */
.history {
  padding: var(--space-xl) 0;
  background-color: var(--color-white);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--bg-gradient-primary);
  border-radius: var(--radius-small);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-md) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background-color: var(--color-primary-lighter);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
}

.timeline-dot {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: var(--radius-circle);
  background-color: var(--color-primary);
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-small);
  z-index: 1;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: var(--space-md);
  background-color: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  margin-left: auto;
}

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

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

.image-container {
  margin-top: var(--space-md);
  border-radius: var(--radius-small);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium);
}

.image-container:hover {
  transform: scale(1.03);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.image-container:hover img {
  transform: scale(1.1);
}

/* ================= Success Stories Section ================= */
.success-stories {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.success-stories::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--color-primary-lighter);
  opacity: 0.1;
  border-radius: var(--radius-blob);
  z-index: 0;
  animation: floatAnimation 15s infinite linear;
}

.success-stories::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background-color: var(--color-accent-light);
  opacity: 0.1;
  border-radius: var(--radius-blob);
  z-index: 0;
  animation: floatAnimation 20s infinite linear reverse;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-white);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

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

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

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

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

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

.rating {
  color: #FFD700;
  font-size: var(--font-size-lg);
  margin-top: auto;
}

.testimonial-cta {
  text-align: center;
  margin-top: var(--space-lg);
}

/* ================= Resources Section ================= */
.resources {
  padding: var(--space-xl) 0;
  background-color: var(--color-white);
  position: relative;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

/* ================= Research Section ================= */
.research {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.research-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.research-text {
  flex: 1;
  min-width: 300px;
}

.research-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

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

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

.research-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.stat {
  flex: 1;
  min-width: 150px;
  background-color: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-small);
  text-align: center;
}

.stat-number {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-dark-gray);
}

.research-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

/* ================= Team Section ================= */
.team {
  padding: var(--space-xl) 0;
  background-color: var(--color-white);
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.team-grid .card {
  text-align: center;
}

.team-grid .card-image {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-circle);
  margin: var(--space-md) auto;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.position {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.team-cta {
  text-align: center;
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background-color: var(--color-light-gray);
  border-radius: var(--radius-medium);
}

/* ================= Contact Section ================= */
.contact {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.info-item {
  margin-bottom: var(--space-md);
}

.info-item h3 {
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.map-container {
  margin-top: var(--space-lg);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
}

.contact-form h3 {
  margin-top: 0;
  color: var(--color-primary);
}

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

label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-small);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
}

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

.checkbox input {
  width: auto;
}

.checkbox label {
  margin-bottom: 0;
}

/* ================= Footer ================= */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo img {
  margin-bottom: var(--space-sm);
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.footer-column {
  flex: 1;
  min-width: 150px;
}

.footer-column h3 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-lg);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-column a {
  color: var(--color-light-gray);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-white);
}

.social-links a {
  display: flex;
  align-items: center;
  color: var(--color-light-gray);
  transition: color var(--transition-fast);
}

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

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

/* ================= Modal ================= */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: var(--z-modal);
  justify-content: center;
  align-items: center;
  padding: var(--space-md);
}

.modal.open {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  position: relative;
  max-width: 800px;
  width: 100%;
  background-color: var(--color-white);
  border-radius: var(--radius-medium);
  padding: var(--space-md);
  box-shadow: var(--shadow-large);
  animation: scaleIn 0.3s ease-out;
}

.close-modal {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: var(--font-size-xl);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-circle);
  background-color: var(--color-light-gray);
  color: var(--color-dark);
  transition: background-color var(--transition-fast);
}

.close-modal:hover {
  background-color: var(--color-gray);
}

#modalImage {
  width: 100%;
  height: auto;
  border-radius: var(--radius-small);
}

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

.success-container {
  max-width: 600px;
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
}

.success-icon {
  font-size: var(--font-size-4xl);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.success-title {
  margin-bottom: var(--space-md);
}

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

/* ================= Pages: Privacy, Terms, etc. ================= */
.page-content {
  padding-top: 100px;
  padding-bottom: var(--space-xl);
}

.page-content .container {
  max-width: 800px;
}

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

.page-section {
  margin-bottom: var(--space-xl);
}

.page-section h2 {
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.page-section h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-primary-dark);
}

.page-section ul {
  list-style-type: disc;
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.page-section li {
  margin-bottom: var(--space-xs);
}

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

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

@keyframes scaleIn {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}

@keyframes floatAnimation {
  0% {
    transform: translate(0, 0) rotate(0);
  }
  25% {
    transform: translate(10px, 10px) rotate(5deg);
  }
  50% {
    transform: translate(0, 20px) rotate(0deg);
  }
  75% {
    transform: translate(-10px, 10px) rotate(-5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0);
  }
}

/* ================= Media Queries ================= */
@media (max-width: 992px) {
  :root {
    --font-size-4xl: 2.5rem;
    --font-size-3xl: 2rem;
    --font-size-2xl: 1.75rem;
    --space-2xl: 4rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
  }
  
  .research-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.75rem;
    --font-size-2xl: 1.5rem;
    --space-xl: 3rem;
    --space-lg: 2rem;
  }
  
  .header-inner {
    padding: 0 var(--space-sm);
  }
  
  .main-nav {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

@media (max-width: 576px) {
  :root {
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
    --space-lg: 1.5rem;
    --space-md: 1rem;
  }
  
  .research-stats {
    flex-direction: column;
  }
}
*{
  opacity: 1 !important;
}
.burger-menu{
  display: none !important;
}