  * {
  box-sizing: border-box;
}
form.search input[type=text] {
  font-size: 15px;
  border: 1px solid grey;
  float: left;
  width: 80%;
  background: #f1f1f1;
}
form.search button {
  float: left;
  width: 20%;
  background: #333;
  color: white;
  font-size: 15px;
  border: 1px solid grey;
  border-left: none;
  cursor: pointer;
}
form.search button:hover {
  background: #222;
}
form.search::after {
  content: "";
  clear: both;
  display: table;
}
  body {
      font: 400 15px/1.8 Lato, sans-serif;
      color: #777;
  }
  h3, h4 {
      margin: 10px 0 30px 0;
      letter-spacing: 5px;      
      font-size: 20px;
      color: #111;
  }
  .container {
      padding: 5% 8%;
      align-content: center;
  }
  .person {
      border: 10px solid transparent;
      margin-bottom: 25px;
      width: 60%;
      height: 60%;
      opacity: 0.7;
  }
  .person:hover {
      border-color: #f1f1f1;
  }
  .carousel-inner img {
      /*-webkit-filter: grayscale(90%);
      filter: grayscale(90%);*/ /* make all photos black and white */ 
      width: 100%; /* Set width to 100% */
      margin: auto;
      padding: 0px;
      /*width: 100%;position:relative;line-height:1; height: 250px;*/
  }
  .carousel-caption h3 {
      color: #fff !important;
  }
  @media (max-width: 600px) {
    .carousel-caption {
      display: none; /* Hide the carousel text when the screen is less than 600 pixels wide */
    }
  }
  .bg-1 {
      background: #2d2d30;
      color: #bdbdbd;
  }
  .bg-1 h3 {color: #fff;}
  .bg-1 p {font-style: italic;}
  .bg-2 {
    background: #FFFFFF;
  }
  .list-group-item:first-child {
      border-top-right-radius: 0;
      border-top-left-radius: 0;
  }
  .list-group-item:last-child {
      border-bottom-right-radius: 0;
      border-bottom-left-radius: 0;
  }
  .thumbnail {
      padding: 0 0 15px 0;
      border: none;
      border-radius: 0;
  }
  .thumbnail p {
      margin-top: 15px;
      color: #555;
  }
  .btn {
      padding: 10px 20px;
      background-color: #333;
      color: #f1f1f1;
      border-radius: 0;
      transition: .2s;
  }
  .btn:hover, .btn:focus {
      border: 1px solid #333;
      background-color: #fff;
      color: #000;
  }
  .row {
    width: 100%;
    margin: 2%;
    align-items: center;
  }
  /*.btn-search {
    background-color: #333;
    width: 35px;
    height: 35px;
    padding: auto;
    margin: auto;
    text-align: center;
    align-items: center;
    border-radius: 0;
    transition: .2s;
  }
  .search {
    align-items: center;
    text-align: center;
  }
  .btn-search:hover, .btn-search:focus {
      border: 1px solid #333;
      background-color: #fff;
      color: #000;
  }*/
  .modal-header, h4, .close {
      background-color: #333;
      color: #fff !important;
      text-align: center;
      font-size: 30px;
  }
  .modal-header, .modal-body {
      padding: 40px 50px;
  }
  .nav-tabs li a {
      color: #777;
  }
  .container-fluid {
    font-family: Montserrat, sans-serif;
    background-color: #990438;
    font-size: 11px !important;
    letter-spacing: 4px;
      
  }
  .navbar {
      margin-bottom: 0;      
      border: 0;
      margin: auto;
      opacity: 0.9;
  }
  .navbar li a, .navbar .navbar-brand { 
      color: #d5d5d5 !important;
      
  }
  .navbar-nav li a:hover {
      color: #fff !important;
  }
  .navbar-nav li.active a {
      color: #fff !important;
      background-color: #7a7522 !important;
  }
  .navbar-default .navbar-toggle {
      border-color: transparent;
  }
  .open .dropdown-toggle {
      color: #fff;
      background-color: #555 !important;
  }
  .dropdown-menu li a {
      color: #000 !important;
  }
  .dropdown-menu li a:hover {
      background-color: red !important;
  }
  /*.search_bar {
      min-width: 20%;
      max-width: 20%;
      padding: 8px;
      margin: auto;
    }
    .search_bar span{
      background-color: #FFF;
  }
  .search_bar input{
      border-right-style:none;
  }*/
  footer {
      background-color: #2d2d30;
      color: #f5f5f5;
      padding: 32px;
  }
  footer a {
      color: #f5f5f5;
  }
  footer a:hover {
      color: #777;
      text-decoration: none;
  }  
  /*.form-control {
      border-radius: 0;
  }*/
  textarea {
      resize: none;
  }
  .card {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin: 15px;
            padding: 20px;
            border-radius: 5px;
            position: relative;
            transition: all 0.3s ease-in-out;
            width: 250px; /* Fixed width */
            height: 400px; /* Fixed height */
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
        }  


       .card img {
            max-width: 100%;
            height: 50%;
            transition: transform 0.3s ease-in-out;
        }
        .card img:hover {
            transform: scale(1.1);
        }


        .card-title {
            font-weight: bold;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            height: 50px; /* Fixed height for title */
        }
        .deal-info {
            margin-top: 10px;
        }
        .deal-time {
	font-size: smaller;
            font-weight: bold;
            color: #d9534f; /* Highlighted color */
        } 
        .btn-check {
            background-color: #990438;
            border-color: #990438;
            border-radius: 5px;
            color: white;
            position: absolute;
            bottom: 20px; /* Positioning the button at the bottom */
            width: 90%;
        }
        .btn-check:hover {
            background-color: #b03e4a;
            border-color: #b03e4a;
        }
        .tooltip-title {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.75);
            color: #fff;
            padding: 5px;
            border-radius: 3px;
            font-size: 12px;
            display: none;
            white-space: nowrap;
        }
        .card:hover .tooltip-title {
            display: block;
        }
