  /* Hero Section CSS */
    .tax-hero-section {
        position: relative;
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/03/a-professional-business-fountax.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 120vh; /* Height set to 120vh */
        display: flex;
        align-items: center;
        justify-content: flex-end; /* Container will be right aligned */
        font-family: 'Work Sans', sans-serif;
        overflow: hidden;
    }

    /* Gradient Overlay */
    .tax-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(345deg, rgba(43, 43, 43, 1) 0%, rgba(3, 40, 46, 0.5) 76.5%);
        z-index: 1;
    }

    .tax-hero-container {
        position: relative;
        z-index: 2;
        max-width: 950px; /* Increased width slightly for the larger 75px font size */
        text-align: left; /* Text will be strictly left aligned inside the container */
        padding: 0 40px;
        margin-right: 2%; /* Right side margin */
        margin-top: 150px; 
        color: #ffffff;
    }

    /* Typography */
    .tax-hero-title {
        font-size: 75px; /* Font size set to 75px */
        font-weight: 500;
        margin-bottom: 25px;
        line-height: 1.15;
		text-align:left;
    }

    .tax-hero-desc {
        font-size: 20px; /* Text size 20px */
        margin-bottom: 40px;
        line-height: 1.6;
        color: #e2e8f0;
        max-width: 800px;
		text-align:left;
    }

    /* Button Styling */
    .tax-hero-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background-color: #e11c2a;
        color: #ffffff;
        padding: 18px 40px; /* Adjusted padding for larger text */
        border-radius: 8px;
        text-decoration: none;
        font-size: 20px; /* Button font size set to 20px */
        font-weight: 500;
        transition: all 0.3s ease;
        border: 2px solid #e11c2a;
    }

    /* White background and red text on hover */
    .tax-hero-btn:hover {
        background-color: #ffffff;
        color: #e11c2a; 
        border-color: #ffffff;
    }

    .tax-hero-btn i {
        font-size: 18px;
        transition: transform 0.3s ease;
    }

    .tax-hero-btn:hover i {
        transform: translateX(5px);
    }

    /* Animation Classes (Slide Up) */
    .slide-up-anim {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 1.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .slide-up-anim.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .tax-hero-section {
            justify-content: center;
            min-height: 50vh;
        }
        .tax-hero-container {
            margin-right: 0;
            margin-top: 80px;
            padding: 0 20px;
            text-align: center; /* Center aligned on mobile for better readability */
        }
        .tax-hero-title {
            font-size: 45px;
        }
        .tax-hero-desc {
            font-size: 16px;
        }
        .tax-hero-btn {
			display: table;
            font-size: 18px;
            padding: 14px 30px;
        }
    }

