/*
Theme Name: Precise Tax Services
Theme URI: https://precisetaxservices.com.au
Author: ITAspects
Author URI: https://itaspects.com.au
Description: Custom WordPress theme for Precise Tax Services. Cream, navy and gold luxe palette with curved gold accents, animated sections, and consistent inner page styling.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: precise-tax
Tags: business, finance, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

:root {
    --cream: #F2E8D2;
    --cream-soft: #F8F1DD;
    --cream-deep: #E8DCBE;
    --navy: #0A1B3D;
    --navy-dark: #050E29;
    --navy-mid: #112454;
    --gold: #D4A22A;
    --gold-light: #F2D06B;
    --gold-bright: #F7DC6F;
    --gold-dark: #A67817;
    --text: #1F2937;
    --muted: #5A6478;
    --border: rgba(212, 162, 42, 0.25);
    --max-width: 1240px;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(10, 27, 61, 0.10);
    --shadow-lg: 0 18px 50px rgba(10, 27, 61, 0.18);
    --shadow-gold: 0 8px 30px rgba(212, 162, 42, 0.30);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', 'Georgia', serif;
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 0.6em;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; color: var(--muted); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

/* ----------- Buttons ----------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--navy-dark);
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.78rem;
    border: 0;
    cursor: pointer;
    transition: all 0.35s ease;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
}
.btn::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}
.btn:hover::before { left: 100%; }
.btn:hover { transform: translateY(-3px); color: var(--navy-dark); box-shadow: 0 14px 40px rgba(212,162,42,0.45); }
.btn .arrow { display: inline-block; transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(5px); }

.btn-outline {
    background: transparent;
    color: #FFF;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: none;
}
.btn-outline:hover { background: #FFF; color: var(--navy); border-color: #FFF; }

.btn-navy {
    background: linear-gradient(135deg, var(--navy-mid), var(--navy-dark));
    color: #FFF;
    box-shadow: 0 8px 30px rgba(10,27,61,0.30);
}
.btn-navy:hover { color: #FFF; }

/* ----------- Top bar ----------- */
.top-bar {
    background: var(--navy-dark);
    color: var(--cream-soft);
    font-size: 0.85rem;
    padding: 2px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.top-bar a { color: var(--cream-soft); }
.top-bar a:hover { color: var(--gold-light); }
.top-bar .info span { margin-right: 22px; }
.top-bar .info i { color: var(--gold); margin-right: 6px; font-style: normal; }

/* ----------- Header ----------- */
.site-header { background: var(--cream-soft); box-shadow: 0 2px 20px rgba(10,27,61,0.06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; gap: 30px; }
.site-logo a { display: block; transition: transform 0.3s ease; }
.site-logo a:hover { transform: scale(1.03); }
.site-logo img { max-height: 84px; width: auto; }

.primary-nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.primary-nav li { position: relative; }
.primary-nav a {
    display: block;
    padding: 12px 16px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}
.primary-nav a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px;
    bottom: 6px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-parent > a { color: var(--gold-dark); }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after, .primary-nav .current-menu-parent > a::after { transform: scaleX(1); }

.primary-nav .menu-item-has-children > a::before { content: ""; }

.primary-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--cream-soft);
    min-width: 260px;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--gold);
    padding: 8px 0;
    border-radius: 0 0 8px 8px;
}
.primary-nav li:hover > .sub-menu { display: block; animation: fadeDown 0.3s ease; }
.primary-nav .sub-menu li { width: 100%; }
.primary-nav .sub-menu a { padding: 11px 22px; text-transform: none; letter-spacing: 0.3px; font-weight: 500; font-size: 0.92rem; }
.primary-nav .sub-menu a::after { display: none; }
.primary-nav .sub-menu a:hover { background: var(--cream-deep); color: var(--gold-dark); }

@keyframes fadeDown { from { opacity:0; transform:translateY(-10px);} to { opacity:1; transform:translateY(0);} }

.header-cta { margin-left: 12px; }
.header-cta .btn { padding: 12px 22px; font-size: 0.78rem; }

