:root {
  --primary:#0a6ebd;
  --secondary:#0b7a75;
  --bg:#f4f8fb;
  --text:#2c3e50;
}

* { box-sizing: border-box; }

body {
  height: 100%;
  margin:0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid #ddd;
}

nav {
  max-width: 100%;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.menu-toggle { display:none; font-size:24px; cursor:pointer; }

nav ul {
  list-style:none;
  display:flex;
  align-items:center;
  gap: 30px; /* proper spacing between menu items */
  margin:0;
  padding:0;
}

nav ul li { margin-left:25px; }

nav ul li a {
  text-decoration:none;
  color: var(--text);
  font-weight:600;
}

nav ul li a:hover { color: var(--primary); }

/* Hero */
.hero {
  background: linear-gradient(to right, rgba(10,110,189,.9), rgba(11,122,117,.9)), url('https://via.placeholder.com/1400x500') center/cover;
  color:white;
  padding:80px 20px;
}

.hero-inner {
  max-width:1200px;
  margin:auto;
}

.hero h1 { font-size:38px; margin-bottom:10px; }
.hero p { font-size:18px; }

/* Sections */
section {
  max-width:1200px;
  margin:auto;
  padding:60px 20px;
}

section h2 {
  margin-bottom:30px;
  color: var(--primary);
}

/* Cards */
.cards {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap:25px;
}

.card {
  background:white;
  padding:25px;
  border-radius:10px;
  box-shadow:0 4px 15px rgba(0,0,0,0.08);
}

.card h3 { margin-top:0; color: var(--secondary); }

/* Registration */
.form-box {
  max-width:450px;
  background:white;
  padding:30px;
  border-radius:10px;
  box-shadow:0 4px 15px rgba(0,0,0,0.1);
}

.form-box input, .form-box button {
  width:100%;
  padding:12px;
  margin:12px 0;
  font-size:16px;
}

.form-box button {
  background: var(--primary);
  color:white;
  border:none;
  cursor:pointer;
}

/* Footer */
footer {
  background:#1f2d3d;
  color:white;
  text-align:center;
  padding:20px;
}

/* Mobile */
@media(max-width:768px){
  nav {
    flex-wrap: wrap;
  }

  nav ul {
    display:none;
    flex-direction:column;
    width:100%;
    background:white;
    margin-top:10px;
    border-top:1px solid #ddd;
  }

  nav ul.show {
    display:flex;
  }

  nav ul li {
    margin:0;
    border-bottom:1px solid #eee;
  }

  nav ul li a {
    display:block;
    padding:14px 20px;
    width:100%;
  }

  .menu-toggle {
    display:block;
  }

  .hero h1 { font-size:28px; }
}
  nav ul.show { display:block; }
  nav ul li { margin:12px 0; }
  .hero h1 { font-size:28px; }
}

.jk_container {
    max-width:100%;
    margin:auto;
    padding:40px 20px;
}

/* Mobile */
@media (max-width:768px) {
    .container {
        max-width:100%;
        padding:20px 15px;   /* smaller padding */
    }
    .dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
  }

  .dropdown.open > .dropdown-menu {
    display: block;
  }
}
/* Logo container */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;   /* adjust size */
  width: auto;
}

.logo-text {
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: none;
  border-radius: 6px;
}

.dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 15px;
  color: var(--text);
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background: #f4f8fb;
  color: var(--primary);
}

/* Show dropdown on hover (Desktop) */
.dropdown:hover .dropdown-menu {
  display: block;
}