/* css/styles.css */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #0056b3;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header p {
    font-size: 1.1em;
    margin-top: 10px;
}

nav {
    background-color: #007bff;
    color: white;
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 15px;
}

nav a {
    display: block;
    padding: 15px 10px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #0056b3;
}

nav .research-fax {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    margin-left: auto;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0 15px;
    border-radius: 4px;
}

main {
    padding: 20px 0;
}

.hero-section {
    background-color: #e9ecef;
    padding: 50px 0;
    text-align: center;
}

.hero-section h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
}

.trials-section {
    padding: 40px 0;
}

.trials-section h2, .about-section h2, .contact-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    color: #0056b3;
}

.trial-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.trial-item {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.trial-item h3 {
    margin-top: 0;
    color: #007bff;
}

.trial-coming-soon {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.trial-coming-soon h3 {
    color: #007bff;
    margin-top: 0;
    margin-bottom: 15px;
}

.about-section {
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: center;
}

.doctor-image {
    max-width: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.contact-section {
    padding: 40px 0;
    text-align: center;
}

.contact-section p {
    margin-bottom: 10px;
}

footer {
    background-color: #343a40;
    color: white;
    padding: 40px 0 20px;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding-right: 20px;
}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: white;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
}

.older-studies-list {
    list-style: none;
    padding: 0;
}

.older-studies-list li {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 0.9em;
}

.footer-legal {
    margin-top: 10px;
}

.footer-legal a {
    margin: 0 10px;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    background-color: #007bff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1em;
}

.button:hover {
    background-color: #0056b3;
}

.primary-button {
    background-color: #007bff;
}

.secondary-button {
    background-color: #6c757d;
}

/* Trial Detail Page Specific Styles */
.trial-detail-page .trial-overview {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.trial-detail-page .trial-overview h2, .trial-detail-page .trial-application h2 {
    color: #0056b3;
    margin-bottom: 20px;
}

.trial-detail-page .trial-overview h3 {
    color: #007bff;
    margin-top: 25px;
    margin-bottom: 10px;
}

.trial-detail-page .trial-overview ul, .trial-detail-page .trial-overview ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.trial-detail-page .trial-overview li {
    margin-bottom: 8px;
}

.next-steps {
    background-color: #e6f3ff;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 5px solid #0077b6;
}

.next-steps h3 {
    color: #0056b3;
    margin-top: 0 !important;
}

.next-steps .button {
    margin-top: 15px;
}

.study-closed-notice {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

/* Hidden elements - for bots only */
[aria-hidden="true"] {
    position: absolute !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    width: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .hero-section h2 {
        font-size: 1.8em;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 5px 0;
    }
    
    nav .research-fax {
        margin: 10px 0;
        justify-content: center;
    }
}
