/* ==============================
   MiYoMi NDIS Support - Updated Professional Stylesheet
   Clean, trustworthy design with reliability focus
   ============================== */

/* === COLOR TOKENS === */
:root {
    --brand: #6D28D9;         /* primary purple */
    --accent: #FF8A00;        /* call button orange */
    --ink: #0F172A;           /* dark text */
    --lilac: #F8F5FF;         /* light background */
    --lilac-card: #E9E1FF;    /* card background */
    --yellow-bg: #FFF9E6;     /* registration boxes */
    --yellow-border: #FFC107;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background-color: #fff;
}

/* === SKIP LINK === */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--brand);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: 4px;
}

.skip-link:focus {
    top: 10px;
    left: 10px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--ink);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
    margin-top: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #5a1f8f;
    text-decoration: none;
}

a:focus {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* === CONTAINER & LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

/* === HEADER === */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo img {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* === NAVIGATION === */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
}

.mobile-menu-toggle .hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--brand);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
}

.main-nav a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    //background: var(--brand);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--brand);
}

.nav-cta {
    margin-left: auto;
}

/* Mobile nav styles */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--brand) 0%, #9D4EDD 100%);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 99;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-nav li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-nav a {
        color: white;
        font-size: 1.5rem;
        display: block;
        padding: 1rem;
    }

    .main-nav a::after {
        display: none;
    }
    
    .nav-cta {
        margin: 2rem 0 0 0;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
        display: block;
    }
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, #9D4EDD 100%);
    color: white;
    border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #5a1f8f 0%, var(--brand) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.3);
    text-decoration: none;
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #f7931e 100%);
    color: white;
    border-color: transparent;
    font-weight: 700;
}

.btn-accent:hover,
.btn-accent:focus {
    background: linear-gradient(135deg, #e57a00 0%, #dd8416 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 138, 0, 0.4);
    color: white;
}

.btn-secondary-white {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
}

.btn-secondary-white:hover,
.btn-secondary-white:focus {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.2);
    text-decoration: none;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* Call button in header - HIGHLY VISIBLE */
.btn-call {
    background: linear-gradient(135deg, var(--accent) 0%, #f7931e 100%) !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    padding: 16px 28px !important;
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4) !important;
    animation: pulse-glow 2s infinite;
}

.btn-call:hover,
.btn-call:focus {
    background: linear-gradient(135deg, #e57a00 0%, #dd8416 100%) !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 138, 0, 0.6) !important;
    color: white !important;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(255, 138, 0, 0.6);
    }
}

.btn:focus {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* === HERO SECTION (NEW with Image) === */
.hero-section-new {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(109, 40, 217, 0.35) 0%, rgba(109, 40, 217, 0.25) 50%, transparent 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 120px 24px 100px;
}

.hero-content-new {
    max-width: 700px;
    color: white;
}

.hero-content-new h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    line-height: 1.1;
}

.hero-subtext {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    color: var(--ink);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    max-width: 500px;
}

/* === TRUST STRIP === */
.trust-strip {
    background: var(--lilac);
    padding: 50px 0;
}

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

.trust-item {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.15);
}

/* === WHY CHOOSE === */
.why-choose {
    background: white;
    padding: 80px 0;
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--ink);
}

.why-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.why-list li {
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    background: var(--lilac);
    border-left: 4px solid var(--brand);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.125rem;
}

.why-list li::before {
    content: '✓';
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--brand), #9D4EDD);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.why-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(109, 40, 217, 0.15);
}

/* === SERVICES (NEW CARDS) === */
.services-section-new {
    background: var(--lilac);
    padding: 80px 0;
}

.services-section-new h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #555;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--lilac-card);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(109, 40, 217, 0.12);
}

