@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;0,600;0,700;0,800;0,900;1,700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://cdn.jsdelivr.net/npm/remixicon@4.3.0/fonts/remixicon.css');

/* =========================================================
   DESIGN TOKENS & ROOT VARIABLES
========================================================= */
:root {
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Build India Brand Colors */
    --brand-red: #ff2d16;
    --brand-red-dark: #0369a1;
    --brand-red-hover: #075985;
    --brand-red-subtle: #f0f9ff;

    --brand-gold: #f59e0b;
    --brand-gold-dark: #d97706;
    --brand-gold-light: #fbbf24;
    --brand-gold-subtle: #fffbeb;

    --dark: #0f172a;
    --slate: #1e293b;
    --slate-muted: #64748b;
    --border: #e2e8f0;
    --bg-canvas: #f8fafc;
    --surface: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    background-color: var(--bg-canvas);
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.font-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--dark);
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

/* =========================================================
   TOP UTILITY BAR
========================================================= */
.top-bar {
    background: #0b1120;
    color: #94a3b8;
    font-size: 12.5px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: #cbd5e1;
}

.top-bar a:hover {
    color: var(--brand-gold-light);
}

.top-bar .divider {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 10px;
    vertical-align: middle;
}

.tagline-pill {
    background: rgba(245, 158, 11, 0.15);
    color: var(--brand-gold-light);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

/* =========================================================
   TOP SPONSOR / HEADER BANNER (Raaj Scaffolding inspired)
========================================================= */
.top-sponsor-strip {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
}

.sponsor-banner-card {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.sponsor-banner-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    color: #1e3a8a;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.sponsor-banner-subtitle {
    font-size: 11.5px;
    color: #475569;
    font-weight: 500;
}

.sponsor-banner-contact {
    font-size: 12px;
    color: #0f172a;
    font-weight: 600;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

/* =========================================================
   MAIN NAVBAR
========================================================= */
.main-navbar {
    background: #ffffff;
    border-bottom: 2px solid #e2e8f0;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    padding: 0;
}

.brand-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.brand-logo-img:hover {
    transform: scale(1.02);
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    color: #1e293b !important;
    padding: 8px 18px !important;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--brand-red) !important;
    background-color: var(--brand-red-subtle);
}

.navbar-nav .nav-link.active {
    color: var(--brand-red) !important;
    background-color: var(--brand-red-subtle);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 18px;
    right: 18px;
    height: 2.5px;
    background: var(--brand-red);
    border-radius: 2px;
}

/* Nav Action Buttons */
.btn-nav-proposal {
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-dark) 100%);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.25);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-nav-proposal:hover {
    background: linear-gradient(135deg, var(--brand-gold-dark) 0%, #b45309 100%);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.35);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.btn-nav-admin {
    background: #0f172a;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-nav-admin:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Mobile Toggler */
.navbar-toggler {
    border: 1px solid var(--border);
    padding: 6px 10px;
    font-size: 20px;
    border-radius: 8px;
    color: var(--dark);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* =========================================================
   HERO GRAPHIC BANNER & SEARCH ENGINE SECTION
========================================================= */
.hero-banner-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 24px 0 35px;
    position: relative;
    border-bottom: 3px solid var(--brand-red);
}

.hero-graphic-banner {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.16);
    border: 1px solid #cbd5e1;
    background: #0f172a;
}

.hero-graphic-img {
    width: 100%;
    height: auto;
    max-height: 460px;
    min-height: 240px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-graphic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.5) 45%, rgba(15, 23, 42, 0.1) 75%, transparent 100%),
                linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(15, 23, 42, 0.65) 85%, rgba(15, 23, 42, 0.9) 100%);
    pointer-events: none;
}

.hero-graphic-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* =========================================================
   SEARCH ENGINE BAR (CORE LEGACY FEATURE)
========================================================= */
.search-engine-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
    padding: 16px 20px;
    margin-top: -55px; /* Overlaps seamlessly with the clean dark bottom portion of the banner */
    position: relative;
    z-index: 10;
}

.search-header-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.search-title-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 7px;
}

.search-title-label i {
    color: var(--brand-red);
    font-size: 18px;
}

.search-type-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.search-type-toggle label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
}

.search-type-toggle input[type="radio"] {
    accent-color: var(--brand-red);
    cursor: pointer;
}

.search-grid {
    display: grid;
    grid-template-columns: 220px 220px 1fr auto auto;
    gap: 12px;
    align-items: flex-end;
}

