/*
Theme Name: WizzIT Modern
Author: Pixel Lantern
Description: Modern light/serif retheme of WizzIT Computer Services, built on the original WizzIT Theme (all data logic unchanged, styling only).
Version: 1.0.0
*/

/* --- Keyframes for Animations --- */
@keyframes slide-down-hero {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes slide-in-left-h1 {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-in-content {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



/* --- General Styles --- */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #212529;
    background-color: #fff;
}

html,
body {
    scroll-behavior: auto;
    /* Ensure native smooth scrolling is disabled for Lenis */
}

#main {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
    /* Smooth transition for fade-in */
}

/* --- Utility Classes --- */
.container {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.logo-text {
    font-family: 'Lobster Two', cursive;
    text-transform: lowercase;
    font-size: 2rem;
    font-weight: 600;
}


/* --- Hero Section --- */
.hero-section {
    padding: 60px 0 120px 0;
    /* Increased bottom padding for the angle */
    /*background-image: linear-gradient(to right, #06beb6, #48b1bf); /* Subtle gradient */
    color: #FFFFFF;
    /* Dark text */
    min-height: auto;
    /* Removed direct background and animation, now handled by .hero-angled-bg */
    position: relative;
    /* For positioning .hero-angled-bg */
    overflow: hidden;
    /* Hide skewed parts of .hero-angled-bg */
    z-index: 2;
    /* Ensure hero section is above services section */

    /* Initial state for slide-down animation */
    transform: translateY(-100%);
    animation: slide-down-hero 0.3s ease-out 0s forwards;
}

.hero-angled-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 20px);
    /* Slightly less than full height to show shadow */
    background-color: transparent;
    /* Changed to transparent to allow gradient to show */
    background-image: linear-gradient(to right, #b8085d, #FF6A00);
    /* New gradient as first layer */
    transform-origin: bottom left;
    transform: skewY(-2deg);
    /* Adjust angle as needed */

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    /* Shadow from angled background */
    z-index: 0;
    /* Behind content */
}

.hero-section>.container {
    /* Target container directly inside hero-section */
    position: relative;
    z-index: 1;
    /* Ensure content is above the skewed background */
}

.hero-content-wrapper {
    position: relative;
    /* Ensure content is on top of skewed background */
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;

}

.hero-content {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Reverted to flex-start to left-align text */
}

.hero-logo-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    margin-bottom: 30px;
    opacity: 0;
    /* Initial state for fade-in */
    animation: fade-in-content 0.2s ease-in 0.1s forwards;
}

.hero-image-container {
    opacity: 0;
    /* Initial state for fade-in */
    animation: fade-in-content 0.3s ease-in 0.15s forwards;
    flex: 1 1 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero-title {
    font-size: 3.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 10px;
    /* Initial state for slide-in animation */
    transform: translateX(-100%);
    opacity: 0;
    animation: slide-in-left-h1 0.4s ease-out 0.2s forwards;
}

.hero-tagline {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 16px 0 0 12px;
    background: linear-gradient(to right, #c8cdce, #fbfdff, #b0b5b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    /* Initial state for fade-in */
    animation: fade-in-content 0.3s ease-in 0.25s forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 12px 24px;
    max-width: 500px;
    opacity: 0;
    /* Initial state for fade-in */
    animation: fade-in-content 0.3s ease-in 0.3s forwards;
}

#hero-buttons {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 20px;
    margin-left: 24px;

}

@media (max-width: 768px) {
    #hero-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
    }
}

.hero-button {
    display: inline-flex;
    flex: 1 1 0;
    background: #42047e;
    color: #fff;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 35px;
    min-width: 120px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    /* Initial state for fade-in */
    animation: fade-in-content 0.3s ease-in 0.35s forwards;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* --- Services Section --- */
.services-section {
    padding: 60px 0 150px 0;
    /* Increased bottom padding to accommodate angled cut */
    background-color: #fff;
    /* Solid white background */
    text-align: center;
    color: #212529;
    /* Dark text */
    position: relative;
    z-index: 1;
    /* Ensure it's above elements that might be below it */

    /* Angled divider using clip-path */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
    /* Adjust '50px' for angle depth */
    /* Add a subtle shadow or border here if desired for depth */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow for depth */
}



.services-section .container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}



