/* ============ GLOBAL RESET ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============ HEADER ============ */
.hf-header {
  background: #111827;
  color: white;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.hf-nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

/* Logo Section */
.hf-logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hf-logo-icon {
  background: #3b82f6;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hf-logo-text .hf-logo {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.hf-logo-text .hf-tagline {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 2px;
}

/* Desktop Nav */
.hf-nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.hf-nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.hf-nav-link:hover {
  color: #3b82f6;
}

/* Dropdown */
.hf-dropdown {
  position: relative;
}

.hf-dropdown-content {
  display: none;
  position: absolute;
  background: #1f2937;
  top: 100%;
  left: 0;
  min-width: 180px;
  border-radius: 6px;
  overflow: hidden;
}

.hf-dropdown:hover .hf-dropdown-content {
  display: block;
}

.hf-dropdown-item {
  display: block;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
}

.hf-dropdown-item:hover {
  background: #374151;
}

/* Mobile Nav */
.hf-mobile-toggle {
  display: none;
  cursor: pointer;
}

.hf-hamburger-line {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px 0;
}

.hf-mobile-menu {
  display: none;
  flex-direction: column;
  background: #1f2937;
}

.hf-mobile-menu.active {
  display: flex;
}

.hf-mobile-nav-list {
  list-style: none;
}

.hf-mobile-nav-link {
  display: block;
  padding: 1rem;
  color: white;
  text-decoration: none;
  border-top: 1px solid #374151;
}

.hf-mobile-nav-link:hover {
  background: #374151;
}

.hf-mobile-overlay {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hf-nav-menu {
    display: none;
  }
  .hf-mobile-toggle {
    display: block;
  }
}

/* Allow mobile menu to scroll independently */
.hf-mobile-menu {
    overflow-y: auto !important;
    max-height: 100vh;
    pointer-events: auto;
}

/* Allow background page to scroll even when menu is open */
.hf-mobile-overlay {
    pointer-events: none;   /* overlay visible but does not block scroll */
    background: rgba(0,0,0,0.4);
}



/* ============ FOOTER ============ */
.hf-footer {
  background: linear-gradient(160deg, #0f172a, #1e293b);
  color: #f1f5f9;
  width: 100%;
  padding: 40px 20px 25px;
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.hf-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.hf-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 25px;
}

.hf-footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: #93c5fd;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.hf-footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
}

/* Contact Info */
.hf-contact-info {
  list-style: none;
}

.hf-contact-info li {
  display: flex;
  margin-bottom: 14px;
  align-items: flex-start;
  transition: transform 0.3s;
}

.hf-contact-info li:hover {
  transform: translateX(5px);
}

.hf-contact-info i {
  font-size: 1.1rem;
  margin-right: 12px;
  margin-top: 3px;
  color: #60a5fa;
  min-width: 20px;
  text-align: center;
}

.hf-contact-info span {
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Footer Links */
.hf-footer-links {
  list-style: none;
}

.hf-footer-links li {
  margin-bottom: 10px;
}

.hf-footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  font-size: 0.95rem;
  position: relative;
}

.hf-footer-links a::before {
  content: '›';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s;
  color: #60a5fa;
}

.hf-footer-links a:hover {
  color: #93c5fd;
  transform: translateX(10px);
}

.hf-footer-links a:hover::before {
  opacity: 1;
  left: -12px;
}

/* Social Icons */
.hf-social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px auto 25px;
  max-width: 500px;
}

.hf-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hf-social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: -1;
}

.hf-social-icon:hover {
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: white;
}

.hf-social-icon:hover::before {
  transform: translateY(0);
}

/* Footer Bottom */
.hf-footer-bottom {
  text-align: center;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 1200px;
  margin: 0 auto;
}

.hf-copyright {
  font-size: 0.9rem;
  opacity: 0.7;
  color: #94a3b8;
}

/* Footer Bottom link glow effect */
.hf-footer-link-res {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hf-footer-link-res:hover {
    color: #a8e4ff; /* soft sky-blue */
    text-shadow: 0 0 8px rgba(168, 228, 255, 0.9); /* gentle glow */
}

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

  .hf-footer-col {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .hf-footer-col:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .hf-social-icons {
    gap: 10px;
  }
}
