/* Africentric main styles */

/* Navigation Styles */
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #ffd700 !important;
}

.navbar-toggler {
  border: 1px solid #fff;
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: #000;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
  }
}
body {
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
}



* {
  box-sizing: border-box;
}

main {
  flex: 1;
}

.bg-hwtmyf, .bg-hangout, .bg-economy, .bg-blog {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 94vh;
  max-height: 94vh;
  padding: 0;
}

/* .row {
  gap: 0rem;
} */

.door-block {
  padding: 0.5rem;
}

.bg-hwtmyf {
  background-image: url('../images/HWTMYF-closed.png');
}

.bg-hwtmyf:hover {
  background-image: url('../images/HWTMYF-open.png');
}

.bg-economy {
  background-image: url('../images/FYA-SYA-AYE-closed.png');
}

.bg-economy:hover {
  background-image: url('../images/FYA-SYA-AYE-open.png');
}

.bg-hangout {
  background-image: url('../images/AFRICENTRIC-closed.png');
}

.bg-hangout:hover {
  background-image: url('../images/AFRICENTRIC-open.png');
}

.bg-blog {
  background-image: url('../images/OUR-BLOG-closed.png');
}

.bg-hwtmyf, .bg-hangout, .bg-economy, .bg-blog {
  position: relative;
}

.bg-hwtmyf a, .bg-hangout a, .bg-economy a, .bg-blog a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.podcast-flip-section .card-text {
  background: linear-gradient(45deg, #00ff00, #ffff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-blog:hover {
  background-image: url('../images/OUR-BLOG-open.png');
}


.bg-hwtmyf, .bg-hangout, .bg-economy, .bg-blog {
  background-size: cover;
  background-position: center;
  min-height: 50vh;
}

.hangout-banner {
  background-color: #000;
  font-family: 'Ubuntu', sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 1rem;
  border-top: 4px solid #ffd700;
  /* border-bottom: 4px solid #008000; */
}

.hangout-banner h4 {
  margin: 0;
  padding: 0.5rem 0;
}



/* blog section */
.blog-hero {
  position: relative;
  background-position: center;
  background-image: url('../images/blog-page/OBLOG-SPB.png'); 
  background-size:contain; 
  background-repeat: no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.blog-hero .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
}

.small-text {
  font-size: 0.9rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.highlighted-text {
  color: #fff;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border-radius: 0.25rem;
}

.blog-image-wrap {
  position: relative;
  display: inline-block;
  max-width: 700px;
  width: 100%;
}

.blog-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-item img {
  max-width: 100%;
  height: auto;
  display: block;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to top right, rgba(122, 40, 8, 0.645), rgba(198, 137, 7, 0.8));
  pointer-events: none; /* lets the image remain interactive */
}


.carousel-inner {
  overflow: hidden;
}

.carousel-item {
  display: flex;
  flex-wrap: nowrap;
}

.carousel-item .row {
  margin: 0 !important;
  width: 100%;
}

/* end blog section */


/* Youth Economy Page */
.economy-hero {
  position: relative;
  background-position: center;
  background-image: url('../images/youth-economy-page/OAYE-SPB.png'); 
  background-size:contain; 
  background-repeat: no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.economy-hero .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
}

/* End Youth Economy Page */


/* Hangout Page */
.hangout-hero {
  position: relative;
  background-position: center;
  background-image: url('../images/hangout/OAP-SPB.png'); 
  background-size:contain; 
  background-repeat: no-repeat;
  min-height: 50.5vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  padding-bottom: 0;
}

.hangout-hero .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
}

.podcast-flip-section {
  background: #000;
  color: #fff;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 250px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 1rem;
  box-sizing: border-box;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}



.flip-card-back {
  transform: rotateY(180deg);
}


/* End Hangout Page */


/* Start Archive Podcast  */

.ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* End Archive Podcast  */

/* hwtmyf Page */
.hwtmyf-hero {
  position: relative;
  background-position: center;
  background-image: url('../images/hwtmyf/HWTMYF-SPB.png'); 
  background-size:contain; 
  background-repeat: no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hwtmyf-hero .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
}

/* End hwtmyf Page */



/* Pagination*/

.page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  color: #fff;
  background-color: #222;
  text-decoration: none;
  border-radius: 4px;
}

.page-numbers.current {
  background-color: #00a676;
  font-weight: bold;
}

.page-numbers:hover {
  background-color: #444;
}

/* End Pagination */

