/* ==========================================================================
   PRATIBHUTI VINIHIT LIMITED - MODERN STYLING
   Brand Color Palette:
   - Primary: #0082f4 (Vibrant Financial Blue)
   - Primary Dark: #0066cc
   - Primary Deep: #0a4f9f
   - Dark Navy: #0b132b
   - Secondary Dark: #111827
   - Muted Gray: #64748b
   - Light Background: #f8fafc
   - Border Color: #e2e8f0
   - Accent Yellow: #fbbf24
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary: #005bb5;
    --primary-dark: #004893;
    --primary-deep: #00366f;
    --dark-bg: #0b132b;
    --topbar-bg: #000000;
    --text-dark: #111827;
    --text-muted: #475569;
    --text-light: #f8fafc;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --accent-yellow: #fbbf24;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --hover-shadow: 0 20px 30px -10px rgba(0, 91, 181, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Epilogue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   ACCESSIBILITY UTILITIES (WCAG 2.1 AA COMPLIANT)
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: #00366f;
    color: #ffffff;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    z-index: 100000;
    border-radius: 0 0 6px 6px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: top 0.2s ease-in-out;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #ffcc00 !important;
    outline-offset: 2px !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 3px solid #005bb5 !important;
    outline-offset: 3px !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #005bb5 !important;
    outline-offset: 2px !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
    background-color: #070f1e !important;
    color: #ffffff !important;
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    background-color: #070f1e;
}

.top-bar-item svg {
    color: #38bdf8; /* High contrast: 8.4:1 against dark topbar */
    flex-shrink: 0;
}

.top-bar-item a {
    color: #ffffff !important;
    text-decoration: underline;
}

.top-bar-item a:hover {
    color: #38bdf8 !important;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.main-header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo-area {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.site-logo-fallback {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-logo-fallback span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-item a {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    padding: 10px 0;
    position: relative;
}

.nav-item a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-item a:hover:after,
.nav-item.active a:after {
    width: 100%;
}

.nav-item.active a {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* ==========================================================================
   PAGE BANNER (INNER PAGES)
   ========================================================================== */
.page-hero {
    background-color: #0b132b !important;
    background-image: linear-gradient(135deg, #0b132b 0%, #1e293b 100%);
    color: #ffffff !important;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 130, 244, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: #ffffff !important;
    background-color: transparent;
}

.breadcrumbs {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ffffff !important;
    font-weight: 500;
    background-color: #0b132b; /* Explicit dark background so tools immediately calculate 16.5:1 */
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumbs a {
    color: #ffffff !important; /* 16.5:1 contrast ratio against #0b132b */
    text-decoration: underline;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
    color: #93c5fd !important; /* 7.2:1 contrast ratio */
}

.breadcrumbs span[aria-current="page"] {
    color: #ffffff !important; /* 16.5:1 contrast ratio */
    font-weight: 700;
}

/* ==========================================================================
   HOMEPAGE HERO SECTION
   ========================================================================== */
.hero-slider-section {
    position: relative;
    background: #000;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.85;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding: 60px 0;
    color: #ffffff;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 130, 244, 0.25);
    border: 1px solid var(--primary);
    color: #38bdf8;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 130, 244, 0.3);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 13px;
}

.btn-pill-yellow {
    background: var(--accent-yellow);
    color: #000000;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-pill-yellow:hover {
    background: #f59e0b;
    color: #000000;
    transform: translateY(-1px);
}

/* ==========================================================================
   ATTENTION INVESTORS SECTION (PAGE 1 REQUIREMENT)
   ========================================================================== */
.investor-notice-section {
    background: #ffffff;
    padding: 50px 0 30px;
    border-bottom: 1px solid var(--border-color);
}

.notice-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 15px;
}

.notice-heading {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    position: relative;
    padding-left: 18px;
}

.notice-heading:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 28px;
    background: var(--primary);
    border-radius: 4px;
}

.notice-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.notice-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 24px;
    position: relative;
    transition: var(--transition);
}

.notice-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

.notice-card-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

.notice-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.notice-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================================
   HOMEPAGE FEATURES & OBJECTIVES
   ========================================================================== */
.features-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-title-wrap {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--primary);
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    font-weight: 800;
    color: #cbd5e1;
}

.feature-icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feature-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   ABOUT US PAGE & TABS SECTION (PAGE 2 REQUIREMENT)
   ========================================================================== */