.menu-toggle { display: none; background: var(--navy); color: #FFF; border: 0; padding: 10px 14px; border-radius: 6px; cursor: pointer; font-size: 1rem; }

/* Toggle Button */
.menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

/* Hamburger Lines */
.toggle-icon {
    display: inline-block;
    width: 25px;
    height: 18px;
    position: relative;
}

.toggle-icon span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #0b1c3d;
    border-radius: 3px;
    left: 0;
    transition: all 0.3s ease;
}

/* Line positions */
.toggle-icon span:nth-child(1) { top: 0; }
.toggle-icon span:nth-child(2) { top: 7px; }
.toggle-icon span:nth-child(3) { top: 14px; }

/* ACTIVE (X icon) */
.menu-toggle.active .toggle-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 7px;
}

.menu-toggle.active .toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .toggle-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 7px;
}

/* ----------- Hero ----------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
    color: #FFFFFF;
    padding: 90px 0 60px;
    overflow: hidden;
}
.hero::before, .hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 3px solid var(--gold);
    opacity: 0.10;
    pointer-events: none;
}
.hero::before { width: 700px; height: 700px; top: -250px; right: -200px; animation: floatRing 18s ease-in-out infinite; }
.hero::after  { width: 500px; height: 500px; top: -120px; right: -100px; opacity: 0.16; animation: floatRing 14s ease-in-out infinite reverse; }

@keyframes floatRing {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(20px, 30px); }
}

.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }

.hero h1 {
    font-family: 'Playfair Display', serif;
    color: #FFFFFF;
    font-size: 4rem;
    line-height: 1.05;
    margin-bottom: 18px;
}
.hero h1 .accent { color: var(--gold-light); display: block; }
.hero .gold-divider { width: 110px; height: 3px; background: linear-gradient(90deg, var(--gold-light), var(--gold), transparent); margin: 18px 0 22px; }
.hero .eyebrow { color: var(--gold-light); text-transform: uppercase; letter-spacing: 3px; font-weight: 700; font-size: 0.86rem; margin-bottom: 12px; }
.hero p.lead { color: rgba(255,255,255,0.82); font-size: 1.02rem; margin-bottom: 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1A2D5A 0%, #061338 100%);
    box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image .placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4);
    font-style: italic;
    text-align: center;
    padding: 30px;
}

/* Hero feature row */
.hero-features {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    background: var(--navy-mid);
    border: 1px solid rgba(212,162,42,0.25);
    border-radius: 12px;
    padding: 26px 18px;
   
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    

    
}



.hero-features .registered-label {
    font-size: 46px;
    /* text-transform: uppercase; */
    font-family: 'Playfair Display', serif;
    color: #FFFFFF;
    /* font-size: 4rem; */
    line-height: 1.05;
    margin-bottom: 18px;
    justify-content:space-between;
}
.hero-feature { text-align: center; padding: 8px 6px; position: relative;     justify-content: space-between;
    align-items: center;
    display: flex;}
.hero-feature + .hero-feature::before {
    content: "";
    position: absolute;
    left: 0; top: 18%; bottom: 18%;
    width: 1px; background: rgba(212,162,42,0.25);
}
.hero-feature .icon-circle {
    width: 56px; height: 56px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
    color: var(--gold-light);
    font-size: 1.4rem;
    transition: all 0.4s ease;
}
.hero-feature:hover .icon-circle { background: var(--gold); color: var(--navy-dark); transform: rotate(360deg); }
.hero-feature .label {
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
}

