* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}

body.night-mode {
  background-color: #121212;
  color: #e0e0e0;
}

.table-container {
  overflow: auto;
}

table {
  width: 100%;
  overflow: hidden;
  text-align: left;
}

th, td {
  padding: 10px;
  border: 1px solid #8d8d8d;
}

th {
  background-color: #c1c1c1;
}

td {
  background-color: #f2f2f2;
}

body.night-mode table th {
  background-color: #333;
}

body.night-mode table td {
  background-color: #ffffff;
  color: #333;
}

body.night-mode th, td {
  border-color: #ff7300;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000000;
  color: #fff;
  padding: 10px 20px;
  transition: background-color 0.3s;
}

body.night-mode .navbar {
  background-color: #000000; 
}

.logo {
  font-size: 0;
}

.navbar .logo img {
  width: 140px;
  margin-right: 10px;
}

.night-mode-icon {
  font-size: 1.8rem;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-details {
  width: 100%;
  min-height: 100vh;
}

.top-controls {
  margin: 20px 0;
}

.back-button {
  background-color: #FF7300;
  color: #fff;
  border: none;
  padding: 9px 25px;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 10px;
  transition: background-color 0.3s;
}

body.night-mode .back-button {
  background-color: #FF7300; 
}

.blog-header, .sub-header {
  text-align: center;
  margin: 20px 0;
}

.blog-header {
  font-size: 2.5rem;
  color: #FF7300;
}

body.night-mode .blog-header {
  color: #ffa726;
}

.sub-header {
  font-size: 1.5rem;
  color: #555;
}

body.night-mode .sub-header {
  color: #b0b0b0;
}

.meta-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  margin: 15px 0;
  font-size: 1rem;
}

.meta-left {
  display: flex;
  gap: 15px;
}

.meta-right {
  display: flex;
  justify-content: flex-end;
}

.author {
  font-weight: bold;
  color: #FF7300;
}

.time-to-read {
  color: #777;
}

.tags {
  color: #FF7300;
  font-weight: bold;
}

body.night-mode .author,
body.night-mode .tags {
  color: #ffa726;
}


.main-image-container {
  text-align: center;
  margin: 20px auto;
  padding: 0 10%; 
}

.main-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
}

.blog-content {
  padding: 20px 0;
  line-height: 1.8;
}

.blog-content h2 {
  color: #FF7300;
  margin-top: 20px;
  margin-bottom: 8px;
}

.blog-content h3 {
  color: #e99c5d;
  margin-top: 20px;
  margin-bottom: 8px;
}

.blog-content li {
  list-style-type: disclosure-closed;
  padding: 10px;
  background-color: #f8f8f8;

  margin-bottom: 8px;
}


body.night-mode .blog-content li {
  background-color: #2b2626;
}


/* body.night-mode .blog-content h2,
body.night-mode .blog-content h3 {
  color: #e4e1dc;
} */

@media screen and (max-width: 768px) {
  .meta-top {
    flex-direction: column;
    gap: 10px;
  }

  .back-button {
    margin-left: 0;
  }

  .navbar {
    flex-direction: row;
    padding: 10px;
  }

  .main-image-container {
    padding: 0 5%; 
  }

  .blog-header {
    font-size: 1.8rem;
    word-wrap: break-word;
  }

  .sub-header {
    font-size: 1.2rem;
  }

  .blog-header, .sub-header {
    margin: 15px 0; 
  }

  .back-blogs {
    font-size: 16px !important;
  }
}


.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
 background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #ff7300; 
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

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

.back-blogs {
  font-family: "Montserrat", sans-serif;
  color: rgb(0, 99, 228);
  font-size: 1.3rem;
  text-decoration: none;
  margin-top: 1%;
  display: inline-block;
  font-weight: bold;
  padding: 0.5em;
  margin-left: -0.5em;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  cursor: pointer;

  &:before,
    &:after {
      position: absolute;
      content: "";
      border-bottom: 3px solid rgb(0, 99, 228);
      border-radius: 1em;
      bottom: 0.3em;
      transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    }

    &:before {
      width: 1em;
      transform-origin: left;
    }

    &:after {
      width: 82%;
      left: 1em;
      transform: translateX(110%);
    }

    &:hover:before {
      transform: scaleX(0.3);
    }

    &:hover:after {
      transform: translateX(0);
    }
}

