/* ================= TAXOPS PAGE ENHANCED STYLES ================= */

/* ================= HERO SECTION ================= */
.taxops-hero {
    background: linear-gradient(135deg, #f0f7fb 0%, #ffffff 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.taxops-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(118, 179, 218, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(47, 94, 155, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.taxops-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.taxops-hero-content h1 {
    font-family: var(--font-serif);
    font-size: 44px;
    line-height: 1.2;
    color: var(--medical-navy);
    margin-bottom: 16px;
    font-weight: 700;
}

.subheadline {
    font-size: 20px;
    color: var(--clinical-blue);
    margin-top: 0;
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.4;
}

.taxops-definition {
    background: rgba(255, 255, 255, 0.9);
    border-left: 4px solid var(--clinical-blue);
    padding: 24px 28px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--charcoal-ink);
    box-shadow: 0 4px 16px rgba(15, 42, 68, 0.08);
    margin-top: 28px;
}

.taxops-definition strong {
    color: var(--medical-navy);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Hero Image Styling */
.taxops-hero-media {
    position: relative;
}

.taxops-hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    background: linear-gradient(135deg, #eaf5fb 0%, #ffffff 100%);
    display: block;
    box-shadow:
        0 20px 40px rgba(15, 42, 68, 0.12),
        0 8px 16px rgba(15, 42, 68, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.taxops-hero-image:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 48px rgba(15, 42, 68, 0.15),
        0 12px 20px rgba(15, 42, 68, 0.1);
}

/* Decorative element behind image */
.taxops-hero-media::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sterile-sky) 0%, var(--clinical-blue) 100%);
    border-radius: 12px;
    opacity: 0.15;
    z-index: -1;
}

/* ================= MAIN CONTENT SECTION ================= */
.taxops-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.taxops-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Main Content Column */
.taxops-grid > div:first-child {
    padding-right: 20px;
}

.taxops-section h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    color: var(--medical-navy);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 16px;
}

/* Subtle underline accent */
.taxops-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--clinical-blue) 0%, var(--sterile-sky) 100%);
    border-radius: 2px;
}

.taxops-section h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--muted-indigo);
    font-weight: 600;
    line-height: 1.4;
}

.taxops-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--charcoal-ink);
    margin-bottom: 16px;
}

/* ================= BENEFITS SIDEBAR ================= */
.taxops-benefits {
    background: linear-gradient(135deg, #f8fbfc 0%, #ffffff 100%);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(118, 179, 218, 0.2);
    position: sticky;
    top: 100px;
}

.benefit {
    background: #ffffff;
    padding: 24px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow:
        0 4px 12px rgba(11, 42, 74, 0.06),
        0 1px 3px rgba(11, 42, 74, 0.08);
    border: 1px solid rgba(118, 179, 218, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover effect for benefit cards */
.benefit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px rgba(11, 42, 74, 0.1),
        0 2px 6px rgba(11, 42, 74, 0.08);
    border-color: var(--sterile-sky);
}

/* Subtle gradient overlay on hover */
.benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--clinical-blue) 0%, var(--sterile-sky) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit:hover::before {
    opacity: 1;
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    line-height: 1;
}

.benefit h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--medical-navy);
    margin-bottom: 10px;
    font-weight: 600;
}

.benefit p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--cool-slate);
    margin-bottom: 0;
}

.note {
    font-size: 12px;
    color: var(--warm-steel);
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(118, 179, 218, 0.08);
    border-radius: 6px;
    border-left: 3px solid var(--sterile-sky);
    font-style: italic;
}

/* ================= CTA BUTTON ================= */
.taxops-cta {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(118, 179, 218, 0.2);
}

.taxops-cta .btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--clinical-blue) 0%, var(--medical-navy) 100%);
    color: #ffffff;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 12px rgba(47, 94, 155, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}

.taxops-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 94, 155, 0.35);
    background: linear-gradient(135deg, var(--medical-navy) 0%, var(--clinical-blue) 100%);
}

/* ================= CONTAINER ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= RESPONSIVE DESIGN ================= */

/* Tablet (900px and below) */
@media (max-width: 900px) {
    .taxops-hero {
        padding: 60px 0 50px;
    }

    .taxops-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .taxops-hero-content h1 {
        font-size: 36px;
    }

    .subheadline {
        font-size: 18px;
    }

    .taxops-hero-media::after {
        display: none;
    }

    .taxops-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .taxops-grid > div:first-child {
        padding-right: 0;
    }

    .taxops-section h2 {
        font-size: 32px;
    }

    .taxops-section h3 {
        font-size: 22px;
        margin-top: 32px;
    }

    .taxops-benefits {
        position: static;
        margin-top: 20px;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .taxops-hero {
        padding: 50px 0 40px;
    }

    .taxops-hero-content h1 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .subheadline {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .taxops-definition {
        padding: 20px 22px;
        font-size: 14px;
        margin-top: 20px;
    }

    .taxops-definition strong {
        font-size: 15px;
    }

    .taxops-section {
        padding: 60px 0;
    }

    .taxops-section h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .taxops-section h3 {
        font-size: 20px;
        margin-top: 28px;
    }

    .taxops-section p {
        font-size: 15px;
        line-height: 1.7;
    }

    .taxops-benefits {
        padding: 24px;
    }

    .benefit {
        padding: 20px;
    }

    .taxops-cta {
        margin-top: 32px;
        padding-top: 24px;
    }

    .taxops-cta .btn-primary {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .taxops-hero {
        padding: 40px 0 30px;
    }

    .taxops-hero-content h1 {
        font-size: 26px;
    }

    .subheadline {
        font-size: 15px;
    }

    .taxops-definition {
        padding: 18px 20px;
        font-size: 13px;
    }

    .taxops-section {
        padding: 40px 0;
    }

    .taxops-section h2 {
        font-size: 24px;
    }

    .taxops-section h3 {
        font-size: 18px;
    }

    .taxops-benefits {
        padding: 20px;
    }

    .benefit {
        padding: 18px;
        margin-bottom: 16px;
    }

    .benefit h4 {
        font-size: 16px;
    }

    .benefit p {
        font-size: 13px;
    }

    .benefit-icon {
        font-size: 28px;
    }
}

/* ================= ALTERNATIVE: BETTER ICONS (OPTIONAL) ================= */
/* If you want to replace emoji with styled divs, uncomment this section */

/*
.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--sterile-sky) 0%, var(--clinical-blue) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    box-shadow: 0 4px 8px rgba(47, 94, 155, 0.15);
}
*/

/* ================= PRINT STYLES ================= */
@media print {
    .taxops-hero {
        background: #ffffff;
        padding: 20px 0;
    }

    .taxops-hero::before,
    .taxops-hero-media::after {
        display: none;
    }

    .benefit {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #dddddd;
    }

    .taxops-cta .btn-primary {
        background: #0b2a4a;
        box-shadow: none;
    }
}
