:root {
  --bg-color: #032603;
  --accent-color: #E74C3C;
}

body {
  background-color: #f8f9fa;
  color: #495057;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.color-2{
  color: var(--accent-color);
}
.color-w{
  color: white;
}

/*Narbar*/
.navbar {
  background-color: var(--accent-color);
  padding: 0.5 0;
  border-bottom: 2px solid var(--bg-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
}


.navbar-brand,
.navbar-nav .nav-link {
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 1px;
}

.navbar-toggler {
  border: none;
  outline: none;
  padding: 10px 15px;
  cursor: pointer;
  background-color: var(--accent-color);
  color: #ffffff;
  border-radius: 5px;
}

.navbar-icon {
  font-size: 30px;

}



.navbar-collapse {
  background-color: var(--accent-color);
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  transition: color 0.3s, background-color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--bg-color);
}

@media (max-width: 767px) {
  .navbar-collapse {
    margin-top: 70px;
  }
}

/*Hero Section*/
.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/bg-hero.jpg');
  background-position: center;
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  width: 100vw;
}

.hero-content {
  padding: 0px 80px;
}

.hero-overlay {
  z-index: 999;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 18, 19, 0.897);
  justify-content: center;
  align-items: center;
  /* Semi-transparent overlay */
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-section h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 40px;
}


.hero-section p {
  font-size: 1.25rem;
  padding-right: 70px;
  padding-left: 70px;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 3rem;
  }


  .hero-section p {
    font-size: 1rem;
    padding-right: 10px;
  padding-left: 10px;
  }

  .hero-content{
    padding: 0px 20px;
  }
}

.hero-section button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-section button:hover {
  background-color: var(--bg-color);
}


/*Track Case*/
.case-status-form {
  margin: 30px;
  margin-top: 150px;
  display: flex;
}


.case-status-input {
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 90%;
  outline: none;
}

.case-status-input:focus{
  outline: 2px solid var(--accent-color);
}

.case-status-submit {
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
}

.case-status-submit i {
  font-size: 18px;
}


/* General Notice */
.notice-content {
  background-color: #fff;
  color: #333;
  max-width: 1000px;
  margin: 30px;
  padding: 10px 0px 30px 0px;
  border-radius: 10px;
}

.exit-button {
  width: 100%;
  text-align: right;
  background: none !important;
  border: none;
  font-size: 24px !important;
  color: #333 !important;
  cursor: pointer;
}

.exit-button:hover {
  color: var(--accent-color) !important; /* Change color on hover */
}