.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #212529;
    /* Explicitly dark */
}

.section-subtitle {
    font-size: 1.25rem;
    color: #495057;
    /* Explicitly dark */
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: left;
}

.service-card {
    border: none;
    border-radius: 12px;
    padding: 40px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 25px;
    text-align: center;
}

.service-icon img {
    height: 80px;
    width: auto;
    object-fit: contain;

}

.service-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 15px;
    color: #212529;
    text-align: center;
    /* Center the title */
}

.service-description {
    font-size: 1rem;
    color: #495057;
    margin: 0;
}


/* --- Testimonials Section --- */


.testimonials-section {
    padding: 150px 0;
    /* Adjusted padding to accommodate top and bottom angles */
    background: linear-gradient(to right, #642B73, #C6426E);
    /* Crimson Tide gradient */
    text-align: center;
    color: #212529;
    /* Dark text for contrast */
    position: relative;
    z-index: 1;

    /* Angled top and bottom dividers using clip-path */
    clip-path: polygon(0 0, 100% 50px, 100% calc(100% - 50px), 0 100%);
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: #ffffff;
    /* Ensure titles are white on gradient background */
}

#testimonials-splide-track {
    padding-top: 40px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #495057;
    text-align: justify;
}

.testimonial-author {
    font-size: 1.0rem;
    font-weight: 700;
    color: #212529;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        /* Center children of hero-content */
    }

    .hero-image-container {
        margin-top: 40px;
        display: none;
        /* Hide laptop image */
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 10px 20px;
        justify-content: center;
    }

    .hero-section {
        padding: 150px 20px 125px 20px;
        /* Disable animation on mobile for faster LCP */
        transform: none;
        animation: none;
    }

    .hero-section::before {
        animation: none;
    }

    .hero-title {
        font-size: 2.8rem;
        /* Disable animation on mobile for faster LCP */
        transform: none;
        opacity: 1;
        animation: none;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Disable all hero animations on mobile for faster LCP */
    .hero-logo-container,
    .hero-tagline,
    .hero-subtitle,
    .hero-button,
    .hero-image-container {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }
}


/* --- Footer --- */
.site-footer {
    background-color: #212529;
    /* Dark background */
    color: #fff;
    padding: 60px 0 20px 0;
    position: relative;
    /* Needed for z-index to work */
    z-index: 2;
    /* Ensure footer is above the testimonials section */
}

.site-footer .container {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
}

.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-navigation li {
    margin-bottom: 10px;
}

.site-info {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 20px;
}

/* --- Responsive Footer --- */
@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 30px;
    }

    .footer-column:last-child {
        margin-bottom: 0;
    }

    .footer-navigation ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* --- Contact Section --- */
.contact-section {
    padding: 150px 0;
    background-color: #f8f9fa;
    /* Light grey background */
    color: #212529;
    text-align: center;
    position: relative;
    top: -52px;
    /* Pull up to overlap with testimonials section */
    z-index: 0;
    clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: #212529;
    /* Dark text on light background */
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* --- Testimonials Section (Updated for Dynamic Content) --- */
.splide__slide>.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    /* Center all content */
    height: 100%;
    /* Ensure cards have equal height in the slide */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Remove hover effect from card if it's inside a link */
.testimonial-link .testimonial-card:hover {
    transform: none;
}

.testimonial-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.testimonial-client-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #495057;
    font-style: italic;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.testimonial-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 5px 0 0 0;
}

.testimonial-location {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 5px 0 0 0;
}

.testimonial-client-url {
    margin-top: 15px;
}

