/* ================================================
   AHALYA AND ASSOCIATES — MAIN STYLESHEET
   Chartered Accountants, Chennai
   ================================================ */

/* --- 1. Design Tokens --- */
:root {
    --primary: #1e3a5f;
    --primary-light: #294b73;
    --primary-dark: #152d4a;
    --secondary: #c8942a;
    --secondary-light: #daa83e;
    --secondary-dark: #a87820;
    --accent: #2a9d6e;
    --accent-light: #34c785;
    --white: #ffffff;
    --bg-light: #f8f9fc;
    --bg-warm: #faf8f5;
    --bg-dark: #0f2035;
    --text-dark: #1a202c;
    --text-body: #2d3748;
    --text-muted: #718096;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(15,32,53,0.06);
    --shadow-md: 0 6px 16px rgba(15,32,53,0.08);
    --shadow-lg: 0 14px 28px rgba(15,32,53,0.1);
    --shadow-card: 0 8px 18px rgba(15,32,53,0.06);
    --radius: 8px;
    --radius-sm: 6px;
    --radius-lg: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: var(--font-body);
}

/* --- 2. Base --- */
*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.01em;
}

h4, h5 {
    font-family: var(--font-body);
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; }

/* --- 3. Utility Bar --- */
.utility-bar {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 6px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1031;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.utility-bar.utility-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.utility-bar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}
.utility-bar a:hover { color: var(--secondary-light); }
.utility-bar i { margin-right: 4px; color: var(--secondary); }
.utility-email-short { display: none; }

/* --- 4. Navbar --- */
.navbar-main {
    top: 32px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    transition: var(--transition);
    z-index: 1030;
}

.navbar-main.scrolled {
    top: 0;
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

/* Brand text logo */
.brand-text-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    gap: 2px;
}

.brand-text-logo__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
    line-height: 1.2;
    transition: var(--transition);
}

.brand-text-logo__sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
}

.brand-text-logo:hover .brand-text-logo__name { color: var(--primary-light); }
.brand-text-logo:hover .brand-text-logo__sub { color: var(--secondary-light); }

.navbar-main.scrolled .brand-text-logo__name { font-size: 1.05rem; }
.navbar-main.scrolled .brand-text-logo__sub { font-size: 0.55rem; }

.navbar-main .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 14px;
    position: relative;
    transition: var(--transition);
}

.navbar-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-main .nav-link:hover { color: var(--primary); }
.navbar-main .nav-link:hover::after { transform: scaleX(1); }
.navbar-main .nav-link.active { color: var(--primary); }
.navbar-main .nav-link.active::after { transform: scaleX(1); }

.navbar-main .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 10px;
    min-width: 280px;
    animation: dropDown 0.3s ease;
}

@keyframes dropDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar-main .dropdown-item {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-body);
    transition: var(--transition);
}
.navbar-main .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}
.navbar-main .dropdown-item i {
    color: var(--secondary);
    width: 20px;
}

/* CTA Button */
.btn-cta {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
}
.btn-cta:hover {
    background: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(168,120,32,0.2);
}

/* Hamburger */
.navbar-toggler {
    border: none;
    padding: 6px;
    width: 32px;
    height: 32px;
    position: relative;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin: 5px auto;
    transition: var(--transition);
    border-radius: 2px;
}

/* --- 5. Hero Section --- */
.hero {
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(90deg, rgba(15,32,53,0.96) 0%, rgba(21,45,74,0.9) 44%, rgba(21,45,74,0.58) 100%),
        url('/images/hero-accounting-workspace.png') center center / cover no-repeat;
    padding: 116px 0 36px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: none;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: none;
    border-radius: 50%;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    margin-bottom: 20px;
    position: relative;
}

.hero h1 span {
    color: var(--secondary-light);
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 8px 20px;
    color: var(--secondary-light);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-buttons .btn-cta {
    padding: 13px 28px;
    font-size: 1rem;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
    padding: 11px 28px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat h3 {
    color: var(--secondary-light);
    font-size: 2rem;
    margin-bottom: 4px;
}
.hero-stat p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin: 0;
}

.hero-proof-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: var(--radius);
    box-shadow: 0 18px 36px rgba(15,32,53,0.18);
    margin-left: auto;
    max-width: 430px;
    padding: 28px;
    position: relative;
}

