body {
    font-family: 'Optima', 'Candara', 'Segoe UI', sans-serif;
    font-size: 1.25rem;
    background-color: #ffffff;
    color: #333333; /* Charcoal */
    margin: 0;
    display: flex;
}

p {
  line-height: 1.25; /* This is a common starting point for body text */
}
nav {
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    border-right: 1px solid #e0e0e0;
    position: fixed;
    padding-top: 50px;
}

nav ul { list-style: none; padding: 0; }

nav ul li a {
    display: block;
    padding: 15px 40px;
    text-decoration: none;
    color: #333333;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: #f9f9f9;
    padding-left: 50px;
    font-weight: bold;
}

main {
    margin-left: 280px;
    padding: 80px;
    max-width: 900px;
}

h1 {
    font-weight: 300;
    font-size: 2.5rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

/* Form Styles */
input[type="email"], textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0 25px 0;
    border: 1px solid #333;
    font-family: inherit;
    background: #fff;
}

.submit-btn {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    font-size: 1rem;
}

.cancel-btn {
    text-decoration: none;
    color: #333;
    margin-left: 20px;
    font-size: 0.9rem;
}

/* Container to allow for the right sidebar on specific pages */
.innovation-layout {
    display: flex;
    justify-content: space-between;
}

.innovation-content {
    flex: 1;
    margin-right: 40px;
}

/* Right Side Navigation */
.right-nav {
    width: 200px;
    position: sticky;
    top: 80px;
    height: fit-content;
    border-left: 1px solid #e0e0e0;
    padding-left: 20px;
}

.right-nav h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
}

.right-nav ul {
    list-style: none;
    padding: 0;
}

.right-nav ul li a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.right-nav ul li a:hover {
    color: #333;
    font-weight: bold;
}

/* Anchor padding for smooth scrolling */
section {
    padding-top: 20px;
    margin-bottom: 50px;
}

/* Back to Top Button */
#backToTop {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: 1px solid #333;
    outline: none;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

#backToTop:hover {
    background-color: #333;
    color: #fff;
}

.tl-container {
  display: flex; /* Makes the children (image and paragraph) line up side by side */
  align-items: center; /* Vertically centers the items in the container */
  gap: 5%; /* Adds space between the image and the text */
  width: 100%;
  height: 50%;
}

.tl-container img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Contact Page Layout */
/* Directory Layout */
.directory-container {
    max-width: 800px;
    margin: 0 auto;
}

.directory-header {
    margin-bottom: 50px;
    text-align: left;
}

.platform-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Platform Card Styling */
.platform-card {
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px;
    transition: all 0.3s ease;
    display: block;
}

.platform-card:hover {
    border-color: #333;
    background-color: #fafafa;
    transform: translateX(10px);
}

.platform-info strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.platform-info p {
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.action-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
    color: #333;
}

.directory-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.back-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link:hover {
    color: #333;
}