<?php declare(strict_types=1);
/**
 * College2U — Top Pharmacy Colleges in Bangalore
 * public_html/pharmacy/top-pharmacy-colleges.php · v5.0.0 · May 2026
 *
 * SEO intent: "top pharmacy colleges in Bangalore 2026"
 * Schema: ItemList + FAQPage + BreadcrumbList
 */

require_once dirname(__DIR__) . '/includes/bootstrap.php';

$current_year = (int) date('Y');

// College data — ranked by NAAC, PCI standing, research output, placement
$colleges = [
    ['name' => 'JSS College of Pharmacy',                   'slug' => 'jss-college-of-pharmacy',                  'type' => 'Deemed',  'est' => 1980, 'naac' => 'A++', 'aff' => 'JSS University',  'pci' => 'Yes', 'fee' => '₹1.5 lakh/yr', 'seats' => 100],
    ['name' => 'Acharya & BM Reddy College of Pharmacy',    'slug' => 'acharya-bm-reddy-college-pharmacy',         'type' => 'Private', 'est' => 1980, 'naac' => 'A+',  'aff' => 'RGUHS',           'pci' => 'Yes', 'fee' => '₹75,000/yr',   'seats' => 100],
    ['name' => 'Ramaiah College of Pharmacy',                'slug' => 'ramaiah-college-of-pharmacy',               'type' => 'Private', 'est' => 1985, 'naac' => 'A',   'aff' => 'RGUHS',           'pci' => 'Yes', 'fee' => '₹90,000/yr',   'seats' => 100],
    ['name' => 'RNSIT College of Pharmacy',                  'slug' => 'rnsit-college-of-pharmacy',                 'type' => 'Private', 'est' => 2001, 'naac' => 'A',   'aff' => 'RGUHS',           'pci' => 'Yes', 'fee' => '₹65,000/yr',   'seats' => 60],
    ['name' => 'Oxford College of Pharmacy',                 'slug' => 'oxford-college-of-pharmacy',                'type' => 'Private', 'est' => 1987, 'naac' => 'B++', 'aff' => 'RGUHS',           'pci' => 'Yes', 'fee' => '₹70,000/yr',   'seats' => 60],
    ['name' => 'Dayananda Sagar College of Pharmacy',        'slug' => 'dayananda-sagar-college-pharmacy',          'type' => 'Private', 'est' => 1980, 'naac' => 'A',   'aff' => 'RGUHS',           'pci' => 'Yes', 'fee' => '₹80,000/yr',   'seats' => 100],
    ['name' => 'Krupanidhi College of Pharmacy',             'slug' => 'krupanidhi-college-pharmacy',               'type' => 'Private', 'est' => 2001, 'naac' => 'B++', 'aff' => 'RGUHS',           'pci' => 'Yes', 'fee' => '₹75,000/yr',   'seats' => 60],
    ['name' => 'Sri Adichunchanagiri College of Pharmacy',   'slug' => 'adichunchanagiri-college-pharmacy-blr',     'type' => 'Deemed',  'est' => 1988, 'naac' => 'A',   'aff' => 'ACU',             'pci' => 'Yes', 'fee' => '₹1.0 lakh/yr', 'seats' => 100],
    ['name' => 'East West College of Pharmacy',              'slug' => 'east-west-college-pharmacy',                'type' => 'Private', 'est' => 1996, 'naac' => 'B+',  'aff' => 'RGUHS',           'pci' => 'Yes', 'fee' => '₹60,000/yr',   'seats' => 60],
    ['name' => 'Vels Institute of Science Tech & Adv Studies','slug' => 'vels-institute-pharmacy-bangalore',         'type' => 'Private', 'est' => 2002, 'naac' => 'B+',  'aff' => 'RGUHS',           'pci' => 'Yes', 'fee' => '₹80,000/yr',   'seats' => 60],
];

