<?php
$page_title = "Partner Universities — CY Consultancy Centre";
$page_desc = "50+ partner universities worldwide. University of Northampton, Aberdeen, Portsmouth and more.";
$active_page = "universities";
include 'includes/header.php';
$B = BASE_PATH;
// Load universities from DB
$db_universities = [];
$db = site_db();
if ($db) {
    $res = $db->query("SELECT u.*,d.country_name,d.flag_emoji FROM universities u LEFT JOIN destinations d ON u.destination_id=d.id WHERE u.status='active' ORDER BY u.sort_order,u.name");
    if ($res) $db_universities = $res->fetch_all(MYSQLI_ASSOC);
}
?>

<div class="page-hero" style="background-image:url('<?= $B ?>assets/images/bg-campus4.jpg');background-size:cover;background-position:center">
  <h1>Partner Universities</h1>
  <p>Direct partnerships with 50+ universities worldwide for faster admissions and exclusive student benefits.</p>
  <div class="breadcrumb"><a href="<?= $B ?>index.php">Home</a><i class="fas fa-chevron-right"></i><span>Universities</span></div>
</div>

<div class="marquee"><div class="marquee-track">
  <span class="marquee-item"><i class="fas fa-circle"></i>University of Northampton</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University of Gloucestershire</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University of Aberdeen</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University for Creative Arts</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University of Portsmouth</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University College Birmingham</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>MCAST Malta</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University of Malta</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>50+ Partner Universities</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University of Northampton</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University of Gloucestershire</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University of Aberdeen</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University for Creative Arts</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University of Portsmouth</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University College Birmingham</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>MCAST Malta</span>
  <span class="marquee-item"><i class="fas fa-circle"></i>University of Malta</span>
</div></div>

<!-- UK UNIVERSITIES — with actual logos from cyconsultancy.net -->
<section class="sec" style="background:var(--bgf)">
  <div class="sh" data-aos="fade-up"><span class="tag">🇬🇧 United Kingdom</span><h2>UK Partner Universities</h2><p>Direct partnerships with leading UK universities — faster admissions, exclusive support.</p></div>
  <div class="uni-logo-grid">
    <div class="uni-logo-card" data-aos="fade-right" data-aos-delay="0">
      <div class="uni-logo-img"><img src="https://upload.wikimedia.org/wikipedia/en/thumb/9/9a/University_of_Northampton_crest.svg/120px-University_of_Northampton_crest.svg.png" alt="University of Northampton" style="max-height:85px;max-width:175px;object-fit:contain" onerror="this.style.opacity='0.1'"></div>
      <div class="uni-logo-body"><h3>University of Northampton</h3><div class="country">🇬🇧 Northampton, UK</div></div>
      <a href="<?= $B ?>contact.php" class="uni-apply">Apply via CY Consultancy →</a>
    </div>
    <div class="uni-logo-card" data-aos="fade-left" data-aos-delay="80">
      <div class="uni-logo-img"><img src="https://upload.wikimedia.org/wikipedia/en/thumb/e/e5/University_of_Gloucestershire_logo.svg/180px-University_of_Gloucestershire_logo.svg.png" alt="University of Gloucestershire" style="max-height:85px;max-width:175px;object-fit:contain" onerror="this.style.opacity='0.1'"></div>
      <div class="uni-logo-body"><h3>University of Gloucestershire</h3><div class="country">🇬🇧 Cheltenham, UK</div></div>
      <a href="<?= $B ?>contact.php" class="uni-apply">Apply via CY Consultancy →</a>
    </div>
    <div class="uni-logo-card" data-aos="fade-right" data-aos-delay="160">
      <div class="uni-logo-img"><img src="https://upload.wikimedia.org/wikipedia/en/thumb/3/3c/University_of_Aberdeen.svg/200px-University_of_Aberdeen.svg.png" alt="University of Aberdeen" style="max-height:85px;max-width:175px;object-fit:contain" onerror="this.style.opacity='0.1'"></div>
      <div class="uni-logo-body"><h3>University of Aberdeen</h3><div class="country">🇬🇧 Aberdeen, Scotland</div></div>
      <a href="<?= $B ?>contact.php" class="uni-apply">Apply via CY Consultancy →</a>
    </div>
    <div class="uni-logo-card" data-aos="fade-left" data-aos-delay="240">
      <div class="uni-logo-img"><img src="https://upload.wikimedia.org/wikipedia/en/thumb/6/60/University_for_the_Creative_Arts_logo.svg/200px-University_for_the_Creative_Arts_logo.svg.png" alt="University for the Creative Arts" style="max-height:85px;max-width:175px;object-fit:contain" onerror="this.style.opacity='0.1'"></div>
      <div class="uni-logo-body"><h3>University for the Creative Arts</h3><div class="country">🇬🇧 Surrey, UK</div></div>
      <a href="<?= $B ?>contact.php" class="uni-apply">Apply via CY Consultancy →</a>
    </div>
    <div class="uni-logo-card" data-aos="fade-right" data-aos-delay="320">
      <div class="uni-logo-img"><img src="https://upload.wikimedia.org/wikipedia/en/thumb/a/a7/University_of_Portsmouth.svg/200px-University_of_Portsmouth.svg.png" alt="University of Portsmouth" style="max-height:85px;max-width:175px;object-fit:contain" onerror="this.style.opacity='0.1'"></div>
      <div class="uni-logo-body"><h3>University of Portsmouth</h3><div class="country">🇬🇧 Portsmouth, UK</div></div>
      <a href="<?= $B ?>contact.php" class="uni-apply">Apply via CY Consultancy →</a>
    </div>
    <div class="uni-logo-card" data-aos="fade-left" data-aos-delay="400">
      <div class="uni-logo-img"><img src="https://upload.wikimedia.org/wikipedia/en/thumb/3/3a/University_College_Birmingham_logo.svg/200px-University_College_Birmingham_logo.svg.png" alt="University College Birmingham" style="max-height:85px;max-width:175px;object-fit:contain" onerror="this.style.opacity='0.1'"></div>
      <div class="uni-logo-body"><h3>University College Birmingham</h3><div class="country">🇬🇧 Birmingham, UK</div></div>
      <a href="<?= $B ?>contact.php" class="uni-apply">Apply via CY Consultancy →</a>
    </div>
  </div>
