/* NDIS Page Specific Styles */

/* Container */
.ndis-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.ndis-hero {
    background: linear-gradient(135deg, #BD9DEA 0%, #7A77B9 50%, #EA7186 100%);
    color: white;
    padding: 5rem 2rem;
    border-radius: 15px;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(122, 119, 185, 0.3);
}

.ndis-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 199, 110, 0.15) 0%, transparent 50%);
    animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.ndis-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.ndis-hero p {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
}

/* Services Overview */
.services-overview {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
}

.services-overview h2 {
    font-size: 2.8rem;
    color: #7A77B9;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
}

.services-overview h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #EA7186, #F2C76E);
    border-radius: 2px;
}

.overview-text {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* NDIS Services Grid */
.ndis-services {
    margin-bottom: 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Service Detail Cards */
.service-detail-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(122, 119, 185, 0.15);
    transition: all 0.4s ease;
    border-left: 5px solid #EA7186;
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #BD9DEA, #F2C76E);
    border-radius: 0 20px 0 100px;
    opacity: 0.08;
    transition: all 0.4s ease;
}

.service-detail-card:nth-child(2n) {
    border-left-color: #7A77B9;
}

.service-detail-card:nth-child(3n) {
    border-left-color: #F2C76E;
}

.service-detail-card:nth-child(4n) {
    border-left-color: #BD9DEA;
}

.service-detail-card:nth-child(5n) {
    border-left-color: #EA7186;
}

.service-detail-card:nth-child(6n) {
    border-left-color: #7A77B9;
}

.service-detail-card:nth-child(7n) {
    border-left-color: #F2C76E;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(122, 119, 185, 0.25);
    border-left-width: 8px;
}

.service-detail-card:hover::before {
    opacity: 0.15;
    transform: scale(1.1);
}

/* Service Icons */
.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #BD9DEA, #EA7186);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 4px rgba(122, 119, 185, 0.3));
}

.service-detail-card h3 {
    color: #7A77B9;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.service-detail-card:nth-child(2n) h3 {
    color: #EA7186;
}

.service-detail-card:nth-child(4n) h3 {
    color: #BD9DEA;
}

.service-detail-card:nth-child(6n) h3 {
    color: #F2C76E;
}

.service-description {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
    font-style: italic;
}

/* Service Features Lists */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: #666;
    font-size: 1rem;
    margin: 1rem 0;
    padding: 0.8rem 1.5rem;
    background: rgba(189, 157, 234, 0.05);
    border-radius: 10px;
    border-left: 3px solid #BD9DEA;
    transition: all 0.3s ease;
    position: relative;
}

.service-features li::before {
    content: '✓';
    color: #F2C76E;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.service-features li:hover {
    background: rgba(189, 157, 234, 0.1);
    transform: translateX(5px);
    border-left-color: #EA7186;
}

/* CTA Section */
.ndis-cta {
    background: linear-gradient(135deg, #7A77B9 0%, #BD9DEA 50%, #EA7186 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.ndis-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 199, 110, 0.15) 0%, transparent 50%);
    animation: ctaFloat 10s ease-in-out infinite reverse;
}

@keyframes ctaFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(90deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.ndis-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.ndis-cta p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 160px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button.primary {
    background: #F2C76E;
    color: #333;
}

.cta-button.primary:hover {
    background: #EA7186;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ndis-hero {
        padding: 3rem 1.5rem;
    }
    
    .ndis-hero h1 {
        font-size: 2.5rem;
    }
    
    .ndis-hero p {
        font-size: 1.1rem;
    }
    
    .services-overview h2 {
        font-size: 2.2rem;
    }
    
    .overview-text {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail-card {
        padding: 2rem;
    }
    
    .service-detail-card h3 {
        font-size: 1.6rem;
    }
    
    .ndis-cta {
        padding: 3rem 1.5rem;
    }
    
    .ndis-cta h2 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .ndis-hero {
        padding: 2rem 1rem;
    }
    
    .ndis-hero h1 {
        font-size: 2rem;
    }
    
    .service-detail-card {
        padding: 1.5rem;
    }
    
    .service-detail-card h3 {
        font-size: 1.4rem;
    }
    
    .ndis-cta {
        padding: 2rem 1rem;
    }
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animations */
.service-detail-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-detail-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 1rem 2rem;
  border-radius: 8px;
  background: #7A77B9;
  color: white;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.notification-error {
  background: #EA7186;
}

.notification-success {
  background: #F2C76E;
  color: #333;
}

.notification.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
