/* File: /home4/ramrosoft/mybas.com.au/assets/css/mytax.css */

/* Main Styles for myTax Page */
.mytax-page {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #212529;
    --light-text: #6c757d;
    --border-color: #dee2e6;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --border-radius: 0.25rem;
}

/* Hero Section */
.mytax-hero {
    background: linear-gradient(135deg, #0062cc, #0097a7);
    padding: 5rem 0;
    color: #fff;
    position: relative;
}

.mytax-hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1));
    pointer-events: none;
}

.mytax-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.mytax-hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-content {
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    z-index: 5;
    margin-top: 2rem;
}

.hero-image img {
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border: 5px solid #fff;
}

@media (min-width: 992px) {
    .mytax-hero .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .hero-content {
        flex: 0 0 50%;
        padding-right: 2rem;
    }
    
    .hero-image {
        flex: 0 0 45%;
        margin-top: 0;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Features Section */
.key-features {
    padding: 5rem 0;
    background-color: #fff;
}

.key-features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
}

.feature-icon img {
    width: 35px;
    height: 35px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Tax Calculator Section */
.tax-calculator-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.tax-calculator-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 3rem;
}

.calculator-container {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.calculator-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--light-text);
}

.calculator-info p {
    margin-bottom: 1rem;
}

.calculator-info strong {
    color: var(--text-color);
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background-color: #fff;
}

.steps {
    max-width: 900px;
    margin: 3rem auto 0;
}

.step {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 70px;
    left: 25px;
    width: 2px;
    height: calc(100% + 4rem);
    background-color: var(--border-color);
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.step-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-content img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Deduction Categories */
.deduction-categories {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.category-tab {
    padding: 0.75rem 1.25rem;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.category-tab.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.category-panel {
    display: none;
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.category-panel.active {
    display: block;
}

.category-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.category-info {
    flex: 1;
    min-width: 300px;
}

.category-image {
    flex: 0 0 300px;
}

.category-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.deduction-list {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.deduction-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.ato-note {
    background-color: #f8f9fa;
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    margin-top: 2rem;
}

/* Occupation Deductions */
.occupation-deductions {
    padding: 5rem 0;
    background-color: #fff;
}

.occupation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.occupation-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.occupation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.occupation-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.occupation-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.occupation-card ul {
    padding-left: 1.25rem;
}

.occupation-card li {
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.view-all {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
}

.view-all p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* No Receipts Section */
.no-receipts {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.receipts-info {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.receipts-content {
    flex: 1;
    min-width: 300px;
}

.receipts-image {
    flex: 0 0 350px;
}

.receipts-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.large-list {
    padding-left: 0;
    list-style: none;
}

.large-list li {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.large-list h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.alert-box {
    background-color: #fff3cd;
    border-left: 4px solid var(--warning-color);
    padding: 1.5rem;
    margin-top: 2rem;
}

.alert-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

/* App Comparison Section */
.mydeductions-app {
    padding: 5rem 0;
    background-color: #fff;
}

.app-comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-column {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-column.highlight {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary-color);
    position: relative;
}

.comparison-column.highlight:before {
    content: 'Recommended';
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.comparison-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.check-list, .cross-list {
    padding-left: 1.75rem;
    margin-bottom: 2rem;
}

.check-list li, .cross-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0.5rem;
}

.check-list li:before, .cross-list li:before {
    content: '✓';
    position: absolute;
    left: -1.5rem;
    color: var(--success-color);
    font-weight: bold;
}

.cross-list li:before {
    content: '×';
    color: var(--danger-color);
}

.comparison-limitations {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-color);
}

.comparison-limitations h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.1rem;
    padding: 1.5rem;
    margin: 0;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-item h3:after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-item.active h3 {
    background-color: #f8f9fa;
}

.faq-item.active h3:after {
    content: '−';
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin-bottom: 1rem;
    color: var(--light-text);
    line-height: 1.6;
}

.faq-answer ul, .faq-answer ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: #fff;
}

.testimonial-slider {
    position: relative;
    margin-top: 3rem;
}

.testimonial {
    opacity: 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
}

.testimonial.active {
    opacity: 1;
    position: relative;
}

.testimonial-content {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 40px;
    width: 20px;
    height: 20px;
    background-color: #f8f9fa;
    transform: rotate(45deg);
    z-index: 1;
}

.stars {
    color: var(--warning-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial blockquote {
    margin: 0;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-left: 2rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-details .name {
    font-weight: 700;
    color: var(--text-color);
}

.author-details .business {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0062cc, #0097a7);
    padding: 5rem 0;
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.no-credit-card {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .feature-card, .occupation-card, .large-list li {
        padding: 1.5rem;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .category-tab {
        width: 100%;
        text-align: center;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .feature-card {
        padding: 1.5rem;
    }
    
    .occupation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}