@import url("https://fonts.googleapis.com/css2?family=Square+Peg&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap');

:root {
	--it-color-primary: #E8820C;
  --it-color-primary-dark: #C45E00;
  --it-color-primary-light: #FEF3E2;
   --it-color-surface: #ffffff;
   --it-color-bg-light: #f8fafc;
   --it-color-text-main: #0f172a;
   --it-color-text-muted: #64748b;
   --it-color-border: #e2e8f0;
   --it-radius-md: 12px;
   --it-radius-pill: 50rem;
   --it-shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05);
   --it-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
   --it-shadow-glow: 0 4px 15px rgba(79, 70, 229, 0.3);
   --accent-gradient: linear-gradient(135deg, #f7be55, #ec4848);
   
    --primary: #E8820C;   
	--primary-light: #FEF3E2;  
	--accent: #C45E00;   
	--hero-bg: #FDF6EC;  
	--dark-footer: #2C1A0E;
	   scroll-behavior: smooth;
}

* {
   box-sizing: border-box;
   padding: 0;
   margin: 0;
}

a:focus { outline: none; }

html {
   width: 100%;
   overflow-x: hidden;
}
body {
   background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
   color: var(--it-color-text-main);
   font-family: "DM Sans", sans-serif;
   overflow-x: hidden;
   width: 100%;
}

img {
   transition: opacity 0.3s ease-in;
}
img[loading] {
   opacity: 0;
}
img.loaded {
   opacity: 1;
}

#storyCardsGrid, #songGrid, #videoGrid {
   scroll-margin-top: 8rem;
}

.bg-light__custom{
    background-color: #fdf5ee !important;
}

.section-spacing {
   padding-top: 6rem;
   padding-bottom: 6rem;
  /* top: -5.5rem; */
   position: relative;

}
.z-index-1 {
   position: relative;
   z-index: 1;
}