.testimonial-client-url a {
    color: var(--pl-accent);
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.testimonial-client-url a:hover {
    text-decoration: underline;
}

/* --- Testimonial Modal --- */
.read-more-link {
    display: inline;
    /* Changed from inline-block */
    margin-left: 5px;
    /* Added for spacing */
    color: var(--pl-accent);
    /* WordPress blue */
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.read-more-link:hover {
    text-decoration: underline;
}

.testimonial-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-modal-overlay.is-visible {
    display: flex;
    /* Use flex to center */
    opacity: 1;
}

.testimonial-modal-content {
    background: #fff;
    margin: 0 32px;
    padding: 40px;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.testimonial-modal-overlay.is-visible .testimonial-modal-content {
    transform: scale(1);
}

.testimonial-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.testimonial-modal-close:hover {
    color: #333;
}

.testimonial-modal-body .testimonial-client-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 4px solid #f0f0f0;
}

.testimonial-modal-body .testimonial-text {
    font-style: normal;
}

.testimonial-modal-body .testimonial-author {
    margin-top: 20px;
    color: var(--pl-ink, #1a1a1a) !important;
}
.testimonial-modal-body .testimonial-subtitle,
.testimonial-modal-body .testimonial-location {
    color: var(--pl-ink-soft, #5c5c5c) !important;
}
.testimonial-modal-body .testimonial-client-url a {
    color: var(--pl-accent, #e8541e) !important;
}
.testimonial-modal-body .testimonial-rating {
    justify-content: center;
    margin-bottom: 16px;
}

/* --- Blog Section --- */
.blog-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.category-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    color: inherit;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.category-card h3 a {
    text-decoration: none;
    color: inherit;
}

.category-card p {
    font-size: 1rem;
    color: #6c757d;
    margin: 0 0 20px;
}

.category-link {
    font-weight: 700;
    color: var(--pl-accent);
    text-decoration: none;
}

.category-post-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    flex-grow: 1;
}

.category-post-list a {
    text-decoration: none;
    color: #495057;
    border-bottom: 1px solid #EFEFEF;
}

.category-post-list a:hover {
    text-decoration: underline;
    color: var(--pl-accent);
}

.category-post-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.category-link-bottom-right {
    margin-top: auto;
    align-self: flex-end;
}

/* --- Category & Single Post Pages --- */
.page-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.page-title {
    font-size: 2.8rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 0.3fr));
    gap: 30px;
    margin-bottom: 60px;
    /* Space before pagination */
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }
}

.post-card {
    display: block;
    background-color: #fff;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    /* Ensures border-radius applies to image */
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.post-card-thumbnail {
    width: 100%;
    height: 200px;
    /* Fixed height for thumbnails */
    overflow: hidden;
    margin-bottom: 20px;
}

.post-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the area, cropping as needed */
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-thumbnail img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

.post-card-content {
    padding: 0 30px 30px;
    /* Padding for text content */
}

.post-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #212529;
}

.post-card-excerpt {
    font-size: 1rem;
    color: #6c757d;
    margin: 0 0 20px;
}

.post-card .read-more {
    font-weight: 700;
    color: var(--pl-accent);
}

.entry-title a {
    text-decoration: none;
    color: #212529;
}

.entry-title a:hover {
    color: var(--pl-accent);
}

.entry-summary {
    margin-bottom: 20px;
}

.read-more {
    font-weight: 700;
    text-decoration: none;
    color: var(--pl-accent);
}

.entry-content a {
    color: var(--pl-accent);
    text-decoration: underline;
}

.entry-content {
    margin-bottom: 150px;
    max-width: 120ch;
    /* Optimal readability: ~75 characters per line */
    margin-left: 0;
    margin-right: auto;
}

/* Featured image in single posts */
.post-featured-image {
    float: right;
    max-width: 40%;
    margin: 0 0 1.5rem 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    /* Ensure image respects container on mobile */
    height: auto;
    border-radius: 8px;
}

/* Mobile: stack featured image above content */
@media (max-width: 768px) {
    .post-featured-image {
        float: none;
        max-width: 100%;
        margin: 0 0 1.5rem 0;
    }

    .entry-content {
        max-width: 100%;
        /* Full width on mobile */
    }
}

.entry-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.entry-footer .cat-links {
    display: block;
    margin-top: 30px;
}

.comments-area {
    margin-top: 60px;
}

.the-posts-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.the-posts-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: var(--pl-accent);
    transition: background-color 0.3s ease;
}

