/*-------Tiles Heading CSS Start----------*/

/* Preloader styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  /* Change this to match your website background color */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.text-justify {
  text-align: justify;
}

.logo {
  width: 200px;
  /* Adjust this to match your logo size */
  height: auto;
}

/* Hide preloader when content is loaded */
.loaded .preloader {
  display: none;
}

.tile-heading {
  font-weight: 600;
  display: inline-flex;
  align-items: baseline;
  gap: clamp(0.25rem, 1vw, 0.5rem);
  color: white; /* Changed to white */
  overflow: hidden;
  font-size: clamp(0.875rem, 3vw, 1.05rem);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Added for better contrast */
}

.heading-text {
  color: white; /* Changed to white */
  animation: slideIn 0.6s ease-out both;
  padding: 0.1em 0;
  font-weight: 700; /* Increased weight for better visibility */
}

.dimension-pill {
  font-size: clamp(0.7em, 3vw, 0.85em);
  background: rgba(255, 255, 255, 0.15); /* Lighter white background */
  color: white; /* Changed to white */
  padding: clamp(0.15rem, 0.5vw, 0.3rem) clamp(0.5rem, 2vw, 0.625rem);
  border-radius: clamp(0.5rem, 2vw, 0.75rem);
  border: 1px solid rgba(255, 255, 255, 0.3); /* White border */
  animation: fadeIn 0.8s 0.2s ease-out both;
  transition: all 0.3s ease;
  will-change: transform;
}

.badge {
  font-weight: 700;
  color: white; /* Changed to white */
  animation: popIn 0.5s 0.4s ease-out both;
  font-size: clamp(0.9em, 3.5vw, 1em);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Added for better visibility */
}

