/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 03 2026 | 09:41:12 */
/* ============================================
   GST Tax Calculator - Main Stylesheet
   AdSense Compliant, SEO Optimized
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #0f766e;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --max-width: 1200px;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
    color: var(--primary-dark);
}

.logo span {
    color: var(--accent-color);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Main Content */
main {
    min-height: calc(100vh - 300px);
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero .btn-primary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    display: inline-block;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.hero .btn-primary:hover {
    background-color: var(--bg-light);
    color: var(--primary-dark);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Page Header */
.page-header {
    background-color: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--bg-light);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs ol {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-medium);
}

.breadcrumbs li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: var(--text-light);
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
}

.content-section.alt-bg {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Article Styles */
article {
    max-width: 800px;
    margin: 0 auto;
}

article h2 {
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

article h3 {
    margin-top: 2rem;
    color: var(--secondary-color);
}

article h4 {
    margin-top: 1.5rem;
}

article ul,
article ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-medium);
}

article li {
    margin-bottom: 0.5rem;
}

article strong {
    color: var(--text-dark);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
}

thead {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tbody tr:hover {
    background-color: var(--bg-light);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Calculator Container */
.calculator-container {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.calculator-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.calculator-placeholder {
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem;
    text-align: center;
    color: var(--text-light);
}

.calculator-placeholder code {
    background-color: var(--bg-white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.card-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-light);
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f3f4f6;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 1.25rem;
    border-top: 1px solid var(--border-color);
}

/* Info Boxes */
.info-box {
    background-color: #eff6ff;
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.info-box.warning {
    background-color: #fffbeb;
    border-left-color: var(--accent-color);
}

.info-box.success {
    background-color: #ecfdf5;
    border-left-color: var(--success-color);
}

.info-box h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Example Box */
.example-box {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.example-box h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.example-box .calculation {
    background-color: var(--bg-white);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    margin: 0.5rem 0;
}

/* Last Updated */
.last-updated {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    margin: 1rem 0;
}

/* Internal Links Box */
.related-links {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
}

.related-links h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.related-links ul {
    list-style: none;
    margin: 0;
}

.related-links li {
    margin-bottom: 0.5rem;
}

.related-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
    color: var(--bg-white);
}

/* Step Process */
.steps {
    counter-reset: step;
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-medium);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }

    nav a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    nav a::after {
        display: none;
    }

    nav li:last-child a {
        border-bottom: none;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
    }

    table {
        font-size: 0.875rem;
    }

    th,
    td {
        padding: 0.75rem;
    }
}

/* Print Styles */
@media print {

    header,
    footer,
    .breadcrumbs,
    .related-links {
        display: none;
    }

    main {
        padding: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    h1 {
        font-size: 18pt;
    }

    h2 {
        font-size: 16pt;
    }

    h3 {
        font-size: 14pt;
    }

    a {
        text-decoration: none;
        color: var(--text-dark);
    }

    .calculator-placeholder {
        border: 1px solid #000;
    }
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Schema markup helper (visually hidden) */
.schema-markup {
    display: none;
}

/* Add this for dropdown submenus */
nav ul ul {
    display: none; /* Hidden by default */
    position: absolute;
    flex-direction: column; /* Stack vertically */
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    min-width: 200px;
    gap: 0;
}

nav li {
    position: relative;
}

nav li:hover > ul,
nav li:focus-within > ul {
    display: flex;
}

nav ul ul li {
    width: 100%;
}

nav ul ul a {
    padding: 0.75rem 1.25rem;
    display: block;
}

nav ul ul a::after {
    display: none; /* Remove the underline animation for dropdown items */
}
/* Footer Grid Fix */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    white-space: normal; /* Ensure text wraps normally */
}

.footer-section ul {
    list-style: none;
    display: block; /* Override any flex on ul */
}

.footer-section li {
    margin-bottom: 0.5rem;
    display: block; /* Ensure list items are block level */
}

.footer-section a {
    color: #9ca3af;
    font-size: 0.95rem;
    display: inline-block; /* or block, but NOT flex */
    white-space: normal; /* Allow text to display normally */
    word-wrap: break-word;
}

.footer-section a:hover {
    color: var(--primary-color);
}
/* Make sure footer links don't inherit nav flex styles */
footer nav ul {
    display: block !important;
    flex-direction: column;
}

footer nav a {
    display: block;
}

