/* SAFETY AND POLICIES */

.safety-policies-container {
  display: flex;
  flex: 1;
  background-color: white;
  margin-top: 6rem;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

/* Sidebar styles */
.safety-policies-sidebar {
  width: 260px;
  background-color: #ffffff;
  padding: 2rem 1.5rem;
  position: sticky;
  top: 100px;
  height: calc(100vh - 70px);
  overflow-y: auto;
  border-right: 1px solid #e0e0e0;
  transition: transform 0.3s ease;
}

.safety-policies-sidebar::-webkit-scrollbar {
  display: none;
}

.safety-policies-sidebar h3 {
  margin-bottom: 1.5rem;
  color: #253C6A;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.safety-policies-sidebar-nav {
  list-style: none;
}

.safety-policies-sidebar-nav li {
  margin-bottom: 0.5rem;
}

.safety-policies-sidebar-nav a {
  text-decoration: none;
  color: #5d5b56;
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  font-weight: 500;
}

.safety-policies-sidebar-nav a:hover {
  background-color: hsl(227, 100%, 97%);
  color: hsl(227, 67%, 47%);
}

.safety-policies-sidebar-nav a.active {
  background-color: hsl(227, 100%, 97%);
  color: hsl(227, 67%, 47%);
  font-weight: 500;
}

/* Main content styles */
.safety-policies-main-content {
  flex: 1;
  padding: 2.5rem 3rem;
  /* max-width: 900px; */
  margin: 0 auto;
  line-height: 2rem;
}

.safety-policies-main-content h1 {
  color: #253C6A;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
}

.safety-policies-main-content h2 {
  color: #253C6A;
  margin: 2rem 0 1.2rem;
  padding-top: 1rem;
  scroll-margin-top: calc(70px + 1rem);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
}

.safety-policies-main-content h3 {
  margin: 1.5rem 0 0.8rem;
  color: #5d5b56;
  font-size: 1.2rem;
  font-weight: 600;
}

.safety-policies-main-content p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: #5d5b56;
}

.safety-policies-main-content ul,
.safety-policies-main-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.safety-policies-main-content li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #5d5b56;
}

.safety-policies-main-content strong {
  font-weight: 600;
  color: #5d5b56;
}

.safety-policies-last-updated {
  font-style: italic;
  color: #5d5b56;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

/* Mobile TOC styles */
.safety-policies-mobile-toc {
  display: none;
  margin-bottom: 2rem;
  padding: 0;
  line-height: 1.6rem;
}

.safety-policies-mobile-toc h3 {
  color: #253C6A;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.safety-policies-mobile-toc-nav {
  list-style: none;
}

.safety-policies-mobile-toc-nav li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2rem;
}

.safety-policies-mobile-toc-nav li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: hsl(227, 67%, 47%);
}

