/* Logo css start */
.logo {
  width: 100px;
  height: 50px;
}

/* logo css end */


/* card and  css  start */

.technology-section,
.Agriculture-section,
.finance-section,
.founder-feature,
.infrastructure-official,
.intro {
  background-color: #ffa365;
  padding-bottom: 2rem;
}

.heading-section {

  margin: 40px;
  padding: 12px;
}

.heading-section h5 {
  font-size: 29px;
  font-family: cursive;
  color: black;
  font-weight: 800;
}

.intro h3 {
  font-size: 26px;
  font-family: cursive;
  font-weight: 600;
  color: black;
}

.heading-section p {
  font-size: 2rem;
  font-weight: 400;
  color: rgb(5, 0, 0);
}

.card-img-top {
  height: 250px;
}

.card a {
  text-decoration: none;
  color: black;
}
.card-body {
    height: 80px;
}

.wow {
  background-color: rgba(221, 201, 201, 0.622);
}

/* checking start from here  */
.card {
  position: relative;
  overflow: hidden;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Transparent background color */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  z-index: 1;
  /* Make sure the overlay is above other content */
}

.card:hover .card-overlay {
  opacity: 1;
  /* Show the overlay on hover */
}

.card-overlay {
  display: flex;
  flex-direction: column;

}

.card-overlay i {

  font-size: 2rem;
  margin-right: 0.5rem;
}

.card-overlay .read-text {
  font-size: 1.2rem;
  font-weight: bold;
}

/* 
checking end  */


/* card and  css  start */



.top-banner {
  position: relative;
}

.top-banner button {
  position: absolute;
  top: 80%;
  right: 20%;
  border: 2px solid white;
  border-radius: 10px;
  background-color: blueviolet;
  color: white;
  font-size: 20px;
  padding: 15px;
}



.gov-story-ex-button {
  position: absolute;
  top: 70.7%;
  left: 44%;
  background-color: green;
}

.gov-story-ex-button button {

  background-color: rgb(59, 192, 59);
  width: 14rem;
  padding: 17px;
  border-radius: 2rem;
  color: white;
  border: 2px solid white;
}

@media (max-width:768px) {
  .top-banner button {
    font-size: 10px;
    padding: 7px;
  }

  .gov-story-ex-button {
    position: absolute;
    top: 69.7%;
    left: 47%;
    background-color: green;
  }

  .gov-story-ex-button button {

    background-color: rgb(59, 192, 59);
    width: 6rem;
    font-size: 9px;
    padding: 3px;
    border-radius: 1rem;
    color: white;
    border: 2px solid white;
  }
  .card-body {
    height: 100px;
}
}

.govt-story-footer {
  position: relative;
}

.govt-story-footer a {
  color: white;
  text-decoration: none;
}

.govt-story-footer button {
  position: absolute;
  bottom: 20%;
  right: 30%;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 2rem;
  padding: 1rem;
  font-size: 18px;

}

.govt-story-footer button:hover {
  border: 2px solid orange;
  font-size: 20px;
}

@media (max-width:768px) {

  .govt-story-footer button {
    position: absolute;
    bottom: 20%;
    right: 20%;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 10px;
    padding: 0;
    font-size: 8px;
    line-height: 1;

  }

  .govt-story-footer button:hover {
    border: 2px solid orange;
    font-size: 10px;
  }

}

.intro {
  padding: 5rem;
  color: rgb(186, 12, 12);
}

.sector {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 1rem;
}


.sector h2 {
  font-size: 32px;
}

@media (max-width:768px) {
  .sector {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
  }

  .sector h2 {
    font-size: 16px;
  }

  .intro h3 {
    font-size: 16px;
    padding: 0;
  }

  .heading-section h5 {
    font-size: 15px;
    font-family: cursive;
    color: black;
    font-weight: 400;
  }

  .heading-section p {
    font-size: 1rem;
    font-weight: 400;
    color: rgb(5, 0, 0);
  }

}




.sector button {

  width: 8rem;


}


#dropdownMenuButton {
  padding: .5rem;
  margin-left: 14rem;
  font-size: 14px;
}

.feature-founder {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;

}

.feature-card img {
  border-radius: 50%;
  height: 100px;
  width: 100px;
  border: 2px solid rgb(233, 232, 239);
}

.testimonial-founders {
  background-color: rgb(233, 229, 229);
}




.testimonial-founders {
  padding: 2rem;
}

.feature-founder h5 {
  color: white;
  margin-top: 10px;

}

.feature-founder p {
  color: white;
}

.feature-card p {
  color: white;
}

/* podcast style */
.podcast-section {
  position: relative;
}


.podcast-section button {

  position: absolute;
  top: 63%;
  right: 43%;
  font-weight: 700;
  background-color: rgba(21, 182, 21, 0.645);

}

/* Responsive styles for carousel items */
@media (min-width: 576px) {
  .carousel-item {
    min-height: 300px;
  }
}

@media (min-width: 768px) {
  .carousel-item {
    min-height: 350px;
  }
}

@media (min-width: 992px) {
  .carousel-item {
    min-height: 400px;
  }
}

.upload-sat {
  position: absolute;
  top: 5% !important;
  left: 5%;
  width: 25rem;
  font-weight: 700;
  background-color: rgba(21, 182, 21, 0.645) !important;
}