.search-field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-field-group label {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

.search-input-wrapper select,
.search-input-wrapper input {
    width: 100%;
    height: 44px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 12px 8px 36px;
    font-size: 13.5px;
    color: #0f172a;
    background-color: #ffffff;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.search-input-wrapper select:focus,
.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.btn-search-main {
    height: 44px;
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-dark) 100%);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    padding: 0 22px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-search-main:hover {
    background: linear-gradient(135deg, var(--brand-gold-dark) 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(245, 158, 11, 0.45);
}

.btn-advance-search {
    height: 44px;
    background: #f1f5f9;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12.5px;
    padding: 0 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-advance-search:hover {
    background: #e2e8f0;
    color: var(--brand-red) !important;
    border-color: #94a3b8;
}

/* =========================================================
   3-COLUMN MAIN BODY SECTION
========================================================= */
.main-content-section {
    padding: 45px 0 60px;
    background: #f8fafc;
}

/* Left Column: Corporate Brand Showcase */
.brand-showcase-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.sidebar-heading {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0f172a;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--brand-gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-heading i {
    color: var(--brand-red);
    font-size: 18px;
}

.brand-logos-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brand-tile {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.brand-tile:hover {
    background: #ffffff;
    border-color: var(--brand-gold);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    transform: translateX(3px);
}

.brand-tile-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13.5px;
    color: #1e293b;
}

.brand-tile-tag {
    font-size: 11px;
    color: #64748b;
    background: #ffffff;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Center Column: Welcome Card */
.welcome-card-modern {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 28px 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.welcome-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--brand-red-subtle);
    color: var(--brand-red);
    border: 1px solid #fecaca;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.welcome-headline {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin-bottom: 14px;
}

.welcome-headline span {
    color: var(--brand-red);
}

.welcome-quote-box {
    background: #f8fafc;
    border-left: 4px solid var(--brand-red);
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
}

.welcome-quote-box p:last-child {
    margin-bottom: 0;
}

/* Category Quick Explorer */
.category-explorer-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.category-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.category-tag-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.category-tag-chip:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Right Column: Proposal & Contact Cards */
.action-cards-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Yellow Proposal Card */
.card-proposal-yellow {
    background: url('../images/proposal-card-bg.jpg') center center / cover no-repeat;
    border-radius: 14px;
    padding: 24px 20px;
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(217, 119, 6, 0.35);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-proposal-yellow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.35) 0%, rgba(15, 23, 42, 0.68) 100%);
    pointer-events: none;
}

.card-proposal-yellow > * {
    position: relative;
    z-index: 2;
}

.card-proposal-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(217, 119, 6, 0.45);
}

.proposal-arrow-icon {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 44px;
    height: 44px;
    background: #ff2d16;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
    border: 2px solid #ffffff;
    z-index: 2;
}

.card-proposal-yellow h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.3px;
    line-height: 1.2;
    margin-bottom: 8px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.card-proposal-yellow p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-proposal-cta {
    background: #0f172a;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.btn-proposal-cta:hover {
    background: #1e293b;
    color: var(--brand-gold-light) !important;
    transform: translateY(-1px);
}

/* Red Contact Card */
.card-contact-red {
    background: url('../images/contact-card-bg.jpg') center center / cover no-repeat;
    border-radius: 14px;
    padding: 24px 20px;
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.35);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-contact-red::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(185, 28, 28, 0.3) 0%, rgba(15, 23, 42, 0.72) 100%);
    pointer-events: none;
}

.card-contact-red > * {
    position: relative;
    z-index: 2;
}

.card-contact-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(220, 38, 38, 0.45);
}

.card-contact-red h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.card-contact-red p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.contact-phone-badge {
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-phone-badge i {
    font-size: 22px;
    color: var(--brand-gold-light);
}

.contact-phone-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    line-height: 1.2;
}

.contact-phone-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
}

.btn-contact-cta {
    background: #ffffff;
    color: var(--brand-red-dark) !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.btn-contact-cta:hover {
    background: #f8fafc;
    color: var(--brand-red) !important;
    transform: translateY(-1px);
}

/* =========================================================
   DIRECTORY SEARCH RESULTS PAGE
========================================================= */
.results-page-header {
    background: #0f172a;
    color: #ffffff;
    padding: 30px 0;
    border-bottom: 4px solid var(--brand-gold);
}

.results-count-pill {
    background: rgba(245, 158, 11, 0.2);
    color: var(--brand-gold-light);
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
}

.company-listing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    position: relative;
}

