/* =====================================================
   DoctorsManagement - Tax Planning and Strategies
   Namespaced under .dmc-tax-planning ; authored in px (theme html=10px)
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Libre+Franklin:wght@300;400;500;600;700&family=DM+Serif+Display&display=swap');

.dmc-tax-planning {
    all: initial;
    display: block;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #182B49;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    box-sizing: border-box;
    --dark-blue: #182B49; --primary-blue: #006A96; --gold: #C69214; --teal: #00C6D7; --green: #6E963B; --orange: #FC8900; --cool-gray: #747678; --light-gray: #F8F9FB; --white: #FFFFFF; --font-display: 'Comfortaa', cursive; --font-serif: 'DM Serif Display', serif; --font-body: 'Libre Franklin', sans-serif; --shadow-sm: 0 1px 3px rgba(24, 43, 73, 0.06); --shadow-md: 0 4px 16px rgba(24, 43, 73, 0.08); --shadow-lg: 0 12px 32px rgba(24, 43, 73, 0.12); --shadow-xl: 0 24px 64px rgba(24, 43, 73, 0.16);
}
.dmc-tax-planning *, .dmc-tax-planning *::before, .dmc-tax-planning *::after { box-sizing: border-box; margin: 0; padding: 0; }
.dmc-tax-planning img { max-width: 100%; height: auto; display: block; }
.dmc-tax-planning a { color: var(--primary-blue); text-decoration: none; transition: all 0.3s ease; }
.dmc-tax-planning a:hover { color: var(--gold); }
.dmc-tax-planning h1, .dmc-tax-planning h2, .dmc-tax-planning h3, .dmc-tax-planning h4, .dmc-tax-planning h5, .dmc-tax-planning h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; color: var(--dark-blue); }
.dmc-tax-planning h1 { font-size: clamp(40px, 5vw, 64px); }
.dmc-tax-planning h2 { font-size: clamp(30px, 4vw, 44px); }
.dmc-tax-planning h3 { font-size: clamp(24px, 3vw, 32px); }
.dmc-tax-planning h4 { font-size: clamp(20px, 2vw, 24px); }
.dmc-tax-planning h5 { font-size: 18px; }
.dmc-tax-planning p { margin-bottom: 20px; font-size: 17px; }

.dmc-tp-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.dmc-tp-section-lg { padding: 96px 0; }
.dmc-tp-section-label { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 16px; }
.dmc-tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; font-family: var(--font-display); font-size: 15px; font-weight: 600; border-radius: 4px; border: 2px solid transparent; cursor: pointer; transition: all 0.3s ease; text-decoration: none; }
.dmc-tp-btn-primary { background: var(--gold); color: var(--dark-blue); border-color: var(--gold); }
.dmc-tp-btn-primary:hover { background: #d9a116; border-color: #d9a116; transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--dark-blue); }
.dmc-tp-btn-outline { background: transparent; color: var(--dark-blue); border-color: var(--dark-blue); }
.dmc-tp-btn-outline:hover { background: var(--dark-blue); color: var(--white); }
.dmc-tp-btn-white { background: var(--white); color: var(--dark-blue); border-color: var(--white); }
.dmc-tp-btn-white:hover { background: var(--gold); border-color: var(--gold); color: var(--dark-blue); }
.dmc-tp-btn-lg { padding: 18px 40px; font-size: 16px; }
.dmc-tp-site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); box-shadow: var(--shadow-sm); }
.dmc-tp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.dmc-tp-logo img { height: 48px; }
.dmc-tp-header-right { display: flex; align-items: center; gap: 32px; }
.dmc-tp-header-phone { display: flex; align-items: center; gap: 8px; color: var(--dark-blue); font-weight: 600; }
.dmc-tp-header-phone svg { width: 20px; height: 20px; color: var(--primary-blue); }
.dmc-tp-hero { padding: 80px 0; background: var(--dark-blue); position: relative; overflow: hidden; }
.dmc-tp-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.dmc-tp-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.dmc-tp-hero-content h1 { color: var(--white); margin-bottom: 24px; }
.dmc-tp-hero-content h1 span { color: var(--gold); }
.dmc-tp-hero-description { font-size: 18px; color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; }
.dmc-tp-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.dmc-tp-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.dmc-tp-hero-stat-number { font-family: var(--font-serif); font-size: 40px; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.dmc-tp-hero-stat-label { color: rgba(255,255,255,0.75); font-size: 14px; letter-spacing: 0.02em; }
.dmc-tp-lead-form-wrapper { background: var(--white); border-radius: 12px; padding: 32px; box-shadow: var(--shadow-xl); }
.dmc-tp-lead-form-wrapper h3 { margin-bottom: 20px; font-size: 22px; }
.dmc-tp-lead-form-wrapper .dmc-tp-btn { width: 100%; }
.dmc-tp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dmc-tp-form-group { margin-bottom: 16px; }
.dmc-tp-form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; color: var(--dark-blue); }
.dmc-tp-form-group input, .dmc-tp-form-group select, .dmc-tp-form-group textarea { width: 100%; padding: 14px 16px; font-family: var(--font-body); font-size: 16px; border: 2px solid #e2e8f0; border-radius: 8px; background: var(--light-gray); transition: all 0.3s ease; }
.dmc-tp-form-group input:focus, .dmc-tp-form-group select:focus, .dmc-tp-form-group textarea:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0, 106, 150, 0.1); background: var(--white); }
.dmc-tp-form-group textarea { min-height: 100px; resize: vertical; }
.dmc-tp-trust-bar { background: var(--dark-blue); padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.dmc-tp-trust-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.dmc-tp-trust-item { display: flex; align-items: center; gap: 14px; color: var(--white); }
.dmc-tp-trust-item-icon { width: 40px; height: 40px; background: rgba(198, 146, 20, 0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dmc-tp-trust-item-icon svg { width: 22px; height: 22px; color: var(--gold); }
.dmc-tp-trust-item-text strong { display: block; font-family: var(--font-display); font-size: 15px; }
.dmc-tp-trust-item-text span { font-size: 13px; color: rgba(255,255,255,0.7); }
.dmc-tp-section-header { text-align: center; max-width: 750px; margin: 0 auto 48px; }
.dmc-tp-section-header h2 { margin-bottom: 16px; }
.dmc-tp-section-header p { color: var(--cool-gray); font-size: 18px; margin-bottom: 0; }
.dmc-tp-cta-banner { background: var(--primary-blue); padding: 80px 0; text-align: center; }
.dmc-tp-cta-content { max-width: 800px; margin: 0 auto; }
.dmc-tp-cta-content h2 { color: var(--white); margin-bottom: 16px; }
.dmc-tp-cta-content p { color: rgba(255, 255, 255, 0.9); font-size: 20px; margin-bottom: 32px; }
.dmc-tp-cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.dmc-tp-contact-section { background: var(--light-gray); }
.dmc-tp-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.dmc-tp-contact-info h2 { margin-bottom: 24px; }
.dmc-tp-contact-info > p { color: var(--cool-gray); margin-bottom: 32px; }
.dmc-tp-contact-methods { display: grid; gap: 24px; }
.dmc-tp-contact-method { display: flex; align-items: center; gap: 16px; }
.dmc-tp-contact-method-icon { width: 56px; height: 56px; background: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.dmc-tp-contact-method-icon svg { width: 24px; height: 24px; color: var(--primary-blue); }
.dmc-tp-contact-method-text strong { display: block; margin-bottom: 2px; }
.dmc-tp-contact-method-text a, .dmc-tp-contact-method-text span { color: var(--cool-gray); font-size: 15px; }
.dmc-tp-contact-form-wrapper { background: var(--white); border-radius: 12px; padding: 40px; box-shadow: var(--shadow-md); }
.dmc-tp-contact-form-wrapper h3 { margin-bottom: 24px; }
.dmc-tp-contact-form-wrapper .dmc-tp-btn { width: 100%; }
.dmc-tp-site-footer { background: var(--dark-blue); padding: 64px 0 32px; }
.dmc-tp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.dmc-tp-footer-brand img { height: 48px; margin-bottom: 24px; filter: brightness(0) invert(1); }
.dmc-tp-footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 15px; margin-bottom: 24px; }
.dmc-tp-footer-contact-item { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.8); font-size: 15px; margin-bottom: 12px; }
.dmc-tp-footer-contact-item svg { width: 18px; height: 18px; color: var(--gold); }
.dmc-tp-footer-column h5 { color: var(--white); margin-bottom: 20px; font-size: 16px; }
.dmc-tp-footer-links { list-style: none; }
.dmc-tp-footer-links li { margin-bottom: 10px; }
.dmc-tp-footer-links a { color: rgba(255, 255, 255, 0.7); font-size: 15px; }
.dmc-tp-footer-links a:hover { color: var(--gold); }
.dmc-tp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; }
.dmc-tp-footer-bottom p { color: rgba(255, 255, 255, 0.5); margin-bottom: 0; font-size: 14px; }
.dmc-tp-footer-bottom a { color: rgba(255, 255, 255, 0.5); font-size: 14px; }
.dmc-tp-footer-bottom a:hover { color: var(--gold); }
@media (max-width: 1200px) { .dmc-tp-trust-bar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 992px) { .dmc-tp-hero-grid, .dmc-tp-contact-grid { grid-template-columns: 1fr; } .dmc-tp-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .dmc-tp-header-phone { display: none; } .dmc-tp-hero { padding: 56px 0 64px; } .dmc-tp-form-row { grid-template-columns: 1fr; } .dmc-tp-trust-bar-grid { grid-template-columns: 1fr; } .dmc-tp-cta-buttons, .dmc-tp-hero-buttons { flex-direction: column; align-items: stretch; } .dmc-tp-footer-grid { grid-template-columns: 1fr; text-align: center; } .dmc-tp-footer-bottom { flex-direction: column; gap: 16px; text-align: center; } .dmc-tp-hero-stats { grid-template-columns: 1fr; gap: 16px; } }
        .dmc-tp-four-pillars-section { background: var(--white); }
        .dmc-tp-pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
        .dmc-tp-pillar-card { background: var(--light-gray); border-radius: 16px; padding: 40px; transition: all 0.3s ease; border-top: 4px solid var(--gold); display: flex; flex-direction: column; }
        .dmc-tp-pillar-card:hover { background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
        .dmc-tp-pillar-card-num { font-family: var(--font-serif); font-size: 48px; color: var(--gold); line-height: 1; margin-bottom: 8px; }
        .dmc-tp-pillar-card h3 { margin-bottom: 20px; font-size: 22px; }
        .dmc-tp-pillar-list { list-style: none; flex-grow: 1; }
        .dmc-tp-pillar-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; color: var(--dark-blue); font-size: 15px; border-bottom: 1px solid #e2e8f0; }
        .dmc-tp-pillar-list li:last-child { border-bottom: 0; }
        .dmc-tp-pillar-list li svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
        .dmc-tp-strategy-section { background: var(--dark-blue); position: relative; overflow: hidden; }
        .dmc-tp-strategy-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
        .dmc-tp-strategy-section .dmc-tp-section-header { position: relative; z-index: 1; }
        .dmc-tp-strategy-section .dmc-tp-section-header h2 { color: var(--white); }
        .dmc-tp-strategy-section .dmc-tp-section-header p { color: rgba(255, 255, 255, 0.85); }
        .dmc-tp-strategy-section .dmc-tp-section-label { color: var(--gold); }
        .dmc-tp-strategy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; z-index: 1; }
        .dmc-tp-strategy-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 32px; text-align: center; transition: all 0.3s ease; }
        .dmc-tp-strategy-card:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold); transform: translateY(-4px); }
        .dmc-tp-strategy-card-icon { width: 64px; height: 64px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
        .dmc-tp-strategy-card-icon svg { width: 30px; height: 30px; color: var(--dark-blue); }
        .dmc-tp-strategy-card h4 { color: var(--white); margin-bottom: 12px; font-size: 18px; }
        .dmc-tp-strategy-card p { color: rgba(255, 255, 255, 0.8); font-size: 15px; margin: 0; }
        .dmc-tp-approach-section { background: var(--light-gray); }
        .dmc-tp-approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
        .dmc-tp-approach-content h2 { margin-bottom: 24px; }
        .dmc-tp-approach-content p { color: var(--cool-gray); margin-bottom: 20px; }
        .dmc-tp-approach-list { list-style: none; }
        .dmc-tp-approach-list li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid #e2e8f0; color: var(--dark-blue); font-size: 16px; font-weight: 500; }
        .dmc-tp-approach-list li:last-child { border-bottom: 0; }
        .dmc-tp-approach-list li svg { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
        .dmc-tp-approach-callout { background: var(--white); border-radius: 16px; padding: 40px; box-shadow: var(--shadow-md); border-left: 4px solid var(--gold); }
        .dmc-tp-approach-callout h3 { margin-bottom: 16px; }
        .dmc-tp-approach-callout p { color: var(--cool-gray); margin: 0; font-size: 15px; }
        .dmc-tp-timeline-section { background: var(--white); }
        .dmc-tp-timeline-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
        .dmc-tp-timeline-step { position: relative; text-align: center; }
        .dmc-tp-timeline-step-num { width: 56px; height: 56px; background: var(--gold); color: var(--dark-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-family: var(--font-serif); font-size: 24px; }
        .dmc-tp-timeline-step h4 { margin-bottom: 12px; font-size: 17px; }
        .dmc-tp-timeline-step p { color: var(--cool-gray); font-size: 15px; margin: 0; }
        @media (max-width: 992px) { .dmc-tp-pillars-grid, .dmc-tp-approach-grid, .dmc-tp-strategy-grid { grid-template-columns: 1fr; } .dmc-tp-timeline-steps { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 768px) { .dmc-tp-timeline-steps { grid-template-columns: 1fr; } }
    


/* ===== team carousel (added per feedback) ===== */
.dmc-tp-team-section { background: var(--light-gray); }
.dmc-tp-team-carousel-wrapper { position: relative; max-width: 1080px; margin: 0 auto; }
.dmc-tp-team-carousel { display: flex; gap: 24px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.dmc-tp-team-carousel::-webkit-scrollbar { display: none; }
.dmc-tp-team-card { background: var(--white); border-radius: 16px; padding: 32px 24px; text-align: center; transition: all 0.3s ease; flex: 0 0 240px; scroll-snap-align: start; text-decoration: none; display: block; }
.dmc-tp-team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.dmc-tp-team-card img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; object-position: top center; margin: 0 auto 20px; border: 4px solid var(--light-gray); box-shadow: var(--shadow-md); }
.dmc-tp-team-card-avatar { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 20px; border: 4px solid var(--light-gray); box-shadow: var(--shadow-md); background: var(--dark-blue); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 40px; color: var(--gold); }
.dmc-tp-team-card h5 { margin-bottom: 4px; font-size: 17px; color: var(--dark-blue); }
.dmc-tp-team-card span { font-size: 13px; color: var(--primary-blue); display: block; }
.dmc-tp-team-card-view { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--gold); font-family: var(--font-display); }
.dmc-tp-carousel-arrow { position: absolute; top: 40%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-md); border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; transition: all 0.25s ease; }
.dmc-tp-carousel-arrow:hover { background: var(--gold); border-color: var(--gold); }
.dmc-tp-carousel-arrow:hover svg { color: var(--white); }
.dmc-tp-carousel-arrow svg { width: 20px; height: 20px; color: var(--dark-blue); }
.dmc-tp-carousel-arrow-prev { left: -24px; }
.dmc-tp-carousel-arrow-next { right: -24px; }
.dmc-tp-team-note { text-align: center; color: var(--cool-gray); font-size: 15px; max-width: 700px; margin: 0 auto; }
@media (max-width: 992px) { .dmc-tp-carousel-arrow-prev { left: 0; } .dmc-tp-carousel-arrow-next { right: 0; } }
