@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --primary-color: #621B66;
    --secondary-color: #01536A;
}
html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Site Footer */
.site-footer {
    background-image: linear-gradient(rgba(21, 34, 38, 0.1), rgba(21, 34, 38, 0.1)), url('../images/footer-bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: #a8b8bc;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

/* Background Shapes on Left and Right */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    height: 100%;
    background: url('../images/footer-shape-1.png') no-repeat left center;
    background-size: contain;
    pointer-events: none;
    opacity: 0.4;
    z-index: 1;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background: url('../images/footer-shape-2.png') no-repeat right center;
    background-size: contain;
    pointer-events: none;
    opacity: 0.4;
    z-index: 1;
}

.site-footer .container {
    position: relative;
    z-index: 2;
}

/* First Column */
.site-footer .footer-logo svg {
    max-width: 100%;
    height: auto;
}

.site-footer .footer-description {
    line-height: 1.6;
    font-size: 0.92rem;
    color: #fff;
}

.site-footer .footer-bold-text {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.05rem;
}

/* Flags */
.site-footer .flag-container {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    line-height: 0;
}

.site-footer .flag-img {
    display: block;
    object-fit: cover;
}

/* Headings */
.site-footer .footer-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    letter-spacing: 0.5px;
}

/* Links */
.site-footer .footer-links ul li {
    margin-bottom: 0.75rem;
}

.site-footer .footer-links ul li a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.site-footer .footer-links ul li a:hover {
    color: #00b074;
    transform: translateX(5px);
}

/* Contact Us Section */
.site-footer .contact-info-list li {
    margin-bottom: 1.2rem;
}