/* Infinite Carousel */
.infinite-carousel-container {
  overflow: hidden;
  background: #000;
  padding: 2rem 0;
  position: relative;
}

.infinite-carousel {
  display: flex;
  animation: scroll 40s linear infinite;
  width: max-content;
  gap: 2rem;
}


@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.carousel-item-wrapper {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.carousel-item-wrapper img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.custom-btn {
  background: transparent;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  border: 2px solid;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.custom-btn:hover {
cursor: pointer;
}

/* End Infinite Carousel */

/* What's Up Section */
.whatsup-section {
  background: #000;
  color: #fff;
}

.whatsup-title {
  color: #ffd700;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.whatsup-card {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
  height: 100%;
}

.whatsup-card:hover {
  transform: translateY(-5px);
}

.whatsup-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.whatsup-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.whatsup-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.whatsup-content {
  padding: 1rem;
}

.whatsup-content h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.whatsup-content h5 a {
  color: #fff;
  text-decoration: none;
}

.whatsup-content h5 a:hover {
  color: #ffd700;
}

.whatsup-content p {
  font-size: 0.85rem;
  color: #ccc;
  margin: 0;
}

.whatsup-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.badge-hwtmyf { background: #8b4513; }
.badge-hangout { background: #006400; }
.badge-economy { background: #ffd700; color: #000; }
.badge-blog { background: #4169e1; }

/* End What's Up Section */

/* Custom Carousel */
.custom-carousel {
  position: relative;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

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

.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active, .dot:hover {
  background-color: #717171;
}

/* Blog Carousel */
.blog-carousel {
  position: relative;
}

.blog-slide {
  display: none;
}

.blog-slide.active {
  display: block;
}

/* Registration Form */
.registration-form {
  background: rgba(0,0,0,0.8);
  border: 2px solid #444;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
}

.registration-form .form-control {
  border-bottom: 2px solid #fff;
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 0.5rem 0;
}

.registration-form .form-control:focus {
  background-color: transparent;
  border-color: #ffd700;
  box-shadow: none;
  color: white;
}

.form-check-input:checked {
  background-color: #ffd700;
  border-color: #ffd700;
}

/* HWTMYF Register Button */
#hwtmyfRegistrationForm button[type="submit"] {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/hwtmyf/hwtmyf-register-button-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
}
/* HANGOUT Register Button */
#hangoutRegistrationForm button[type="submit"] {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/hangout/podcast-register-button-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
}
/* Economy Register Button */
#economyRegistrationForm button[type="submit"] {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/youth-economy-page/inverstment-register-button-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
}
/* Blog Register Button */
#blogRegistrationForm button[type="submit"] {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/blog-page/blog-register-button-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
}
/* Rotating Images */
.rotating-images-container {
  position: relative;
  width: 100%;
}

.rotating-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.rotating-image.active {
  opacity: 1;
}

.rotating-image:first-child {
  position: relative;
}




@media (min-width: 768px) {
  .bg-hwtmyf, .bg-hangout, .bg-economy, .bg-blog {
    min-height: 70vh;
  }

  
}

@media (min-width: 992px) {
  .bg-hwtmyf, .bg-hangout, .bg-economy, .bg-blog {
    min-height: 94vh;
  }
}

/* Comments Section Styling */
.comments-area {
  margin-top: 3rem;
}

.comments-title {
  color: #ffd700;
  font-weight: bold;
  border-bottom: 2px solid #333;
  padding-bottom: 1rem;
}

.comment {
  border-left: 3px solid #00a676;
}

.comment-form-wrapper {
  border: 1px solid #333;
}

.comment-form-wrapper .form-control {
  background-color: #333 !important;
  border: 1px solid #555 !important;
  color: #fff !important;
}

.comment-form-wrapper .form-control:focus {
  background-color: #444 !important;
  border-color: #00a676 !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 166, 118, 0.25) !important;
}

.comment-form-wrapper .form-label {
  color: #ccc !important;
}

@media (max-width: 767px) {
  .blog-hero, .economy-hero,.hwtmyf-hero {
    min-height: 20vh;
    background-position: top center;
    padding: 1rem;
  }

  .hangout-hero {
    min-height: 12.4vh;
    background-position: top center;
    padding: 1rem;
  }
  
  .carousel-item-wrapper {
    width: 180px;
  }
  
  .carousel-item-wrapper img {
    height: 200px;
  }
  
  .custom-btn {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
  }
}