.company-listing-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.company-listing-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.badge-category {
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
}

.badge-location {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
}

.company-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 12px 0 16px;
    font-size: 13px;
    color: #475569;
}

.company-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.company-meta-item i {
    color: var(--brand-red);
    font-size: 16px;
}

/* =========================================================
   PAGINATION (BUILD INDIA BRAND & MOBILE FIRST)
========================================================= */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-width: 38px;
    padding: 0 12px;
    border-radius: 8px !important;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    text-decoration: none;
    white-space: nowrap !important;
    line-height: 1;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pagination .page-item .page-link:hover {
    background-color: var(--brand-red-subtle);
    color: var(--brand-red);
    border-color: var(--brand-red);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.15);
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
}

.pagination .page-item.disabled .page-link {
    color: #94a3b8;
    background-color: #f8fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
    pointer-events: none;
}

.pagination .page-link.prev-next {
    font-weight: 700;
    padding: 0 14px;
}

/* =========================================================
   FOOTER (MINIMALIST)
========================================================= */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 35px 0 25px;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
    color: #cbd5e1;
}

.site-footer a:hover {
    color: var(--brand-gold-light);
}

.footer-brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
}

/* =========================================================
   TYPOGRAPHY & CONTENT UTILITIES
========================================================= */
.about-quote-lead {
    font-size: 15.5px;
    line-height: 1.8;
    color: #1e293b;
}

.about-quote-body {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.about-section-text {
    font-size: 14.5px;
    line-height: 1.75;
    color: #334155;
}

.about-checklist-text {
    font-size: 13px;
    line-height: 1.4;
    color: #1e293b;
}

.about-advantage-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a !important;
}

/* =========================================================
   GLOBAL BUTTON DESIGN UPGRADES (PREMIUM & TACTILE)
========================================================= */

