/* General Styling */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  color: #333;
}

/* Header Styling */
.header {
  background: linear-gradient(to right, #db1010, #4e07e8);
  color: #fff;
  padding: 40px 10px;
  text-align: center;
  border-bottom: 3px solid #004d40;
}

.header h1 {
  font-size: 2.8rem;
  margin: 0;
}

.header p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Questions Section */
.questions {
  background: linear-gradient(to left, #db1010, #4e07e8);

  padding: 30px 20px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: 900px;
}

.questions ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.questions ul li {
  margin: 10px 0;
}

.questions ul li a {
  text-decoration: none;
  font-size: 1.1rem;
  color: #fff;
  font-weight: bold;
  display: block;
  padding: 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.questions ul li a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  color: #f4f4f9;
}

/* nav Bar/////////////////////////////////////////////////////////// */
.navbar-custom {
  background: linear-gradient(to bottom,#6600ff, #ff3300); /* Vibrant gradient */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: fixed; /* Fixed at the top */
  top: 0;
  width: 100%;
  z-index: 1030; /* Ensures it stays above other content */
}
.navbar-custom .nav-link {
  color: #ffffff; /* White text */
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.navbar-custom .nav-link:hover {
  background-color: #ff5e57; /* Highlight on hover */
  color: #fff;
  transform: scale(1.1);
}
.navbar-custom .navbar-brand {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.navbar-custom .navbar-toggler {
  border-color: #ffffff;
}
.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* Responsive Design for Questions */
@media (max-width: 768px) {
  .questions ul li a {
    font-size: 1rem;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .questions ul li a {
    font-size: 0.9rem;
    padding: 8px;
  }
}

/* Q&A Section */
.qa-section {
  padding: 30px;
  background: #fff;
  max-width: 1200px;
  margin: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qa-section h2 {
  border-radius: 10px;
  /* background-color: #ddd; */
  text-align: center;
  font-size: 2.5rem;
  color: #00838f;
  margin-bottom: 40px;
}

.qa-card {
  background: #fafafa;
  border: 2px solid #00bcd4;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.qa-card h3 {
  font-size: 1.8rem;
  color: #00bcd4;
}

.qa-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

/* Footer Styling */
footer {
  background: linear-gradient(to right, #2c3e50, #34495e);
  color: white;
  padding: 40px 0;
  font-family: 'Arial', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  padding: 10px 20px;
}

.footer-section h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #ecf0f1;
  padding-bottom: 5px;
  margin-bottom: 15px;
  color: #ecf0f1;
  text-transform: uppercase;
}

.footer-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #bdc3c7;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 10px 0;
}

.footer-section ul li a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #1abc9c;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-links img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #bdc3c7;
  padding-top: 10px;
  border-top: 1px solid #7f8c8d;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    text-align: center;
    padding: 10px;
  }

  .social-links img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    gap: 15px;
  }

  .footer-section h2 {
    font-size: 1.3rem;
  }

  .social-links img {
    width: 35px;
    height: 35px;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

/* Responsive Design for Header and Q&A */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2.2rem;
  }

  .header p {
    font-size: 1rem;
  }

  .qa-section h2 {
    font-size: 2rem;
  }

  .qa-card {
    padding: 15px;
  }

  .qa-card h3 {
    font-size: 1.5rem;
  }

  .qa-card p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 1.8rem;
  }

  .header p {
    font-size: 0.9rem;
  }

  .qa-section {
    padding: 20px;
  }

  .qa-card {
    padding: 10px;
  }

  .qa-card h3 {
    font-size: 1.2rem;
  }

  .qa-card p {
    font-size: 0.95rem;
  }
}
