/* =============================================
   VISUAL POLISH LAYER
   Loaded after style.css / res.css — refines shared
   design tokens + a few universal components without
   touching the original per-page markup or CSS.
   ============================================= */

:root {
    --primary-light: #e3f6fd;
    --shadow-sm: 0 2px 10px rgba(20, 20, 30, 0.06);
    --shadow-md: 0 10px 28px rgba(20, 20, 30, 0.1);
    --shadow-lg: 0 20px 48px rgba(20, 20, 30, 0.14);
    --border-radius: 10px;
    --border-radius-lg: 16px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body { letter-spacing: 0.1px; }

h1, h2, h3, h4, h5, h6 { letter-spacing: -0.02em; }

::selection { background: var(--primary-color); color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ---- Buttons: consistent lift + soft shadow on every variant ---- */
.btn {
    box-shadow: 0 1px 2px rgba(20, 20, 30, 0.06);
    transition: var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 14px rgba(0, 174, 240, 0.28);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #036a94 120%);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 174, 240, 0.32);
}
.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-cta {
    box-shadow: 0 4px 14px rgba(0, 174, 240, 0.28);
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 174, 240, 0.35);
}

/* ---- Header / nav: subtle depth + smoother active state ---- */
.top-header {
    box-shadow: 0 1px 0 rgba(20, 20, 30, 0.04);
}
.main-nav {
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.main-menu > li > a {
    transition: var(--transition);
    position: relative;
}
.main-menu > li > a.active,
.main-menu > li > a:hover {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.main-menu > li:not(.dropdown) > a::after {
    content: '';
    position: absolute;
    left: 50%; right: 50%; bottom: 2px;
    height: 2px; background: #fff; border-radius: 2px;
    transition: var(--transition);
    opacity: 0;
}
.main-menu > li:not(.dropdown) > a.active::after,
.main-menu > li:not(.dropdown) > a:hover::after {
    left: 12px; right: 12px; opacity: 1;
}
.dropdown-menu {
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
    overflow: hidden;
    border: none !important;
    animation: dropdownIn 0.18s ease;
}
@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.logo-mark-badge {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}

/* ---- Section labels: crisper pill ---- */
.section-label {
    box-shadow: 0 1px 2px rgba(20, 20, 30, 0.04);
    border: 1px solid rgba(0, 174, 240, 0.08);
}

/* ---- Cards & imagery: gentle universal hover lift where the site already
   defines a *-card / *-item hover rule, this just smooths the transition. ---- */
.bearer-card, .blog-card, .event-card, .testimonial-card, .gallery-item,
.video-item, .stat-box, .bearer-detail-card, .chapter-card {
    transition: var(--transition);
}
.gallery-item img, .blog-image img, .event-image, .chapter-card img {
    transition: transform 0.4s ease;
}

/* ---- Forms: refined focus ring to match brand ---- */
.form-input:focus, input.form-input:focus, textarea.form-input:focus, select.form-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 174, 240, 0.12);
}

/* ---- Footer: slightly richer background depth ---- */
.footer {
    background: linear-gradient(180deg, #0d0d0d 0%, #000000 100%);
}

/* ---- Back to top button: modernized ---- */
.back-to-top {
    box-shadow: 0 6px 20px rgba(0, 174, 240, 0.35);
    transition: var(--transition);
}
.back-to-top:hover {
    transform: translateY(-4px);
}

/* =============================================
   SITE-WIDE REDESIGN — universal page components
   shared by every inner page (breadcrumb, page
   header, section headers, forms, tables, empty
   states). Rewriting these once elevates all ~20
   pages that use them without touching per-page
   markup.
   ============================================= */

/* ---- Combined page header band (breadcrumb + hero) ---- */
.breadcrumb-section {
    background: linear-gradient(135deg, #0d1b2a 0%, #123a52 55%, var(--primary-color) 150%);
    padding: 14px 0;
    border-bottom: none;
    position: relative;
}
.breadcrumb-home, .breadcrumb-current {
    color: rgba(255,255,255,0.85) !important;
}
.breadcrumb-home:hover { color: #fff !important; }
.breadcrumb-current { color: #fff !important; font-weight: 600; }
.breadcrumb-separator { color: rgba(255,255,255,0.4) !important; }

.history-hero-section {
    background: linear-gradient(135deg, #0d1b2a 0%, #123a52 55%, var(--primary-color) 150%);
    border-bottom: none;
    padding: 46px 0 54px;
    position: relative;
    overflow: hidden;
}
.history-hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.08), transparent 55%);
    pointer-events: none;
}
.history-hero-section .section-label {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(6px);
}
.history-hero-section .section-title,
.history-hero-section .page-title {
    color: #fff;
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}
.history-hero-section .section-title .highlight,
.history-hero-section .section-title .text-highlight,
.history-hero-section .page-title .highlight,
.history-hero-section .page-title .text-highlight {
    color: #7fe0ff;
}
.history-hero-section .section-subtitle,
.history-hero-section .page-subtitle {
    color: rgba(255,255,255,0.82);
    position: relative;
    z-index: 1;
}

/* ---- Section headers everywhere: stronger hierarchy ---- */
.section-header { margin-bottom: 44px; }
.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ---- Forms: bigger, friendlier inputs everywhere ---- */
.form-input, input.form-input, textarea.form-input, select.form-input {
    padding: 13px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 14.5px;
    transition: var(--transition);
}
.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 174, 240, 0.12);
}
.form-group label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 13.5px;
}

/* ---- Empty states: friendlier, on-brand ---- */
.no-results {
    padding: 60px 30px;
    border-radius: 18px;
    border: 1.5px dashed var(--border-color);
    background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
}
.no-results-content i {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin: 0 auto 18px;
}

/* ---- Filter buttons / pills (used on gallery, faq, events, success stories) ---- */
.filter-btn, .filter-btn-lucknow, .chapter-tab {
    border-radius: 10px;
    transition: var(--transition);
}
.filter-btn.active, .filter-btn-lucknow.active, .chapter-tab.active {
    box-shadow: 0 4px 14px rgba(0, 174, 240, 0.28);
}

/* ---- Generic content cards used across many inner pages ---- */
.chapter-card, .video-item, .testimonial-card, .faq-item, .stat-box, .bearer-detail-card {
    border-radius: 16px !important;
}
.chapter-card:hover, .video-item:hover, .testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}