.safety-policies-mobile-toc-nav a {
  text-decoration: none;
  color: #5d5b56;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.safety-policies-mobile-toc-nav a:hover,
.safety-policies-mobile-toc-nav a.active {
  color: hsl(227, 67%, 47%);
}

/* Back to top button */
.safety-policies-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: hsl(227, 67%, 47%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.safety-policies-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.safety-policies-back-to-top:hover {
  background-color: hsl(220, 60%, 45%);
  transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 1200px) {
  .safety-policies-main-content {
    padding: 2rem;
  }
}

@media (max-width: 992px) {
  .safety-policies-sidebar {
    width: 240px;
    padding: 1.5rem 1rem;
  }

  .safety-policies-main-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .safety-policies-container {
    flex-direction: column;
  }

  .safety-policies-sidebar {
    display: none;
  }

  .safety-policies-mobile-toc {
    display: block;
  }

  .safety-policies-main-content {
    padding: 1.8rem 1.5rem;
    max-width: 100%;
  }

  .safety-policies-main-content h1 {
    font-size: 1.8rem;
  }

  .safety-policies-main-content h2 {
    font-size: 1.4rem;
    scroll-margin-top: calc(70px + 60px + 1rem);
  }
}

@media (max-width: 576px) {
  .safety-policies-header {
    padding: 0 1.5rem;
    height: 60px;
  }

  .safety-policies-main-content {
    padding: 1.5rem 1.2rem;
  }

  .safety-policies-main-content h1 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }

  .safety-policies-main-content h2 {
    font-size: 1.2rem;
    margin: 1.8rem 0 1rem;
  }

  .safety-policies-main-content li {
    font-size: 0.9rem;
    line-height: 2;
    margin-bottom: 0.5rem;
  }

  .safety-policies-main-content p {
    font-size: 0.9rem;
    line-height: 2;
  }

  .safety-policies-back-to-top {
    width: 45px;
    height: 45px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* END SAFETY AND POLICIES CSS */



/* ABOUT US */


/* Typography */
.tmzon-about-heading {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  /* background: linear-gradient(101deg,
      hsl(228, 66%, 53%),
      hsl(228, 66%, 47%)); */
  background: #253C6A;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tmzon-about-subheading {
  font-size: 1.5rem;
  font-weight: 400;
  color: #5d5b56;
  margin-bottom: 2rem;
}

.tmzon-about-section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #253C6A;
  position: relative;
  display: inline-block;
}

/* .tmzon-about-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(101deg,
      hsl(228, 66%, 53%),
      hsl(228, 66%, 47%));
  border-radius: 2px;
} */

.tmzon-about-text {
  font-size: 1rem;
  color: #5d5b56;
  margin-bottom: 1.8rem;
  line-height: 1.8;
}

/* Layout */
.tmzon-about-container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.tmzon-about-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.tmzon-about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%,
      hsla(227, 67%, 47%, 0.1) 0%,
      hsla(227, 67%, 47%, 0) 50%);
  z-index: -1;
}

.tmzon-about-section {
  padding: 80px 0;
  position: relative;
}

/* .tmzon-about-section-gray {
  background-color: #f9f9f9;
} */

.tmzon-about-section-dark {
  background: linear-gradient(135deg, #27408b 0%, #1e56a0 100%);
  color: white;
}

.tmzon-about-section-dark .tmzon-about-text {
  color: rgba(255, 255, 255, 0.9);
}

.tmzon-about-section-dark .tmzon-about-section-title {
  color: white;
}

/* .tmzon-about-section-dark .tmzon-about-section-title::after {
  background: linear-gradient(90deg, #ffffff, #00ccff);
} */

.tmzon-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.tmzon-about-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tmzon-about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 16px hsla(228, 66%, 45%, .1);
}

.tmzon-about-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tmzon-about-card-content {
  padding: 25px;
}

.tmzon-about-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #253C6A;
}

/* Team Slider */
.tmzon-about-team-container {
  position: relative;
  max-width: 1000px;
  margin: 50px auto 0;
  overflow: hidden;
}

.tmzon-about-team-slider {
  display: flex;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.tmzon-about-team-slider.grabbing {
  cursor: grabbing;
  transition: none;
}

.tmzon-about-team-member {
  min-width: 25%;
  padding: 0 15px;
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .tmzon-about-team-member {
    min-width: 33.33%;
  }
}

@media (max-width: 576px) {
  .tmzon-about-team-member {
    min-width: 100%;
  }
}

.tmzon-about-team-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 12px 16px hsla(228, 66%, 45%, .1);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.tmzon-about-team-member:hover .tmzon-about-team-img {
  transform: scale(1.05);
}

.tmzon-about-team-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #253C6A;
}

.tmzon-about-team-position {
  font-size: 1rem;
  color: #5d5b56;
  margin-bottom: 15px;
}

.tmzon-about-team-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.tmzon-about-team-arrow {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.tmzon-about-team-arrow:hover {
  background: hsl(228, 67%, 47%);
  color: white;
}

/* Video Player */
.tmzon-about-video-container {
  position: relative;
  max-width: 800px;
  margin: 50px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tmzon-about-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000;
}

.tmzon-about-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tmzon-about-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  z-index: 2;
}

.tmzon-about-video-overlay.hidden {
  display: none;
}

.tmzon-about-video-play {
  width: 80px;
  height: 80px;
  background: hsl(227, 100%, 98%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tmzon-about-video-play:hover {
  background: hsl(227, 67%, 47%);
  color: white;
  transform: scale(1.1);
}

.tmzon-about-video-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tmzon-about-video-container:hover .tmzon-about-video-close {
  opacity: 1;
}

.tmzon-about-video-time-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px;
}

.tmzon-about-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
  gap: 10px;
}

