/* Temporary CSS for testing div visibility 
div {
  outline: 1px dashed red;
  background-color: rgba(255, 0, 0, 0.1); 
  color: black;
  padding: 0px;
  margin: 0px;
}
*/
/*DEV*/

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}
/* If AOS is not running, don't hide content */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
}


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: var(--font-default);
    color: var(--color-default);
    background-color: var(--background-color);
    position: relative; /* Required for pseudo-element positioning */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    min-height: 100vh; /* Ensure body covers at least the full viewport height */
    overflow: auto; /* Allow scrolling */
}
body::before {
    content: ""; /* Required for pseudo-element */
    background-size: cover;
    background-repeat: no-repeat; /* Changed to no-repeat for better effect */
    background-position: center top;
    background-attachment: fixed;
    position: fixed; /* Use fixed instead of absolute to avoid gaps */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place it behind the content */
}
a {
  color: var(--nav-color);
}

a:hover {
  color: var(--nav-hover-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font)!important; 
}
#main {
  margin-top: 0px;
}
/* Skeleton wrapper (optional centering control) */
#results-skeleton {
  max-width: 420px;
}

/* Override Bootstrap card completely */
#results-skeleton .card {
  background-color: rgba(255, 255, 255, 0.15) !important; /* light translucent */
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
}

/* Force text to be white (Bootstrap text-muted overrides otherwise) */
#results-skeleton h3 {
  color: #ffffff !important;
}

#results-skeleton p {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Optional subtle glow so it reads on dark backgrounds */
#results-skeleton .card {
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
  padding: 0;
}
.section-header {
  padding-top: 20px;
  padding-bottom: 20px;
}
.section-header h2 {
  color: color-mix(in srgb, var(--contrast-color), transparent 25%);
  font-family: var(--heading-font);
}
.section-header h5 {
  color: color-mix(in srgb, var(--contrast-color), transparent 25%);
  font-size: 16px;
}
.section-header h2::after {
  background: var(--accent-color);
}
.section-header p {
  font-family: var(--font-default);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  /* background: var(--accent-color) IN THE HEADER>PHP*/
  border: 0px solid;
}
.scrolled .header {
  background: var(--background-color);
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(13, 22, 39, 0.9);
  --default-color: #ffffff;
  --heading-color: #ffffff;
}
/* Mobile portrait: thin header when scrolled */
@media (max-width: 575.98px) {
  body.scrolled #header {
    min-height: 38px;          /* 🔑 this is the big one */
    padding-top: 2px;
    padding-bottom: 2px;
  }
}

.header .logo h2 {
  color: var(--header-text-color);
  font-family: var(--header-font);
  /* text-transform: uppercase; */
  font-weight: 800;
  /* text-shadow: 2px 2px rgba(var(--color-black-rgb), 0.1); */
  max-width: 600px;
/*   white-space: nowrap;
  overflow: hidden; 
  text-overflow: ellipsis; */
  font-size: clamp(1.5rem, 3vw, 2.5rem); /* Adjust font size dynamically */
  display: inline-block; /* Keep the text inline */
}

.header .logo h2 span {
  color: var(--header-text-color-span);
  /* Inherit the font size from h1 or adjust separately if needed */
}


.header .logo img {
  max-height: 40px;
  margin-right: 8px;
}
@media (max-width: 480px) {
	.header .logo img {
	  display:none;
	}
}
.header .header-social-links a {
  color: rgba(var(--color-white-rgb), 0.5);
}
.header .header-social-links a:hover {
  color: var(--contrast-color);
}
.header .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  max-height:60px;
  padding: 10px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.header .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  max-height:60px;
  padding: 10px;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 40%);
  color: var(--contrast-color);
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
#what {
	margin-top:0;
	border: solid white 0px;
	padding: 20px;
}

.about .about-content h2 {
  font-size: 2.25rem;
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-weight: 700;
}

.about .about-content .lead {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about .about-content .btn-primary {
  background: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  font-weight: 600;
  padding: 0.75rem 2.2rem;
  border-radius: 2rem;
  box-shadow: 0 2px 12px color-mix(in srgb, var(--accent-color) 30%, transparent 85%);
  transition: background 0.3s, box-shadow 0.3s;
}

.about .about-content .btn-primary:hover,
.about .about-content .btn-primary:focus {
  background: color-mix(in srgb, var(--accent-color), #000 12%);
  box-shadow: 0 4px 18px color-mix(in srgb, var(--accent-color), #212529 30%);
  color: var(--contrast-color);
}

.about .about-card {
  background: var(--surface-color);
  border-radius: 1.25rem;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 2px 20px 0 color-mix(in srgb, var(--accent-color) 9%, transparent 95%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.3s, transform 0.3s;
}

.about .about-card .icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px 0 color-mix(in srgb, var(--accent-color) 15%, transparent 90%);
  transition: background 0.3s, color 0.3s;
}

.about .about-card h5 {
  font-size: 1.22rem;
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.about .about-card p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1rem;
  margin-bottom: 0;
}

.about .about-card:hover,
.about .about-card:focus-within {
  box-shadow: 0 8px 28px 0 color-mix(in srgb, var(--accent-color) 23%, transparent 80%);
  transform: translateY(-5px) scale(1.03);
}

.about .about-card:hover .icon-wrap,
.about .about-card:focus-within .icon-wrap {
  background: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .about .about-content h2 {
    font-size: 2rem;
  }

  .about .about-card {
    padding: 1.5rem 1rem 1rem 1rem;
  }
}

@media (max-width: 768px) {
  .about .about-content h2 {
    font-size: 1.6rem;
  }

  .about .about-card {
    padding: 1rem;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 40px 0;
}

.hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero .hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero .hero-background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--background-color), transparent 20%) 0%, color-mix(in srgb, var(--background-color), transparent 10%) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 40px 15px;
}

.hero .hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 60%);
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  max-width: 500px;
}

.hero .hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero .hero-actions .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.hero .hero-actions .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 40%);
  color: var(--contrast-color);
}

.hero .hero-actions .btn-secondary {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.hero .hero-actions .btn-secondary i {
  font-size: 24px;
  color: var(--accent-color);
}

.hero .hero-actions .btn-secondary:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.hero .hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero .hero-stats .stat-item {
  text-align: left;
}

.hero .hero-stats .stat-item .stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 4px;
}

.hero .hero-stats .stat-item .stat-label {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero .hero-visual {
  position: relative;
}

.hero .feature-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 20px;
  height: calc(50% - 10px);
}

.hero .feature-card:hover {
  transform: translateY(-5px);
}