/* Responsive for small mobile devices */
@media (max-width: 480px) {
    .tax-hero-section {
        min-height: 80vh;
        justify-content: center;
    }
    
    .tax-hero-container {
        margin-right: 0;
        margin-top: 60px;
        padding: 0 15px;
        text-align: center;
        max-width: 100%;
    }
    
    .tax-hero-title {
        font-size: 32px;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .tax-hero-desc {
        font-size: 14px;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .tax-hero-btn {
        display: table;
        font-size: 16px;
        padding: 12px 25px;
        width: auto;
    }
    
    .tax-hero-btn i {
        font-size: 16px;
    }
}
/*****************************************************************************************************************/
    /* About Section CSS */
    .tax-about-section {
        padding: 100px 3%;
        background-color: #ffffff;
        font-family: 'Work Sans', sans-serif;
        overflow: hidden;
    }

    .tax-about-container {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr; /* Exact 50-50 column layout */
        gap: 80px;
        align-items: center;
    }

    /* Left Content Column */
    .tax-about-content {
        /* Extra padding removed to ensure both sides are perfectly balanced */
    }

    .tax-about-title {
        font-size: 46px;
        font-weight: 500; /* Font weight changed to 500 */
        color: #1f2937;
        margin-bottom: 25px;
        line-height: 1.25;
    }

    .tax-about-desc {
        font-size: 18px;
        color: #64748b;
        line-height: 1.7;
        margin-bottom: 35px;
        max-width: 95%;
    }

    /* List Styling */
    .tax-about-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 15px;
        list-style: none;
        padding: 0;
        margin: 0 0 45px 0;
    }

    .tax-about-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 16px;
        font-weight: 600;
        color: #475569;
    }

    .tax-about-list li i {
        color: #e11c2a;
        font-size: 18px;
        background-color: #ffffff;
        border-radius: 50%;
    }

    /* Button Styling */
    .tax-about-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background-color: #e11c2a;
        color: #ffffff;
        padding: 15px 32px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .tax-about-btn:hover {
        background-color: #2b2b2b;
        color: #ffffff;
    }

    .tax-about-btn i {
        font-size: 16px;
        transition: transform 0.3s ease;
    }

    .tax-about-btn:hover i {
        transform: translateX(5px);
    }

    /* Right Image Column */
    .tax-about-image-wrapper {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        min-height: 480px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    .tax-about-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('https://taxvisorllp.com/wp-content/uploads/2026/02/tax-partner.webp');
        background-size: cover;
        background-position: center;
    }

    .tax-about-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Requested Gradient Overlay */
        background: linear-gradient(120deg, rgb(48 48 48) 0%, rgb(3 40 46 / .2) 53.6%);
        z-index: 1;
    }

    /* Slide Up Animation */
    .about-slide-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .about-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .tax-about-container {
            grid-template-columns: 1fr;
            gap: 50px;
        }
        .tax-about-content {
            padding-right: 0;
        }
        .tax-about-image-wrapper {
            min-height: 400px;
        }
    }

    @media (max-width: 768px) {
        .tax-about-section {
            padding: 70px 5%;
        }
        .tax-about-title {
            font-size: 36px;
        }
        .tax-about-list {
            grid-template-columns: 1fr; /* Single column on mobile */
        }
    }

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-about-section {
        padding: 50px 4%;
    }
    
    .tax-about-container {
        gap: 35px;
    }
    
    .tax-about-title {
        font-size: 28px;
        margin-bottom: 18px;
        line-height: 1.3;
    }
    
    .tax-about-desc {
        font-size: 15px;
        margin-bottom: 25px;
        max-width: 100%;
        line-height: 1.6;
    }
    
    .tax-about-list {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .tax-about-list li {
        font-size: 14px;
        gap: 10px;
    }
    
    .tax-about-list li i {
        font-size: 16px;
    }
    
    .tax-about-btn {
        font-size: 16px;
        padding: 12px 28px;
        justify-content: center;
    }
    
    .tax-about-btn i {
        font-size: 14px;
    }
    
    .tax-about-image-wrapper {
        min-height: 320px;
    }
}
/************************************************************************************************************/

  /* Stats Section CSS */
    .tax-stats-section {
        background-color: #2b2b2b;
        padding: 100px 3%;
        font-family: 'Work Sans', sans-serif;
        color: #ffffff;
        overflow: hidden;
    }

    .tax-stats-container {
        max-width: 1400px;
        margin: 0 auto;
    }

    /* Top Row: Heading and Text */
    .tax-stats-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        margin-bottom: 80px;
        align-items: center;
    }

    .tax-stats-heading {
        font-size: 40px;
        font-weight: 500;
        line-height: 1.3;
        margin: 0;
    }

    .tax-stats-desc {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.7);
        margin: 0;
    }

    /* Proper white color for emphasized text */
    .tax-stats-desc strong {
        color: #ffffff;
        font-weight: 500; 
    }

    /* Bottom Row: Counters */
    .tax-stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }

    .tax-stat-item {
        display: flex;
        flex-direction: column;
    }

    /* Progress Bar */
    .tax-progress-track {
        width: 100%;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.2);
        margin-bottom: 30px;
        position: relative;
    }

    .tax-progress-fill {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background-color: #e11c2a;
        width: 0%; /* Initially 0 for animation */
        transition: width 2s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    /* Number & Label */
    .tax-stat-number-wrapper {
        font-size: 64px;
        font-weight: 500;
        line-height: 1;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }

    .tax-stat-suffix {
        color: #e11c2a;
    }

    .tax-stat-label {
        font-size: 18px;
        margin: 0;
        color: #ffffff;
        font-weight: 400;
    }

    /* Slide Animations */
    .slide-in-left {
        opacity: 0;
        transform: translateX(-80px);
        transition: opacity 1s ease-out, transform 1s ease-out;
    }

    .slide-in-right {
        opacity: 0;
        transform: translateX(80px);
        transition: opacity 1s ease-out, transform 1s ease-out;
    }

    .slide-in-left.is-visible,
    .slide-in-right.is-visible {
        opacity: 1;
        transform: translateX(0);
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .tax-stats-top {
            grid-template-columns: 1fr;
            gap: 30px;
        }
    }

    @media (max-width: 768px) {
        .tax-stats-section {
            padding: 70px 5%;
        }
        .tax-stats-heading {
            font-size: 32px;
        }
        .tax-stats-grid {
            grid-template-columns: 1fr;
            gap: 40px;
        }
        .tax-stat-number-wrapper {
            font-size: 50px;
        }
    }

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-stats-section {
        padding: 50px 4%;
    }
    
    .tax-stats-top {
        gap: 25px;
        margin-bottom: 50px;
    }
    
    .tax-stats-heading {
        font-size: 26px;
        line-height: 1.25;
    }
    
    .tax-stats-desc {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .tax-stats-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .tax-progress-track {
        margin-bottom: 20px;
    }
    
    .tax-stat-number-wrapper {
        font-size: 42px;
        margin-bottom: 12px;
    }
    
    .tax-stat-label {
        font-size: 15px;
    }
}

/*****************************************************************************************************************/
    .tax-services-section {
        padding: 100px 3% 80px;
        background-color: #fff; /* Light background to make cards pop */
        font-family: 'Work Sans', sans-serif;
    }

    .tax-services-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .tax-services-header h2 {
        font-size: 48px;
        font-weight: 500;
        color: #2b2b2b;
        line-height: 1.3;
        margin: 0;
    }

    .tax-services-stack {
        max-width: 1400px; /* Width badha di gayi hai */
        margin: 0 auto;
        position: relative;
    }

    .tax-service-card {
        position: sticky;
        height: 350px; /* Fixed height for consistent stacking */
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 40px; /* Gap for scrolling between cards */
        border-top: 1px solid rgba(255, 255, 255, 0.1); /* Helps distinguish stacked cards */
        display: flex;
        align-items: center;
        /* Box shadow completely removed */
    }

    /* Top offsets for cascading stack effect - Perfect Overlap */
    /* Sirf 5th card me margin-bottom 0 hoga taki last card ke baad extra space na aye */
    .tax-service-card:nth-child(1) { top: 120px; z-index: 1; }
    .tax-service-card:nth-child(2) { top: 120px; z-index: 2; }
    .tax-service-card:nth-child(3) { top: 120px; z-index: 3; }
    .tax-service-card:nth-child(4) { top: 120px; z-index: 4; }
    .tax-service-card:nth-child(5) { top: 120px; z-index: 5; margin-bottom: 0 !important; }

    /* Background Image */
    .tax-card-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        z-index: 1;
        transition: opacity 0.5s ease;
    }

    /* Gradient Overlay */
    .tax-card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgb(43 43 43) 0%, rgb(3 40 46 / .2) 100%);
        z-index: 2;
    }

    /* Slide In Hover Background */
    .tax-card-solid-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #2b2b2b;
        z-index: 2; /* Placed after overlay so it covers it */
        transform: translateX(-100%);
        transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    /* Content Area */
    .tax-card-content {
        position: relative;
        z-index: 3;
        padding: 50px 60px;
        color: #ffffff;
        max-width: 650px;
    }

    /* Stroke-like icons for a custom look matching the images */
    .tax-card-icon {
        font-size: 45px;
        color: transparent;
        -webkit-text-stroke: 1.5px #e11c2a;
        margin-bottom: 25px;
        display: block;
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    /* Wrapper for text to move it up */
    .tax-text-group {
        transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .tax-card-content h3 {
        font-size: 40px;
        font-weight: 500;
        margin: 0 0 15px 0;
        line-height: 1.2;
    }

    .tax-card-content p {
        max-width: 330px;
        font-size: 18px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        margin: 0 0 25px 0;
    }

    /* Learn More Link (Hidden by default) */
    .tax-learn-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #e11c2a;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        opacity: 0;
        transform: translateY(15px);
        transition: all 0.4s ease;
    }

    .tax-learn-more i {
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    /* HOVER EFFECTS */
    .tax-service-card:hover .tax-card-solid-bg {
        transform: translateX(0); /* Left se slide in hoga */
    }

    .tax-service-card:hover .tax-card-icon {
        opacity: 0; /* Icon hide ho jayega */
        transform: translateY(-10px);
    }

    .tax-service-card:hover .tax-text-group {
        transform: translateY(-30px); /* Text smoothly upar transform hoga */
    }

    .tax-service-card:hover .tax-learn-more {
        opacity: 1;
        transform: translateY(0); /* Slides up into view */
    }

    .tax-learn-more:hover i {
        transform: translateX(5px);
    }

    /* Bottom Link Section */
    .tax-services-footer {
        text-align: center;
        margin-top: 40px;
        font-size: 18px;
        color: #64748b;
    }

    .tax-services-footer a {
        color: #e11c2a;
        font-weight: 500;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-left: 8px;
        transition: color 0.3s ease;
    }

    .tax-services-footer a:hover {
        color: #2b2b2b;
    }

    /* Slide Up Animation Styles (Maintained for JavaScript scroll animations) */
    .services-slide-up {
        opacity: 0;
        transform: translateY(60px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .services-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .tax-services-header h2 {
            font-size: 32px;
        }
        .tax-card-content {
            padding: 40px 30px;
        }
        .tax-card-content h3 {
            font-size: 28px;
        }
        .tax-service-card {
            height: 380px;
            margin-bottom: 40px; /* Updated for mobile too */
        }
        /* Adjust stack top for mobile screens */
        .tax-service-card:nth-child(n) { top: 80px; }
        
        .tax-services-footer {
            margin-top: 50px;
            font-size: 16px;
        }
    }


/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-services-section {
        padding: 50px 4% 40px;
    }
    
    .tax-services-header {
        margin-bottom: 35px;
    }
    
    .tax-services-header h2 {
        font-size: 26px;
        line-height: 1.25;
    }
    
    .tax-service-card {
        height: 240px;
        margin-bottom: 30px;
    }
    
    /* Adjust stack top for very small screens */
    .tax-service-card:nth-child(n) { 
        top: 60px; 
    }
    
    .tax-card-content {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .tax-card-icon {
        font-size: 36px;
        margin-bottom: 18px;
        -webkit-text-stroke: 1.2px #e11c2a;
    }
    
    .tax-card-content h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .tax-card-content p {
        font-size: 15px;
        line-height: 1.5;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .tax-learn-more {
        font-size: 14px;
    }
    
    .tax-learn-more i {
        font-size: 12px;
    }
    
    .tax-services-footer {
        margin-top: 35px;
        font-size: 14px;
    }
    
    .tax-services-footer a {
        gap: 4px;
    }
}
/************************************************************************************************************/
 .tax-achievements-section {
        padding: 10px 3% 100px;
        background-color: #ffffff; /* White background */
        font-family: 'Work Sans', sans-serif;
        overflow: hidden; /* Prevent horizontal scroll from slide animations */
    }

    .tax-achievements-header {
        text-align: center;
        margin-bottom: 70px;
    }

    .tax-achievements-header h2 {
        font-size: 48px;
        font-weight: 500;
        color: #2b2b2b;
        line-height: 1.3;
        margin: 0;
    }

    .tax-achievements-container {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 0.8fr 1.2fr; /* Left card is slightly narrower */
        gap: 30px;
        align-items: stretch; /* Both cards equal height */
    }

    /* Left Card Styling */
    .tax-achieve-card-left {
        border-radius: 16px;
        padding: 50px 45px;
        background: linear-gradient(140deg,rgb(0 66 80 / .92) 33.7%,rgb(3 40 46 / .4) 100%);
        color: #ffffff;
        display: flex;
        flex-direction: column;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

    .tax-client-tag {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.85);
        margin-bottom: 35px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .tax-client-tag strong {
        color: #ffffff;
        font-weight: 500;
    }

    .tax-red-dot {
        display: inline-block;
        width: 8px;
        height: 8px;
        background-color: #e11c2a;
        border-radius: 50%;
    }

    .tax-achieve-card-left h3 {
        font-size: 34px;
        font-weight: 500;
        line-height: 1.3;
        margin: 0 0 25px 0;
    }

    .tax-achieve-card-left .tax-achieve-desc {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.6;
        margin: 0 0 40px 0;
    }

    /* Right Card Styling */
    .tax-achieve-card-right {
        background-color: #ffffff;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
        border: 1px solid #f3f4f6;
        display: flex;
        overflow: hidden;
    }

    .tax-achieve-right-content {
        flex: 1.1;
        padding: 50px 45px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .tax-testimonial {
        font-size: 18px;
        color: #5e6b6b;
        line-height: 1.7;
        margin: 0 0 30px 0;
    }

    .tax-testimonial strong {
        color: #4b5563; /* Darker grey for Client tag */
        font-weight: 600;
    }

    .tax-achieve-right-img {
        flex: 0.9;
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/03/female-doctor-and-senior-couple.webp');
        background-size: cover;
        background-position: center;
        min-height: 100%;
    }

    /* Read More Link (Shared for both cards) */
    .tax-read-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #e11c2a;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        margin-top: auto; /* Pushes the button to the bottom */
        transition: color 0.3s ease;
    }

    .tax-read-more:hover {
		transform: translateX(5px);
    }

    .tax-read-more i {
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .tax-read-more:hover i {
        transform: translateX(5px);
    }

    /* Animation Classes */
    .achieve-slide-up {
        opacity: 0;
        transform: translateY(60px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .achieve-slide-left {
        opacity: 0;
        transform: translateX(-80px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .achieve-slide-right {
        opacity: 0;
        transform: translateX(80px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .achieve-is-visible {
        opacity: 1;
        transform: translate(0);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .tax-achievements-container {
            grid-template-columns: 1fr;
            gap: 40px;
        }
    }

    @media (max-width: 768px) {
        .tax-achievements-section {
            padding: 80px 5%;
        }
        .tax-achievements-header h2 {
            font-size: 36px;
        }
        .tax-achieve-card-right {
            flex-direction: column-reverse; /* Image on top in mobile */
        }
        .tax-achieve-right-img {
            min-height: 250px;
        }
        .tax-achieve-card-left, .tax-achieve-right-content {
            padding: 40px 30px;
        }
        .tax-achieve-card-left h3 {
            font-size: 28px;
        }
    }

     /* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-achievements-section {
        padding: 50px 4% 60px;
    }
    
    .tax-achievements-header {
        margin-bottom: 40px;
    }
    
    .tax-achievements-header h2 {
        font-size: 26px;
        line-height: 1.25;
    }
    
    .tax-achievements-container {
        gap: 30px;
    }
    
    .tax-achieve-card-left,
    .tax-achieve-right-content {
        padding: 30px 20px;
    }
    
    .tax-client-tag {
        font-size: 14px;
        margin-bottom: 25px;
        gap: 8px;
    }
    
    .tax-red-dot {
        width: 6px;
        height: 6px;
    }
    
    .tax-achieve-card-left h3 {
        font-size: 24px;
        margin-bottom: 18px;
        line-height: 1.25;
    }
    
    .tax-achieve-card-left .tax-achieve-desc {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    
    .tax-testimonial {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    
    .tax-achieve-right-img {
        min-height: 250px;
    }
    
    .tax-read-more {
        font-size: 14px;
        gap: 6px;
    }
    
    .tax-read-more i {
        font-size: 12px;
    }
}

/**************************************************************************************************/

    .tax-reviews-section {
        padding: 10px 5% 100px;
        background-color: #ffffff;
        font-family: 'Work Sans', sans-serif;
    }

    .tax-reviews-container {
        max-width: 950px; /* Requested max-width */
        margin: 0 auto;
        position: relative;
    }

    /* Header with Quote Icon */
    .tax-reviews-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .tax-reviews-header h2 {
        font-size: 40px;
        font-weight: 500;
        color: #2b2b2b;
        margin: 0;
    }

    .tax-quote-icon {
        font-size: 60px;
        color: #e11c2a; /* Ek hi red use kiya gaya hai */
        line-height: 1;
        transform: scaleX(1); /* Flips icon to match the image style */
        margin-top: -10px;
    }

    /* Slider Wrapper */
    .tax-reviews-slider-wrapper {
        position: relative;
        min-height: 250px; /* Prevents height jumping */
    }

    /* Individual Slide */
    .tax-review-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        /* Bottom ki jagah Left se slide in hoga */
        transform: translateX(-50px); 
        transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
    }

    .tax-review-slide.is-active {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: translateX(0); /* Center me aayega */
    }

    .tax-review-text {
        font-size: 32px;
        font-weight: 500;
        color: #374151;
        line-height: 1.6;
        margin: 0 0 50px 0;
    }

    /* Bottom Row: Author & Controls */
    .tax-review-bottom {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .tax-review-author h4 {
        font-size: 22px;
        font-weight: 500;
        color: #1f2937;
        margin: 0 0 5px 0;
    }

    .tax-review-author span {
        font-size: 18px;
        color: #6b7280;
        font-weight: 400;
    }

    /* Arrow Controls */
    .tax-review-controls {
        display: flex;
        gap: 15px;
    }

    .tax-review-btn {
        width: 44px;
        height: 44px;
        background-color: #e11c2a; /* Primary Red */
        color: #ffffff;
        border: none;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .tax-review-btn:hover {
        background-color: #2b2b2b; /* Hover pe dark grey jaisa aapse manga tha */
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .tax-reviews-section {
            padding: 80px 5%;
        }
        .tax-reviews-header h2 {
            font-size: 28px;
        }
        .tax-quote-icon {
            font-size: 45px;
        }
        .tax-review-text {
            font-size: 20px;
            margin-bottom: 40px;
        }
        .tax-review-bottom {
            flex-direction: column;
            align-items: flex-start;
            gap: 25px;
        }
        .tax-review-controls {
            align-self: flex-end;
        }
    } 

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-reviews-section {
        padding: 50px 4% 60px;
    }
    
    .tax-reviews-container {
        max-width: 100%;
    }
    
    .tax-reviews-header {
        margin-bottom: 30px;
    }
    
    .tax-reviews-header h2 {
        font-size: 24px;
        line-height: 1.25;
    }
    
    .tax-quote-icon {
        font-size: 38px;
        margin-top: -5px;
    }
    
    .tax-reviews-slider-wrapper {
        min-height: 280px;
    }
    
    .tax-review-text {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 35px;
    }
    
    .tax-review-bottom {
        gap: 20px;
    }
    
    .tax-review-author h4 {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .tax-review-author span {
        font-size: 15px;
    }
    
    .tax-review-controls {
        gap: 12px;
    }
    
    .tax-review-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
        border-radius: 6px;
    }
}

/**********************************************************************************************************/

   .tax-cta-section {
        position: relative;
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/03/creative-business-team-working.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 550px; /* Adjust height as needed */
        display: flex;
        align-items: center;
        font-family: 'Work Sans', sans-serif;
        overflow: hidden;
    }

    /* Gradient Overlay */
    .tax-cta-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(300deg, rgba(48, 48, 48, 1) 0%, rgba(0, 66, 80, 0.22) 100%);
        z-index: 1;
    }

    /* Container for Alignment */
    .tax-cta-container {
        position: relative;
        z-index: 2;
        max-width: 1400px;
        width: 100%;
        margin: 0 auto;
        padding: 0 5%;
        display: flex;
        justify-content: flex-end; /* Aligns content to the right */
    }

    /* Content Box */
    .tax-cta-content {
        max-width: 600px; /* Limits the width of the text on the right */
        color: #ffffff;
    }

    .tax-cta-content h2 {
        font-size: 48px;
        font-weight: 500;
        line-height: 1.25;
        margin: 0 0 20px 0;
    }

    .tax-cta-content p {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.85); /* Slightly muted white */
        line-height: 1.6;
        margin: 0 0 40px 0;
    }

    /* Button Styling */
    .tax-cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background-color: #e11c2a; /* Primary Red */
        color: #ffffff;
        padding: 16px 36px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        transition: all 0.3s ease;
        border: 2px solid #e11c2a;
    }

    .tax-cta-btn:hover {
		        transform: translateX(5px);
        background-color: #fff; /* Dark Grey Hover */
        border-color: #fff;
        color: #2b2b2b;
    }

    .tax-cta-btn i {
        font-size: 16px;
        transition: transform 0.3s ease;
    }

    .tax-cta-btn:hover i {
        transform: translateX(5px);
    }

    /* Slide Up Animation Styles */
    .cta-slide-up {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .cta-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .tax-cta-section {
            min-height: 450px;
        }
        .tax-cta-content h2 {
            font-size: 40px;
        }
    }

    @media (max-width: 768px) {
        .tax-cta-section {
            padding: 80px 0;
            justify-content: center;
        }
        .tax-cta-container {
            justify-content: center; /* Center align on mobile */
            text-align: center;
        }
        .tax-cta-content h2 {
            font-size: 36px;
        }
        .tax-cta-content p {
            font-size: 16px;
        }
    }

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-cta-section {
        min-height: 300px;
        padding: 60px 0;
    }
    
    .tax-cta-container {
        padding: 0 4%;
    }
    
    .tax-cta-content {
        max-width: 100%;
    }
    
    .tax-cta-content h2 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .tax-cta-content p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    
    .tax-cta-btn {
        font-size: 16px;
        padding: 14px 30px;
        justify-content: center;
    }
    
    .tax-cta-btn i {
        font-size: 14px;
    }
}

/*****************************************************************************************************/
  .tax-blog-section {
        padding: 100px 3% 50px; /* Updated padding to 3% */
        background-color: #f9fafb; /* Light background to match typical site flow */
        font-family: 'Work Sans', sans-serif;
    }

    .tax-blog-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .tax-blog-header h2 {
        font-size: 42px;
        font-weight: 500;
        color: #2b2b2b;
        margin: 0;
    }

    .tax-blog-container {
        max-width: 1400px; /* Updated max-width to 1400px */
        margin: 0 auto;
    }

    .tax-blog-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    /* Card Styling */
    .tax-blog-card {
        background-color: #ffffff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        border: 1px solid #f3f4f6;
    }

    .tax-blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    }

    /* Image & Overlay */
    .tax-blog-image-wrapper {
        position: relative;
        height: 280px; /* Increased height by 20px */
        width: 100%;
        overflow: hidden;
    }

    .tax-blog-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

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

    /* Specific Gradient Requested by User */
    .tax-blog-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(190deg, rgba(0, 66, 80, 0) 0%, rgba(0, 66, 80, 1) 100%);
        z-index: 1;
        pointer-events: none; /* So it doesn't block clicks */
    }

    /* Category Pill */
    .tax-blog-category {
        position: absolute;
        bottom: 35px;
        left: 30px;
        background-color: #ffffff;
        color: #1f2937;
        padding: 8px 20px; /* Increased padding */
        border-radius: 4px;
        font-size: 16px;
        font-weight: 500;
        z-index: 2;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    /* Content Area */
    .tax-blog-content {
        padding: 30px 25px 35px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .tax-blog-title {
        font-size: 22px; /* Updated font size */
        font-weight: 500; /* Updated font weight */
        color: #1f2937;
        line-height: 1.4;
        margin: 0 0 15px 0;
        transition: color 0.3s ease;
        text-decoration: none;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* Limits title to 3 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Title turns Red on hover as requested */
    .tax-blog-card:hover .tax-blog-title {
        color: #e11c2a;
    }

    .tax-blog-excerpt {
        font-size: 15px;
        color: #6b7280;
        line-height: 1.6;
        margin: 0 0 25px 0;
        flex-grow: 1;
    }

    .tax-read-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #e11c2a;
        font-size: 15px;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .tax-read-more:hover {
        color: #b91522; /* Slightly darker red on hover */
    }

    .tax-read-more i {
        font-size: 13px;
        transition: transform 0.3s ease;
    }

    .tax-read-more:hover i {
        transform: translateX(5px);
    }

    /* Slide Up Animation */
    .blog-slide-up {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .blog-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 992px) {
        .tax-blog-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .tax-blog-section {
            padding: 80px 5%;
        }
        .tax-blog-header h2 {
            font-size: 32px;
        }
        .tax-blog-grid {
            grid-template-columns: 1fr;
        }
        .tax-blog-image-wrapper {
            height: 240px; /* Slightly adjusted for mobile */
        }
    }
/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-blog-section {
        padding: 60px 4% 40px;
    }
    
    .tax-blog-header {
        margin-bottom: 35px;
    }
    
    .tax-blog-header h2 {
        font-size: 28px;
    }
    
    .tax-blog-grid {
        gap: 20px;
    }
    
    .tax-blog-image-wrapper {
        height: 230px;
    }
    
    .tax-blog-category {
        font-size: 14px;
        padding: 7px 18px;
    }
    
    .tax-blog-content {
        padding: 25px 20px; 
    }
    
    .tax-blog-title {
        font-size: 20px;
    }
    
    .tax-blog-excerpt {
        font-size: 14px;
    }
}

/*******************************************************************************************/

   .tax-newsletter-section {
        background-color: #f8f7f3; /* Requested background color */
        padding: 80px 3%;
        font-family: 'Work Sans', sans-serif;
        overflow: hidden;
    }

    .tax-newsletter-container {
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 50px;
    }

    /* Left Side: Content */
    .tax-newsletter-content {
        flex: 1;
        max-width: 600px;
    }

    .tax-newsletter-content h2 {
        font-size: 42px;
        font-weight: 500;
        color: #2b2b2b;
        margin: 0 0 15px 0;
        line-height: 1.2;
    }

    .tax-newsletter-content p {
        font-size: 18px;
        color: #64748b;
        margin: 0;
        line-height: 1.6;
    }

    /* Right Side: Form Wrapper */
    .tax-newsletter-form-wrapper {
        flex: 1;
        max-width: 650px;
        width: 100%;
    }

    /* The Form (Container for input and button) */
    .tax-newsletter-form {
        display: flex;
        align-items: center;
        background-color: #ffffff;
        border: 1px solid #e5e7eb; /* Default light border */
        border-radius: 12px;
        padding: 6px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    /* Input Field */
    .tax-newsletter-form input[type="email"] {
        flex: 1;
        border: none;
        outline: none;
        padding: 15px 25px;
        font-size: 16px;
        font-family: 'Work Sans', sans-serif;
        color: #1f2937;
        background: transparent;
    }

    .tax-newsletter-form input[type="email"]::placeholder {
        color: #9ca3af;
    }

    /* Subscribe Button */
    .tax-newsletter-btn {
        background-color: #e11c2a; /* Default Red */
        color: #ffffff;
        border: none;
        padding: 15px 35px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 8px; /* Slightly smaller radius to fit inside the wrapper nicely */
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-family: 'Work Sans', sans-serif;
    }

    /* --- HOVER EFFECTS (As per user image) --- */
    .tax-newsletter-form:hover,
    .tax-newsletter-form:focus-within {
        border-color: #e11c2a; /* Red border on hover/focus */
        box-shadow: 0 6px 25px rgba(225, 28, 42, 0.1);
    }

    .tax-newsletter-form:hover .tax-newsletter-btn,
    .tax-newsletter-form:focus-within .tax-newsletter-btn {
        background-color: #2b2b2b; /* Button turns dark grey/black on hover of the form */
    }

    /* Slide Up Animation */
    .news-slide-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .news-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .tax-newsletter-container {
            flex-direction: column;
            text-align: center;
            gap: 40px;
        }
        .tax-newsletter-content {
            max-width: 100%;
        }
    }

    @media (max-width: 768px) {
        .tax-newsletter-section {
            padding: 60px 5%;
        }
        .tax-newsletter-content h2 {
            font-size: 32px;
        }
        .tax-newsletter-form {
            flex-direction: column;
            padding: 10px;
            gap: 10px;
        }
        .tax-newsletter-form input[type="email"] {
            width: 100%;
            text-align: center;
        }
        .tax-newsletter-btn {
            width: 100%;
        }
    }

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-newsletter-section {
        padding: 50px 4%;
    }
    
    .tax-newsletter-container {
        gap: 30px;
    }
    
    .tax-newsletter-content h2 {
        font-size: 26px;
        margin-bottom: 12px;
        line-height: 1.25;
    }
    
    .tax-newsletter-content p {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .tax-newsletter-form {
        padding: 8px;
        gap: 8px;
    }
    
    .tax-newsletter-form input[type="email"] {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .tax-newsletter-btn {
        padding: 13px 30px;
        font-size: 15px;
    }
}

/************************************************************************************/
/* ABOUT */
/******************************************************************************************/

  /* About Page Hero Section CSS - Unique class names used to prevent clashes */
    .tax-about-page-hero {
        position: relative;
        /* Updated image as requested */
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/03/workteam-of-young-asian-businessman.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 100vh; /* Height same as home hero */
        display: flex;
        align-items: center;
        justify-content: flex-end; /* Container right aligned */
        font-family: 'Work Sans', sans-serif;
        overflow: hidden;
    }

    /* Gradient Overlay */
    .tax-about-page-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Requested linear-gradient */
        background: linear-gradient(345deg, rgba(43, 43, 43, 1) 0%, rgba(3, 40, 46, 0.5) 76.5%);
        z-index: 1;
    }

    .tax-about-page-container {
        position: relative;
        z-index: 2;
        max-width: 950px; 
        text-align: left; /* Text strictly left aligned */
        padding: 0 40px;
        margin-right: 2%; 
        margin-top: 200px; 
        color: #ffffff;
    }

    /* Typography */
    .tax-about-page-title {
        font-size: 58px; 
        font-weight: 500;
        margin-bottom: 25px;
        line-height: 1.15;
    }

    .tax-about-page-desc {
        font-size: 20px; 
        margin-bottom: 40px; /* Kept margin for spacing, even without button */
        line-height: 1.6;
        color: #e2e8f0;
        max-width: 800px;
    }

    /* Animation Classes (Slide Up) */
    .about-hero-slide-up {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 1.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .about-hero-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .tax-about-page-hero {
            justify-content: center;
            min-height: 90vh;
        }
        .tax-about-page-container {
            margin-right: 0;
            margin-top: 80px;
            padding: 0 20px;
            text-align: center; /* Center aligned on mobile */
        }
        .tax-about-page-title {
            font-size: 45px;
        }
        .tax-about-page-desc {
            font-size: 16px;
        }
    }

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-about-page-hero {
        min-height: 80vh;
        justify-content: center;
    }
    
    .tax-about-page-container {
        margin-right: 0;
        margin-top: 60px;
        padding: 0 15px;
        text-align: center;
        max-width: 100%;
    }
    
    .tax-about-page-title {
        font-size: 32px;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .tax-about-page-desc {
        font-size: 14px;
        margin-bottom: 30px;
        line-height: 1.5;
    }
}

/***********************************************************************************************************/
  .tax-welcome-section {
        padding: 100px 3%;
        background-color: #ffffff;
        font-family: 'Work Sans', sans-serif;
        overflow: hidden;
    }

    .tax-welcome-container {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

    /* Left Content Column */
    .tax-welcome-content {
        padding-right: 20px;
    }

    .tax-welcome-subtitle {
        display: block;
        font-size: 18px;
        font-weight: 500;
        color: #1f2937;
        margin-bottom: 15px;
    }

    .tax-welcome-title {
        font-size: 48px;
        font-weight: 500;
        color: #2b2b2b;
        margin-bottom: 30px;
        line-height: 1.2;
    }

    .tax-welcome-text {
        font-size: 18px; /* Font size updated to 18px */
        color: #5e6b6b; /* Text color updated */
        line-height: 1.7;
    }

    .tax-welcome-text p {
        margin-bottom: 20px;
    }

    .tax-welcome-text strong {
        color: #4b5563; /* Slightly darker for contrast */
        font-weight:bolder;
    }

    /* Right Image Column */
    .tax-welcome-image-wrapper {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        height: 550px; /* Image height increased */
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    .tax-welcome-img {
        width: 100%;
        height: 100%; /* Ensure image takes full wrapper height */
        display: block;
        object-fit: cover;
    }

    /* Image Gradient Overlay (As requested) */
    .tax-welcome-img-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(350deg, rgba(2, 60, 73, 1) 0%, rgba(3, 40, 46, 0.2) 53.6%);
        z-index: 1;
    }

    /* Floating Consult Box (Smaller, not touching edges) */
    .tax-welcome-consult-box {
        position: absolute;
        bottom: 30px; /* Spacing from bottom */
        right: 30px; /* Spacing from right */
        width: calc(100% - 60px);
        max-width: 230px; /* Smaller width */
            background: rgb(227 227 227 / 20%);
    backdrop-filter: blur(15px); /* Semi-transparent dark background without blur */
        padding: 35px 30px;
        border-radius: 16px; /* Rounded corners all around */
        color: #ffffff;
        z-index: 2;
    }

    .tax-welcome-consult-box h3 {
        font-size: 24px;
        font-weight: 500;
        line-height: 27px;
        margin: 0 0 20px 0;
        color: #ffffff;
    }

    .tax-welcome-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #e11c2a;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .tax-welcome-link:hover {
        color: #ff3344; /* Lighter red on hover */
    }

    .tax-welcome-link i {
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .tax-welcome-link:hover i {
        transform: translateX(5px);
    }

    /* Slide Up Animation */
    .welcome-slide-up {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .welcome-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .tax-welcome-container {
            grid-template-columns: 1fr;
            gap: 50px;
        }
        .tax-welcome-content {
            padding-right: 0;
        }
    }

    @media (max-width: 768px) {
        .tax-welcome-section {
            padding: 80px 5%;
        }
        .tax-welcome-title {
            font-size: 36px;
        }
        .tax-welcome-image-wrapper {
            height: 450px; /* Slightly shorter on mobile */
        }
        .tax-welcome-consult-box {
            bottom: 20px;
            right: 20px;
            width: calc(100% - 40px);
            padding: 25px;
        }
        .tax-welcome-consult-box h3 {
            font-size: 20px;
        }
    }
  
/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-welcome-section {
        padding: 50px 4%;
    }
    
    .tax-welcome-container {
        gap: 35px;
    }
    
    .tax-welcome-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .tax-welcome-title {
        font-size: 28px;
        margin-bottom: 20px;
        line-height: 1.25;
    }
    
    .tax-welcome-text {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .tax-welcome-text p {
        margin-bottom: 15px;
    }
    
    .tax-welcome-image-wrapper {
        height: 380px;
    }
    
    .tax-welcome-consult-box h3 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 15px;
    }
    
    .tax-welcome-link {
        font-size: 14px;
        gap: 6px;
    }
    
    .tax-welcome-link i {
        font-size: 12px;
    }
}
/********************************************************************************************************/

  .tax-alt-section {
        padding: 10px 3% 100px;
        background-color: #ffffff;
        font-family: 'Work Sans', sans-serif;
        overflow: hidden;
    }

    .tax-alt-container {
        max-width: 1400px;
        margin: 0 auto;
    }

    /* Row Flexbox for Alternating Layout */
    .tax-alt-row {
        display: flex;
        align-items: center;
        gap: 30px; /* Gap reduced to 30px */
        margin-bottom: 10px;
    }

 /* Remove bottom margin from the last row */
    .tax-alt-row:last-child {
        margin-bottom: 0;
    }

    /* Reverse every even row for alternating effect */
    .tax-alt-row:nth-child(even) {
        flex-direction: row-reverse;
    }

    /* Image Column (Set to 35% width using flex ratio 35) */
    .tax-alt-image-col {
        flex: 35; 
        position: relative;
    }

    /* Text Content Column (Set to 65% width using flex ratio 65) */
    .tax-alt-text-col {
        flex: 65; 
        padding: 0 30px;
    }

    .tax-alt-img {
        width: 100%;
        height: auto;
        border-radius: 20px; /* Rounded corners as seen in the image */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        display: block;
        object-fit: cover;
    }

    /* Typography */
    .tax-alt-title {
        font-size: 38px;
        font-weight: 500;
        color: #2b2b2b;
        margin: 0 0 20px 0;
        line-height: 1.3;
    }

    .tax-alt-desc {
        font-size: 18px;
        color: #5e6b6b;
        line-height: 1.7;
        margin: 0;
    }

    /* Slide Up Animation */
    .alt-slide-up {
        opacity: 0;
        transform: translateY(60px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .alt-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .tax-alt-row {
            gap: 30px;
        }
        .tax-alt-text-col {
            padding: 0 15px;
        }
        .tax-alt-title {
            font-size: 32px;
        }
    }

    @media (max-width: 768px) {
        /* On mobile, reset row-reverse so image is always on top */
        .tax-alt-row, .tax-alt-row:nth-child(even) {
            flex-direction: column;
            margin-bottom: 70px;
            text-align: center;
        }
        .tax-alt-text-col {
            padding: 0;
        }
        .tax-alt-section {
            padding: 80px 5%;
        }
    }
/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-alt-section {
        padding: 50px 4% 60px;
    }
    
    .tax-alt-row,
    .tax-alt-row:nth-child(even) {
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .tax-alt-img {
        border-radius: 12px;
    }
    
    .tax-alt-title {
        font-size: 26px;
        margin-bottom: 15px;
        line-height: 1.25;
    }
    
    .tax-alt-desc {
        font-size: 15px;
        line-height: 1.6;
    }
}

/********************************************************************************************************/

    .tax-video-section {
        position: relative;
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/03/young-business-people-working-at-office.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 80px 5%; /* Padding reduced to make it shorter */
        min-height: 400px; /* Min-height reduced as requested */
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Work Sans', sans-serif;
        text-align: center;
    }

    /* Requested Background Overlay */
    .tax-video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--wp--preset--color--theme-0);
        background-blend-mode: normal;
        mix-blend-mode: normal;
        opacity: 0.8;
        z-index: 1;
    }

    .tax-video-container {
        position: relative;
        z-index: 2;
        max-width: 800px;
        color: #ffffff;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Play Button */
    .tax-video-play-btn {
        width: 60px;
        height: 60px;
        background-color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
        margin-bottom: 30px;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
        transition: transform 0.3s ease;
        animation: taxPulse 2s infinite;
    }

    .tax-video-play-btn i {
        color: #e11c2a; /* Red play icon */
        font-size: 20px;
        margin-left: 4px; /* Optical centering for play icon */
    }

    .tax-video-play-btn:hover {
        transform: scale(1.1);
        animation: none; /* Stop pulse on hover */
    }

    @keyframes taxPulse {
        0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
        70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
        100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
    }

    /* Typography */
    .tax-video-title {
        font-size: 46px;
        font-weight: 500;
        line-height: 1.25;
        margin: 0 0 20px 0;
    }

    .tax-video-desc {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.6;
        margin: 0 0 40px 0;
        max-width: 650px;
    }

    /* Red CTA Button */
    .tax-video-cta {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background-color: #e11c2a;
        color: #ffffff;
        padding: 16px 36px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        border: 2px solid #e11c2a; /* Added border to maintain size on hover */
        transition: all 0.3s ease;
    }

    .tax-video-cta:hover {
        background-color: #ffffff; /* Red to White on hover */
        color: #e11c2a; /* Text becomes red */
        border-color: #ffffff;
        transform: translateX(10px); /* Moves the entire button right */
    }

    .tax-video-cta i {
        font-size: 16px;
        transition: transform 0.3s ease;
    }

    .tax-video-cta:hover i {
        transform: translateX(5px); /* Arrow moves slightly more right */
    }

    /* --- Video Modal Styles --- */
    .tax-video-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6); /* Lighter backdrop (halka overlay) */
        z-index: 10000;
        display: flex; /* Flex ensures it stays perfectly centered */
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .tax-video-modal.is-active {
        opacity: 1;
        visibility: visible;
    }

    .tax-video-modal-content {
        position: relative;
        width: 90%;
        max-width: 800px;
        aspect-ratio: 16 / 9;
        background-color: transparent;
        transform: scale(0.95);
        transition: transform 0.4s ease;
    }

    .tax-video-modal.is-active .tax-video-modal-content {
        transform: scale(1);
    }

    .tax-video-modal iframe {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 8px;
    }

    .tax-video-close {
        position: absolute;
        top: -40px;
        right: 0;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 36px;
        cursor: pointer;
        line-height: 1;
        transition: color 0.3s ease;
    }

    .tax-video-close:hover {
        color: #e11c2a;
    }

    /* Slide Up Animation */
    .vid-slide-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .vid-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .tax-video-section {
            padding: 80px 5%;
            min-height: 350px;
        }
        .tax-video-title {
            font-size: 32px;
        }
        .tax-video-desc {
            font-size: 16px;
        }
        .tax-video-play-btn {
            width: 60px;
            height: 60px;
        }
        .tax-video-play-btn i {
            font-size: 20px;
        }
        .tax-video-close {
            top: -35px;
            font-size: 30px;
        }
    }

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-video-section {
        padding: 60px 4%;
        min-height: 300px;
    }
    
    .tax-video-container {
        max-width: 100%;
    }
    
    .tax-video-play-btn {
        width: 55px;
        height: 55px;
        margin-bottom: 25px;
    }
    
    .tax-video-play-btn i {
        font-size: 18px;
    }
    
    .tax-video-title {
        font-size: 26px;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
}

/**************************************************************************************************/

    .tax-process-section {
        padding: 100px 3%;
        background-color: #ffffff;
        font-family: 'Work Sans', sans-serif;
        overflow: hidden;
    }

    .tax-process-container {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr; /* 50% - 50% Split */
        gap: 60px;
        align-items: center;
    }

    /* Left Content Column */
    .tax-process-content {
        padding-right: 20px;
    }

    .tax-process-title {
        font-size: 46px;
        font-weight: 500;
        color: #2b2b2b;
        margin-bottom: 35px;
        line-height: 1.25;
    }

    /* Custom List Styling */
    .tax-process-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .tax-process-list li {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        font-size: 18px;
        color: #2b2b2b;
        line-height: 27px;
		font-weight:500;
    }

    .tax-process-list li i {
        color: #e11c2a;
        font-size: 18px;
        margin-top: 4px; /* Aligns the icon perfectly with the first line of text */
        background-color: #ffffff;
        border-radius: 50%;
        flex-shrink: 0; /* Prevents icon from shrinking if text is long */
    }

    /* Right Image Column */
    .tax-process-image-wrapper {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        height: 500px; /* Fixed height for consistent look */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

    .tax-process-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Image Gradient Overlay (As requested) */
    .tax-process-img-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(350deg, rgba(2, 60, 73, 1) 0%, rgba(3, 40, 46, 0.2) 53.6%);
        z-index: 1;
        pointer-events: none;
    }

    /* Slide Up Animation */
    .process-slide-up {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .process-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .tax-process-container {
            grid-template-columns: 1fr;
            gap: 50px;
        }
        .tax-process-content {
            padding-right: 0;
        }
    }

    @media (max-width: 768px) {
        .tax-process-section {
            padding: 80px 5%;
        }
        .tax-process-title {
            font-size: 36px;
        }
        .tax-process-image-wrapper {
            height: 350px;
        }
        .tax-process-list li {
            font-size: 16px;
        }
    }
/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-process-section {
        padding: 50px 4%;
    }
    
    .tax-process-container {
        gap: 35px;
    }
    
    .tax-process-title {
        font-size: 28px;
        margin-bottom: 25px;
        line-height: 1.2;
    }
    
    .tax-process-list {
        gap: 15px;
    }
    
    .tax-process-list li {
        font-size: 15px;
        gap: 12px;
        line-height: 24px;
    }
    
    .tax-process-list li i {
        font-size: 16px;
        margin-top: 3px;
    }
    
    .tax-process-image-wrapper {
        height: 300px;
    }
}

/***************************************************************************************************/
/* // contact */
/*****************************************************************************************************/
.tax-contact-section {
        padding: 180px 3% 100px;
        /* Requested Background Gradient */
        background: linear-gradient(345deg, rgba(2, 60, 73, 1) 0%, rgba(3, 40, 46, 0.8) 100%);
        font-family: 'Work Sans', sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tax-contact-container {
        max-width: 1400px;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

    /* Left Side - Form Container */
    .tax-contact-form-wrapper {
        background-color: #ffffff;
        padding: 50px;
        border-radius: 12px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

    /* --- Contact Form 7 Specific CSS to match the new image --- */
    
    /* Hide br tags that CF7 sometimes generates */
    .tax-contact-form-wrapper .wpcf7-form br {
        display: none;
    }

    /* Spacing for form control wrappers */
    .tax-contact-form-wrapper .wpcf7-form-control-wrap {
        display: block;
        margin-bottom: 20px;
    }

    /* Input fields and textarea Styling */
    .tax-contact-form-wrapper .wpcf7-form input[type="text"],
    .tax-contact-form-wrapper .wpcf7-form input[type="email"],
    .tax-contact-form-wrapper .wpcf7-form textarea {
        width: 100%;
        padding: 16px 20px;
        border: 1px solid #e5e7eb; /* Light border */
        border-radius: 6px;
        background-color: #ffffff; /* White background inside input */
        color: #1f2937;
        font-family: 'Work Sans', sans-serif;
        font-size: 15px;
        box-sizing: border-box;
        transition: all 0.3s ease;
    }

    /* Placeholder styling (Grey text inside) */
    .tax-contact-form-wrapper .wpcf7-form input::placeholder,
    .tax-contact-form-wrapper .wpcf7-form textarea::placeholder {
        color: #9ca3af;
        opacity: 1;
    }

    /* Hover states for inputs */
    .tax-contact-form-wrapper .wpcf7-form input[type="text"]:hover,
    .tax-contact-form-wrapper .wpcf7-form input[type="email"]:hover,
    .tax-contact-form-wrapper .wpcf7-form textarea:hover {
        border-color: #e11c2a; /* Red border on hover */
    }

    /* Focus states */
    .tax-contact-form-wrapper .wpcf7-form input[type="text"]:focus,
    .tax-contact-form-wrapper .wpcf7-form input[type="email"]:focus,
    .tax-contact-form-wrapper .wpcf7-form textarea:focus {
        border-color: #e11c2a; /* Red border on focus */
        outline: none;
        box-shadow: 0 0 0 1px #e11c2a; /* Subtle red glow */
    }

    .tax-contact-form-wrapper .wpcf7-form textarea {
        min-height: 150px;
        resize: vertical;
    }

    /* Submit Button Styling (with SVG background arrow) */
    .tax-contact-form-wrapper .wpcf7-form input[type="submit"] {
        background-color: #e11c2a; /* Red button */
        color: #ffffff;
        border: none;
        padding: 15px 50px 15px 30px; /* Extra padding on right for arrow */
        font-size: 16px;
        font-weight: 500;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Work Sans', sans-serif;
        margin-top: 10px;
        /* Injecting arrow icon via background-image for standard CF7 submit */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%23ffffff'%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0-105.4 105.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 20px center;
        background-size: 14px;
    }

    .tax-contact-form-wrapper .wpcf7-form input[type="submit"]:hover {
        /* Button fix rahega, text aur icon andar move honge */
        padding: 15px 40px 15px 40px; /* Shift text 10px right */
        background-position: right 10px center; /* Shift icon 10px right */
    }

    /* Right Side - Info Container */
    .tax-contact-info-wrapper {
        color: #ffffff;
    }

    .tax-contact-title {
        font-size: 58px;
        font-weight: 500;
        line-height: 1.25;
        margin-bottom: 20px;
    }

    .tax-contact-desc {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.85);
        margin-bottom: 50px;
    }

    .tax-contact-details {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .tax-contact-item {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .tax-contact-icon {
        width: 50px;
        height: 50px;
        background-color: #e11c2a;
        border-radius: 8px; /* Rounded square */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
    }

    .tax-contact-text h4 {
        margin: 0 0 5px 0;
        font-size: 22px;
        font-weight: 600;
    }

    .tax-contact-text p, 
    .tax-contact-text a {
        margin: 0;
        font-size: 16px;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .tax-contact-text a:hover {
        color: #ffffff;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .tax-contact-container {
            grid-template-columns: 1fr;
            gap: 50px;
        }
        /* Yahan se order aur text-align center hata diya gaya hai 
           taki natural flow (Form left aligned aur top pe) rahe */
    }

    @media (max-width: 768px) {
        .tax-contact-section {
            padding: 120px 5% 80px; /* Thoda adjust kiya gaya taki mobile header cross na kare */
        }
        .tax-contact-form-wrapper {
            padding: 30px 20px;
        }
        .tax-contact-title {
            font-size: 36px;
        }
    }

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-contact-section {
        padding: 70px 4% 60px;
    }
    
    .tax-contact-container {
        gap: 35px;
    }
    
    .tax-contact-form-wrapper {
        padding: 25px 18px;
    }
    
    .tax-contact-form-wrapper .wpcf7-form input[type="text"],
    .tax-contact-form-wrapper .wpcf7-form input[type="email"],
    .tax-contact-form-wrapper .wpcf7-form textarea {
        padding: 14px 18px;
        font-size: 14px;
    }
    
    .tax-contact-form-wrapper .wpcf7-form textarea {
        min-height: 120px;
    }
    
    .tax-contact-form-wrapper .wpcf7-form input[type="submit"] {
        width: 100%;
        padding: 14px 50px 14px 30px;
        font-size: 15px;
        background-position: right 18px center;
    }
    
    .tax-contact-form-wrapper .wpcf7-form input[type="submit"]:hover {
        padding: 14px 40px 14px 40px;
        background-position: right 8px center;
    }
    
    .tax-contact-title {
        font-size: 28px;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .tax-contact-desc {
        font-size: 15px;
        margin-bottom: 35px;
        line-height: 1.5;
    }
    
    .tax-contact-details {
        gap: 25px;
    }
    
    .tax-contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .tax-contact-text h4 {
        font-size: 18px;
    }
    
    .tax-contact-text p,
    .tax-contact-text a {
        font-size: 14px;
    }
}
/********************************************************************************************************/
   /* --- ITIN Hero Section CSS --- */
    .tax-itin-hero {
        position: relative;
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/04/itin-hero.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        /* Adjusted height for inner page hero */
        min-height: 50vh; 
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Work Sans', sans-serif;
        text-align: center;
        padding-top: 100px; /* Accounts for the absolute header */
        overflow: hidden;
    }

    .tax-itin-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Requested Gradient */
        background: linear-gradient(345deg, rgba(2, 60, 73, 1) 0%, rgba(3, 40, 46, 0.5) 76.5%);
        z-index: 1;
    }

    .tax-itin-hero-content {
        position: relative;
        z-index: 2;
        color: #ffffff;
        padding: 0 20px;
    }

    .tax-itin-hero-title {
        font-size: 60px;
        font-weight: 600;
        margin: 0;
        line-height: 1.2;
    }


    /* --- ITIN Content Section (50/50) CSS --- */
    .tax-itin-content-section {
        padding: 100px 5%;
        background-color: #ffffff;
        font-family: 'Work Sans', sans-serif;
    }

    .tax-itin-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr; /* 50% Text, 50% Image */
        gap: 60px;
        align-items: center;
    }

    /* Left Text Column */
    .tax-itin-text-col {
        padding-right: 20px;
    }

    .tax-itin-text-col h2 {
        font-size: 38px;
        font-weight: 600;
        color: #1f2937;
        margin-bottom: 25px;
        line-height: 1.3;
    }

    .tax-itin-text-col p {
        font-size: 17px;
        color: #4b5563;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    /* Right Image Column */
    .tax-itin-img-col {
        position: relative;
    }

    .tax-itin-img-col img {
        width: 100%;
        height: auto;
        border-radius: 8px; /* Light rounded corners */
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); /* Soft shadow to make image pop */
        display: block;
    }

    /* Animations */
    .itin-anim-slide-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .itin-anim-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 992px) {
        .tax-itin-container {
            grid-template-columns: 1fr;
            gap: 50px;
        }
        .tax-itin-text-col {
            padding-right: 0;
        }
    }

    @media (max-width: 768px) {
        .tax-itin-hero {
            min-height: 50vh;
        }
        .tax-itin-hero-title {
            font-size: 42px;
        }
        .tax-itin-content-section {
            padding: 80px 5%;
        }
        .tax-itin-text-col h2 {
            font-size: 32px;
        }
    }
/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-itin-hero {
        min-height: 40vh;
        padding-top: 80px;
    }
    
    .tax-itin-hero-content {
        padding: 0 15px;
    }
    
    .tax-itin-hero-title {
        font-size: 36px;
        line-height: 1.15;
    }
    
    .tax-itin-content-section {
        padding: 50px 4%;
    }
    
    .tax-itin-container {
        gap: 35px;
    }
    
    .tax-itin-text-col h2 {
        font-size: 26px;
        margin-bottom: 18px;
        line-height: 1.25;
    }
    
    .tax-itin-text-col p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .tax-itin-img-col img {
        border-radius: 6px;
    }
}
/*****************************************************************************************************/

 /* --- Individual Filing Hero Section CSS --- */
    .tax-indiv-hero {
        position: relative;
        /* Using the provided background image */
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/04/tax-form-calculator-money.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 50vh; 
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Work Sans', sans-serif;
        text-align: center;
        padding-top: 100px; /* Accounts for the absolute header */
        overflow: hidden;
    }

    .tax-indiv-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Requested Gradient */
        background: linear-gradient(345deg, rgba(2, 60, 73, 1) 0%, rgba(3, 40, 46, 0.5) 76.5%);
        z-index: 1;
    }

    .tax-indiv-hero-content {
        position: relative;
        z-index: 2;
        color: #ffffff;
        padding: 0 20px;
    }

    .tax-indiv-hero-title {
        font-size: 60px;
        font-weight: 600;
        margin: 0;
        line-height: 1.2;
    }


    /* --- Individual Content Section (50/50) CSS --- */
    .tax-indiv-content-section {
        padding: 100px 5%;
        background-color: #ffffff;
        font-family: 'Work Sans', sans-serif;
    }

    .tax-indiv-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr; /* 50% Text, 50% Image */
        gap: 60px;
        align-items: center;
    }

    /* Left Text Column */
    .tax-indiv-text-col {
        padding-right: 20px;
    }

    .tax-indiv-heading {
        font-size: 26px;
        font-weight: 700;
        color: #2b2b2b;
        margin-top: 0;
        margin-bottom: 30px;
        line-height: 1.4;
    }

    /* List Styling matching the image */
    .tax-indiv-list {
        list-style: none;
        padding: 0;
        margin: 0 0 40px 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .tax-indiv-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 16px;
        color: #4b5563;
        line-height: 1.6;
    }

    .tax-indiv-list li strong {
        color: #2b2b2b;
        font-weight: 600;
    }

    .tax-indiv-list li i {
        color: #e11c2a; /* Red Checkmark */
        font-size: 18px;
        margin-top: 4px; /* Align icon with the first line of text */
        background-color: #ffffff;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .tax-indiv-footer-text {
        font-size: 16px;
        color: #2b2b2b;
        line-height: 1.6;
        margin: 0;
    }

    /* Right Image Column */
    .tax-indiv-img-col {
        position: relative;
    }

    .tax-indiv-img-col img {
        width: 100%;
        height: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Subtle shadow like in the image */
        display: block;
    }

    /* Animations */
    .indiv-anim-slide-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .indiv-anim-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 992px) {
        .tax-indiv-container {
            grid-template-columns: 1fr;
            gap: 50px;
        }
        .tax-indiv-text-col {
            padding-right: 0;
        }
    }

    @media (max-width: 768px) {
        .tax-indiv-hero {
            min-height: 45vh;
        }
        .tax-indiv-hero-title {
            font-size: 42px;
        }
        .tax-indiv-content-section {
            padding: 80px 5%;
        }
        .tax-indiv-heading {
            font-size: 22px;
        }
    }

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-indiv-hero {
        min-height: 40vh;
        padding-top: 80px;
    }
    
    .tax-indiv-hero-content {
        padding: 0 15px;
    }
    
    .tax-indiv-hero-title {
        font-size: 36px;
        line-height: 1.15;
    }
    
    .tax-indiv-content-section {
        padding: 50px 4%;
    }
    
    .tax-indiv-container {
        gap: 35px;
    }
    
    .tax-indiv-heading {
        font-size: 20px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .tax-indiv-list {
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .tax-indiv-list li {
        font-size: 14px;
        gap: 10px;
        line-height: 1.5;
    }
    
    .tax-indiv-list li i {
        font-size: 16px;
        margin-top: 2px;
    }
    
    .tax-indiv-footer-text {
        font-size: 14px;
        line-height: 1.5;
    }
}

/***********************************************************************************************************/
 /* --- Corporate Filing Hero Section CSS --- */
    .tax-corp-hero {
        position: relative;
        /* Using the provided background image */
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/04/corporate-hero.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 50vh; /* Height strictly set to 50vh as requested */
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Work Sans', sans-serif;
        text-align: center;
        padding-top: 100px; /* Accounts for the absolute header */
        overflow: hidden;
    }

    .tax-corp-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Requested Gradient */
        background: linear-gradient(345deg, rgba(2, 60, 73, 1) 0%, rgba(3, 40, 46, 0.5) 76.5%);
        z-index: 1;
    }

    .tax-corp-hero-content {
        position: relative;
        z-index: 2;
        color: #ffffff;
        padding: 0 20px;
    }

    .tax-corp-hero-title {
        font-size: 60px;
        font-weight: 600;
        margin: 0;
        line-height: 1.2;
    }


    /* --- Corporate Content Section CSS --- */
    .tax-corp-content-section {
        padding: 100px 5%;
        background-color: #ffffff;
        font-family: 'Work Sans', sans-serif;
    }

    .tax-corp-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Alternating Row Layout */
    .tax-corp-row {
        display: flex;
        align-items: center;
        gap: 60px;
        margin-bottom: 100px;
    }

    .tax-corp-row:last-child {
        margin-bottom: 0;
    }

    /* Reverse every even row */
    .tax-corp-row:nth-child(even) {
        flex-direction: row-reverse;
    }

    /* Columns */
    .tax-corp-text-col {
        flex: 1;
    }

    .tax-corp-img-col {
        flex: 1;
        position: relative;
    }

    /* Typography */
    .tax-corp-heading {
        font-size: 28px;
        font-weight: 700;
        color: #2b2b2b;
        margin-top: 0;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .tax-corp-text-col p {
        font-size: 17px;
        color: #4b5563;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .tax-corp-footer-text {
        font-size: 17px;
        color: #2b2b2b;
        line-height: 1.6;
        margin-top: 25px !important;
        font-weight: 600;
    }

    /* List Styling */
    .tax-corp-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .tax-corp-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 16px;
        color: #4b5563;
        line-height: 1.6;
    }

    .tax-corp-list li strong {
        color: #2b2b2b;
        font-weight: 600;
    }

    .tax-corp-list li i {
        color: #e11c2a; /* Red Checkmark */
        font-size: 18px;
        margin-top: 4px;
        background-color: #ffffff;
        border-radius: 50%;
        flex-shrink: 0;
    }

    /* Image Styling */
    .tax-corp-img-col img {
        width: 100%;
        height: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Subtle shadow */
        border-radius: 4px;
        display: block;
    }

    /* Animations */
    .corp-anim-slide-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .corp-anim-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 992px) {
        .tax-corp-row, .tax-corp-row:nth-child(even) {
            flex-direction: column;
            gap: 40px;
            margin-bottom: 80px;
        }
        .tax-corp-text-col, .tax-corp-img-col {
            width: 100%;
        }
    }

    @media (max-width: 768px) {
        .tax-corp-hero-title {
            font-size: 42px;
        }
        .tax-corp-content-section {
            padding: 80px 5%;
        }
        .tax-corp-heading {
            font-size: 24px;
        }
    }

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-corp-hero {
        min-height: 40vh;
        padding-top: 80px;
    }
    
    .tax-corp-hero-content {
        padding: 0 15px;
    }
    
    .tax-corp-hero-title {
        font-size: 36px;
        line-height: 1.15;
    }
    
    .tax-corp-content-section {
        padding: 50px 4%;
    }
    
    .tax-corp-row,
    .tax-corp-row:nth-child(even) {
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .tax-corp-heading {
        font-size: 22px;
        margin-bottom: 18px;
        line-height: 1.3;
    }
    
    .tax-corp-text-col p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .tax-corp-footer-text {
        font-size: 15px;
        margin-top: 20px !important;
    }
    
    .tax-corp-list {
        gap: 12px;
    }
    
    .tax-corp-list li {
        font-size: 14px;
        gap: 10px;
        line-height: 1.5;
    }
    
    .tax-corp-list li i {
        font-size: 16px;
        margin-top: 2px;
    }
}

/********************************************************************************************************/

    /* --- Partnership Filing Hero Section CSS --- */
    .tax-partner-hero {
        position: relative;
        /* Using the provided background image */
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/04/partnership-hero.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 50vh; /* Height set to 50vh */
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Work Sans', sans-serif;
        text-align: center;
        padding-top: 100px; /* Accounts for the absolute header */
        overflow: hidden;
    }

    .tax-partner-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Requested Gradient */
        background: linear-gradient(345deg, rgba(2, 60, 73, 1) 0%, rgba(3, 40, 46, 0.5) 76.5%);
        z-index: 1;
    }

    .tax-partner-hero-content {
        position: relative;
        z-index: 2;
        color: #ffffff;
        padding: 0 20px;
    }

    .tax-partner-hero-title {
        font-size: 60px;
        font-weight: 600;
        margin: 0;
        line-height: 1.2;
    }


    /* --- Partnership Content Section CSS --- */
    .tax-partner-content-section {
        padding: 100px 5%;
        background-color: #ffffff;
        font-family: 'Work Sans', sans-serif;
    }

    .tax-partner-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Alternating Row Layout */
    .tax-partner-row {
        display: flex;
        align-items: center;
        gap: 60px;
        margin-bottom: 100px;
    }

    .tax-partner-row:last-child {
        margin-bottom: 0;
    }

    /* Reverse every even row to create the zigzag Image-Text effect */
    .tax-partner-row:nth-child(even) {
        flex-direction: row-reverse;
    }

    /* Columns */
    .tax-partner-text-col {
        flex: 1;
    }

    .tax-partner-img-col {
        flex: 1;
        position: relative;
    }

    /* Typography */
    .tax-partner-heading {
        font-size: 28px;
        font-weight: 700;
        color: #2b2b2b;
        margin-top: 0;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .tax-partner-text-col p {
        font-size: 17px;
        color: #4b5563;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .tax-partner-text-col p:last-child {
        margin-bottom: 0;
    }

    /* Image Styling */
    .tax-partner-img-col img {
        width: 100%;
        height: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Subtle shadow */
        border-radius: 4px;
        display: block;
    }

    /* Animations */
    .partner-anim-slide-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .partner-anim-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 992px) {
        .tax-partner-row, .tax-partner-row:nth-child(even) {
            flex-direction: column;
            gap: 40px;
            margin-bottom: 80px;
        }
        .tax-partner-text-col, .tax-partner-img-col {
            width: 100%;
        }
    }

    @media (max-width: 768px) {
        .tax-partner-hero-title {
            font-size: 42px;
        }
        .tax-partner-content-section {
            padding: 80px 5%;
        }
        .tax-partner-heading {
            font-size: 24px;
        }
    }

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-partner-hero {
        min-height: 40vh;
        padding-top: 80px;
    }
    
    .tax-partner-hero-content {
        padding: 0 15px;
    }
    
    .tax-partner-hero-title {
        font-size: 36px;
        line-height: 1.15;
    }
    
    .tax-partner-content-section {
        padding: 50px 4%;
    }
    
    .tax-partner-row,
    .tax-partner-row:nth-child(even) {
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .tax-partner-heading {
        font-size: 22px;
        margin-bottom: 18px;
        line-height: 1.3;
    }
    
    .tax-partner-text-col p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
}
/*********************************************************************************************************/
   /* --- Amendment Filing Hero Section CSS --- */
    .tax-amend-hero {
        position: relative;
        /* Using the provided background image */
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/04/amended-back.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 50vh; /* Height set to 50vh */
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Work Sans', sans-serif;
        text-align: center;
        padding-top: 100px; /* Accounts for the absolute header */
        overflow: hidden;
    }

    .tax-amend-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Requested Gradient */
        background: linear-gradient(345deg, rgba(2, 60, 73, 1) 0%, rgba(3, 40, 46, 0.5) 76.5%);
        z-index: 1;
    }

    .tax-amend-hero-content {
        position: relative;
        z-index: 2;
        color: #ffffff;
        padding: 0 20px;
    }

    .tax-amend-hero-title {
        font-size: 60px;
        font-weight: 600;
        margin: 0;
        line-height: 1.2;
    }


    /* --- Amendment Content Section CSS --- */
    .tax-amend-content-section {
        padding: 100px 5%;
        background-color: #ffffff;
        font-family: 'Work Sans', sans-serif;
    }

    .tax-amend-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr; /* 50% Text, 50% Images */
        gap: 60px;
        align-items: flex-start;
    }

    /* Left Text Column */
    .tax-amend-text-col {
        padding-right: 20px;
    }

    .tax-amend-heading {
        font-size: 28px;
        font-weight: 700;
        color: #2b2b2b;
        margin-top: 0;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .tax-amend-text-col p {
        font-size: 17px;
        color: #4b5563;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .tax-amend-text-col p:last-child {
        margin-bottom: 0;
    }

    /* Right Image Column (Stacked Images) */
    .tax-amend-img-col {
        display: flex;
        flex-direction: column;
        gap: 5px; /* Slight gap to distinguish the two stacked images */
        position: relative;
    }

    .tax-amend-img-col img {
        width: 100%;
        height: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Subtle shadow */
        border-radius: 4px;
        display: block;
    }

    /* Animations */
    .amend-anim-slide-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .amend-anim-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 992px) {
        .tax-amend-container {
            grid-template-columns: 1fr;
            gap: 50px;
        }
        .tax-amend-text-col {
            padding-right: 0;
        }
    }

    @media (max-width: 768px) {
        .tax-amend-hero-title {
            font-size: 42px;
        }
        .tax-amend-content-section {
            padding: 80px 5%;
        }
        .tax-amend-heading {
            font-size: 24px;
        }
    }

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-amend-hero {
        min-height: 40vh;
        padding-top: 80px;
    }
    
    .tax-amend-hero-content {
        padding: 0 15px;
    }
    
    .tax-amend-hero-title {
        font-size: 36px;
        line-height: 1.15;
    }
    
    .tax-amend-content-section {
        padding: 50px 4%;
    }
    
    .tax-amend-container {
        gap: 35px;
    }
    
    .tax-amend-heading {
        font-size: 22px;
        margin-bottom: 18px;
        line-height: 1.3;
    }
    
    .tax-amend-text-col p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 18px;
    }
    
    .tax-amend-img-col {
        gap: 10px;
    }
}
/*************************************************************************************************/

   /* --- IRS Refund Hero Section CSS --- */
    .tax-refund-hero {
        position: relative;
        /* Using the provided background image */
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/04/irs-refund-1.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 50vh; /* Height set to 50vh */
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Work Sans', sans-serif;
        text-align: center;
        padding-top: 100px; /* Accounts for the absolute header */
        overflow: hidden;
    }

    .tax-refund-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Requested Gradient */
        background: linear-gradient(345deg, rgba(2, 60, 73, 1) 0%, rgba(3, 40, 46, 0.5) 76.5%);
        z-index: 1;
    }

    .tax-refund-hero-content {
        position: relative;
        z-index: 2;
        color: #ffffff;
        padding: 0 20px;
    }

    .tax-refund-hero-title {
        font-size: 60px;
        font-weight: 600;
        margin: 0;
        line-height: 1.2;
    }


    /* --- IRS Refund Content Section CSS --- */
    .tax-refund-content-section {
        padding: 100px 5%;
        background-color: #ffffff;
        font-family: 'Work Sans', sans-serif;
    }

    .tax-refund-container {
        max-width: 1000px; /* Kept slightly narrower for readability, like the image */
        margin: 0 auto;
        display: grid;
        grid-template-columns: 300px 1fr; /* Left sidebar approx 300px, right content takes rest */
        gap: 60px;
        align-items: flex-start;
    }

    /* Left Sidebar Column */
    .tax-refund-sidebar {
        padding-top: 5px;
    }

    .tax-refund-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .tax-refund-menu li a {
        text-decoration: none;
        color: #1f2937;
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
    }

    .tax-refund-menu li a:hover {
        color: #e11c2a;
    }

    /* Right Text Column */
    .tax-refund-main-content p {
        font-size: 17px;
        color: #64748b;
        line-height: 1.7;
        margin-top: 0;
        margin-bottom: 35px;
    }

    /* Refund CTA Button */
    .tax-refund-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background-color: #e11c2a;
        color: #ffffff;
        padding: 14px 28px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 15px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .tax-refund-btn:hover {
        background-color: #c01622;
    }

    .tax-refund-btn i {
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .tax-refund-btn:hover i {
        transform: translateX(5px);
    }

    /* Animations */
    .refund-anim-slide-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .refund-anim-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 992px) {
        .tax-refund-container {
            grid-template-columns: 1fr; /* Stack columns on tablet/mobile */
            gap: 40px;
        }
        .tax-refund-menu {
            flex-direction: row;
            gap: 30px;
            border-bottom: 1px solid #e5e7eb;
            padding-bottom: 20px;
            margin-bottom: 10px;
        }
    }

    @media (max-width: 768px) {
        .tax-refund-hero-title {
            font-size: 42px;
        }
        .tax-refund-content-section {
            padding: 80px 5%;
        }
        .tax-refund-menu {
            flex-direction: column;
            gap: 15px;
        }
    }