.tmzon-about-video-container:hover .tmzon-about-video-controls {
  opacity: 1;
}

.tmzon-about-video-progress {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.tmzon-about-video-progress-filled {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: hsl(227, 67%, 47%);
  border-radius: 3px;
  width: 0%;
}

.tmzon-about-video-time {
  color: white;
  font-size: 0.8rem;
  min-width: 40px;
  text-align: center;
}

.tmzon-about-video-right-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tmzon-about-video-btn {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.tmzon-about-video-btn:hover {
  opacity: 0.8;
}

.tmzon-about-video-btn svg {
  display: block;
}

.tmzon-about-video-btn:focus {
  outline: none;
}

.tmzon-about-video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 5px solid hsl(227, 100%, 97%);
  border-radius: 50%;
  border-top-color: hsl(227, 67%, 47%);
  animation: spin 1s ease-in-out infinite;
  z-index: 2;
  display: none;
}

/* Fullscreen Video Modal */
.tmzon-about-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.tmzon-about-video-modal.active {
  opacity: 1;
  visibility: visible;
}

.tmzon-about-video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
}

.tmzon-about-video-modal-video {
  width: 100%;
  height: auto;
  max-height: 90vh;
}

.tmzon-about-video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tmzon-about-video-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Stats */
.tmzon-about-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 50px;
  text-align: center;
}

.tmzon-about-stat {
  margin: 20px;
}

.tmzon-about-stat-number {
  font-size: 3rem;
  font-weight: 600;
  color: #253C6A;
  margin-bottom: 10px;
}

.tmzon-about-stat-label {
  font-size: 1.1rem;
  color: #5d5b56;
}

/* Clients Section */
.tmzon-about-clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 5rem;
}

.tmzon-about-client-logo {
  filter: brightness(0) invert(1)
}

.tmzon-about-client-logo {
  height: 60px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.tmzon-about-client-logo:hover {
  opacity: 1;
}

/* CTA */
.tmzon-about-cta {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  border-radius: 20px;
  margin: 80px auto;
  max-width: 800px;
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.tmzon-about-cta-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.tmzon-about-cta-text {
  font-size: 1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.tmzon-about-cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: white;
  color: hsl(228, 67%, 47%);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .tmzon-about-heading {
    font-size: 2.2rem;
  }

  .tmzon-about-subheading {
    font-size: 1rem;
  }

  .tmzon-about-section-title {
    font-size: 1.6rem;
  }

  .tmzon-about-stat-number {
    font-size: 2.3rem;
  }

  .tmzon-about-cta-title {
    font-size: 1.8rem;
  }

  .tmzon-about-cta-text {
    font-size: 0.9rem;
  }

  .tmzon-about-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {

  .tmzon-about-section-title {
    font-size: 1.25rem;
  }

  .tmzon-about-heading {
    font-size: 1.9rem;
  }

  .tmzon-about-grid {
    grid-template-columns: 1fr;
  }

  .tmzon-about-stat {
    width: 100%;
  }

  .tmzon-about-client-logo {
    height: 40px;
  }
}

.word-cycle {
  display: inline-block;
  min-width: 120px;
  text-align: left;
  position: relative;
}

.word-cycle span {
  display: inline-block;
  opacity: 0;
  animation: magicalFadeIn 0.8s ease-in-out forwards;
  color: #253C6A;
}

.word-cycle span.hide {
  animation: magicalFadeOut 0.8s ease-in-out forwards;
}

@keyframes magicalFadeIn {
  0% {
    opacity: 0;
    filter: blur(6px) brightness(0.9);
    text-shadow: none;
  }

  100% {
    opacity: 1;
    filter: blur(0) brightness(1);
  }
}

@keyframes magicalFadeOut {
  0% {
    opacity: 1;
    filter: blur(0) brightness(1);
  }

  100% {
    opacity: 0;
    filter: blur(6px) brightness(0.9);
    text-shadow: none;
  }
}


/* END ABOUT US CSS */



/* MEDIA CSS */

/* Gallery Container */
.tmzon-gallery-container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}

/* Hero Section */
.tmzon-gallery-hero {
  height: 90vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.tmzon-gallery-hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 1rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 0.3s forwards;
  color: #253C6A;
}

.tmzon-gallery-hero p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  max-width: 800px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 0.6s forwards;
  color: #5d5b56;
  padding: 0 20px;
}

.tmzon-gallery-hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 1s ease-out 1.2s forwards;
  cursor: pointer;
}

