/* ==============================================
   TT India ETC — Shared Stylesheet
   ============================================== */

:root {
    --primary: #8a2be2;
    --primary-dark: #6a0dad;
    --primary-light: #f3e8ff;
    --text-dark: #1a1a2e;
    --text-muted: #4b5563;
    --bg: #f8f7ff;
    --white: #ffffff;
    --shadow-sm: 0 1px 8px rgba(138, 43, 226, 0.10);
    --shadow-md: 0 4px 24px rgba(138, 43, 226, 0.12);
    --radius: 10px;
    --transition: 0.18s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Navbar ── */
.site-navbar {
    background: var(--white);
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.5rem 0;
}

.site-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary) !important;
    letter-spacing: -0.3px;
}

.site-navbar .nav-link {
    color: var(--text-dark) !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem !important;
    border-radius: 6px;
    transition: background var(--transition), color var(--transition);
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    background: var(--primary-light);
    color: var(--primary) !important;
}

.navbar-toggler {
    border-color: var(--primary) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238a2be2' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ── Page Header ── */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3.5rem 1rem 3rem;
    text-align: center;
}

.page-header h1 {
    font-weight: 700;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    letter-spacing: -0.5px;
    margin-bottom: 0.4rem;
}

.page-header .lead {
    opacity: 0.88;
    margin: 0;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* ── Content ── */
.content-section {
    padding: 2.5rem 1rem 3rem;
    flex: 1;
}

.content-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 2.25rem 2.5rem;
    max-width: 860px;
    margin: 0 auto;
}

@media (max-width: 575.98px) {
    .content-card {
        padding: 1.4rem 1.1rem;
        border-radius: 8px;
    }
}

.content-card h4 {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--primary-light);
}

.content-card h4:first-child {
    margin-top: 0;
}

.content-card h5 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
}

.content-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.content-card a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.content-card a:hover {
    text-decoration: underline;
}

/* ── Footer ── */
.site-footer {
    background: #1a1a2e;
    color: #bbb;
    padding: 2rem 1rem 1.5rem;
}

.footer-heading {
    color: var(--white);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem 0.1rem;
    margin-bottom: 1.25rem;
}

.footer-links a {
    color: #c4b5fd;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
    transition: color var(--transition), background var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    background: rgba(196, 181, 253, 0.15);
}

.footer-sep {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 0.75rem 0;
}

.footer-copy {
    font-size: 0.78rem;
    color: #666;
    text-align: center;
    margin: 0;
}
