/* css/style.css */

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 
    'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 
    'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
  color: #212529;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

header {
  background: linear-gradient(
    135deg,
    rgba(106, 11, 114, 0.95) 0%,
    rgba(0, 128, 128, 0.98) 100%
  );
  color: #ffffff;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 
    0 4px 20px rgba(0, 128, 128, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 8s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Optional: Add smooth transitions for interactive elements */
header {
  transition: all 0.3s ease;
}

nav {
  background: #420128;
  padding: 0.75rem 0;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav a {
  color: #fff;
  margin: 0 20px;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 5px 10px;
  transition: color 0.3s ease-in-out;
}

nav a:hover,
nav a:focus {
  color: #ffcc00;
  text-shadow: 0 0 8px #ffcc00;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin-top: 5px;
  right: 0;
  background: #ffcc00;
  transition: width 0.4s ease;
  -webkit-transition: width 0.4s ease;
}

nav a:hover::after {
  width: 100%;
  left: 0;
  background: #ffcc00;
}

.container {
  max-width: 1800px;
  margin: auto;
  padding: 1rem;
}

.section {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.02);
  animation: fadeInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.section:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.04);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  color: #420128;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
  display: inline-flex;
  flex-direction: column;
}

h2::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #440303, #ff9900);
  margin-top: 0.5rem;
  border-radius: 1px;
}

form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: #004080;
  outline: none;
}

button {
  margin-top: 1.5rem;
  background-color: #045e35;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #002855;
}

footer {
  background: linear-gradient(
    135deg,
    rgba(106, 11, 114, 0.95) 0%,
    rgba(0, 128, 128, 0.98) 100%
  );
  color: #ffffff;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 
    0 4px 20px rgba(0, 128, 128, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

nav a.blink {
  -webkit-animation: 2s linear infinite condemned_blink_effect; /* for Safari 4.0 - 8.0 */
  animation: 2s linear infinite condemned_blink_effect;
}

nav a.blink:hover {
  -webkit-animation: none;
  animation: none;
  visibility: visible; /* Ensure the link is visible when hovered */
}

/* for Safari 4.0 - 8.0 */
@-webkit-keyframes condemned_blink_effect { 
  0% {
    visibility: hidden;
  }
  50% {
    visibility: hidden;
  }
  100% {
    visibility: visible;
  }
}

@keyframes condemned_blink_effect {
  0% {
    visibility: hidden;
  }
  50% {
    visibility: hidden;
  }
  100% {
    visibility: visible;
  }
}




.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.interest-box {
  background: #ffffff;
  border-top-color: 4px solid #007acc;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.interest-box h3 {
  margin-bottom: 0.5rem;
  color: #044c6c;
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature-box {
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-top-color: 4px solid #0056b3;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.feature-box h3 {
  margin-bottom: 0.5rem;
  color: #044c6c;
}




.archive-section {
  background: linear-gradient(to bottom, #f0f4f8, #ffffff);
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.archive-section h2 {
  font-size: 1.8rem;
  color: #024f60;
  margin-bottom: 1rem;
  border-top-left-radius: 5px solid #007bff;
  padding-left: 0.6rem;
}

.archive-section p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 850px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.archive-item {
  background: #ffffff;
  border: 1px solid #ccc;
  border-bottom: 5px solid #0f4832;
  padding: 1.5rem;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.archive-item:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.archive-item h4 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #05482c;
}

.archive-item p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  color: #555;
}

.btn-download {
  display: inline-block;
  margin-top: 0.8rem;
  background-color: #19401c;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-download:hover {
  background-color: #de5ac4;
}