/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-refund-hero {
        min-height: 40vh;
        padding-top: 80px;
    }

    .tax-refund-hero-content {
        padding: 0 15px;
    }

    .tax-refund-hero-title {
        font-size: 36px;
        line-height: 1.15;
    }

    .tax-refund-content-section {
        padding: 50px 4%;
    }

    .tax-refund-container {
        gap: 35px;
    }

    .tax-refund-menu {
        flex-direction: column;
        gap: 15px;
    }

    .tax-refund-menu li a {
        font-size: 16px;
    }

    .tax-refund-main-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .tax-refund-btn {
        font-size: 14px;
        padding: 12px 22px;
    }
}

/******************************************************************************************************/
   /* --- Blog Hero Section CSS --- */
    .tax-blog-hero {
        position: relative;
        /* Requested Background Image */
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/04/tax-forms-and-currency-on-a-wooden.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 50vh; /* Consistent height */
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Work Sans', sans-serif;
        text-align: center;
        padding-top: 100px; /* Accounts for the absolute header */
        overflow: hidden;
    }

    .tax-blog-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Requested Gradient */
        background: linear-gradient(345deg, rgba(2, 60, 73, 1) 0%, rgba(3, 40, 46, 0.5) 76.5%);
        z-index: 1;
    }

    .tax-blog-hero-content {
        position: relative;
        z-index: 2;
        color: #ffffff;
        padding: 0 20px;
    }

    .tax-blog-hero-title {
        font-size: 60px;
        font-weight: 600;
        margin: 0;
        line-height: 1.2;
    }


    /* --- Blog Grid Section CSS --- */
    .tax-blog-archive-section {
        padding: 100px 5%;
        background-color: #f9fafb; /* Light grey background to make white cards pop */
        font-family: 'Work Sans', sans-serif;
    }

    .tax-blog-archive-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .tax-blog-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
        gap: 40px 30px;
        margin-bottom: 60px; /* Space before pagination */
    }

    /* Individual Card Styling */
    .tax-blog-card {
        background-color: #ffffff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid #f3f4f6;
    }

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

    /* Card Image & Pill */
    .tax-blog-img-wrapper {
        position: relative;
        height: 220px;
        width: 100%;
        overflow: hidden;
        display: block;
    }

    .tax-blog-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .tax-blog-card:hover .tax-blog-img-wrapper img {
        transform: scale(1.05);
    }

    .tax-blog-category-pill {
        position: absolute;
        bottom: 15px;
        left: 20px;
        background-color: #ffffff;
        color: #4b5563;
        padding: 6px 14px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        z-index: 2;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        text-decoration: none;
    }

    /* Card Content Area */
    .tax-blog-content {
        padding: 25px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .tax-blog-title {
        font-size: 22px; /* Increased from 19px to 22px */
        font-weight: 600;
        color: #1f2937;
        line-height: 1.4;
        margin: 0 0 15px 0;
        text-decoration: none;
        transition: color 0.3s ease;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .tax-blog-title:hover {
        color: #e11c2a;
    }

    .tax-blog-excerpt {
        font-size: 15px;
        color: #6b7280;
        line-height: 1.6;
        margin: 0 0 20px 0;
        flex-grow: 1;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .tax-read-more-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #e11c2a;
        font-size: 17px; /* Increased from 14px to 17px */
        font-weight: 600;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .tax-read-more-link:hover {
        color: #c01622;
    }

    .tax-read-more-link i {
        font-size: 14px; /* Slightly increased icon size to match new text size */
        transition: transform 0.3s ease;
    }

    .tax-read-more-link:hover i {
        transform: translateX(4px);
    }

    /* --- Pagination CSS --- */
    .tax-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 40px;
    }

    .tax-pagination .page-numbers {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        background-color: transparent;
        color: #1f2937;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .tax-pagination .page-numbers.current,
    .tax-pagination .page-numbers:hover {
        background-color: #e11c2a;
        color: #ffffff;
    }

    .tax-pagination .next.page-numbers,
    .tax-pagination .prev.page-numbers {
        background-color: transparent;
        color: #1f2937;
    }

    .tax-pagination .next.page-numbers:hover,
    .tax-pagination .prev.page-numbers:hover {
        background-color: transparent;
        color: #e11c2a;
    }

    /* Animation */
    .blog-anim-slide-up {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .blog-anim-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 992px) {
        .tax-blog-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
		.tax-blog-hero{
		  min-height: 35vh;
		}
        .tax-blog-hero-title {
            font-size: 42px;
        }
        .tax-blog-archive-section {
            padding: 80px 5%;
        }
        .tax-blog-grid {
            grid-template-columns: 1fr 1fr;
        }
		
}
 @media (max-width: 480px) {
  .tax-blog-grid {
            grid-template-columns: 1fr;
        }

		}
/**************************************************************************************************/

   /* --- FAQ Hero Section CSS --- */
    .tax-faq-hero {
        position: relative;
        /* Requested Background Image */
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/04/tax-us-dollar-money.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 50vh;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Work Sans', sans-serif;
        padding-top: 100px; /* Accounts for the absolute header */
        overflow: hidden;
    }

    .tax-faq-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Requested Gradient */
        background: linear-gradient(345deg, rgba(2, 60, 73, 1) 0%, rgba(3, 40, 46, 0.5) 88.3%);
        z-index: 1;
    }

    .tax-faq-hero-content {
        position: relative;
        z-index: 2;
        color: #ffffff;
        padding: 0 20px;
        max-width: 800px;
        text-align: left; /* Left aligned as seen in the image */
        margin: 0 auto;
        width: 100%;
    }

    .tax-faq-hero-title {
        font-size: 52px;
        font-weight: 600;
        margin: 0 0 20px 0;
        line-height: 1.2;
    }

    .tax-faq-hero-desc {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.6;
        margin: 0;
        max-width: 600px;
    }


    /* --- FAQ Accordion Section CSS --- */
    .tax-faq-section {
        padding: 100px 5%;
        background-color: #f9fafb; /* Light background to make white FAQ cards pop */
        font-family: 'Work Sans', sans-serif;
    }

    .tax-faq-container {
        max-width: 850px; /* Constrained width for better readability */
        margin: 0 auto;
    }

    .tax-faq-category-title {
        text-align: center;
        font-size: 36px;
        font-weight: 500;
        color: #2b2b2b;
        margin-bottom: 50px;
    }

    /* Accordion Wrapper */
    .tax-accordion-list {
        display: flex;
        flex-direction: column;
        gap: 15px; /* Spacing between FAQ items */
    }

    /* Individual FAQ Item */
    .tax-accordion-item {
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
        border: 1px solid #f3f4f6;
        overflow: hidden;
        transition: box-shadow 0.3s ease;
    }

    .tax-accordion-item:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    /* Header / Question */
    .tax-accordion-header {
        padding: 22px 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        user-select: none;
        background-color: #ffffff;
        transition: background-color 0.3s ease;
    }

    .tax-accordion-title {
        font-size: 16px;
        font-weight: 500;
        color: #374151;
        margin: 0;
        padding-right: 20px;
    }

    .tax-accordion-icon {
        color: #9ca3af;
        font-size: 14px;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    /* Active State (Open FAQ) */
    .tax-accordion-item.is-active .tax-accordion-header {
        /* Optional: Add slight background tint when open if desired */
    }

    .tax-accordion-item.is-active .tax-accordion-title {
        color: #e11c2a; /* Turns red when open */
    }

    .tax-accordion-item.is-active .tax-accordion-icon {
        transform: rotate(180deg); /* Flip chevron */
        color: #e11c2a;
    }

    /* Content / Answer */
    .tax-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.4s ease;
        background-color: #ffffff;
    }

    .tax-accordion-body {
        padding: 0 25px 25px 25px; /* Padding only applies to inner body */
        font-size: 15px;
        color: #6b7280;
        line-height: 1.7;
        margin: 0;
    }

    .tax-accordion-item.is-active .tax-accordion-content {
        /* max-height is set dynamically via JS */
    }


    /* Animation */
    .faq-anim-slide-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
/* Responsive for tablets (below 992px) */
@media (max-width: 992px) {
    .tax-faq-hero-title {
        font-size: 42px;
    }

    .tax-faq-section {
        padding: 80px 5%;
    }
}

/* Responsive for mobile (below 768px) */
@media (max-width: 768px) {
    .tax-faq-hero {
        min-height: 40vh;
        padding-top: 80px;
    }

    .tax-faq-hero-title {
        font-size: 36px;
    }

    .tax-faq-hero-desc {
        font-size: 16px;
    }

    .tax-faq-section {
        padding: 60px 5%;
    }

    .tax-faq-category-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .tax-accordion-header {
        padding: 18px 20px;
    }

    .tax-accordion-title {
        font-size: 15px;
    }

    .tax-accordion-body {
        padding: 0 20px 20px 20px;
        font-size: 14px;
    }
}

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-faq-hero {
        min-height: 35vh;
        padding-top: 70px;
    }

    .tax-faq-hero-content {
        padding: 0 15px;
    }

    .tax-faq-hero-title {
        font-size: 30px;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .tax-faq-hero-desc {
        font-size: 15px;
        line-height: 1.5;
    }

    .tax-faq-section {
        padding: 50px 4%;
    }

    .tax-faq-category-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .tax-accordion-list {
        gap: 10px;
    }

    .tax-accordion-header {
        padding: 15px 16px;
    }

    .tax-accordion-title {
        font-size: 14px;
        line-height: 1.4;
        padding-right: 12px;
    }

    .tax-accordion-body {
        padding: 0 16px 18px 16px;
        font-size: 14px;
        line-height: 1.6;
    }

    .tax-accordion-icon {
        font-size: 12px;
    }
}
/*******************************************************************************************************/
    /* --- Page Hero Section --- */
    .tax-page-hero {
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 50vh; /* Hero section height exactly 50vh */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-family: 'Work Sans', sans-serif;
        padding-top: 100px; /* Adjusting for absolute header */
        overflow: hidden;
    }

    /* Gradient and Blur Overlay */
    .tax-page-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Theme's dark gradient */
        background: linear-gradient(345deg, rgba(2, 60, 73, 0.7) 0%, rgba(3, 40, 46, 0.6) 100%);
        /* Blur effect */
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 1;
    }

    .tax-page-hero-content {
        position: relative;
        z-index: 2;
        max-width: 1000px;
        width: 100%;
        margin: 0 auto;
        color: #ffffff; /* White text */
        padding: 0 20px;
    }

    .tax-page-title {
        font-size: 56px;
        font-weight: 600;
        line-height: 1.25;
        margin: 0;
    }

    /* --- Main Page Content Area --- */
    .tax-page-main-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 100px 5%; /* 100px padding as requested */
        font-family: 'Work Sans', sans-serif;
    }

    /* Content Body Typography */
    .tax-page-content-body {
        font-size: 18px;
        color: #4b5563;
        line-height: 1.8;
    }

    .tax-page-content-body h1,
    .tax-page-content-body h2,
    .tax-page-content-body h3,
    .tax-page-content-body h4 {
        color: #1f2937;
        margin-top: 40px;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .tax-page-content-body h2 { font-size: 36px; }
    .tax-page-content-body h3 { font-size: 28px; }

    .tax-page-content-body p {
        margin-bottom: 25px;
    }

    .tax-page-content-body ul, 
    .tax-page-content-body ol {
        margin-bottom: 25px;
        padding-left: 20px;
    }

    .tax-page-content-body li {
        margin-bottom: 10px;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .tax-page-hero {
            min-height: 40vh; /* Slightly smaller on mobile */
            padding-top: 80px;
        }
        .tax-page-title {
            font-size: 38px;
        }
        .tax-page-main-container {
            padding: 80px 5%; /* Adjusted padding for mobile */
        }
        .tax-page-content-body {
            font-size: 16px;
        }
    }
/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-page-hero {
        min-height: 35vh;
        padding-top: 70px;
    }

    .tax-page-hero-content {
        padding: 0 15px;
    }

    .tax-page-title {
        font-size: 30px;
        line-height: 1.15;
    }

    .tax-page-main-container {
        padding: 50px 4%;
    }

    .tax-page-content-body {
        font-size: 15px;
        line-height: 1.6;
    }

    .tax-page-content-body h2 {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 14px;
    }

    .tax-page-content-body h3 {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .tax-page-content-body h4 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .tax-page-content-body p {
        margin-bottom: 18px;
    }

    .tax-page-content-body ul,
    .tax-page-content-body ol {
        margin-bottom: 18px;
        padding-left: 16px;
    }

    .tax-page-content-body li {
        margin-bottom: 8px;
    }
}
/**************************************************************************/
 /* --- Single Post Hero Section --- */
    .tax-single-hero {
        position: relative;
        background-image: url('https://taxvisorllp.com/new/wp-content/uploads/2026/04/tax-forms-and-currency-on-a-wooden.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 35vh; /* Hero section ka height thoda badhaya gaya hai */
        padding: 160px 20px 100px; 
        text-align: center;
        font-family: 'Work Sans', sans-serif;
    }

    .tax-single-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #2b2b2b;
        opacity: 0.9;
        z-index: 1;
    }

    .tax-single-hero-content {
        position: relative;
        z-index: 2;
        max-width: 1200px; /* Width badhayi gayi hai taki title 2 lines me aaye */
        width: 100%;
        margin: 0 auto;
        color: #ffffff;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Category Pill (Shrani) */
    .tax-single-category {
        background-color: #ffffff;
        color: #1f2937;
        padding: 6px 16px;
        border-radius: 4px;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 25px;
        text-decoration: none;
        display: inline-block;
    }

    .tax-single-title {
        font-size: 48px;
        font-weight: 600;
        line-height: 1.25;
        margin: 0 auto 25px auto;
        max-width: 1000px; /* Text ko center aur failne dene ke liye */
    }

    /* Meta Info (Lekhak aur Tarikh) */
    .tax-single-meta {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .tax-single-meta span.author {
        color: #ffffff;
        font-weight: 600;
    }

    .tax-single-meta span.separator {
        display: inline-block;
        width: 30px;
        height: 2px;
        background-color: #e11c2a; /* Red dash */
    }


    /* --- Main Post Content Area --- */
    .tax-single-main-container {
        max-width: 950px;
        margin: 0 auto;
        padding: 0 5% 100px;
        position: relative;
        z-index: 3;
        font-family: 'Work Sans', sans-serif;
    }

    /* Featured Image Overlapping */
    .tax-single-featured-img {
        max-width: 800px; /* Featured image ko thoda chota kiya gaya hai */
        margin: -80px auto 50px auto; /* Center align aur hero par overlap */
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        background-color: #ffffff;
    }

    .tax-single-featured-img img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Content Body (Mukhya Lekh) */
    .tax-single-content-body {
        font-size: 18px;
        color: #4b5563;
        line-height: 1.8;
    }

    .tax-single-content-body h2,
    .tax-single-content-body h3,
    .tax-single-content-body h4 {
        color: #1f2937;
        margin-top: 40px;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .tax-single-content-body h2 { font-size: 32px; }
    .tax-single-content-body h3 { font-size: 26px; }

    .tax-single-content-body p {
        margin-bottom: 25px;
    }

    .tax-single-content-body ul, 
    .tax-single-content-body ol {
        margin-bottom: 25px;
        padding-left: 20px;
    }

    .tax-single-content-body li {
        margin-bottom: 10px;
    }


    /* --- Tags and Share Section --- */
    .tax-single-bottom-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        padding: 30px 0;
        margin-top: 50px;
        flex-wrap: wrap;
        gap: 20px;
    }

    .tax-single-tags {
        font-size: 16px;
        color: #4b5563;
        font-weight: 500;
    }

    .tax-single-tags a {
        color: #e11c2a; /* Red Tags */
        text-decoration: none;
        margin: 0 3px;
        transition: color 0.3s ease;
    }

    .tax-single-tags a:hover {
        color: #1f2937;
    }

    .tax-single-share {
        display: flex;
        align-items: center;
        gap: 15px;
        font-size: 16px;
        color: #4b5563;
        font-weight: 500;
    }

    .tax-single-share a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background-color: #e11c2a;
        color: #ffffff;
        border-radius: 50%;
        text-decoration: none;
        font-size: 15px;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .tax-single-share a:hover {
        background-color: #2b2b2b;
        transform: translateY(-3px);
    }


    /* --- Comments Section (Tippaniyan) --- */
    .tax-single-comments {
        margin-top: 50px;
    }

    .tax-single-comments #reply-title {
        font-size: 38px;
        font-weight: 500;
        color: #1f2937;
        margin-bottom: 10px;
    }

    .tax-single-comments .logged-in-as,
    .tax-single-comments .comment-notes {
        color: #6b7280;
        font-size: 15px;
        margin-bottom: 25px;
    }

    .tax-single-comments .logged-in-as a {
        color: #e11c2a;
        text-decoration: none;
    }

    .tax-single-comments .comment-form-comment {
        margin-bottom: 20px;
    }

    .tax-single-comments .comment-form-comment label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 10px;
    }

    .tax-single-comments .comment-form-comment textarea {
        width: 100%;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 15px;
        font-family: inherit;
        font-size: 16px;
        resize: vertical;
        min-height: 200px;
        color: #1f2937;
        box-sizing: border-box;
    }

    .tax-single-comments .comment-form-comment textarea:focus {
        border-color: #e11c2a;
        outline: none;
    }

    .tax-single-comments .form-submit #submit {
        background-color: #e11c2a;
        color: #fff;
        border: none;
        padding: 15px 35px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-top: 10px;
    }

    .tax-single-comments .form-submit #submit:hover {
        background-color: #2b2b2b;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .tax-single-hero {
            padding: 140px 20px 80px;
        }
        .tax-single-title {
            font-size: 32px;
        }
        .tax-single-featured-img {
            margin-top: -40px;
        }
        .tax-single-content-body {
            font-size: 16px;
        }
        .tax-single-bottom-meta {
            flex-direction: column;
            align-items: flex-start;
        }
    }

    .faq-anim-slide-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .tax-faq-hero-title {
            font-size: 38px;
        }
        .tax-faq-hero-desc {
            font-size: 16px;
        }
        .tax-faq-section {
            padding: 80px 5%;
        }
        .tax-faq-category-title {
            font-size: 28px;
            margin-bottom: 35px;
        }
        .tax-accordion-header {
            padding: 18px 20px;
        }
        .tax-accordion-title {
            font-size: 15px;
        }
        .tax-accordion-body {
            padding: 0 20px 20px 20px;
        }
    }

