.home-blog {
  background-color: #fff;
}
.ham {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.hamRotate.active {
  transform: rotate(45deg);
}
.hamRotate180.active {
  transform: rotate(180deg);
}
.line {
  fill: none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke: #101624;
  stroke-width: 5.5;
  stroke-linecap: round;
}
.ham1 .top {
  stroke-dasharray: 40 139;
}
.ham1 .bottom {
  stroke-dasharray: 40 180;
}
.ham1.active .top {
  stroke-dashoffset: -98px;
}
.ham1.active .bottom {
  stroke-dashoffset: -138px;
}

.iti {
  width: 100%;
}

/* Popup Styles */
.popup-text-content {
  padding: 30px;
  text-align: center;
  background: #fff;
  border-radius: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.popup-title {
  color: #59191F;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: "Alkatra", cursive;
}

.popup-text {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

.popup-image-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f76e2a;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  background: rgba(247, 110, 42, 0.1);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.popup-image-link:hover {
  background: #f76e2a;
  color: #fff;
  transform: translateY(-2px);
}

/* Fancybox Overrides */
.fancybox__container {
  z-index: 99999 !important;
}

.fancybox__backdrop {
  background: rgba(0, 0, 0, 0.8) !important;
}

.fancybox__content {
  border-radius: 15px !important;
  overflow: hidden !important;
}

/* Image popup max-width */
.fancybox__slide[data-type="image"] .fancybox__content {
  max-width: 800px !important;
}

.fancybox__slide--current .fancybox__content {
  animation: popupFadeIn 0.5s ease-out;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .popup-text-content {
    padding: 20px;
    margin: 0 15px;
  }

  .popup-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .popup-text {
    font-size: 14px;
  }
}
.error {
  border-color: red !important;
}

/* Preloader Styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff8f0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.preloader-logo {
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-logo img {
  width: 200px;
  height: auto;
}

.preloader-bar {
  width: 300px;
  height: 6px;
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.preloader-progress {
  height: 100%;
  background: linear-gradient(90deg, #f76e2a, #ff8c52);
  border-radius: 10px;
  width: 0%;
  animation: preloaderProgress 2s ease-in-out forwards;
  box-shadow: 0 0 10px rgba(247, 110, 42, 0.5);
}

.preloader-text {
  font-size: 18px;
  color: #59191F;
  font-weight: 500;
  text-align: center;
  min-height: 30px;
  transition: 0.3s ease-in-out;
  /* animation: preloaderFadeInOut 2s ease-in-out infinite; */
}

@keyframes preloaderPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

@keyframes preloaderProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes preloaderFadeInOut {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Mobile Responsive for Preloader */
@media (max-width: 768px) {
  .preloader-logo img {
    width: 150px;
  }

  .preloader-bar {
    width: 250px;
    height: 5px;
  }

  .preloader-text {
    font-size: 16px;
    padding: 0 20px;
  }
}

main {
  overflow-x: clip;
}

/* ============================================= */
/* CTA (Call-to-Action) Box Styles */
/* ============================================= */
.cc-cta-section {
  padding: 0 0 80px 0;
}

.cc-cta-box {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cc-cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: ctaGlow 10s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, -20px) scale(1.1);
  }
}

.cc-cta-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(255, 107, 53, 0.3);
}

.cc-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 30px;
}

.cc-cta-title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  line-height: 1.3;
}

.cc-cta-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.cc-cta-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* .cc-cta-buttons .c-btn {
  min-width: 200px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.cc-cta-buttons .c-btn--orange {
  background: #fff;
  color: #ff6b35;
  border: 2px solid #fff;
}

.cc-cta-buttons .c-btn--orange:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.cc-cta-buttons .c-btn--outline-teal {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cc-cta-buttons .c-btn--outline-teal:hover {
  background: #fff;
  color: #ff6b35;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.cc-cta-buttons .c-btn i {
  margin-right: 8px;
  font-size: 18px;
} */

/* Mobile Responsive */
@media (max-width: 768px) {
  .cc-cta-section {
    padding: 0 0 60px 0;
  }

  .cc-cta-box {
    padding: 40px 25px;
    border-radius: 15px;
  }

  .cc-cta-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .cc-cta-description {
    font-size: 16px;
  }

  .cc-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .cc-cta-buttons .c-btn {
    width: 100%;
    min-width: auto;
  }
  .container {
    height: 100%;
    transition: 0.3s ease-in-out;
  }
  .sub-container {
    height: 100%;
  }
  .js-sticky .container {
    padding: 0 !important;
  }
}

@media (max-width: 480px) {
  .cc-cta-title {
    font-size: 20px;
  }

  .cc-cta-description {
    font-size: 15px;
  }

  .cc-cta-box {
    padding: 30px 20px;
  }
}