.hero .feature-card i {
  font-size: 32px;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.hero .feature-card span {
  font-size: 14px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.hero .feature-card:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .hero .hero-visual {
    margin-top: 60px;
  }

  .hero .feature-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero .hero-stats {
    gap: 24px;
  }

  .hero .feature-card {
    padding: 16px;
  }

  .hero .feature-card i {
    font-size: 24px;
  }

  .hero .feature-card span {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero .hero-visual {
    margin-top: 40px;
  }

  .hero .feature-card {
    padding: 12px;
    margin-bottom: 12px;
  }

  .hero .feature-card i {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .hero .feature-card span {
    font-size: 11px;
  }
}

/*--------------------------------------------------------------
# Primary Buttons  (cookie button)
--------------------------------------------------------------*/
.btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  max-height:60px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 40%);
  color: var(--contrast-color);
}
/*--------------------------------------------------------------
# Secondary Buttons 
--------------------------------------------------------------*/
.btn-secondary {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color:none;
}

.btn-secondary i {
  font-size: 24px;
  color: var(--accent-color);
}

.btn-secondary:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}
/* Sponsors Section */
.links  {
  margin-top:40px;
}
.links .link-wrap {
  padding-left: 10px;
}
.links .swiper-slide .link-item .link-img {
  max-height: 140px;
  width: auto; /* Ensure images maintain aspect ratio */
  background-color:white;
}
.links .link-item {
  box-sizing: content-box;
  padding: 20px;
  margin: 0px 10px;
  box-shadow: 0px 0 15px rgba(0, 0, 0, 0.1);
  position: relative;
  background: rgba(var(--contrast-color-rgb), 0.2);
  border-radius: 10px;
}
.links .link-item .link-img {
  width: 90%;
  border-radius: 10px;
  margin-right: 0px;
}
.links .link-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: rgba(var(--color-white-rgb), 1);
}
.links .link-item h4 {
  font-size: 14px;
  color: rgba(var(--color-white-rgb), 1);
  margin: 0;
}
.links .link-item .stars {
  margin: 10px 0;
}
.links .link-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}
.links .link-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  text-align:center;
  font-style: italic;
  margin: 15px auto 15px auto;
}
.links .swiper-slide img {
  transition: 0.3s;
}
.links .swiper-slide img:hover {
  transform: scale(1.1);
}
.links .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.links .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--contrast-color);
  opacity: 1;
}
.links .link-item .readmore {
  margin-top: 15px;
  display: inline-block;
  color: var(--accent-color);
}
.links .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}
@media (max-width: 767px) {
  .links .link-wrap {
    padding-left: 0;
  }
  .links .link-item {
    padding: 30px;
    margin: 15px;
  }
  .links .link-item .link-img {
    position: static;
    left: auto;
  }
}
/*--------------------------------------------------------------
# Post Section
--------------------------------------------------------------*/
.post {
  width: 100%;
  margin: 100px 0 0 0px;

}
/*background of the post image*/
.post .bg {
	background: rgba(var(--color-secondary-rgb), 0);/* 0.3);*/
}
 /*  background: url(../img/hero-bg.jpg) top center no-repeat;
  background-size: cover; */
.post h2 {
  margin: 0;
  font-size: 30px;
  font-family: var(--font-default);
  font-weight: 700;
  color: var(--contrast-color);
}
.post p {
  margin-bottom: 0;
  color: var(--contrast-color); /* Dark Grey */
  line-height: 1.5 ;
}
.post h3 {
  color: var(--color-secondary);
  font-size: 26px;
  margin: 5px 0 15px 0;
}
.post h5 {
  color: var(--contrast-color);
  font-size: 18px;
  margin: 15px 0 15px 0;
}
.post .created {
  text-transform: uppercase;
  font-family: var(--font-default);
  font-weight: 800;
  font-size: 16px;
  color: var(--contrast-color);
}
/* General styling for the button */
.post .btn-get-started {
  margin-top: 10px;
  line-height: 0;
  padding: 15px 40px;
  border-radius: 4px;
  transition: 0.5s;
  color: var(--color-white);
  background: var(--accent-color);
  box-shadow: 0px 4px 10px 0px rgba(var(--color-black-rgb), 0.5);
}

/* Text styling */
.post .btn-get-started span {
  font-family: var(--font-default);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

/* Media query for mobile view */
@media (max-width: 576px) {
  .post .btn-get-started {
    padding: 20px 15px;
  }
  .bi-arrow-right {
	  display:none;
  }
  .post .btn-get-started span {
    font-size: 15px; /* Decrease font size */
  }
}
/* Animate button when clicked */
.post .btn-get-started.clicked {
  background-color: var(--color-secondary); /* Change color to indicate action */
  transform: scale(1.05); /* Slightly increase size */
}

/* Add a spinner icon */
.post .btn-get-started.clicked::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.post .btn-get-started i {
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}
.post .btn-get-started:hover i {
  transform: translateX(5px);
}
.post .hero-img {
  text-align: right;
}
.post .read-more {
	margin: 15px 0;
}
.post .read-more a {
  display: inline-block;
  color: var(--contrast-color);
  padding: 6px 20px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.post .read-more a:hover {
  background: #e35052;
}
@media (min-width: 1024px) {
  .post {
    background-attachment: fixed;
  }
}
@media (max-width: 991px) {
  
  #post .mainpage {
	margin-top: -40px;
	}
  .post {
    height: auto;
    padding: 40px 0 20px 0;
  }
  .post .hero-img {
    text-align: center;
    margin-top: 80px;
  }
  .post .hero-img img {
    width: 80%;
  }
}
@media (max-width: 768px) {
  .post {
    text-align: center;
  }
  .post h1 {
    font-size: 32px;
  }
  .post h2 {
    font-size: 24px;
  }
  .post .hero-img img {
    width: 100%;
  }
}
.post .social {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.post .social a {
  color: #a2a2a2;
  transition: 0.3s;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bbbbbb;
}
.post .social a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.post  .social i {
  font-size: 18px;
  margin: 0 2px;
}
.post .ftc {
	color: rgba(var(--contrast-color-rgb), 0.45);
	margin: 10px 0;
}
.post .referral-link {
	margin:40px;
}
/*--------------------------------------------------------------
# portfolio
--------------------------------------------------------------*/
 #portfolio {
    padding: 5px;
	border: 0px solid black;
	margin: auto;
	/* background: url('../img/bg.webp') center center; */
}
 #portfolio .content {
      min-height: 200vh; /* Ensure the parent has enough height */
    }

 #portfolio .featuredclip {
     position: relative;
	 float:left;
}
 #portfolio .featured-overlay {
     position: absolute;
     top: 0;
     right: 0;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     transition: all ease-in-out 0.4s;
}
 #portfolio .portfolio-item {
     overflow: hidden;
     position: relative;
     padding: 10px;
	 margin: 0px;
	 border: 0px solid black;
	 background: rgba(var(--contrast-color-rgb), 0);
	 background-clip: content-box;
}
 #portfolio .portfolio-item img {
	transition: all ease-in-out 0.4s;
	width: 100%;
	position: relative;
	border: 0px solid rgba(var(--color-white-rgb), 0);
	overflow: hidden;
	z-index: 0;
}
 #portfolio .square-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* This ensures a square aspect ratio */
}
 #portfolio .square-image {
  position: absolute;
  width: 100%;
  height: 160%;
  object-fit: cover; /* This ensures the image covers the entire square */
}
 #portfolio .box .portfolio-item:hover img {
     transform: scale(1.1);
	 border: 0px solid var(--color-secondary);
}
 #portfolio .portfolio-item:hover .featured-overlay {
     opacity: 1;
     background: rgba(var(--color-black-rgb), 0.8);
	 border-radius:10px;
}
 #portfolio .post-box {
	border: 0px black solid;
	padding:0 10px 20px 10px;
 }
 
 #portfolio .post-box .meta-top {
  margin-top: 20px;
  color: var(--color-gray);

}
 #portfolio .post-box .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}
 #portfolio .post-box .meta-top ul li + li {
  padding-left: 20px;
}
 #portfolio .post-box .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: rgba(var(--accent-color-rgb), 0.8);
}
 #portfolio .post-box .meta-top a {
  color: var(--color-gray);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}
 #portfolio .post-box .meta-top .post-author {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-secondary);
}