.proof-kicker {
    color: var(--secondary-dark) !important;
    font-size: 0.8rem !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 10px !important;
    text-transform: uppercase;
}

.hero-proof-card h2 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.proof-list {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.proof-item {
    color: var(--text-body);
    display: flex;
    font-size: 0.9rem;
    gap: 10px;
    line-height: 1.55;
}

.proof-item i {
    color: var(--secondary);
    margin-top: 4px;
}

.proof-contact {
    align-items: center;
    border-top: 1px solid var(--border);
    color: var(--primary);
    display: flex;
    font-weight: 700;
    gap: 10px;
    padding-top: 16px;
}

/* --- 6. Section Styling --- */
.section-padding { padding: 72px 0; }

.section-heading {
    text-align: center;
    margin-bottom: 42px;
}
.section-heading h2 { margin-bottom: 14px; }
.section-heading p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.section-heading .accent-line {
    width: 60px;
    height: 3px;
    background: var(--secondary);
    margin: 16px auto 0;
    border-radius: 2px;
}

.accent-line {
    width: 56px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.bg-light-section { background-color: var(--bg-light); }
.bg-warm-section { background-color: var(--bg-warm); }

/* --- 7. Service Cards --- */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30,58,95,0.18);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card .icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.service-card .icon-wrap.blue   { background: rgba(30,58,95,0.1); color: var(--primary); }
.service-card .icon-wrap.gold   { background: rgba(200,148,42,0.12); color: var(--secondary); }
.service-card .icon-wrap.green  { background: rgba(30,58,95,0.08); color: var(--primary-light); }

.service-card:hover .icon-wrap.blue  { background: var(--primary); color: var(--white); }
.service-card:hover .icon-wrap.gold  { background: var(--secondary); color: var(--white); }
.service-card:hover .icon-wrap.green { background: var(--primary-light); color: var(--white); }

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.service-card .card-link {
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.service-card .card-link i { transition: transform 0.3s ease; }
.service-card:hover .card-link i { transform: translateX(4px); }

/* --- 8. Why Choose Us --- */
.why-card {
    text-align: center;
    padding: 24px 18px;
}
.why-card .icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
    transition: var(--transition);
}
.why-card:hover .icon-circle { transform: scale(1.1); }
.why-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; }

/* --- 9. Stats Counter --- */
.stats-section {
    background: var(--primary-dark);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 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");
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}
.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-light);
    margin-bottom: 6px;
}
.stat-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* --- 10. Industries --- */
.industry-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}
.industry-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
    transition: var(--transition);
}
.industry-card:hover i { color: var(--secondary); }
.industry-card h5 {
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0;
}

/* --- 11. CTA Banner --- */
.cta-banner {
    background: var(--primary);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: none;
    border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 24px; position: relative; }
.cta-banner .btn-white {
    background: var(--white);
    color: var(--secondary-dark);
    border: none;
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}
.cta-banner .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* --- 12. Contact Form --- */
.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--white);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
}
.contact-form label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.contact-form .btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}
.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30,58,95,0.25);
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}
.contact-info-card .info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}
.contact-info-card .info-item:last-child { margin-bottom: 0; }
.contact-info-card .info-item i {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(30,58,95,0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-card .info-item h5 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.contact-info-card .info-item p,
.contact-info-card .info-item a {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-intro {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin: -0.5rem 0 1.5rem;
    max-width: 680px;
}

.contact-submit {
    min-width: 180px;
}

.admin-nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.admin-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.admin-nav__link:hover,
.admin-nav__link--active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.admin-editor {
    min-height: 320px;
    font-family: inherit;
}

.admin-highlight-card {
    border-color: rgba(201, 159, 54, 0.28);
    box-shadow: 0 22px 52px rgba(30,58,95,0.10);
}

.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-summary-item {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(30,58,95,0.12);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(245,247,251,0.95), rgba(255,255,255,1));
}

.admin-summary-item__label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.admin-summary-item__value {
    display: block;
    color: var(--text-dark);
    font-size: 1.02rem;
    line-height: 1.45;
}

.admin-message-card {
    padding: 1.1rem 1.15rem;
    border-radius: 12px;
    background: rgba(245,247,251,0.95);
    border: 1px solid rgba(30,58,95,0.10);
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
    white-space: pre-wrap;
}

.admin-detail-list dt {
    margin-bottom: 0.85rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.admin-detail-list dd {
    margin-bottom: 0.85rem;
    color: var(--text-dark);
}

.admin-user-agent {
    word-break: break-word;
}

@media (max-width: 767.98px) {
    .admin-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 13. FAQ Accordion --- */
.faq-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 18px 20px;
    background: var(--white);
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary);
    box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-body {
    color: var(--text-muted);
    font-size: 0.92rem;
    padding: 4px 20px 20px;
}

/* --- 14. About Page --- */
.about-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-card);
}
.about-card img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}
.timeline-item .timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondary);
    flex-shrink: 0;
    margin-top: 6px;
    position: relative;
}
.timeline-item:not(:last-child) .timeline-dot::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 20px);
    background: var(--border);
}
.timeline-item h5 {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.timeline-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0;
}