.site-footer .contact-icon-wrapper {
    color: #00b074;
    font-size: 1.2rem;
    line-height: 1;
    margin-right: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.site-footer .contact-info-list li:hover .contact-icon-wrapper {
    transform: scale(1.15) rotate(-5deg);
}

.site-footer .contact-text {
    flex: 1;
    color: #ffffff;
    font-weight: 600;
}

.site-footer .contact-text a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.site-footer .contact-text a:hover {
    color: #00b074;
}

.site-footer .contact-text span {
    line-height: 1.5;
    display: block;
}

/* Bottom Bar */
.site-footer .footer-bottom {
    position: relative;
    z-index: 2;
}

.site-footer .bottom-text {
    font-size: 0.85rem;
    color: #8fa0a5;
    line-height: 1.6;
}

.site-footer .designer-brand {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .designer-brand:hover {
    color: #00b074;
}

/* About Section */
.about-section {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
}

.about-section .about-image-wrapper {
    position: relative;
    max-width: 555px;
    height: 100%;
    min-height: 456.79px; /* Fallback min-height matching design mockup */
    margin: 0 auto;
    z-index: 1;
}

.about-section .about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 190px;
    left: -5px;
    right: 0px;
    bottom: -40px;
    background: linear-gradient(135deg, #ffffff 0%, #01536A 100%);
    border-radius: 250px 0 0 320px;
    z-index: -1;
}

.about-section .about-image-wrapper img {
    border-radius: 0px 0 0 160px;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.about-section .about-subtitle {
    color: var(--secondary-color, #01536A);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.about-section .about-title {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    perspective: 1000px;
}

.about-section .about-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

.about-section .about-desc p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #858585 !important;
}

/* Make sure .btn-purple styles apply to about-section buttons as well */
.about-section .btn-purple {
    position: relative;
    background-color: transparent;
    color: #ffffff !important;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 30px;
    border: none;
    outline: none;
    text-decoration: none;
    z-index: 1;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.about-section .btn-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #5E1965;
    border-radius: 30px;
    border: 4px solid #5E1965;
    box-shadow: 4px 4px 8px 0px rgba(0, 104, 163, 0.56);
    filter: url('#rough-border');
    z-index: -1;
    transition: all 0.3s ease;
}

.about-section .btn-purple:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.about-section .btn-purple:hover::before {
    background-color: var(--secondary-color, #01536A);
    border-color: var(--secondary-color, #01536A);
}

/* Services Section */
.services-section {
    font-family: "Poppins", sans-serif;
    background-color: #f3fbfe; /* Soft light-blue background matching screenshot */
}

.services-section .services-subtitle {
    color: var(--secondary-color, #01536A);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.services-section .services-title {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    perspective: 1000px;
}

.services-section .services-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

.services-section .services-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #858585 !important;
}

/* Service Card Layout */
.services-section .service-card {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 104, 163, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px; /* Space for hover lift */
}

.services-section .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 104, 163, 0.12);
}

.services-section .service-img-box img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* Overlapping green icon box on bottom left */
.services-section .service-content-wrapper {
    background-color: #ffffff;
    padding-left: 60px; /* leave space for overlapping icon */
    position: relative;
}

.services-section .service-icon-box {
    position: absolute;
    left: 20px;
    top: -22px; /* Overlaps top border of the content wrapper */
    background-color: #71bf44; /* Green background */
    width: 44px;
    height: 44px;
    border-radius: 0; /* Square borders matching screenshot */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.services-section .service-icon-box img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.services-section .service-card-body {
    padding: 24px 20px 24px 20px;
}

.services-section .service-card-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    min-height: 2.6rem;
}
@media (max-width: 767px) {
    .services-section .service-card-title {
        font-size: 1.15rem;
        min-height: auto;
    }
}

.services-section .service-title-link {
    color: var(--secondary-color, #01536A);
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-section .service-card:hover .service-title-link {
    color: #5E1965;
}

.services-section .services-link {
    color: var(--secondary-color, #01536A);
    transition: color 0.3s ease;
}

.services-section .services-link:hover {
    color: #5E1965;
}

/* Swiper custom styling */
.services-section .swiper-pagination-bullet-active {
    background: var(--secondary-color, #01536A);
}
.services-section .swiper-button-prev,
.services-section .swiper-button-next {
    background-color: #5E1965 !important;
    color: #ffffff !important;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    top: 50%;
    transform: translateY(-50%);
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.services-section .swiper-button-prev:after,
.services-section .swiper-button-next:after {
    font-size: 16px !important;
    font-weight: 800;
}
.services-section .swiper-button-prev {
    left: -24px;
}
.services-section .swiper-button-next {
    right: -24px;
}
.services-section .swiper-button-prev:hover,
.services-section .swiper-button-next:hover {
    background-color: var(--secondary-color, #01536A) !important;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 20px rgba(1, 83, 106, 0.25);
}

@media (max-width: 1200px) {
    .services-section .swiper-button-prev {
        left: -10px;
    }
    .services-section .swiper-button-next {
        right: -10px;
    }
}
@media (max-width: 767px) {
    .services-section .swiper-button-prev,
    .services-section .swiper-button-next {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }
    .services-section .swiper-button-prev:after,
    .services-section .swiper-button-next:after {
        font-size: 14px !important;
    }
    .services-section .swiper-button-prev {
        left: 5px;
    }
    .services-section .swiper-button-next {
        right: 5px;
    }
}

/* Process Section */
.process-section {
    font-family: "Poppins", sans-serif;
}

.process-section .process-content-col {
    background-color: #eaf7fc;
}

.process-section .process-subtitle {
    color: var(--secondary-color, #01536A);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.process-section .process-title {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    perspective: 1000px;
}

.process-section .process-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

.process-section .process-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #858585 !important;
}

.process-section .process-points li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--secondary-color, #01536A);
    font-weight: 600;
}

.process-section .point-icon {
    color: #71bf44; /* Green heart color from NDIS brand */
    font-size: 1rem;
}

/* Right Column (Timeline) */
.process-section .process-timeline-col {
    background-image: linear-gradient(rgba(1, 83, 106, 0.45), rgba(1, 83, 106, 0.65)), url('../images/enqiry-bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}

.process-section .timeline-container {
    padding-left: 20px;
}

.process-section .timeline-line {
    position: absolute;
    top: 37px;
    bottom: 37px;
    left: 36px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.process-section .timeline-step {
    position: relative;
    z-index: 2;
}

.process-section .timeline-number-wrapper {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.process-section .timeline-number {
    font-weight: 700;
    color: var(--secondary-color, #01536A);
    font-size: 0.95rem;
}

.process-section .timeline-card {
    position: relative;
    padding: 20px 20px 20px 60px !important;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-top: 25px;
}

.process-section .timeline-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.process-section .step-icon-box {
    position: absolute;
    left: 0;
    top: -10px;
    background-color: #00b074;
    color: #ffffff;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    flex-shrink: 0;
}

.process-section .step-icon-box img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.process-section .step-icon-box::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 10px;
    height: 10px;
    background-color: #035a3c;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    z-index: -1;
}

.process-section .step-title {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.process-section .step-desc {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Featured Section */
.featured-section {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
    position: relative;
}

.featured-section .featured-header {
    background-image: linear-gradient(rgba(94, 25, 101, 0.9), rgba(94, 25, 101, 0.9)), url('../images/featured-bg.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 120px; /* Leave space for cards overlap */
}

.featured-section .featured-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    perspective: 1000px;
}

.featured-section .featured-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

.featured-section .featured-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 750px;
}

/* Wobbly Referral Button */
.featured-section .btn-referral {
    position: relative;
    background-color: transparent;
    color: var(--secondary-color, #01536A) !important;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 30px;
    border: none;
    outline: none;
    text-decoration: none;
    z-index: 1;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.featured-section .btn-referral::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    border-radius: 30px;
    border: 4px solid #ffffff;
    box-shadow: 4px 4px 8px 0px rgba(0, 104, 163, 0.3);
    filter: url('#rough-border');
    z-index: -1;
    transition: all 0.3s ease;
}

.featured-section .btn-referral:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.featured-section .btn-referral:hover::before {
    background-color: var(--secondary-color, #01536A);
    border-color: var(--secondary-color, #01536A);
    box-shadow: 4px 4px 8px 0px rgba(0, 104, 163, 0.56);
}

/* Overlapping cards container */
.featured-section .featured-cards-wrapper {
    margin-top: -75px; /* Overlap by 75px */
    position: relative;
    z-index: 5;
}

.featured-section .featured-card {
    position: relative;
    overflow: hidden;
    background-color: #eaf7fc !important; /* Soft ice-blue */
    transition: all 0.3s ease;
    border: none !important;
}

.featured-section .featured-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #00b074;
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10;
}

.featured-section .featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 104, 163, 0.15) !important;
}

.featured-section .featured-card:hover::before {
    transform: scaleY(1);
}

.featured-section .featured-card-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.featured-section .featured-card-title {
    color: var(--secondary-color, #01536A);
    font-size: 1.05rem;
}

.featured-section .featured-card-desc {
    color: #858585 !important;
    line-height: 1.5;
}

/* Enquiry Section */
.enquiry-section {
    font-family: "Poppins", sans-serif;
}

.enquiry-section .enquiry-form-col {
    background-image: linear-gradient(rgba(1, 83, 106, 0.45), rgba(1, 83, 106, 0.65)), url('../images/enqiry-bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: #ffffff;
    position: relative;
}

/* Form Styling */
.enquiry-section .form-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    perspective: 1000px;
}

.enquiry-section .form-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

.enquiry-section .form-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.enquiry-section .form-control,
.enquiry-section .form-select {
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.95rem;
    color: #333333;
}

.enquiry-section .form-control:focus,
.enquiry-section .form-select:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
    background-color: #ffffff;
}

.enquiry-section textarea.form-control {
    resize: none;
}

/* Submit Button */
.enquiry-section .btn-submit {
    position: relative;
    background-color: transparent;
    color: var(--secondary-color, #01536A);
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 30px;
    border: none;
    outline: none;
    z-index: 1;
    display: inline-block;
    transition: color 0.3s ease;
}

.enquiry-section .btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    border-radius: 30px;
    border: 4px solid #ffffff;
    box-shadow: 4px 4px 8px 0px rgba(0, 104, 163, 0.56);
    filter: url('#rough-border');
    z-index: -1;
    transition: all 0.3s ease;
}

.enquiry-section .btn-submit:hover {
    color: #ffffff;
}

.enquiry-section .btn-submit:hover::before {
    background-color: var(--secondary-color, #01536A);
    border-color: #ffffff;
}

/* Right Column Info Styling */
.enquiry-section .enquiry-info-col {
    background-color: #ffffff;
}

.enquiry-section .info-subtitle {
    color: var(--secondary-color, #01536A);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.enquiry-section .info-title {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    perspective: 1000px;
}

.enquiry-section .info-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

.enquiry-section .info-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #858585;
}

.enquiry-section .info-list li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 20px;
    color: #858585;
}

.enquiry-section .contact-link {
    color: #858585;
    transition: color 0.3s ease;
}

.enquiry-section .contact-link:hover {
    color: var(--primary-color, #621B66) !important;
}

.enquiry-section .info-list li::before {
    content: "•";
    color: #888888;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Purple Buttons */
.enquiry-section .btn-purple {
    position: relative;
    background-color: transparent;
    color: #ffffff !important;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 30px;
    border: none;
    outline: none;
    text-decoration: none;
    z-index: 1;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.enquiry-section .btn-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #5E1965;
    border-radius: 30px;
    border: 4px solid #5E1965;
    box-shadow: 4px 4px 8px 0px rgba(0, 104, 163, 0.56);
    filter: url('#rough-border');
    z-index: -1;
    transition: all 0.3s ease;
}

.enquiry-section .btn-purple:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.enquiry-section .btn-purple:hover::before {
    background-color: var(--secondary-color, #01536A);
    border-color: var(--secondary-color, #01536A);
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8f9fa;
    font-family: "Poppins", sans-serif;
}

.testimonials-section .testimonial-subtitle {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.testimonials-section .testimonial-title {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    perspective: 1000px;
}

.testimonials-section .testimonial-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

.testimonials-section .testimonial-card {
    transition: all 0.3s ease;
    border-color: rgba(0,0,0,0.08) !important;
}

.testimonials-section .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}

.testimonials-section .stars i {
    font-size: 1.1rem;
    margin-right: 2px;
}

.testimonials-section .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonials-section .divider {
    border-top: 1px solid rgba(0,0,0,0.08);
}

.testimonials-section .author-avatar {
    flex-shrink: 0;
}

.testimonials-section .author-name {
    color: var(--secondary-color);
}

.testimonials-section .swiper-pagination-bullet-active {
    background-color: var(--secondary-color) !important;
}

/* Blog Section */
.blog-section {
    background-color: #ffffff;
    font-family: "Poppins", sans-serif;
}

.blog-section .blog-subtitle {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.blog-section .blog-title {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    perspective: 1000px;
}

.blog-section .blog-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

.blog-section .blog-card {
    position: relative;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.blog-section .blog-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.blog-section .blog-image-wrapper img {
    transition: transform 0.6s ease;
    display: block;
    height: 270px;
    object-fit: cover;
}

.blog-section .blog-card:hover .blog-image-wrapper img {
    transform: scale(1.06);
}

.blog-section .date-badge {
    position: absolute;
    top: -25px;
    left: -20px;
    background-color: #7cb524;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    line-height: 1.25;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.blog-section .date-badge .day {
    display: block;
    font-size: 1rem;
}

.blog-section .date-badge .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 500;
}

.blog-section .blog-content {
    background-color: #ffffff;
    margin-top: -35px;
    margin-left: auto;
    margin-right: 0;
    width: 314px;
    min-width: 314px;
    max-width: 100%;
    padding: 35px 5px 28px 60px;
    /* border-radius: 8px; */
    position: relative;
    z-index: 4;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-section .blog-card:hover .blog-content {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12) !important;
}

.blog-section .blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.blog-section .blog-card-title a {
    color: var(--secondary-color, #01536A);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-section .blog-card:hover .blog-card-title a {
    color: #0bb58c;
}

/* About Care Section */
.about-care-section {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
}

.about-care-subtitle {
    color: var(--secondary-color, #01536A);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.about-care-title {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    perspective: 1000px;
}

.about-care-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

.about-care-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
}

.about-care-section .about-care-image-wrapper {
    position: relative;
    max-width: 555px;
    height: 100%;
    min-height: 456.79px; /* Fallback min-height matching design mockup */
    margin: 0 auto;
    z-index: 1;
}

.about-care-section .about-care-image-wrapper::before {
    content: '';
    position: absolute;
    top: 190px;
    left: -5px;
    right: 0px;
    bottom: -40px;
    background: linear-gradient(135deg, #ffffff 0%, #01536A 100%);
    border-radius: 250px 0 0 320px;
    z-index: -1;
}

.about-care-section .about-care-image-wrapper img {
    border-radius: 0px 0 0 160px;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

/* 2x2 Info Grid Cards */
.about-care-card {
    transition: all 0.3s ease;
    border-color: #e9ecef !important;
}

.about-care-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
    border-color: #01536A !important;
}

.about-care-card .card-label {
    font-size: 0.85rem;
    color: #0bb58c !important; /* Premium brand green/teal */
    letter-spacing: 0.2px;
}

.about-care-card .card-value {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.25rem;
    color: var(--secondary-color, #01536A) !important;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

/* Responsive adjustment */
@media (max-width: 991.98px) {
    .about-care-title {
        font-size: 2.5rem;
    }
    .about-care-section .about-care-image-wrapper {
        margin-bottom: 40px;
        max-width: 450px;
    }
}

@media (max-width: 575.98px) {
    .about-care-title {
        font-size: 2.2rem;
    }
    .about-care-section .about-care-image-wrapper {
        max-width: 100%;
    }
}

/* Hero Banner Section */
.hero-banner-section {
    position: relative;
    min-height: 720px;
    padding: 160px 0 200px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: visible;
    z-index: 1;
}

.hero-banner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(1, 83, 106, 0.45) 0%, rgba(98, 27, 102, 0.2) 80%, rgba(255, 255, 255, 0) 100%), url('../images/banner-bg-img.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    z-index: 2; /* Sits above the hanging badge */
}

.hero-banner-section .hero-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    perspective: 1000px;
}

.hero-banner-section .hero-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

.hero-banner-section .hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
/*     color: rgba(255, 255, 255, 0.9); */
	 color: #f9f96f;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
	 text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Hero Custom Buttons */
.btn-red-hero, .btn-purple-hero, .btn-white-hero {
    position: relative;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 36px;
    border: none;
    outline: none;
    text-decoration: none;
    z-index: 1;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn-purple-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #5E1965;
    border-radius: 30px;
    border: 4px solid #5E1965;
/*     box-shadow: 4px 4px 8px rgba(0, 104, 163, 0.4); */
    filter: url('#rough-border');
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-purple-hero {
    color: #ffffff !important;
}

.btn-purple-hero:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-purple-hero:hover::before {
    background-color: var(--secondary-color, #01536A);
    border-color: var(--secondary-color, #01536A);
}

.btn-white-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ffffff;
    border-radius: 30px;
    border: 4px solid #ffffff;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15);
    filter: url('#rough-border');
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-white-hero {
    color: var(--secondary-color, #01536A) !important;
}

.btn-white-hero:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-white-hero:hover::before {
    background-color: var(--secondary-color, #01536A);
    border-color: var(--secondary-color, #01536A);
}



/* Hanging NDIS Shape */
.banner-hanging-container {
    position: absolute;
    right: 8%;
    bottom: -150px;
    width: 170px;
    z-index: 1;
    transform-origin: top center;
    pointer-events: none;
    
}
.banner-hanging-container img{
    z-index: 2;
}
.banner-hanging-shape {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Overrides */
@media (max-width: 1199.98px) {
    .hero-banner-section .hero-title {
        font-size: 2.4rem;
    }
    .banner-hanging-container {
        right: 5%;
        bottom: -70px;
        width: 140px;
    }
}

@media (max-width: 991.98px) {
    .hero-banner-section {
        min-height: 600px;
        padding: 120px 0 160px 0;
    }
    .hero-banner-section .hero-title {
/*         font-size: 2.8rem; */
		 font-size: 2.0rem;
    }
    .banner-hanging-container {
        right: 4%;
        bottom: -50px;
        width: 120px;
    }
}

@media (max-width: 767.98px) {
    .hero-banner-section .hero-title {
/*         font-size: 2.3rem; */
		font-size: 1.7rem;
    }
    .hero-banner-section .hero-desc {
        font-size: 0.95rem;
    }
    .banner-hanging-container {
        display: none; /* Hide hanging shape on smaller viewports to prevent layout overlap */
    }
}

/* Top Info Bar */
.top-info-bar {
    background-color: #000000;
    font-size: 0.82rem;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    letter-spacing: 0.2px;
    z-index: 1050;
    position: relative;
}

.top-info-bar a {
    transition: opacity 0.2s ease;
}

.top-info-bar a:hover {
    opacity: 0.8;
}

.top-contact-info .info-item {
    color: rgba(255, 255, 255, 0.95);
}

.top-contact-info .divider-line {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 8px;
    font-weight: 300;
}

/* Main Navigation Navbar */
.main-navbar {
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    z-index: 1040;
    background-color: #ffffff !important;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.main-navbar.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.main-navbar.navbar-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1040;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
    animation: none; /* Handled by GSAP! */
}

.navbar-scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--primary-color, #0bb58c);
    z-index: 1045;
    transition: width 0.08s ease-out;
}

.main-navbar .header-logo-img {
    max-height: 55px;
    width: auto;
    display: block;
}

/* Pill navigation style */
.navbar-nav-wrapper {
    border: 1px solid rgba(1, 83, 106, 0.35);
    border-radius: 50px;
    padding: 2px 25px;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.navbar-nav-wrapper:hover {
    border-color: var(--secondary-color, #01536A);
}

.navbar-nav .nav-link {
    color: #858585;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 10px 18px !important;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color, #01536A) !important;
}

/* Responsive updates for navigation & offcanvas */
@media (max-width: 991.98px) {
    .main-navbar .offcanvas-lg {
        position: fixed !important;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: 310px !important;
        height: 100vh !important;
        background-color: #ffffff !important;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15) !important;
        z-index: 1050 !important;
        display: flex !important;
        flex-direction: column !important;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out !important;
        visibility: hidden;
    }
    
    .main-navbar .offcanvas-lg.show {
        transform: translateX(0) !important;
        visibility: visible !important;
    }
    
    .main-navbar .offcanvas-lg .offcanvas-body {
        flex-grow: 1;
        padding: 20px !important;
        overflow-y: auto;
        display: flex !important;
        flex-direction: column !important;
        background-color: #ffffff !important;
    }
    
    .navbar-nav-wrapper {
        border: none;
        border-radius: 0;
        padding: 10px 0;
        width: 100%;
        box-shadow: none;
        background-color: transparent !important;
    }
    
    .navbar-nav {
        align-items: flex-start !important;
        gap: 8px;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        width: 100%;
        padding: 10px 15px !important;
        border-radius: 8px;
        text-align: left;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: rgba(1, 83, 106, 0.05);
        color: var(--secondary-color, #01536A) !important;
    }
    
    .nav-cta-wrapper {
        margin-top: 25px;
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
        width: 100%;
    }
    
    .nav-cta-wrapper .btn-purple-hero {
        width: 100%;
        text-align: center;
    }
}

/* Dropdown Menu Styles */
.main-navbar .dropdown-menu {
    border: 1px solid rgba(1, 83, 106, 0.12);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    min-width: 320px;
    margin-top: 15px;
    background-color: #ffffff;
    animation: dropdownFadeIn 0.3s ease;
    position: relative;
}

.main-navbar .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.main-navbar .dropdown-item {
    position: relative;
    color: #6e6e6e;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 24px 10px 32px;
    white-space: normal; /* wrap long titles */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-navbar .dropdown-item::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 6px;
    height: 6px;
    background-color: #0bb58c;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.main-navbar .dropdown-item:hover::before {
    transform: translateY(-50%) scale(1);
}

.main-navbar .dropdown-item:hover {
    background-color: rgba(1, 83, 106, 0.04);
    color: var(--secondary-color, #01536A);
    padding-left: 38px;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop Hover & Click Navigation Support */
@media (min-width: 992px) {
    .main-navbar .dropdown:hover .dropdown-menu {
        display: block;
        top: 100% !important;
        margin-top: 5px;
        left: 50% !important;
        transform: translate(-50%, 0) !important;
        animation: dropdownFadeInDesktop 0.3s ease;
    }
}

@keyframes dropdownFadeInDesktop {
    from {
        opacity: 0;
        transform: translate(-50%, 10px) !important;
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) !important;
    }
}

@media (max-width: 991.98px) {
    .main-navbar .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 15px;
        min-width: 100%;
        margin-top: 0;
        background-color: transparent;
    }
}

/* Custom Animated Hamburger Button (Mobile Only) */
@media (max-width: 991.98px) {
    .main-navbar .navbar-toggler {
        border: none;
        padding: 8px 10px;
        background: transparent;
        outline: none;
        box-shadow: none !important;
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        align-items: flex-end;
    }

    .main-navbar .navbar-toggler span {
        display: block;
        width: 22px;
        height: 3px;
        background-color: var(--secondary-color, #01536A);
        border-radius: 4px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* Stylish asymmetrical line lengths */
    .main-navbar .navbar-toggler span:nth-child(1) {
        width: 22px;
    }

    .main-navbar .navbar-toggler span:nth-child(2) {
        width: 14px;
    }

    .main-navbar .navbar-toggler span:nth-child(3) {
        width: 18px;
    }

    /* Hover effect */
    .main-navbar .navbar-toggler:hover span {
        background-color: var(--primary-color, #0bb58c);
    }

    .main-navbar .navbar-toggler:hover span:nth-child(2) {
        width: 22px;
    }

    .main-navbar .navbar-toggler:hover span:nth-child(3) {
        width: 22px;
    }
}

/* Custom Dropdown Chevron Arrow Caret */
.main-navbar .dropdown-toggle::after {
    display: inline-block;
    content: "";
    border: none; /* Remove Bootstrap caret */
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    margin-left: 8px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s ease;
    vertical-align: middle;
}

.main-navbar .dropdown-toggle-split::after {
    margin-left: 0;
}

/* Spacing overrides for split dropdown links */
.main-navbar .dropdown .nav-link {
    padding-right: 6px !important;
}

.main-navbar .dropdown-toggle-split {
    padding-left: 6px !important;
    padding-right: 12px !important;
}

/* Rotate chevron on hover (desktop) or show class (mobile) */
.main-navbar .dropdown:hover .dropdown-toggle::after,
.main-navbar .dropdown-toggle[aria-expanded="true"]::after {
    transform: translateY(1px) rotate(-135deg);
    color: var(--primary-color, #0bb58c) !important;
}

@media (max-width: 991.98px) {
    .main-navbar .dropdown {
        width: 100%;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    .main-navbar .dropdown .nav-link {
        width: auto !important;
        display: inline-block !important;
    }
    
    .main-navbar .dropdown-toggle-split {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .main-navbar .dropdown-menu {
        width: 100% !important;
        flex-basis: 100%; /* forces wrapping on flex-wrap */
    }
}

/* Page Banner Section */
.page-banner-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 200px 0;
    z-index: 1;
    overflow: visible;
}

/* Hanging Decoration Shape */
.hanging-shape-wrapper {
    position: absolute;
    right: 8%;
    top: -20px;
    z-index: 5;
    pointer-events: none;
    width: 140px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
}
.hanging-shape-img {
    width: 100%;
    height: auto;
}
@media (max-width: 991px) {
    .hanging-shape-wrapper {
        display: none;
    }
}

.page-banner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(21, 34, 38, 0.75), rgba(21, 34, 38, 0.75)), url('../images/page-banner-bg.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    clip-path: url('#banner-clip');
    z-index: 2;
}

.page-banner-section .banner-bottom-shape {
    position: absolute;
    bottom: -45px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, #FFFFFF 0%, #01536A 100%);
    clip-path: url('#banner-clip');
    z-index: 1; /* Behind the background image pseudo-element */
    pointer-events: none;
}

.page-banner-section .container {
    position: relative;
    z-index: 3; /* Ensures text stays above everything */
}

.page-banner-section .breadcrumb-item a {
    transition: color 0.2s ease;
}

.page-banner-section .breadcrumb-item a:hover {
    color: var(--primary-color, #0bb58c) !important;
}

.page-banner-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991.98px) {
    .top-info-bar {
        display: none !important;
    }
    
    .page-banner-section::before {
        clip-path: url('#banner-clip-mobile') !important;
    }
    
    .page-banner-section .banner-bottom-shape {
        display: block !important;
        position: absolute !important;
        bottom: -15px !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-image: linear-gradient(to right, #FFFFFF 0%, #01536A 100%) !important;
        clip-path: url('#banner-clip-mobile') !important;
        z-index: 1 !important;
        pointer-events: none !important;
    }
}

/* Optimized Responsive Font Sizes for Mobile and Tablet Devices */
@media (max-width: 991.98px) {
    .about-section .about-title,
    .services-section .services-title,
    .process-section .process-title,
    .featured-section .featured-title,
    .enquiry-section .form-title,
    .enquiry-section .info-title,
    .testimonials-section .testimonial-title,
    .blog-section .blog-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .about-section .about-title,
    .services-section .services-title,
    .process-section .process-title,
    .featured-section .featured-title,
    .enquiry-section .form-title,
    .enquiry-section .info-title,
    .testimonials-section .testimonial-title,
    .blog-section .blog-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-banner-section .hero-title {
        font-size: 1.85rem;
    }
    
    .about-section .about-title,
    .services-section .services-title,
    .process-section .process-title,
    .featured-section .featured-title,
    .enquiry-section .form-title,
    .enquiry-section .info-title,
    .testimonials-section .testimonial-title,
    .blog-section .blog-title {
        font-size: 1.75rem;
    }
    
    .hero-banner-section .hero-desc {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .page-banner-section h1 {
        font-size: 2rem !important;
    }
}

/* Values Section Styling */
.values-section {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #f3fbfe 100%);
}

.values-section .values-subtitle {
    color: var(--secondary-color, #01536A);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.values-section .values-title {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    perspective: 1000px;
}

.values-section .values-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

.values-section .values-desc {
    font-size: 1.05rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
}

.values-section .value-card {
    background: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 104, 163, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.values-section .value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #621B66) 0%, #0bb58c 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s ease;
}

.values-section .value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 104, 163, 0.12);
    border-color: rgba(1, 83, 106, 0.15);
}

.values-section .value-card:hover::before {
    transform: scaleX(1);
}

.values-section .value-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background-color: rgba(113, 191, 68, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.values-section .value-card:hover .value-icon-box {
    background-color: rgba(94, 25, 101, 0.1);
}

.values-section .value-card-title {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.values-section .value-card:hover .value-card-title {
    color: var(--primary-color, #621B66);
}

.values-section .value-card-desc {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .values-section .values-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .values-section .values-title {
        font-size: 2.1rem;
    }
}

/* Calmer Start Section Styling */
.calmer-start-section {
    font-family: "Poppins", sans-serif;
}

.calmer-start-section .quick-details-card {
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(1, 83, 106, 0.05) !important;
}

.calmer-start-section .quick-details-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(1, 83, 106, 0.1) !important;
}

.calmer-start-section .icon-wrapper {
    transition: transform 0.3s ease;
}

.calmer-start-section .quick-details-card div:hover .icon-wrapper {
    transform: scale(1.1);
}

.calmer-start-section .calmer-title {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    perspective: 1000px;
}

.calmer-start-section .calmer-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

@media (max-width: 991.98px) {
    .calmer-start-section .calmer-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .calmer-start-section .calmer-title {
        font-size: 2.1rem;
    }
}

.calmer-start-section .about-subtitle {
    color: var(--secondary-color, #01536A);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
/* NDIS Info Page Styling */
.ndis-grid-section {
    background-color: #ffffff;
}

.ndis-tile-card {
    background: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.06);
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(1, 83, 106, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100%;
}

.ndis-tile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(1, 83, 106, 0.08);
    border-color: rgba(94, 25, 101, 0.2);
}

.ndis-tile-card h3 {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.8rem;
    font-weight: 750;
    margin-bottom: 15px;
}

.ndis-tile-card .text-link {
    color: var(--primary-color, #621B66);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.ndis-tile-card .text-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color, #621B66);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.ndis-tile-card:hover .text-link::after {
    transform: scaleX(1);
    background-color: var(--secondary-color, #01536A);
}

.ndis-tile-card:hover .text-link {
    color: var(--secondary-color, #01536A);
}

.ndis-tile-card.ndis-card-purple { border-top: 4px solid var(--primary-color, #621B66); }
.ndis-tile-card.ndis-card-teal { border-top: 4px solid var(--secondary-color, #01536A); }
.ndis-tile-card.ndis-card-green { border-top: 4px solid #0bb58c; }
.ndis-tile-card.ndis-card-lime { border-top: 4px solid #71bf44; }

.ndis-plan-title, .ndis-agreement-title {
    perspective: 1000px;
}

.ndis-plan-title .char, .ndis-agreement-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

/* Plan Management Cards */
.plan-card {
    background: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.06);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(1, 83, 106, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(1, 83, 106, 0.08);
    border-color: var(--primary-color, #621B66);
}

.plan-card h3 {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.7rem;
    font-weight: 750;
}

/* Service Framework numbers */
.framework-num-badge {
    background-color: rgba(94, 25, 101, 0.08);
    color: var(--primary-color, #621B66);
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-agreements-section ul li:hover .framework-num-badge {
    background-color: var(--primary-color, #621B66);
    color: #ffffff;
    transform: scale(1.1);
}

/* Helpful Notice Box */
.helpful-notice-box {
    background-color: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(1, 83, 106, 0.04);
    transition: all 0.3s ease;
}

.helpful-notice-box:hover {
    box-shadow: 0 25px 50px rgba(1, 83, 106, 0.08);
    border-color: var(--secondary-color, #01536A);
}

.helpful-notice-box h3 {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 750;
    font-size: 1.6rem;
}

.helpful-notice-box ul li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.helpful-notice-box ul li a {
    color: #495057;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}
}

.calmer-start-section .calmer-title {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    perspective: 1000px;
}

.calmer-start-section .calmer-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

@media (max-width: 991.98px) {
    .calmer-start-section .calmer-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .calmer-start-section .calmer-title {
        font-size: 2.1rem;
    }
}

.calmer-start-section .about-subtitle {
    color: var(--secondary-color, #01536A);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
/* NDIS Info Page Styling */
.ndis-grid-section {
    background-color: #ffffff;
}

.ndis-tile-card {
    background: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.06);
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(1, 83, 106, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100%;
}

.ndis-tile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(1, 83, 106, 0.08);
    border-color: rgba(94, 25, 101, 0.2);
}

.ndis-tile-card h3 {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.8rem;
    font-weight: 750;
    margin-bottom: 15px;
}

.ndis-tile-card .text-link {
    color: var(--primary-color, #621B66);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.ndis-tile-card .text-link[href^="mailto:"] {
    text-transform: none;
}

.ndis-tile-card .text-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color, #621B66);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.ndis-tile-card:hover .text-link::after {
    transform: scaleX(1);
    background-color: var(--secondary-color, #01536A);
}

.ndis-tile-card:hover .text-link {
    color: var(--secondary-color, #01536A);
}

.ndis-tile-card.ndis-card-purple { border-top: 4px solid var(--primary-color, #621B66); }
.ndis-tile-card.ndis-card-teal { border-top: 4px solid var(--secondary-color, #01536A); }
.ndis-tile-card.ndis-card-green { border-top: 4px solid #0bb58c; }
.ndis-tile-card.ndis-card-lime { border-top: 4px solid #71bf44; }

.ndis-plan-title, .ndis-agreement-title {
    perspective: 1000px;
}

.ndis-plan-title .char, .ndis-agreement-title .char {
    display: inline-block;
    transform-style: preserve-3d;
    font-family: inherit;
}

/* Plan Management Cards */
.plan-card {
    background: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.06);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(1, 83, 106, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(1, 83, 106, 0.08);
    border-color: var(--primary-color, #621B66);
}

.plan-card h3 {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.7rem;
    font-weight: 750;
}

/* Service Framework numbers */
.framework-num-badge {
    background-color: rgba(94, 25, 101, 0.08);
    color: var(--primary-color, #621B66);
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-agreements-section ul li:hover .framework-num-badge {
    background-color: var(--primary-color, #621B66);
    color: #ffffff;
    transform: scale(1.1);
}

/* Helpful Notice Box */
.helpful-notice-box {
    background-color: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(1, 83, 106, 0.04);
    transition: all 0.3s ease;
}

.helpful-notice-box:hover {
    box-shadow: 0 25px 50px rgba(1, 83, 106, 0.08);
    border-color: var(--secondary-color, #01536A);
}

.helpful-notice-box h3 {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 750;
    font-size: 1.6rem;
}

.helpful-notice-box ul li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.helpful-notice-box ul li a {
    color: #495057;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.helpful-notice-box ul li a:hover {
    color: var(--primary-color, #621B66);
}

/* CTA Banner Section */
.cta-banner-panel {
    background: linear-gradient(135deg, var(--primary-color, #621B66) 0%, #4a124e 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(94, 25, 101, 0.15);
}

/* Billing strip rows redesigned */
.billing-strip-row {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.billing-strip-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background-color: var(--primary-color, #621B66);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.billing-strip-row:nth-child(2)::before { background-color: var(--secondary-color, #01536A); }
.billing-strip-row:nth-child(3)::before { background-color: #0bb58c; }

.billing-strip-row:hover {
    transform: translateX(8px);
    box-shadow: 0 15px 35px rgba(1, 83, 106, 0.08) !important;
}

.billing-strip-row:hover::before {
    transform: scaleY(1);
}

@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid rgba(1, 83, 106, 0.1) !important;
    }
}

/* Pricing Page Custom Tile Cards */
.pricing-tile-card {
    background: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.06);
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 15px 45px rgba(1, 83, 106, 0.03);
}

.pricing-tile-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--primary-color, #621B66);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.pricing-tile-card.pricing-card-teal::after {
    background-color: var(--secondary-color, #01536A);
}

.pricing-tile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(1, 83, 106, 0.08);
    border-color: rgba(94, 25, 101, 0.15);
}

.pricing-tile-card:hover::after {
    transform: scaleX(1);
}

.pricing-tile-card .category-badge {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
}

.pricing-tile-card.pricing-card-purple .category-badge {
    background-color: rgba(94, 25, 101, 0.08);
    color: var(--primary-color, #621B66);
}

.pricing-tile-card.pricing-card-teal .category-badge {
    background-color: rgba(1, 83, 106, 0.08);
    color: var(--secondary-color, #01536A);
}

.pricing-tile-card h3 {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.1rem;
    font-weight: 750;
    margin-bottom: 20px;
}

.pricing-tile-card p {
    font-size: 1rem;
    line-height: 1.65;
    color: #6c757d;
}

.pricing-tile-card .watermark-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    opacity: 0.03;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.pricing-tile-card:hover .watermark-icon {
    transform: scale(1.1) rotate(10deg);
    opacity: 0.06;
}

/* Safety Check Cards */
.safety-check-card {
    background: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.06);
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: 0 10px 30px rgba(1, 83, 106, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    position: relative;
}

.safety-check-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(1, 83, 106, 0.08);
}

.safety-check-card .step-badge {
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 30px;
    display: inline-block;
}

.safety-check-card.card-purple { border-top: 4px solid var(--primary-color, #621B66); }
.safety-check-card.card-purple .step-badge { background-color: rgba(94, 25, 101, 0.08); color: var(--primary-color, #621B66); }

.safety-check-card.card-teal { border-top: 4px solid var(--secondary-color, #01536A); }
.safety-check-card.card-teal .step-badge { background-color: rgba(1, 83, 106, 0.08); color: var(--secondary-color, #01536A); }

.safety-check-card.card-green { border-top: 4px solid #0bb58c; }
.safety-check-card.card-green .step-badge { background-color: rgba(11, 181, 140, 0.08); color: #0bb58c; }

.safety-check-card.card-lime { border-top: 4px solid #71bf44; }
.safety-check-card.card-lime .step-badge { background-color: rgba(113, 191, 68, 0.08); color: #71bf44; }

.safety-check-card h3 {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.5rem;
    font-weight: 750;
    margin-bottom: 12px;
}

.safety-check-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Red Hero Button Style Details */
.btn-red-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #dc3545;
    border-radius: 30px;
    border: 4px solid #dc3545;
    box-shadow: 4px 4px 8px rgba(220, 53, 69, 0.4);
    filter: url('#rough-border');
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-red-hero {
    color: #ffffff !important;
}

.btn-red-hero:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-red-hero:hover::before {
    background-color: #bd2130;
    border-color: #bd2130;
}

/* Custom Hover Elevation */
.hover-translate-y {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.hover-translate-y:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(1, 83, 106, 0.08) !important;
    border-color: rgba(94, 25, 101, 0.15) !important;
}

/* Unique Pipeline Connection Flow */
.feedback-pipeline-section {
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .pipeline-row {
        position: relative;
    }
    .pipeline-row::before {
        content: '';
        position: absolute;
        top: 110px;
        left: 15%;
        right: 15%;
        height: 4px;
        background-image: repeating-linear-gradient(to right, rgba(1, 83, 106, 0.25) 0px, rgba(1, 83, 106, 0.25) 6px, transparent 6px, transparent 12px);
        z-index: 0;
    }
}

@media (min-width: 992px) {
    .stagger-down {
        transform: translateY(40px);
    }
}

.feedback-pipeline-card {
    background: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.06);
    border-radius: 24px;
    padding: 45px 35px;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(1, 83, 106, 0.03);
    overflow: hidden;
}

.feedback-pipeline-card.card-purple { border-top: 4px solid var(--primary-color, #621B66); }
.feedback-pipeline-card.card-teal { border-top: 4px solid var(--secondary-color, #01536A); }
.feedback-pipeline-card.card-green { border-top: 4px solid #0bb58c; }

/* Custom expanding bottom border highlight on hover */
.feedback-pipeline-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color, #621B66);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.feedback-pipeline-card.card-teal::after { background-color: var(--secondary-color, #01536A); }
.feedback-pipeline-card.card-green::after { background-color: #0bb58c; }

.feedback-pipeline-card:hover::after {
    transform: scaleX(1);
}

.feedback-pipeline-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(94, 25, 101, 0.08);
}

/* Stagger down card hover needs to account for initial transform */
@media (min-width: 992px) {
    .stagger-down:hover {
        transform: translateY(28px) !important;
    }
}

.feedback-pipeline-card .pipeline-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-color, #621B66);
    background-color: rgba(94, 25, 101, 0.08);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 8px rgba(94, 25, 101, 0.1);
}

.feedback-pipeline-card:hover .pipeline-num {
    background-color: var(--primary-color, #621B66);
    color: #ffffff;
    transform: scale(1.1);
}

.feedback-pipeline-card h3 {
    color: var(--secondary-color, #01536A);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2rem;
    font-weight: 750;
    margin-bottom: 15px;
}

.feedback-pipeline-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #6c757d;
    margin-bottom: 0;
}

.feedback-pipeline-card .ghost-num {
    position: absolute;
    bottom: -15px;
    right: 15px;
    font-size: 7.5rem;
    font-weight: 900;
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--secondary-color, #01536A);
    opacity: 0.02;
    line-height: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}

.feedback-pipeline-card:hover .ghost-num {
    opacity: 0.05;
    transform: scale(1.05) translateY(-5px);
}

/* Privacy page data row hover state */
.privacy-data-row {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border-left: 4px solid transparent;
    padding-left: 0;
}
.privacy-data-row:hover {
    background-color: rgba(1, 83, 106, 0.02);
    border-left-color: var(--secondary-color, #01536A);
    padding-left: 20px;
}

/* Privacy Grid Cards */
.privacy-grid-card {
    background: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.06);
    border-left: 5px solid var(--primary-color, #621B66) !important;
    border-radius: 20px;
    padding: 45px 40px;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 30px rgba(1, 83, 106, 0.02);
    overflow: hidden;
}

.privacy-grid-card.border-purple { border-left-color: var(--primary-color, #621B66) !important; }
.privacy-grid-card.border-teal { border-left-color: var(--secondary-color, #01536A) !important; }
.privacy-grid-card.border-green { border-left-color: #0bb58c !important; }
.privacy-grid-card.border-lime { border-left-color: #71bf44 !important; }

/* Glowing background animations */
.privacy-grid-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}
.privacy-grid-card.border-purple::before { background: linear-gradient(135deg, #ffffff 0%, rgba(94, 25, 101, 0.02) 100%); }
.privacy-grid-card.border-teal::before { background: linear-gradient(135deg, #ffffff 0%, rgba(1, 83, 106, 0.02) 100%); }
.privacy-grid-card.border-green::before { background: linear-gradient(135deg, #ffffff 0%, rgba(11, 181, 140, 0.02) 100%); }
.privacy-grid-card.border-lime::before { background: linear-gradient(135deg, #ffffff 0%, rgba(113, 191, 68, 0.02) 100%); }

.privacy-grid-card:hover::before {
    opacity: 1;
}

.privacy-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(1, 83, 106, 0.06);
}

.privacy-grid-card .watermark-icon {
    position: absolute;
    right: -15px;
    bottom: -15px;
    opacity: 0.02;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 1;
}
.privacy-grid-card:hover .watermark-icon {
    opacity: 0.06;
    transform: scale(1.1) rotate(-5deg);
}

.privacy-grid-card .card-step-tag {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}
.privacy-grid-card:hover .card-step-tag {
    opacity: 0.8;
}

/* Business data capsule style */
.business-data-capsule {
    background-color: rgba(1, 83, 106, 0.02);
    border-left: 4px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.business-data-capsule:hover {
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(1, 83, 106, 0.05);
    border-left-color: var(--secondary-color, #01536A);
    transform: translateX(5px);
}

/* Business highlight cards */
.business-highlight-card {
    background: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.06);
    border-radius: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 30px rgba(1, 83, 106, 0.02);
    overflow: hidden;
}

.business-highlight-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 4px;
    background-color: var(--primary-color, #621B66);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.business-highlight-card.card-teal::after { background-color: var(--secondary-color, #01536A); }
.business-highlight-card.card-green::after { background-color: #0bb58c; }

.business-highlight-card:hover::after {
    transform: scaleX(1);
}

.business-highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(1, 83, 106, 0.05);
    border-color: rgba(94, 25, 101, 0.12);
}

.business-highlight-card .icon-wrap {
    transition: all 0.3s ease;
}
.business-highlight-card:hover .icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.business-highlight-card .card-step-tag {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6c757d;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}
.business-highlight-card:hover .card-step-tag {
    opacity: 0.8;
}

/* NDIS Info Grid Cards */
.ndis-grid-card {
    background: #ffffff;
    border: 1px solid rgba(1, 83, 106, 0.06);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 30px rgba(1, 83, 106, 0.02);
    overflow: hidden;
}

.ndis-grid-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}
.ndis-grid-card.card-purple::before { background: linear-gradient(135deg, #ffffff 0%, rgba(94, 25, 101, 0.02) 100%); }
.ndis-grid-card.card-teal::before { background: linear-gradient(135deg, #ffffff 0%, rgba(1, 83, 106, 0.02) 100%); }
.ndis-grid-card.card-green::before { background: linear-gradient(135deg, #ffffff 0%, rgba(11, 181, 140, 0.02) 100%); }
.ndis-grid-card.card-lime::before { background: linear-gradient(135deg, #ffffff 0%, rgba(113, 191, 68, 0.02) 100%); }

.ndis-grid-card:hover::before {
    opacity: 1;
}

.ndis-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(1, 83, 106, 0.06);
}

.ndis-grid-card.card-purple { border-top: 4px solid var(--primary-color, #621B66); }
.ndis-grid-card.card-teal { border-top: 4px solid var(--secondary-color, #01536A); }
.ndis-grid-card.card-green { border-top: 4px solid #0bb58c; }
.ndis-grid-card.card-lime { border-top: 4px solid #71bf44; }

.ndis-grid-card .watermark-icon {
    position: absolute;
    right: -15px;
    bottom: -15px;
    opacity: 0.02;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 1;
}
.ndis-grid-card:hover .watermark-icon {
    opacity: 0.06;
    transform: scale(1.1) rotate(-5deg);
}

.ndis-grid-card .card-step-tag {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}
.ndis-grid-card:hover .card-step-tag {
    opacity: 0.8;
}

/* Split layout NDIS styling */
/* Premium Tab Pill Styling */
.premium-tab-pill {
    background-color: #ffffff;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(1, 83, 106, 0.04) !important;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.premium-tab-pill .pill-number {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color, #01536A);
    opacity: 0.3;
    transition: all 0.4s ease;
}

.premium-tab-pill .pill-tag {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--primary-color, #621B66);
    opacity: 0.65;
    transition: all 0.4s ease;
}

.premium-tab-pill .pill-title {
    color: var(--secondary-color, #01536A);
    transition: all 0.4s ease;
}

.premium-tab-pill .glow-indicator {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color, #621B66);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Tab Hover (Non-active) */
.premium-tab-pill:hover:not(.active) {
    transform: translateX(6px);
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(1, 83, 106, 0.04) !important;
    border-color: rgba(1, 83, 106, 0.08) !important;
}

/* Active State - Lights up with step-specific flow gradients! */
.premium-tab-pill.active.pill-flow-purple {
    background: linear-gradient(135deg, var(--primary-color, #621B66) 0%, #8e2a93 100%) !important;
    box-shadow: 0 15px 35px rgba(98, 27, 102, 0.15) !important;
    border-color: transparent !important;
}

.premium-tab-pill.active.pill-flow-teal {
    background: linear-gradient(135deg, var(--secondary-color, #01536A) 0%, #027a9b 100%) !important;
    box-shadow: 0 15px 35px rgba(1, 83, 106, 0.15) !important;
    border-color: transparent !important;
}

.premium-tab-pill.active.pill-flow-green {
    background: linear-gradient(135deg, #0bb58c 0%, #0ee0ae 100%) !important;
    box-shadow: 0 15px 35px rgba(11, 181, 140, 0.15) !important;
    border-color: transparent !important;
}

.premium-tab-pill.active.pill-flow-lime {
    background: linear-gradient(135deg, #71bf44 0%, #8ee858 100%) !important;
    box-shadow: 0 15px 35px rgba(113, 191, 68, 0.15) !important;
    border-color: transparent !important;
}

.premium-tab-pill.active.pill-flow-purple-alt {
    background: linear-gradient(135deg, var(--primary-color, #621B66) 0%, #8e2a93 100%) !important;
    box-shadow: 0 15px 35px rgba(98, 27, 102, 0.15) !important;
    border-color: transparent !important;
}

.premium-tab-pill.active .pill-number {
    opacity: 1;
    color: #ffffff !important;
    transform: scale(1.1);
}

.premium-tab-pill.active .pill-tag {
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.75) !important;
}

.premium-tab-pill.active .pill-title {
    color: #ffffff !important;
}

.premium-tab-pill.active .glow-indicator {
    opacity: 1;
    transform: scale(1);
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Premium Showcase Card Styling */
.premium-showcase-card {
    border: 1px solid rgba(1, 83, 106, 0.04) !important;
    box-shadow: 0 20px 50px rgba(1, 83, 106, 0.03) !important;
    min-height: 480px;
    background-color: #ffffff;
}

.showcase-icon-bg {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-glow-layer {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 83, 106, 0.03) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Badge pills */
.badge-step-pill {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
}
.bg-teal-light { background-color: rgba(1, 83, 106, 0.05); color: var(--secondary-color, #01536A); }
.bg-purple-light { background-color: rgba(94, 25, 101, 0.05); color: var(--primary-color, #621B66); }
.bg-green-light { background-color: rgba(11, 181, 140, 0.05); color: #0bb58c; }
.bg-lime-light { background-color: rgba(113, 191, 68, 0.05); color: #71bf44; }

.mono-step-tag {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6c757d;
    opacity: 0.4;
}

/* Premium NDIS Timeline Styling */
.timeline-item {
    position: relative;
    z-index: 2;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 60px; /* Start below the top node */
    left: 30px; /* Perfectly centered inside the 60px node */
    width: 4px;
    height: calc(100% + 3.25rem); /* Extend down to the next node */
    background: linear-gradient(180deg, #621B66 0%, #01536A 100%);
    border-radius: 2px;
    opacity: 0.3;
    z-index: 1;
    transform: translateX(-50%);
}

/* segment backgrounds following color combinations */
.timeline-item:nth-child(1)::before { background: linear-gradient(180deg, #621B66 0%, #01536A 100%); }
.timeline-item:nth-child(2)::before { background: linear-gradient(180deg, #01536A 0%, #0bb58c 100%); }
.timeline-item:nth-child(3)::before { background: linear-gradient(180deg, #0bb58c 0%, #71bf44 100%); }
.timeline-item:nth-child(4)::before { background: linear-gradient(180deg, #71bf44 0%, #621B66 100%); }
.timeline-item:last-child::before {
    background: #621B66;
    height: calc(100% - 60px);
}

.timeline-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.15rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    border: 3px solid #ffffff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Node flow colors active states */
.node-purple { border-color: #621B66; color: #621B66; }
.node-teal { border-color: #01536A; color: #01536A; }
.node-green { border-color: #0bb58c; color: #0bb58c; }
.node-lime { border-color: #71bf44; color: #71bf44; }
.node-purple-alt { border-color: #621B66; color: #621B66; }

.timeline-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline-item:hover .timeline-card {
    transform: translateX(6px);
    box-shadow: 0 20px 45px rgba(1, 83, 106, 0.06) !important;
}

.timeline-item:hover .timeline-node {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(1, 83, 106, 0.1);
}

/* Make nodes glow on hover with their respective colors! */
.timeline-item:hover .node-purple { background-color: #621B66; color: #ffffff; }
.timeline-item:hover .node-teal { background-color: #01536A; color: #ffffff; }
.timeline-item:hover .node-green { background-color: #0bb58c; color: #ffffff; }
.timeline-item:hover .node-lime { background-color: #71bf44; color: #ffffff; }
.timeline-item:hover .node-purple-alt { background-color: #621B66; color: #ffffff; }

@media (max-width: 767.98px) {
    .timeline-item::before {
        left: 22px;
        top: 44px;
    }
    .timeline-item:last-child::before {
        height: calc(100% - 44px);
    }
    .timeline-node {
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
    }
    .timeline-item {
        gap: 12px !important;
    }
}

/* WPForms integration with enquiry section styles */
.enquiry-section .wpforms-container {
    margin: 0 !important;
    padding: 0 !important;
}
.enquiry-section .wpforms-form {
    display: block !important;
}
.enquiry-section .wpforms-field-container {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
}
.enquiry-section .wpforms-field {
    padding: 0 8px !important;
    margin-bottom: 15px !important;
    width: 50% !important; /* Default half width for fields */
    clear: none !important;
    box-sizing: border-box !important;
}
/* Style text area (7th field or textarea) as full width */
.enquiry-section .wpforms-field.wpforms-field-textarea,
.enquiry-section .wpforms-field:nth-child(7),
.enquiry-section .wpforms-field:nth-child(n+7) {
    width: 100% !important;
}
@media (max-width: 767px) {
    .enquiry-section .wpforms-field {
        width: 100% !important;
    }
}
.enquiry-section .wpforms-field-label {
    display: block !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.4rem !important;
    color: #ffffff !important;
}
.enquiry-section .wpforms-field input,
.enquiry-section .wpforms-field select,
.enquiry-section .wpforms-field textarea {
    width: 100% !important;
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    font-size: 0.95rem !important;
    color: #333333 !important;
    box-sizing: border-box !important;
    height: auto !important;
}
.enquiry-section .wpforms-field textarea {
    resize: none !important;
    height: 140px !important;
}
.enquiry-section .wpforms-field input:focus,
.enquiry-section .wpforms-field select:focus,
.enquiry-section .wpforms-field textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25) !important;
    outline: none !important;
    background-color: #ffffff !important;
}
.enquiry-section .wpforms-submit-container {
    width: 100% !important;
    padding: 0 8px !important;
    margin: 0 !important;
    clear: both !important;
}
.enquiry-section button.wpforms-submit {
    width: 100% !important;
    position: relative !important;
    background-color: transparent !important;
    color: var(--secondary-color, #01536A) !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 14px 30px !important;
    border: none !important;
    outline: none !important;
    z-index: 1 !important;
    display: inline-block !important;
    transition: color 0.3s ease !important;
    box-shadow: none !important;
}
.enquiry-section button.wpforms-submit::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: #ffffff !important;
    border-radius: 30px !important;
    border: 4px solid #ffffff !important;
    box-shadow: 4px 4px 8px 0px rgba(0, 104, 163, 0.56) !important;
    filter: url('#rough-border') !important;
    z-index: -1 !important;
    transition: all 0.3s ease !important;
}
.enquiry-section button.wpforms-submit:hover {
    color: #ffffff !important;
}
.enquiry-section button.wpforms-submit:hover::before {
    background-color: var(--secondary-color, #01536A) !important;
    border-color: #ffffff !important;
}

/* Contact & Referral Page Sections Styling */
.contact-page-section,
.referral-dashboard-section {
    background-color: #f6faf9;
}

/* Premium Dark Info Panels */
.contact-info-panel,
.referral-info-panel {
    background: linear-gradient(135deg, #01536A 0%, #00303c 100%);
    position: relative;
    z-index: 1;
    border-radius: 20px !important;
}

/* Decorative glowing circles */
.bg-blur-circle-1 {
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(11, 181, 140, 0.15);
    border-radius: 50%;
    filter: blur(50px);
    top: -50px;
    right: -50px;
    z-index: 2;
    pointer-events: none;
}
.bg-blur-circle-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(98, 27, 102, 0.12);
    border-radius: 50%;
    filter: blur(40px);
    bottom: -30px;
    left: -50px;
    z-index: 2;
    pointer-events: none;
}

.contact-info-panel .info-tag,
.referral-info-panel .info-tag {
    font-size: 0.8rem;
    letter-spacing: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    color: #0bb58c;
}

.info-icon-box {
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #0bb58c;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.info-item-row:hover .info-icon-box {
    background-color: #0bb58c;
    color: #ffffff;
    transform: rotate(15deg) scale(1.1);
}

.provider-info-panel-bottom {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
}

/* Premium Form Card */
.contact-form-premium-card,
.referral-form-premium-card {
    border-radius: 20px !important;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 45px rgba(1, 83, 106, 0.06) !important;
}

.card-accent-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #01536A 0%, #0bb58c 50%, #621B66 100%);
}

.contact-page-section .wpforms-container,
.referral-dashboard-section .wpforms-container {
    margin: 0 !important;
    padding: 0 !important;
}
.contact-page-section .wpforms-form,
.referral-dashboard-section .wpforms-form {
    display: block !important;
}
.contact-page-section .wpforms-field-container,
.referral-dashboard-section .wpforms-field-container {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
}
.contact-page-section .wpforms-field,
.referral-dashboard-section .wpforms-field {
    padding: 0 8px !important;
    margin-bottom: 20px !important;
    width: 50% !important;
    clear: none !important;
    box-sizing: border-box !important;
}
.contact-page-section .wpforms-field.wpforms-field-textarea,
.referral-dashboard-section .wpforms-field.wpforms-field-textarea,
.referral-dashboard-section .wpforms-field.wpforms-field-checkbox {
    width: 100% !important;
}
@media (max-width: 767px) {
    .contact-page-section .wpforms-field,
    .referral-dashboard-section .wpforms-field {
        width: 100% !important;
    }
}

.contact-page-section .wpforms-field-label,
.referral-dashboard-section .wpforms-field-label {
    display: block !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    color: #333333 !important;
}
.contact-page-section .wpforms-field input:not([type="checkbox"]):not([type="radio"]),
.contact-page-section .wpforms-field select,
.contact-page-section .wpforms-field textarea,
.referral-dashboard-section .wpforms-field input:not([type="checkbox"]):not([type="radio"]),
.referral-dashboard-section .wpforms-field select,
.referral-dashboard-section .wpforms-field textarea {
    width: 100% !important;
    background-color: #fcfdfe !important;
    border: 1px solid rgba(1, 83, 106, 0.12) !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    color: #111111 !important;
    box-sizing: border-box !important;
    height: auto !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.contact-page-section input::placeholder,
.contact-page-section textarea::placeholder,
.referral-dashboard-section input::placeholder,
.referral-dashboard-section textarea::placeholder {
    color: #888888 !important;
    opacity: 1 !important;
}
.contact-page-section .wpforms-field textarea,
.referral-dashboard-section .wpforms-field textarea {
    resize: none !important;
    height: 150px !important;
}
.contact-page-section .wpforms-field input:not([type="checkbox"]):not([type="radio"]):focus,
.contact-page-section .wpforms-field select:focus,
.contact-page-section .wpforms-field textarea:focus,
.referral-dashboard-section .wpforms-field input:not([type="checkbox"]):not([type="radio"]):focus,
.referral-dashboard-section .wpforms-field select:focus,
.referral-dashboard-section .wpforms-field textarea:focus {
    box-shadow: 0 10px 25px rgba(94, 25, 101, 0.12), 0 0 0 3.5px rgba(94, 25, 101, 0.06) !important;
    border-color: #5E1965 !important;
    background-color: #ffffff !important;
    outline: none !important;
    transform: translateY(-2px);
}

/* Checkbox specific layout for WPForms */
.referral-dashboard-section .wpforms-field.wpforms-field-checkbox ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.referral-dashboard-section .wpforms-field.wpforms-field-checkbox li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 5px !important;
}
.referral-dashboard-section .wpforms-field.wpforms-field-checkbox input {
    width: auto !important;
    margin: 4px 0 0 0 !important;
    flex-shrink: 0 !important;
}
.referral-dashboard-section .wpforms-field.wpforms-field-checkbox label,
.referral-dashboard-section .wpforms-field.wpforms-field-checkbox li label {
    display: inline !important;
    font-size: 0.85rem !important;
    color: #666666 !important;
    font-weight: normal !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* Premium Gradient Button */
.contact-page-section .wpforms-submit-container,
.referral-dashboard-section .wpforms-submit-container {
    width: 100% !important;
    padding: 0 8px !important;
    margin: 10px 0 0 0 !important;
    clear: both !important;
    text-align: left !important;
}
.contact-page-section button.wpforms-submit,
.contact-page-section .btn-teal-premium,
.referral-dashboard-section button.wpforms-submit,
.referral-dashboard-section .btn-teal-premium {
    width: auto !important;
    position: relative !important;
    background-color: transparent !important;
    color: #ffffff !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 18px 45px !important;
    border: none !important;
    outline: none !important;
    z-index: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    cursor: pointer !important;
}
.contact-page-section button.wpforms-submit::before,
.contact-page-section .btn-teal-premium::before,
.referral-dashboard-section button.wpforms-submit::before,
.referral-dashboard-section .btn-teal-premium::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: #5E1965 !important;
    border-radius: 30px !important;
    border: 4px solid #5E1965 !important;
    box-shadow: 4px 4px 8px 0px rgba(94, 25, 101, 0.4) !important;
    filter: url('#rough-border') !important;
    z-index: -1 !important;
    transition: all 0.3s ease !important;
    display: block !important;
}
.contact-page-section button.wpforms-submit:hover,
.contact-page-section .btn-teal-premium:hover,
.referral-dashboard-section button.wpforms-submit:hover,
.referral-dashboard-section .btn-teal-premium:hover {
    color: #5E1965 !important;
    transform: translateY(-2px);
}
.contact-page-section button.wpforms-submit:hover::before,
.contact-page-section .btn-teal-premium:hover::before,
.referral-dashboard-section button.wpforms-submit:hover::before,
.referral-dashboard-section .btn-teal-premium:hover::before {
    background-color: #ffffff !important;
    border-color: #5E1965 !important;
}

/* Luxury Centered Referral Canvas Styling */
.referral-dashboard-section {
    background-color: #f7faf9;
    background-image: radial-gradient(circle at top left, rgba(94, 25, 101, 0.03) 0%, transparent 40%),
                      radial-gradient(circle at bottom right, rgba(11, 181, 140, 0.02) 0%, transparent 40%);
}

.referral-form-box-left {
    border-radius: 24px !important;
    box-shadow: 0 25px 65px rgba(1, 83, 106, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background-color: #ffffff !important;
    position: relative;
    z-index: 2;
}

.referral-form-box-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #5E1965 0%, #01536A 50%, #0bb58c 100%);
    z-index: 4;
}

/* Right Stacked Information Cards */
.referral-info-stack-right {
    z-index: 10;
}

.info-card-deck {
    background-color: #ffffff;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.01) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.info-card-deck:hover {
    transform: translateY(-3px);
}

/* Card 1: Contact Channels (Purple Accent) */
.info-card-deck.contact-card-purple {
    background-color: #ffffff !important;
    border-left: 5px solid #5E1965 !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.info-card-deck.contact-card-purple:hover {
    box-shadow: 0 15px 35px rgba(94, 25, 101, 0.08) !important;
    border-color: rgba(94, 25, 101, 0.15) !important;
}

/* Card 2: Priority Review (Teal Accent) */
.info-card-deck.priority-card-mint {
    background-color: #ffffff !important;
    border-left: 5px solid #01536A !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.info-card-deck.priority-card-mint:hover {
    box-shadow: 0 15px 35px rgba(1, 83, 106, 0.08) !important;
    border-color: rgba(1, 83, 106, 0.15) !important;
}

/* Card 3: Emergency Notice (Red Accent) */
.info-card-deck.emergency-card-crimson {
    background-color: #ffffff !important;
    border-left: 5px solid #ff5252 !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.info-card-deck.emergency-card-crimson:hover {
    box-shadow: 0 15px 35px rgba(255, 82, 82, 0.08) !important;
    border-color: rgba(255, 82, 82, 0.15) !important;
}

/* Visual Form Section Dividers */
.form-section-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border-bottom: 2px solid #f6faf9 !important;
    padding-bottom: 12px !important;
    margin-bottom: 30px !important;
    width: 100% !important;
}

.form-section-header h4 {
    margin: 0 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.section-icon-box {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}.max-width-600 {
    max-width: 600px;
}
.max-width-500 {
    max-width: 500px;
}

/* Premium Button Overrides */
.btn-purple-premium {
    width: auto !important;
    position: relative !important;
    background-color: transparent !important;
    color: #ffffff !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 18px 45px !important;
    border: none !important;
    outline: none !important;
    z-index: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

.btn-purple-premium::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: #5E1965 !important;
    border-radius: 30px !important;
    border: 4px solid #5E1965 !important;
    box-shadow: 4px 4px 8px 0px rgba(94, 25, 101, 0.3) !important;
    filter: url('#rough-border') !important;
    z-index: -1 !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.btn-purple-premium:hover {
    color: #5E1965 !important;
    transform: translateY(-2px);
}

.btn-purple-premium:hover::before {
    background-color: #ffffff !important;
    border-color: #5E1965 !important;
}

/* 404 Canvas Card */
.error-404-section {
    background-color: #f7faf9;
}

.error-canvas-card {
    border-radius: 24px !important;
    box-shadow: 0 30px 80px rgba(1, 83, 106, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Success Pulse Rings */
.thank-you-section {
    background-color: #f7faf9;
}

.thank-you-canvas-card {
    border-radius: 24px !important;
    box-shadow: 0 30px 80px rgba(1, 83, 106, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.success-ring-wrapper {
    width: 90px;
    height: 90px;
}

.pulse-ring-glow {
    width: 90px;
    height: 90px;
    background-color: rgba(11, 181, 140, 0.15);
    border-radius: 50%;
    animation: successPulse 2s infinite ease-in-out;
    z-index: 1;
}

@keyframes successPulse {
    0% {
        transform: scale(0.85);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Horizontal Thank-You Roadmap */
.thanks-roadmap-row {
    z-index: 2;
}

.roadmap-track-line {
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #eaeaea;
    z-index: 1;
    border-radius: 2px;
}

@media (max-width: 767px) {
    .roadmap-track-line {
        display: none;
    }
}

.roadmap-step-node {
    z-index: 2;
}

.roadmap-step-node .step-dot-wrapper {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 3;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.roadmap-step-node.active .step-dot-wrapper {
    background-color: #0bb58c !important;
    box-shadow: 0 0 15px rgba(11, 181, 140, 0.4);
}

.roadmap-step-node.next-step .step-dot-wrapper {
    border-color: #01536A !important;
    color: #01536A !important;
    box-shadow: 0 0 15px rgba(1, 83, 106, 0.1);
}








/* Footer Social Icons */
.site-footer .footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-social-icon:hover {
    background-color: #00b074;
    color: #ffffff;
    transform: translateY(-3px);
    border-color: #00b074;
    box-shadow: 0 4px 10px rgba(0, 176, 116, 0.3);
}


.top-social-icons a {
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.top-social-icons a:hover {
    transform: scale(1.2);
    opacity: 1;
}

/* Footer Marquee Bar */
.site-footer .footer-marquee-bar {
    width: 100%;
    background-color: var(--primary-color, #621B66);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 0;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.site-footer .footer-custom-marquee {
    width: 100%;
    display: block;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}


/* --- Accessibility Feature Styles --- */

/* Floating Toggle Button */
.accessibility-toggle-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 99;
    background-color: #01536A;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px 10px 14px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.accessibility-toggle-btn:hover {
    background-color: #621B66;
    transform: scale(1.05);
}

.accessibility-icon-circle {
    background-color: #ffffff;
    color: #01536A;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Settings Panel */
.accessibility-settings-panel {
    position: fixed;
    bottom: 85px;
    left: 25px;
    z-index: 10000;
    width: 320px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.accessibility-settings-panel.open {
    display: flex;
}

.accessibility-header {
    padding: 18px;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accessibility-header h5 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #333333;
}

.accessibility-close-btn {
    background-color: #f1f5f9;
    border: none;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.accessibility-close-btn:hover {
    background-color: #e2e8f0;
}

.accessibility-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 18px;
}

.accessibility-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 10px;
    background: none;
    border: none;
    border-radius: 8px;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: #01536A;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.accessibility-option:hover {
    background-color: #f8fafc;
    color: #621B66;
}

.accessibility-option.active {
    background-color: #f0fdf4;
    color: #166534;
}

.accessibility-option-icon {
    width: 24px;
    font-weight: 700;
    display: inline-block;
    margin-right: 8px;
    text-align: center;
}

/* Accessibility Modifiers */

/* Grayscale */
html.acc-grayscale {
    filter: grayscale(100%) !important;
}

/* High Contrast */
html.acc-high-contrast {
    background-color: #000000 !important;
    color: #ffff00 !important;
}
html.acc-high-contrast body,
html.acc-high-contrast section,
html.acc-high-contrast div,
html.acc-high-contrast p,
html.acc-high-contrast h1,
html.acc-high-contrast h2,
html.acc-high-contrast h3,
html.acc-high-contrast h4,
html.acc-high-contrast h5,
html.acc-high-contrast h6,
html.acc-high-contrast span,
html.acc-high-contrast li,
html.acc-high-contrast label {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}
html.acc-high-contrast a {
    color: #00ffff !important;
    text-decoration: underline !important;
}

/* Negative Contrast */
html.acc-negative-contrast {
    filter: invert(100%) hue-rotate(180deg) !important;
}
html.acc-negative-contrast img,
html.acc-negative-contrast iframe,
html.acc-negative-contrast video {
    filter: invert(100%) hue-rotate(180deg) !important;
}

/* Light Background */
html.acc-light-background {
    background-color: #ffffff !important;
    color: #000000 !important;
}
html.acc-light-background body,
html.acc-light-background section,
html.acc-light-background div:not(.accessibility-settings-panel):not(.accessibility-header):not(.accessibility-body),
html.acc-light-background p,
html.acc-light-background h1,
html.acc-light-background h2,
html.acc-light-background h3,
html.acc-light-background h4,
html.acc-light-background h5,
html.acc-light-background h6,
html.acc-light-background span,
html.acc-light-background li,
html.acc-light-background label {
    background: #ffffff !important;
    color: #000000 !important;
    background-image: none !important;
}
html.acc-light-background a {
    color: #0000ee !important;
}

/* Underline Links */
html.acc-links-underline a {
    text-decoration: underline !important;
}

/* Readable Font */
html.acc-readable-font,
html.acc-readable-font *,
html.acc-readable-font body,
html.acc-readable-font p,
html.acc-readable-font h1,
html.acc-readable-font h2,
html.acc-readable-font h3,
html.acc-readable-font h4,
html.acc-readable-font h5,
html.acc-readable-font h6,
html.acc-readable-font span,
html.acc-readable-font a,
html.acc-readable-font li {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Reduce Motion */
html.acc-reduce-motion *,
html.acc-reduce-motion *::before,
html.acc-reduce-motion *::after {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
}

/* Font Scaling classes */
html.acc-text-zoom-1 { font-size: 110% !important; }
html.acc-text-zoom-2 { font-size: 120% !important; }
html.acc-text-zoom-3 { font-size: 130% !important; }
html.acc-text-zoom-4 { font-size: 140% !important; }
html.acc-text-zoom-minus-1 { font-size: 90% !important; }
html.acc-text-zoom-minus-2 { font-size: 80% !important; }