/* ----------- Section base ----------- */
.section { padding: 50px 0; position: relative; }
.section-cream { background: var(--cream); }
.section-cream-soft { background: var(--cream-soft); }
.section-navy { background: var(--navy-dark); color: #FFFFFF; position: relative; overflow: hidden; }
.section-navy h2, .section-navy h3, .section-navy h4 { color: #FFFFFF; }
.section-navy p { color: rgba(255,255,255,0.78); }
.section-navy::before {
    content: "";
    position: absolute;
    width: 600px; height: 600px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    opacity: 0.08;
    top: -200px; left: -200px;
    pointer-events: none;
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; position: relative; }
.section-head .eyebrow { color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 4px; font-size: 0.78rem; margin-bottom: 12px; display: inline-block; padding: 6px 18px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.section-head h2 { font-size: 2.4rem; }
.section-head h2 .accent { color: var(--gold-dark); }

/* ----------- Brief section ----------- */
.brief-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.brief-grid .label { color: var(--gold-dark); text-transform: uppercase; letter-spacing: 4px; font-size: 0.78rem; font-weight: 700; padding-left: 60px; position: relative; margin-bottom: 14px; }
.brief-grid .label::before { content: ""; position: absolute; left: 0; top: 50%; width: 50px; height: 1px; background: var(--gold); }
.brief-grid h2 { font-size: 2.2rem; margin-bottom: 18px; }
.brief-grid h2 .accent { color: var(--gold-dark); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; }
.feature-box {
    text-align: center;
    padding: 24px 16px;
    transition: transform 0.4s ease;
}
.feature-box.reveal {
    background: #fff;
}
.feature-box:hover { transform: translateY(-6px); }
.feature-box .icon-circle {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    color: var(--navy-dark);
    font-size: 1.6rem;
    box-shadow: var(--shadow-gold);
    animation: pulseGold 3s ease-in-out infinite;
}
@keyframes pulseGold {
    0%, 100% { box-shadow: 0 8px 30px rgba(212,162,42,0.30); }
    50%      { box-shadow: 0 8px 30px rgba(212,162,42,0.55); }
}
.feature-box h4 { color: var(--navy); text-transform: uppercase; letter-spacing: 1.2px; font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; }
.feature-box p { font-size: 0.92rem; }

/* ----------- About panel ----------- */
.about-panel {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
    color: #FFF;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.about-panel::before {
    content: "";
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,162,42,0.18) 0%, transparent 70%);
    right: -200px; top: 50%; transform: translateY(-50%);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.about-panel h2 { color: #FFF; font-size: 2.6rem; }
.about-panel h2 .accent { color: var(--gold-light); }
.about-panel p { color: rgba(255,255,255,0.82); }

.about-image {
    aspect-ratio: 4/3;
    background: rgba(212,162,42,0.10);
    border: 2px solid rgba(212,162,42,0.30);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: transform 0.5s ease;
}
.about-image:hover { transform: scale(1.02); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* ----------- Services grid ----------- */
.services-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
    background: var(--cream-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px 22px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    transform: translateX(-50%);
    transition: width 0.4s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.service-card:hover::before { width: 100%; }
.service-card .icon-circle {
    width: 64px; height: 64px;
    background: var(--navy-dark);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    color: var(--gold-light);
    font-size: 1.4rem;
    transition: all 0.4s ease;
}
.service-card:hover .icon-circle { background: var(--gold); color: var(--navy-dark); transform: rotateY(360deg); }
.service-card h4 { font-family: 'Open Sans', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 0.86rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; min-height: 2em; }
.service-card p { font-size: 0.86rem; color: var(--muted); }

/* ----------- Advantages ----------- */
.advantages-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; z-index: 1; }
.advantage {
    text-align: center;
    padding: 18px 12px;
}
.advantage .icon-circle {
    width: 76px; height: 76px;
    background: rgba(212,162,42,0.10);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    color: var(--gold-light);
    font-size: 1.7rem;
    transition: all 0.4s ease;
}
.advantage:hover .icon-circle { background: var(--gold); color: var(--navy-dark); transform: translateY(-6px) scale(1.05); }
.advantage h4 { color: #FFF; text-transform: uppercase; letter-spacing: 1.2px; font-family: 'Open Sans', sans-serif; font-size: 0.86rem; font-weight: 700; margin-bottom: 10px; }
.advantage p { font-size: 0.86rem; color: #121212; }

/* ----------- Why us ----------- */
.why-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.why-card { text-align: center;
    padding: 18px 10px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .06);}
.why-card .icon-circle {
    width: 64px; height: 64px;
    background: var(--navy-dark);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    color: var(--gold-light);
    font-size: 1.3rem;
    transition: all 0.4s ease;
}
.why-card:hover .icon-circle { background: var(--gold); color: var(--navy-dark); transform: rotate(-12deg) scale(1.06); }
.why-card h4 { text-transform: uppercase; font-family: 'Open Sans', sans-serif; font-size: 0.78rem; letter-spacing: 1px; color: var(--navy); margin-bottom: 8px; }
.why-card p { font-size: 0.84rem; }

.why-image {
    aspect-ratio: 4/3;
    background: var(--navy-dark);
    border: 2px solid var(--gold);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.5s ease;
}
.why-image:hover { transform: scale(1.02); }
.why-image img { width: 100%; height: 100%; object-fit: cover; }

/* ----------- Stats ----------- */
.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 50px 0; text-align: center; }
.stat .num { font-family: 'Playfair Display', serif; font-size: 3.4rem; color: var(--gold-light); font-weight: 700; line-height: 1; margin-bottom: 8px; }
.stat .label { color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 600; }

/* ----------- Page header (inner pages) ----------- */
.page-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
    color: #FFF;
    padding: 40px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before, .page-header::after {
    content: "";
    position: absolute;
    border: 2px solid var(--gold);
    border-radius: 50%;
    opacity: 0.10;
    pointer-events: none;
}
.page-header::before { width: 360px; height: 360px; top: -120px; left: -100px; }
.page-header::after  { width: 460px; height: 460px; bottom: -180px; right: -120px; opacity: 0.08; }
.page-header h1 { color: #FFF; font-size: 2.8rem; margin-bottom: 12px; position: relative; }
.page-header .breadcrumb { color: var(--gold-light); font-size: 0.9rem; letter-spacing: 1px; position: relative; }
.page-header .breadcrumb a { color: var(--gold-light); }
.page-header .breadcrumb a:hover { color: #FFF; }
.page-header .gold-divider { width: 100px; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 20px auto; }

/* ----------- Entry / general page content ----------- */
.entry-content { max-width: 920px; margin: 0 auto; }
.entry-content p { font-size: 1.02rem; }
.entry-content h2 { margin-top: 1.6em; color: var(--navy); }
.entry-content h2 .accent { color: var(--gold-dark); }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { margin: 1em 0 1em 1.4em; }
.entry-content li { margin-bottom: 0.5em; color: var(--muted); }
.entry-content blockquote { border-left: 4px solid var(--gold); padding: 14px 26px; background: var(--cream-soft); margin: 26px 0; font-style: italic; border-radius: 0 8px 8px 0; }

/* Service detail layout */
.split-section { display: grid; grid-template-columns: 1.2fr 2.3fr; gap: 50px; }
.sidebar-card {
    background: var(--cream-soft);
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid var(--gold);
    box-shadow: var(--shadow);
}
.sidebar-card h4 { color: var(--navy); margin-bottom: 14px; }
.sidebar-card ul { list-style: none; margin: 0; }
.sidebar-card ul li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text); font-weight: 500; transition: all 0.3s ease; }
.sidebar-card ul li a:hover { color: var(--gold-dark); padding-left: 8px; }


/* ===========================
   Layout
=========================== */

.split-section{
    display:grid;
    grid-template-columns:400px 1.3fr;
    gap:2px;
    align-items:start;
}

/* ===========================
   Sticky Sidebar
=========================== */

.service-sidebar{
    position:-webkit-sticky;
    position:sticky;
    top:120px;          /* Adjust for your header height */
    height:fit-content;
    align-self:start;
}

/* ===========================
   Service Card
=========================== */

.sidebar-card{
    background:#0d224e;
    border-radius:8px;
    padding:30px;
    border:1px solid #0d224e;
}

.sidebar-card .service-label{
    display:block;
    font-size:14px;
    font-weight:700;
    letter-spacing:.18em;
    color:#fff;
    text-transform:uppercase;
    margin-bottom:20px;
      font-family: 'Playfair Display', 'Georgia', serif;
}

.sidebar-card h2{
    font-size:35.2px;
    line-height:1.1;
    color:#fff;
    margin:0 0 24px;
}

.sidebar-card .service-desc{
    font-size:16px;
    line-height:1.8;
    color:#fff;
    margin-bottom:35px;
}

.sidebar-divider{
    border-top:1px solid #cfe7ee;
    margin:35px 0;
}

/* ===========================
   Service List
=========================== */

.sidebar-services{
    list-style:none;
    margin:0;
    padding:0;
}

.sidebar-services li{
    display:flex;
    align-items:flex-start;
    gap:14px;
    margin-bottom:22px;
    font-size:16px;
    color:#fff;
}

.sidebar-services li::before{
    content:"✓";
    width:24px;
    height:24px;
    border-radius:50%;
    border:2px solid #fff;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:13px;
    font-weight:700;
    flex-shrink:0;
}

/* ===========================
   CTA Card
=========================== */

.sidebar-help{
    background:#fff;
    border:1px solid #dde5ea;
    border-radius:8px;
    padding:30px;
    margin-top:40px;
}

.sidebar-help h4{
    font-size:26px;
    color:#0A214D;
    margin-bottom:15px;
}

.sidebar-help p{
    color:#54667D;
    font-size:16px;
    line-height:1.8;
    margin-bottom:25px;
}

/* Primary Button */

.sidebar-help .btn{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    background:linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color:#fff;
    text-decoration:none;
    border-radius:6px;
    padding:18px;
    font-weight:700;
    font-size:15px;
    transition:.3s;
}

.sidebar-help .btn:hover{
    background:#0a1b3d;
}

/* Phone Button */

.sidebar-phone{
    margin-top:16px;
}

.sidebar-phone a{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    border: 2px solid #0d224e;
    color: #0d224e;
    text-decoration:none;
    border-radius:6px;
    padding:16px;
    font-size:18px;
    font-weight:700;
    transition:.3s;
}

.sidebar-phone a:hover{
    background:#0a1b3d;
    color:#fff;
}

/* ===========================
   Content Cards
=========================== */

.service-content section,
.service-content .content-card{
    background:#fff;
    border:1px solid #e6eaef;
    border-radius:8px;
    padding:50px;
    margin-bottom:40px;
    box-shadow:0 3px 10px rgba(0,0,0,.05);
}

/* ===========================
   Responsive
=========================== */

@media (max-width:991px){

    .split-section{
        grid-template-columns:1fr;
    }

    .service-sidebar{
        position:relative;
        top:0;
    }

}

@media (max-width:767px){

    .sidebar-card{
        padding:28px;
    }

    .sidebar-card h2{
        font-size:38px;
    }

    .sidebar-card .service-desc,
    .sidebar-services li,
    .sidebar-help p{
        font-size:17px;
    }

    .service-content section,
    .service-content .content-card{
        padding:30px;
    }

}

/* Process steps */
.process-step { display: flex; gap: 20px; margin: 22px 0; align-items: flex-start; transition: transform 0.3s ease; }
.process-step:hover { transform: translateX(6px); }
.process-step .step-num { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-dark); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; box-shadow: var(--shadow-gold); }
.process-step h4 { margin-bottom: 4px; color: var(--navy); }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; }
.contact-info {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: #FFF;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.contact-info::before {
    content: "";
    position: absolute;
    width: 240px; height: 240px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    opacity: 0.12;
    bottom: -100px; right: -100px;
}
.contact-info h3 { color: #FFF; }
.contact-info p, .contact-info a { color: rgba(255,255,255,0.85); }
.contact-info a:hover { color: var(--gold-light); }
.contact-info .info-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.10); position: relative; }
.contact-info .info-item .icon { width: 46px; height: 46px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; }
.contact-info .info-item strong { color: #FFF; display: block; margin-bottom: 2px; }

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 14px;
    font-family: inherit;
    background: var(--cream-soft);
    transition: all 0.3s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: 2px solid var(--gold);
    border-color: var(--gold);
    background: #FFF;
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* CTA strip */
.cta-strip {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    padding: 70px 0;
    text-align: center;
    color: var(--navy-dark);
    position: relative;
    overflow: hidden;
}
.cta-strip::before, .cta-strip::after {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    border: 2px solid rgba(10,27,61,0.15);
    border-radius: 50%;
    pointer-events: none;
}
.cta-strip::before { top: -120px; left: -100px; }
.cta-strip::after { bottom: -120px; right: -100px; }
.cta-strip h2 { color: var(--navy-dark); margin-bottom: 14px; position: relative; }
.cta-strip p { color: rgba(10,27,61,0.85); max-width: 720px; margin: 0 auto 26px; font-size: 1.05rem; position: relative; }
.cta-strip .btn { background: linear-gradient(135deg, var(--navy-mid), var(--navy-dark)); color: #FFF; box-shadow: 0 8px 30px rgba(10,27,61,0.30); }
.cta-strip .btn:hover { color: #FFF; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial {
    background: var(--cream-soft);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial .quote { font-style: italic; color: var(--text); margin-bottom: 18px; line-height: 1.7; }
.testimonial .author { font-weight: 700; color: var(--navy); }
.testimonial .role { font-size: 0.85rem; color: var(--muted); }
.testimonial .stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 3px; font-size: 1.1rem; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--cream-soft); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .thumb { height: 200px; background: var(--cream-deep); background-size: cover; background-position: center; }
.post-card .body { padding: 26px; }
.post-card .meta { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.post-card h3 { font-size: 1.2rem; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--gold-dark); }

/* ----------- Footer ----------- */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.78);
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    width: 500px; height: 500px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    opacity: 0.06;
    top: -200px; right: -150px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr 1.2fr; gap: 40px; position: relative; }
.site-footer h4 { color: #FFF; font-family: 'Open Sans', sans-serif; font-size: 0.95rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 2px; padding-bottom: 12px; position: relative; }
.site-footer h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 36px; height: 2px; background: var(--gold); }
.site-footer ul { list-style: none; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,0.78); transition: all 0.3s ease; }
.site-footer a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-about p { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-about img { max-height: 84px; margin-bottom: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.10); border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; }
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); padding-left: 0; transform: translateY(-3px); }
.footer-cta { background: rgba(212,162,42,0.10); padding: 22px; border-radius: 10px; border: 1px solid rgba(212,162,42,0.25); }
.footer-cta p { color: rgba(255,255,255,0.85); margin-bottom: 14px; font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; margin-top: 50px; text-align: center; font-size: 0.86rem; color: rgba(255,255,255,0.6); position: relative; }
.footer-bottom a { color: var(--gold-light); }