/* Remove absolute positioning for the stars */
#portfolio .portfolio-item .bi-star-fill {
  position: absolute;
  bottom: 10px; /* Adjust this value to position the star vertically */
  left: 10px; /* Adjust this value to position the star horizontally */
  z-index: 2; /* Ensure the star appears above the image */
}

/* Adjust the positioning of the stars within the video container */
#portfolio .box .bi-star-fill {
  /* Adjust these values as needed */
  top: 0px;
  left: 0px;
}

/* Remove absolute positioning for the stars */
#portfolio .portfolio-item .bi-emoji-frown {
  position: absolute;
  bottom: 10px; /* Adjust this value to position the star vertically */
  left: 10px; /* Adjust this value to position the star horizontally */
  z-index: 2; /* Ensure the star appears above the image */
}

/* Adjust the positioning of the stars within the video container */
#portfolio .box .bi-emoji-frown {
  /* Adjust these values as needed */
  top: 0px;
  left: 0px;
}


@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0)
{ @media {
    /*
      Define here the CSS styles applied only to Safari browsers
      (any version and any device)
     */
	 #portfolio .portfolio-item {
	 max-height:215px;
	 }
}}
 #portfolio .portfolio-item h3 {
     color: var(--color-white);
     font-size: 16px;
     margin: 0;
     text-transform: capitalize;
     font-weight: 700;
     /* text-shadow: 2px 2px #000000; */
}

#portfolio h5 {
     color: var(--contrast-color);
     font-size: 16px;
     margin: 5px;
	 text-align:center;
     font-weight: 700;
	 /* text-shadow: 2px 2px #000000; */
}
 #portfolio .featured-text {
	 display:true;
     color: var(--contrast-color);
     font-size: 14px;
     margin: 5px;
	 text-align:center;
     font-weight: 200;
	 border: 0px solid black;
}

 #portfolio .portfolio-item:hover img {
     transform: scale(1.1);
	 border: 0px solid var(--color-secondary);
}
 #portfolio .portfolio-item:hover .featured-overlay {
     opacity: 1;
     background: rgba(var(--color-black-rgb), 0.8);
}
 #portfolio .featured-info {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
}
/* List Format */
#portfolio .list {
  position: relative;
  width:95%;
  margin: 20px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 5px;
  background: rgba(var(--contrast-color-rgb), 0);
  box-shadow: 0px 5px 25px 0px rgba(var(--contrast-color-rgb), 0.1);
  transition: 0.5s;
}
@media (max-width: 640px) {
  #portfolio .list {
    padding: 10px;
	width:90%;
  }
}
#portfolio .list .created {
  text-transform: uppercase;
  font-family: var(--font-default);
  font-weight: 800;
  font-size: 16px;
  color: var(--contrast-color);
}
#portfolio .date_text {
  text-align:center;
  font-size: 11px;
  color: var(--contrast-color);
}
#portfolio .list .pic {
  overflow: hidden;
  width: 180px;
  /* border-radius: 50%; */
}
#portfolio .list .pic img {
  transition: ease-in-out 0.3s;
}
#portfolio .list:hover {
  transform: translateY(-10px);
}
#portfolio .list .list-info {
  width:80%;
  padding-left: 30px;
}
#portfolio .list h4 {
  font-family: var(--font-default);
  font-weight: 900;
  margin-bottom: 5px;
  font-size: 26px;
  color: var(--contrast-color);
}
#portfolio .list a {
  color: var(--accent-color);
  font-size: 18px;
}
#portfolio .list a:hover {
  color: var(--color-secondary);
}
#portfolio .list span {
  display: block;
  font-family: var(--font-default);
  font-size: 18px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 800;
}
#portfolio .list span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #cbd6e9;
  bottom: 0;
  left: 0;
}
#portfolio .list p {
  margin: 10px 0 0 0;
  font-size: 15px;
  color: var(--contrast-color);
}
#portfolio .list .social {
  margin-top: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
#portfolio .list .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: var(--accent-color);
}
#portfolio .list .social a i {
  color: rgba(var(--color-white-rgb), 5);
  font-size: 16px;
  margin: 0 2px;
}
#portfolio .list .social a:hover {
  background: var(--color-secondary);
}
#portfolio .list .social a:hover i {
  color: var(--contrast-color);
}
#portfolio .list .social a+a {
  margin-left: 8px;
}
@media (max-width: 576px) {
    .list {
      flex-direction: column;
    }
    .portfolio-item {
      order: 1;
    }
    .list-info {
      order: 2;
    }
  }
  /* For the 2-column template */
#portfolio .list .two-column-template {
  display: flex;
  flex-direction: row;
}
/* Image column */
#portfolio .list .image-column {
  padding: 10px; /* Add appropriate padding */
  display: flex;
  align-items: flex-start; /* Align content at the top */
}
#portfolio .list .image-column img {
  max-width: 100%; /* Ensure the image doesn't exceed its container's width */
  max-height: 100%; /* Maintain the image's aspect ratio */
  height: auto; /* Allow the height to adjust automatically */
}
/* Text column */
#portfolio .list .text-column {
  flex: 1;
  padding: 0 20px; /* Add appropriate padding */
}
/* For the right column */
#portfolio .list .right-column {
  /* Add styling for the right column */
}
/* Media query for collapsing at 576px */
@media (max-width: 576px) {
#portfolio .list   .two-column-template {
    flex-direction: column;
  }
 #portfolio .list  .image-column,
  .text-column {
    /* width: 100%; Make both columns take full width */
  }
}
/* Media query for collapsing at 576px */
@media (max-width: 576px) {
#portfolio .list   .two-column-template {
    flex-direction: column;
  }
