.btn-brand {
    font-size: 18px; /* Adjust font size as needed (e.g., 16px, 20px, etc.) */
    background-color: #902943; /* Default background color (e.g., blue) */
    color: #ffffff; /* Text color for contrast */
    padding: 10px 20px; /* Optional: Adjust padding for button size */
    border: none; /* Optional: Remove default border */
    border-radius: 5px; /* Optional: Rounded corners */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    box-shadow: 0 3px 0 #797e84, 0 8px 10px #797e84;
}

.btn-brand:hover {
    background-color: #7a1e32; /* Hover background color (e.g., darker blue) */
    color: #ffffff; /* Ensure text color remains readable on hover */
}
.wrapper {
  overflow-x: visible !important;
}
.wrapper-content {
    padding-top: 100px; /* Same as navbar height */
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: linear-gradient(135deg, #d9d9d9, #9d707f, #d9d9d9, #9d707f);
  background-size: 400% 400%;
  animation: backgroundAnim 8s infinite alternate;
}

@keyframes backgroundAnim {
  0% { background-position: 0 0; }
  100% { background-position: 100% 0; }
}


.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
}
h1 {
  padding-top: 15px;
  text-align: center;
  color:#000000
}

.about-title {
  
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.card {
  background-color: white;
  padding: 20px;
  width: 230px;
  height: 120px;
  border-radius: 12px;
  box-shadow: 0 3px 0 #797e84, 0 8px 10px #797e84;
  text-decoration: none;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.5s ease;
  top: 0;
  border: 1px solid #ccc;
  text-align: center;
  flex-direction: column;
}

.card:hover {
  background-color: #f0f0f0;
  top: 4px;
  box-shadow: 0 4px 0px rgb(160, 158, 158);
}

.icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.sol-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.business-card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
}

.business-card {
  background-color: white;
  padding: 20px;
  width: 220px;
  height: 120px;
  border-radius: 12px;
  box-shadow: 0 3px 0 #797e84, 0 8px 10px #797e84;
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.5s ease;
  top: 0;
  border: 1px solid #ccc;
  text-align: center;
  flex-direction: column;
  position: relative; /* needed for top offset */
}

.business-card:hover {
  background-color: #f0f0f0;
  top: 4px;
  box-shadow: 0 4px 0px rgb(160, 158, 158);
}

.business-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.business-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ----- RESPONSIVE CARD STYLES FOR SMALL SCREENS ----- */
@media (max-width: 768px) {

  /* --- Target both card types --- */
  .card,
  .business-card {
    /* Make cards wider to better fit the screen */
    width: 150px;

    /* Adjust height if needed, or set to 'auto' to grow with content */
    height: auto;

    /* Reduce padding to give content more space */
    padding: 15px;

    /* Adjust vertical space between cards */
    gap: 5px;
  }

  /* --- Target both logo types inside the cards --- */
  .card .icon-img,
  .business-card .business-icon-img {
    /* Make logos smaller on mobile */
    width: 30px;
    height: 30px;
  }

  /* --- Target the text inside the cards --- */
  .card,
  .business-card {
    /* Make the font smaller */
    font-size: 14px; /* Adjust as needed */
  }

}

/* description section styles */
.description-section {
    position: relative;
    padding: 50px 20px;
    text-align: center;
    padding-top: 60px;
}

.description-section .lead {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.6;
  color: #000000;
}

.description-section .lead1 ,.description-section .lead2 {
    font-size: 1.3rem;
    font-weight: 300;
    color: #000000; /* slightly darker */
}


.description-box {
  border-radius: 15px;
  padding: 40px;
  position: relative;
  box-shadow: #a3a2a2 0px 0px 5px 0px;
  background-color: #fbe0e032;
}

.description-box .top-icon {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 35px;
  height: auto;
  z-index: 2;
}

.description-box .bottom-icon {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 35px;
  height: auto;
  transform: rotate(180deg);
  z-index: 2;
}



/* why us section */
.why-us {
      padding: 40px 20px;
      background: linear-gradient(to right, #ffffff 70%, #902943 100%);
      margin-bottom: 100px;
      max-width: 980px; /* This matches the width of your other containers */
  margin: 0 auto 100px; /* This centers the section and adds a 100px bottom margin */
  border-radius: 15px;
  box-shadow: #312e2e 0px 0px 20px 0px;
      
    }

    .why-us h2 {
      font-size: 17px;
      font-weight: bold;
      align-self: start;
        color: #000000;
    }

    .why-us .uppertext{
        font-size: 17px;
        color: #902943;
        margin-bottom: 20px;
    }
    .why-us .lowertext {
        font-size: 1rem;
        color: #333;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .testimonial-box {
      background-color: #ffffff;
      border-radius: 15px;
      padding: 30px;
      box-shadow: #312e2e 0px 0px 15px 0px;

    }

    .testimonial {
      margin-bottom: 20px;
    }

    .testimonial:last-child {
      margin-bottom: 0;
    }


    .testimonial-text {
      font-style: italic;
      color: #000000;
      text-align: justify;
    }

    @media (max-width: 768px) {
      .testimonial-box {
        margin-top: 30px;
      }
    }

    .icon-img {
  width: 60px;
  height: auto;
}
.heart-icon {
  position: absolute;
  bottom: -10px;   /* Adjust to overlap slightly outside the border */
  right: -10px;
  width: 40px;     /* Resize as needed */
  height: auto;
  z-index: 2;
}

.top-icon {
  position: absolute;
  top: -15px;     /* Slightly above the box */
  left:-15px;     /* Adjust horizontally */
  width: auto;
  height: 45px; /* Adjust size as needed */
  z-index: 2;
}


/* Chatbot button styles */
.chatbot-btn {
    position: fixed;
    bottom: 150px;  /* Above your "to top" button */
    right: 20px;
    background-color: #aa0d34;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 999;
    display: none; /* Initially hidden */
}
.chatbot-btn:hover {
    background-color: #555;
}

.demo-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: #aa0d34;
    color: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    line-height: 20px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 8px #0000004d;
    transition: background 0.3s ease;
    z-index: 999;
}

.demo-btn:hover {
    background-color: #555;
}


.to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #aa0d34;
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    line-height: 20px;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 8px #0000004d;
    transition: background 0.3s ease;
    z-index: 999;
}

.to-top-btn:hover {
    background-color: #555;
}
@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }
}


/* This CSS creates the centered, simple chat box */
#simple-chat-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    /* This is crucial! */
    z-index: 9999;
}

#chat-input-area {
    display: flex;
    gap: 10px;
}

#user-input {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}

#send-button {
    border: none;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#send-button:hover {
    background-color: #0056b3;
}

#response-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #e9ecef;
    border-radius: 5px;
    min-height: 50px;
    text-align: left;
    white-space: pre-wrap;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