/* .tmzon-gallery-hero-scroll-icon {
  width: 30px;
  height: 50px;
  border: 2px solid white;
  border-radius: 15px;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tmzon-gallery-hero-scroll-icon::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 10px;
  background: white;
  border-radius: 3px;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollAnimation 2s infinite;
} */

/* Modern Filter Controls */
.tmzon-gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 20px;
  position: relative;
  margin-top: 3rem;
}

.tmzon-gallery-filter-btn {
  padding: 12px 24px;
  background-color: white;
  border: 1px solid hsl(227, 67%, 47%);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 0.95rem;
  font-weight: 600;
  color: #5d5b56;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
}

.tmzon-gallery-filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(101deg,
      hsl(228, 66%, 53%),
      hsl(228, 66%, 47%));
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tmzon-gallery-filter-btn:hover {
  color: white;
  border-color: rgba(65, 116, 211, 0.3);
}

.tmzon-gallery-filter-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.tmzon-gallery-filter-btn.active {
  color: white;
  background: linear-gradient(101deg,
      hsl(228, 66%, 53%),
      hsl(228, 66%, 47%));
  transform: translateY(-2px);
}

.tmzon-gallery-filter-btn.active::before {
  display: none;
}

/* Gallery Grid */
.tmzon-gallery-grid-section {
  padding: 40px 0 80px;
  background-color: #fff;
}

.tmzon-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  min-height: 300px;
}

.tmzon-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  aspect-ratio: 1/1;
  background-color: #f5f5f5;
  cursor: pointer;
  opacity: 1;
  transform: translateY(0);
  will-change: transform, opacity;
}

.tmzon-gallery-item.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.tmzon-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.tmzon-gallery-item:hover img {
  transform: scale(1.08);
}

.tmzon-gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 25px;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tmzon-gallery-item:hover .tmzon-gallery-item-overlay {
  transform: translateY(0);
}

.tmzon-gallery-item-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 500;
  color: white;
}

