/* Black Diagonal Swipe Button */
.ceramic-btn-black.diagonal-swipe-btn {
  display: inline-block;
  padding: 16px 40px;
  background: #000;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  border: 2px solid #000;
}

.diagonal-swipe-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: -1;
  transform: rotate(45deg) scaleY(0);
  transform-origin: bottom left;
  transition: transform 0.4s ease;
}

.diagonal-swipe-btn:hover {
  color: #000;
}

.diagonal-swipe-btn:hover::before {
  transform: rotate(45deg) scaleY(2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .ceramic-btn-black {
    padding: 14px 32px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .ceramic-btn-black {
    padding: 12px 28px;
    font-size: 13px;
    letter-spacing: 1px;
  }
}

/* Optional: Add this for a subtle ceramic texture to black buttons */
.ceramic-btn-black {
  background-image: linear-gradient(135deg,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.1) 100%);
}

.beautify {
  text-align: justify;
}

/*=====preloder css========*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loaded .preloader {
  display: none;
}

.preloder-logo {
  width: 300px;
  height: auto;
}

.beautify {
  text-align: justify;
}

/* Whatsapp Floating Button */
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 18px;
  right: 18px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.my-float {
  margin-top: 0;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 70px;
    right: 20px;
  }
}

.translate {
  position: fixed;
  bottom: 15px;
  left: 15px;
  width: 50px;
  height: 50px;
  background-color: #000;
  overflow: hidden;
  border-radius: 50%;
  display: -ms-grid;
  display: grid;
  place-content: center;
  cursor: pointer;
  -webkit-box-shadow: 0 0 12px rgb(0 0 0 / 8%);
  box-shadow: 0 0 12px rgb(0 0 0 / 8%);
  z-index: 1000;
}

.translate i {
  color: #fff;
  font-size: 24px;
}

#google_translate_element {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.goog-te-gadget {
  font-family: 'Saira', sans-serif;
  font-size: 11px;
  color: #666;
  white-space: nowrap;
}

/* career table css */
/* Base Table Styles */
.job-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: 'Saira', sans-serif;
  color: #000;
  background-color: #fff;
}

.table-header {
  background-color: #000;
  color: #fff;
}

.header-row {
  display: table-row;
}

.header-cell {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #ddd;
  font-weight: bold;
}

.table-body {
  display: table-row-group;
}

.data-row {
  display: table-row;
}

.data-row:nth-child(even) {
  background-color: #f2f2f2;
}

.data-cell {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #ddd;
  display: table-cell;
}

.apply-btn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
  width: 64px;
}

.apply-btn:hover {
  background-color: #333;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .job-table {
    border: 0;
  }

  .table-header {
    display: none;
  }

  .data-row {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #ddd;
  }

  .data-cell {
    display: block;
    text-align: right;
    padding-left: 50%;
    position: relative;
    border-bottom: 1px solid #ddd;
  }

  .data-cell:before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    padding-right: 15px;
    font-weight: bold;
    text-align: left;
  }

  .data-cell:last-child {
    border-bottom: 0;
  }

  .apply-btn {
    width: 100%;
    padding: 10px;
  }
}

/* Print Styles */
@media print {
  .job-table {
    border: 1px solid #000;
  }

  .header-cell,
  .data-cell {
    border: 1px solid #000;
    color: #000 !important;
  }

  .table-header {
    background-color: #fff !important;
    color: #000 !important;
  }

  .apply-btn {
    display: none;
  }
}

