.btn-info,
.btn-info:hover {
  background-color: #b8895e !important;
  border-color: #b8895e !important;
}

.container-box {
  display: inline-block;
  padding: 0px;
  background-color: #b8895e;
  border-radius: 10px solid #fff;
  color: black;
  position: fixed;
  top: 85%;
  left: 5%;
  z-index: 99;
}

.visit {
  display: inline-block;
  padding: 0px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1px solid #fff;
  position: fixed;
  top: 45%;
  left: 0;
  z-index: 99;
}

.container-box .btn-lg {
  padding: 5px 14px;
  color: black;
}

.modal-content {
  background: #b8895e;
}

.rotated {
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -webkit-transform: rotate(0deg);
  transform-origin: top left;
}

.color-fill .modal-title {
  color: #fff;
}

@media (max-width: 767px) {
  .container-box .btn-lg {
    padding: 1px 14px;
  }

  .visit {
    top: 41%;
  }
}

.project-table table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
  border: 1px solid #e9e9e9;
  line-height: 1.4;
  padding: 4px;
  vertical-align: middle;
  text-align: center;
}

.project-table > tr > span {
  color: #737373;
  font-size: 18px;
}

#social p,
.twitter {
  font: normal normal 10px Arial;
  text-align: center;
  color: #998578;
  text-transform: uppercase;
  letter-spacing: 3px;
}

#social .twitter {
  color: #000000;
  text-decoration: none;
  display: block;
  padding: 14px;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

#social .twitter:hover {
  color: #ff7d6d;
  text-decoration: none;
}

.twit {
  background: #b8895e !important;
}

#social span {
  font-style: italic;
  display: block;
}

#social img {
  max-width: 100%;
}

/* Floating Social Media Bar Style Starts Here */

#social .fl-fl {
  background: #b8895e;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 4px;
  width: 190px;
  position: fixed;
  right: -145px;
  z-index: 1000;
  font: normal normal 10px Arial;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

#social .fl-tw {
  background: #23a1f4;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 4px;
  width: 190px;
  position: fixed;
  right: -160px;
  z-index: 1000;
  font: normal normal 10px Arial;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

#social .fa {
  font-size: 20px;
  color: #fff;
  padding: 10px 0;
  width: 40px;
  margin-left: 8px;
}

#social .fl-fl:hover {
  right: -52px;
}

#social .fl-fl a {
  color: #fff !important;
  text-decoration: none;
  text-align: center;
  line-height: 43px !important;
  vertical-align: top !important;
}

.width100 {
  width: 100%;
  font-size: 13px;
  padding: 4px 2px;
}

/*#social .float-fb {*/
/* top: 160px;*/
/*}*/

@media (min-width: 577px) {
  #social .float-fb {
    top: 160px;
  }

  #social .float-tw {
    top: 215px;
  }
}

@media (max-width: 576px) {
  #social .float-fb {
    top: none;
    bottom: 0px !important;
    left: 0px !important;
    width: 50% !important;
  }

  #social .float-tw {
    top: none;
    bottom: 0px !important;
    right: 0px !important;
    width: 50% !important;
  }
}

@media (min-width: 768px) {
  .fill {
    float: right;
  }
}

@media (max-width: 767px) {
  #form .col-sm-6 {
    text-align: center;
    padding: 3px;
  }
}

.Management-q {
  text-align: center;
  background: url(../images/loan_bg.jpg);
  padding: 30px;
}

.Management-q .booking button {
  padding: 20px 10px;
  color: white;
  font-size: 20px;
  border: 1px solid black;
  background: linear-gradient(-45deg, #ee7752, #a4b833, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 3s ease infinite;
  border-radius: 10px;
  font-weight: 500;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
    transform: translateX(0);
  }

  50% {
    background-position: 100% 50%;
    transform: translateX(15px);
  }

  75% {
    background-position: 0% 50%;
    transform: translateX(-15px);
  }

  100% {
    background-position: 0% 50%;
    transform: translateX(0px);
  }
}

.Management-q {
  text-align: center;
  background: url(../images/loan_bg.jpg);
  padding: 30px;
}

