/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'futura-pt', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3d9c53;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    max-width: 300px;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3d9c53;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4CAF50 0%, #3d9c53 50%, #2d7a40 100%);
    color: white;
    padding: 160px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #ffffff;
    color: #3d9c53;
}

.btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #3d9c53;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50 0%, #3d9c53 100%);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Content Grid */
.content-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.content-block {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #4CAF50 0%, #3d9c53 100%) 1;
}

.content-block h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #3d9c53;
    margin-bottom: 20px;
    text-align: center;
}

.content-block p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.resource-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.resource-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #3d9c53;
    margin-bottom: 15px;
}

.resource-card p {
    color: #666;
    line-height: 1.6;
}

/* Download Section */
.download-section {
    text-align: center;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.download-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.download-section p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Support Content */
.support-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .support-content {
        grid-template-columns: 1fr;
    }
}

.support-block {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.support-block h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3d9c53;
    margin-bottom: 20px;
}

.support-block p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.support-list {
    list-style: none;
    padding-left: 0;
}

.support-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.support-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3d9c53;
    font-weight: bold;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-info {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info p {
    color: #666;
    line-height: 1.7;
}

/* Links */
a {
    color: #3d9c53;
    text-decoration: none;
}

a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #333;
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    opacity: 0.8;
}

.footer-funding {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    opacity: 0.8;
}

.nihr-logo {
    height: 30px;
    max-width: 200px;
    object-fit: contain;
}

.footer-funding a {
    color: #ffffff;
    text-decoration: none;
}

.footer-funding a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 12px 25px;
        width: 100%;
        max-width: 300px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .content-grid {
        gap: 30px;
    }
    
    .resources-grid,
    .support-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .content-block,
    .resource-card,
    .support-block,
    .download-section,
    .contact-info {
        padding: 25px;
    }
    
    .logo-img {
        height: 35px;
        max-width: 150px;
    }
    
    .footer-funding {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .nihr-logo {
        height: 25px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .content-block h3,
    .resource-card h3,
    .support-block h3 {
        font-size: 1.3rem;
    }
    
    .download-section h3 {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 30px;
        max-width: 120px;
    }
    
    .nihr-logo {
        height: 20px;
        max-width: 120px;
    }
    
    .hero-title {
        line-height: 1.3;
    }
}