.tmzon-gallery-item-description {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Premium Media Viewer Popup */
.tmzon-media-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(19, 20, 26, 0.97);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.tmzon-media-viewer.active {
  opacity: 1;
  visibility: visible;
}

.tmzon-media-viewer-container {
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  position: relative;
  overflow: hidden;
}

.tmzon-media-viewer-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.tmzon-media-viewer-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.tmzon-media-viewer-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.tmzon-media-viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  color: hsl(227, 67%, 47%);
  background-color: hsl(227, 100%, 98%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  padding: 0;
  margin: 0;
}

.tmzon-media-viewer-nav i {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.tmzon-media-viewer-nav:hover {
  background-color: hsl(227, 67%, 47%);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.tmzon-media-viewer-prev {
  left: 20px;
}

.tmzon-media-viewer-next {
  right: 20px;
}

.tmzon-media-viewer-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  color: hsl(227, 67%, 47%);
  background-color: hsl(227, 100%, 98%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: none;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  backdrop-filter: blur(8px);
}

.tmzon-media-viewer-close:hover {
  background-color: hsl(227, 67%, 47%);
  color: white;
  transform: scale(1.1);
}

.tmzon-media-viewer-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 15px;
  text-align: center;
}

.tmzon-media-viewer-title {
  font-size: 1.5rem;
  margin-bottom: 3px;
  font-weight: 500;
  color: white;
}

.tmzon-media-viewer-description {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.tmzon-media-viewer-counter {
  position: absolute;
  top: 30px;
  left: 30px;
  color: hsl(227, 67%, 47%);
  font-size: 1rem;
  background-color: hsl(227, 100%, 98%);
  padding: 8px 18px;
  border-radius: 30px;
  z-index: 10;
  backdrop-filter: blur(5px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollAnimation {
  0% {
    opacity: 1;
    top: 8px;
  }

  100% {
    opacity: 0;
    top: 25px;
  }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .tmzon-media-viewer-nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .tmzon-gallery-hero {
    min-height: 400px;
  }

  .tmzon-gallery-grid {
    gap: 15px;
    padding: 15px;
  }

  .tmzon-gallery-item-overlay {
    padding: 15px;
  }

  .tmzon-media-viewer-container {
    width: 95%;
    height: 70vh;
  }

  .tmzon-media-viewer-info {
    padding: 20px;
  }

  .tmzon-media-viewer-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .tmzon-gallery-hero {
    min-height: 350px;
  }

  .tmzon-gallery-social-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .tmzon-gallery-filter {
    padding: 20px 10px;
    gap: 8px;
  }

  .tmzon-gallery-filter-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .tmzon-media-viewer-container {
    height: 60vh;
  }

  .tmzon-media-viewer-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .tmzon-media-viewer-close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* END MEDIA CSS */




/* FAQS CSS */

.tmzon-faqs-body {
  color: #1e293b;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.tmzon-faqs-body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.tmzon-faqs-container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  margin-top: 11rem;
}

/* Header Styles */
.tmzon-faqs-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.tmzon-faqs-title {
  font-size: clamp(1.9rem, 5vw, 3.5rem);
  font-weight: 600;
  background: #253C6A;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background-size: 200% auto;
  animation: tmzon-faqs-gradientBG 5s ease infinite;
}

.tmzon-faqs-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
  color: #5d5b56;
  max-width: 700px;
  margin: 0 auto 2rem;
  position: relative;
}

/* Search Container */
.tmzon-faqs-search-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 2;
}

.tmzon-faqs-search-wrapper {
  position: relative;
  width: 100%;
}

.tmzon-faqs-search {
  width: 100%;
  padding: 22px 22px;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
  border: 2px solid #ccc;
  padding-right: 3.5rem;
  font-family: 'Poppins', sans-serif;
}

.tmzon-faqs-search:focus {
  outline: none;
  border: 2px solid hsl(227, 67%, 47%);
}

.tmzon-faqs-search-icon {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(227, 67%, 47%);
  font-size: 1.5rem;
  pointer-events: none;
}

/* Search Results */
.tmzon-faqs-search-results {
  max-width: 800px;
  margin: 0.5rem auto 0;
  background: #ffffff;
  border-radius: 25px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  max-height: 350px;
  overflow-y: auto;
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 105%;
  z-index: 10;
  border: 1px solid #ccc;
}

.tmzon-faqs-search-results.active {
  display: block;
  animation: tmzon-faqs-fadeIn 0.2s ease;
}

.tmzon-faqs-search-result-item {
  padding: 1rem 1.6rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tmzon-faqs-search-result-item:hover {
  background: hsl(227, 100%, 97%);
}

.tmzon-faqs-search-result-question {
  font-weight: 500;
  color: #5d5b56;
  font-size: 1rem;
  text-align: left;
}

.tmzon-faqs-search-result-category {
  font-size: 0.8rem;
  color: #88857d;
  margin-top: 0.4rem;
  text-align: left;
}

.tmzon-faqs-search-no-results {
  padding: 1.5rem;
  text-align: center;
  color: #5d5b56;
  font-size: 1rem;
  text-align: left;
}

/* Categories Grid */
.tmzon-faqs-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.tmzon-faqs-category-card {
  border-radius: 20px;
  padding: 1.7rem;
  transition: all 0.3s ease-in-out;
  border: 1px solid #e2e8f0;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tmzon-faqs-category-card:hover {
  box-shadow: 0 12px 16px hsla(228, 66%, 45%, .1);
}

.tmzon-faqs-category-icon {
  font-size: 2.2rem;
  color: hsl(227, 67%, 47%);
  margin-bottom: 0.8rem;
}

.tmzon-faqs-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #253C6A;
  margin-bottom: 0.6rem;
}

.tmzon-faqs-category-count {
  font-size: 0.85rem;
  color: #5d5b56;
}

/* Quick Assist Section */
.tmzon-faqs-quick-assist {
  border-radius: 14px;
  margin-bottom: 2rem;
  margin-top: 8rem;
}

.tmzon-faqs-quick-assist-title {
  font-size: 2rem;
  font-weight: 600;
  color: #253C6A;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 0.25rem;
}


.tmzon-faqs-quick-assist-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tmzon-faqs-quick-assist-item {
  border-radius: 30px;
  padding: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
  color: #5d5b56;
}

.tmzon-faqs-quick-assist-item:hover {
  background: hsl(227, 100%, 98%);
}

/* Bottom Modal */
.tmzon-faqs-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out, visibility 0.3s;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  visibility: hidden;
}

@media (min-width: 768px) {
  .tmzon-faqs-modal {
    max-width: 700px;
    transform: translate(0, 100%);
    border-radius: 16px;
    max-height: 70vh;
    bottom: 2%;
  }

  .tmzon-faqs-modal.open {
    transform: translate(-50%, 0);
  }
}

.tmzon-faqs-modal.open {
  transform: translateY(0);
  visibility: visible;
}

.tmzon-faqs-modal-header {
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.tmzon-faqs-modal-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #253C6A;
  margin: 0;
  padding-right: 2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tmzon-faqs-modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s ease;
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  padding: 0.5rem;
  line-height: 1;
}

.tmzon-faqs-modal-close:hover {
  color: hsl(227, 67%, 47%);
}

.tmzon-faqs-modal-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.tmzon-faqs-modal-item {
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1.2rem;
}

.tmzon-faqs-modal-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tmzon-faqs-modal-question {
  font-weight: 500;
  font-size: 1.1rem;
  color: #253C6A;
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
}

.tmzon-faqs-modal-answer {
  color: #5d5b56;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tmzon-faqs-modal-item.active .tmzon-faqs-modal-answer {
  max-height: 500px;
  margin-top: 0.5rem;
}

.tmzon-faqs-modal-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 0.8rem;
  font-size: 1.1rem;
}

.tmzon-faqs-modal-item.active .tmzon-faqs-modal-icon {
  transform: rotate(180deg);
}

.tmzon-faqs-modal-footer {
  padding: 1.3rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.tmzon-faqs-modal-not-helpful {
  background: none;
  border: none;
  color: #5d5b56;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 0.5rem;
  transition: color 0.3s ease-in-out;
  font-family: 'Poppins', sans-serif;
}

.tmzon-faqs-modal-not-helpful i {
  margin-right: 0.4rem;
  font-size: 1rem;
}

.tmzon-faqs-modal-not-helpful:hover {
  color: #3f3e3c;
}

/* Loader */
.tmzon-faqs-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  min-height: 100px;
}

.tmzon-faqs-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid hsl(227, 100%, 97%);
  border-radius: 50%;
  border-top-color: hsl(227, 67%, 47%);
  animation: tmzon-faqs-spin 1s linear infinite;
}

/* Overlay */
.tmzon-faqs-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  /* backdrop-filter: blur(1px); */
}

