/* Custom styles */
header {
  background-color: #0a0eeb; /* Dark background */
  color: white;
}
header img {
  width: 100%;
  height: 1000px;
  object-fit: cover;
}
.container {
  max-width: 1200px;
}

.bg-zndark {
  background-color: #7b1fa2; /* Dark background */
  color: white;
}


h1,
h2,
h3,
h4,
h5,
h6,
h7 {
  /* Example styles */
  font-family: Arial, sans-serif;

  /* color: #9c27b0; */
}

a {
  color: #9c27b0;
  text-decoration: none;
}

footer {
  background-color: #f8f9fa;
  padding: 20px 0;
}

.post {
  border-radius: 8px;

  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.posttype {
  color: #4b0082;
}

.post:hover {
  box-shadow: 0 6p 10px rgba(0, 0, 0, 0.15); /* Stronger shadow */
  background-color: #f4f4f4; /* Change background color */
}

/* Override Bootstrap Primary Color */
:root {
  --bs-primary: #4b0082; /* Change primary color */
}

/* Apply custom primary color to buttons */
.btn-primary {
  background-color: #4b0082;
  border-color: #4b0082;
}

.btn-primary:hover {
  background-color: #6a0dad; /* Darker shade of #4b0082 for hover */
  border-color: #6a0dad;
}

/* Apply custom primary color to links */
a.btn-primary {
  color: #fff;
  background-color: #4b0082;
}

a.btn-primary:hover {
  color: #fff;
  background-color: #6a0dad;
}

/* Customize navbar color */
.navbar-light .navbar-nav .nav-link.active {
  color: #4b0082;
}

.navbar-light .navbar-nav .nav-link {
  color: #4b0082;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #6a0dad;
}

/* Override card borders and titles 

.card-header {
  background-color: #9c27b0;
  color: white;
}

.card-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #4b0082;
}

*/

.bg-primary {
  background-color: #9c27b0;
  color: white;
}

/* Customizing input borders and focus state */
.form-control {
  border: 1px solid #4b0082;
}

.form-control:focus {
  border-color: #6a0dad;
  box-shadow: 0 0 0 0.2rem rgba(106, 13, 173, 0.25); /* Shadow with darker color */
}

/* Customize nav tabs */
.nav-pills .nav-link {
  color: #4b0082;
  border: 1px solid #4b0082;
}

.nav-pills .nav-link:hover {
  color: white;
  background-color: #6a0dad;
  border-color: #6a0dad;
}

/* Buttons with borders */
.btn-outline-primary {
  color: #4b0082;
  border-color: #4b0082;
}

.btn-outline-primary:hover {
  background-color: #4b0082;
  color: white;
  border-color: #4b0082;
}

/* Custom active state for list groups */
.list-group-item.active {
  background-color: #4b0082;
  border-color: #4b0082;
}

/* Override Bootstrap Pagination */
.pagination {
  border-radius: 0.375rem; /* Optional: Adjust for rounded corners */
}

.pagination .page-link {
  color: #4b0082; /* Custom primary color for page links */
  background-color: #fff; /* White background for page links */
  border-color: #4b0082; /* Custom primary color for borders */
}

.pagination .page-link:hover {
  color: white; /* White text when hovered */
  background-color: #6a0dad; /* Darker shade for hover */
  border-color: #6a0dad; /* Darker border color for hover */
}

.pagination .page-item.active .page-link {
  color: #fff; /* White text for active page */
  background-color: #4b0082; /* Custom primary color for active page */
  border-color: #4b0082; /* Custom primary border for active page */
}

.pagination .page-item.disabled .page-link {
  color: #d6d6d6; /* Disabled page links */
  background-color: #f8f9fa; /* Light gray background for disabled state */
  border-color: #d6d6d6; /* Light gray border for disabled state */
}

.pagination .page-item:first-child .page-link {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.pagination .page-item:last-child .page-link {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

/* Skeleton loader styles */
.skeleton-card,
.skeleton-pagination,
.skeleton-search {
  margin-bottom: 1rem;
}

/* Skeleton for the content card */
.skeleton-card {
  display: flex;
  flex-direction: column;
  background-color: #f8f9fa;
  border-radius: 5px;
  padding: 15px;
  border: 1px solid #ddd;
}

.skeleton-image {
  width: 100%;
  height: 150px;
  background-color: #e0e0e0;
  margin-bottom: 15px;
}

.skeleton-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-title,
.skeleton-meta,
.skeleton-content,
.skeleton-button {
  background-color: #e0e0e0;
  height: 20px;
  border-radius: 4px;
}

.skeleton-title {
  width: 80%;
}

.skeleton-meta {
  width: 50%;
}

.skeleton-content {
  width: 100%;
  height: 40px;
}

.skeleton-button {
  width: 30%;
  height: 30px;
}

/* Skeleton for the search box */
.skeleton-search .skeleton-input {
  background-color: #e0e0e0;
  height: 40px;
  border-radius: 5px;
  width: 80%;
}

.skeleton-search .skeleton-button {
  background-color: #e0e0e0;
  height: 36px;
  width: 120px;
  border-radius: 5px;
  margin-top: 10px;
}

/* Skeleton for the pagination */
.skeleton-pagination .skeleton-pagination-item {
  background-color: #e0e0e0;
  height: 30px;
  width: 30%;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* Animation for the skeleton shimmer effect */
.skeleton-title,
.skeleton-meta,
.skeleton-content,
.skeleton-button,
.skeleton-input,
.skeleton-pagination-item {
  animation: skeleton-loading 1.5s infinite ease-in-out;
}

@keyframes skeleton-loading {
  0% {
    background-color: #e0e0e0;
  }
  50% {
    background-color: #d0d0d0;
  }
  100% {
    background-color: #e0e0e0;
  }
}

.news-article {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f8f9fa;
}

.news-title {
  font-size: 1.8rem;
  font-weight: bold;
}

.news-meta {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 15px;
}

.news-content {
  font-size: 1rem;
  line-height: 1.6;
}

.news-content p {
  text-align: justify;
}

.news-image {
  width: 100%;
  max-height: auto; /* Set maximum height */
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: auto; /* Let the height adjust automatically to maintain aspect ratio */
  object-fit: cover;
}

.carousel-caption .container {
  max-width: 700px;
}

.carousel-caption {
  bottom: 20px;
}

@media (max-width: 576px) {
  .carousel-caption h5 {
    font-size: 1rem;
  }
  .carousel-caption p {
    font-size: 0.8rem;
  }
}

 /* Skeleton loader styles */
  .skeleton-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    border: 1px solid #ddd;
  }

  .skeleton-image {
    width: 100%;
    height: 150px;
    background-color: #e0e0e0;
    margin-bottom: 15px;
  }

  .skeleton-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .skeleton-title, .skeleton-date, .skeleton-content, .skeleton-author, .skeleton-button {
    background-color: #e0e0e0;
    height: 20px;
    border-radius: 4px;
  }

  .skeleton-title {
    width: 80%;
  }

  .skeleton-date {
    width: 50%;
  }

  .skeleton-content {
    width: 100%;
    height: 40px;
  }

  .skeleton-author {
    width: 60%;
  }

  .skeleton-button {
    width: 30%;
    height: 30px;
  }

  /* Animation for the skeleton shimmer effect */
  .skeleton-title, .skeleton-date, .skeleton-content, .skeleton-author, .skeleton-button {
    animation: skeleton-loading 1.5s infinite ease-in-out;
  }

  @keyframes skeleton-loading {
    0% {
      background-color: #e0e0e0;
    }
    50% {
      background-color: #d0d0d0;
    }
    100% {
      background-color: #e0e0e0;
    }
  }

    .social-icon {
        font-size: 30px;
        margin-right: 10px;
    }

    .facebook {
        color: #3b5998;
    }

    .facebook:hover {
        color: #2d4373;
    }

    .twitter {
        color: #1da1f2;
    }

    .twitter:hover {
        color: #1a91da;
    }

    .instagram {
        color: #e4405f;
    }

    .instagram:hover {
        color: #c13584;
    }

    .linkedin {
        color: #0077b5;
    }

    .linkedin:hover {
        color: #005582;
    }

/*New Design*/


/* MAIN CONTENT */
.content {
  padding: 40px 10%;
}

.prime-section h1 {
  font-size: 32px;
  color: #003399;
}

.highlight {
  color: #0052cc;
}

.prime-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 30px;
}

.prime-logo {
  width: 180px;
  margin-right: 30px;
}

.prime-text {
  flex: 1;
  min-width: 250px;
}

.blue {
  color: #0052cc;
}

.gray-box {
  background: #f5f5f5;
  padding: 15px 20px;
  border-radius: 6px;
  margin-top: 15px;
}

.gray-box ul {
  margin: 10px 0 0 20px;
}

/* FOUR DOMAINS SECTION */
.four-domains {
  background: #0052cc;
  color: white;
  text-align: center;
  padding: 50px 20px;
}

.four-domains h2 {
  font-size: 26px;
  letter-spacing: 1px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .prime-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .prime-logo {
    margin: 0 0 20px;
  }
}

.domains {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
}

.domain-card {
  background-color: white;
  color: #1a1a1a;
  border-radius: 50%;
  padding: 40px;
  width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.domain-card:hover {
  transform: translateY(-10px);
}

.icon img {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
}

.domain-card h2 {
  font-size: 0.85rem;
  text-align: center;
  color: #004aad;
  font-weight: 600;
  line-height: 1.2;
}


/*RSP Content*/

.rsp-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background: white;
}

.rsp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 40px 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.rsp-left img {
  width: 200px;
}

.rsp-right {
  flex: 1;
  margin-left: 40px;
}

.rsp-right h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.highlight {
  color: #f5b800;
}

.rsp-right p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
}

.buttons {
  margin-top: 25px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  padding: 12px 18px;
  margin-right: 10px;
  transition: 0.3s;
}

.btn.blue {
  color: #0056d2;
}

.btn.dark {
  background: #0056d2;
  color: white;
}

.btn.dark:hover {
  background: #0041a8;
}

.gold {
  color: #f5b800;
}

/* Responsive Design */
@media (max-width: 900px) {
  .rsp-container {
    flex-direction: column;
    text-align: center;
  }

  .rsp-left img {
    margin-bottom: 30px;
  }

  .rsp-right {
    margin-left: 0;
  }
}
