﻿.news-box-section {
    /*padding: 1px;*/
    background: #f8f8f8;
    /*border-top: 2px solid #0b5db7;*/
    /*border-bottom: 2px solid #0b5db7;*/
}

.news-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: black;
    margin-bottom: 1px;
}

.news-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    justify-items: center;
}

.news-card {
    position: relative; /* Needed to position the red dot correctly */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    width: 300px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #333;
    font-size: 10px;
}

.news-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.live-label {
    position: absolute;
    top: 4px;
    right: 20px;
    font-size: 12px;
    font-weight: bold;
    color: red;
}

.live-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.news-text {
    flex: 1;
    margin-bottom: 1px;
}

.news-heading {
    font-weight: bold;
    margin-bottom: 1px;
}

.news-description {
    font-size: 8px;
    color: #666;
}

.news-card:hover {
    box-shadow: 0 0 10px rgba(0, 91, 187, 0.4);
    transform: scale(1.02);
}

.news-card img {
    width: 80px;
    height: 40px;
    object-fit: cover;
    margin-bottom: 1px;
    border-radius: 2px;
}

.news-card p {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}


.scrolling-news-wrapper {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    padding: 1px 0;
}

.scrolling-news-cards {
    display: inline-flex;
    animation: scrollCards 45s linear infinite;
    gap: 10px;
    height: 75px;
}

@keyframes scrollCards {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.scrolling-news-cards .news-card {
    min-width: 200px;
    white-space: normal;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}


/*for registration page*/
.centers-page {
    width: 300px;
    height: 300px;
    position: absolute;
    top: -40px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.footer-pos {
    width: auto;
    height: auto;
    position: absolute;
    top: 600px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

/*form Registration page*/


.page-wrapper {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    /*height: 100vh;*/
    background: #f0f2f5;
    width: 605px;
    margin-left: 380px;
}

.signup-container {
    width: 650px; /* Fixed width so it doesn't stretch */
    padding: 30px;
    border: 1px solid #ccc;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    background-color: #fff;
    margin-left: 380px;
}

.top-image {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

    .top-image img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #ccc;
    }

.auth-links {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.social-buttons {
    margin-top: 20px;
}

    .social-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }

.form-group {
    margin-bottom: 15px;
}

/*form Registration page end*/

/*footer Starts*/
 .section-titles {
      font-size: 18px;
      font-weight: bold;
      //margin-bottom: 10px;
      text-align: center;
    }
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: #f8f8f8;
  padding: 2px 5px;
}

.footer-column {
  flex: 1 1 300px;
  padding: 2px;
}

.footer-column h4 {
  text-align: center;
}

.footer-input,
.footer-textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.footer-button {
  width: 100%;
  padding: 10px;
  background-color: #444;
  color: white;
  border: none;
  border-radius: 4px;
}

.map-section {
  /*padding: 15px;*/
  background-color: #f8f8f8;
  /*border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-top: 10px;*/
}

.map-section h4 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 18px;
}

.map-container {
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto;
  max-width: 100%;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  background-color: #f8f8f8;
  padding: 10px;
}

/*footer Ends*/

/*chat bot start*/
#chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 9999;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 10px;
    display: flex;
    align-items: center;
}

#chat-icon img {
    height: 40px;
    margin-right: 10px;
}

#chat-icon span {
    font-weight: bold;
}

#chat-popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    z-index: 10000;
    padding: 15px;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 10px;
}

.chat-body input,
.chat-body textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.chat-body button {
    width: 100%;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}
/*chatbot Ends*/
.dual-section {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: center;
      max-width: 955px;
      margin: 20px;
    }

    .section-column {
      flex: 1 1 45%;
    }

    .section-title {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .grid-section {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 20px;
    }

    .card {
      background: #fff;
      border-radius: 6px;
      padding: 15px;
      border: 1px solid #ddd;
      text-align: center;
      cursor: pointer;
      transition: 0.3s;
    }

    .card:hover {
      box-shadow: 0 0 10px rgba(0,123,255,0.4);
      transform: scale(1.02);
    }

    @media (max-width: 768px) {
      .dual-section {
        flex-direction: column;
      }
    }
    .section-column {
      flex: 1 1 45%;
      border: 2px solid #ccc;
      padding: 15px;
      border-radius: 10px;
      background-color: #fff;
    }

    .section-title {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 10px;
      text-align: center;
    }