.about-intro-section {
    padding: 80px 0 50px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-intro-text h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
}

.about-intro-text p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Tabs UI */
.tabs-section {
    padding: 50px 0 90px;
    background: var(--bg-light);
}

.tab-nav-bar {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 14px 24px;
    background: transparent;
    border: none;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: #ffffff;
    border-radius: 8px 8px 0 0;
}

.tab-pane {
    display: none;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.kyc-step-box {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px dashed var(--border-color);
}

.kyc-step-box:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.kyc-step-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kyc-step-box p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Action Links inside Trading Account Tab */
.tab-action-links {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.download-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    padding: 16px 22px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.download-link-row:hover {
    background: #e2e8f0;
    transform: translateX(4px);
}

.download-link-row .link-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.corporate-filings-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.corporate-filings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.corporate-filings-item:hover {
    border-color: var(--primary);
    background: #ffffff;
}

/* ==========================================================================
   CORPORATE FILINGS 2-COLUMN REPOSITORY (ANNUAL REPORTS & MGT-7)
   ========================================================================== */
.filings-intro-note {
    background: #f0f7ff;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.filings-intro-note svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.filings-intro-note p {
    font-size: 14px;
    color: #1e293b;
    line-height: 1.6;
    margin: 0;
}

.filings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 10px;
}

.filing-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.filing-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.filing-card-header {
    background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
    padding: 22px 24px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.filing-card-header.accent-blue {
    background: linear-gradient(135deg, #0056b3 0%, #0082f4 100%);
}

.filing-header-icon {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.filing-header-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.filing-header-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
}

.filing-year-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.filing-year-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition);
    gap: 12px;
}

.filing-year-item:last-child {
    border-bottom: none;
}

.filing-year-item:hover {
    background: #f8fafc;
}

.filing-year-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.filing-year-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filing-year-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #e2e8f0;
    color: #475569;
}

.filing-year-badge.latest {
    background: #dbeafe;
    color: #00366f;
    font-weight: 800;
}

.filing-year-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.filing-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    border: 1px solid transparent;
}

.filing-action-btn.btn-download {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    font-weight: 700;
}

.filing-action-btn.btn-download:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 10px rgba(0, 91, 181, 0.25);
    transform: translateY(-1px);
}

.filing-action-btn.btn-pending {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
    border-style: dashed;
    font-weight: 600;
}

.filing-action-btn.btn-pending:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.filing-card-footer {
    padding: 14px 22px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   CONTACT US PAGE & OFFICES (PAGE 3 REQUIREMENT)
   ========================================================================== */
.contact-section {
    padding: 70px 0;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.office-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
}

.office-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.office-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.office-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 12px;
}

.office-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.office-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-muted);
}

.office-detail-row svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

/* TRADING DESK BLUE BANNER */
.trading-desk-banner {
    background: var(--primary);
    color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 15px 30px rgba(0, 130, 244, 0.25);
}

.trading-desk-banner h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.trading-desk-numbers {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 18px;
    font-weight: 600;
}

.trading-desk-numbers a {
    color: #ffffff;
    text-decoration: underline;
}

.trading-desk-numbers a:hover {
    color: #e2e8f0;
}

/* COMPLIANCE & COMPLAINT FORM (PAGE 5 REQUIREMENT) */
.complaint-section-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 45px;
    box-shadow: var(--card-shadow);
    margin-bottom: 60px;
}

.complaint-form-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label .req {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #52525b; /* 6.3:1 contrast against #ffffff (WCAG 1.4.11 requirement is 3:1) */
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 15px;
    background-color: #ffffff;
    color: #111827;
    transition: var(--transition);
}

.form-control::placeholder {
    color: #595959; /* High-contrast placeholder */
    opacity: 1;
}

