/* Bhartiya Tech - Modern Tech Blue & White Theme (Executive Academic Light Look) */
:root {
    --primary: #2563eb;          /* Vibrant Azure Blue */
    --primary-dark: #1d4ed8;     /* Rich Royal Blue */
    --primary-light: #eff6ff;    /* Soft Ice Blue */
    --primary-subtle: #dbeafe;
    --secondary: #0f2942;        /* Deep Sapphire Navy */
    --secondary-light: #1e3a5f;
    --accent-gold: #f59e0b;      /* Warm Gold / Amber */
    --accent-gold-dark: #d97706;
    --accent-green: #059669;     /* Placement Emerald */
    --bg-light: #f8fafc;         /* Crisp Light Pearl */
    --bg-white: #ffffff;
    --text-dark: #0f2942;
    --text-body: #334155;        /* Slate text for effortless reading */
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(15, 41, 66, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 41, 66, 0.08);
    --shadow-lg: 0 12px 30px rgba(37, 99, 235, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* 1. Tech Announcement Header Strip */
.top-announcement-bar {
    background: #0f2942;
    color: #e2e8f0;
    font-size: 0.82rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--accent-gold);
}

.announcement-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge-live {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    box-shadow: 0 0 6px #f59e0b;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.top-contact-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-contact-links a {
    color: #94a3b8;
    font-size: 0.8rem;
}

.top-contact-links a:hover {
    color: #38bdf8;
}

/* 2. Main Navigation Bar (Clean, Single Line, No Cramming) */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(15, 41, 66, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

.site-brand {
    flex-shrink: 0;
}

.brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm);
    white-space: nowrap; /* CRITICAL: PREVENTS TWO-LINE BREAKS */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Language Switcher Pill in Header */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-full);
    padding: 2px 3px;
    gap: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-btn:hover {
    color: var(--secondary);
}

.lang-btn.active {
    background: var(--primary);
    color: #ffffff !important;
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.3);
}

.btn-header-cta {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    white-space: nowrap; /* PREVENTS TWO-LINE BREAK */
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-header-cta:hover {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff !important;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-1px);
}

.btn-outline {
    background: #ffffff;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* 3. Hero Section - LIGHT & MODERN (NO DARK CHARCOAL BOX) */
.hero-tech-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 40%, #eff6ff 100%);
    color: var(--text-dark);
    padding: 3.5rem 0 4rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-tech-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.1rem;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.hero-content h1 span.highlight {
    color: var(--primary);
    background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: #475569;
    margin-bottom: 1.75rem;
    max-width: 620px;
    line-height: 1.65;
}

.hero-stats {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid #e2e8f0;
}

.stat-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.stat-item h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item p {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

/* 4. Interactive Career & Salary Matcher Widget (Clean White Card) */
.salary-calculator-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-top: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(15, 41, 66, 0.08);
}

.calc-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.calc-header h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 800;
}

.calc-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.calc-form-group {
    margin-bottom: 1rem;
}

.calc-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.35rem;
}

.calc-select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    color: var(--secondary);
    font-size: 0.9rem;
    outline: none;
    font-weight: 600;
    transition: all 0.2s;
}

.calc-select:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.calc-result-box {
    margin-top: 1.25rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
    border: 1px solid #93c5fd;
    border-radius: var(--radius-md);
    padding: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.result-cert-badge {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.result-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary);
}

.result-salary {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-green);
    margin: 0.35rem 0;
}

.result-meta {
    font-size: 0.82rem;
    color: var(--text-body);
    font-weight: 600;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

/* 5. Flagship Certificate Programs Section */
.section-py {
    padding: 4rem 0;
}

.section-title-wrap {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
}

.section-pill {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.3;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.75rem;
}

.course-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

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

.course-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.course-acronym {
    background: var(--secondary);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-gold);
}

.badge-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.badge-aviation { background: #e0f2fe; color: #0284c7; }
.badge-railway { background: #fef2f2; color: #dc2626; }
.badge-metro { background: #f0fdf4; color: #16a34a; }
.badge-hotel { background: #fef3c7; color: #d97706; }
.badge-travel { background: #f5f3ff; color: #7c3aed; }

.course-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.course-desc {
    color: var(--text-body);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.course-specs-list {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    margin-bottom: 1.25rem;
    list-style: none;
    border: 1px solid var(--border-light);
}

.course-specs-list li {
    font-size: 0.85rem;
    color: var(--text-body);
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px dashed var(--border-color);
}

.course-specs-list li:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-muted);
}

.spec-val {
    font-weight: 700;
    color: var(--secondary);
}

.spec-val.highlight-green {
    color: var(--accent-green);
    font-size: 0.95rem;
}

.course-card-footer {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

/* 6. Comparison Salary Matrix Table */
.salary-table-wrap {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}

.salary-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.salary-table th {
    background: var(--secondary);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--accent-gold);
}

.salary-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    vertical-align: middle;
}

.salary-table tr:hover {
    background-color: var(--primary-light);
}

.salary-tag {
    font-weight: 800;
    color: var(--accent-green);
    font-size: 0.95rem;
}

/* 7. Articles & Guides Section */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.article-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

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

.article-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
}

.article-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.article-title a {
    color: inherit;
}

.article-title a:hover {
    color: var(--primary);
}

.article-excerpt {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.article-read-more {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* 8. Single Article Detail View */
.article-header {
    background: linear-gradient(135deg, #0f2942 0%, #1e3a5f 100%);
    color: #ffffff;
    padding: 3rem 0;
    border-bottom: 3px solid var(--accent-gold);
}

.article-breadcrumb {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.article-breadcrumb a {
    color: #38bdf8;
}

.single-title {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.article-content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    padding: 3rem 0;
}

.article-body {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 1.55rem;
    color: var(--secondary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.article-body h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin: 1.5rem 0 0.75rem;
}

.article-body ul, .article-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.article-body li {
    margin-bottom: 0.4rem;
}

.tech-specs-box {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-left: 4px solid var(--accent-green);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.tech-specs-box h4 {
    color: #166534;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.tech-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.sidebar-widget {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

/* 9. Site Footer (Deep Sapphire Executive) */
.site-footer {
    background: #0f2942;
    color: #94a3b8;
    padding: 3.5rem 0 1.5rem;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1rem 0 1.25rem;
    color: #cbd5e1;
}

.footer-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: #38bdf8;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #1e3a5f;
    font-size: 0.82rem;
    color: #64748b;
}

/* 10. Language Mode Visibility Classes */
.lang-block {
    transition: opacity 0.2s ease;
}

.lang-hi {
    display: none;
}

body.lang-mode-hi .lang-en {
    display: none !important;
}

body.lang-mode-hi .lang-hi {
    display: block !important;
}

body.lang-mode-hi .lang-hi-inline {
    display: inline !important;
}

body.lang-mode-en .lang-hi-inline {
    display: none !important;
}

body.lang-mode-en .lang-en-inline {
    display: inline !important;
}

body.lang-mode-hi .lang-en-inline {
    display: none !important;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .article-content-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.85rem;
    }
    .hero-stats {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