/* --- 15. Service Detail Pages --- */
.page-hero {
    background: var(--primary-dark);
    padding: 132px 0 56px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: none;
    border-radius: 50%;
}
.page-hero h1 { color: var(--white); position: relative; }
.page-hero p { color: rgba(255,255,255,0.85); position: relative; max-width: 700px; }

.page-hero .breadcrumb,
.breadcrumb-custom {
    background: none;
    padding: 0;
    margin-bottom: 14px;
}
.page-hero .breadcrumb-item,
.breadcrumb-custom .breadcrumb-item { font-size: 0.85rem; }
.page-hero .breadcrumb-item a,
.breadcrumb-custom .breadcrumb-item a { color: rgba(255,255,255,0.82); }
.page-hero .breadcrumb-item a:hover,
.breadcrumb-custom .breadcrumb-item a:hover { color: var(--secondary-light); }
.page-hero .breadcrumb-item.active,
.breadcrumb-custom .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.58); }

.service-content {
    padding: 56px 0;
}

.service-visual {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    display: block;
    margin: 0 0 1.5rem;
    overflow: hidden;
    width: 100%;
}

.service-visual img {
    aspect-ratio: 16 / 7;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.service-sidebar {
    position: sticky;
    top: 110px;
}

.sidebar-nav {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 20px;
}
.sidebar-nav h5 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}
.sidebar-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-body);
    transition: var(--transition);
    margin-bottom: 2px;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--bg-light);
    color: var(--primary);
}
.sidebar-nav a.active { font-weight: 600; }

.sidebar-cta {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 24px 20px;
    color: var(--white);
    text-align: center;
    margin-top: 20px;
}
.sidebar-cta h4,
.sidebar-cta h5 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 10px;
}
.sidebar-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    margin-bottom: 16px;
}
.sidebar-cta a {
    background: var(--secondary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-block;
}
.sidebar-cta a:hover {
    background: var(--secondary-light);
    color: var(--white);
}

.check-list, .process-list { list-style: none; padding: 0; }
.check-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--text-body);
    font-size: 0.95rem;
}
.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.85rem;
}

.process-steps {
    position: relative;
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.step-item {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.step-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 40px;
    bottom: -17px;
    width: 2px;
    height: 16px;
    background: var(--border-color);
}

.step-item .step-num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px rgba(205, 152, 37, 0.12);
}

.step-item h5 {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
}

.step-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.process-step {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}
.process-step .step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.process-step h5 {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.process-step p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0;
}

/* --- 16. Footer --- */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 56px 0 0;
}

.site-footer .footer-brand img {
    height: 50px;
    margin-bottom: 16px;
}
.site-footer .footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
}
.site-footer .footer-reg {
    font-size: 0.82rem;
    color: var(--secondary);
    margin-top: 8px;
}
.site-footer .footer-reg i { margin-right: 6px; }

.site-footer h5 {
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.site-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    transition: var(--transition);
}
.site-footer ul li a:hover {
    color: var(--secondary-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px !important;
    font-size: 0.88rem;
}
.footer-contact li i {
    color: var(--secondary);
    margin-top: 3px;
    width: 16px;
    text-align: center;
}
.footer-contact li a { color: rgba(255,255,255,0.65); }
.footer-contact li a:hover { color: var(--secondary-light); }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.blog-card,
.blog-post-content,
.empty-state-card {
    background: #fff;
    border: 1px solid rgba(12,32,61,0.12);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(12,32,61,0.08);
}

.blog-card,
.empty-state-card {
    padding: 1.75rem;
}

.blog-card h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 0.85rem;
}