.Management-q .booking button {
  padding: 20px 10px;
  color: white;
  font-size: 20px;
  border: 1px solid black;
  background: linear-gradient(-45deg, #ee7752, #a4b833, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 3s ease infinite;
  border-radius: 10px;
  font-weight: 500;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
    transform: translateX(0);
  }

  50% {
    background-position: 100% 50%;
    transform: translateX(15px);
  }

  75% {
    background-position: 0% 50%;
    transform: translateX(-15px);
  }

  100% {
    background-position: 0% 50%;
    transform: translateX(0px);
  }
}

/* Management-q  */

.Management-q .booking button:hover {
  animation-play-state: paused;
  background-color: black;
  color: white;
}

.Management-q {
  text-align: center;
  background: url(../images/loan_bg.jpg);
  padding: 30px;
}

.Management-q .booking button {
  padding: 20px 10px;
  color: white;
  font-size: 20px;
  border: 1px solid black;
  background: linear-gradient(-45deg, #ee7752, #a4b833, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 3s ease infinite;
  border-radius: 10px;
  font-weight: 500;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
    transform: translateX(0);
  }

  50% {
    background-position: 100% 50%;
    transform: translateX(15px);
  }

  75% {
    background-position: 0% 50%;
    transform: translateX(-15px);
  }

  100% {
    background-position: 0% 50%;
    transform: translateX(0px);
  }
}

.Management-q .booking button:hover {
  animation-play-state: paused;
  background-color: black;
  color: white;
}

/* Price List Table Styles  */

.dg-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 30px 0;
}

.dg-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1200px;
  background: #ffffff;
}

.dg-table th,
.dg-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
  font-size: 14px;
}

.dg-table th {
  background-color: #f5f5f5;
  font-weight: 600;
}

.apply-btn {
  background: linear-gradient(135deg, #ab7443, #f9f9f9);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  animation: pulseShake 2s infinite;
  transition: all 0.3s ease;
}

/* Hover par animation stop */
.apply-btn:hover {
  animation-play-state: paused;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .dg-table th,
  .dg-table td {
    font-size: 12px;
    padding: 8px;
  }
}

.dg-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 60px auto;
  padding: 0 100px; /* LEFT & RIGHT GAP */
  box-sizing: border-box;
}

.dg-table {
  width: 100%;
  min-width: 1200px; /* important for scroll */
  border-collapse: collapse;
  background: #ffffff;
}

@media (max-width: 768px) {
  .dg-table-wrapper {
    padding: 0 10px;
  }

  .dg-table {
    min-width: 1000px; /* mobile scroll enable */
  }
}
@keyframes pulseShake {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.05) rotate(1deg);
  }
  20% {
    transform: scale(1.05) rotate(-1deg);
  }
  30% {
    transform: scale(1.05) rotate(1deg);
  }
  40% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
.dg-table tbody tr:hover {
  background-color: #f9f9f9;
}

/* TCP haryana Rerra Details  */
.project-view-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 12px;
}

.project-header h2 {
  margin: 0;
  font-weight: 600;
}

.go-back {
  color: #1a73e8;
  text-decoration: none;
  font-size: 14px;
}

.project-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
  margin-top: 30px;
}

.info-row {
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.label {
  min-width: 220px;
  color: #555;
}

.colon {
  color: #888;
}

.value {
  color: #222;
}

/* RERA / Legal Highlight */
.rera .label,
.rera .value {
  font-weight: 700;
  color: #000;
}

.project-description {
  margin: 30px 0;
  line-height: 1.7;
  color: #333;
}

.project-description strong {
  font-weight: 700;
}

.important-note {
  background: #f9f9f9;
  padding: 15px;
  border-left: 4px solid #ff9800;
  font-size: 14px;
  margin-bottom: 30px;
}

/* Mobile */
@media (max-width: 768px) {
  .project-info-grid {
    grid-template-columns: 1fr;
  }

  .label {
    min-width: auto;
    font-weight: 600;
  }
}

/* Default (Desktop) */
.value {
  white-space: nowrap; /* same line on desktop */
}

/* Mobile only */
@media (max-width: 768px) {
  .value {
    white-space: normal; /* allow line break */
    word-break: break-word;
  }
}