.telegram-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 20px;
  right: 20px;
  background-color: #0088cc;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 9999;
}

.telegram-float i {
  margin-top: 14px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.telegram-float {
  animation: pulse 2s infinite;
}

.blink-link {
  color: ##E0115F;
  text-decoration: none;
  animation: blink 1.2s infinite;
}
@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0.5; }
}

/* Deals css */

.deal-info .label-success {
    display: inline-block;
    position: relative;

    padding: 6px 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;

    color: #fff;
    background: linear-gradient(135deg, #ff512f, #dd2476);

    border-radius: 20px;

    box-shadow: 0 3px 8px rgba(221, 36, 118, 0.35);

    animation: dealPulse 1.8s infinite;
}

/* Small shine effect */
.deal-info .label-success::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;

    width: 60%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );

    transform: skewX(-20deg);

    animation: dealShine 3s infinite;
}

@keyframes dealPulse {
    0%,
    100% {
        transform: scale(1);
    }

    8% {
        transform: scale(1.08);
    }

    16% {
        transform: scale(1);
    }

    24% {
        transform: scale(1.05);
    }

    32% {
        transform: scale(1);
    }
}

@keyframes dealShine {
    0% {
        left: -100%;
    }

    40% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}

.deal-info .label-primary {
    display: inline-block;
    position: relative;

    padding: 7px 13px;
    margin-left: 4px;

    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;

    color: #fff;

    background: linear-gradient(135deg, #11998e, #38ef7d);

    border-radius: 8px;

    box-shadow:
        0 3px 8px rgba(17, 153, 142, 0.35),
        0 0 0 rgba(56, 239, 125, 0.4);

    transition: all 0.2s ease;

    animation: pricePulse 2.5s ease-in-out infinite;
}

/* Price hover */
.deal-info .label-primary:hover {
    transform: scale(1.08);
    box-shadow:
        0 5px 14px rgba(17, 153, 142, 0.45),
        0 0 12px rgba(56, 239, 125, 0.25);
}

/* Subtle price pulse */
@keyframes pricePulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 3px 8px rgba(17, 153, 142, 0.35),
            0 0 0 rgba(56, 239, 125, 0);
    }

    8% {
        transform: scale(1.04);
        box-shadow:
            0 4px 10px rgba(17, 153, 142, 0.40),
            0 0 8px rgba(56, 239, 125, 0.25);
    }

    16% {
        transform: scale(1);
    }
}