.general-notice h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.general-notice p {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.read-more-button {
  font-size: 1.5rem !important; 
  cursor: pointer;
  color: white !important;
  transition: background-color 0.3s;
}

/*About us*/
.about-section {
  padding: 80px 0;
}

.about-heading {
  text-align: center;
  margin-bottom: 50px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.about-card {
  max-width: 300px;
  margin: 20px;
  text-align: center;
}

.about-card img {
  max-width: 100%;
  border-radius: 10px;
}

.about-card h3 {
  margin-top: 20px;
  font-size: 1.5rem;
}

.about-card p {
  margin-top: 10px;
}

@media (max-width: 767px) {
  .about-card {
    max-width: 100%;
  }
}

/*Primary function*/
.function-section {
  background-color: var(--bg-color);
  padding: 50px 0px;
}

.section-heading p {
  color: white;
}

.section-heading h2 {
  color: var(--accent-color);
}

.function-card {
  margin-bottom: 20px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.function-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.function-card-body {
  padding: 20px;
}

.function-card-title {

  margin-bottom: 10px;
}

.function-card-text {
  line-height: 1.6;
}

/*Legal Framwork*/
.legal-framework {
  padding: 50px 20px;
  background-color: #fff;
  /* Light background color */
  color: #495057;
}

.legal-framework .container {
  max-width: 1200px;
}

.legal-framework img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.legal-framework img:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.legal-framework h2 {
  color: var(--bg-color);
  font-size: 2rem;
  margin-bottom: 20px;
}

.legal-framework p {
  line-height: 1.2;
  margin-bottom: 20px;
}

.legal-framework ul {
  list-style-type: none;
  padding: 0;
}

.legal-framework li {
  line-height: 1.2;
  margin-bottom: 10px;
}

/*News Section*/
.news {
  padding: 50px 20px;
  background-color: var(--bg-color);
  color: #fff;
}

.container {
  max-width: 1200px;
}

.carousel-item img {
  object-fit: cover;
  height: 400px;
}

.carousel-caption {
  text-align: left;
  background: rgba(0, 0, 0, 0.5);
  /* Dark overlay for text readability */
  padding: 20px;
}

.carousel-caption h2,
.carousel-caption p {
  margin-bottom: 20px;
}



.carousel-control-prev,
.carousel-control-next {
  color: var(--accent-color);
}

.carousel-indicators {
  bottom: -40px;
}


/*Top Officials*/
.top-officials {
  padding: 50px 20px;
}

.container {
  max-width: 1200px;
}

.official-card {
  background-color: #fff;
  /* White background color for official cards */
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
  margin-bottom: 20px;
}

.official-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.official-card-body {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.official-name {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.official-role {
  margin-bottom: 15px;
}

.official-description {
  line-height: 1.6;
}

.official-img {
  width: 100%;
  height: auto;
  border-radius: 15px 15px 0 0;
}


/* Faq Section */
.faq-section {
  padding: 50px 20px;
  background-color: var(--bg-color);
  /* Dark background color */
  color: var(--accent-color);
}

.accordion-button:not(.collapsed) {
  background-color: rgba(253, 13, 13, 0.25);
  color: black;
  box-shadow: rgba(253, 13, 13, 0.25);
  outline: rgba(253, 13, 13, 0.25);
}
.accordion{
  outline: none;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(253, 13, 13, 0.25);
}

.faq-item {
  background-color: var(--bg-color);
  /* Dark background color for FAQ items */
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
  margin-bottom: 20px;
}

.faq-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.faq-question {
  color: var(--accent-color);
  /* Light text color for FAQ question */
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.faq-answer {
  color: var(--accent-color);
  line-height: 1.6;
  padding: 20px;
}



/*Reporting Fraud*/
.reporting-fraud {
  padding: 50px 20px;
}



.reporting-fraud a {
  color: var(--accent-color);
}

.reporting-fraud a:hover {
  text-decoration: underline;
}

.reporting-fraud img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}


/*Footer Section*/

footer {
  background-color: var(--bg-color);
  padding: 30px 20px;
  color: #fff;
}


.footer h3 {
  color: var(--accent-color);
}


.footer a {
  color: #fff;
  display: block;
  text-decoration: none;
}

.copyright a {
  color: var(--accent-color);
  display: block;
  text-decoration: none;
}

.stay-connected input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
}

.stay-connected button {
  background-color: var(--accent-color);
  color: var(--bg-color);
}

.copyright {
  text-align: center;
  margin-top: 20px;
}

.footer-social i {
  margin-right: 20px;
}

/*New FCTO law*/
.news-alert {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #E74C3C; /* Button color */
  color: #fff;
  padding: 13px 20px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  border-radius: 50px; /* Rounded shape */
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: pulse 1.5s infinite; /* Pulsating animation */
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-alert:hover {
  transform: scale(1.05); /* Scale up on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  animation: none; /* Disable pulsating animation on hover */
}

@keyframes pulse {
  0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
  }
  70% {
      transform: scale(1);
      box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
  }
  100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}


/* Fancy pop message */
.pop-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    z-index: 9999;
    transition: opacity 0.5s, transform 0.5s;
  }
  
  .pop-message-text {
    font-size: 1.2rem;
  }
  
  .hidden {
    display: none;
  }
  