$faqs = [
    ['q' => 'Which is the best pharmacy college in Bangalore ' . $current_year . '?',
     'a' => 'JSS College of Pharmacy holds the top position among pharmacy colleges in Bangalore for ' . $current_year . ' with NAAC A++ accreditation and strong research output under JSS University. Acharya & BM Reddy College of Pharmacy (NAAC A+) and Ramaiah College of Pharmacy (NAAC A) are the leading RGUHS-affiliated private colleges for B.Pharm and M.Pharm programs.'],
    ['q' => 'Are all pharmacy colleges in Bangalore approved by PCI?',
     'a' => 'All legitimate pharmacy degree colleges in Bangalore must be approved by the Pharmacy Council of India (PCI) to award B.Pharm, M.Pharm, Pharm.D, or D.Pharm degrees. Students should verify PCI approval on the official PCI website before applying. All 10 colleges listed here are PCI-approved as of ' . $current_year . '.'],
    ['q' => 'What is the KCET cutoff for pharmacy colleges in Bangalore?',
     'a' => 'KCET cutoffs for B.Pharm in Bangalore range from approximately 8,000 for top colleges like Acharya & BM Reddy to 20,000+ for lower-ranked institutions (General category, previous year). Deemed universities like JSS College of Pharmacy do not participate in KCET and conduct direct admissions. Management-quota seats are available without a KCET rank.'],
    ['q' => 'What is RGUHS and why does it matter for pharmacy?',
     'a' => 'RGUHS (Rajiv Gandhi University of Health Sciences) is the statutory university affiliating pharmacy, medical, nursing, and allied health colleges in Karnataka. An RGUHS B.Pharm degree is recognised by PCI and enables graduates to register as pharmacists across India. Deemed universities like JSS grant independent degrees but are regulated by UGC and PCI.'],
    ['q' => 'Which pharmacy college in Bangalore has the best placements?',
     'a' => 'JSS College of Pharmacy, Ramaiah College of Pharmacy, and Acharya & BM Reddy consistently report the strongest placement records in Bangalore. Top recruiters include Cipla, Biocon, Dr. Reddy\'s, Abbott, Sun Pharma, Pfizer, and clinical research organisations (CROs) like Quintiles (IQVIA) and Covance. Average starting CTC is ₹3–5 LPA with top packages reaching ₹8–10 LPA in R&D or regulatory roles.'],
];

// ── SEO ──────────────────────────────────────────────────────────────────────
$page_title       = 'Top Pharmacy Colleges Bangalore ' . $current_year . ' — PCI Approved, NAAC &amp; Fees | College2U';
$meta_description = 'Ranked list of top pharmacy colleges in Bangalore ' . $current_year . ': PCI-approved, RGUHS-affiliated, with KCET cutoffs, annual fees, and NAAC grades. Free shortlist.';
$canonical_path   = 'pharmacy/top-pharmacy-colleges';
$page_canonical   = c2u_canonical($canonical_path); // FIX-C1: wire orphaned canonical_path into authoritative self-referencing canonical
$body_class       = 'c2u-page c2u-page--college-list c2u-page--pharmacy-list';
$og_image         = c2u_asset('images/og/top-pharmacy-colleges-og.webp');

$breadcrumbs = [
    ['name' => 'Pharmacy', 'url' => c2u_url('pharmacy')],
    ['name' => 'Top Pharmacy Colleges ' . $current_year, 'url' => c2u_url('pharmacy/top-pharmacy-colleges')],
];

$item_list_schema = [
    '@context'        => 'https://schema.org',
    '@type'           => 'ItemList',
    'name'            => 'Top Pharmacy Colleges in Bangalore ' . $current_year,
    'numberOfItems'   => count($colleges),
    'itemListElement' => array_map(fn($c, $i) => [
        '@type'    => 'ListItem',
        'position' => $i + 1,
        'name'     => $c['name'],
        'url'      => c2u_url('college/' . $c['slug']),
    ], $colleges, array_keys($colleges)),
];