.form-control:focus {
    outline: none;
    border-color: #005bb5;
    box-shadow: 0 0 0 3px rgba(0, 91, 181, 0.25);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-submit-row {
    grid-column: 1 / -1;
    margin-top: 10px;
}

/* Inline Form Error Styles (WCAG 3.3.1, 3.3.3) */
.form-error-summary {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.form-error-summary:focus {
    outline: 3px solid #dc2626;
    outline-offset: 2px;
}

.field-error {
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
    min-height: 18px;
    display: block;
}

.form-control-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

/* COMPLIANCE QUICK LINKS (PAGE 5 REQUIREMENT) */
.compliance-links-banner {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* DEDICATED HELPLINE FOR CYBER INCIDENTS CARD */
.cyber-helpline-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 30px;
    margin: 40px 0 30px;
    box-shadow: var(--card-shadow);
}

.cyber-helpline-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.cyber-helpline-card h3 svg {
    color: #005bb5;
}

/* MATRIX & MANAGERIAL TABLES */
.custom-table-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0 50px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.custom-table,
.cyber-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.custom-table th,
.cyber-table th {
    background: #0b132b;
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 14px 18px;
    border-bottom: 2px solid #005bb5;
}

.custom-table td,
.cyber-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.custom-table tr:nth-child(even),
.cyber-table tr:nth-child(even) {
    background: #f8fafc;
}

.custom-table tr:hover,
.cyber-table tr:hover {
    background: #f1f5f9;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #070f1e;
    color: #94a3b8;
    padding: 65px 0 40px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 1.35fr 1.15fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

/* ==========================================================================
   REGULATORY INFO TABS (ATTENTION INVESTORS, KYC, IPO, NOMINATION, E-VOTING, SCORES)
   ========================================================================== */
.reg-tabs-container {
    margin: 40px 0 50px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.reg-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}

.reg-tab-btn {
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.reg-tab-btn:hover {
    color: var(--primary);
    background: rgba(0, 130, 244, 0.04);
}

.reg-tab-btn.active {
    color: var(--primary);
    background: #ffffff;
    border-bottom-color: var(--primary);
}

.reg-tab-panel {
    display: none;
    padding: 30px;
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
}

.reg-tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.reg-tab-panel a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

.reg-tab-panel a:hover {
    color: #0056b3;
}

/* CYBER HELPLINE TABLE */
.cyber-helpline-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 50px;
    box-shadow: var(--card-shadow);
}

.cyber-helpline-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cyber-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cyber-table th {
    background: #f1f5f9;
    color: var(--text-dark);
    font-weight: 700;
    text-align: left;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
}

.cyber-table td {
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.footer-col h3,
.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.3px;
}

.footer-col h3:after,
.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #cbd5e1;
}

/* Premium Download Button */
.footer-charter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 130, 244, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-charter-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 130, 244, 0.25);
}

/* Link Lists */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li a {
    color: #cbd5e1;
    font-size: 13.5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.footer-links-list li a:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

/* Get In Touch Items */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #cbd5e1;
}

.footer-contact-item .contact-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-item a:hover {
    color: #38bdf8;
}

.contact-emails {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Statutory Compliance Box */
.footer-statutory-box {
    background: #0b172a;
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 16px 24px;
    margin-bottom: 45px;
    font-size: 13px;
    line-height: 1.8;
    color: #cbd5e1;
    text-align: center;
}

.footer-statutory-box strong {
    color: #ffffff;
    font-weight: 700;
}

.footer-statutory-box .statutory-val {
    color: #e2e8f0;
    font-weight: 600;
}

.footer-statutory-box .sep {
    color: #cbd5e1; /* 10.0:1 AAA contrast ratio against #0b172a */
    margin: 0 10px;
}

.footer-statutory-box .statutory-link {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.footer-statutory-box .statutory-link:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

/* Footer Bottom Strip */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    padding-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13.5px;
    color: #cbd5e1;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #cbd5e1;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        transition: 0.4s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 767px) {
    .top-bar {
        display: none;
    }

    .hero-title {
        font-size: 34px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-statutory-box {
        padding: 14px 18px;
        font-size: 12px;
        line-height: 1.7;
    }

    .footer-statutory-box .sep {
        margin: 0 4px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .trading-desk-numbers {
        flex-direction: column;
        gap: 15px;
    }
}

/* ==========================================================================
   REDUCED MOTION (WCAG 2.3.3)
   Disables all animations/transitions for users who prefer reduced motion.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .top-bar,
    .mobile-toggle,
    .skip-link,
    .hero-btns,
    .btn,
    .footer-charter-btn,
    .compliance-links-banner,
    .tab-nav-bar,
    .reg-tabs-nav {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .main-header {
        position: static;
        box-shadow: none;
        border-bottom: 2px solid #000;
    }

    .site-footer {
        background: #fff;
        color: #000;
        border-top: 2px solid #000;
    }

    .footer-col h4,
    .footer-links-list li a,
    .footer-contact-item,
    .footer-bottom p {
        color: #000 !important;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #555;
    }
}