/* Hover effects only on non-touch devices */
@media (hover: hover) {
  .tile-heading:hover .dimension-pill {
    background: rgba(255, 255, 255, 0.25); /* Brighter white on hover */
    transform: translateY(-1px);
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .heading-text,
  .dimension-pill,
  .badge {
    animation: none !important;
    transition: none !important;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 480px) {
  .tile-heading {
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
  }
  .dimension-pill {
    order: -1;
  }
}

/* Animations remain the same */
@keyframes slideIn {
  from {
    transform: translateX(calc(-1 * clamp(0.5rem, 2vw, 0.625rem)));
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/*-------Tiles Heading CSS End----------*/

/*-------Whatsapp button CSS start ----------*/
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 80px; /* Increase bottom to give more space */
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.my-float {
  margin-top: 16px;
}
/*-------Whatsapp button CSS End----------*/

.text-width {
  width: max-content;
}
.play-regular {
  font-family: "Play", sans-serif !important;
  font-weight: 400;
  font-style: normal;
}

.play-bold {
  font-family: "Play", sans-serif !important;
  font-weight: 700;
  font-style: normal;
}

.scroll-top-arrow {
  position: fixed;
  bottom: 20px; /* Lower than .float's 80px */
  right: 40px;
  width: 45px;
  height: 45px;
  background-color: #fff;
  color: #000;
  border-radius: 50%;
  text-align: center;
  font-size: 22px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
/* Mozzark-branded button styling */
.btn-mozzark-call {
  background: linear-gradient(135deg, #027ace 0%, #014d7b 100%);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
  z-index: 1;
  font-family: "Poppins", sans-serif;
}

.btn-mozzark-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(2, 122, 206, 0.4);
  color: white;
}

.mozzark-icon {
  transform: rotate(15deg);
  transition: transform 0.3s ease;
  color: #00c6fb;
}

.btn-mozzark-call:hover .mozzark-icon {
  transform: rotate(0deg) scale(1.1);
  color: white;
}

/* Premium quality badge */
.mozzark-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #00c6fb;
  color: #014d7b;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  transform: rotate(5deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Pulse animation */
.pulse-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 198, 251, 0.3);
  border-radius: 50px;
  top: 0;
  left: 0;
  transform: scale(0.8);
  opacity: 0;
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

/* Mozzark brand colors */
.text-parrot-green {
  color: #00c6fb;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .btn-mozzark-call {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  .mozzark-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.5rem;
    top: -8px;
    right: -5px;
  }
}

.beautify {
  text-align: justify;
}

/* Creative Slider Styles */
.creative-slider-section {
  position: relative;
  overflow: hidden;
}

.slider-header {
  position: relative;
  padding: 40px 0 20px;
  z-index: 10;
}

.company-name {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.05);
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 0;
  line-height: 1;
}

.tagline {
  font-size: 1.5rem;
  color: #555;
  font-weight: 300;
  margin-top: -15px;
  position: relative;
  z-index: 2;
}

/* Main Slider Styles */
.creative-main-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out,
    transform 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: scale(1.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease 0.3s;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.explore-btn {
  padding: 12px 30px;
  border-width: 2px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Thumbnail Navigation */
.thumbnail-nav-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.thumbnail-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  position: relative;
}

.thumbnail {
  position: relative;
  width: 120px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 10px;
}

.thumbnail:hover {
  transform: translateY(-10px);
}

.thumbnail-img {
  width: 100%;
  height: 120px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.thumbnail.active .thumbnail-img {
  border-color: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transform: scale(1.1);
}

.thumbnail-label {
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.thumbnail.active .thumbnail-label {
  color: #027ace;
  font-weight: 700;
  transform: scale(1.1);
}

.thumbnail-highlight {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: #000;
  transition: all 0.3s ease;
}

.thumbnail.active .thumbnail-highlight {
  width: 80%;
}

/* Navigation Arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  color: #333;
  font-size: 1.2rem;
  cursor: pointer;

  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.prev-slide {
  left: 0;
}

.next-slide {
  right: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .company-name {
    font-size: 3.5rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .slide-content h2 {
    font-size: 2.5rem;
  }

  .slide-content p {
    font-size: 1.2rem;
  }

  .thumbnail {
    width: 80px;
  }

  .thumbnail-img {
    height: 80px;
  }
}

@media (max-width: 768px) {
  .company-name {
    font-size: 2.5rem;
  }

  .creative-main-slider {
    height: 60vh;
    min-height: 400px;
  }

  .thumbnail-nav {
    gap: 10px;
  }

  .thumbnail {
    width: 60px;
    margin: 0 5px;
  }

  .thumbnail-img {
    height: 60px;
  }

  .thumbnail-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .thumbnail-nav-container {
    padding: 0 40px;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
.sticky-tagline-wrapper {
  position: relative;
  height: 0;
  margin-top: 25px; /* Adjust based on your layout */
}

.sticky-tagline {
  position: sticky;
  top: 30px;
  z-index: 100;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 300;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(2, 122, 206, 0.3);
  padding: 12px 25px;
  background: rgba(2, 122, 206, 0.5);
  border-radius: 30px;
  backdrop-filter: blur(5px);
  width: fit-content;
  margin: 0 auto;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(2, 122, 206, 0.3);
  animation: subtle-float 4s ease-in-out infinite;
}

@keyframes subtle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* Change appearance when at top of page */
body:not(.scrolled) .sticky-tagline {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  text-shadow: none;
  box-shadow: 0 4px 15px rgba(2, 122, 206, 0.5);
}

@media (max-width: 768px) {
  .sticky-tagline {
    font-size: 1.1rem;
    padding: 8px 15px;
    top: 15px;
  }
}

/* Tablets and up */
@media (min-width: 600px) {
  p,
  a,
  span {
    font-size: 25px !important;
  }
}

/* Desktops and up */
@media (min-width: 1024px) {
  p,
  a,
  span {
    font-size: 22px !important;
  }
}

/* Large desktops or 2K screens */
@media (min-width: 1440px) {
  p,
  a,
  span {
    font-size: 22px !important;
  }
}