$faq_schema = [
    '@context'   => 'https://schema.org',
    '@type'      => 'FAQPage',
    'mainEntity' => array_map(fn($f) => [
        '@type'          => 'Question',
        'name'           => $f['q'],
        'acceptedAnswer' => ['@type' => 'Answer', 'text' => $f['a']],
    ], $faqs),
];

$breadcrumb_schema = c2u_schema_breadcrumb($breadcrumbs);

$page_schemas = [
    json_encode($breadcrumb_schema, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE),
    json_encode($item_list_schema,  JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE),
    json_encode($faq_schema,        JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE),
];

// ── Extra CSS ─────────────────────────────────────────────────────────────────
$extra_head = '<style nonce="' . c2u_e(C2U_CSP_NONCE) . '">' . <<<HTML
:root{
  --acc:#a855f7;--acc-dk:#7e22ce;--acc-lt:#faf5ff;--acc-mid:#e9d5ff;
  --hero-from:#0f0518;--hero-to:#1e0a38;
}
.hero-phlist{background:linear-gradient(135deg,var(--hero-from),var(--hero-to));color:#fff;padding:56px 0 48px;text-align:center}
.hero-phlist h1{font-size:clamp(1.65rem,4vw,2.6rem);font-weight:800;line-height:1.2;margin:0 0 14px}
.hero-phlist p{font-size:1.05rem;opacity:.88;max-width:640px;margin:0 auto 28px}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:6px 16px;font-size:.82rem;margin:0 4px 8px}
.filter-bar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 28px;padding:20px 0 0}
.filter-btn{padding:7px 18px;border-radius:999px;border:1.5px solid #d1d5db;background:#fff;font-size:.85rem;cursor:pointer;transition:all .18s}
.filter-btn.active,.filter-btn:hover{background:var(--acc);border-color:var(--acc);color:#fff}
.college-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,.07)}
table.college-tbl{width:100%;border-collapse:collapse;font-size:.88rem;table-layout:fixed}
table.college-tbl th{background:var(--acc);color:#fff;padding:12px 14px;text-align:left;white-space:nowrap}
table.college-tbl th:nth-child(1){width:35%}
table.college-tbl th:nth-child(2),th:nth-child(3){width:10%}
table.college-tbl th:nth-child(4),th:nth-child(5){width:12%}
table.college-tbl th:nth-child(6){width:14%}
table.college-tbl th:nth-child(7){width:7%}
table.college-tbl td{padding:11px 14px;border-bottom:1px solid #e5e7eb;vertical-align:top}
table.college-tbl tr:last-child td{border-bottom:none}
table.college-tbl tr:hover td{background:var(--acc-lt)}
.rank-badge{display:inline-block;width:26px;height:26px;border-radius:50%;background:var(--acc);color:#fff;font-weight:700;font-size:.78rem;text-align:center;line-height:26px}
.naac-chip{display:inline-block;padding:2px 10px;border-radius:999px;font-size:.78rem;font-weight:600;background:var(--acc-lt);color:var(--acc-dk)}
.type-chip{display:inline-block;padding:2px 10px;border-radius:999px;font-size:.78rem;background:#f3f4f6;color:#374151}
.pci-badge{font-size:.78rem;color:var(--acc-dk);font-weight:600}
.pci-badge::before{content:"✓ "}
.cta-card{background:linear-gradient(135deg,var(--acc),var(--acc-dk));border-radius:16px;padding:40px 32px;color:#fff;text-align:center;margin:48px 0}
.cta-card h2{font-size:1.5rem;margin:0 0 10px}
.cta-card p{opacity:.9;margin:0 0 24px}
.btn-cta-white{display:inline-block;background:#fff;color:var(--acc-dk);font-weight:700;padding:13px 32px;border-radius:8px;text-decoration:none;transition:transform .15s}
.btn-cta-white:hover{transform:translateY(-2px)}
.faq-item{border:1px solid #e5e7eb;border-radius:10px;margin-bottom:10px;overflow:hidden}
.faq-q{width:100%;background:#fff;border:none;text-align:left;padding:16px 20px;font-size:.95rem;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq-q .icon{flex-shrink:0;width:20px;height:20px;border-radius:50%;background:var(--acc-lt);color:var(--acc-dk);display:grid;place-items:center;font-size:.9rem;transition:transform .2s}
.faq-q[aria-expanded="true"] .icon{transform:rotate(45deg);background:var(--acc);color:#fff}
.faq-a{display:none;padding:0 20px 16px;font-size:.92rem;line-height:1.65;color:#374151}
.faq-a.open{display:block}
.two-col{display:grid;grid-template-columns:1fr 300px;gap:28px;align-items:start}
.sidebar-card{background:#fff;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,.07);padding:22px;margin-bottom:20px}
.sidebar-card h3{font-size:.95rem;font-weight:700;margin:0 0 14px;color:var(--acc-dk)}
.sidebar-link{display:block;padding:8px 0;font-size:.88rem;color:#2563eb;text-decoration:none;border-bottom:1px solid #f3f4f6}
.sidebar-link:last-child{border-bottom:none}
.sidebar-link:hover{color:var(--acc-dk)}
.fee-note{font-size:.78rem;color:#6b7280;margin-top:8px}
@media(max-width:768px){
  table.college-tbl th:nth-child(4),table.college-tbl td:nth-child(4),
  table.college-tbl th:nth-child(6),table.college-tbl td:nth-child(6){display:none}
  .two-col{display:block}
}
</style>
HTML;



require_once C2U_INCLUDES . '/header.php';
?>

<section class="hero-phlist">
  <div class="container">
    <nav aria-label="Breadcrumb" class="breadcrumb-nav c2u-style-30ddac60">
      <a href="<?= c2u_url() ?>">Home</a>
      <span aria-hidden="true">›</span>
      <a href="<?= c2u_url('pharmacy') ?>">Pharmacy</a>
      <span aria-hidden="true">›</span>
      <span aria-current="page">Top Pharmacy Colleges <?= $current_year ?></span>
    </nav>
    <h1 data-aeo-speakable>Top Pharmacy Colleges in Bangalore <?= $current_year ?></h1>
    <p>Ranked by <abbr title="National Assessment and Accreditation Council">NAAC</abbr> grade, <abbr title="Pharmacy Council of India">PCI</abbr> approval, research output, and industry placement</p>
    <div>
      <span class="hero-badge">🔬 10 PCI-Approved Colleges</span>
      <span class="hero-badge">🎓 NAAC A++ to B+ Range</span>
      <span class="hero-badge">💊 Fees from ₹60K/yr</span>
    </div>
  </div>
</section>

<div class="container c2u-style-40f3e1e8">
  <div class="two-col">
    <main>

      <div class="filter-bar" role="group" aria-label="Filter by college type">
        <button class="filter-btn active" data-filter="all">All</button>
        <button class="filter-btn" data-filter="private">Private</button>
        <button class="filter-btn" data-filter="deemed">Deemed University</button>
      </div>

      <div class="college-table-wrap" data-animate="stagger">
        <table class="college-tbl" aria-label="Top pharmacy colleges Bangalore <?= $current_year ?>">
          <thead>
            <tr>
              <th scope="col">#  College</th>
              <th scope="col">Est.</th>
              <th scope="col">Type</th>
              <th scope="col"><abbr title="National Assessment and Accreditation Council">NAAC</abbr></th>
              <th scope="col"><abbr title="Pharmacy Council of India">PCI</abbr></th>
              <th scope="col">Annual Fee</th>
              <th scope="col">Seats</th>
            </tr>
          </thead>
          <tbody>
            <?php foreach ($colleges as $i => $c): ?>
            <tr class="college-row" data-type="<?= strtolower($c['type']) ?>">
              <td>
                <span class="rank-badge"><?= $i + 1 ?></span>
                <a href="<?= c2u_url('college/' . $c['slug']) ?>" data-c2u-style="e7461aae2ad3a813">
                  <?= c2u_e($c['name']) ?>
                </a>
              </td>
              <td><?= $c['est'] ?></td>
              <td><span class="type-chip"><?= c2u_e($c['type']) ?></span></td>
              <td><span class="naac-chip"><?= c2u_e($c['naac']) ?></span></td>
              <td><span class="pci-badge">Approved</span></td>
              <td><?= c2u_e($c['fee']) ?></td>
              <td><?= $c['seats'] ?></td>
            </tr>
            <?php endforeach; ?>
          </tbody>
        </table>
      </div>
      <p class="fee-note">* Fees shown are indicative annual figures for KCET/RGUHS-regulated seats. Management-quota fees vary. Source: RGUHS fee fixation / college prospectus <?= $current_year ?>.</p>

      <div class="cta-card">
        <h2>Get Your Pharmacy College Shortlist Free</h2>
        <p>Our counsellors match you to <abbr title="Pharmacy Council of India">PCI</abbr>-approved colleges based on your KCET rank, budget, and specialisation preference.</p>
        <a href="<?= c2u_url('pharmacy/bpharm-admission#lead-form') ?>" class="btn-cta-white">Apply for Free Counselling →</a>
      </div>

      <!-- FAQ -->
      <section class="c2u-section" aria-labelledby="faq-phl-heading">
        <h2 id="faq-phl-heading" class="c2u-section-heading" data-aeo-speakable>FAQ — Pharmacy Colleges in Bangalore</h2>
        <div class="faq-list" role="list">
          <?php foreach ($faqs as $i => $faq): ?>
          <div class="faq-item" role="listitem">
            <button class="faq-q" aria-expanded="false" aria-controls="faq-phl-<?= $i ?>">
              <?= c2u_e($faq['q']) ?>
              <span class="icon" aria-hidden="true">+</span>
            </button>
            <div class="faq-a" id="faq-phl-<?= $i ?>" data-aeo-speakable>
              <?= c2u_e($faq['a']) ?>
            </div>
          </div>
          <?php endforeach; ?>
        </div>
      </section>

    </main>

    <aside>
      <div class="sidebar-card">
        <h3>Pharmacy Guides</h3>
        <a href="<?= c2u_url('pharmacy') ?>" class="sidebar-link">← Pharmacy Overview</a>
        <a href="<?= c2u_url('pharmacy/bpharm-admission') ?>" class="sidebar-link">B.Pharm Admission <?= $current_year ?></a>
        <a href="<?= c2u_url('pharmacy/top-pharmacy-colleges') ?>" class="sidebar-link" aria-current="page">Top Pharmacy Colleges</a>
      </div>
      <div class="sidebar-card">
        <h3>Quick Facts</h3>
        <p class="c2u-style-c651753e">
          <strong>Regulator:</strong> <abbr title="Pharmacy Council of India">PCI</abbr><br>
          <strong>University:</strong> <abbr title="Rajiv Gandhi University of Health Sciences">RGUHS</abbr> / Deemed<br>
          <strong>Entrance:</strong> KCET / COMEDK<br>
          <strong>Duration:</strong> 4 yrs (B.Pharm)<br>
          <strong>Eligibility:</strong> PCB/PCM 45%, 10+2
        </p>
      </div>
      <div class="sidebar-card">
        <h3>Other Streams</h3>
        <a href="<?= c2u_url('medical/top-mbbs-colleges') ?>" class="sidebar-link">Top MBBS Colleges</a>
        <a href="<?= c2u_url('nursing/top-nursing-colleges') ?>" class="sidebar-link">Top Nursing Colleges</a>
        <a href="<?= c2u_url('management/top-management-colleges') ?>" class="sidebar-link">Top Management Colleges</a>
        <a href="<?= c2u_url('engineering/top-engineering-colleges') ?>" class="sidebar-link">Top Engineering Colleges</a>
      </div>
    </aside>
  </div>
</div>

<?php require_once C2U_INCLUDES . '/footer.php'; ?>