#portfolio .list   .image-column,
  .text-column {
    width: 100%; /* Make both columns take full width */
  }
#portfolio .list   .image-column img {
    max-width: 100%; /* Allow image to take full width */
  }
}
#portfolio  .uniform-height {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container without stretching */
}
/*
 * Bootstrap Cookie Alert by Wruczek
 * https://github.com/Wruczek/Bootstrap-Cookie-Alert
 * Released under MIT license
 */
.cookiealert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 999;
    opacity: 0;
    border-radius: 0;
    transform: translateY(100%);
    transition: all 500ms ease-out;
    color: #ecf0f1;
    background: var(--color-black) url('');
}
.cookiealert.show {
    opacity: 1;
    transform: translateY(0%);
    transition-delay: 1000ms;
}
.cookiealert a {
    text-decoration: underline
}
.cookiealert .acceptcookies {
    margin-left: 10px;
    vertical-align: baseline;
}
/* Insert */
.input-text {
	display:true;
    color: var(--contrast-color);
    font-size: 14px;
    font-weight: 400;
}
.input-group-text {
	padding: 0.350rem 0.35rem;
	background-color: var(--accent-color);
	color: var(--color-white);
}
span.red {
	color: #ff0000;
	font-weight: 400;
}
span.yellow {
	color: #fdf503;
	font-weight: 400;
	/*background: var(--color-black);*/
}
/* AdBrands Section */
#adbrands .adbrands {
	margin: 20px;
	padding: 20px;
	width:90%;
	text-align:center;
	vertical-align: top;
	background: rgba(var(--color-secondary-rgb), 0.1);
	border-radius: 20px;
}
#adbrands .link-img {
  margin-top: 10px;
}
#adbrands .fixed {
      position: fixed;
      top: 80px; /* Adjust top offset if needed */
      z-index: 1000;
      width: calc(33.333% - 110px); /* Maintain the width and compensate for padding/margin */
    }
#adbrandsContainer {
	margin: 10px 0;
}
#adbrands h5 {
     color: var(--accent-color);
	 font-family: var(--font-default);
     font-size: 20px;
	 text-align:center;
     font-weight: 400;
	 /* text-shadow: 2px 2px #000000; */
}
@media (max-width: 678px) {
#adbrands .adbrands{
	padding: 20px 20px;
	text-align:center;
	
}
#adbrands .fixed {
	position: static; /* Remove fixed positioning on small screens */
	width: 100%; /* Maintain the width */
  }
}
#adbrands .btn-hero {
  margin:5px;
  font-family: var(--font-default);
  font-size: 18px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 30px;
  color: rgba(var(--color-white-rgb), 1);
  text-shadow: 2px 2px rgba(var(--color-black-rgb), 0.25);
  background: var(--button-hero);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(var(--color-white-rgb), 0.5);
}
#adbrands .btn-hero:hover {
  border-color: rgba(var(--color-white-rgb), 0.5);
  background: rgba(var(--button-hero-rgb), 0.85);
  color: rgba(var(--color-white-rgb), 1);
}
/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/

.cta {
  margin:20px 0 60px 0;
  padding: 0;
}
.cta .container {
  padding: 40px;
  background: rgba(var(--color-black-rgb), 0.1);
  border-radius: 15px;
}
.cta .content h3 {
  color: rgba(var(--color-black-rgb), 0.6);
  font-size: 36px;
  font-weight: 700;
}
.cta .content p {
  color: rgba(var(--color-black-rgb), 0.6);
  font-weight: 400;
  font-size: 16px;
}
.cta  a {
  font-size: 15px;
  color: var(--accent-color);
}
.cta  a:hover {
  font-size: 15px;
  color: rgba(var(--color-default-rgb), 0.7);
}
/* General styling for the button */
.cta .btn-get-started {
  margin-top: 10px;
  line-height: 0;
  padding: 15px 40px;
  border-radius: 4px;
  transition: 0.5s;
  color: var(--color-white);
  background: var(--accent-color);
  box-shadow: 0px 4px 10px 0px rgba(var(--color-black-rgb), 0.5);
}

/* Text styling */
.cta .btn-get-started span {
  font-family: var(--font-default);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

/* Media query for mobile view */
@media (max-width: 576px) {
  .cta .btn-get-started {
    padding: 15px 5px;
  }
  .bi-arrow-right {
	  display:none;
  }
  .cta .btn-get-started span {
    font-size: 12px; /* Decrease font size */
  }
}

.cta .btn-get-started:hover {
  background: rgba(var(--color-secondary-rgb), 0.5);
}
/* Animate button when clicked */
.cta .btn-get-started.clicked {
  background-color: var(--color-secondary); /* Change color to indicate action */
  transform: scale(1.05); /* Slightly increase size */
}

/* Add a spinner icon */
.cta .btn-get-started.clicked::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}
/*--------------------------------------------------------------
# Blog Stylings
--------------------------------------------------------------*/

/* General styling for the button */
.blog .btn-get-started {
  margin-top: 10px;
  line-height: 0;
  padding: 15px 40px;
  border-radius: 4px;
  transition: 0.5s;
  color: var(--color-white);
  background: var(--accent-color);
  box-shadow: 0px 4px 10px 0px rgba(var(--color-black-rgb), 0.5);
}

