/* Logo: no background, responsive with shadows for visibility on light/dark */
.navbar-brand img,
.offCanvas__logo img {
  height: 36px;
  width: auto;
  max-height: 36px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)) drop-shadow(0 0 1px rgba(255,255,255,0.2));
}
#preloader .loader .loader-icon img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}
/* Footer logo-dark on yellow: subtle shadow for depth */
.section-footer .container-fluid a img[src*="logo-dark"],
.section-footer img[src*="logo-dark"] {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

/* Portfolio section: smaller fonts so title and "Google Play / Mobile" are fully visible */
/* Hover reveal image: fit within 400×500px box, cover to fill */
.section-portfolio-3 .tg-img-reveal-wrapper .tg-img-reveal-wrapper__img {
  background-size: cover !important;
  background-position: center !important;
}
.section-portfolio-3 .single-portfolio-card-3 .portfolio-card-title {
  font-size: 44px !important;
  line-height: 1.15 !important;
}
.section-portfolio-3 .single-portfolio-card-3 .portfolio-card-title span {
  font-size: 44px !important;
}
.section-portfolio-3 .single-portfolio-card-3 .portfolio-card-text {
  font-size: 0.7rem !important;
  padding-top: 0.6rem !important;
  line-height: 1.4 !important;
}
@media (max-width: 1399px) {
  .section-portfolio-3 .single-portfolio-card-3 .portfolio-card-title {
    font-size: 32px !important;
  }
  .section-portfolio-3 .single-portfolio-card-3 .portfolio-card-title span {
    font-size: 32px !important;
  }
}
@media (max-width: 1199.98px) {
  .section-portfolio-3 .single-portfolio-card-3 .portfolio-card-title {
    font-size: 26px !important;
  }
  .section-portfolio-3 .single-portfolio-card-3 .portfolio-card-title span {
    font-size: 26px !important;
  }
}
@media (max-width: 767.98px) {
  .section-portfolio-3 .single-portfolio-card-3 .portfolio-card-title {
    font-size: 20px !important;
  }
  .section-portfolio-3 .single-portfolio-card-3 .portfolio-card-title span {
    font-size: 20px !important;
  }
}

/* Portfolio section: circular logo text - smaller so "_ Jamil Parvez - Game Developer -" fits */
.section-portfolio-3 .circle-text {
  font-size: 9px !important;
}
.section-portfolio-3 .circle-text span {
  transform-origin: 0 74px;
}

/* Video section: "My work" button - bold, visible text on yellow */
.section-video-1 .video-section-btn-mywork {
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: #111 !important;
  white-space: nowrap;
  text-align: center;
  min-width: 6rem;
}

/* Video section: progress bar inside video area (always visible); "Jamil Parvez" banner not clipped */
.section-video-1 {
  overflow-x: hidden;
  overflow-y: visible; /* do not clip scroll-move-right "Jamil Parvez" text */
  padding-bottom: 0rem !important;
}
.section-video-1 .position-relative.z-1 {
  overflow-x: hidden;
  overflow-y: visible;
}
.section-video-1 .scroll-move-right {
  overflow-x: hidden;
  max-width: 100%;
  z-index: 2; /* above video so "Lead Developer / Jamil Parvez" is visible */
}
.section-video-1 .scroll-move-right .video-scroll-banner {
  z-index: 2;
}

/* Video section: progress bar at bottom of video (always visible with video, no scroll needed) */
.section-video-1 .video-progress {
  bottom: 0rem;
  left: 16%;
  right: 15%;
  width: 76%;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  margin: 0 auto;
}
.section-video-1 .video-progress__track {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: visible;
  cursor: pointer;
  position: relative;
}
.section-video-1 .video-progress__fill {
  height: 100%;
  width: 0%;
  background: var(--tc-theme-primary, #E3FF04);
  border-radius: 3px;
  transition: width 0.15s ease;
}
/* Small round circle (thumb) showing current play position */
.section-video-1 .video-progress__thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  margin-left: -7px;
  background: var(--tc-theme-primary, #E3FF04);
  border: 2px solid #111;
  border-radius: 50%;
  pointer-events: none;
  transition: left 0.15s ease;
  z-index: 1;
}

/* Video section: smaller pan + green border; margin below so video (and border) stop above progress bar */
.section-video-1 .section-video-1__bg-video {
  display: block;
  width: 100%;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  object-fit: cover;
  border: 3px solid var(--tc-theme-primary, #E3FF04);
  border-radius: 0.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
}

/* Text block between video and testimonials (Lead Developer / Jamil Parvez) - scroll-move-right for GSAP animation */
.section-video-1-banner .scroll-move-right {
  text-align: center;
}
.section-video-1-banner .video-scroll-banner {
  font-size: 2.5rem !important;
  color: #fff;
}
@media (min-width: 768px) {
  .section-video-1-banner .video-scroll-banner {
    font-size: 3.5rem !important;
  }
}
@media (min-width: 1200px) {
  .section-video-1-banner .video-scroll-banner {
    font-size: 4rem !important;
  }
}

/* Video section: smaller scrolling banner text (Lead Developer / Jamil Parvez) */
.section-video-1 .scroll-move-right .video-scroll-banner {
  font-size: 2.5rem !important;
}
@media (min-width: 768px) {
  .section-video-1 .scroll-move-right .video-scroll-banner {
    font-size: 3.5rem !important;
  }
}
@media (min-width: 1200px) {
  .section-video-1 .scroll-move-right .video-scroll-banner {
    font-size: 4rem !important;
  }
}

/* About page: ensure "Jamil Parvez" stroke text is fully visible (no clipping) */
.section-hero-4,
.section-hero-4 .container,
.section-hero-4 .row,
.section-hero-4 .col-lg-6 {
  overflow: visible;
}
.section-hero-4 .d-flex.align-items-center {
  overflow: visible;
  flex-wrap: wrap;
}
.section-hero-4 h2.stroke {
  overflow: visible;
  white-space: nowrap;
  font-size: 3.5rem !important;
}
@media (min-width: 1200px) {
  .section-hero-4 h2.stroke {
    font-size: 4rem !important;
  }
}
@media (max-width: 1199.98px) {
  .section-hero-4 h2.stroke {
    font-size: 3rem !important;
  }
}
@media (max-width: 767.98px) {
  .section-hero-4 h2.stroke {
    font-size: 2rem !important;
  }
}

/* About page: large decorative "Jamil Parvez" in video-2 section - allow it to show */
.section-video-2.scroll-move-right,
.section-video-2 .scroll-move-right {
  overflow: visible;
}
.section-video-2 {
  overflow: visible;
}
.section-video-2 .scroll-move-right h3.stroke {
  overflow: visible;
  white-space: nowrap;
  pointer-events: none;
}

/* Contact page: map in a pan with same green border as video section, Chicago default */
.contact-map-wrapper {
  width: 100%;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-map-pan {
  width: 100%;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  border: 3px solid var(--tc-theme-primary, #E3FF04);
  border-radius: 0.5rem;
  overflow: hidden;
  box-sizing: border-box;
  background: #111;
}
.contact-map-pan iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}
@media (max-width: 767.98px) {
  .contact-map-pan {
    max-width: 95%;
  }
  .contact-map-pan iframe {
    height: 300px;
  }
}

/* Testimonials section: padding top */
.section-testimonials-3.section-padding.bg-black-1 {
  padding-top: 10px !important;
}