.tmzon-faqs-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Search Highlight */
.tmzon-faqs-search-highlight {
  color: #4f46e5;
  font-weight: 600;
  background: none;
}

/* Animations */
@keyframes tmzon-faqs-gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes tmzon-faqs-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tmzon-faqs-fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tmzon-faqs-cta {
  padding: 0 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .tmzon-faqs-container {
    padding: 1.5rem;
  }

  .tmzon-faqs-categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .tmzon-faqs-quick-assist-items {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .tmzon-faqs-modal {
    max-height: 85vh;
  }

  .tmzon-faqs-modal-header {
    padding: 1.5rem 1.2rem;
  }

  .tmzon-faqs-modal-content {
    padding: 0.8rem 1.2rem;
  }

  .tmzon-faqs-modal-footer {
    padding: 0.8rem 1.2rem;
  }
}

@media (max-width: 640px) {
  .tmzon-faqs-container {
    padding: 1.25rem;
  }

  .tmzon-faqs-title {
    font-size: 1.8rem;
  }

  .tmzon-faqs-category-title {
    font-size: 1.1rem;
  }

  .tmzon-faqs-categories-grid {
    grid-template-columns: 1fr;
  }

  .tmzon-faqs-quick-assist-items {
    grid-template-columns: 1fr;
  }

  .tmzon-faqs-modal {
    max-height: 90vh;
    border-radius: 16px 16px 0 0;
  }

  .tmzon-faqs-quick-assist-title {
    font-size: 1.5rem;
  }

  .tmzon-faqs-quick-assist-item {
    font-size: 0.9rem;
  }

  .tmzon-faqs-search {
    padding: 0.9rem 1.25rem;
    padding-right: 2.5rem;
  }

  .tmzon-faqs-search-icon {
    right: 1.25rem;
  }
}

@media (max-width: 480px) {
  .tmzon-faqs-container {
    padding: 1rem;
  }

  .tmzon-faqs-title {
    font-size: 1.6rem;
  }

  .tmzon-faqs-subtitle {
    font-size: 0.95rem;
  }

  .tmzon-faqs-category-card {
    padding: 1.25rem;
  }

  .tmzon-faqs-modal-title {
    font-size: 1.1rem;
  }

  .tmzon-faqs-modal-question {
    font-size: 0.95rem;
  }

  .tmzon-faqs-modal-answer {
    font-size: 0.9rem;
  }

  .tmzon-faqs-query-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .tmzon-faqs-category-card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
  }

  .tmzon-faqs-quick-assist-item:hover {
    transform: none;
    box-shadow: none;
  }

  .tmzon-faqs-query-button:hover {
    transform: none;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
  }
}