.service-card h3 {
    color: var(--brand);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card > p {
    margin-bottom: 1.5rem;
    color: #555;
}

.service-card ul {
    margin: 1.5rem 0 1.5rem 1.5rem;
    list-style: disc;
}

.service-card li {
    margin-bottom: 0.75rem;
    color: #555;
}

.service-note {
    background: var(--lilac);
    padding: 1rem;
    border-left: 3px solid var(--brand);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #555;
    margin: 1.5rem 0;
}

.service-cta {
    margin-top: 2rem;
}

/* === PRICING PROMISE === */
.pricing-promise {
    background: white;
    padding: 80px 0;
}

.pricing-box {
    background: var(--lilac);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid var(--lilac-card);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.pricing-box h3 {
    color: var(--brand);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.pricing-box ul {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.pricing-box li {
    padding-left: 2rem;
    position: relative;
    font-size: 1.125rem;
}

.pricing-box li::before {
    content: '💰';
    position: absolute;
    left: 0;
    top: 0;
}

/* === ABOUT & REGISTRATION === */
.about-section-new {
    background: white;
    padding: 80px 0;
}

.registration-status-box {
    background: var(--yellow-bg);
    border: 2px solid var(--yellow-border);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.registration-status-box h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.registration-status-box p {
    color: #856404;
}

.service-area-box {
    max-width: 900px;
    margin: 0 auto;
}

.service-area-box h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.service-area-box h3 {
    color: var(--brand);
    margin-top: 2rem;
}

/* === CONTACT === */
.contact-section {
    background: var(--lilac);
    padding: 80px 0;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-section h3 {
    text-align: center;
    color: var(--brand);
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.contact-intro {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    margin-top: 1.5rem;
}

.contact-details p {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.contact-details a {
    font-weight: 600;
}

/* === FORMS === */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

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

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

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

.required {
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    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: var(--brand);
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
}

/* Mobile form adjustments */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* === FAQs (NEW with details/summary) === */
.faqs-section-new {
    background: white;
    padding: 80px 0;
}

.faqs-section-new h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item-new {
    background: var(--lilac);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item-new:hover {
    box-shadow: 0 4px 20px rgba(109, 40, 217, 0.1);
}

.faq-item-new summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--brand);
    list-style: none;
    padding: 0.5rem 0;
}

.faq-item-new summary::-webkit-details-marker {
    display: none;
}

.faq-item-new summary::before {
    content: '▶';
    display: inline-block;
    margin-right: 0.75rem;
    transition: transform 0.3s ease;
}

.faq-item-new[open] summary::before {
    transform: rotate(90deg);
}

.faq-item-new p {
    margin-top: 1rem;
    padding-left: 1.75rem;
    color: #555;
}

/* === FOOTER === */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    color: #ccc;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #9D4EDD;
    padding-left: 4px;
}

.footer-feedback {
    background: rgba(109, 40, 217, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--accent);
}

.footer-feedback p {
    color: #ccc;
    font-size: 0.95rem;
}

.footer-legal {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.footer-legal p {
    margin-bottom: 0.75rem;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    color: #999;
    font-size: 0.9rem;
}

/* === STICKY MOBILE CALL BUTTON === */
.sticky-mobile-call {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 50;
    background: linear-gradient(135deg, var(--accent) 0%, #f7931e 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(255, 138, 0, 0.5);
    display: none;
    animation: bounce 2s infinite;
}

.sticky-mobile-call:hover {
    background: linear-gradient(135deg, #e57a00 0%, #dd8416 100%);
    transform: scale(1.05);
    color: white;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .sticky-mobile-call {
        display: block;
    }
}

/* === RESPONSIVE TYPOGRAPHY === */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }

    .hero-content-new h1 {
        font-size: 2.5rem;
    }
    
    .hero-section-new {
        min-height: 500px;
    }

    .hero-content-wrapper {
        padding: 80px 24px 60px;
    }
    
    section {
        padding: 60px 0;
    }

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

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* === PRINT STYLES === */
@media print {
    .site-header,
    .mobile-menu-toggle,
    .hero-cta,
    .service-cta,
    .btn,
    .sticky-mobile-call,
    .site-footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1 {
        font-size: 18pt;
    }
    
    h2 {
        font-size: 16pt;
    }
}