/* ----------- 404 ----------- */
.error-404 { text-align: center; padding: 100px 0; }
.error-404 h1 { font-size: 7rem; color: var(--gold); }

/* ----------- Animations: scroll reveal ----------- */
.reveal { opacity: 1; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(0px); }
.reveal-left.in-view { transform: translateX(0); }
.reveal-right { transform: translateX(30px); }
.reveal-right.in-view { transform: translateX(0); }
.reveal-zoom { transform: scale(0.92); }
.reveal-zoom.in-view { transform: scale(1); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Floating subtle animation for icons */
.float-anim { animation: floatY 4s ease-in-out infinite; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ----------- Responsive ----------- */
@media (max-width: 1024px) {
    .services-row { grid-template-columns: repeat(3, 1fr); }
    .advantages-row { grid-template-columns: repeat(3, 1fr); }
    .why-cards { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    h1 { font-size: 2.2rem; }
    .hero { padding: 60px 0 40px; }
    .hero h1 { font-size: 2.4rem; }
    .hero-grid, .brief-grid, .about-grid, .why-grid, .split-section, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .services-row, .advantages-row { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid, .blog-grid { grid-template-columns: 1fr; }
    .why-cards { grid-template-columns: repeat(2, 1fr); }
    .hero-features { grid-template-columns: 1fr 1fr; }
    .hero-feature + .hero-feature::before { display: none; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
    .menu-toggle { display: block; }
    .header-cta { display: none; }
    .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream-soft); box-shadow: var(--shadow-lg); display: none; padding: 16px 24px; }
    .primary-nav.open { display: block; }
    .primary-nav ul { flex-direction: column; gap: 0; align-items: stretch; }
    .primary-nav a { padding: 12px 0; }
    .primary-nav a::after { display: none; }
    .primary-nav .sub-menu { position: static; box-shadow: none; padding-left: 16px; display: block; border: 0; background: transparent; }
    .top-bar .info span { display: block; margin-bottom: 4px; }
}
@media (max-width: 600px) {
    h1 { font-size: 1.9rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .services-row, .advantages-row { grid-template-columns: 1fr; }
    .container { padding: 0 18px; }
    .section { padding: 60px 0; }
}

/* Print */
@media print { .site-header, .site-footer, .top-bar, .hero-features, .cta-strip { display: none; } body { background: #FFF; } }

/* Accessibility focus ring */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* Top Bar Base */
.top-bar {
   
    color: #fff;
    font-size: 14px;
    position: relative;
    z-index: 999;
}

/* Container Layout */
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    flex-wrap: wrap;
}

/* Left Section */
.top-left span {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Icons Style */
.top-left i {
    color: #f4c430;
    font-size: 13px;
}

/* Links */
.top-bar a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-bar a:hover {
    color: #fff;
}

/* Right Section */
.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Social Icons */
.social-icons a {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #f4c430;
    color: #000;
    transform: translateY(-2px);
}

/* CTA Button */
.btn-consult {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: #000;
    padding: 8px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(244,196,48,0.3);
}

.btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(244,196,48,0.5);
}

/* Divider Line (Optional) */
.top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

/* Mobile Responsive */


@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .top-left span {
        display: block;
        margin: 3px 0;
    }
    .reveal-right {
    transform: translateX(0px);
}
.reveal-left {
    transform: translateX(0px);
}
.top-bar {
   
    display: none;
}
}

/* ========================= */
/* MOBILE STYLES */
/* ========================= */
@media (max-width: 991px) {

    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0b1c3d;
        display: none;
        flex-direction: column;
        padding: 15px;
        z-index: 999;
    }

    .primary-nav.active {
        display: flex;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .primary-nav a {
        color: #fff;
        padding: 8px 0;
        display: block;
    }

    /* Logo + Toggle spacing */
    .header-inner {
        position: relative;
    }
}


.reveal.reveal-left ul li {
    padding: 0px;
    margin: 14px 20px;
}


/**======Onboarding Form======**/

#tax-onboarding{
    max-width:1100px;
    margin:60px auto;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 15px 50px rgba(0,0,0,.08);
    font-family:Arial,sans-serif;
}

#tax-header{
    background:#0D4F7C;
    color:#fff;
    text-align:center;
    padding:45px;
}

#tax-header h2{
    margin:0;
    font-size:38px;
}

#tax-header p{
    margin-top:10px;
    opacity:.9;
}