/* Responsive for small mobile devices (below 480px) */
@media (max-width: 480px) {
    .tax-single-hero {
        min-height: 30vh;
        padding: 120px 15px 60px;
    }

    .tax-single-category {
        font-size: 12px;
        padding: 5px 12px;
        margin-bottom: 18px;
    }

    .tax-single-title {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .tax-single-meta {
        font-size: 13px;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tax-single-main-container {
        padding: 0 4% 60px;
    }

    .tax-single-featured-img {
        margin-top: -30px;
        margin-bottom: 35px;
        border-radius: 8px;
    }

    .tax-single-content-body {
        font-size: 15px;
        line-height: 1.65;
    }

    .tax-single-content-body h2 {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 14px;
    }

    .tax-single-content-body h3 {
        font-size: 19px;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .tax-single-content-body h4 {
        font-size: 17px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .tax-single-content-body p {
        margin-bottom: 18px;
    }

    .tax-single-content-body ul,
    .tax-single-content-body ol {
        margin-bottom: 18px;
        padding-left: 16px;
    }

    .tax-single-content-body li {
        margin-bottom: 8px;
    }

    .tax-single-bottom-meta {
        padding: 20px 0;
        margin-top: 35px;
        gap: 15px;
    }

    .tax-single-tags {
        font-size: 14px;
    }

    .tax-single-share {
        font-size: 14px;
        gap: 10px;
    }

    .tax-single-share a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .tax-single-comments #reply-title {
        font-size: 26px;
    }

    .tax-single-comments .comment-form-comment textarea {
        font-size: 15px;
        min-height: 160px;
        padding: 12px;
    }

    .tax-single-comments .form-submit #submit {
        font-size: 15px;
        padding: 13px 28px;
        width: 100%;
    }
}

/*********************************************************************************/