.blog-card h2 a {
    color: var(--primary);
    text-decoration: none;
}

.blog-card h2 a:hover,
.blog-card__link:hover {
    color: var(--secondary);
}

.blog-card p {
    margin-bottom: 1rem;
}

.blog-card__meta,
.blog-post__meta {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.blog-card__link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.blog-post-content {
    padding: 2rem;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    margin-top: 1.75rem;
    margin-bottom: 0.85rem;
}

.blog-post-content p,
.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1rem;
}

.blog-post-content ul,
.blog-post-content ol {
    padding-left: 1.35rem;
}

.empty-state-card {
    max-width: 720px;
}

@media (max-width: 767.98px) {
    .blog-card,
    .blog-post-content,
    .empty-state-card {
        padding: 1.25rem;
    }
}

/* --- 18. Cookie Consent --- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: rgba(255,255,255,0.85);
    padding: 12px 0;
    z-index: 9999;
    font-size: 0.85rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: none;
}
.cookie-consent .container {
    gap: 14px;
}
.cookie-consent p {
    flex: 1 1 420px;
    line-height: 1.5;
}
.cookie-consent.show { display: block; }
.cookie-consent a { color: var(--secondary-light); text-decoration: underline; }

/* --- 19. Scroll Animations --- */
.reveal,
.reveal-left,
.reveal-right,
.stagger-item,
.hero-animate {
    opacity: 1;
    transform: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.js .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.js .reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.js .stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-item.visible { opacity: 1; transform: translateY(0); }

/* Hero load animation */
.hero-animate {
    animation: heroFadeIn 0.8s ease forwards;
}
.js .hero-animate {
    opacity: 0;
    transform: translateY(20px);
}
.hero-animate:nth-child(1) { animation-delay: 0.1s; }
.hero-animate:nth-child(2) { animation-delay: 0.25s; }
.hero-animate:nth-child(3) { animation-delay: 0.4s; }
.hero-animate:nth-child(4) { animation-delay: 0.55s; }
.hero-animate:nth-child(5) { animation-delay: 0.7s; }

@keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Counter animation */
.counter { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .stagger-item,
    .hero-animate {
        opacity: 1 !important;
        transform: none !important;
    }

    .service-card:hover,
    .industry-card:hover,
    .why-card:hover .icon-circle,
    .btn-cta:hover,
    .cta-banner .btn-white:hover,
    .footer-social a:hover,
    .contact-social a:hover {
        transform: none !important;
    }
}

/* --- 20. Responsive --- */
@media (max-width: 991.98px) {
    .utility-bar {
        display: block;
        font-size: 0.76rem;
        line-height: 1.35;
        padding: 6px 0;
    }
    .utility-bar .container {
        flex-wrap: nowrap;
        justify-content: center !important;
        gap: 10px;
        text-align: center;
    }
    .utility-left,
    .utility-right {
        align-items: center;
        display: contents;
    }
    .utility-bar a,
    .utility-bar span {
        margin-left: 0 !important;
        white-space: nowrap;
    }
    .utility-hours,
    .utility-social {
        display: none;
    }
    .utility-email-full { display: none; }
    .utility-email-short { display: inline; }
    .navbar-main {
        top: 32px;
        padding: 10px 0;
    }
    .navbar-main.scrolled { top: 0; }
    .navbar-main .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: var(--shadow-lg);
        margin-top: 10px;
    }
    .navbar-main .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }
    .navbar-main .nav-link::after { display: none; }
    .navbar-main .dropdown-menu {
        box-shadow: none;
        padding-left: 20px;
    }
    .navbar-main .btn-cta { margin-top: 10px; }
    .hero { min-height: auto; padding: 140px 0 52px; }
    .hero-stats { gap: 22px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; }
    .hero-stat h3 { font-size: 1.6rem; }
    .section-padding { padding: 48px 0; }
    .page-hero { padding: 144px 0 50px; }
    .service-sidebar { position: static; margin-top: 40px; }
}

