/*START: GENERAL*/
body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 90%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 5px;
}

a {
  color: #007BFF;
  font-size: 18px;
}

.dropdown-menu {
  background-color: #2c2c2c !important; 
}

.dropdown-item {
  color: white !important; 
}

.logo-container {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.animated-logo {
  width: 100%;
  height: auto;
  animation: logo-spin 4s infinite ease-in-out;
  transition: transform 0.3s ease;
}

.animated-logo:hover {
  transform: scale(1.1);
}


td, thead {
   text-align: center;   
}

td, th {
    vertical-align: middle;   
    text-align: center;
    padding: 10px;
}

.table-striped tbody tr {
    height: 50px; /* Ensure minimum row height for better appearance */
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="number"] {
    width: 97%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.ul-div {
    margin: 10px;
}

label {
  text-align: center;
}

.btn-primary {
  background-color: #007BFF;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.centered-ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.centered-ul .ul-div {
  margin: 10px;
}

.contact-info {
padding: 2.3rem 2.2rem;
position: relative;
}

.text {
  color: #333;
  margin: 1.5rem 0 2rem 0;
}

.information {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #fff; /* Set text color to white */
  gap: 10px; /* Add spacing between the icon and text */
  padding: 10px; /* Add padding around the div for better spacing */
}

.information i {
  font-size: 1.2rem; /* Slightly increase the sizez of the icon */
}

.information p {
  margin: 0; /* Remove any default margin from the paragraph */
}

.social-media {
  padding: 2rem 0 0 0;
}

.social-media p {
  color: #333;
}

.social-icons {
  margin-top: 0.5rem;
}

.social-icons a {
  width: 35px;
  height: 35px;
  justify-content: center;
  align-items: center;
}

.social-icons a:hover {
  transform: scale(1.05);
}

.social-media {
  padding: 1.5rem 0 0 0;
}

.text,
.information,
.social-media p {
  font-size: 0.8rem;
}

.social-icons i {
  top: calc(50% - 180px);
  left: calc(50% - 180px);
}

.icon {
  width: 23px;
}

.text-muted {
    color: #6c757d !important;
}

.bi-check {
    color: green;
}

.bi-x {
    color: red;
}

.bg-dark {
    background-color: #212529 !important;
}

.bg-light {
    background-color: #343a40 !important;
}

.btn {
  border-radius: 50px;
  padding: 10px 20px;
}

.btn-outline-primary {
  background-color: transparent;
  border: 2px solid #007BFF;
  color: #007BFF;
}

.btn-outline-primary:hover {
  background-color: #007BFF;
  color: #fff;
}

.btn-primary {
  background-color: #007BFF;
  border: none;
  color: #fff;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.pricing-card-title {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.text-muted {
  color: #6c757d !important;
}

@media only screen and (max-width: 767px) {
  .container {
    padding: 10px;
  }
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    input[type="text"],
    input[type="number"] {
        padding: 8px;
        margin-bottom: 8px;
    }
}

@media (max-width: 767px) {
  .dark-mode {
    display: flex;
    flex-direction: column;
  }

  .sidebar {
    margin-bottom: 20px;
    width: 100%;
  }

  .main-content {
    width: 100%;
  }

  .ul-div {
    text-align: center;
  }

  .ul-div h5,
  .ul-div p {
    margin-bottom: 5px;
  }

  .container {
    max-width: 100%;
    padding: 10px;
    max-width: none;
  }

  .centered-ul {
    flex-wrap: wrap;
  }

  .centered-ul .ul-div {
    flex: 0 0 100%;
  }

  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .messaging-container {
    flex-direction: column;
  }

  .user-list, .chat-container {
    width: 100%;
  }

  .message-list {
    height: 300px;
  }

  #sidebar {
    display: none;
  }
  #content {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .navbar-nav.ml-auto {
    flex-direction: row;
  }
  .navbar-nav.ml-auto .nav-item {
    margin-left: 5px;
  }
}

.btn-animate {
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}

.btn-animate:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.4s;
}

.btn-animate:hover:before {
  left: 100%;
}

/*END: GENERAL */


