<?php
if (session_status() === PHP_SESSION_NONE) {
    session_start();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ICMR-NIRRCH - Summer Training Programme 2026</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="assets/img/logo.png" type="image/png">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css" rel="stylesheet">

<style>
body { padding-top: 120px; font-family: "Noto Sans", sans-serif; }

/* Header */
.branding { background-color: #1490d7; padding: 0.5rem 1rem; }
.branding .logo span { color: white; font-weight: bold; font-size: 1.2rem; }
.navmenu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.navmenu ul li a { color: white; text-decoration: none; }
.navmenu ul li a:hover { text-decoration: underline; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 150px; z-index: 1000; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a { color: #000; padding: 0.5rem 1rem; display: block; }
.mobile-nav-toggle { cursor: pointer; font-size: 1.5rem; }

/* Mobile Responsive */
@media (max-width: 1199px) {
  .navmenu ul { display: none; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
  .nav-active ul { display: flex !important; }
  .dropdown-menu { position: relative; top: 0; left: 0; box-shadow: none; width: 100%; }
}

/* Footer */
.footer { background-color: orange; color: white; padding: 0.5rem 0; font-size: 0.75rem; text-align: center; }
.footer a { color: white; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* Hero Section */
.hero { background-color: #f8f9fa; padding: 4rem 0; }
.hero h1 { font-weight: bold; margin-bottom: 0.5rem; }
.hero h4 { margin-bottom: 1rem; }

/* Programme Section */
.section { padding: 3rem 0; }
.section h2 { font-weight: bold; margin-bottom: 1rem; }
.section ul { list-style: disc; padding-left: 1.5rem; }
</style>
</head>
<body>

<!-- Header -->
<?php include 'header.php'; ?>

<main class="main">

<!-- Hero Section -->
<section id="hero" class="hero text-center">
  <div class="container">
    <h1>Summer Training Programme – 2026</h1>
    <h4>ICMR-National Institute for Research in Reproductive and Child Health</h4>
    <p>J.M. Street, Parel, Mumbai 400 012</p>
    
    <?php if (!isset($_SESSION['user'])): ?>
      <a href="login.php" class="btn btn-primary mt-3 me-2">Login</a>
      <a href="register.php" class="btn btn-outline-primary mt-3">Register</a>
    <?php else: ?>
      <a href="fill-application.php" class="btn btn-success mt-3">Fill Application</a>
    <?php endif; ?>
  </div>
</section>

<!-- Programme Details -->
<section class="section">
  <div class="container">
    <h2>Programme Details</h2>
    <p>Students pursuing M.Sc./M.Tech degree in Biological sciences (Biochemistry/Microbiology/Life Science/Biotechnology/Bioinformatics) who are interested in undertaking their dissertation work/short-term training for 2-3 months at ICMR-NIRRCH can apply online during 10th February to 10th March 2026.</p>
    
    <h5>Required Documents:</h5>
    <ul>
      <li>Scanned copy of Recommendation letter from Principal/Head of the Department of the college/university</li>
      <li>Scanned copy of 12th Marksheet or equivalent</li>
      <li>M.Sc./M.Tech previous semester Marksheet</li>
      <li>Recent Photograph</li>
    </ul>

    <h5>Important Notes:</h5>
    <ul>
      <li>Duration of training would be between April to July 2026.</li>
      <li>Preference would be given to Mumbai University candidates.</li>
      <li>No hostel accommodation would be provided to outstation candidates.</li>
      <li>Selection would be done by the internal screening committee, whose decision will be final.</li>
      <li>Selected candidates will have to pay fees of Rs. 5000/-.</li>
      <li>The work carried out at ICMR-NIRRCH and the data generated will belong to ICMR-NIRRCH and cannot be reproduced solely by the trainee student or their college department.</li>
      <li>Selected candidates will be intimated by email by 21st March 2026.</li>
      <li>Any queries may be addressed to <a href="mailto:pgstudies@nirrch.res.in">pgstudies@nirrch.res.in</a>.</li>
    </ul>
  </div>
</section>

</main>

<!-- Footer -->
<footer class="footer">
  <div class="container">
    <div>
      <strong>ICMR-National Institute for Research in Reproductive and Child Health</strong> | J.M. Street, Parel, Mumbai 400 012
    </div>
    <div class="mt-1">
      &copy; <?= date("Y") ?> ICMR-NIRRCH. All Rights Reserved.
    </div>
  </div>
</footer>

<!-- JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<script>
// Mobile nav toggle
const toggle = document.querySelector('.mobile-nav-toggle');
if(toggle){
  const nav = document.getElementById('navmenu');
  toggle.addEventListener('click', () => nav.classList.toggle('nav-active'));
}

// Mobile dropdown toggle
document.querySelectorAll('.navmenu .dropdown > a').forEach(drop => {
    drop.addEventListener('click', function(e) {
        if(window.innerWidth < 1200){
            e.preventDefault();
            const submenu = this.nextElementSibling;
            submenu.style.display = (submenu.style.display === 'block') ? 'none' : 'block';
        }
    });
});
</script>

</body>
</html>