.the-posts-pagination .page-numbers:hover,
.the-posts-pagination .page-numbers.current {
    background-color: var(--pl-accent);
    color: #fff;
    border-color: var(--pl-accent);
}

/* --- Minimal Header --- */
.site-header-minimal {
    padding: 20px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.site-header-minimal .site-branding a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #212529;
}

.site-header-minimal .site-logo {
    margin-right: 15px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.site-title-container {
    display: flex;
    flex-direction: row;
    align-items: left;
    align-items: center;
    color: #777;
}

.site-title-container>.logo-text {
    font-size: 3rem;
    line-height: 0.9;
    color: #EE0979;
    background: linear-gradient(to right, #EE0979, #FF6A00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-header-minimal .site-title-text {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    color: #7a7a7a;
    padding: 8px 0 0 8px;
}

.minimal-header-page #main {
    opacity: 1;
    visibility: visible;
}

/* -----------------------------------------
   Navigation wrapper
----------------------------------------- */

.site-navigation {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* desktop: menu to the left */
    gap: 1rem;
}

/* -----------------------------------------
   Desktop menu layout
----------------------------------------- */

.menu--primary {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    gap: 0.75rem;
    align-items: center;
    text-align: left;
}

.menu--primary>li {
    position: relative;
}

.menu--primary>li>a {
    display: inline-block;
    padding: 0.45rem 0.9rem;

    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 999px;

    color: #111827;
    text-decoration: none;

    transition: background-color 0.15s ease, color 0.15s ease;
}

.menu--primary>li>a:visited {
    color: #111827;
}

.menu--primary>li>a:hover,
.menu--primary>li>a:focus-visible {
    background-color: #f3f4f6;
    color: #111827;
}

/* -----------------------------------------
   Dropdown styling – desktop
----------------------------------------- */

.menu--primary li.menu-item-has-children>a::after {
    content: " \25BE";
    /* ▼ */
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

.menu--primary .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;

    margin: 0.4rem 0 0;
    padding: 0.4rem;

    list-style: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);

    transition:
        opacity 0.15s ease,
        visibility 0.15s ease,
        transform 0.15s ease;
    z-index: 50;
}

.menu--primary li.menu-item-has-children:hover>.sub-menu,
.menu--primary li.menu-item-has-children:focus-within>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li>a {
    display: block;
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
    border-radius: 6px;

    color: #111827;
    text-decoration: none;
}

.sub-menu li>a:hover {
    background: #f3f4f6;
}

/* -----------------------------------------
   Toggle button (hidden on desktop)
----------------------------------------- */

.nav-toggle {
    display: none;
    /* hidden on desktop */
    border: none;
    background: transparent;
    padding: 0.4rem;
    cursor: pointer;
    border-radius: 999px;
    min-width: 44px;
    min-height: 44px;
}

.nav-toggle:focus-visible {
    outline: 2px solid #4b5563;
    outline-offset: 2px;
}

/* Both icons share the same visual style */
.nav-toggle__icon {
    width: 24px;
    height: 24px;
    display: block;
    z-index: 10;
}