.btn {
    font-family: var(--font-heading);
    letter-spacing: 0.2px;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.btn:active {
    transform: scale(0.97) !important;
}

/* Primary / Red CTA Buttons */
.btn-danger {
    background: linear-gradient(135deg, var(--brand-red) 0%, #075985 100%) !important;
    border: 1px solid #075985 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-radius: 9px;
}

.btn-danger:hover,
.btn-danger:focus {
    background: linear-gradient(135deg, #075985 0%, #0c4a6e 100%) !important;
    border-color: #0c4a6e !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
    transform: translateY(-2px);
}

/* Outline Danger */
.btn-outline-danger {
    color: var(--brand-red) !important;
    background: #ffffff;
    border: 1.5px solid var(--brand-red) !important;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, var(--brand-red) 0%, #075985 100%) !important;
    border-color: #075985 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32);
    transform: translateY(-2px);
}

/* Warning / Gold CTA Buttons */
.btn-warning {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #d97706 100%) !important;
    border: 1px solid #d97706 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-radius: 9px;
}

.btn-warning:hover,
.btn-warning:focus {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    border-color: #b45309 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.48);
    transform: translateY(-2px);
}

/* Secondary / Dismiss Buttons */
.btn-secondary {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 600;
    border-radius: 9px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    background: #e2e8f0 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    transform: translateY(-1px);
}

/* Outline Dark */
.btn-outline-dark {
    border: 1.5px solid #334155 !important;
    color: #1e293b !important;
    border-radius: 8px;
}

.btn-outline-dark:hover {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    transform: translateY(-1px);
}

/* Call to Action Proposal & Contact Enhancements */
.btn-proposal-cta {
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
    transition: all 0.22s ease;
}

.btn-proposal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.45);
}

.btn-contact-cta {
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.22s ease;
}

.btn-contact-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   CONTACT PAGE ENHANCED CARDS & MODERN ICON DESIGN
========================================================= */

.contact-card-modern {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.25s ease;
}

.contact-card-modern:hover {
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.contact-card-header h5 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}

/* Modern Soft Icon Box */
.icon-box-soft {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.icon-box-soft.phone {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    border: 1px solid #a7f3d0;
}

.icon-box-soft.email {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.icon-box-soft.location {
    background: linear-gradient(135deg, #f0f9ff 0%, #fee2e2 100%);
    color: #dc2626;
    border: 1px solid #fecaca;
}

.icon-box-soft.website {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
    border: 1px solid #fde68a;
}

.contact-item-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.contact-item-row:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.contact-item-row:hover .icon-box-soft {
    transform: scale(1.08) rotate(-4deg);
}

.contact-item-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 2px;
}

.contact-item-value {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.5;
}

.contact-item-value a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item-value a:hover {
    color: var(--brand-red);
}

/* Office Sub-Block */
.office-block {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
    position: relative;
    transition: all 0.25s ease;
}

.office-block:hover {
    border-color: #fca5a5;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.08);
}

.office-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.office-badge-mumbai {
    background: linear-gradient(135deg, #ff2d16 0%, #075985 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.office-badge-delhi {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.office-city-indicator {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.office-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.office-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.office-detail-row .icon-box-soft {
    width: 38px;
    height: 38px;
    font-size: 17px;
    border-radius: 10px;
}

.office-detail-content {
    flex: 1;
}

.office-detail-content .lbl {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.4px;
    margin-bottom: 1px;
}

.office-detail-content .val {
    font-size: 13px;
    color: #1e293b;
    line-height: 1.5;
}

.office-detail-content .val a {
    color: #1e293b;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.office-detail-content .val a:hover {
    color: var(--brand-red);
}

/* Distribution Network Card & Badges */
.dist-network-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.dist-network-card::before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dist-network-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #ffffff;
}

.dist-network-title i {
    color: var(--brand-gold-light);
    font-size: 20px;
}

.dist-network-desc {
    font-size: 12.5px;
    color: #94a3b8;
    margin-bottom: 16px;
    line-height: 1.5;
}

.dist-cities-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.dist-city-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f1f5f9;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.dist-city-pill i {
    color: var(--brand-gold-light);
    font-size: 13px;
}

.dist-city-pill:hover {
    background: rgba(245, 158, 11, 0.22);
    border-color: var(--brand-gold-light);
    color: #ffffff;
    transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (MOBILE FIRST)
========================================================= */
@media (max-width: 1199.98px) {
    .search-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .search-grid .btn-search-main,
    .search-grid .btn-advance-search {
        grid-column: span 1;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .search-grid {
        grid-template-columns: 1fr;
    }

    .search-engine-card {
        margin-top: 15px;
        padding: 18px;
    }

    .brand-logo-img {
        height: 70px;
    }
    
    .navbar-collapse {
        background: #ffffff;
        padding: 16px;
        margin-top: 12px;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--border);
    }

    .navbar-nav .nav-link {
        padding: 10px 14px !important;
    }

    .nav-buttons-container {
        margin-top: 14px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-nav-proposal, .btn-nav-admin {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    /* Section vertical spacing */
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }

    /* Page banner header */
    .results-page-header {
        padding: 22px 0 18px;
    }
    .results-page-header h1,
    .results-page-header h2 {
        font-size: 1.35rem;
        line-height: 1.3;
    }
    .results-page-header p {
        font-size: 12.5px;
        line-height: 1.5;
    }

    /* Cards mobile padding */
    .welcome-card-modern,
    .card.p-4,
    .card.p-md-5 {
        padding: 18px 16px !important;
        border-radius: 12px !important;
    }

    /* Quote box mobile optimization */
    .welcome-quote-box {
        padding: 12px 14px !important;
        border-left-width: 3.5px !important;
        border-radius: 0 8px 8px 0 !important;
        margin-bottom: 16px !important;
    }

    .about-quote-lead {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    .about-quote-body,
    .about-section-text {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
    }
    .about-checklist-text {
        font-size: 12.5px !important;
    }

    .welcome-headline {
        font-size: 1.35rem;
        line-height: 1.3;
    }

    /* Touch inputs - 16px font-size to prevent iOS zoom */
    .form-control,
    .form-select,
    .search-input-wrapper input,
    .search-input-wrapper select {
        font-size: 16px !important;
        min-height: 44px;
    }

    /* Badges */
    .badge {
        white-space: normal;
        text-align: left;
    }

    /* Proposal & Contact Cards */
    .card-proposal-yellow,
    .card-contact-red {
        padding: 18px 16px;
        border-radius: 12px;
    }
    .card-proposal-yellow h3,
    .card-contact-red h3 {
        font-size: 1.15rem;
    }

    /* Company listing cards */
    .company-listing-card {
        padding: 16px 14px;
        border-radius: 10px;
    }
    .company-listing-title {
        font-size: 1.1rem;
    }
    .company-meta-row {
        gap: 8px 12px;
        font-size: 12.5px;
        margin: 8px 0 12px;
    }
}

@media (max-width: 575.98px) {
    /* Brand logo on mobile */
    .brand-logo-img {
        height: 60px;
    }

    /* Container fluid padding */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Hero section */
    .hero-banner-section {
        padding: 12px 0 16px;
    }
    .hero-graphic-img {
        min-height: 160px;
    }
    .hero-graphic-badge {
        top: 10px;
        right: 10px;
        padding: 4px 10px;
        font-size: 11px;
    }

    /* Search engine card on mobile */
    .search-engine-card {
        margin-top: 12px;
        padding: 12px;
        border-radius: 12px;
    }
    .search-header-strip {
        gap: 8px;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
    .search-type-toggle {
        width: 100%;
        justify-content: center;
        gap: 20px;
        padding: 6px 12px;
    }
    .btn-search-main {
        width: 100%;
        justify-content: center;
        height: 44px;
        font-size: 14px;
    }
    .btn-advance-search {
        width: 100%;
        justify-content: center;
        height: 42px;
        font-size: 13px;
    }

    /* Card padding on 320px-375px screens */
    .welcome-card-modern,
    .card.p-4,
    .card.p-md-5,
    .card-proposal-yellow,
    .card-contact-red {
        padding: 14px 12px !important;
    }

    /* Quote box */
    .welcome-quote-box {
        padding: 10px 12px !important;
        border-left-width: 3px !important;
        margin-bottom: 12px !important;
    }
    .about-quote-lead {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
    }
    .about-quote-body,
    .about-section-text {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    /* Advantage box */
    .about-advantage-box {
        padding: 12px !important;
    }

    /* Badges & Pills */
    .category-tag-chip {
        padding: 4px 10px;
        font-size: 11.5px;
    }
    .welcome-header-badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    /* Mobile Pagination */
    .pagination {
        gap: 3px;
    }
    .pagination .page-item .page-link {
        height: 34px;
        min-width: 32px;
        padding: 0 7px;
        font-size: 12px;
        border-radius: 6px !important;
    }
    .pagination .page-link.prev-next {
        padding: 0 8px;
        font-size: 11.5px;
    }

    /* Footer */
    .site-footer {
        padding: 24px 0 20px;
        text-align: center;
    }
    .site-footer .d-flex {
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 12px !important;
    }
}

/* =========================================================
   INDUSTRIES DIRECTORY — THEME COLOR OVERRIDES
========================================================= */
.text-danger {
    color: #ff2d16 !important;
}
.bg-danger {
    background: linear-gradient(135deg, #ff2d16 0%, #0369a1 100%) !important;
    color: #ffffff !important;
}
.border-danger {
    border-color: #ff2d16 !important;
}
.btn-danger {
    background: linear-gradient(135deg, #ff2d16 0%, #0369a1 100%) !important;
    border: 1px solid #0369a1 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
.btn-danger:hover, .btn-danger:focus {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    border-color: #075985 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45) !important;
}
.btn-outline-danger {
    color: #ff2d16 !important;
    border-color: #ff2d16 !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08) !important;
}
.btn-outline-danger:hover {
    background: linear-gradient(135deg, #ff2d16 0%, #0369a1 100%) !important;
    border-color: #0369a1 !important;
    color: #ffffff !important;
}
.welcome-header-badge {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border-color: #bae6fd !important;
}
.company-card-avatar {
    background: linear-gradient(135deg, #ff2d16 0%, #0369a1 100%) !important;
}
.badge-subtle-red {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border-color: #bae6fd !important;
}
.results-page-header {
    border-bottom: 4px solid #ff2d16 !important;
}
/* =========================================================
   PROPOSAL MODAL & B2B PACKAGE SELECTOR STYLES
   ========================================================= */
.proposal-pkg-card {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    user-select: none;
}
.proposal-pkg-card:hover {
    border-color: #f59e0b;
    background-color: #fffdf5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
}
.btn-check:checked + .proposal-pkg-card {
    border-color: #f59e0b !important;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
    box-shadow: 0 0 0 1.5px #f59e0b, 0 4px 14px rgba(245, 158, 11, 0.2) !important;
}
.proposal-input-group {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}
.proposal-input-group .input-group-text {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #64748b;
    font-size: 14px;
    padding-left: 12px;
    padding-right: 12px;
}
.proposal-input-group .form-control {
    border-color: #cbd5e1;
    font-size: 13.5px;
}
.proposal-input-group .form-control:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
    background-color: #fff;
}
.proposal-trust-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
}
