/* Basic Reset & Body Styles */
:root {
    --ocps-orange: #E87722;
    --ocps-dark-blue: #041E42;
    --ocps-light-grey: #B1B3B3;
    --ocps-dark-grey: #27251F;

    /* Assigning roles to OCPS colors */
    --primary-color: var(--ocps-orange);         /* Used for main accents, headings */
    --secondary-color: var(--ocps-light-grey);   /* Used for secondary text, borders */
    --background-color: var(--ocps-dark-blue);   /* Main background for the body */
    --card-background: #ffffff;                 /* Cards/container will remain white for contrast */
    --text-color: var(--ocps-dark-grey);         /* Darker text for readability on white backgrounds */
    --border-color: var(--ocps-light-grey);
    --hover-shadow: rgba(0, 0, 0, 0.2);          /* Slightly darker shadow for contrast */
}

body {
    font-family: 'Roboto', 'Montserrat', 'Spectral', 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color); /* Dark blue background */
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    width: 90%;
    max-width: 960px;
    margin: 20px auto;
    padding: 30px;
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); /* Slightly more prominent shadow */
    text-align: center;
}

/* Header Styles */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.logo {
    width: 480px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 10px;
}

header h1 {
    color: var(--ocps-dark-blue); /* Changed to dark blue for contrast on white background */
    font-size: 2.8em;
    margin-bottom: 10px;
    font-weight: 600;
}

header p {
    font-size: 1.2em;
    color: var(--ocps-dark-grey); /* Dark grey for secondary text */
    margin-bottom: 0; /* Adjusted since logo is above */
}

/* Combine with CSS for visual disabling and pointer-events */
.disabled-link-aria[aria-disabled="true"] {
  pointer-events: none;
  cursor: default;
  color: #aaa;
  text-decoration: none;
}

/* Card Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.card-grid .card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  text-align: center;
}

.card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--hover-shadow); /* More pronounced hover shadow */
}

.card h2 {
    color: var(--ocps-orange); /* Orange for card headings */
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.card p {
    font-size: 1em;
    color: var(--ocps-dark-grey); /* Dark grey for card body text */
    margin-bottom: 20px;
}

.card .arrow {
    font-size: 2em;
    color: var(--ocps-orange); /* Orange for arrow */
    position: absolute;
    bottom: 20px;
    right: 25px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.card:hover .arrow {
    opacity: 1;
}

/* Footer Styles */
footer {
    margin-top: 40px;
    font-size: 0.9em;
    color: var(--ocps-light-grey); /* Light grey for footer text */
}

/* --- Documentation Page Specific Styles --- */
.documentation-page .container {
    text-align: left; /* Align text left for better readability on documentation page */
}

.documentation-content {
    margin-top: 30px;
}

.documentation-content section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color); /* Subtle separator for sections */
}

.documentation-content section:last-child {
    border-bottom: none; /* No border for the last section */
}

.documentation-content h2 {
    color: var(--ocps-dark-blue); /* Section titles in dark blue */
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
}

.documentation-content h3 {
    color: var(--ocps-orange); /* Sub-headings in orange */
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.documentation-content p {
    color: var(--ocps-dark-grey);
    margin-bottom: 15px;
}

.documentation-content ol,
.documentation-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--ocps-dark-grey);
}

.documentation-content ol li,
.documentation-content ul li {
    margin-bottom: 8px;
    text-align:left;
}

.documentation-content a {
    color: var(--ocps-orange); /* Links in orange */
    text-decoration: none;
    transition: color 0.2s ease;
}

.documentation-content a:hover {
    text-decoration: underline;
    color: var(--ocps-dark-blue); /* Dark blue on hover */
}

.documentation-content .note {
    font-style: italic;
    color: var(--secondary-color);
    border-left: 3px solid var(--ocps-orange);
    padding-left: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
}

/* FAQ Item Styling */
.faq-item {
    background-color: #f8f9fa; /* Light grey background for FAQ items */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--ocps-dark-blue); /* FAQ question in dark blue */
    font-size: 1.2em;
}

/* Back to Home Button */
.back-to-home {
    margin-top: 50px;
    text-align: center;
}

.button-link {
    display: inline-block;
    background-color: var(--ocps-orange);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.button-link:hover {
    background-color: #d16a1b; /* Slightly darker orange on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    
}

.input-section button {
    display: inline-block;
    background-color: var(--ocps-orange);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.input-section button:hover {
    background-color: #d16a1b; /* Slightly darker orange on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.input-section input[type="text"] {
    width: 100%;
    max-width: 300px;
    padding: 12px 25px; /* Adjusted horizontal padding to match button, keep vertical */
    border: 1px solid var(--border-color);
    border-radius: 25px; /* Increased for a more rounded, pill-like shape */
    font-size: 1.1em; /* Matched button's font size */
    background-color: var(--card-bg);
    color: var(--text-main);
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
/* Keep the placeholder and focus styles as they are: */
.input-section input[type="text"]::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.input-section input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 232, 119, 34), 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2em;
    }

    header p {
        font-size: 1em;
    }

    .card-grid {
        grid-template-columns: 1fr; /* Stack cards on small screens */
    }

    .container {
        padding: 20px;
    }

    .documentation-content h2 {
        font-size: 1.5em;
    }

    .documentation-content h3 {
        font-size: 1.1em;
    }

    .button-link {
        padding: 10px 20px;
        font-size: 0.9em;
    }

}