/* Custom styles extending Tailwind */
:root {
  --primary-color: #003366;
  --secondary-color: #0066cc;
  --accent-color: #14b8a6;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
}

/* Smooth scrolling for all browsers */
html {
  scroll-behavior: smooth;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
  a, button {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    padding: 12px 16px;
  }
}

.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* Animation for fade-in elements */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Custom animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Mobile menu animation */
#mobile-menu {
  transition: max-height 0.3s ease-out;
  max-height: 0;
  overflow: hidden;
}

#mobile-menu:not(.hidden) {
  max-height: 500px;
}

/* Loading state for links */
a[target="_blank"]:active {
  opacity: 0.7;
}

/* Better focus states for accessibility */
a:focus, button:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Optimize images */
img {
  max-width: 100%;
  height: auto;
}

/* New Era FinTech Podcast Circular Logo */
.nefp-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nefp-logo-icon {
  position: relative;
  width: 64px;
  height: 64px;
  background-color: #1e40af; /* Dark blue for brand consistency */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.nefp-logo-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.nefp-logo-icon::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 6px solid white;
  box-sizing: border-box;
}

.nefp-logo-text {
  display: block;
  white-space: nowrap;
  text-align: left;
}

.nefp-company-name {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--primary-color);
  display: block;
}

.nefp-tagline {
  font-size: 14px;
  font-weight: normal;
  color: #6b7280;
  display: block;
}

/* New Era Digital Training Circular Logo */
.nedt-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nedt-logo-icon {
  position: relative;
  width: 64px;
  height: 64px;
  background-color: #0066cc; /* Secondary blue for training brand */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.nedt-logo-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.nedt-logo-icon::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 6px solid white;
  box-sizing: border-box;
}

.nedt-logo-text {
  display: block;
  white-space: nowrap;
  text-align: left;
}

.nedt-company-name {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--primary-color);
  display: block;
}

.nedt-tagline {
  font-size: 14px;
  font-weight: normal;
  color: #6b7280;
  display: block;
}