/* Text styling */
.blog .btn-get-started span {
  font-family: var(--font-default);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

/* Media query for mobile view */
@media (max-width: 576px) {
  .blog .btn-get-started {
    padding: 15px 5px;
  }
  .bi-arrow-right {
	  display:none;
  }
  .blog .btn-get-started span {
    font-size: 12px; /* Decrease font size */
  }
}
/* Animate button when clicked */
.blog .btn-get-started.clicked {
  background-color: var(--color-secondary); /* Change color to indicate action */
  transform: scale(1.05); /* Slightly increase size */
}

/* Add a spinner icon */
.blog .btn-get-started.clicked::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.blog .tab-pane ul {
  /* list-style: none; */
  padding: 0;
  margin-left:20px;
}

.blog .tab-pane ul li {
  padding-bottom: 10px;
}

.blog .tab-pane ul i {
  font-size: 24px;
  margin-right: 4px;
  color: var(--accent-color);
}
.blog .mainpage blockquote {
  overflow: hidden;
  background-color: rgba(var(--color-secondary-rgb), 0.06);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}
.blog .mainpage {
	border: 0px solid black;
	margin-top: 40px;
}
/*--------------------------------------------------------------
# Blog Home Posts List
--------------------------------------------------------------*/
.blog .posts-list article {
  box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0);
  padding: 20px;
  height: 100%;
}
.blog .posts-list article + article {
  margin-top: 60px;
}
.blog .posts-list .post-img {
  max-height: 300px;
  margin: -30px -30px 0 -30px;
  overflow: hidden;
}
.blog .posts-list .title {
  font-size: 34px;
  font-weight: 700;
  padding: 0;
  margin: 20px 0 0 0;
  color: var(--accent-color);
}
.blog .posts-list .title a {
  color: var(--accent-color);
  transition: 0.3s;
}
.blog .posts-list .title a:hover {
  color: var(--color-secondary);
}
.blog .posts-list .blog-content {
  margin-top: 20px;
}
.blog .posts-list .blog-content p {
  font-size: 20px;
  color: var(--color-gray);
}
.blog .posts-list .social {
  margin-top: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.blog .posts-list .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: var(--accent-color);
}
.blog .posts-list .social a i {
  color: rgba(var(--color-white-rgb), 5);
  font-size: 16px;
  margin: 0 2px;
}
.blog .posts-list .social a:hover {
  background: var(--color-secondary);
}
.blog .posts-list .social a:hover i {
  color: var(--contrast-color);
}
.blog .posts-list .social a+a {
  margin-left: 8px;
}
/*--------------------------------------------------------------
# Blog Details Page
--------------------------------------------------------------*/
.blog .blog-details {
  box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0);
  padding: 10px;
}
.blog .blog-details .post-img {
  margin: 10px 0px 20px 0px;
  overflow: hidden;
}
.blog .blog-details .title {
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 20px 0 0 0;
  color: var(--accent-color);
}
.blog .blog-details  {
  margin-top: 20px;
}
.blog .blog-details  h2 {
  font-size: 30px;
  font-weight: bold;
  color: var(--accent-color);
}
.blog .blog-details h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}
.blog .blog-details  h4 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
  color: var(--accent-color)!important; 
}
.blog .blog-details .social {
  margin-top: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.blog .blog-details .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: var(--color-secondary);
}
.blog .blog-details .social a i {
  color: rgba(var(--color-white-rgb), 5);
  font-size: 16px;
  margin: 0 2px;
}
.blog .blog-details .social a:hover {
  background: var(--color-secondary);
}
.blog .blog-details .social a:hover i {
  color: var(--contrast-color);
}
.blog .blog-details .social a+a {
  margin-left: 8px;
}
.blog .blog-details .btn-get-started {
  margin-top: 10px;
  line-height: 0;
  padding: 15px 40px;
  border-radius: 4px;
  transition: 0.5s;
  color: var(--color-white);
  background: var(--accent-color);
  box-shadow: 0px 4px 10px 0px rgba(var(--color-black-rgb), 0.5);
}
.blog .blog-details .btn-get-started span {
  font-family: var(--font-default);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}
.blog .blog-details .btn-get-started i {
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}
.blog .blog-details .btn-get-started:hover i {
  transform: translateX(5px);
}
.blog .blog-details .post-box .meta {
  margin-top: 15px;
}
.blog .blog-details  .meta .post-date {
  font-size: 15px;
  font-weight: 400;
  color: var(--accent-color);
}
.blog .blog-details .meta .post-author {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-secondary);
}
/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
#sidebar .sidebar {
  margin: 20px;
  padding: 20px;
  width:100%;
  box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
}
#sidebar .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0;
  color: var(--color-contrast);
}
#sidebar .sidebar .sidebar-item + .sidebar-item {
  margin-top: 40px;
}
#sidebar .sidebar .search-form form {
  background: var(--color-white);
  border: 1px solid rgba(var(--color-black-rgb), 0.3);
  padding: 3px 10px;
  position: relative;
}
#sidebar .sidebar .search-form form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
}
#sidebar .sidebar .search-form form input[type=text]:focus {
  outline: none;
}
#sidebar .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: var(--accent-color);
  color: var(--color-white);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}
#sidebar .sidebar .search-form form button i {
  line-height: 0;
}
#sidebar .sidebar .search-form form button:hover {
  background: rgba(var(--accent-color-rgb), 0.8);
}
#sidebar .sidebar .categories ul {
  list-style: none;
  padding: 0;
}
#sidebar .sidebar .categories ul li + li {
  padding-top: 10px;
}
#sidebar .sidebar .categories ul a {
  color: var(--color-secondary);
  transition: 0.3s;
}
#sidebar .sidebar .categories ul a:hover {
  color: var(--color-default);
}
#sidebar .sidebar .categories ul a span {
  padding-left: 5px;
  color: rgba(var(--color-default-rgb), 0.4);
  font-size: 14px;
}
#sidebar .sidebar .recent-posts .post-item {
  display: flex;
}
#sidebar .sidebar .recent-posts .post-item + .post-item {
  margin-top: 15px;
}
#sidebar .sidebar .recent-posts img {
  width: 80px;
  margin-right: 15px;
}
#sidebar .sidebar .recent-posts h4 {
  font-size: 18px;
  font-weight: 400;
}
#sidebar .sidebar .recent-posts h4 a {
  color: var(--color-contrast);
  transition: 0.3s;
}
#sidebar .sidebar .recent-posts h4 a:hover {
  color: var(--color-secondary);
}
#sidebar .sidebar .recent-posts time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: rgba(var(--color-default-rgb), 0.4);
}
#sidebar .sidebar .tags {
  margin-bottom: -10px;
}
#sidebar .sidebar .tags ul {
  list-style: none;
  padding: 0;
}
#sidebar .sidebar .tags ul li {
  display: inline-block;
}
#sidebar .sidebar .tags ul a {
  color: var(--surface-color);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: color: color-mix(in srgb, var(--surface-color), transparent 25%);
  display: inline-block;
  transition: 0.3s;
}
#sidebar .sidebar .tags ul a:hover {
  color: var(--color-white);
  border: 1px solid var(--accent-color);
  background: var(--accent-color);
}
#sidebar .sidebar .tags ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--surface-color), transparent 25%);
  font-size: 14px;
}
.modal 
	h2 {
    font-size: 42px;
	font-weight:600;
	color: var(--color-black);
	font-family: var(--font-primary);
  }
}

 .mood-marker {
  z-index: 2; 
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  
} 
.text-positive, .text-negative {
	margin: 0;
	white-space: nowrap;
    padding: 0px 0px 0px 5px;
}
.text-positive i, .text-negative i {
  margin-right: 0 !important;
}

.footer .footer-content .footer-newsletter p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--font-default);
  color: rgba(var(--color-white-rgb), 5);
}
.footer .footer-content .footer-newsletter h3 {
  color: rgba(var(--color-white-rgb), 5);
}
.footer .footer-newsletter a {
  color: rgba(var(--color-white-rgb), 0.9);
}
.footer .footer-newsletter a:hover {
  color: rgba(var(--color-white-rgb), 5);
}
 /* Footer Newsletter Button overlays content background color */
