/* Unison Website Styles
   Brand Colors:
   - Primary Aqua: #008EAA
   - Primary Grey: #888B8D
   - Secondary Grey: #C8C9C7
*/

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-aqua: #008EAA;
    --primary-aqua-dark: #007291;
    --primary-aqua-light: #00a8c9;
    --primary-grey: #888B8D;
    --secondary-grey: #C8C9C7;
    --dark-grey: #333333;
    --light-grey: #f5f5f5;
    --white: #ffffff;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-grey);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-aqua);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-aqua-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-aqua);
    color: var(--white);
    border-color: var(--primary-aqua);
}

.btn-primary:hover {
    background-color: var(--primary-aqua-dark);
    border-color: var(--primary-aqua-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-aqua);
    border-color: var(--primary-aqua);
}

.btn-secondary:hover {
    background-color: var(--primary-aqua);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-aqua);
    border-color: var(--white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--dark-grey);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-aqua);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-aqua);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-aqua);
    font-weight: 600;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-grey);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-aqua) 0%, var(--primary-aqua-dark) 100%);
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    width: min-content;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    white-space: nowrap;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-aqua) 0%, var(--primary-aqua-dark) 100%);
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    opacity: 0.6;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--light-grey);
}

.section-dark {
    background-color: var(--dark-grey);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-aqua {
    background-color: var(--primary-aqua);
    color: var(--white);
}

.section-aqua h2,
.section-aqua h3 {
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--primary-grey);
    font-size: 1.125rem;
}

.section-dark .section-header p,
.section-aqua .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 142, 170, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-aqua);
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--primary-grey);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--primary-grey);
    font-size: 0.9375rem;
}

.service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.875rem;
    width: 6px;
    height: 6px;
    background-color: var(--primary-aqua);
    border-radius: 50%;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.service-link svg {
    transition: var(--transition);
}

.service-link:hover svg {
    transform: translateX(4px);
}

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

.industry-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-aqua);
}

a.industry-card {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
}

a.industry-card:hover {
    color: inherit;
}

a.industry-card:hover h3 {
    color: var(--primary-aqua);
}

.industry-card.featured {
    grid-column: span 2;
}

.industry-image {
    height: 200px;
    background-color: var(--secondary-grey);
    background-size: cover;
    background-position: center;
    position: relative;
}

.industry-card.featured .industry-image {
    height: 250px;
}

.industry-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-aqua);
    color: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.industry-content {
    padding: 1.5rem;
}

.industry-card h3 {
    margin-bottom: 0.75rem;
}

.industry-card p {
    color: var(--primary-grey);
    font-size: 0.9375rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 142, 170, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-aqua);
    font-size: 2rem;
}

.section-aqua .feature-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.feature-item h3 {
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--primary-grey);
    font-size: 0.9375rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-bottom: 0;
}

.feature-item:hover p {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 1rem;
}

.section-aqua .feature-item p {
    color: rgba(255, 255, 255, 0.85);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background-color: var(--secondary-grey);
}

.about-content h2 {
    margin-bottom: 1.5rem;
    white-space: nowrap;
}

.about-content p {
    color: var(--primary-grey);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary-aqua);
}

.about-feature span {
    font-weight: 500;
    color: var(--dark-grey);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.section-aqua .cta-section p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 142, 170, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-aqua);
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
    color: var(--primary-grey);
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--secondary-grey);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-aqua);
}

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

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

/* Footer */
.footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand img {
    height: 36px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-aqua);
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--primary-aqua);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-aqua);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-aqua { color: var(--primary-aqua); }
.text-muted { color: var(--primary-grey); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.btn-white-outline {
    border-color: white;
    color: white;
}

.btn-white-outline:hover {
    background-color: white;
    color: var(--primary-aqua);
}

.btn-full-width {
    width: 100%;
}

/* Contact page components */
.contact-intro {
    color: var(--primary-grey);
    margin-bottom: 2rem;
}

.contact-form-intro {
    color: var(--primary-grey);
    margin-bottom: 1.5rem;
}

.existing-client-card {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--light-grey);
    border-radius: var(--radius-lg);
}