.blog-content a {
  color: #1E90FF; 
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #1E90FF;
  transition: all 0.3s ease;
}

.blog-content a:hover {
  color: #fff;
  background-color: #32CD32;
  /* padding: 0.1em 0.3em; */
  border-radius: 5px;
  text-decoration: none;
}

.blog-content .cta-button {
  display: inline-block;
  background-color: #32CD32; /* Green button */
  color: #fff;
  padding: 10px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.blog-content .cta-button:hover {
  background-color: #228B22; /* Darker green on hover */
  transform: scale(1.05);
}

.blog-content .highlight {
  background-color: #1E90FF; /* Blue background for highlighted text */
  color: #fff;
  padding: 0.2em 0.5em;
  border-radius: 5px;
  font-weight: bold;
}

.blog-content .highlight:hover {
  background-color: #1C86EE;
}

.blog-content .clickable-section {
  padding: 15px;
  margin: 20px 0;
  background-color: #f0f8ff; 
  border-left: 5px solid #1E90FF; 
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.blog-content .clickable-section:hover {
  background-color: #e0f7fa;
  transform: translateX(5px);
}

/* ENQUIRY STYLING STARTS HERE */

.enquiry-modal {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
}

.enquiry-modal.active {
  display: block;
  animation: slideIn 0.3s ease-in-out;
}

/* Keyframe for smooth slide-in animation */
@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.enquiry-container {
  min-height: 80vh;
  background: #f9f9f9;
  position: relative;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.enquiry-title {
  text-align: center;
  font-size: 1.8rem;
}

#enquiryForm {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.enquiry-form {
  position: sticky;
  top: 10px;
  background: white;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  z-index: 101;
}

.enquiry-container .enquiry-title {
  margin: 0 0 20px;
  text-decoration: underline;
}

.enquiry-form label {
  display: block;
  font-size: 1rem;
  color: #555;
  margin-bottom: 8px;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

.enquiry-form textarea {
  resize: none;
  height: 80px;
}

.enquiry-name-container,
.enquiry-number-container,
.enquiry-pincode-container {
  flex-basis: 30%;
}

.enquiry-message-container {
  flex-basis: 100%;
}

.enquiry-form button {
  background: #ff4500;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.enquiry-form button:hover {
  background: #ff6347;
}

.enquiry-container.dim {
  filter: brightness(0.5);
}

.enquiry-form:focus-within {
  filter: none;
}

@media (max-width: 768px) {
  .enquiry-form {
    padding: 15px;
  }
  .enquiry-title {
    font-size: 1.5rem;
  }

  .enquiry-name-container,
  .enquiry-number-container,
  .enquiry-pincode-container {
    flex: 1 1 45%; /* 2 columns on tablets */
  }

}

@media (max-width: 480px) {

  .enquiry-container {
    min-height: 100vh;
  }

  .enquiry-title {
    font-size: 1.4rem;
    line-height: 1.5;
  }

  .enquiry-name-container,
  .enquiry-number-container,
  .enquiry-pincode-container {
    flex: 1 1 100%; /* Stacks all inputs on smaller screens */
  }

  .enquiry-form label {
    margin-bottom: 2px;
  }

  .enquiry-form input,
  .enquiry-form textarea {
    font-size: 0.85rem;
  }

  .enquiry-form button {
    font-size: 0.9rem;
  }
}

@media (max-width: 320px) {
  .enquiry-form input,
  .enquiry-form textarea {
    font-size: 0.8rem;
  }

  .enquiry-form {
    gap: 10px;
  }

  .enquiry-form button {
    font-size: 0.9rem;
  }
}

/* ENQUIRY STYLING ENDS HERE */

/*FOOTER STYLING STARTS FROM HERE */
footer {
  background-color: #000000; 
  color: #ffffff;
  padding: 50px 0;
  font-family: "Montserrat", sans-serif;
}

.wrapper {
  width: 90%;
  margin: 0 auto;
}
.footer-up {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-linkbox {
  flex: 1;
  margin-right: 20px;
  min-width: 200px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  color: #ff7300; 
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-list {
  list-style-type: none;
  padding: 0;
}

.footer-list li {
  margin-bottom: 15px;
}

.footer-list a {
  color: #ffffff; 
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: #ff7300;
  text-decoration: underline;
}

.footer-list a:active {
  color: #ff4500; 
}

.footer-linkbox h6 a {
  font-weight: 500;
}

.footer-linkbox h6 a:hover {
  color: #ff7300; 
}

.footer-last {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.footer-last span {
  font-size: 16px;
}

.footer-last a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-last a:hover {
  color: #ff7300; 
}

.footer-down {
  margin: 20px 0;
}

.footer-socials-list {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social {
  font-size: 20px; 
  border-radius: 50%; 
  text-align: center;
  padding: 10px; 
  position: relative;
  border: 1px solid #fff;
  width: 40px; 
  height: 40px; 
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.5s;
}

.footer-social::before {
  font-family: "FontAwesome";
  font-size: 20px; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: color 0.5s;
}

.facebook::before {
  content: "\f39e";
  color: #1877f2; 
}

.whatsapp::before {
  content: "\f232"; 
  color: #4ac959; 
}

.instagram::before {
  content: "\f16d"; 
  color: #c13584; 
}

.youtube::before {
  content: "\f167"; 
  color: #ff0000;
}

.linkedIn::before {
  content: "\f0e1"; 
  color: #0077b5; 
}

.facebook:hover {
  background-color: #1877f2;
}

.facebook:hover::before {
  color: #fff;
}

.whatsapp:hover {
  background-color: #4ac959;
}

.whatsapp:hover::before {
  color: #fff;
}

.instagram:hover {
  background-color: #c13584;
}

.instagram:hover::before {
  color: #fff;
}

.youtube:hover {
  background-color: #ff0000;
}

.youtube:hover::before {
  color: #fff;
}

.linkedIn:hover {
  background-color: #0077b5;
}

.linkedIn:hover::before {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-up {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-linkbox {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .footer-socials-list {
    flex-wrap: wrap; 
    justify-content: center; 
    margin-top: 20px;
  }

  .footer-social {
    margin: 5px; 
  }
  .footer-last {
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
  }

  .copyrigh {
    text-align: center;
    margin-bottom: 10px;
  }

  .footer-last a {
    margin-left: 0;
    margin-top: 10px;
  }
}


@media (max-width: 768px) {
  /* .navbar {
    flex-direction: column;
  } */

  .wrapper {
    width: 95%;
    margin: 0 auto;
  }

  .night-mode-btn {
    font-size: 22px;
  }

  .navbar {
    display: flex; 
    justify-content: space-between;  
    align-items: center;  
    flex-direction: row;  
  }

  .navbar .search-bar {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 20px;
    padding: 5px 10px;
    width: 100%;
    max-width: 350px;
  }

  .navbar .search-bar input {
    border: none;
    outline: none;
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
  }

  .navbar .search-bar button img {
    width: 20px;
    height: 20px;
  }

  .navbar .logo img {
    width: 60px;
  }

  body.night-mode .navbar .search-bar {
    background-color: #333;
    color: #fff;
  }

  body.night-mode .navbar .search-bar input {
    color: #fff;
    background-color: #555;
    border-radius: 10px;
  }
}

.images {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}

.images img {
  flex: 0 0 calc(50% - 10px); 
  max-width: calc(50% - 10px);
  height: auto;
  object-fit: cover;
  /* height: 500px;
  object-fit: contain; */
  border-radius: 8px;
}

/* @media (max-width: 768px) {
  .images img {
    flex: 0 0 100%;
    max-width: 100%;
  }
} */

/* CHAT BOT STYLING STARTS FROM HERE */
.chat-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #e74c3c;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  -webkit-tap-highlight-color: transparent;
}

.chat-button:hover {
  transform: scale(1.1);
  background: #c0392b;
}

/* Chat Container */
.chat-container {
  position: fixed;
  max-height: 80%;
  bottom: 100px;
  right: 30px;
  width: 350px;
  max-width: 90%;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
}

.chat-header {
  background: #e74c3c;
  color: white;
  padding: 15px;
  font-size: 1.2em;
  font-weight: bold;
}

.chat-body {
  padding: 15px;
  height: 400px;
  overflow-y: auto;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #000000;
}

/* Scrollbar */
.chat-body::-webkit-scrollbar {
  width: 8px;
}

.chat-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.chat-body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.chat-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Input Section */
.input-section {
  padding: 15px;
  background: white;
  border-top: 1px solid #eee;
}

.quick-options {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between;  */
  gap: 8px; 
  margin-bottom: 10px;
  -webkit-tap-highlight-color: transparent;
}

.quick-option {
  background: #f1f1f1;
  color: #333;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
  white-space: nowrap;
}

.quick-option:hover {
  background: #e74c3c;
  color: white;
}

.quick-option .fa-headset,
.quick-option .fa-whatsapp {
    margin-right: 8px;
}

.chat-quick-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; 
  gap: 8px; 
  margin-bottom: 10px;
}

.chat-quick-option {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between; 
  gap: 10px; 
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 10px;
  transition: all 0.3s ease;
  font-size: 13px;
  font-weight: bolder;
  white-space: nowrap;
  width: 100%;
}

.chat-quick-option:hover {
  background: #f1f1f1;
  color: #333;
}

.input-row {
  display: flex;
  gap: 10px;
}

.chat-input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
}

.chat-input::placeholder {
  color: #5c5b5b;;
  opacity: 1;
}

.send-btn {
  background: #e74c3c;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.send-btn:hover {
  background: #c0392b;
}

.send-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Messages */
.chatbot-message {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 20px;
  word-wrap: break-word;
  font-size: 13px;
}

.bot-message {
  background: white;
  border: 1px solid #eee;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

.user-message {
  background: #e74c3c;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

.typing-indicator {
  display: inline-flex;
  padding: 12px 18px;
  background: #eee;
  border-radius: 20px;
  align-self: flex-start;
}

.dot {
  width: 8px;
  height: 8px;
  margin: 0 3px;
  background: #999;
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.enquiry-form-container {
  width: 100%;
  margin: 0;
  background: #ffffff;
  border-radius: 15px;
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
  overflow: visible;

  .chat-body {
    width: 100%;
  }
}

.form-header {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 10px;
  text-align: center;
  position: relative;
}

.form-header h2 {
  margin: 0;
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.enquiry-form {
  padding: 15px;
  background: #f9f9f9;
}

.form-group {
  margin-bottom: 15px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  padding-left: 30px;
  position: relative;
  text-align: start;
}

.form-label i {
  position: absolute;
  left: 0;
  top: 2px;
  color: #e74c3c;
  font-size: 18px;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: #e74c3c;
  box-shadow: 0 3px 15px rgba(231, 76, 60, 0.1);
  outline: none;
}

.form-input:disabled {
  background: #f8f9fa;
  color: #666;
}

.form-textarea {
  height: 100px;
  resize: vertical;
  width: 100%;
}

.form-textarea::placeholder {
  color: #5c5b5b;
  opacity: 1;
}

.enquire-now-btn {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.enquire-now-btn:hover {
  background: linear-gradient(135deg, #f31d06, #f13e2b);
  /* background: linear-gradient(135deg, #44e279, #39e022); */
}

.deactivated-enquire-now-btn {
  cursor: not-allowed;
  background: #333;
}

.deactivated-start-chat-btn {
  cursor: not-allowed;
  opacity: .5;
}

@media (max-width: 480px) {
  .chat-container {
      width: 87%;
      right: 2.5%;
      bottom: 85px;
      height: 69%;
  }
  
  .chat-body {
      height: 60vh;
  }
  
  .chat-button {
      bottom: 20px;
      right: 20px;
  }

  .chat-input, .form-input {
    font-size: 16px;
  }
  
  .quick-options {
      gap: 5px;
  }

  .quick-option:hover {
    background: #f1f1f1;
    color: #333;
  }

  .quick-option:active {
    background: #e74c3c;
    color: white;
  }
  
  .quick-option {
      padding: 6px 10px;
      font-size: 11px;
  }

  .enquire-now-btn:hover {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
  }

  .deactivated-enquire-now-btn:hover {
    cursor: not-allowed;
    background: #333;
  }

  .enquiry-form {
    padding: 15px;
}
}
/* CHAT BOT STYLING ENDS HERE */