.footer .btn-get-started {
  margin: 0 0 10px 0;
  font-family: var(--font-default);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  transition: 0.3s;
  color: var(--color-white);
  background: rgba(var(--color-primary-rgb), 0);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(var(--color-white-rgb), 0.1);
}
.footer .btn-get-started:hover {
  border-color: rgba(var(--color-white-rgb), 0.5);
}



/* ===== VCM Timeline (maker) ===== */

/* The timeline bar itself */
.vc-timeline {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Each timeline item (wrapper around the card) */
.vc-tl-clip {
  flex: 0 0 140px;      /* <- THIS keeps the nice square-ish width */
  display: flex;
}

/* Make sure Bootstrap doesn't force 100% width or shrink weirdly */
.vc-timeline .vc-tl-clip {
  width: auto !important;
}

/* Timeline card inside each item */
.vc-timeline .clip-card {
  width: 100% !important;  /* fill that 140px cell */
  max-width: 140px;
  font-size: 0.8rem;
  padding: 0.4rem 0.5rem;
}

@media (max-width: 1200px) {
  .btn-ws-to-timeline {
    font-size: 0.7rem;
	padding: 2px;
  }
}


/* Optional: look similar to before */
.vc-timeline .clip-card {
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
}
.vc-timeline {
  cursor: grab;
}
.vc-timeline.is-dragging {
  cursor: grabbing;
}
/* Flying ghost from workspace to timeline */
.vc-fly-ghost {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  border-radius: 0.75rem;
  overflow: hidden;
  transition:
    transform 0.6s ease-out,
    opacity 0.6s ease-out;
}
/* Shake / bump animation for Add-to-Timeline button */
@keyframes vcm-button-bump {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-4px); }
  60%  { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

.vcm-bump {
  animation: vcm-button-bump 0.25s ease-out;
}

/* =========================
   WORKSPACE (VC MAKER)
   ========================= */

.vc-maker .workspace-container{
  display:flex;
  flex-wrap:wrap;
  gap:0.5rem;
  align-items:stretch;
}

/* --- Default (xl/desktop) ---
   5 tiles per row (20%)
*/
.vc-maker .workspace-item{
  flex:0 0 calc(20% - 0.5rem);
  min-width: 180px;      /* prevents silly skinny tiles */
}

/* Tile: keep it square */
.vc-maker .workspace-item .clip-card{
  display:flex;
  flex-direction:column;
  aspect-ratio: 1 / 1;   /* square */
  width:100%;
  overflow:hidden;       /* keeps it tidy when narrow */
}

/* Optional: allow a bit of internal breathing room */
.vc-maker .workspace-item .clip-card{
  padding:0.6rem;        /* adjust to taste */
}

/* Ensure bottom button row stays at bottom */
.vc-maker .workspace-item .btn-ws-remove{
  margin-left:auto;
}

/* Keep the bottom button row anchored */
.vc-maker .workspace-item .clip-card .d-flex.gap-1.mt-2{
  margin-top:auto;
}

/* Slightly tighter default buttons */
.vc-maker .workspace-item .btn{
  font-size:0.8rem;
  padding:0.25rem 0.5rem;
  line-height:1.1;
}

/* Don’t let "Add To Timeline" wrap unless you want it to */
.vc-maker .workspace-item .btn-ws-to-timeline{
  white-space:nowrap;
}

/* =========================
   BREAKPOINTS
   ========================= */

/* < 1200px (lg and down): 4 per row */
@media (max-width:1199.98px){
  .vc-maker .workspace-item{
    flex:0 0 calc(25% - 0.5rem);
    min-width:160px;
  }
}

/* < 992px (md and down): 3 per row */
@media (max-width:991.98px){
  .vc-maker .workspace-item{
    flex:0 0 calc(33.333% - 0.5rem);
    min-width:150px;
  }

  .vc-maker .workspace-item .btn{
    font-size:0.75rem;
    padding:0.22rem 0.45rem;
  }
}

/* < 768px (sm-ish): 2 per row */
@media (max-width:767.98px){
  .vc-maker .workspace-item{
    flex:0 0 calc(50% - 0.5rem);
    min-width:0; /* let flexbox shrink */
  }

  /* Header row: allow wrapping */
  .vc-maker .workspace-item .clip-card > .d-flex:first-child{
    flex-wrap:wrap;
    row-gap:0.25rem;
  }

  .vc-maker .workspace-item .small-label{
    font-size:0.72rem;
  }

  .vc-maker .workspace-item .btn-ws-load{
    margin-left:auto;
    font-size:0.7rem;
    padding:0.18rem 0.4rem;
    white-space:nowrap;
  }
}

/* < 576px (xs phones): still 2 per row, but tighter type */
@media (max-width:575.98px){
  .vc-maker .workspace-item .clip-card{
    padding:0.5rem;
  }

  .vc-maker .workspace-item .fw-bold.small{
    font-size:0.72rem;
  }

  .vc-maker .workspace-item .small{
    font-size:0.68rem;
  }

  .vc-maker .workspace-item .btn{
    font-size:0.68rem;
    padding:0.18rem 0.4rem;
  }
}

/* < 360px (tiny phones): make primary button shorter */
@media (max-width:359.98px){
  .vc-maker .workspace-item .btn-ws-to-timeline{
    font-size:0.64rem;
    padding:0.16rem 0.35rem;
  }
}
@media (max-width:575.98px){
  .vc-maker .workspace-item .clip-card{
    aspect-ratio: auto;   /* stop forcing a square */
    overflow: visible;    /* let it grow naturally */
  }
}



.vc-maker .clip-card {
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  padding: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
      135deg,
      rgba(255,255,255,0.12),
      rgba(0,0,0,0.35)
  );
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.vc-maker .clip-card:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--accent-color);
  box-shadow: 0 0 8px rgba(0,0,0,0.35);
}

.vc-maker .clip-card.active {
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 0 2px rgba(13,110,253,.4);
}

/* Tiny label inside square */
.vc-maker .clip-time {
  font-size: 0.9rem;
  opacity: 0.7;
}

.vc-maker .small-label {
  font-size: 0.95rem;
  opacity: 0.7;
}

.vc-maker .code-block {
  font-family: monospace;
  font-size: 0.8rem;
  background: var(--vc-code-bg);   /* theme-aware */
  color: var(--vc-code-fg);
  border-radius: 0.5rem;
  padding: 0.5rem;
  white-space: pre;
  max-height: 200px;
  overflow: auto;
}

/* VC Maker: anything inside a dark panel should use light text */
.vc-maker .bg-dark,
.vc-maker .bg-dark .form-label,
.vc-maker .bg-dark label,
.vc-maker .bg-dark .small,
.vc-maker .bg-dark .text-muted {
  color: var(--contrast-color);
}