.nav-toggle__icon line {
    stroke: #111827;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Default: hamburger visible, X hidden */
.nav-toggle__icon--menu {
    display: block;
}

.nav-toggle__icon--close {
    display: none;
}

/* -----------------------------------------
   Mobile behaviour
----------------------------------------- */

@media (max-width: 768px) {

    .nav-inner {
        justify-content: center;
        /* centre the toggle button */
        position: relative;
    }

    .nav-toggle {
        display: inline-flex;
        /* show toggle on mobile */
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .pl-nav-menu-phone {
        display: block !important;
        border-top: 1px solid #e5e7eb;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }

    .pl-nav-menu-phone > a {
        display: flex !important;
        align-items: center;
        gap: 8px;
        color: var(--pl-accent, #e8541e) !important;
        font-weight: 700 !important;
    }

    .pl-nav-menu-phone .material-icons {
        font-size: 1.1rem;
    }

    .menu--primary {
        position: fixed;
        top: 64px;
        /* match your header height if different */
        left: 0;
        right: 0;

        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;

        display: none;
        /* hidden until .is-open is added */
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 0;

        text-align: left;
    }

    .menu--primary.is-open {
        display: flex;
    }

    .menu--primary>li {
        width: 100%;
        margin: 0;
    }

    .menu--primary>li>a {
        width: 100%;
        padding: 1rem 1.25rem;
        border-radius: 0;
    }

    /* Submenus inline, indented */
    .menu--primary .sub-menu {
        position: static;
        min-width: 0;
        margin: 0;
        padding: 0;

        border: 0;
        border-radius: 0;
        box-shadow: none;

        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .menu--primary .sub-menu li>a {
        padding-left: 2.25rem;
    }
}

/* -----------------------------------------
   Swap icons when menu is open (X visible)
----------------------------------------- */

.nav-toggle[aria-expanded="true"] .nav-toggle__icon--menu {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close {
    display: block;
}








/* --- Post Navigation & Category Links --- */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-navigation a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #212529;
    font-weight: 600;
}

.post-navigation .nav-arrow {
    font-size: 1.5rem;
}

.category-navigation {
    text-align: center;
    margin-bottom: 40px;
}

.category-navigation h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.category-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-navigation li a {
    text-decoration: none;
    background-color: #f0f0f0;
    color: #212529;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.category-navigation li a:hover {
    background-color: var(--pl-accent);
    color: #fff;
}

/* ==========================================================================
   WIZZIT MODERN THEME — visual override layer
   Everything below restyles the theme above (light/cream, serif headings,
   single teal accent, soft-shadow cards, pill buttons). No data/markup
   logic is touched anywhere in this file or the templates — only colours,
   type, spacing and a few decorative wrappers. .logo-text (the "wizzit"
   wordmark) is intentionally left untouched further up this file.
   ========================================================================== */

:root {
	--pl-bg: #faf7f2;
	--pl-card: #ffffff;
	--pl-ink: #1a1a1a;
	--pl-ink-soft: #5c5c5c;
	--pl-accent: #e8541e;
	--pl-accent-soft: rgba(232,84,30,0.10);
	--pl-serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
}

body {
	background: var(--pl-bg) !important;
	color: var(--pl-ink);
}

/* --- Headings go serif, left-aligned, dark ink --- */
.hero-title,
.section-title,
.category-card h3,
.service-title,
.page-title,
.entry-title,
.category-navigation h2,
.testimonial-author {
	font-family: var(--pl-serif) !important;
	color: var(--pl-ink) !important;
	font-weight: 400 !important;
	letter-spacing: -0.01em;
}

#colophon h3 {
	font-family: var(--pl-serif) !important;
	color: #fff !important;
	font-weight: 400 !important;
	letter-spacing: -0.01em;
}

.section-title { text-align: left; font-size: 2.6rem !important; }
.section-subtitle { text-align: left; margin-left: 0 !important; margin-right: 0 !important; color: var(--pl-ink-soft) !important; }
.services-section, .blog-section { text-align: left; }

/* --- Hero: red-geo-nodes photo background, white text for contrast --- */
.hero-section {
	background: none !important;
	color: #fff !important;
	padding: 113px 0 125px 0;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
}
/* Background photo lives on its own layer so it can slowly zoom without dragging the gradient/content with it */
.hero-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('https://wizzit.au/wp-content/uploads/2026/08/abstract-computer-code.webp');
	background-size: cover;
	background-position: center;
	z-index: -3;
	animation: pl-hero-zoom 40s ease-in-out infinite;
}
.hero-section::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(10,8,8,0.82) 20%, rgba(10,8,8,0.45) 75%);
	z-index: -2;
}
@keyframes pl-hero-zoom {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
	.hero-section::before { animation: none; }
}

/* Soft, randomly-timed glow blobs - sit above the dark overlay with a screen blend
   so they read as light glowing up through the background rather than flat shapes. */
.hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(40px);
	mix-blend-mode: screen;
	z-index: -1;
	pointer-events: none;
}
.hero-glow-1 {
	top: 0%;
	left: 8%;
	width: 460px;
	height: 460px;
	background: radial-gradient(circle, rgba(255,140,66,0.6) 0%, transparent 68%);
	animation: pl-hero-glow-pulse-1 17s ease-in-out infinite -2s;
}
.hero-glow-2 {
	top: 42%;
	left: 66%;
	width: 380px;
	height: 380px;
	background: radial-gradient(circle, rgba(64,224,208,0.55) 0%, transparent 68%);
	animation: pl-hero-glow-pulse-2 22s ease-in-out infinite -9s;
}
.hero-glow-3 {
	top: 60%;
	left: 18%;
	width: 340px;
	height: 340px;
	background: radial-gradient(circle, rgba(184,8,93,0.6) 0%, transparent 68%);
	animation: pl-hero-glow-pulse-3 26s ease-in-out infinite -14s;
}
/* Each blob gets its own duration, easing shape and peak timing (not just a delayed
   copy of the same curve) so they drift independently instead of pulsing in a wave. */
