.card-link {
  color: #0e4983; /* Blue link color */
  text-decoration: none;
}

.card-link:visited,
.card-link:active,
.card-link:hover {
  color: #0e4983; /* Keep the link blue after visit/click */
  text-decoration: none;
}


/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  margin-top: 40px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Top Bar */
.top-bar {
  background-color: #0e4984;
  color: white;
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.top-bar a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  margin: 0 10px;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* Auth Links */
.top-auth-links {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 13px;
  z-index: 1000;
}

.top-auth-links a {
  margin-left: 12px;
  color: #0e4984;
  text-decoration: none;
}

.top-auth-links a:hover {
  text-decoration: underline;
}

/* Grey Banner */
.grey-banner {
  background-color: #d3d3d3;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #000;
  padding: 5px 0;
}

/* Navigation */
nav {
  margin-top: 500px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  padding: 6px 12px;
  background-color: #0e4984;
  color: white;
  text-decoration: none;
  font-size: 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

nav ul li a:hover {
  background-color: #0e4984;
  font-weight: bold;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  }

/* Dropdown Menus */

.dropdown-parent {
  display: block;
}

nav ul.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color:  #dbf1ff;
  border: 1px solid  #ffffff;
  border-radius: 4px;
  z-index: 1000;
}

.dropdown li a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  background-color: #dbf1ff;
  font-size: 13px;
}


.dropdown li a:hover {
  background-color: #dbf1ff;
}

.dropdown-parent:hover .dropdown {
  display: block;
}
/* Space the icons correctly */
.dropdown li a svg {
  margin-right: 8px;
  vertical-align: middle;
}

/* Ensure dropdown menus are visible and styled */
.dropdown-parent {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  min-width: 200px;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dropdown li {
  list-style: none;
}

.dropdown li a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown li a:hover {
  background-color: #0e4984;
  font-weight: bold;
  color: white;
  text-decoration: underline;
}

/* Show dropdown on hover */
.dropdown-parent:hover .dropdown {
  display: block;
}

/* Hero Section */
.hero {
  background: #ffffff url('https://via.placeholder.com/1500x400') no-repeat center center/cover;
  color: #fff;
  padding: 4em 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.btn {
  display: inline-block;
  background: #0e4984;
  color: #fff;
  padding: 0.75em 1.5em;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1em;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #dbf1ff;
  font-weight: bold;
}

/* Sections */
.services, .about, .cta {
  padding: 3em 0;
  background: #f4f4f4;
  text-align: center;
}

/* Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

.card {
  background: #fff;
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: #dbf1ff;
}

.card h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    font-size: 14px;
    padding: 15px;
  }

  .card h4 {
    font-size: 16px;
  }

  .card p {
    font-size: 13px;
  }
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  padding: 1.5em 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.footer ul {
  list-style: none;
  display: flex;
}

.footer ul li {
  margin-left: 1em;
}

.footer ul li a {
  color: #fff;
  text-decoration: none;
}

/* Miscellaneous */
.letter {
  display: inline-block;
  position: relative;
  opacity: 0;
  white-space: pre;
}

.cert-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.cert-logos img {
  height: 100px;
  width: 150px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: transform 0.3s ease;
  background-color: white;
  padding: 5px;
  border-radius: 4px;
}

.cert-logos img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* Icon Sizing */
nav i[data-lucide] svg {
  width: 16px;
  height: 16px;
}

/* Animated Headers */
.fixed-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

.fixed-subtitle {
  font-size: 1rem;
  font-weight: normal;
  text-align: center;
  width: 100%;
}