/* Inputs inside the dark workspace card */
.vc-maker .bg-dark .form-control,
.vc-maker .bg-dark .form-control:focus,
.vc-maker .bg-dark .form-select,
.vc-maker .bg-dark .form-select:focus {
  color: var(--contrast-color);
  background-color: #0b1220; /* nice dark navy */
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}



.light-background {
  --background-color: #141f33;
  --surface-color: #141f35;
}

.dark-background {
  --background-color: #000205;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}


.btn-success {
  background-color: var(--accent-success);
  border-color: var(--accent-success);
}

.btn-danger {
  background-color: var(--accent-danger);
  border-color: var(--accent-danger);
}
.controls .btn {
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  border-radius: 2rem;
}
/* Strong border on hover */
.btn-chain-full:hover {
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
  background-color: #ffc107; /* keep Bootstrap's warning color */
}

.controls .btn i {
  font-size: 1.2rem;
  vertical-align: middle;
}
.controls .btn-success i { color: #fff; }
.controls .btn-danger i { color: #fff; }
.controls .btn-outline-secondary i { color: var(--accent-color); }
.controls .btn-outline-secondary  {  border-color: white; }

.player-shell {
  background: #000; /* or your brand gradient, if you prefer */
  overflow: hidden;
}

.controls .now-playing {
  font-size: 1rem;
}
@media (max-width: 575.98px) {
  .controls .now-playing {
    font-size: 0.7rem;
  }
}

.player-shell {
  position: relative;
}

.player-shell .player-host,
.player-shell .player-placeholder {
  position: absolute;
  inset: 0;           /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
}

/* Default background if no image */
.player-shell .player-placeholder {
  z-index: 2;
  padding: 1.5rem;
  background: #000;   /* or your existing gradient */
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Add a subtle dark overlay when image is present */
.player-shell .player-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: -1;
}
.chain-overlay {
  pointer-events: none; /* So clicks go through to the link */
}

.video-box img {
  object-fit: cover;
}
/* Make unselected radio borders stronger */
.form-check-input[type="radio"] {
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 40%) !important;
}

/* When hovered, make the circle better defined */
.form-check-input[type="radio"]:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 20%) !important;
}

/* When checked, keep original Bootstrap behaviour */
.form-check-input[type="radio"]:checked {
  border-color: var(--accent-color) !important;
  background-color: var(--accent-color) !important;
}

/* === TRANSPORT PILL BUTTONS (COMPACT) === */
.vc-transport-pill {
  display: inline-flex;
  border-radius: 999px;
  overflow: hidden;
}

.vc-pill-btn {
  border: none;
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: #fff;
  cursor: pointer;
  transition: 0.15s ease-in-out;
}

.vc-pill-btn i {
  font-size: 1rem;
}

/* Colors */
.vc-prev  { background: #3b82f6; }   /* blue */
.vc-next  { background: #f97316; }   /* orange */
.vc-playpause {
  background: var(--accent-success, #22c55e);
  width: 120px;                       /* prevents button shake */
  justify-content: center;
}

/* Pause state */
.vc-playpause.paused {
  background: #dc2626 !important;    /* red */
}

.vc-pill-btn:hover {
  filter: brightness(1.1);
}

/* === SIZE BUTTONS (ORIGINAL STYLE) === */
.vc-size-group .vc-size-btn {
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  background: transparent;
  color: var(--default-color);
}

.vc-size-group .vc-size-btn.active {
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.vc-size-group .vc-size-btn:not(.active):hover {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
}
/* S / M / L buttons – neat pill shapes on dark background */
.vc-player-controls .vc-size-group {
  display: flex;
  gap: 0.35rem;                 /* space between pills */
}

.vc-player-controls .vc-size-group .vc-size-btn {
  border-radius: 999px !important;  /* force pill shape, ignore btn-group shaping */
  padding: 0.3rem 0.9rem;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;

  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);

  transition: 0.15s ease-in-out;
}

/* Active size button */
.vc-player-controls .vc-size-group .vc-size-btn.active {
  background: rgba(255,255,255,0.16);
  border-color: #ffffff;
  color: #ffffff;
}

/* Hover for inactive buttons */
.vc-player-controls .vc-size-group .vc-size-btn:not(.active):hover {
  background: rgba(255,255,255,0.08);
}
#vc-time-inline {
  opacity: 0.75;
  font-weight: 500;
  margin-left: 2px;
}

/* First timeline item = chain entry */
.timeline-item.chain-entry {
  border: 0px solid #ffc107;
}

/* When chain is playing from the start */
.timeline-item.chain-entry.chain-playing {
  border-width: 2px;
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.6);
}

.player-placeholder.title-cover {
  background: radial-gradient(circle at top, #333 0, #000 60%);
  padding: 0.75rem;
}

.vc-title-fit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1.1;
}

.vc-title-fit span {
  display: inline-block;
  word-break: break-word;
  font-size: 40px; /* JS will override */
  color: #fff;
}
.chain-title-thumb {
  background: radial-gradient(circle at top left, #ffdd55, #ff3366 40%, #2b1e63);
  border-radius: 0.75rem;
}

.chain-title-thumb .h4 {
  font-weight: 700;
  letter-spacing: 0.03em;
}
    .play {
      box-shadow: 0 0 0 0 rgba(25,135,84,0.5);
      transition: box-shadow .3s ease-in-out;
    }
    .play:hover {
      box-shadow: 0 0 10px 3px rgba(25,135,84,0.5);
    }
    .pause:hover {
      box-shadow: 0 0 10px 3px rgba(220,53,69,0.5);
    }
	
	.vc-channel-tags {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.75rem;
}

.vc-channel-tags .badge {
  font-weight: 500;
  letter-spacing: 0.01em;
}
.vc-text-bg {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.25)
  );
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  display: inline-block;
}
/* Hide S / M / L player size buttons on very small screens */
@media (max-width: 575.98px) {
  .vc-size-group {
    display: none !important;
  }
}
.vc-maker.light-mode .btn-move-left,
.vc-maker.light-mode .btn-move-right {
  border-color: rgba(0,0,0,0.4) !important;
  color: rgba(0,0,0,0.7) !important;
}
.vc-maker.light-mode .btn-move-left:hover,
.vc-maker.light-mode .btn-move-right:hover {
  background-color: rgba(0,0,0,0.7) !important;
  color: #fff !important;
}
.vc-timeline .btn-move-left,
.vc-timeline .btn-move-right {
  border-color: rgba(0, 0, 0, 0.4) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  background-color: var(--accent-color) !important;
  padding: 3px 6px;
  min-width: 16px;
}
.vc-timeline .btn-move-left:hover,
.vc-timeline .btn-move-right:hover {
  background-color: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
}

.modern-form .form-control,
.modern-form .form-select {
  height: 38px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 14px;
  background: var(--surface-color);
  color: var(--default-color);
  font-size: 15px;
  padding: 16px 20px;
  transition: all 0.3s ease;
}

