/* NDIS & Aged Care Page Specific Styles */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #152e38 0%, #1F4554 100%);
    color: var(--text-light);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.08)"/></svg>');
    opacity: 0.4;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.page-hero-content p {
    font-size: 1.4rem;
    opacity: 0.95;
}

/* Section Tag */
.section-tag {
    display: inline-block;
    background-color: #1F4554;
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

/* NDIS Section */
.ndis-section {
    background-color: var(--text-light);
    padding: 100px 0;
}

.ndis-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.ndis-image,
.aged-care-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.ndis-image img,
.aged-care-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ndis-text h2,
.aged-care-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(31, 69, 84, 0.1);
    color: #1F4554;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Aged Care Section */
.aged-care-section {
    background-color: var(--secondary-color);
    padding: 100px 0;
}

.aged-care-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Help With Section */
.help-with-section {
    background-color: var(--text-light);
    padding: 100px 0;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.help-card {
    background-color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.help-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow-hover);
}

.help-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1F4554, #2a5d6f);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.help-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.help-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--secondary-color);
    padding: 100px 0;
}

.steps-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step-card {
    background-color: var(--text-light);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.step-connector {
    width: 60px;
    height: 3px;
    background-color: #1F4554;
    position: relative;
    flex-shrink: 0;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid #1F4554;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}
    height: 0;
    border-left: 10px solid #1F4554;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1F4554, #2a5d6f);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* Why Choose Section */
.why-choose-section {
    background-color: var(--text-light);
    padding: 100px 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.why-card {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(31, 69, 84, 0.1);
    color: #1F4554;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background-color: #1F4554;
    color: var(--text-light);
    transform: scale(1.1);
}

.why-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design for NDIS Page */
@media (max-width: 968px) {
    .page-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .page-hero-content p {
        font-size: 1.2rem;
    }
    
    .ndis-content,
    .aged-care-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .aged-care-image {
        order: -1;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-card {
        max-width: 100%;
        min-width: 100%;
    }
    
    .step-connector {
        width: 3px;
        height: 60px;
        display: block;
    }
    
    .step-connector::after {
        right: 50%;
        top: auto;
        bottom: -8px;
        transform: translateX(50%) rotate(90deg);
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 80px 0 60px;
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .page-hero-content p {
        font-size: 1.1rem;
    }
    
    .ndis-section,
    .aged-care-section,
    .help-with-section,
    .how-it-works-section,
    .why-choose-section {
        padding: 60px 0;
    }
    
    .ndis-text h2,
    .aged-care-text h2 {
        font-size: 2rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.ndis-contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ndis-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #1F4554;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1F4554;
    box-shadow: 0 0 0 3px rgba(31,69,84,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    text-align: center;
}

.form-note a {
    color: #1F4554;
    text-decoration: underline;
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 1rem;
}

.info-box-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1F4554 0%, #2a5d6f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-box-content h4 {
    color: #1F4554;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-box-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.info-box-content a {
    color: #1F4554;
    text-decoration: none;
    font-weight: 500;
}

.info-box-content a:hover {
    text-decoration: underline;
}

.funding-info {
    background: linear-gradient(135deg, #1F4554 0%, #2a5d6f 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
}

.funding-info h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.funding-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.funding-info li {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.95);
}

@media (max-width: 968px) {
    .ndis-contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .funding-info ul {
        grid-template-columns: 1fr;
    }
}