.existing-client-card h4 {
    margin-bottom: 0.5rem;
}

.existing-client-card p {
    color: var(--primary-grey);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.privacy-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.privacy-label span {
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--primary-grey);
}

.recaptcha-notice {
    font-size: 0.75rem;
    color: var(--primary-grey);
    margin-top: 1rem;
    text-align: center;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.iframe-borderless {
    border: 0;
}

/* Industry card list items */
.industry-card-list {
    list-style: none;
    margin-top: 1rem;
}

.industry-card-list li {
    padding: 0.25rem 0;
    color: var(--primary-grey);
}

/* Service Detail Page */
.service-detail {
    padding: 4rem 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.service-detail-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-aqua);
}

.service-detail-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--secondary-grey);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary-aqua);
    border-radius: 50%;
}

.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.section-light .sidebar-card {
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.sidebar-card h4 {
    margin-bottom: 1rem;
    color: var(--primary-aqua);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    padding: 0.5rem 0;
}

.sidebar-card a {
    color: var(--dark-grey);
}

.sidebar-card a:hover {
    color: var(--primary-aqua);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .about-grid,
    .contact-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .industry-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .nav-links,
    .nav-cta .btn {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-phone {
        font-size: 0.875rem;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .hero h1 {
        font-size: 2rem;
        white-space: normal;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section {
        padding: 3rem 0;
    }

    .services-grid,
    .industries-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Mobile Navigation */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Quick Links Bar */
.quick-links-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-link-bubble {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background-color: var(--white);
    color: var(--dark-grey);
    border: 1px solid var(--secondary-grey);
    border-radius: 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition);
}

.quick-link-bubble:hover {
    background-color: var(--primary-aqua);
    border-color: var(--primary-aqua);
    color: var(--white);
}

/* Accordion */
.accordion {
    margin-top: 2rem;
}

.accordion-item {
    border-bottom: 1px solid var(--secondary-grey);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-grey);
    text-align: left;
    transition: color 0.3s ease;
}

.accordion-toggle:hover {
    color: var(--primary-aqua);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary-aqua);
    transition: transform 0.3s ease;
}

.accordion-toggle.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-panel-inner {
    padding-bottom: 1.5rem;
}

.accordion-panel-inner .service-list {
    margin-bottom: 0;
}

/* Sub-accordion (nested level) */
.sub-accordion-item {
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid var(--secondary-grey);
}

.sub-accordion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary-aqua);
    border-radius: 50%;
}

.sub-accordion-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    color: var(--dark-grey);
    text-align: left;
    transition: color 0.3s ease;
}

.sub-accordion-toggle:hover {
    color: var(--primary-aqua);
}

.sub-accordion-toggle .accordion-icon {
    width: 18px;
    height: 18px;
}

.sub-accordion-toggle.active .accordion-icon {
    transform: rotate(180deg);
}

.sub-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sub-accordion-panel .service-list {
    border-left: 3px solid var(--primary-aqua);
    margin-left: 0;
    padding-left: 1rem;
}

.sub-accordion-panel .service-list li {
    padding-left: 1.5rem;
    font-size: 0.9375rem;
}

.sub-accordion-panel .service-list li::before {
    width: 6px;
    height: 6px;
    top: 1.15rem;
}

/* NDIS Featured Section */
.ndis-section {
    background: linear-gradient(135deg, var(--primary-aqua) 0%, var(--primary-aqua-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.ndis-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(15deg);
}

.ndis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ndis-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.ndis-content p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.ndis-features {
    list-style: none;
    margin-bottom: 2rem;
}

.ndis-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.ndis-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 12px;
    height: 12px;
    border: 2px solid var(--white);
    border-radius: 50%;
}

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

.ndis-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .ndis-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