/* END FAQs CSS */


/* TMZON VIDEO TUTORIAL CSS */


.tmzon_video_tutorials_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  margin-top: 8rem;
}

.tmzon_video_tutorials_header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px 0;
}

.tmzon_video_tutorials_title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: #253C6A;
  margin-bottom: 10px;
  font-weight: 500;
  /* animation: fadeInUp 1s ease-out 0.3s forwards; */
}

.tmzon_video_tutorials_subtitle {
  font-size: 1.2rem;
  color: #5d5b56;
  max-width: 700px;
  margin: 0 auto;
}

/* Search Bar */
.tmzon_video_tutorials_search_container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 40px;
}

.tmzon_video_tutorials_search_input {
  width: 100%;
  padding: 15px 25px;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  outline: none;
  transition: all 0.3s;
  border: 1px solid #ccc;
  background: white;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.1rem;
}

.tmzon_video_tutorials_search_input:focus {
  outline: none;
  border: 1px solid hsl(227, 67%, 47%);
}

.tmzon_video_tutorials_suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  border: 1px solid #ccc;
  border-radius: 20px;
}

.tmzon_video_tutorials_suggestion_item {
  padding: 18px 25px;
  cursor: pointer;
  transition: background 0.3s;
  border-bottom: 1px solid #f0f0f0;
}

.tmzon_video_tutorials_suggestion_item:last-child {
  border-bottom: none;
}

.tmzon_video_tutorials_suggestion_item:hover {
  background: hsl(228, 100%, 98%);
}

