/* assets/css/main.css — Minds IN Order */

/* General reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f0f7f8;
}

/* Layout */
.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1B3A5C;
}
.logo-text span {
  color: #0097A7;
}
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
}
.nav-menu li {
  margin-left: 20px;
}
.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
}
.nav-menu a:hover {
  color: #0097A7;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1B3A5C;
}

/* CTA buttons */
.cta-button {
  display: inline-block;
  margin-top: 15px;
  background-color: #0097A7;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.95rem;
}
.cta-button:hover {
  background-color: #00838F;
}
.cta-button-white {
  background-color: #fff !important;
  color: #1B3A5C !important;
}
.cta-button-white:hover {
  background-color: #e0e0e0 !important;
}
.cta-button-nav {
  background-color: #0097A7 !important;
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 5px;
  margin-top: 0;
}

/* Footer */
footer {
  background-color: #f8f8f8;
  border-top: 1px solid #ddd;
  padding: 20px;
  margin-top: 40px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-section {
  flex: 1;
  margin-right: 20px;
}
.footer-section h4 {
  margin-bottom: 10px;
  color: #1B3A5C;
}
.footer-section p {
  color: #555;
  font-size: 0.95rem;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 6px;
}
.footer-section ul li a {
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
}
.footer-section ul li a:hover {
  color: #0097A7;
}
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  color: #aaa;
  font-size: 0.85rem;
}
.footer-bottom a {
  color: #888;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #0097A7;
}

/* Section styling */
section {
  margin-bottom: 60px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 50px 20px;
  background-color: #e8f5f6;
  border-radius: 8px;
  margin-bottom: 40px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #1B3A5C;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}
.hero .subtitle {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 25px;
}

/* Program cards grid */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 20px;
}
.program-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 8px;
  border: 2px solid #e0e8f0;
  text-align: center;
  transition: border-color 0.2s;
}
.program-card:hover {
  border-color: #0097A7;
}
.program-card.active {
  border-color: #0097A7;
}
.program-card.coming-soon {
  opacity: 0.7;
}
.program-card h3 {
  color: #1B3A5C;
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.program-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}
.program-card .status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
}
.status-live {
  background-color: #d4edda;
  color: #155724;
}
.status-coming {
  background-color: #e8e8e8;
  color: #666;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 15px;
}
.feature-card {
  background: #e8f5f6;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #d0e8ea;
}
.feature-card h3 {
  color: #1B3A5C;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.feature-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Mission banner */
.mission-banner {
  background-color: #1B3A5C;
  color: #fff;
  padding: 35px;
  text-align: center;
  border-radius: 8px;
  margin: 30px 0;
}
.mission-banner h2 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.5rem;
}
.mission-banner p {
  color: #ccc;
  margin-bottom: 15px;
  font-size: 1.05rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Expert quotes */
.expert-quote {
  max-width: 800px;
  margin: 15px auto;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  padding: 20px 30px;
  background: #e8f5f6;
  border-left: 4px solid #0097A7;
  border-radius: 4px;
  text-align: left;
}
.expert-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: bold;
  color: #1B3A5C;
  font-size: 0.9rem;
}

/* Research quote */
.research-quote {
  max-width: 700px;
  margin: 15px auto;
  padding: 15px 25px;
  background: #e8f5f6;
  border-left: 4px solid #0097A7;
  border-radius: 4px;
  font-style: italic;
  color: #444;
}
.research-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: bold;
  color: #1B3A5C;
  font-size: 0.9rem;
}

/* Data tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 0.95rem;
}
.data-table th {
  background-color: #0097A7;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: bold;
}
.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e0e0e0;
}
.data-table tbody tr:nth-child(odd) {
  background-color: #f0f7f8;
}
.data-table tbody tr:hover {
  background-color: #e0eff0;
}

/* Evidence list */
.evidence-list {
  list-style: disc !important;
  padding-left: 25px !important;
  margin: 10px 0;
}
.evidence-list li {
  padding-left: 5px;
  margin-bottom: 8px;
  font-style: italic;
  color: #444;
}

/* Founder section */
.founder-section {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.founder-photo {
  width: 180px;
  min-width: 180px;
  border-radius: 8px;
}
.founder-text {
  flex: 1;
}
.founder-text p {
  max-width: none;
  text-align: left;
  margin-bottom: 15px;
}

/* Approach section */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 20px;
}
.approach-card {
  background: #fff;
  padding: 25px;
  border-radius: 6px;
  border: 1px solid #e0e8f0;
}
.approach-card h3 {
  color: #1B3A5C;
  margin-bottom: 8px;
}
.approach-card p {
  color: #555;
  font-size: 0.95rem;
}

/* Contact form */
form.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
}
form.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}
form.contact-form input[type="text"],
form.contact-form input[type="email"],
form.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
form.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
form.contact-form button[type="submit"] {
  background-color: #0097A7;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
form.contact-form button[type="submit"]:hover {
  background-color: #00838F;
}

/* Success / error messages */
.success-message {
  background: #d4edda;
  color: #155724;
  padding: 15px 20px;
  border-radius: 4px;
  border: 1px solid #c3e6cb;
  margin-bottom: 20px;
}
.error-message {
  background: #fdf0ef;
  color: #721c24;
  padding: 15px 20px;
  border-radius: 4px;
  border: 1px solid #f5c6cb;
  margin-bottom: 20px;
}

/* Methodology steps */
.methodology-steps {
  counter-reset: step-counter;
  max-width: 800px;
  margin: 20px auto;
}
.methodology-step {
  counter-increment: step-counter;
  padding: 20px 20px 20px 70px;
  position: relative;
  margin-bottom: 15px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e8f0;
}
.methodology-step::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  background: #0097A7;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  font-weight: bold;
}
.methodology-step h3 {
  color: #1B3A5C;
  margin-bottom: 6px;
}
.methodology-step p {
  color: #555;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu li {
    margin: 8px 0;
  }
  .program-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .navbar {
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .mission-banner h2 {
    font-size: 1.2rem;
  }
  .founder-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .founder-photo {
    width: 140px;
    min-width: auto;
  }
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
  }
  .footer-section {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .data-table {
    font-size: 0.85rem;
  }
  .data-table th, .data-table td {
    padding: 8px 10px;
  }
}