@keyframes pl-hero-glow-pulse-1 {
	0% { opacity: 0.3; transform: scale(0.85); }
	38% { opacity: 0.68; transform: scale(1.18); }
	100% { opacity: 0.3; transform: scale(0.85); }
}
@keyframes pl-hero-glow-pulse-2 {
	0% { opacity: 0.25; transform: scale(0.9); }
	62% { opacity: 0.72; transform: scale(1.22); }
	100% { opacity: 0.25; transform: scale(0.9); }
}
@keyframes pl-hero-glow-pulse-3 {
	0% { opacity: 0.32; transform: scale(0.88); }
	50% { opacity: 0.6; transform: scale(1.1); }
	78% { opacity: 0.68; transform: scale(1.2); }
	100% { opacity: 0.32; transform: scale(0.88); }
}
@media (prefers-reduced-motion: reduce) {
	.hero-glow { animation: none; opacity: 0.45; }
}
@media (max-width: 768px) {
	.hero-glow { display: none; }
}
.hero-angled-bg, .angled-shadow-divider { display: none !important; }
.hero-title {
	font-size: 2.9rem !important;
	background: none !important;
	-webkit-text-fill-color: #fff !important;
	color: #fff !important;
}
.pl-eyebrow-pill {
	background: rgba(255,255,255,0.15) !important;
	color: #fff !important;
	backdrop-filter: blur(6px);
	position: relative;
	z-index: 1;
}
.hero-content { position: relative; z-index: 1; }
.hero-content::before {
	content: '';
	position: absolute;
	inset: -100px -120px;
	background: rgba(8,6,6,0.28);
	backdrop-filter: blur(var(--pl-hero-blur, 6px));
	-webkit-backdrop-filter: blur(var(--pl-hero-blur, 6px));
	mask-image: radial-gradient(ellipse 75% 80% at 40% 50%, black 15%, transparent 95%);
	-webkit-mask-image: radial-gradient(ellipse 75% 80% at 40% 50%, black 15%, transparent 95%);
	z-index: -1;
}
.hero-tagline {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 10px 0 18px 0;
	background: linear-gradient(to right, #b8085d, #FF6A00) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
}

/* Inline "Learn more" link inside the homepage website-cta-box */
.website-cta-box .section-subtitle a {
	color: var(--pl-accent);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--pl-accent-soft);
	text-underline-offset: 3px;
}
.website-cta-box .section-subtitle a:hover { text-decoration-color: var(--pl-accent); }
.hero-subtitle { color: rgba(255,255,255,0.85) !important; margin-left: 0; }
.hero-logo-container { justify-content: flex-start !important; }
.hero-logo { filter: none !important; }
.hero-image-container img {
	border-radius: 16px;
	box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* --- Buttons: pill shape, single accent colour --- */
.hero-button {
	background: var(--pl-accent) !important;
	border-radius: 999px !important;
	box-shadow: none;
	font-weight: 700;
}
.hero-button:hover { box-shadow: 0 10px 24px rgba(8,134,158,0.25) !important; }

/* --- Cards: keep the existing soft-shadow white treatment, just tune it --- */
.service-card, .category-card, .testimonial-card {
	background: var(--pl-card) !important;
	box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
	border-radius: 16px !important;
}
.service-card:hover, .category-card:hover, .testimonial-card:hover {
	box-shadow: 0 16px 36px rgba(0,0,0,0.10) !important;
}
.service-icon img { filter: none; }

/* --- Website CTA teaser box on homepage (inline-styled in index.php) --- */
.website-cta-box {
	background: var(--pl-card) !important;
	box-shadow: 0 20px 50px rgba(0,0,0,0.08) !important;
}

/* --- Testimonials: one bold solid accent band instead of a rainbow gradient --- */
.testimonials-section {
	background: var(--pl-accent) !important;
}
.testimonials-section .section-title,
.testimonials-section .section-subtitle {
	color: #fff !important;
}
/* --- Contact section --- */
.contact-section { background: var(--pl-bg) !important; }

/* --- Global fallback: any unstyled link (e.g. inside post body content) --- */
a { color: var(--pl-accent); }
a:hover { color: #1a1a1a; }

/* --- Links & small accents unify on the one accent colour --- */
.category-link,
.category-post-list a:hover,
.testimonial-client-url a {
	color: var(--pl-accent) !important;
}

/* --- Nav: swap hover grey for accent --- */
.menu--primary > li > a:hover,
.menu--primary > li > a:focus-visible {
	background-color: var(--pl-accent-soft) !important;
	color: var(--pl-accent) !important;
}
.site-navigation { background: var(--pl-card) !important; }
.nav-inner { display: flex; align-items: center; gap: 20px; }
.pl-nav-logo { display: inline-flex; align-items: center; margin-right: auto; }
.pl-nav-menu-phone { display: none; }
.pl-nav-logo img { display: block; width: 36px; height: 36px; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.18)); }
.pl-nav-phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--pl-accent);
	color: #fff !important;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 9px 18px;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
}
.pl-nav-phone:hover { opacity: 0.9; }
.pl-nav-phone .material-icons { font-size: 1.1rem; }
@media (max-width: 768px) {
	.pl-nav-phone-text { display: none; }
	.pl-nav-phone { padding: 9px 12px; min-width: 44px; min-height: 44px; justify-content: center; box-sizing: border-box; }
	.splide__arrow { width: 44px !important; height: 44px !important; }
}

