/* ========== Container ========== */
.container {
  max-width: 1500px;
  margin: 0 auto;
}

/* ========== Navbar ========== */
#navbarNav {
  padding: 20px 25px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 3px;
  justify-content: space-between;
}

/* ========== Card ========== */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card img {
  height: 207px;
  width: 100%;
  object-fit: cover;
}

.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

h5.fw-bold.mb-2.text-primary {
  color: black !important;
}

h6.card-title.fw-bold.mb-1 {
  color: #FF6501;
}

p.card-text.small.text-muted {
  font-size: 15px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: #3F8F9E !important;
}

/* ========== Buttons ========== */
.card-body .btn,
button.btn.me-2,
.btn.logout {
  background: linear-gradient(90deg, #EE5183 0%, #852A47 100%);
  color: #fff;
  border: none;
}

button.btn.ms-2.me-2.mb-2.mb-lg-0,
button.btn.register {
  background: linear-gradient(90deg, #31baa2 2.52%, #0c999d 94.96%) !important;
  color: #fff !important;
}

.card-body .btn:hover,
.btn:hover {
  background: linear-gradient(90deg, #31baa2 2.52%, #0c999d 94.96%);
  color: #fff;
}

/* ========== Badges ========== */
span.badge.bg-info.small,
span.badge.bg-info.small.industry,
span.badge.bg-info.small.technology {
  background-color: #0056b3 !important;
  color: #fff;
  padding: 6px;
}

span.badge.rounded-pill.px-3.py-2.text-dark {
  background: linear-gradient(90deg, #31baa2 2.52%, #0c999d 94.96%) !important;
  color: #fff !important;
}

span.badge.text-light.small {
  background: #009CA6;
}

/* ========== Post Thumbnail ========== */
.post-thumbnail {
  text-align: center;
}

.post-thumbnail img {
  max-width: 615px;
  width: 100%;
  height: 300px;
}

/* ========== Modal ========== */
.modal-dialog {
  max-width: 400px;
  margin: 1.75rem auto;
}

/* ========== Login Form ========== */
#loginform label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

#loginform input[type="text"],
#loginform input[type="password"] {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

#loginform input[type="submit"] {
  width: 100%;
  padding: 10px;
  background: #007bff;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

#loginform input[type="submit"]:hover {
  background: #0056b3;
}

#loginform input[type="checkbox"] {
  margin-right: 5px;
}

#loginform .login-remember a {
  color: #007bff;
  text-decoration: none;
}

#loginform .login-remember a:hover {
  text-decoration: underline;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .desktop_display {
    display: none;
  }

  .mobile_display {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .mobile_display a.custom-logo-link img {
    width: 100px;
    height: 50px;
  }

  nav.navbar {
    margin-bottom: 25px;
  }

  .flex-wrap {
    width: 100%;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .align-items-center button {
    width: 100%;
  }

  footer#colophon {
    margin-top: 25px;
  }
}

@media (min-width: 992px) {
  .mobile_display {
    display: none;
  }

  .align-items-center {
    width: 65%;
  }

  .align-items-center input,
  .align-items-center select {
    width: 21%;
  }

  footer#colophon {
    margin-top: 50px;
  }
}

/* ========== Card Animation ========== */
.project-list-items .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-list-items:hover .card {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-list-items .btn-primary {
  background-color: #007bff;
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.project-list-items .btn-primary:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* ========== Glow Border ========== */
.glow-border {
  position: relative;
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(130deg, #A07CFE, #FE8FB5, #FFBE7B) border-box;
  border-radius: 12px;
  padding: 20px;
  animation: shine-glow 5s ease-in-out infinite;
}

@keyframes shine-glow {
  0% { box-shadow: 0 0 3px rgba(160, 124, 254, 0.5); }
  50% { box-shadow: 0 0 14px rgba(254, 143, 181, 0.7); }
  100% { box-shadow: 0 0 3px rgba(255, 190, 123, 0.5); }
}

.glow-border .form-control {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px 12px;
  font-size: 15px;
}

.glow-border .form-label {
  font-weight: 500;
  color: #333;
}

.glow-border .btn {
  border-radius: 8px;
  font-weight: 600;
}

/* ========== Single Page Styles ========== */
.hero-banner {
  position: relative;
  height: 220px;
  background: linear-gradient(to right, #1eb7b5, #3b4553);
  color: white;
  display: flex;
  justify-content: center;
}

.hero-banner h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-top: 20px;
}

.post-wrapper {
  margin-top: -100px;
  position: relative;
}

.post-content {
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  font-size: 16px;
  line-height: 1.7;
  color: #212529;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  font-size: 22px;
  font-weight: 600;
}

.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

.highlighted-text {
  background-color: #ffeeba;
  color: #856404;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.meta-box {
  font-size: 0.9rem;
  color: #6c757d;
}
.feature-block {
    background: #f8f9fa;
    border-left: 5px solid #0d6efd;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}
/* ========== Gallery ========== */
.gallery-wrapper .gallery-item {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-wrapper .gallery-item:hover {
  transform: scale(1.05);
  z-index: 2;
}

.gallery-wrapper .gallery-item .gallery-image {
  border-radius: 12px;
  transition: 0.3s ease;
}

.gallery-wrapper .gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 2rem;
  border-radius: 12px;
  transition: 0.3s ease;
}

.gallery-wrapper .gallery-item:hover .overlay {
  opacity: 1;
}




