/*
Theme Name: Cogitos Alpha
Theme URI: https://cogitoslabs.com
Author: Cogitos Labs
Description: A lightweight, custom theme for Cogitos Labs. Intent Aligned Autonomy.
Version: 1.0
License: Proprietary
*/

/* ============================================
   CSS Variables & Theme Configuration
   ============================================ */
   :root {
    --primary-text: #0a0a0a;
    --secondary-text: #4a4a4a;
    --muted-text: #6b6b6b;
    --bg-white: #ffffff;
    --bg-light: #f7f9fc;
    --border-color: #e5e5e5;
    --accent: #0056b3;
    --accent-hover: #004488;
  }
  
  /* ============================================
     Base Styles
     ============================================ */
  * {
    scroll-behavior: smooth;
    box-sizing: border-box;
  }
  
  body {
    background: var(--bg-white);
    color: var(--primary-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
    padding: 0;
  }
  
  /* ============================================
     Typography
     ============================================ */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-text);
    margin-bottom: 1rem;
  }
  
  h1 {
    font-size: 3.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
  }
  
  h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  
  h3 {
    font-size: 1.5rem;
    font-weight: 600;
  }
  
  p {
    color: var(--secondary-text);
    margin-bottom: 1rem;
  }
  
  .lead {
    font-size: 1.4rem;
    color: var(--secondary-text);
    font-weight: 400;
    line-height: 1.4;
  }
  
  /* ============================================
     Header & Navigation
     ============================================ */
  header {
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }
  
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary-text);
  }
  
  .logo-section:hover {
    text-decoration: none;
    color: var(--primary-text);
  }
  
  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-hover), #06b6d4); 
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
  }
  
  .brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-text);
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-links a {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  
  .nav-links a:hover {
    color: var(--accent);
  }
  
  .nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 0.6rem 1.35rem;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 86, 179, 0.2);
  }
  
  .nav-cta:hover {
    background: var(--accent-hover);
    color: white !important;
    box-shadow: 0 4px 8px rgba(0, 86, 179, 0.3);
  }
  
  /* ============================================
     Hero Section
     ============================================ */
  .hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 7rem 2rem 5rem;
    text-align: center;
  }
  
  .hero-tagline {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .hero h1 {
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.1;
  }
  
  .hero .lead {
    max-width: 750px;
    margin: 0 auto 3rem;
  }
  
  .research-areas {
    max-width: 700px;
    margin: 2rem auto 0;
    text-align: left;
  }
  
  .research-areas p {
    font-weight: 500;
    color: var(--primary-text);
    margin-bottom: 1rem;
  }
  
  .research-areas-list {
    list-style: none; 
    padding: 0; 
    margin: 0;
  }
  
  .research-areas-list li {
    padding: 0.7rem 0; 
    color: var(--secondary-text);
    font-weight: 400;
    border-bottom: 1px dashed var(--border-color);
  }
  
  .research-areas-list li:last-child {
    border-bottom: none;
  }
  
  .research-areas-list li::before {
    content: "→"; 
    color: var(--accent);
    margin-right: 0.75rem;
    font-weight: 700;
  }
  
  /* ============================================
     Content Sections
     ============================================ */
  .section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 2rem;
  }
  
  .section-light {
    background: var(--bg-light);
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .section-header h2 {
    margin-bottom: 1rem;
  }
  
  .section-header p {
    font-size: 1.125rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* ============================================
     Cards & Grid
     ============================================ */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }
  
  .card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  
  .card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-text);
  }
  
  .card p {
    color: var(--secondary-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
  }
  
  /* ============================================
     Form Styles
     ============================================ */
  .form-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .form-section h3 {
    margin-bottom: 1.5rem;
  }
  
  .form-section > p {
    color: var(--secondary-text);
    margin-bottom: 2rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
  }
  
  .form-control {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    background: var(--bg-white);
    color: var(--primary-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
  }
  
  textarea.form-control {
    resize: vertical;
    min-height: 120px;
  }
  
  .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    appearance: none;
    border-radius: 4px;
    transition: background-color 0.2s;
  }
  
  .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
  }
  
  .form-check-label {
    font-size: 0.95rem;
    color: var(--secondary-text);
    cursor: pointer;
  }
  
  .btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 86, 179, 0.2);
    cursor: pointer;
  }
  
  .btn-primary:hover {
    background: var(--accent-hover);
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
  }
  
  .btn-primary.full-width {
    width: 100%;
  }
  
  .form-footer {
    text-align: center;
    margin-top: 1rem;
    color: var(--muted-text);
    font-size: 0.9rem;
  }
  
  .form-footer a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
  }
  
  .form-footer a:hover {
    text-decoration: underline;
  }
  
  /* ============================================
     Footer & Three Column Layout
     ============================================ */
  .three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .three-col-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
  }
  
  .three-col-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-weight: 600;
  }
  
  .three-col-item p {
    font-size: 0.95rem;
    color: var(--secondary-text);
    margin: 0;
  }
  
  footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-white);
    padding: 3rem 2rem;
    margin-top: 5rem;
  }
  
  .footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .footer-brand {
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .footer-links a {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
  }
  
  .footer-links a:hover {
    color: var(--accent);
  }
  
  .footer-copyright {
    color: var(--muted-text);
    font-size: 0.9rem;
  }
  
  /* ============================================
     Responsive Design
     ============================================ */
  @media (max-width: 1024px) {
    .hero h1 {
      font-size: 3rem;
    }
  }
  
  @media (max-width: 768px) {
    .navbar {
      padding: 0 1rem;
    }
  
    .nav-links {
      display: none;
    }
  
    .hero {
      padding: 4rem 1rem 3rem;
    }
  
    .hero h1 {
      font-size: 2.5rem;
    }
  
    .hero .lead {
      font-size: 1.25rem;
    }
  
    .section {
      padding: 3rem 1rem;
    }
  
    .card-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  
    .three-col {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  
    .form-section {
      padding: 2rem 1.5rem;
    }
  
    h1 {
      font-size: 2.5rem;
    }
  
    h2 {
      font-size: 2rem;
    }
  
    .footer-content {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .footer-links {
      flex-direction: column;
      gap: 0.75rem;
    }
  }
  
  @media (max-width: 480px) {
    .hero h1 {
      font-size: 2rem;
    }
  
    .btn-primary.full-width {
      width: 100%;
    }
  }
  
  /* ============================================
   Split Layout for Contact Section
   ============================================ */
.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 2rem;
  max-width: 1100px; /* Wider to accommodate two forms */
  margin: 3rem auto;
}

.split-col {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.split-col h3 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.split-col p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Mobile: Stack them on top of each other */
@media (max-width: 768px) {
  .split-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}

/* ============================================
   Force Fonts on Contact Forms
   ============================================ */
input, select, textarea, button, .btn-primary {
  font-family: inherit !important; /* Forces it to use the Body font */
  font-size: 1rem; /* Ensures text isn't tiny */
}

/* Specific fix for Contact Form 7 placeholders */
::placeholder {
  font-family: inherit;
  opacity: 0.8;
}
/* ===============================
   NAVBAR + MOBILE BURGER
   =============================== */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Burger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile */
@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem 1.25rem;
    display: none;
    border-top: 1px solid #eee;
  }

  .nav-links.active {
    display: flex;
  }
}
