/* Footer Link Styling */
.footer-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: white;
}

/* Update footer grid for 4 columns */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

/* Contact Item Alignment Fix */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Contact Text Wrapper */
.contact-text {
  flex: 1;
}

.contact-text p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* Clickable Contact Links */
.contact-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-link:hover {
  color: #1FA58A;
  transform: translateX(2px);
}

/* Ensure footer sections are well spaced */
.footer-section {
  display: flex;
  flex-direction: column;
}

/* Remove default margins on footer contact items */
.footer-contact {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact span {
  display: block;
  line-height: 1.6;
}
/* Footer Copyright Styling */
.footer-copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .footer-copyright {
    font-size: 18px;
    letter-spacing: 0.6px;
  }
}

@media (min-width: 1024px) {
  .footer-copyright {
    font-size: 20px;
    letter-spacing: 0.8px;
  }
}

/* Highlight Text for Exam Genius FZCO */
.highlight-text {
  color: #f8fafa;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(254, 202, 40, 0.3);
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1FA58A, transparent);
  opacity: 0.6;
}

.footer-copyright:hover .highlight-text {
  text-shadow: 0 0 25px rgba(254, 202, 40, 0.5);
  transform: scale(1.02);
}