body {
  background-color: #f0efef;
  color: #333;
  padding-top: 40px; /* adjust based on navbar height */
}

.navbar-custom {
    background-color: #fff; /* Replace with your color */
}

/* Also change text colors for navbar links if needed */
.navbar-custom .navbar-nav .nav-link {
    color: #07396e; /* Your text color */
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #07396e; /* Hover color */
}

.navbar-custom .navbar-brand {
    color: #07396e; /* Brand color */
}

.navbar-custom .navbar-brand:hover {
    color: #07396e;
}

/* Dropdown menu background and links */
.navbar-custom .dropdown-menu {
    background-color: #ffffff; /* Same as navbar bg or darker */
}

.navbar-custom .dropdown-item {
    color: #07396e;
}


.navbar-toggler {
  background-color: #ffffff; /* Your custom background color */
  border-radius: 4px;
  padding: 0.2rem 0.2rem;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.038); /* nice focus ring */
}




.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 86, 179)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 550px;
    background-color: #eeeeee;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    justify-content: center;
    margin: 20px auto;
  }

  
  .title {
    font-size: 28px;
    color: royalblue;
    font-weight: 600;
    letter-spacing: -1px;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 30px;
  }
  
  .title::before,.title::after {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    border-radius: 50%;
    left: 0px;
    background-color: royalblue;
  }
  
  .title::before {
    width: 18px;
    height: 18px;
    background-color: royalblue;
  }
  
  .title::after {
    width: 18px;
    height: 18px;
    animation: pulse 1s linear infinite;
  }
  
  .message, .signin {
    color: rgba(88, 87, 87, 0.822);
    font-size: 14px;
  }
  
  .signin {
    text-align: center;
  }
  
  .signin a {
    color: royalblue;
  }
  
  .signin a:hover {
    text-decoration: underline royalblue;
  }
  
  .flex {
    display: flex;
    width: 100%;
    gap: 6px;
  }
  
  .form label {
    position: relative;
  }
  
  .form label .input {
    width: 100%;
    padding: 10px 10px 20px 10px;
    outline: 0;
    border: 1px solid rgba(105, 105, 105, 0.397);
    border-radius: 10px;
  }
  
  .form label .input + span {
    position: absolute;
    left: 10px;
    top: 15px;
    color: grey;
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
  }
  
  .form label .input:placeholder-shown + span {
    top: 15px;
    font-size: 0.9em;
  }
  
  .form label .input:focus + span,.form label .input:valid + span {
    top: 30px;
    font-size: 0.7em;
    font-weight: 600;
  }
  
  .form label .input:valid + span {
    color: green;
  }
  
  .submit {
    border: none;
    outline: none;
    background-color: #2e4dac;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transform: .3s ease;
  }
  
  .submit:hover {
    background-color: rgb(56, 90, 194);
  }
  
  @keyframes pulse {
    from {
      transform: scale(0.9);
      opacity: 1;
    }
  
    to {
      transform: scale(1.8);
      opacity: 0;
    }
  }

  .form-container {
    width: 550px;
    height: 500px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 20px 30px;
    margin: 20px auto;
  }
  
  .title {
    text-align: center;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
          "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
    margin: 10px 0 30px 0;
    font-size: 28px;
    font-weight: 800;
  }
  
  .form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 15px;
  }
  
  .input {
    border-radius: 20px;
    border: 1px solid #c0c0c0;
    outline: 0 !important;
    box-sizing: border-box;
    padding: 12px 15px;
    margin-bottom: 20px;
  }

  .form-btn {
    
    padding: 10px 15px;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
          "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
    border-radius: 20px;
    border: 0 !important;
    outline: 0 !important;
    background: #092f81;
    color: white;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  }
  .form-btn:hover
{
  background: #303030;
  color: #fff;
}  
  
  .form-btn:active {
    box-shadow: none;
  }
  
  .sign-up-label {
    margin: 0;
    font-size: 10px;
    color: #747474;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
          "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  }
  
  .sign-up-link {
    margin-left: 1px;
    font-size: 11px;
    text-decoration: underline;
    color: #092f81;
    cursor: pointer;
    font-weight: 800;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
          "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  }
  
  .buttons-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 20px;
    gap: 15px;
  }
  
  .apple-login-button,
      .google-login-button {
    border-radius: 20px;
    box-sizing: border-box;
    padding: 10px 15px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
          rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
          "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
    font-size: 11px;
    gap: 5px;
  }
  
  .apple-login-button {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
  }
  
  .google-login-button {
    border: 2px solid #747474;
  }
  
  .apple-icon,
      .google-icon {
    font-size: 18px;
    margin-bottom: 1px;
  }
  .error {
color: red;
 }
.success
{
  color: green;
}
.theme
{
  color: #24292e;
}
h1 {
  background: linear-gradient(94.23deg,#9eb1fc 12.41%,#fd9179 52.55%,#ff6969 89.95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-post {
  background: #fff;
  padding: 20px;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.blog-description {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.blog-meta {
  font-size: 18px;
  color: #888;
  display: block;
  margin-top: 10px;
}
/* Blog Actions Styling */
.blog-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* Edit Button */
.edit-link {
  text-decoration: none;
  background-color: #007bff;
  color: white;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;

}

.edit-link:hover {
  background-color: #07396e;
  color: #fff;
  text-decoration: none;
}

/* Delete Button */
.delete-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;

}

.delete-btn:hover {
  background-color: #b02a37;
}

/* Delete Form */
.delete-form {
  display: inline-block;
  margin: 0;
}
/* 
.blog-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.edit-link {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
}

.delete-form {
  display: inline;
}

.delete-btn {
  background: none;
  border: none;
  color: red;
  font-size: 14px;
  cursor: pointer;
}

.delete-btn:hover {
  text-decoration: underline;
} */

.no-blogs {
  text-align: center;
  font-size: 16px;
  color: #666;
}
.navbar-brand {
  font-size: 20px;
  font-weight: bold;
}

.navbar .dropdown-menu {
  min-width: 180px;
}

.navbar .dropdown-menu a {
  font-size: 14px;
}

.navbar .dropdown-menu a.text-danger {
  font-weight: bold;
}

.profile-container {
  max-width: 600px;
  margin: auto;
}
.profile-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin: 30px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.settings-container {
  max-width: 600px;
  margin: 30px;
}
.form-group {
  margin-bottom: 15px;
  
}
/* .blog-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
} */

.blog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* horizontal and vertical gap between cards */
  justify-content: center; /* center cards on wider screens */
  padding: 0 10px; /* some horizontal padding */
}

.blog-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  
  /* Make cards responsive */
  flex: 1 1 300px; /* grow, shrink, base width */
  max-width: 350px;
  min-width: 280px;
  min-height: 340px;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #333;
}

.blog-card .card-text {
  flex-grow: 1;
  color: #555;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.blog-card small {
  color: #777;
  font-size: 0.85rem;
}

.blog-card .btn-group {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-container {
    justify-content: center;
    gap: 15px;
  }
  
  .blog-card {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: auto;
    min-height: auto;
  }
}


.blog-card-custom {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 350px; /* desktop width */
  min-height: 340px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  margin-bottom: 20px; /* default vertical space for mobile */
}

/* For desktop/tablet screens */
@media (min-width: 768px) {
  .blog-card-custom {
    margin: 0 10px 20px 10px; /* horizontal + vertical gap */
  }
}

/* For small mobile screens */
@media (max-width: 767px) {
  .blog-card-custom {
    width: 100%; /* full width for mobile */
    margin-bottom: 15px; /* vertical gap */
  }
  .blog{
    gap: 30px;
  }
}


.blog-image-custom {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-content-custom {
  padding: 15px;
}

.blog-title-custom {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
}

.blog-description-custom {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #555;
}

.blog-meta-custom {
  font-size: 0.8rem;
  color: #777;
}

.blog-actions-custom {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

/* Optional: Better button alignment */
.blog-actions-custom form {
  display: inline;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 40px;
    gap: 8px;
    flex-wrap: wrap;
}

.page-number {
    display: inline-block;
    padding: 8px 14px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0;
    transition: background-color 0.2s ease;
}

.page-number:hover {
    background-color: #3d80d8;
    text-decoration: none;
}

.page-number.active {
    background-color: #007bff;
    color: white;
    cursor: default;
}

.page-dots {
    display: inline-block;
    padding: 8px 14px;
    color: #888;
    font-weight: bold;
}

/* .pagination .page-item a {
    padding: 6px 12px;
    margin: 0 3px;
    transition: 0.2s ease-in-out;
}

.pagination .page-item.active a {
    background-color: #007bff;
    color: white;
}

.pagination .page-item a:hover {
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
}
.pagination .page-link {
    border-radius: 0 !important;
} */

.sidebar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}

.sidebar h5 {
    margin-top: 20px;
}

.sidebar a {
    text-decoration: none;
}


.sidebar .badge {
    font-size: 0.8rem;
    padding: 5px 10px;
    background: #07396e;
    color: white;
    gap: 10px;
    margin: 5px 5px 0 0; 
}

.recent{
  margin-left: 8px;
}
.comment
{
  color: #777;
}
.blog-image-full {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.blog-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
    color: #444;
}

.comment {
    border-left: 3px solid #007bff;
}

.badge {
    margin-right: 5px;
}
.btn create-blog{
  background-color: #5facff;
  color: #fff;
}
.create-blog:hover{
  background-color: #07396e;
  color: #fff;
}

.create-blog-header h4{
  color: #007bff;
  margin-bottom: 30px;
  text-align: center;
  opacity: 0.4;
  font-size: 30px;
}
.create-blog {
  background-color: #007bff; /* Blue background */
  color: white;              /* White text */
  border: none;              /* Remove border */
  padding: 10px 20px;        /* Size */
  border-radius: 5px;        /* Rounded corners */
  font-weight: bold;         /* Bold text */
  transition: background-color 0.3s ease;
}

.create-blog:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

.flash-message {
    font-weight: 500;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 15px;
    transition: opacity 0.5s ease-out;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.footer-modern {
  background-color: #1a1a1a;
  color: #f5f5f5;
}
.footer-modern h5, 
.footer-modern h6 {
  color: #fff;
}
.footer-modern ul li {
  margin-bottom: 8px;
}
.footer-modern a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-modern a:hover {
  color: #00aced;
}
.footer-modern .social-links a {
  font-size: 1.2rem;
  margin-right: 15px;
  color: #b0b0b0;
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-modern .social-links a:hover {
  color: #00aced;
  transform: translateY(-3px);
}
.footer-modern hr {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.bg-secondary{
  background-color: #6a666615;
  color: #fff;
}