﻿/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}


header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: 0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 2px;
}

nav a:hover {
  color: var(--primary-blue);
  border-bottom: 2px solid var(--primary-blue);
}

/* MOBILE NAV */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: var(--white);
    position: absolute;
    top: 60px;
    right: 5%;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-blue);
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/* Make the entire logo clickable */
.logo a,
.footer-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

/* Logo Image */
.logo img,
.footer-logo img {
  height: 35px;
  width: auto;
}

/* Logo Text */
.logo span,
.footer-logo span {
  font-size: 24px;
  font-weight: 700;
  color: #5cb8ff;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Hover Effect */
.logo a:hover span,
.footer-logo a:hover span {
  color: #000000;   /* light blue hover */
  opacity: 0.85;
}

.logo a:hover img,
.footer-logo a:hover img {
  opacity: 0.85;
}



/* FOOTER */
footer {
  background: var(--soft-gray-bg);
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-top: 30px;
}

.footer-col h3 {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
  padding: 1rem 0rem;
}