.modern-form .form-control:focus,
.modern-form .form-select:focus {
  border-color: var(--accent-color);
  background: var(--surface-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 94%);
  outline: none;
}

.modern-form .form-control::placeholder,
.modern-form .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.modern-form textarea.form-control {
  height: auto !important;
  padding: 16px 20px;
  resize: none;
}

.modern-form .btn-submit {
  width: 100%;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;

  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 24px;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.modern-form .btn-submit:hover {
  background: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.modern-form .btn-submit:hover i {
  transform: translateX(4px);
}

.modern-form .btn-submit:active {
  transform: translateY(0);
}

.modern-form .btn-submit i {
  font-size: 18px;
  transition: transform 0.3s ease;
}
/* =========================
   VideoChain Player (chain.php)
   ========================= */

/* Layout shell */
.vc-wrap { max-width: 980px; margin: 0 auto; padding: 14px; }
.vc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
}

/* Tablet: slightly tighter */
@media (max-width: 991.98px){
  .vc-wrap { padding: 10px; }
  .vc-card { padding: 12px; }
}



/* Player box */
.vc-player-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

/* Use Bootstrap ratio wrapper */
.player-shell { position: relative; }

/* YT host fills ratio */
.player-host,
.player-host iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}


/* Cover overlay (custom/brand/title/yt thumb fallback) */
.vc-cover-overlay{
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;   /* allow click */
  cursor: pointer;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; /* default: cinematic crop */
}

/* FIT mode (show full image without cropping) */
.vc-player-box.fit-cover .vc-cover-overlay{
  background-size: contain;
  background-color: #000; /* letterbox */
}

/* Title Card styling (gradient comes from inline style) */
.vc-cover-overlay.is-title .vc-cover-inner{
  background: none;
  border: 0;
  padding: 0;
  max-width: 90%;
}

.vc-cover-inner{
  max-width: 720px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.15);
  text-align: center;
}

.vc-cover-title{
  font-weight: 900;
  line-height: 1.08;
  text-wrap: balance;
  font-size: clamp(20px, 4vw, 44px);
}

.vc-cover-sub{
  margin-top: 10px;
  font-size: clamp(12px, 1.8vw, 18px);
  opacity: .95;
}

/* Controls */
.controls{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 10px;
  backdrop-filter: blur(10px);
}

.controls .btn{
  border-radius: 12px;
  font-weight: 700;
  touch-action: manipulation;
}

.controls .btn-group .btn{ min-width: 44px; }
.btn-fallback-text{ display: none; }

/* FF mobile icon fallback */
.controls .btn i{ pointer-events: none; }
.controls .btn.no-icons i{ display: none !important; }
.controls .btn.no-icons .btn-fallback-text{ display: inline !important; }

/* Timeline */
.vc-timeline{ max-height: 320px; overflow: auto; }
.vc-item{ cursor: pointer; border-radius: 10px; padding: 10px 12px; }
.vc-item:hover{ background: rgba(255,255,255,0.05); }
.vc-item.active{
  border-left: 3px solid rgba(255,193,7,.95);
  background: rgba(255,255,255,0.06) !important;
}

/* Mobile: reduce wasted space */
@media (max-width: 575.98px){
  .vc-wrap{ padding: 0 !important; }
  .vc-card{
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    padding: 10px !important;
    background: transparent !important;
  }
  .vc-player-box{ border-radius: 0 !important; }
  .vc-timeline{ max-height: 240px; }
  .controls .btn{ padding: .45rem .6rem; }
}

/* =========================
   Theater Mode (edge-to-edge, no timeline)
   ========================= */

body.theater-lock{ overflow: hidden; }
body.theater-lock .vc-timeline{ display: none !important; }

.vc-player-box.is-theater{
  position: fixed;
  inset: 0;
  z-index: 1055;
  margin: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: rgba(0,0,0,.92);
}

/* Optional: If you inject a theater controls bar inside the player box */
.vc-player-box.is-theater .vc-theater-controls{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 6;
  padding: 10px 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
}

#vc-player-shell { max-width: 100%; margin-left:auto; margin-right:auto; }

#vc-player-shell.player-size-s { width: 360px; }
#vc-player-shell.player-size-m { width: 640px; }
#vc-player-shell.player-size-l { width: 960px; }

/* mobile: always full width */
@media (max-width: 768px){
  #vc-player-shell.player-size-s,
  #vc-player-shell.player-size-m,
  #vc-player-shell.player-size-l { width: 100%; }
}
.vc-time-value {
  font-size: 0.85rem;   /* small bump */
  font-weight: 600;
  letter-spacing: 0.02em;
}
.vc-nowplaying-text {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;      /* override monospace */
  letter-spacing: 0.01em;
}

@media (max-width: 575.98px){

  /* The toolbar row: keep everything on one line */
  #vc-edit-panel .d-flex.flex-wrap{
    flex-wrap: nowrap !important;
    gap: .25rem !important;
  }

  /* Shrink the two buttons slightly */
  #btn-edit-watch,
  #btn-edit-preview{
    font-size: .95rem;
    padding: .20rem .35rem;
    line-height: 1;
    white-space: nowrap;
  }

  /* Shrink the switch and prevent its label from wrapping */
  #vc-edit-panel .form-check.form-switch{
    margin-left: .25rem !important; /* overrides ms-2 */
    display: flex;
    align-items: center;
    gap: .25rem;
    white-space: nowrap;
  }

  #vc-edit-panel .form-check.form-switch .form-check-label{
    font-size: .68rem;
    margin: 0;
    white-space: nowrap;
  }

  /* Optional: slightly smaller switch itself */
  #vc-edit-panel .form-check-input{
    transform: scale(.9);
    margin-top: 0;
  }
  #vc-edit-panel #edit-youtube{
  height: 28px;          /* small */
  font-size: .75rem;
  padding-top: 0;
  padding-bottom: 0;
}

}
@media (max-width: 320px){

  /* Stack actions more efficiently */
  .vc-edit-actions{
    gap: .25rem !important;
  }

  /* Shorten + shrink buttons */
  #btn-save-clip{
    font-size: .95rem;
    padding: .18rem .4rem;
    white-space: nowrap;
  }

  #btn-close-editor{
    font-size: .95rem;
    padding: .18rem .35rem;
    white-space: nowrap;
  }

  /* Status always on its own line */
  #edit-status{
    flex-basis: 100%;
    font-size: .92rem;
    line-height: 1.1;
    margin-top: .15rem;
  }
}
@media (max-width:575.98px){
  #vc-edit-panel .vc-edit-toolbar{
    flex-wrap: nowrap !important;
    gap: .25rem !important;
  }
}
.btn-outline-primary {
  --bs-btn-color: var(--accent-color);
  --bs-btn-border-color: var(--accent-color);

}