</section>

<!-- MALTA & OTHER UNIVERSITIES -->
<section class="sec" style="background:#fff">
  <div class="sh" data-aos="fade-up"><span class="tag">🇲🇹 Malta & Europe</span><h2>Malta & European Universities</h2><p>EU-recognized qualifications, English-medium programs, Schengen access.</p></div>
  <div class="uni-logo-grid">
    <div class="uni-logo-card" data-aos="fade-right" data-aos-delay="480">
      <div class="uni-logo-img" style="background:linear-gradient(135deg,rgba(207,59,59,.1),rgba(255,255,255,.5))"><div style="text-align:center"><div style="font-size:36px">🎓</div><div style="font-size:10px;font-weight:800;color:#CF3B3B;margin-top:6px">MCAST</div></div></div>
      <div class="uni-logo-body"><h3>MCAST</h3><div class="country">🇲🇹 Malta, EU</div></div>
      <a href="<?= $B ?>contact.php" class="uni-apply">Apply via CY Consultancy →</a>
    </div>
    <div class="uni-logo-card" data-aos="fade-left" data-aos-delay="560">
      <div class="uni-logo-img"><div style="text-align:center"><div style="font-size:36px">🏛️</div><div style="font-size:10px;font-weight:800;color:var(--n);margin-top:6px">University of Malta</div></div></div>
      <div class="uni-logo-body"><h3>University of Malta</h3><div class="country">🇲🇹 Msida, Malta</div></div>
      <a href="<?= $B ?>contact.php" class="uni-apply">Apply via CY Consultancy →</a>
    </div>
    <div class="uni-logo-card" data-aos="fade-right" data-aos-delay="640">
      <div class="uni-logo-img"><div style="text-align:center"><div style="font-size:36px">🎓</div><div style="font-size:10px;font-weight:800;color:var(--t);margin-top:6px">AIS Malta</div></div></div>
      <div class="uni-logo-body"><h3>AIS Malta</h3><div class="country">🇲🇹 Malta, EU</div></div>
      <a href="<?= $B ?>contact.php" class="uni-apply">Apply via CY Consultancy →</a>
    </div>
    <div class="uni-logo-card" data-aos="fade-left" data-aos-delay="720">
      <div class="uni-logo-img"><div style="text-align:center"><div style="font-size:36px">🎓</div><div style="font-size:10px;font-weight:800;color:var(--n);margin-top:6px">European University Cyprus</div></div></div>
      <div class="uni-logo-body"><h3>European University Cyprus</h3><div class="country">🇨🇾 Nicosia, Cyprus</div></div>
      <a href="<?= $B ?>contact.php" class="uni-apply">Apply via CY Consultancy →</a>
    </div>
    <div class="uni-logo-card" data-aos="fade-right" data-aos-delay="800">
      <div class="uni-logo-img"><div style="text-align:center"><div style="font-size:36px">🎓</div><div style="font-size:10px;font-weight:800;color:var(--n);margin-top:6px">UCLan Cyprus</div></div></div>
      <div class="uni-logo-body"><h3>UCLan Cyprus</h3><div class="country">🇨🇾 Pyla, Cyprus</div></div>
      <a href="<?= $B ?>contact.php" class="uni-apply">Apply via CY Consultancy →</a>
    </div>
    <div class="uni-logo-card" data-aos="fade-left" data-aos-delay="880">
      <div class="uni-logo-img"><div style="text-align:center"><div style="font-size:36px">🎓</div><div style="font-size:10px;font-weight:800;color:var(--g);margin-top:6px">UTM Malaysia</div></div></div>
      <div class="uni-logo-body"><h3>Universiti Teknologi Malaysia</h3><div class="country">🇲🇾 Johor, Malaysia</div></div>
      <a href="<?= $B ?>contact.php" class="uni-apply">Apply via CY Consultancy →</a>
    </div>
  </div>
</section>

<div style="padding:60px 24px;text-align:center;background:linear-gradient(135deg,var(--r),var(--r2))">
  <h2 style="color:#fff;font-size:clamp(22px,2.8vw,32px);margin-bottom:10px">Want Direct Admission to Any University?</h2>
  <p style="color:rgba(255,255,255,.8);font-size:14px;margin-bottom:24px">We handle the entire application process — fast, accurate, and stress-free.</p>
  <a href="<?= $B ?>contact.php" class="btn btn-g"><i class="fas fa-graduation-cap"></i> Apply Today</a>
</div>

<?php include 'includes/footer.php'; ?>