#tax-progress{
    display:flex;
    justify-content:space-between;
    background:#F8F9FB;
    padding:30px;
    border-bottom:1px solid #eee;
}

#tax-progress .step{
    flex:1;
    text-align:center;
    position:relative;
}

#tax-progress .step span{
    width:42px;
    height:42px;
    background:#d9d9d9;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    margin-bottom:8px;
}

#tax-progress .step.active span{
    background:#0D4F7C;
    color:#fff;
}

.tax-card{
    margin:35px;
    border:1px solid #e5e5e5;
    border-radius:10px;
    overflow:hidden;
}

.tax-card h3{
    margin:0;
    padding:18px 25px;
    background:#F5F7FA;
    color:#0D4F7C;
}

.cf7-row{
    display:grid;
    grid-template-columns:260px 1fr;
    border-top:1px solid #eee;
}

.cf7-label{
    padding:18px;
    background:#fafafa;
    font-weight:600;
    border-right:1px solid #eee;
}

.cf7-field{
    padding:15px 20px;
}

.cf7-field input,
.cf7-field textarea,
.cf7-field select{
    width:100%;
    padding:14px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:15px;
    box-sizing:border-box;
}

.cf7-field textarea{
    min-height:110px;
}

.cf7-field input:focus,
.cf7-field textarea:focus{
    border-color:#0D4F7C;
    outline:none;
    box-shadow:0 0 0 3px rgba(13,79,124,.15);
}

.option{
    display:block;
    margin-bottom:12px;
}

.tax-submit{
    text-align:center;
    padding:20px 40px 45px;
}

.tax-submit input{
    background:#0D4F7C;
    color:#fff;
    border:none;
    padding:16px 45px;
    font-size:17px;
    border-radius:6px;
    cursor:pointer;
    transition:.3s;
}

.tax-submit input:hover{
    background:#083956;
}

@media(max-width:991px){

    .cf7-row{
        grid-template-columns:220px 1fr;
    }

}

@media(max-width:768px){

    #tax-header{
        padding:30px 20px;
    }

    #tax-header h2{
        font-size:28px;
    }

    #tax-progress{
        flex-direction:column;
        gap:20px;
    }

    .tax-card{
        margin:20px;
    }

    .cf7-row{
        display:block;
    }

    .cf7-label{
        border-right:none;
        border-bottom:1px solid #eee;
    }

    .tax-submit{
        padding:20px;
    }

    .tax-submit input{
        width:100%;
    }

}