.header {
   height: 5.5rem;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.header--glass {
   display: flex;
   align-items: center;
   padding: 1.1rem;
   background: rgb(253 245 238 / 72%) !important;
   backdrop-filter: blur(16px);
   -webkit-backdrop-filter: blur(16px);
}

.brand-logo--gradient {
   font-family: "Caveat", serif;
   font-size: clamp(2rem, 3vw, 3rem);
   font-weight: 600;
   background: #C25A00;
   -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
   text-decoration: none;
}

.brand-logo--gradient {
    border: none !important;
    outline: none !important;
}

.nav-link-custom {
   color: #000000;
   font-weight: 600;
   font-size: 0.95rem;
   text-decoration: none;
   transition: color 0.3s ease;
   position: relative;
   padding-bottom: 4px;
}
.nav-link-custom::after {
   content: "";
   position: absolute;
   width: 100%;
   height: 2px;
   bottom: 0;
   left: 0;
   background-color: var(--it-color-primary);
   border-radius: 2px;
   transform: scaleX(0);
   transform-origin: bottom right;
   transition: transform 0.3s ease-out;
}
.nav-link-custom:hover,
.nav-link-custom.active {
   color: #C25A00;
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after {
   transform: scaleX(1);
   transform-origin: bottom left;
}
.nav-link-custom i.fa-lock {
   font-size: 0.85em;
   opacity: 0.8;
   transform: translateY(-1px);
}

/* Mobile Menu */
.mobile-toggle {
   display: none;
   flex-direction: column;
   justify-content: space-between;
   width: 30px;
   height: 21px;
   cursor: pointer;
   z-index: 1001;
   border: none;
   background: none;
   padding: 0;
}
.mobile-toggle__line {
   display: block;
   width: 100%;
   height: 3px;
   background-color: var(--it-color-text-main);
   border-radius: 3px;
   transition: all 0.3s ease;
}
.mobile-toggle--active .mobile-toggle__line:nth-child(1) {
   transform: translateY(9px) rotate(45deg);
}
.mobile-toggle--active .mobile-toggle__line:nth-child(2) {
   opacity: 0;
}
.mobile-toggle--active .mobile-toggle__line:nth-child(3) {
   transform: translateY(-9px) rotate(-45deg);
}

.mobile-overlay {
   position: fixed;
   inset: 0;
   background: rgba(255, 255, 255, 0.97);
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   z-index: 1020; 
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   visibility: hidden;
   transition: all 0.4s ease;
   padding-top: 5.5rem;
}
.mobile-overlay--active {
   opacity: 1;
   visibility: visible;
}
.mobile-overlay__nav {
   display: flex;
   flex-direction: column;
   text-align: center;
   gap: 2rem;
}
.mobile-overlay__link {
   font-size: 2rem;
   font-weight: 700;
   color: var(--it-color-text-main);
   text-decoration: none;
   font-family: "DM Sans", sans-serif;
   transform: translateY(20px);
   opacity: 0;
   transition: all 0.4s ease;
}
.mobile-overlay--active .mobile-overlay__link {
   transform: translateY(0);
   opacity: 1;
}
.mobile-overlay__link:hover {
   color: var(--it-color-primary);
}
@media (max-width: 991px) {
   .mobile-toggle {
      display: flex;
   }
   .header-nav {
      display: none !important;
   }
}

.brand-logo-icon {
    height: 50px;
    width: auto;
    object-fit: contain;
    transform: scale(2.2);
    transform-origin: center right; 
    
}	

.hero-section.split-hero {
    background: #ffffff; 
    min-height: auto;
    overflow: hidden;
}

.hero__text-window {
    text-align: left;
    min-width: 280px; 
}

.hero__text-window {
    display: inline-block;
    vertical-align: bottom;
    overflow: hidden; 
    white-space: nowrap; 
	padding-bottom: 12px; 
    margin-bottom: -12px;
}

.hero__title-highlight {
    display: inline-block;
	position: relative;
    white-space: nowrap;

}

.hero__through {
    display: inline-block;
}
.it-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 1rem 2rem;
   border-radius: var(--it-radius-pill);
   font-weight: 700;
   text-decoration: none;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
   border: none;
   cursor: pointer;
}
.it-btn--primary {
 background: #E8820C;
  border-color: #E8820C;
  color: #fff;
 
}
.it-btn--primary:hover {
  background: #C45E00;
  border-color: #C45E00;
}
.it-btn--outline {
   background: var(--it-color-surface);
   color: #000;
   border: 2px solid #C25A00;
   
}
.it-btn--outline:hover {
    background: #C25A00;
	color: #fff;
   transform: translateY(-2px);
}

.story-card {
   background: var(--it-color-surface);
   border-radius: 16px;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
   border: 1px solid rgba(0, 0, 0, 0.03);
   transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.4s ease;
   overflow: hidden;
   will-change: transform, opacity;
   backface-visibility: hidden;
   height: 100%;
   display: flex;
   flex-direction: column;
   cursor: pointer;
}
.story-card:hover {
   transform: translateY(-6px);
   box-shadow: var(--it-shadow-lg);
}
.story-card.is-active {
   border-color: var(--it-color-primary);
   background: rgba(79, 70, 229, 0.035);
}

.story-card .it-btn--primary {
   background: #fff;
   color: #000;
   outline: 1px solid #C25A00;
   box-shadow: none;
   transition: all 0.2s ease;
}
.story-card .it-btn--primary:hover {
   background: #C25A00;
   color: white;
   box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.story-card__thumbnail {
   position: relative;
   width: calc(100% + 3rem);
   height: 20rem;
   margin: -1.5rem -1.5rem 1.5rem -1.5rem;
   overflow: hidden;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: var(--it-radius-md) var(--it-radius-md) 0 0;
   background-size: cover;
   background-position: center;
}
.story-card__thumbnail--audio-1 {
   background: url('../images/stories/1.webp') center / cover no-repeat;
}
.story-card__thumbnail--audio-2 {
   background: url('../images/stories/2.webp') center / cover no-repeat;
}
.story-card__thumbnail--audio-3 {
   background: url('../images/stories/3.webp') center / cover no-repeat;
}

.story-card__thumbnail--song-1{
   background: url('../images/songs/1.webp') center / cover no-repeat;
}
.story-card__thumbnail--song-2{
   background: url('../images/songs/2.webp') center / cover no-repeat;
}
.story-card__thumbnail--song-3{
   background: url('../images/songs/3.webp') center / cover no-repeat;
}
.story-card__thumbnail--audio-1 .story-card__type-icon,
.story-card__thumbnail--audio-2 .story-card__type-icon,
.story-card__thumbnail--audio-3 .story-card__type-icon {
   color: var(--it-color-primary);
}
.story-card__thumbnail--song {
   background: linear-gradient(
      135deg,
      rgba(236, 72, 153, 0.15) 0%,
      rgba(251, 113, 133, 0.28) 100%
   );
}
.story-card__thumbnail--video {
   background-color: #1e293b;
   background-image: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.story-card__type-icon {
   width: 64px;
   height: 64px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.6rem;
   background: rgba(255, 255, 255, 0.9);
   box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.3s ease;
   position: relative;
   z-index: 1;
}
.story-card__thumbnail--song .story-card__type-icon {
   color: #ec4899;
}
.story-card:hover .story-card__type-icon {
   transform: scale(1.15);
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* video cards */
.story-card__play-overlay {
   width: 52px;
   height: 52px;
   background: rgba(255, 255, 255, 0.9);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--it-color-primary);
   font-size: 1.1rem;
   box-shadow: var(--it-shadow-sm);
   transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
   position: relative;
   z-index: 1;
}
.story-card:hover .story-card__play-overlay {
   transform: scale(1.12);
   background: var(--it-color-primary);
   color: white;
}

/* Resource icons */
.resource-icon-wrapper {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 52px;
   height: 52px;
   border-radius: 14px;
   font-size: 1.5rem;
   flex-shrink: 0;
   transition: transform 0.3s ease;
}
.story-card:hover .resource-icon-wrapper {
   transform: scale(1.1) rotate(-4deg);
}
.resource-icon-wrapper--pdf {
   background-color: rgba(239, 68, 68, 0.1);
   color: #ef4444;
}
.resource-icon-wrapper--zip {
   background-color: rgba(59, 130, 246, 0.1);
   color: #3b82f6;
}

@media (min-width: 992px) {
   #storyCardsGrid > div,
   .featured-grid > div {
      width: 50%;
   }
}
@media (min-width: 1200px) {
   #storyCardsGrid > div,
   .featured-grid > div {
      width: 33.333333%;
   }
}

.hero {
  padding: 140px 0 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: 
    radial-gradient(
      circle,
      rgba(79, 70, 229, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(253, 246, 236, 0.82), 
      rgba(253, 246, 236, 0.92)
    ),
    url('../images/bg/it.webp') center/cover;
  background-size: 100% 100%, 100% 100%, 100% 100%;
}

.hero__bg-shape {
   position: absolute;
   border-radius: 50%;
   filter: blur(60px);
   z-index: 0;
}
.hero__bg-shape--primary {
   width: 420px;
   height: 420px;
   top: -10%;
   left: -5%;
   background: rgba(79, 70, 229, 0.12);
}
.hero__bg-shape--secondary {
   width: 320px;
   height: 320px;
   bottom: -10%;
   right: -5%;
   background: rgba(236, 72, 153, 0.12);
}

.hero__float-icon {
   position: absolute;
   font-size: 2rem;
   opacity: 0.55;
   z-index: 0;
   pointer-events: none;
   filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}
.hero__float-icon--1 {
   top: 22%;
   left: 7%;
   font-size: 2.2rem;
}
.hero__float-icon--2 {
   top: 62%;
   left: 11%;
   font-size: 1.8rem;
}
.hero__float-icon--3 {
   top: 22%;
   right: 7%;
   font-size: 2rem;
}
.hero__float-icon--4 {
   top: 65%;
   right: 10%;
   font-size: 1.6rem;
}
@media (max-width: 768px) {
   .hero__float-icon {
      display: none;
   }
}
.hero__float-icon { display: none; }
.hero__content {
   position: relative;
   z-index: 1;
}
@keyframes badge-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(232, 130, 12, 0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(232, 130, 12, 0);   }
    100% { box-shadow: 0 0 0 0   rgba(232, 130, 12, 0);   }
}
.hero__badge {
   display: inline-flex;
   align-items: center;
	background: rgba(232, 130, 12, 0.12);
	border: 1px solid rgba(232, 130, 12, 0.35);
	color: #000000;
   font-weight: 600;
   padding: 0.6rem 1.2rem;
   font-size: 0.85rem;
   animation: badge-pulse 2s ease-out infinite;
}

.hero__title {
   font-size: clamp(1.5rem, 5vw, 4rem);
   font-weight: 700;
   letter-spacing: -1px;
   color: var(--it-color-text-main);
   line-height: 1.2;
}
.hero__title-highlight {
   background: linear-gradient(135deg,var(--it-color-primary) 0%,#ec4899 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   position: relative;
   display: flex;
}

.hero__title-highlight::after {
    content: '';
    position: absolute;
    bottom: -6px; 
    left: -2%;  
    width: 104%;
    height: 12px; 
    border: 3px solid transparent;
    border-radius: 50%;
    background: linear-gradient(-90deg, var(--it-color-primary), #EC4899) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    clip-path: inset(50% 0 0 0); 
    opacity: 0.4;
    pointer-events: none;
}

.hero__description {
   font-size: 1.1rem;
   text-shadow: 0 1px 4px rgba(255, 255, 255, 0.7);
	color: #000;
   max-width: 580px;
   margin-left: auto;
   margin-right: auto;
   line-height: 1.7;
}

.trust-strip {
   background: var(--it-color-surface);
   border-top: 1px solid var(--it-color-border);
   border-bottom: 1px solid var(--it-color-border);
   padding: 2.5rem 0;
}
.trust-strip__item {
   text-align: center;
   padding: 0.75rem 1rem;
   position: relative;
}
.trust-strip__item--bordered::before,
.trust-strip__item--bordered::after {
   content: "";
   position: absolute;
   top: 15%;
   height: 70%;
   width: 1px;
   background: var(--it-color-border);
}
.trust-strip__item--bordered::before {
   left: 0;
}
.trust-strip__item--bordered::after {
   right: 0;
}
.trust-strip__icon {
   font-size: 1.6rem;
   margin-bottom: 0.4rem;
   display: block;
}
.trust-strip__number {
	color: #E8820C;
   font-family: "Poppins", sans-serif;
   font-size: 1.9rem;
   font-weight: 700;
   background: linear-gradient(135deg, var(--it-color-primary), #ec4899);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   line-height: 1;
   margin-bottom: 0.3rem;
}
.trust-strip__label {
   font-size: 0.85rem;
   color: var(--it-color-text-muted);
   font-weight: 500;
}

.section-label {
   display: inline-flex;
   align-items: center;
   gap: 0.4rem;
   font-size: 0.75rem;
   font-weight: 700;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: #C25A00;
  border-left: 3px solid #E8820C;
  padding-left: 8px;
   margin-bottom: 0.4rem;
}
.section-title {
   position: relative;
   display: inline-block;
   padding-bottom: 0.6rem;
}
.section-title::after {
   content: "";
   position: absolute;
   bottom: 0;
   left: 0;
   width: 36px;
   height: 3px;
   background: linear-gradient(90deg, var(--it-color-primary), #ec4899);
   border-radius: 3px;
}

.footer-wave {
    position: relative;
    top: 5px;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.footer-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    fill: #2C2416;
}

.site-footer {
    background-color: #2C2416;
    color: #fff;
    padding: 4rem 2rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

/* Brand Column */
.footer-brand h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.footer-tagline {
    font-weight: 600;
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.footer-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

/* The "Made with Love" Badge */
.love-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #cbd5e1;
    transition: background 0.3s ease;
}
.love-badge:hover {
    background: rgba(255,255,255,0.1);
}
.heart-icon {
    color: var(--accent-solid);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Navigation Links */
.footer-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--text-light);
    transform: translateX(5px); 
}

/* Newsletter Column */
.newsletter-form {
    display: flex;
    margin-top: 1rem;
    background: rgb(0 0 0 / 38%);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 18rem;
}
.newsletter-form input {
    background: rgb(0 0 0 / 12%);
    border: none;
    padding: 18px 16px;
    color: white;
    flex-grow: 1;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
}
.newsletter-form button {
    background: var(--accent-gradient);
    border: none;
    color: white;
    padding: 0 20px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    border-radius: 50%;
}
.newsletter-form button:hover {
    opacity: 0.9;
}

.social-row {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--accent-gradient);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.social-link:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px);
}

.brand-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;         
    display: block;              
    overflow: visible;          
    pointer-events: none;
}
/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.scroll-progress {
   position: fixed;
   bottom: 4.25rem;
   right: 2rem;
   width: 50px;
   height: 50px;
   border-radius: 50%;
   background: var(--it-color-surface);
   box-shadow: var(--it-shadow-lg);
   cursor: pointer;
   border: none;
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 99;
   opacity: 0;
   visibility: hidden;
   transform: translateY(20px);
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-progress--visible {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}
.scroll-progress:hover {
   transform: translateY(-5px);
   box-shadow: var(--it-shadow-glow);
}
.scroll-progress__svg {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   transform: rotate(-90deg);
}
.scroll-progress__track {
   fill: none;
   stroke: var(--it-color-border);
   stroke-width: 4;
}
.scroll-progress__indicator {
   fill: none;
   stroke: #000;
   stroke-width: 4;
   stroke-linecap: round;
   transition: stroke-dashoffset 0.1s linear;
}
.scroll-progress__icon {
   color: #000;
   font-size: 1.2rem;
   position: relative;
   z-index: 1;
}

@media (max-width: 768px) {
   .hero {
      padding: 120px 0 80px 0;
   }
   .trust-strip__item--bordered::before,
   .trust-strip__item--bordered::after {
      display: none;
   }
   .footer-enhanced {
      padding: 3rem 0 1.5rem;
   }
   .section-spacing {
      padding-top: 4rem;
      padding-bottom: 4rem;
   }
}

.transcript-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 180px;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    color: #94a3b8;
}
.transcript-empty__icon {
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.75;
}
.transcript-empty__heading {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    margin: 0;
}
.transcript-empty__sub {
    font-size: 0.85rem;
    line-height: 1.55;
    max-width: 260px;
    margin: 0;
}

.tpr-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tpr-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
}

.tpr-card-preview {
  width: 100%;
  height: 30rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 15px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  flex-grow: 1;
}

.preview-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
}

.preview-list li {
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 6px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.15s ease;
}

.preview-list li strong {
  color: #f1950b;
  margin-right: 4px;
}

.preview-message {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #94a3b8;
  font-style: italic;
}

.tpr-card:hover .tpr-card-img-wrapper img {
  transform: scale(1.08);
}

.tpr-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tpr-tag {
  background: #e0e7ff;
  color: #4338ca;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 12px;
}

.tpr-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.btn-view-doc, 
.btn-edit-doc {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-view-doc {
  background-color: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.btn-view-doc:hover {
  background-color: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

.btn-edit-doc {
  background-color: #ff9800;
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(255, 152, 0, 0.2);
}

.btn-edit-doc:hover {
  background-color: #f57c00;
  box-shadow: 0 6px 10px rgba(255, 152, 0, 0.3);
  transform: translateY(-2px);
}

.tpr-card-header-row {
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tpr-tag-header {
  background: #e0e7ff;
  color: #4338ca;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tpr-card-actions-compact {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-view-compact, 
.btn-edit-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-view-compact {
  background-color: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.btn-view-compact:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

.btn-edit-compact {
  background-color: #ff9800;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(255, 152, 0, 0.2);
}

.btn-edit-compact:hover {
  background-color: #f57c00;
  box-shadow: 0 4px 6px rgba(255, 152, 0, 0.3);
  transform: translateY(-2px);
}

.tpr-card-preview::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  pointer-events: none;
}

.tooltip-wrap {
  position: relative;
}

.tooltip-wrap::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: #1e293b;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.tooltip-wrap::before {
  content: '';
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  border-width: 5px;
  border-style: solid;
  border-color: #1e293b transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.tooltip-wrap:hover::after,
.tooltip-wrap:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.preview-list li:hover {
  background-color: #e2e8f0;
}

.hero--premium {
    min-height: 85vh;
    padding-top: 5rem;
    padding-bottom: 5rem;
}


.hero__bg-wrapper {
    z-index: 0;
    overflow: hidden;
}
.hero__bg-img {
    object-fit: cover;
    object-position: center 30%; 
}
.hero__bg-overlay {
    background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
}

.hero__glass-card {
    background: rgb(255 255 255 / 38%); 
    /*backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);*/
    border: 1px solid rgba(255, 255, 255, 1); 
    border-radius: 32px; 
    box-shadow: 
        0 40px 60px -15px rgba(0, 0, 0, 0.08), 
        0 10px 30px -5px rgba(0, 0, 0, 0.04); 
    padding: 4rem 3rem; 
    max-width: 850px;
    z-index: 2;
    position: relative;
}


@media (max-width: 480px) {
    
    .hero__title-highlight{
        justify-content: center;
    }
    
    .hero__title-highlight::after {
         width: 70%;
         left: unset;
    }
}

@media (max-width: 768px) {
    .hero__glass-card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.95);
    }
    .hero__title-highlight{
         justify-content: center;
    }
}

.hero__btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero__btn:hover {
    transform: translateY(-2px); 
}
.hero__btn--primary {
    background: #f59e0b;
    border: none;
    color: white;
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4); 
}
.hero__btn--primary:hover {
    box-shadow: 0 15px 25px -5px rgba(245, 158, 11, 0.5);
    color: white;
}
.hero__btn--outline {
    background: #ffffff;
    color: #000;
    border: 2px solid #fff;
    transition: transform 0.2s ease, box-shadow 0.2s
}
.hero__btn--outline:hover {
    transform: translateY(-2px);
}

.tpr-modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.tpr-modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0 !important;
    border-top: none;
    border-left: none;
    border-right: none;
}

.tpr-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

.tpr-modal-title {
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 800; 
}

.tpr-btn-close {
    background-color: white;
    border-radius: 50%;
    padding: 0.6rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.tpr-btn-close:hover {
    background-color: #f1f5f9;
    transform: scale(1.05);
}

.tpr-modal-subtitle {
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.tpr-list-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    min-width: 28px;
    height: 28px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 50%;
    font-size: 0.85rem;
    margin-top: 2px;
}

.tpr-list-text {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.5;
}

.tpr-modal-footer {
    background: white;
    border-top: none;
    padding-top: 1.5rem;
}

.tpr-btn-close-activity {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #475569;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.tpr-btn-close-activity:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.video-featured__placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}
.video-featured__play-btn, 
.video-featured__placeholder-text {
    z-index: 1;
}
#featuredDur, .featured-dur-dot { 
    display: none; 
}
.video-card__thumb-play i, 
.video-featured__play-btn i {
    margin-right: .25rem; 
	margin-left: .25rem;
}

.video-card:hover .video-card__thumb-play {
    transform: translate(-50%, -50%) scale(1.1) !important;
    background: var(--it-color-primary) !important;
    color: white !important;
}

.hero__title, .hero__description, .col-lg-5, .hero__actions, 
.page-hero__eyebrow, .page-hero__title, .page-hero__desc, 
.hero-badge, .badge, .feature-circle{
    visibility: hidden;
}

.page-hero__blob, .page-hero__eyebrow, .audio-hero__eyebrow,
.page-hero__title, .audio-hero__title, .page-hero__desc,
.page-hero__music-icon, .hero-badge {
    visibility: hidden;
}

