* {
  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%;
  }
} */

/* WHATSAPP BOT STYLING STARTS FROM HERE  */
.whatsapp_icon_wrapper{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999999;
}

.whatsapp_icon_button{
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg,#25d366 0,#1da851 100%);
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
  cursor: pointer;
  outline: none;
  transition: transform .18s ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: visible;
}

.whatsapp_icon_button::after{
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.45);
  animation: whatsapp_iconPulse 2.6s infinite;
  pointer-events: none;
  opacity: 0.9;
}

@keyframes whatsapp_iconPulse{
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.35); transform: scale(1); }
  50% { box-shadow: 0 0 0 12px rgba(37,211,102,0.05); transform: scale(1.03); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.0); transform: scale(1); }
}

.whatsapp_icon_button:active{ transform: scale(.98); }
.whatsapp_icon_icon { display:block; }
.whatsapp_icon_button img {
  height: 50%;
}

.whatsapp_icon_small_popup{
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 250px;
  display: none;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.14);
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
}

.whatsapp_icon_small_img, .whatsapp_icon_agent_img{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:contain;
  flex-shrink:0;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  background: #000;
}

.whatsapp_icon_small_text { 
  font-size:13px; 
  color:#222; 
  line-height:1.1; 
  margin-left: 9px;
}
.whatsapp_icon_small_name { font-weight:700; margin-bottom:3px; display:flex; align-items:center; gap:8px; }
.whatsapp_icon_small_role { color:#666; font-size:12px; }

.whatsapp_icon_online_dot{
  color: #0bbd6a;
  background: rgba(11,189,106,0.06);
  padding: 2px 6px;
  border-radius: 999px;
  font-weight:600;
  font-size:12px;
}

.whatsapp_icon_box{
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 320px;
  display: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  font-family: "Montserrat", sans-serif !important;
  font-weight: 300;
}

.whatsapp_icon_header{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  background: #075E54;
  color:#fff;
}
.whatsapp_icon_agent_meta{ min-width:0; }
.whatsapp_icon_agent_name{ font-weight:700; font-size:15px; line-height:1; }
.whatsapp_icon_status{ font-size:12px; opacity:0.92; color:rgba(255,255,255,0.92); margin-top:4px; }

.whatsapp_icon_close{
  margin-left:auto;
  background:transparent;
  border:0;
  color:#fff; font-size:18px;
  cursor:pointer;
  padding:6px;
}

.whatsapp_icon_small_close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: #666;
}

.whatsapp_icon_body{ padding:14px; background:#ece5dd; }
.whatsapp_icon_msg{
  background:#fff; padding:10px 12px; border-radius:10px; display:inline-block; font-size:14px; color:#222;
}

.whatsapp_icon_cta{
  display:block; text-align:center; padding:12px 0; font-weight:700; text-decoration:none;
  background: linear-gradient(180deg,#25d366 0,#1da851 100%);
  color:#fff; border-radius:0 0 12px 12px;
}

@media (max-width:520px){
  .whatsapp_icon_wrapper{ right:14px; bottom:14px; }
  .whatsapp_icon_box{
    width: calc(100% - 28px);
    right: 14px;
    left: 14px;
    bottom: 80px;
    position: fixed;
    border-radius: 14px;
  }
  .whatsapp_icon_small_popup{ 
    box-sizing: border-box; }
  .whatsapp_icon_small_img{ width:42px; height:42px; }
}


.whatsapp_icon_show { display:flex !important; animation: whatsapp_iconShow .28s ease both; }
@keyframes whatsapp_iconShow{ from{ opacity:0; transform: translateY(8px) scale(.98) } to { opacity:1; transform: translateY(0) scale(1) } }


.whatsapp_icon_box.whatsapp_icon_show{ display:block !important; }
/* WHATSAPP BOT STYLING ENDS HERE  */