@media (max-width: 767.98px) {
    .hero h1 { font-size: clamp(2rem, 9vw, 2.35rem); margin-bottom: 20px; }
    .hero p { font-size: 1rem; margin-bottom: 24px; }
    .hero-badge { align-items: flex-start; font-size: 0.82rem; padding: 8px 12px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; text-align: center; padding: 12px 18px; }
    .hero-stats { justify-content: center; text-align: center; }
    .section-heading { margin-bottom: 30px; }
    .service-card { padding: 24px 22px; text-align: center; }
    .service-card .icon-wrap { width: 50px; height: 50px; margin-bottom: 16px; }
    .service-card .card-link { justify-content: center; }
    .process-steps { gap: 12px; }
    .step-item {
        grid-template-columns: 38px 1fr;
        gap: 12px;
        padding: 14px;
    }
    .step-item:not(:last-child)::after {
        left: 32px;
        bottom: -13px;
        height: 12px;
    }
    .step-item .step-num {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    .step-item h5 { font-size: 0.95rem; }
    .step-item p { font-size: 0.88rem; line-height: 1.55; }
    .why-card { padding: 20px 12px; }
    .industry-card { padding: 18px 12px; }
    .contact-info-card { padding: 24px 20px; }
    .contact-submit { width: 100%; }
    .about-card { padding: 24px; }
    .footer-contact li { align-items: center; }
    .footer-contact li:first-child { align-items: flex-start; }
    .footer-contact li i { margin-top: 0; }
    .footer-contact li:first-child i { margin-top: 3px; }
    .footer-bottom { text-align: center; }
    .footer-bottom .text-md-end { text-align: center !important; }
    .cookie-consent { padding: 8px 0; font-size: 0.78rem; }
    .cookie-consent .container { align-items: center !important; display: flex !important; gap: 8px; }
    .cookie-consent p { flex: 1 1 210px; margin-bottom: 0 !important; }
    .cookie-consent .btn-cta { margin-top: 0; padding: 8px 18px; }
    .map-container iframe { height: 280px; }
}

/* --- 21. Misc Utilities --- */
.text-primary-custom { color: var(--primary); }
.text-secondary-custom { color: var(--secondary); }
.text-accent { color: var(--secondary); }
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }

.alert-success-custom {
    background: rgba(42,157,110,0.1);
    border: 1px solid rgba(42,157,110,0.2);
    color: var(--accent);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}

.honeypot-field { position: absolute; left: -9999px; }

/* Map embed */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}
.map-container iframe { border: 0; display: block; }

/* --- Additional Page Styles --- */

/* Founder card (About page) */
.founder-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary);
}
.founder-title { color: var(--primary); font-weight: 600; margin-bottom: 0.25rem; }
.founder-icai { color: var(--text-muted); font-size: 0.9rem; }
.founder-qualifications { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.badge-qual {
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

/* Contact info card (Contact page) */
.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.35rem;
    align-items: flex-start;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(30,58,95,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1rem;
}
.contact-info-item h5 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; color: var(--text-dark); }
.contact-info-item p { margin: 0; font-size: 0.9rem; color: var(--text-body); }
.contact-info-item a { color: var(--primary); text-decoration: none; }
.contact-info-item a:hover { color: var(--secondary); }
.contact-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.contact-social a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}
.contact-social a:hover { background: var(--secondary); transform: translateY(-2px); }

/* Entity cards (Company Registration page) */
.entity-card {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    border: 1px solid var(--border);
    height: 100%;
}
.entity-card h5 { font-size: 1rem; margin-bottom: 0.5rem; }
.entity-card p { font-size: 0.88rem; color: var(--text-body); margin-bottom: 0.25rem; }

/* Tool badges (Bookkeeping page) */
.tool-badge {
    background: var(--bg-light);
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.88rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

/* Privacy content */
.privacy-content h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.privacy-content ul { padding-left: 1.2rem; }
.privacy-content li { margin-bottom: 0.5rem; }

/* FAQ category heading */
.faq-category {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

/* Process step — Services overview */
.process-step {
    text-align: center;
    padding: 1.25rem;
}
.step-number {
    width: 50px; height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}
.process-step h4 { font-size: 1.05rem; color: var(--primary); }
