
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #000;
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1)),
    url('images/my-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}


.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header { background-color: rgba(0, 0, 0, 0.2); padding: 15px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.2); position: sticky; top: 0; z-index: 100; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; gap: 15px; }
.logo { height: 64px; width: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 12px rgba(255,255,255,0.8); background-color: whitesmoke; }
.logo-text {
  font-size: 26px; font-weight: 700;
  background: linear-gradient(to right, #fff, #acaeb1);
  -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1;
}
nav ul { display: flex; list-style: none; gap: 24px; }
nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 8px 12px; border-radius: 6px; transition: all 0.3s ease; }
nav a:hover { background-color: rgba(0,0,0,0.1); color: #e4ce07; }
nav a.active { border-bottom: 2px solid #e4ce07; }


main { padding: 60px 0; }


.card {
  background-color: rgba(255,255,255,0.8);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}


.hero { text-align: center; max-width: 900px; margin: 0 auto; padding: 40px; }
.hero h1 {
  font-size: 3rem; margin-bottom: 16px;
  background: linear-gradient(to right, rgb(65,63,63), black);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 24px; color: #333; }
.cta-button {
  display: inline-block; background: linear-gradient(to right, rgba(112,111,111,0.8), #1d1e1f);
  color: #fff; padding: 12px 28px; border-radius: 50px; text-decoration: none;
  font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(48,51,51,0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  background: linear-gradient(to right, #444, #000);
  color: #e4ce07;
}


.about { max-width: 1000px; margin: 80px auto; padding: 40px; text-align: center; position: relative; }
.about h2 {
  font-size: 2.4rem; margin-bottom: 20px;
  background: linear-gradient(to right, rgb(65,63,63), black);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 20px; }
.about-item { text-align: center; }
.about-circle {
  width: 150px; height: 150px; margin: 0 auto 16px; border-radius: 50%;
  background-size: cover; background-position: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.about-circle.circle1 { background-image: url('images/about-1.jpg'); }
.about-circle.circle2 { background-image: url('images/about-2.jpg'); }
.about-circle.circle3 { background-image: url('images/about-3.jpg'); }
.about p { font-size: 1.05rem; line-height: 1.6; color: #333; }


.instructions { margin-top: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); justify-items: center; gap: 40px; }
.circle-card {
  width: 300px; min-height: 320px; border-radius: 15px;
  background-color: rgba(255,255,255,0.8); overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  display: flex; flex-direction: column;
  transform: scale(0.98);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
}
.circle-img { width: 100%; height: 50%; background-size: cover; background-position: center; position: relative; }
.circle-img.card1 { background-image: url('images/card-1.jpg'); }
.circle-img.card2 { background-image: url('images/card-2.jpg'); }
.circle-img.card3 { background-image: url('images/card-3.jpg'); }
.circle-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0)); }
.circle-content { height: 50%; padding: 14px; text-align: center; color: #000; font-size: 1.1rem; }
.circle-content h3 {
  font-size: 1.25rem; margin-bottom: 8px; font-weight: bold;
  background: linear-gradient(to right, rgb(65,63,63), black);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.circle-card:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.6); border: 2px solid #e4ce07; }


footer { text-align: center; padding: 30px 0; background-color: rgba(0, 0, 0, 0.12); margin-top: 60px; font-size: 0.95rem; color: #000; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 20px; text-align: left; }
.footer-links { list-style: none; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: #333; text-decoration: none; }
.footer-links a:hover { color: #e4ce07; }
.footer-copy { color: #333; }


@keyframes fadeIn { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
.hero, .about, .circle-card { opacity: 0; animation: fadeIn 1s ease forwards; }
.instructions .circle-card:nth-child(1) { animation-delay: 0.3s; }
.instructions .circle-card:nth-child(2) { animation-delay: 0.6s; }
.instructions .circle-card:nth-child(3) { animation-delay: 0.9s; }


@media (max-width: 768px) {
  .header-content { flex-direction: column; gap: 16px; }
  .logo { height: 56px; width: 56px; }
  .hero h1 { font-size: 2.2rem; }
  nav ul { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .hero { padding: 28px 18px; }
}

/* Page-specific background overrides */
body.outreach {
  background-image: linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.08)), url('images/outreach - background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
body.library {
  background-image: linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.08)), url('images/library - background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
body.news {
  background-image: linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.08)), url('images/news - Background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
body.tools {
  background-image: linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.08)), url('images/tools - background.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}