/* --- Footer stays dark for contrast, just tidy the accent --- */
.site-footer a { color: #ff9166; }
.site-footer a:hover { color: #fff; }

/* --- Hero: eyebrow pill + framed browser-window image (real structural change, not just colour) --- */
.pl-eyebrow-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--pl-accent-soft);
	color: var(--pl-accent);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.3px;
	padding: 7px 16px 7px 10px;
	border-radius: 999px;
	margin-bottom: 18px;
}
.pl-eyebrow-pill img { border-radius: 50%; }

.pl-hero-frame {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}
.pl-hero-frame::before {
	content: '';
	display: block;
	height: 32px;
	background: #f2f2f0;
	background-image: radial-gradient(circle 5px at 20px 16px, #ff5f57 100%, transparent 0),
		radial-gradient(circle 5px at 40px 16px, #febc2e 100%, transparent 0),
		radial-gradient(circle 5px at 60px 16px, #28c840 100%, transparent 0);
}
.pl-hero-frame img { display: block; width: 100%; height: auto; border-radius: 0 !important; }

/* --- Core Services: checklist rows instead of a boxed icon-card grid --- */
.pl-services-list {
	display: grid;
	grid-template-columns: 1fr;
	text-align: left;
}
@media (min-width: 800px) { .pl-services-list { grid-template-columns: 1fr 1fr; } }
.pl-service-row {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	padding: 28px 0;
	border-top: 1px solid rgba(0,0,0,0.08);
}
.pl-service-row .service-icon {
	margin: 0;
	flex: none;
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pl-service-row .service-icon img { width: 72px !important; height: 72px !important; }
.pl-service-row .service-title { margin: 0 0 8px; font-size: 1.15rem; text-align: left; }
.pl-service-row .service-description { margin: 0; color: var(--pl-ink-soft); }

/* --- Global body font: Poppins (already loaded for the hero) everywhere --- */
body, .service-description, .category-post-list a, .hero-subtitle, p, li, .testimonial-text {
	font-family: 'Poppins', sans-serif !important;
	font-weight: 400;
}

/* --- Testimonial cards: quote on top, solid colour band on bottom, avatar straddling the seam --- */
.splide__slide > .testimonial-card {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	padding: 0 !important;
	height: 100%;
	overflow: hidden;
}
.testimonial-content { display: contents !important; }
.testimonial-text {
	position: relative;
	color: #3d3d3d !important;
	text-align: left !important;
	font-style: normal !important;
	font-size: 0.92rem !important;
	margin: 0 !important;
	padding: 34px 28px 40px;
}
.testimonial-text::after {
	content: '\201D';
	position: absolute;
	right: 22px;
	bottom: -6px;
	font-family: Georgia, serif;
	font-size: 5rem;
	line-height: 1;
	color: var(--pl-accent-soft);
	pointer-events: none;
}
.read-more-link {
	display: block !important;
	margin-left: 0 !important;
	margin-top: 6px !important;
	padding: 0 !important;
	background: none !important;
	color: var(--pl-accent) !important;
	font-weight: 700 !important;
	font-size: inherit;
	text-decoration: underline !important;
}
.read-more-link:hover { color: #1a1a1a !important; }

.testimonial-rating {
	display: flex;
	gap: 2px;
	padding: 22px 28px 0;
}
.testimonial-rating .material-icons {
	font-size: 1.15rem;
	color: #f5b301;
}

.testimonial-meta-row {
	margin-top: auto;
	background: #f8f9fa;
	padding: 52px 24px 24px;
	min-height: 150px;
	text-align: center;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.testimonial-image-container {
	position: absolute;
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0 !important;
	background: #fff;
	border-radius: 50%;
}
.testimonial-client-image {
	width: 80px !important;
	height: 80px !important;
	border: 4px solid #fff !important;
	background: #fff !important;
	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.testimonial-meta-card { display: flex; flex-direction: column; align-items: center; }
.testimonial-author {
	color: var(--pl-ink, #1a1a1a) !important;
	margin: 0 !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	text-align: center !important;
	font-family: 'Poppins', sans-serif !important;
}
.testimonial-subtitle, .testimonial-location {
	color: var(--pl-ink-soft, #5c5c5c);
	margin: 3px 0 0 !important;
	font-size: 0.85rem;
	text-align: center;
}
.testimonial-client-url { margin: 8px 0 0 !important; text-align: center; }
.testimonial-client-url a { color: var(--pl-accent, #e8541e) !important; font-size: 0.82rem; opacity: 1; }
.testimonial-client-url a:hover { opacity: 0.85; text-decoration: underline; }

/* --- Category & single post pages: same card/serif treatment --- */
.page-header .page-title { font-family: var(--pl-serif) !important; }
.category-description { color: var(--pl-ink-soft); }
.post-card {
	background: var(--pl-card) !important;
	box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
	border-radius: 16px !important;
}
.post-card-title { font-family: var(--pl-serif) !important; color: var(--pl-ink) !important; }