/* Main Content Layout */
.tmzon_video_tutorials_main {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* Video Player Section */
.tmzon_video_tutorials_video_section {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.tmzon_video_tutorials_video_container {
  flex: 1;
  min-width: 300px;
}

.tmzon_video_tutorials_playlist_videos_container {
  width: 350px;
}

/* Video Player */
.tmzon_video_tutorials_video_wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 12px;
  margin-bottom: 20px;
}

.tmzon_video_tutorials_video_wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.tmzon_video_tutorials_video_info {
  margin-bottom: 30px;
  background: white;
  padding-top: 15px;
}

.tmzon_video_tutorials_video_title {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #253C6A;
  font-weight: 500;
}

.tmzon_video_tutorials_video_meta {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #7f8c8d;
  font-size: 0.95rem;
}

.tmzon_video_tutorials_video_date {
  margin-right: 15px;
  color: #5d5b56;
}

.tmzon_video_tutorials_video_description {
  line-height: 1.7;
  color: #5d5b56;
}

/* Playlists */
.tmzon_video_tutorials_playlist_header {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #253C6A;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
  font-weight: 500;
}

.tmzon_video_tutorials_playlist_list {
  max-height: 600px;
  overflow-y: auto;
  padding-right: 10px;
}

.tmzon_video_tutorials_playlist_item {
  display: flex;
  margin-bottom: 18px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 15px;
  overflow: hidden;
  background: white;
  border: 1px solid #e2e8f0;
}

.tmzon_video_tutorials_playlist_item:hover {
  background: hsl(228, 100%, 98%);
}

.tmzon_video_tutorials_playlist_item_active {
  border-right: 4px solid hsl(228, 67%, 47%);
  background: #f8fafc;
}

.tmzon_video_tutorials_playlist_thumbnail {
  width: 120px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
}

.tmzon_video_tutorials_playlist_info {
  padding: 12px 15px;
  flex-grow: 1;
}

.tmzon_video_tutorials_playlist_title {
  font-weight: 500;
  margin-bottom: 5px;
  color: #253C6A;
  font-size: 1.05rem;
}

.tmzon_video_tutorials_playlist_video_count {
  font-size: 0.85rem;
  color: #7f8c8d;
}

/* Videos in Playlist */
.tmzon_video_tutorials_videos_in_playlist {
  margin-top: 0;
  background: white;
  height: 100%;
}

.tmzon_video_tutorials_videos_header {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #253C6A;
  font-weight: 500;
}

.tmzon_video_tutorials_video_in_playlist {
  display: flex;
  margin-bottom: 18px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 15px;
  overflow: hidden;
  background: white;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tmzon_video_tutorials_video_in_playlist:hover {
  background: hsl(228, 100%, 98%);
}

.tmzon_video_tutorials_video_in_playlist_active {
  border-right: 4px solid hsl(228, 67%, 47%);
  background: white;
}

.tmzon_video_tutorials_video_in_playlist_thumbnail {
  width: 150px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
}

.tmzon_video_tutorials_video_in_playlist_info {
  padding: 10px 15px;
  flex-grow: 1;
}

.tmzon_video_tutorials_video_in_playlist_title {
  font-weight: 500;
  margin-bottom: 6px;
  color: #253C6A;
  font-size: 1rem;
}

.tmzon_video_tutorials_video_in_playlist_duration {
  font-size: 0.8rem;
  color: #5d5b56;
}

/* Playlists Section */
.tmzon_video_tutorials_playlists_section {
  width: 100%;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 3rem;
}

.tmzon_video_tutorials_playlist_container {
  flex: 1;
  min-width: 300px;
}

.tmzon_video_tutorials_featured_playlists {
  flex: 1;
  min-width: 300px;
}

/* Loading State */
.tmzon_video_tutorials_loading_overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.tmzon_video_tutorials_loading_overlay_active {
  opacity: 1;
  pointer-events: all;
}

.tmzon_video_tutorials_spinner {
  width: 50px;
  height: 50px;
  border: 4px solid hsl(227, 100%, 98%);
  border-top: 4px solid hsl(227, 67%, 47%);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .tmzon_video_tutorials_video_section {
    flex-direction: column;
  }

  .tmzon_video_tutorials_playlist_videos_container {
    width: 100%;
    margin-top: 30px;
  }

  .tmzon_video_tutorials_videos_in_playlist {
    margin-top: 30px;
  }

  .tmzon_video_tutorials_playlists_section {
    flex-direction: column;
    gap: 40px;
  }

  .tmzon_video_tutorials_playlist_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-height: none;
  }

  .tmzon_video_tutorials_playlist_item {
    flex-direction: column;
    margin-bottom: 0;
  }

  .tmzon_video_tutorials_playlist_thumbnail {
    width: 100%;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .tmzon_video_tutorials_title {
    font-size: 2rem;
  }

  .tmzon_video_tutorials_subtitle {
    font-size: 1rem;
  }

  .tmzon_video_tutorials_playlist_list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .tmzon_video_tutorials_container {
    padding: 20px;
  }

  .tmzon_video_tutorials_title {
    font-size: 1.8rem;
  }

  .tmzon_video_tutorials_video_title {
    font-size: 1.5rem;
  }

  .tmzon_video_tutorials_playlist_list {
    grid-template-columns: 1fr;
  }

  .tmzon_video_tutorials_video_in_playlist {
    flex-direction: column;
  }

  .tmzon_video_tutorials_video_in_playlist_thumbnail {
    width: 100%;
    height: 150px;
  }

  .tmzon_video_tutorials_video_in_playlist_active {
    border-right: none;
  }

  .tmzon_video_tutorials_playlist_item_active {
    border-right: none;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tmzon_video_tutorials_fade_in {
  animation: fadeIn 0.4s ease-out forwards;
}