@media (max-width:768px) {
  .upload-sat {
    position: absolute;
    top: 9% !important;
    left: 2%;
    width: 10rem;
    font-weight: 500;
    font-size: 14px;
    background-color: rgba(21, 182, 21, 0.645) !important;
  }

  .podcast-section button {

    position: absolute;
    top: 63%;
    right: 30%;
    font-weight: 700;
    background-color: rgba(21, 182, 21, 0.645);

  }
}

/* share story section css start */

.share-story-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  padding: 1rem;

}

.wisdom {
  background-color: rgb(226, 208, 208);
}


.share-story-section button {
  padding: 1rem;
  background-color: green;
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid rgb(255, 255, 255);
  color: white;
}

.share-story-section a {
  text-decoration: none;
  color: white;
}

/* goverment official podcast section */
.govt-official-section img {
  width: 100vw;
}

.govt-official-section {
  position: relative;
}

.listen-button {
  position: absolute;
  bottom: 13%;
  left: 5%;
  background-color: rgba(12, 135, 12, 0.736);
  padding: 1rem;
  color: white;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  width: 10rem;
}

.subscribe-button {
  position: absolute;
  bottom: 13%;
  right: 5%;
  background-color: red;
  padding: 1rem;
  color: white;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  width: 10rem;
}

@media (max-width:768px) {
  .subscribe-button {
    padding: .5rem;
    color: white;
    font-size: 10px;
    font-weight: 500;
    border-radius: 10px;
    width: 5rem;
  }

  .listen-button {
    padding: .5rem;
    color: white;
    font-size: 10px;
    font-weight: 500;
    border-radius: 10px;
    width: 5rem;
  }
}



/* govt official footer section style start */
.govt-official-footer img {
  width: 100vw;
}

.govt-official-footer {
  position: relative;
}

.subscribe-now-button {
  position: absolute;
  top: 30%;
  left: 58%;
  background-color: rgb(174, 9, 9);
  padding: 1rem;
  font-size: 14px;
  border-radius: 10px;
  color: white;
  border: 2px solid white;
  font-weight: 600;
}

.join-button {
  position: absolute;
  top: 55%;
  left: 27%;
  background-color: rgb(79, 205, 79);
  padding: 1rem;
  font-size: 14px;
  border-radius: 10px;
  color: white;
  border: 2px solid white;
  font-weight: 600;
}

@media (max-width:768px) {
  .join-button {
    padding: .5rem;
    font-size: 7px;
    border-radius: 10px;
    color: white;
    border: 2px solid white;
    font-weight: 600;
  }

  .subscribe-now-button {
    padding: .5rem;
    font-size: 7px;
    border-radius: 10px;
    color: white;
    border: 2px solid white;
    font-weight: 600;
  }
}

/* 
post govt off css  */

.testimonial-card a {
  text-decoration: none !important;
  color: black;

}

/* footer */
.footer {
  background-color: black;
  padding: 40px;
  color: white;
}

.logo-footer {
  width: 180px;
  height: 100px;
}

.footer a,
li {
  list-style: none;
  text-decoration: none;
  color: white;
}

.footer h5 {
  border-bottom: 3px solid #ff914d;
  padding-bottom: 5px;
}

.footer .fa-brands {
  padding: 5px;
  margin-bottom: 10px;
}

.btn-primarynewsletter {
  background-color: #ff914d;
  color: black;
  font-weight: 600;

}

.btn-primarynewsletter:hover {
  background-color: #ff914d;

}



/* navbar css */
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu ul {
  list-style: none;
  padding: 0;
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-menu li:first-child a {
  font-weight: bold;
  font-size: 16px;
}

/* Custom styling for mega menu */
.mega-menu {
  position: static !important;
}

.mega-menu .dropdown-menu {
  width: 50%;
  padding: 15px;
  display: none;
  /* Hide dropdown menu by default */
  left: 40%;
  /* Adjust the left position to center horizontally */
}

.mega-menu:hover .dropdown-menu {
  display: block;
  /* Show dropdown menu when hovering over mega-menu */
}

.mega-menu .dropdown-menu a {
  display: block;
  color: #212529;
  text-decoration: none;
}

.dropdown-menu ul {
  list-style: none;
  padding: 0;
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-menu a:hover {
  color: #1c6bc2;
}

.dropdown-menu li:first-child a {
  font-weight: bold;
  font-size: 16px;
}

.nav-link {
  font-weight: 500;
}

/* navbar end */

/* Media query for mobile devices */
@media only screen and (max-width: 600px) {

  /* Adjust dropdown menu for mobile */
  .dropdown-menu {
    width: 100%;
    left: 0;
    padding: 10px;
    display: block;
    position: relative;
  }

  Make the dropdown menu stack vertically .dropdown-menu.show {
    flex-direction: column;
  }

  /* Adjust mega menu on mobile */
  .mega-menu .dropdown-menu {
    width: 100%;
    padding: 10px;
    left: 0;

  }

  /* Adjust links for mobile */
  .mega-menu .dropdown-menu a,
  .dropdown-menu a {
    font-size: 14px;
    padding: 10px;
    text-align: left;
  }


}