body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1C1C1C;
    background-color: #FFFFFF;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
header {
    background: #0E1A2B;
    color: #FFFFFF;
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 75px;
    width: auto;
}

/* Main Menu */

.menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
}

.menu a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.menu a:hover {
    opacity: 0.75;
}

/* Dropdown */

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 260px;
    padding: 15px 20px;
    list-style: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    z-index: 9999;
}

.dropdown-menu li {
    margin-bottom: 8px;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu a {
    color: #1C1C1C;
    font-size: 14px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

header {
    position: relative;
    z-index: 1000;
}

header {
    background: #0E1A2B;
    color: #FFFFFF;
    padding: 15px 0;
    overflow: visible;
}

.menu li {
    position: relative;
}

/* Dropdown */

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    padding: 15px 20px;
    list-style: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    min-width: 260px;
}

.dropdown-menu li {
    margin-bottom: 8px;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu a {
    color: #1C1C1C;
    font-size: 14px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}.menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
}

/* DROPDOWN MENU */

.menu li {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 260px;
    padding: 15px 20px;
    list-style: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    z-index: 9999;
}

.dropdown-menu li {
    margin-bottom: 8px;
}

.dropdown-menu a {
    color: #1C1C1C;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.logo {
    font-weight: 600;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.dropdown-menu a {
    color: #000000;
    display: block;
    padding: 6px 0;
}
.hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero {
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-home {
    background: linear-gradient(rgba(14,26,43,0.6), rgba(14,26,43,0.6)),
                url('/images/hero-bg.jpg') center/cover no-repeat;
}
.hero-radiology {
    background: linear-gradient(rgba(14,26,43,0.6), rgba(14,26,43,0.6)),
                url('/images/radiology-hero.jpg') center/cover no-repeat;
}

.hero-ivd {
    background: linear-gradient(rgba(14,26,43,0.6), rgba(14,26,43,0.6)),
                url('/images/ivd-hero.jpg') center/cover no-repeat;
}

.hero-electro {
    background: linear-gradient(rgba(14,26,43,0.6), rgba(14,26,43,0.6)),
                url('/images/electro-hero.jpg') center/cover no-repeat;
}

.hero-dental {
    background: linear-gradient(rgba(14,26,43,0.6), rgba(14,26,43,0.6)),
                url('/images/dental-hero.jpg') center/cover no-repeat;
}

.hero-analytical {
    background: linear-gradient(rgba(14,26,43,0.6), rgba(14,26,43,0.6)),
                url('/images/analytical-hero.jpg') center/cover no-repeat;
}

.hero-chemicals {
    background: linear-gradient(rgba(14,26,43,0.6), rgba(14,26,43,0.6)),
                url('/images/chemicals-hero.jpg') center/cover no-repeat;
}

.hero-automation {
    background: linear-gradient(rgba(14,26,43,0.6), rgba(14,26,43,0.6)),
                url('/images/automation-hero.jpg') center/cover no-repeat;
}

.hero-electromech {
    background: linear-gradient(rgba(14,26,43,0.6), rgba(14,26,43,0.6)),
                url('/images/electromech-hero.jpg') center/cover no-repeat;
}

.hero-training {
    background: linear-gradient(rgba(14,26,43,0.65), rgba(14,26,43,0.65)),
                url('/images/professional-certificate-competence-hero.jpg') center/cover no-repeat;
}

.industrial-hero{
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
  url("images/industrial-automation-hero.jpg");
  background-size: cover;
  background-position: center;
  height: 80vh;
  display:flex;
  align-items:center;
  color:white;
}

.medical-hero{
  height: 80vh;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("images/medical-laboratory-diagnostics-hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
}

.hero-content{
  max-width:600px;
  margin-left:8%;
}

.hero-content{
  max-width:600px;
  margin-left:8%;
}

.hero h1 {
    font-size: 38px;
    font-weight: 600;
    max-width: 900px;
    margin: 0 auto 20px;
}

.hero p {
    font-size: 18px;
    max-width: 750px;
    margin: 0 auto;
    opacity: 0.9;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 0px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Engineering Programs Grid */

.programs {
padding: 20px 0;
}

.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 28px;
}

.card {
background: #ffffff;
padding: 20px 20px;
border-radius: 6px;
box-shadow: 0 8px 22px rgba(0,0,0,0.08);
position: relative;
transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Accent bar */

.card::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: #0A6EBB;
}

/* Hover effect */

.card:hover {
transform: translateY(-6px);
box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.card h3 {
font-size: 18px;
margin-bottom: 10px;
color: #1C1C1C;
}

.card p {
font-size: 14px;
line-height: 1.6;
color: #444;
}

.support ul {
    list-style: none;
    padding: 0;
}

.support li {
    margin: 10px 0;
}

footer {
    background: #0E1A2B;
    color: #FFFFFF;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

footer p {
    margin: 6px 0;
}

.logo img {
    height: 45px !important;
    width: auto !important;
    display: block;
}

img {
    max-width: 100%;
    height: auto;
}

.logo img {
    height: 70px;
    width: auto;
}

/* Section Titles */

section h1,
section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Section Text */

section p {
    line-height: 1.7;
    max-width: 900px;
}

/* Section Spacing */

section {
    padding: 20px 0;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #E6E9EE;
    transition: all 0.25s ease;
}

.card h3 {
    margin-top: 0;
    font-size: 18px;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

header {
    position: relative;
    z-index: 1000;
}

.dropdown-menu {
    z-index: 2000;
}

/* Ensure dropdown menu stays above hero section */
header {
    position: relative;
    z-index: 10000;
}

.dropdown-menu {
    position: absolute;
    z-index: 11000;
}

/* Fix dropdown menu interaction */
.dropdown-menu {
    position: absolute;
    z-index: 99999;
    pointer-events: auto;
}

.hero {
    position: relative;
    z-index: 1;
}

header {
    position: relative;
    z-index: 1000;
}

header {
    position: relative;
    z-index: 10000;
}

nav {
    position: relative;
    z-index: 10001;
}

.menu li {
    position: relative;
    z-index: 10002;
}

.dropdown-menu {
    position: absolute;
    z-index: 10003;
}

/* Prevent hero section from blocking menu */
.hero {
    position: relative;
    z-index: 1;
}

.hero-training {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                url("../images/engineering-training.jpg");
    background-size: cover;
    background-position: center;
}

/* --- Navigation click protection fix --- */

header {
    position: relative;
    z-index: 100000;
}

nav {
    position: relative;
    z-index: 100001;
}

.menu {
    position: relative;
    z-index: 100002;
}

.dropdown-menu {
    position: absolute;
    z-index: 100003;
}

/* Prevent sections from blocking navigation */
.hero,
section {
    position: relative;
    z-index: 1;
}

/* Engineering Programs Grid */

.programs {
padding: 20px 0;
}

.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 25px;
}

.card {
background: #ffffff;
padding: 25px;
border-radius: 6px;
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
transition: transform 0.2s ease;
}

.card:hover {
transform: translateY(-5px);
}

.card h3 {
font-size: 18px;
margin-bottom: 10px;
color: #1C1C1C;
}

.card p {
font-size: 14px;
line-height: 1.6;
color: #444;
}

/* Technical Support Hero */

.hero-support {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                url("../images/technical-support-hero.jpg");
    background-size: cover;
    background-position: center;
}

/* Contact Page Hero */

.hero-contact {
   background: url("../images/contact-hero.jpg");
   height: 300px;
}
/* Homepage Divisions Overview */

.divisions-overview {
padding: 30px 0;
background: #f7f9fc;
text-align: center;
}

.division-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 25px;
margin-top: 30px;
}

.division-card {
background: #ffffff;
padding: 20px;
border-radius: 6px;
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
text-decoration: none;
color: inherit;
transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.division-card:hover {
transform: translateY(-6px);
box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.division-card h3 {
font-size: 18px;
margin-bottom: 10px;
}

.division-card p {
font-size: 14px;
color: #555;
}

.hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

section:first-of-type {
    padding-top: 10px;
}

/* Radiology hero spacing adjustment */

.hero-radiology {
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-radiology + section {
    padding-top: 10px;
}

.hero-radiology img {
    margin-bottom: 0;
}

.service-link {
    display: inline-block;
    margin-top: 10px;
    color: #0A6EBB;
    font-weight: 500;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}

.hero-training {
    background: linear-gradient(rgba(14,26,43,0.65), rgba(14,26,43,0.65)),
                url('/images/professional-certificate-competence-hero.jpg') center/cover no-repeat;
}

.hero {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}
.hero {
    margin-top: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* prevents clipping */
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* keeps full image visible */
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* prevents clipping */
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* prevents clipping */
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero {
    position: relative;
    width: 100%;
    height: auto;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.home-hero,
.radiology-hero,
.certificate-hero {
    height: 80vh;
}

header img {
    height: 85px !important;  /* makes logo bigger */
    width: auto;
}

#nav-placeholder img {
    height: 80px !important;
    width: auto;
}

header {
    background: rgba(44, 62, 80, 0.85);
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#site-logo {
    height: 75px;
    width: auto;
}

@media (max-width: 768px) {
    #site-logo { height: 50px; }
    header { flex-direction: column; align-items: flex-start; }
}

/* Header styling */
header {
    background: rgba(44, 62, 80, 0.85);
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo size */
#site-logo {
    height: 75px;
    width: auto;
}

/* Responsive mobile adjustments */
@media (max-width: 768px) {
    #site-logo { height: 50px; }
    header { flex-direction: column; align-items: flex-start; }
}

/* Header background */
header {
  background: rgba(44, 62, 80, 0.85);
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo size */
#site-logo {
  height: 75px;
  width: auto;
}

/* Navigation menu styling */
header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

/* Responsive mobile adjustments */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  #site-logo {
    height: 50px;
  }
  header nav ul {
    flex-direction: column;
    gap: 10px;
  }
}

header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px;
}

.site-logo {
    height: 60px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu li a {
    text-decoration: none;
    font-weight: 600;
    color: #333;
}

.menu li a:hover {
    color: #0077cc;
}

header nav ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 25px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

header nav ul li {
    display: inline-block !important;
}

header nav ul li a {
    text-decoration: none;
    font-weight: 600;
    color: #222;
}

header {
    overflow: visible;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    padding: 15px 20px;
    list-style: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    min-width: 260px;
    z-index: 9999;
}

.menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.menu li {
    white-space: nowrap;
}

.menu {
    display: flex;
    align-items: center;
}

.menu li {
    white-space: nowrap;
}

/* ===== HEADER LAYOUT FIX ===== */

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 120px !important;
    width: auto !important;
}
.menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
}

.menu li a {
    display: block;
    padding: 8px 0;
}

/* ===== DROPDOWN FIX ===== */

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 260px;
    padding: 15px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    z-index: 9999;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

header {
    overflow: visible;
}

header {
    height: auto !important;
    min-height: 100px !important;
    overflow: visible !important;
}

.nav-container {
    height: auto !important;
    align-items: center;
}

.menu {
    align-items: center;
}

/* NAVIGATION LAYOUT */

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.menu li {
    white-space: nowrap;
}

/* FIX DROPDOWN VERTICAL LIST */

.dropdown-menu {
    display: none;
    flex-direction: column;
}

.dropdown-menu li {
    display: block;
}

/* FORCE DROPDOWN TO STACK VERTICALLY */

.dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #ffffff !important;
    min-width: 260px !important;
    padding: 15px 20px !important;
    list-style: none !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
    z-index: 9999 !important;
    flex-direction: column !important;
}

.dropdown-menu li {
    display: block !important;
}

.dropdown:hover .dropdown-menu {
    display: block !important;
}

.catalogue-download a {
    font-weight: 600;
    color: #0E1A2B;
    border-top: 1px solid #e3e6ea;
    margin-top: 10px;
    padding-top: 10px;
}

.registration-card{
border-top:4px solid #0073e6;
}

.contact-section form{
   max-width: 600px;
   margin: 0 auto;
   display: flex;
   flex-direction: column;
   gap: 15px;
}

.contact-section input,
.contact-section select,
.contact-section textarea{
   padding: 10px;
   width: 100%;
   border: 1px solid #ccc;
   border-radius: 4px;
}

.contact-section button{
   padding: 12px;
   background-color: #0073e6;
   color: white;
   border: none;
   border-radius: 4px;
   cursor: pointer;
}

.contact-section button:hover{
   background-color: #005bb5;
}

.hero {
    height: 530px;
    background-size: cover;
    background-position: center;
}

.equipment-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.equipment-card {
    border: 1px solid #ccc;
    padding: 15px;
    width: 250px;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: center;
}

.equipment-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

Change / add this:

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;   /* adds space left and right */
}

.logo img {
    height: 60px;
    margin-right: 20px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 25px;   /* space between menu items */
}

/* Header Layout */
header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;   /* controls left-right spacing */
    height: 80px;
}

/* Logo */
.logo img {
    height: 60px;
}

/* Menu */
.menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.menu li a {
    text-decoration: none;
    color: #0e1a2b;
    font-weight: 600;
}

.hero-ivd {
    background: linear-gradient(rgba(14,26,43,0.6), rgba(14,26,43,0.6)),
                url('/images/in-vitro-diagnostics-hero.jpg') center/cover no-repeat;
}

.hero-training {
    background: linear-gradient(rgba(14,26,43,0.6), rgba(14,26,43,0.6)),
                url('/images/training-hero.jpg') center/cover no-repeat;