/*START: FORM*/
.form-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #373b3e;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-label {
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-control-file {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-section {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.form-floating {
    margin-bottom: 1rem;
}

.form-floating label {
    color: #6c757d;
}

.was-validated .form-control:valid, 
.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2328a745' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='8' stroke-width='2'/%3e%3cpath stroke='%2328a745' d='M6 8.5l1.5 1.5 3.5-3.5' stroke-width='2'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(1.5em + 0.75rem) calc(1.5em + 0.75rem);
}

.was-validated .form-control:invalid, 
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23dc3545' viewBox='0 0 16 16'%3e%3ccircle cx='8' cy='8' r='8' stroke-width='2'/%3e%3cpath stroke='%23dc3545' d='M6 6l4 4m0-4l-4 4' stroke-width='2'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(1.5em + 0.75rem) calc(1.5em + 0.75rem);
}
/*END: FORM */


.form-control {
    margin-bottom: 1rem;
}
.spinner-border {
    display: none;
}
.btn-success .spinner-border {
    display: inline-block;
}

.btn-success:disabled {
    cursor: not-allowed;
}

/*START: DARK MODE*/
.dark-mode {
    background-color: #121212;
    color: #ffffff;
}
/*END: DARK MODE */


/* START: BLOG */
pre {
    margin: 20px 0; /* Adjust the margin as needed */
    padding: 10px;  /* Optional: Add padding inside the <pre> block */
    background-color: #7B7B7B; /* Change this color to your preferred background color */
    border: 1px solid #7B7B7B; /* Optional: Add a border to make the code block more distinct */
    border-radius: 5px; /* Optional: Round the corners of the border */
    overflow-x: auto; /* Optional: Add horizontal scrolling if the code is too wide */
    color: black;
}
/* END: BLOG */

/* START: NAVBAR */
.navbar-nav .nav-item {
    margin-left: 5px;
}

.navbar-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 15px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.nav-link {
    padding: 10px 20px;
    border-radius: 25px;
    color: black;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #0056b3;
    transform: translateY(-2px);
}

.nav-link i {
    margin-right: 5px;
    color: #0d6efd;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2);
}

.d-flex .btn-outline-primary {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.d-flex .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
}

.navbar-brand {
    font-size: 1.4rem;
}

.custom-navbar {
    color: grey;
    background-color: transparent;
    padding: 5px 15px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.custom-navbar.scrolled {
    background-color: transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.custom-navbar .navbar-brand {
    font-size: 1.6rem;
    font-weight: bold;
    color: #f8f9fa;
    transition: color 0.3s ease;
}

.custom-navbar .navbar-brand:hover {
    color: red;
}

.custom-navbar .brand-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.custom-navbar .nav-link {
    color: #f8f9fa;
    font-size: 0.95rem;
    padding: 8px 12px;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-navbar .nav-item .cta:hover {
    background-color: #CE0E0E;
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 0, 19, 0.5);
}

.custom-navbar .nav-item .cta {
    background-color: #ff0019;
    color: #fff;
    font-weight: bold;
    border-radius: 25px;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .cta-login {
    background-color: #0066cc;
    color: white;
    font-weight: bold;
    border-radius: 25px;
    padding: 8px 16px;
    margin-left: 10px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
}

.navbar-nav .cta-login:hover {
    background-color: #004c99;
    color: white;
    transform: translateY(-2px) scale(1.05);
}

.navbar-nav .cta-signup {
    background-color: #ff4500;
    color: white;
    font-weight: bold;
    border-radius: 25px;
    padding: 8px 16px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(255, 69, 0, 0.2);
}

.navbar-nav .cta-signup:hover {
    background-color: #e03d00;
    color: white;
    transform: translateY(-2px) scale(1.05);
}

@media (max-width: 768px) {
    .navbar-nav .cta-login,
    .navbar-nav .cta-signup {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    .navbar-nav {
        text-align: center;
    }

    .custom-navbar .nav-link {
        margin: 5px 0;
    }

    .custom-navbar .cta {
        margin-top: 10px;
    }
}

.navbar-toggler-icon {
    border: 1px solid #f8f9fa;
    border-radius: 5px;
}

.navbar-toggler-icon:hover {
    background-color: #ffd700;
}
/* END: NAVBAR */


/* START: CARD */
.card-img-top {
    width: 100%;
    height: 400px;
    margin: 0 auto;
    object-fit: cover;
}

.card {
  border: none;
  border-radius: 10px;
  transition: transform 0.3s ease;
}


.card-header {
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.card-title {
  font-size: 2rem;
  margin: 0;
}

.card-text {
  font-size: 1.2rem;
  color: #666;
}
/* END: CARD */


.text-reset {
    text-decoration: none;
}