/* National Human Rights Awareness - Stylesheet */
/* Color Scheme: #ed1b24 (Red), #2e3192 (Blue), #cda659 (Gold) */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, #2e3192 0%, #1a1f5c 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 5px;
}

.logo h1 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo span {
  color: #cda659;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background: #cda659;
  color: #2e3192;
}

/* Hero Banner Styles */
.hero-banner {
  width: 100%;
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Home Hero Banner */
.hero-banner.home {
  background:
    linear-gradient(
      135deg,
      rgba(46, 49, 146, 0.85) 0%,
      rgba(237, 27, 36, 0.75) 100%
    ),
    url("https://images.unsplash.com/photo-1573164713988-8665fc963095?w=1920&q=80")
      center/cover no-repeat;
}

/* About Hero Banner */
.hero-banner.about {
  background:
    linear-gradient(
      135deg,
      rgba(46, 49, 146, 0.85) 0%,
      rgba(205, 166, 89, 0.75) 100%
    ),
    url("https://images.unsplash.com/photo-1529070538774-1843cb3265df?w=1920&q=80")
      center/cover no-repeat;
}

/* Events Hero Banner */
.hero-banner.events {
  background:
    linear-gradient(
      135deg,
      rgba(237, 27, 36, 0.85) 0%,
      rgba(46, 49, 146, 0.75) 100%
    ),
    url("https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1920&q=80")
      center/cover no-repeat;
}

/* Contact Hero Banner */
.hero-banner.contact {
  background:
    linear-gradient(
      135deg,
      rgba(205, 166, 89, 0.85) 0%,
      rgba(46, 49, 146, 0.75) 100%
    ),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?w=1920&q=80")
      center/cover no-repeat;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>')
    repeat;
  background-size: 100px 100px;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-banner-content {
  text-align: center;
  color: white;
  z-index: 1;
  padding: 20px;
  max-width: 800px;
}

.hero-banner-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

.hero-banner-content h1 span {
  color: #cda659;
}

.hero-banner-content p {
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.6;
}

.hero-banner-content .btn {
  margin-top: 30px;
}

/* Banner Styles */
.banner {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #2e3192 0%, #ed1b24 50%, #cda659 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>')
    repeat;
  background-size: 100px 100px;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.banner-content {
  text-align: center;
  color: white;
  z-index: 1;
  padding: 20px;
}

.banner-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content h1 span {
  color: #cda659;
}

.banner-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Scroller Banner */
.scroller-banner {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #2e3192 0%, #1a1f5c 100%);
}

.scroller-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: calc(300px * 8);
}

.scroller-banner:hover .scroller-track {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-300px * 4));
  }
}

.scroller-item {
  width: 300px;
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 0 5px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(46, 49, 146, 0.9) 0%,
    rgba(237, 27, 36, 0.9) 100%
  );
  transition: transform 0.3s ease;
}

.scroller-item:hover {
  transform: scale(1.05);
}

.scroller-item .content {
  text-align: center;
  color: white;
}

.scroller-item .content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #cda659;
}

.scroller-item .content p {
  font-size: 0.9rem;
}

.scroller-item:nth-child(even) {
  background: linear-gradient(
    135deg,
    rgba(237, 27, 36, 0.9) 0%,
    rgba(46, 49, 146, 0.9) 100%
  );
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2e3192 0%, #ed1b24 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
}

.hero h1 span {
  color: #cda659;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 30px;
  position: relative;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: #cda659;
  color: #2e3192;
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
}

.btn:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #2e3192;
  margin-bottom: 15px;
}

.section-title .line {
  width: 80px;
  height: 4px;
  background: #ed1b24;
  margin: 0 auto;
}

.section-title .line::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: #cda659;
  margin: 10px auto 0;
}

/* About Section */
.about {
  background: #f9f9f9;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.about-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #ed1b24;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  border-left-color: #cda659;
}

.about-card h3 {
  color: #2e3192;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.about-card:nth-child(2) {
  border-left-color: #2e3192;
}

.about-card:nth-child(3) {
  border-left-color: #cda659;
}

/* Mission Section */
.mission {
  background: #2e3192;
  color: white;
}

.mission h2 {
  color: white;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  border: 2px solid #cda659;
}

.stat-item h3 {
  font-size: 3rem;
  color: #cda659;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1rem;
}

/* Events Section */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.event-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.event-image {
  height: 200px;
  background: linear-gradient(135deg, #ed1b24 0%, #2e3192 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.event-content {
  padding: 30px;
}

.event-date {
  display: inline-block;
  background: #cda659;
  color: #2e3192;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.event-content h3 {
  color: #2e3192;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.event-content p {
  color: #666;
  margin-bottom: 15px;
}

.event-link {
  color: #ed1b24;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.event-link:hover {
  color: #cda659;
}

/* Contact Section */
.contact {
  background: #f9f9f9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background: #2e3192;
  padding: 40px;
  border-radius: 15px;
  color: white;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #cda659;
}

.contact-info p {
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-item span {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2e3192;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ed1b24;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: #ed1b24;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #2e3192;
}

/* Footer */
footer {
  background: #1a1f5c;
  color: white;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #cda659;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #cda659;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 20px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .mission-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .mission-stats {
    grid-template-columns: 1fr;
  }

  .banner {
    height: 200px;
  }

  .banner-content h1 {
    font-size: 1.8rem;
  }

  .hero-banner {
    height: 400px;
  }

  .hero-banner-content h1 {
    font-size: 2.5rem;
  }

  .hero-banner-content p {
    font-size: 1.1rem;
  }

  .scroller-banner {
    height: 150px;
  }

  .scroller-item {
    width: 250px;
    height: 150px;
  }

  .scroller-track {
    width: calc(250px * 8);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-250px * 4));
    }
  }
}
