/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding-top: 60px; /* Accounts for fixed header */
}

/* Navigation */
header {
    background-color: #111;
    color: #fff;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e63946;
}

/* Hero Section */
#hero {
    height: 90vh;
    background: linear-gradient(rgba(17, 17, 17, 0.8), rgba(17, 17, 17, 0.8)), url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e63946;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    background-color: #c1121f;
}

/* Global Section Styles */
.page-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #111;
}

.subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.align-center {
    text-align: center;
}

/* About Page Specifics */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.credential-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid #e63946;
}

.credential-box h3 {
    margin-bottom: 15px;
}

.credential-box ul {
    list-style-position: inside;
    color: #444;
}

.credential-box li {
    margin-bottom: 10px;
}

.experience-text {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
}

/* Training Page Specifics */
.offerings {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.offerings-list {
    margin-top: 20px;
    margin-left: 20px;
}

.offerings-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Assessment Page Specifics */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid #e63946;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #111;
}

.test-details {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 5px;
}

.service-card p:last-child {
    margin-top: 15px;
}

/* Unavailable VO2 Max Card */
.service-card.unavailable {
    border-top: 4px solid #999;
    background-color: #f1f1f1;
    color: #777;
}

.service-card.unavailable h3, .service-card.unavailable .test-details {
    color: #777;
}

.badge {
    display: inline-block;
    background-color: #555;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Forms */
.form-container {
    background-color: #111;
    padding: 50px 20px;
    border-radius: 8px;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

.form-container h3 {
    margin-bottom: 20px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #000;
    color: #777;
    margin-top: 40px;
}