/* General Styles */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#copy-chat {
    display: inline-block;
    cursor: pointer;
}

#download-simplex {
    display: inline-block;
    cursor: pointer;
}

#copy-group {
    display: inline-block;
    cursor: pointer;
}

.paragraph-text {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    text-align: left;
}

/* Container Styles */
.container {
  padding: 1rem;
}

/* Left and Right spacing for About, Jobs, and Contact pages */
.content-container {
  margin-left: 15%;
  margin-right: 15%;
  text-align: justify;
}

/* Navbar Styles */
nav {
  background: #ffffff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #ddd;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 55px;
  margin-right: 10px;
  margin-top: 4px; 
}

.logo span {
  color: #333;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 1.5rem;
}

.nav-links li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #1e73be;
}

/* Hamburger Menu for Smaller Screens */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 1rem 0;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.active .hamburger {
    background: transparent;
  }

  .nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }

  .nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
  }
}

/* Center Image */
.center-image {
  text-align: center;
}

.responsive-image {
  max-width: 100%;
  height: auto;
  width: 30%;
}

.warning {
background-color: #ffe6e6;
color: #993333;
padding: 10px 15px;
border-left: 5px solid #ff6666;
font-family: Arial, sans-serif;
font-size: 16px;
text-align: left;
}

/* Card Styles */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.col-12 {
  width: 100%;
}

.col-md-4 {
  width: calc(33.33% - 1rem);
}

.col-lg-3 {
  width: calc(25% - 1rem);
}

.card {
  border: 1px solid #ddd;
  border-radius: 1px;
  overflow: hidden;
  transition: transform 0.2s;
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.card-body {
  padding: 1rem;
  flex: 1;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.status-container {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

.post-status-timer {
  color: #2ecc71;
  font-family: 'Roboto', sans-serif;
}

.published {
  color: #e74c3c;
  display: none;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #f9f9f9;
  border-top: 1px solid #ddd;
  min-height: 50px;
}

.posted-date {
  flex: 1;
  text-align: left;
  margin: 0;
  font-size: 0.8rem;
}

.button {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: none;
  color: #0f1923;
  cursor: pointer;
  position: relative;
  padding: 8px;
  margin-left: auto;
  margin-right: 0;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  transition: all .15s ease;
  display: none;
}

.button::before,
.button::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  height: calc(50% - 5px);
  border: 1px solid #7D8082;
  transition: all .15s ease;
}

.button::before {
  top: 0;
  border-bottom-width: 0;
}

.button::after {
  bottom: 0;
  border-top-width: 0;
}

.button:active,
.button:focus {
  outline: none;
}

.button:active::before,
.button:active::after {
  right: 3px;
  left: 3px;
}

.button:active::before {
  top: 3px;
}

.button:active::after {
  bottom: 3px;
}

.button_lg {
  position: relative;
  display: block;
  padding: 10px 20px;
  color: #fff;
  background-color: #0f1923;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  background-color: #0f1923;
}

.button_lg::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4px;
  height: 4px;
  background-color: #0f1923;
  transition: all .2s ease;
}

.button_sl {
  display: block;
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -8px;
  width: 0;
  background-color: #ff4655;
  transform: skew(-15deg);
  transition: all .2s ease;
}

.button_text {
  position: relative;
}

.button:hover {
  color: #0f1923;
}

.button:hover .button_sl {
  width: calc(100% + 15px);
}

.button:hover .button_lg::after {
  background-color: #fff;
}

/*Pagination styles */
.pagination-container {
  margin: 1rem auto; /* Reduced margin for a smaller overall size */
  display: flex;
  justify-content: center;
  width: 80%; /* Adjusted width to make the pagination container smaller */
}

.page-numbers {
  display: flex;
  gap: 0.30rem; /* Reduced gap between page numbers */
  flex-wrap: wrap;
  justify-content: center;
}

.page-number {
  padding: 0.25rem 0.75rem; /* Reduced padding for smaller buttons */
  font-size: 0.875rem; /* Smaller text size */
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-number:hover {
  background-color: #e9e9e9;
}

.page-number.active {
  background-color: #0f1923;
  color: white;
  border-color: #0f1923;
}


/* Responsive Design */
@media (max-width: 1000px) {
  .col-md-3 {
    width: calc(33.33% - 1rem);
  }

  .responsive-image {
    width: 50%;
  }
}

@media (max-width: 1200px) {
  .col-md-4 {
    width: calc(33.33% - 1rem);
  }

  .responsive-image {
    width: 40%;
  }
}

@media (max-width: 650px) {
  .col-md-4 {
    width: calc(50% - 1rem);
  }

  .responsive-image {
    width: 80%;
    height: auto;
  }

  .content-container {
    margin-left: 10%;
  }
}

@media (max-width: 800px) {
  .col-md-4 {
    width: calc(50% - 1rem);
  }

  .responsive-image {
    width: 60%;
  }
}

@media (max-width: 600px) {
  .col-md-4 {
    width: calc(85% - 1rem);
  }

  .responsive-image {
    width: 80%;
    height: auto;
  }
}