/* popup form css */
/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-container {
  background-color: white;
  width: 90%;
  max-width: 500px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.popup-header {
  background-color: black;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 5px 5px 0 0;
}

.close-btn {
  font-size: 24px;
  cursor: pointer;
}

.popup-form {
  padding: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.required {
  color: red;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="file"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.file-hint {
  font-size: 12px;
  color: #666;
  margin-top: 3px;
}

.submit-btn {
  background-color: black;
  color: white;
  border: none;
  padding: 12px 20px;
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #333;
}

/* Show popup with animation */
.popup-overlay.active {
  display: flex;
  opacity: 1;
}

.popup-overlay.active .popup-container {
  transform: translateY(0);
}

/* Enhanced Transition Effects */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-container {
  background-color: white;
  width: 90%;
  max-width: 500px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form submission loading state */
.popup-form.submitting {
  position: relative;
}

.popup-form.submitting::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-form.submitting::before {
  content: "Submitting...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: black;
  font-weight: bold;
}

/* footer styles  */
/* --- Global Footer Styling --- */
footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 5px 0 0;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.arki-footer-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- Main Footer Columns Container --- */
.arki-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  flex-grow: 1;

  /* Use gap for consistent horizontal and vertical spacing between columns */
  gap: 30px;
  /* Increased gap slightly for more breathing room */
}

/* --- Individual Footer Columns --- */
.arki-footer-column {
  flex: 1 0 calc(25% - 22.5px);
  /* Adjusted flex-basis to account for new gap value (30px / 4 * 3 = 22.5px) */
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Keeps content aligned to the left within columns */
}

/* Specific styling for the text within columns to ensure vertical stacking and consistent gaps */
.textwidget {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
}

.arki-widget-title {
  font-size: 1.2em;
  margin-bottom: 20px;
  /* Increased margin below title for more space */
  color: #ffffff;
  align-self: flex-start;
}

/* Apply consistent margin-bottom to all direct children of .textwidget that are blocks */
/* This covers logo div, text divs, and paragraphs (contact, social, quick links content) */
.textwidget>div,
.textwidget>p,
.textwidget>ul {
  /* Also target ul if it's a direct child of textwidget */
  line-height: 1.6;
  /* Consistent line height */
  margin-bottom: 0px
  /* **Consistent vertical spacing between major elements** */
  text-align: left;
  word-wrap: break-word;
}

/* Ensure the last element in textwidget doesn't have a bottom margin */
.textwidget>div:last-child,
.textwidget>p:last-child,
.textwidget>ul:last-child {
  margin-bottom: 0;
}


.textwidget a {
  color: #ffffff;
  text-decoration: none;
  line-height: 1.6;
}

.textwidget a:hover {
  color: #6d6d6d;
}

.fa-brands {
  margin-right: 8px;
  font-size: 1.1em;
}

/* --- Specific Styling for "Follow Us" and "Quick Links" for Vertical Stacking --- */

/* For Follow Us links - ensure each link acts as a block and has consistent spacing */
/* Assuming HTML for Facebook/Instagram is like <p><a href="...">Facebook</a></p> */
.arki-footer-column .textwidget p a {
  display: block;
  /* Make the links block-level to force vertical stacking */
  margin-bottom: 10px;
  /* **Consistent space between each social link** */
}

.arki-footer-column .textwidget p a:last-child {
  margin-bottom: 0;
  /* No margin after the last social link */
}


/* For Quick Links - ensure the entire list container stacks items */
/* Assuming HTML for Quick Links is <p><a href="">Home</a><a href="">Our Profile</a>...</p> */
.arki-footer-column:nth-child(4) .textwidget p {
  display: flex;
  flex-direction: column;
  /* Stack its children (the 'a' tags) vertically */
  margin: 0;
  /* Remove default paragraph margins */
  padding: 0;
  /* Remove default paragraph padding */
}

.arki-footer-column:nth-child(4) .textwidget p a {
  margin-bottom: 10px;
  /* **Consistent space between each quick link** */
}

.arki-footer-column:nth-child(4) .textwidget p a:last-child {
  margin-bottom: 0;
  /* No margin after the last quick link */
}

/* Adding the bullet point for Quick Links */
.arki-footer-column:nth-child(4) .textwidget p a::before {
  content: '\2022';
  color: #000000;
  margin-right: 8px;
}

/* Remove any HTML-based spacing if present */
.textwidget br,
.gdlr-core-space-shortcode {
  display: none;
}


/* --- Bottom Copyright Footer --- */
footer>p {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
}

footer>p a {
  color: inherit;
  text-decoration: none;
}

footer>p a:hover {
  text-decoration: underline;
}

/* --- Responsive Design --- */
@media screen and (max-width: 992px) {
  .arki-footer-container {
    gap: 20px;
    justify-content: space-around;
  }

  .arki-footer-column {
    flex-basis: calc(50% - 10px);
    /* Adjust for 2 columns, considering the gap */
    align-items: flex-start;
    text-align: left;
  }

  #text-1 .textwidget div,
  #text-6 .textwidget p {
    text-align: left !important;
  }

  .arki-footer-column:nth-child(4) .textwidget p a::before {
    margin-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .arki-footer-container {
    gap: 0;
    justify-content: center;
  }

  .arki-footer-column {
    flex-basis: 100%;
    margin-bottom: 30px;
    align-items: center;
    text-align: center;
  }

  .arki-footer-column:last-child {
    margin-bottom: 0;
  }

  #text-1 .textwidget div,
  #text-6 .textwidget p {
    text-align: center !important;
  }

  .arki-footer-column .textwidget p a {
    display: inline-block;
    /* Revert to inline-block for centering social links if needed */
    text-align: center;
  }

  .arki-footer-column:nth-child(4) .textwidget p a::before {
    margin-right: 0;
    content: '';
    /* Optionally remove bullet if centering looks odd */
  }
}