:root {
  --nav-font-family: 'Poppins', sans-serif;
  --nav-text-color: #082443;
  --nav-hover-color: #e99a26;
  --nav-bg: #ffffff;
  --nav-shadow: rgba(0, 0, 0, 0.08);
  --logo-color: #d46114;
}

/* Navbar */
header nav {
  font-family: var(--nav-font-family);
  background: var(--nav-bg);
  border-radius: 10px;
  box-shadow: 0 4px 20px var(--nav-shadow);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: auto;
  margin-right: 1.5rem;
  max-width: 100%;
}

.logo span {
  color: var(--logo-color);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.logo:hover span {
  color: var(--nav-hover-color);
}

#nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--nav-text-color);
  cursor: pointer;
}

/* Nav links */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: var(--nav-text-color);
  font-size: 1rem;        /* Use rem for consistency */
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s, font-size 0.3s;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--nav-hover-color);
  left: 50%;
  bottom: -3px;
  transition: width 0.3s ease, left 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
  left: 0;
}

nav ul li a:hover {
  color: var(--nav-hover-color);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  nav ul li a {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  header nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem;
  }

  #nav-toggle {
    display: block;
    align-self: flex-end;
    margin-bottom: 0.75rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    display: none;
    background: var(--nav-bg);
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--nav-shadow);
    padding: 1rem 0;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li a {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  nav ul li a {
    font-size: 0.9rem;
  }
  .logo span {
    font-size: 1.5rem;
  }
}


/* Footer Base */
.footer {
  background: #082443;
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h {
  color: #f4d35e;
  margin-bottom: 15px;
  font-size: 18px;
}
.footer-column h3 {
  color: #f4d35e;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  line-height: 1.8;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.footer-column p1 {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.cert-logo {
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}
.cert-logos-container {
  display: flex;
  align-items: center;
  gap: 5px;  /* gives uniform spacing between all logo items */
}
.cert-logo1 {
  height: 40px;
  margin-right: 10px;
  flex: auto;
  vertical-align: middle;
}

.cin {
  margin-top: 10px;
  font-size: 13px;
  color: #bbb;
}

/* Social Media Links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: 16px;
  color: #f4d35e;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  transition: color 0.2s;
}

.social-links a i {
  font-size: 20px;
  transition: color 0.2s, transform 0.2s;
  color: #ffffff;
}

.social-links a:hover,
.social-links a:focus {
  color: #e99a26;
}

.social-links a:hover i,
.social-links a:focus i {
  color: #e99a26;
  transform: scale(1.2) rotate(-8deg);
}

/* Divider */
.footer hr {
  border: 0;
  border-top: 1px solid #334;
  margin: 30px 0;
}

/* Bottom Section */
.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}
