:root {
  --primary: #378ce7;
  --secondary: #67c6e3;
  --light-bg: #d1f5ff;
  --accent: #5356ff;
  --text: #333333;
  --text-light: #666666;
  --bg: #ffffff;
  --border2: black;
  --card-bg: #f8f9fa;
  --border: #000000;
  --shadow: rgba(0, 0, 0, 0.1);
  --highlight: #5356ff;
  /*--bg-gradient: linear-gradient(135deg, #d1f5ff 0%, #aee1f9 100%);*/
  --particle-color: #ffffff;
  --bg-gradient: linear-gradient( 90deg, #d6dde7 0%, #a0d9ec 25%, #b2ebf2 50%, #d4f0fb 75%, #dae0ec 100% ), radial-gradient( circle at center, rgba(178, 235, 242, 0.8) 0%, rgba(212, 240, 251, 0.6) 60%, rgba(218, 224, 236, 1) 100% );
  --disturbance-offset: 8px;
  --vertical-video-width: 300px;
  --horizontal-video-width: 500px;
}

.dark-theme {
  --primary: #67c6e3;
  /*--secondary: #378ce7;*/
  --secondary: #265dbe;
  --light-bg: #1a2a3a;
  --accent: #5356ff;
  --text: #f8f9fa;
  --text-light: #adb5bd;
  --card-bg: #0a1f44;
  --border: #343a40;
  --border2: white;
  --shadow: rgba(0, 0, 0, 0.3);
  --highlight: #67c6e3;
  --bg: #0a2342;
  /*--bg-gradient: linear-gradient(135deg, #0a2342 0%, #000000 80%);*/
  --bg-gradient: linear-gradient(135deg, #0a2342 0%, #000000 100%);
}

/* Highlight important words */

.highlight {
  color: var(--highlight);
  font-weight: 700;
  /*letter-spacing: 4px;*/
}

/* Navigation */

.navbar {
  background-color: var(--bg);
  /*box-shadow: 0 2px 15px var(--shadow);*/
  /*padding: 0.8rem 0;*/
  max-width: 1100px;
  border-radius: 10px;
  /*margin: 10px;*/
  transition: background-color 0.3s;
}

.navbar-brand {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.8rem;
}

.nav-link {
  color: var(--text);
  font-weight: 600;
  margin: 0 0.5rem;
  transition: color 0.3s;
  font-size: 1.05rem;
}

.nav-link:hover, .nav-link:focus {
  color: var(--primary);
}

.btn-primary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  padding: 0.6rem 1.8rem;
  font-weight: 700;
  transition: all 0.3s;
  border-radius: 50px;
}

.btn-primary:hover {
  background-color: #2675be;
  border-color: #2675be;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-accent {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  padding: 0.8rem 2.5rem;
}

.btn-accent:hover {
  background-color: #2675be;
  border-color: #2675be;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */

.hero {
  /*background: linear-gradient(135deg, var(--light-bg) 0%, var(--secondary) 100%);*/
  padding: 1.0rem 0 1rem;
  color: var(--text);
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-weight: 900;
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 1.8rem;
}

.hero p {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  color: var(--text-light);
  max-width: 800px;
}

/* Stats Section */

.stats-section {
  background-color: var(--card-bg);
  border-radius: 20px;
  /*padding: 3.5rem 0;*/
  margin-bottom: 4rem;
  box-shadow: 0 10px 30px var(--shadow);
  position: relative;
  overflow: hidden;
  /*padding-left: 2px;*/
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stat-number {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-light);
  font-size: 1.15rem;
}

/* Clients Carousel */

.clients-carousel {
  margin: 5rem 0;
}

.client-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 2.5rem;
  border: 3px solid var(--bg);
  box-shadow: 0 5px 15px var(--shadow);
}

.client-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.client-subscribers {
  color: var(--text-light);
  font-size: 0.95rem;
}

.carousel-control-prev, .carousel-control-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev {
  left: -25px;
}

.carousel-control-next {
  right: -25px;
}

.client-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  border-radius: 12px;
  padding: 0.5rem;
}

.client-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 12px var(--primary);
  background-color: rgba(103, 198, 227, 0.05);
}

/* Services */

.services-section {
  padding: 6rem 0;
  /*background: linear-gradient(to bottom, var(--light-bg) 0%, var(--bg) 100%);*/
  margin: 4rem 0;
  position: relative;
}

.service-card {
  background-color: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.4s, box-shadow 0.4s;
  border: none;
  box-shadow: 0 10px 25px var(--shadow);
  border-top: 5px solid var(--primary);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px var(--shadow);
}

.service-icon {
  font-size: 3.5rem;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

/* NEW PROCESS SECTION */

.process-section {
  padding: 5rem 0;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 0;
}

.timeline::after {
  content: "";
  display: table;
  clear: both;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px;
  margin-left: -3px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  height: 0;
  z-index: 0;
  transition: height 0.2s ease-out;
}

.timeline-step {
  width: 50%;
  padding: 10px 40px;
  box-sizing: border-box;
  float: left;
  clear: both;
  position: relative;
}

.timeline-step:nth-child(even) {
  float: right;
}

.step-content {
  padding: 20px 30px;
  background-color: var(--card-bg);
  position: relative;
  border-radius: 15px;
  box-shadow: 0 3px 10px var(--shadow);
}

.step-number {
  position: absolute;
  width: 120px;
  /*height: 46px;*/
  background: linear-gradient(90deg, var(--primary), var(--accent));
  /*border-radius: 37%;*/
  top: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 20px;
}

.timeline-step:nth-child(odd) .step-number {
  right: -190px;
}

.timeline-step:nth-child(even) .step-number {
  left: -190px;
}

/* YouTube Videos */

.videos-section {
  padding: 6rem 0;
  /*background: var(--bg);*/
}

.video-gridd {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: minmax(200px, auto);
  grid-gap: 25px;
  grid-auto-flow: dense;
}

.video-itemm {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s;
  position: relative;
  /*background: linear-gradient(45deg, var(--primary), var(--accent));*/
}

.video-itemm:hover {
  transform: scale(1.03);
}

.video-itemm i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  opacity: 0.8;
}

.video-itemm.vertical {
  /*grid-row: span 1;*/
  aspect-ratio: 9/16;
  /*padding: 156.8% 0 0 0;*/
  position: relative;
  /*background: rgba(255, 255, 255, 0.1);*/
  /*backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);*/
  /*border: 1px solid rgba(255, 255, 255, 0.2);*/
  /*border: 4px solid var(--border2);*/
}

.video-itemm.horizontal {
  grid-column: span 2;
  aspect-ratio: 16/9;
  /*border: 4px solid var(--border2);*/
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-itemm.large {
  grid-column: span 2;
  grid-row: span 1;
}

/* Gallery */

.gallery-section {
  padding: 6rem 0;
  /*background: var(--light-bg);*/
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px var(--shadow);
  transition: transform 0.3s;
  aspect-ratio: 1/1;
  background: linear-gradient(45deg, var(--primary), var(--accent));
}

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

.client-card {
  background-color: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px var(--shadow);
  border: 1px solid var(--border);
}

/* Calendly */

.calendly-section {
  padding: 6rem 0;
  /*background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);*/
  /*color: white;*/
}

.calendly-container {
  background-color: var(--bg);
  border-radius: 25px;
  padding: 3.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* FAQ */

/* FAQ Section Base */

.faq-section {
  padding: 5rem 1rem;
  /*background: var(--bg-gradient);*/
}

.accordion-item {
  background-color: var(--card-bg);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  background-color: var(--card-bg);
  color: var(--text);
  border: none;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-button:hover {
  background-color: var(--light-bg);
}

.accordion-button:after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: all 0.3s ease;
  background-image: none !important;
}

.accordion-button.collapsed:after {
  content: '+';
}

.accordion-button:not(.collapsed):after {
  content: '-';
}

.accordion-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}

.accordion-collapse.show .accordion-body {
  padding: 1.5rem;
  max-height: 500px;
}

/* Responsive */

@media (max-width: 768px) {
  .faq-section {
    padding: 2rem 1rem;
  }
}

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

@media (max-width: 768px) {
  .accordion-button {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 768px) {
  .accordion-body {
    font-size: 0.95rem;
  }
}

/* Footer */

footer {
  /*background-color: var(--card-bg);*/
  padding: 5rem 0 2rem;
  color: var(--text-light);
}

.footer-logo {
  /*font-weight: 800;*/
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--border);
  color: white;
  border-radius: 50%;
  margin-right: 0.75rem;
  transition: all 0.3s;
  font-size: 1.2rem;
}

.social-icon:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-5px);
}

.footer-link {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--primary);
}

.copyright {
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

/* Theme Toggle */

.theme-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px var(--shadow);
  transition: all 0.3s;
  font-size: 1.5rem;
}

.theme-toggle:hover {
  transform: rotate(30deg) scale(1.1);
}

/* Responsive Adjustments */

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .process-line {
    display: none;
  }
}

@media (max-width: 992px) {
  .video-item.horizontal, .video-item.large {
    grid-column: span 1;
  }
}

@media (max-width: 992px) {
  .timeline::after {
    left: 31px;
  }
}

@media (max-width: 992px) {
  .timeline-step {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    left: 0 !important;
  }
}

@media (max-width: 992px) {
  .timeline-step:nth-child(odd) .step-number, .timeline-step:nth-child(even) .step-number {
    left: -59px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 1.6rem 0 3rem;
  }
}

@media (max-width: 768px) {
  .btn-accent {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  masonry-gridd {
    /*font-size: 14px;*/
    column-count: 1;
  }
}

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

@media (max-width: 768px) {
  .stat-number {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .btn-accent {
    padding: 0.7rem 1.8rem;
  }
}

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

@media (max-width: 576px) {
  .hero p {
    font-size: 1.0rem;
  }
}

@media (max-width: 576px) {
  .carousel-control-prev {
    left: 10px;
  }
}

@media (max-width: 576px) {
  .carousel-control-next {
    right: 10px;
  }
}

.video-placeholder {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  aspect-ratio: 16 / 9;
  position: relative;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: white;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.play-icon.hidden {
  opacity: 0;
  visibility: hidden;
}

.video-container {
  padding: 56.25% 0 0 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  /*background: #000;*/
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.3s;
  transform: scale(1.10);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* On hover effect */

.video-container:hover {
  /*transform: perspective(1000px) rotateY(-5deg) scale(1.10);*/
  transform: perspective(1000px) rotateY(0deg) scale(1.08);
}

/* Media queries for responsive transform adjustments */

@media (max-width: 1200px) {
  .video-container {
    transform: perspective(800px) rotateY(-3deg);
  }
}

@media (max-width: 1200px) {
  .video-container:hover {
    transform: perspective(800px) rotateY(-3deg) scale(1.08);
  }
}

@media (max-width: 768px) {
  .video-container {
    transform: perspective(600px) rotateY(-2deg);
    margin-top: -48px;
  }
}

@media (max-width: 768px) {
  .video-container:hover {
    transform: perspective(600px) rotateY(-2deg) scale(1.05);
  }
}

@media (max-width: 480px) {
  .video-container {
    transform: none;
  }
}

@media (max-width: 480px) {
  .video-container:hover {
    transform: scale(1.03);
  }
}

.success-stories {
  /*padding: 30px 0;*/
  /*background: var(--gradient);*/
}

/* Masonry container */

.masonry-gridd {
  /*column-gap: 1.5rem;*/
  /*column-count: 4;*/
}

/* Fluid break-points */

@media (max-width: 1200px) {
  .masonry-grid {
    column-count: 3;
  }
}

@media (max-width: 992px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry-grid {
    column-count: 1;
  }
}

/* Each card must stay intact inside a column */

.screenshot-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,.2);
  transition: transform .3s;
  position: relative;
  /*border: 4px solid rgb(255,255,255);*/
  background: rgb(0,117,255);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Show the whole image, never crop */

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Optional caption overlay */

.caption {
  background: rgba(0,0,0,.7);
  color: #fff;
  padding: .6rem 1rem;
  font-size: .9rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
  transition: transform .3s;
  display: none;
}

.screenshot-card:hover .caption {
  transform: translateY(0);
}

.grid-item-1 {
  grid-column: span 1;
}

.grid-item-2 {
  grid-column: span 2;
}

.grid-item-3 {
  grid-column: span 3;
}

.grid-item-4 {
  grid-row: span 1;
}

.grid-item-5 {
  grid-row: span 2;
}

.grid-item-6 {
  grid-row: span 2;
}

.grid-item-7 {
  grid-row: span 2;
}

.grid-item-8 {
  grid-row: span 2;
}

.grid-item-9 {
  grid-row: span 2;
}

@media (max-width: 768px) {
  .grid-item-1, .grid-item-4 {
    grid-column: span 1;
  }
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
  background: var(--bg-gradient);
  pointer-events: none;
}

.timeline-date {
  position: absolute;
  width: 120px;
  /*background: var(--accent);*/
  background: linear-gradient(90deg, var(--primary), var(--accent));
  linear-gradient(90deg, var(--primary), var(--accent));: var(--dark);
  padding: 8px 15px;
  border-radius: 20px;
  /*color: var(--text);*/
  color: white;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 5px 15px rgba(32,150,201,0.3);
}

@media (min-width: 300px) {
  .calendly-container {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .masonry-gridd {
    column-gap: 1.5rem;
    column-count: 4;
  }
}

@media max-width: 300px) {
  h1 {
    font-size: 40px;
  }
}

/* Hide the <br> by default (desktop) */

.mobile-break {
  display: none;
}

/* Show it only on small devices (e.g., max-width 600px) */

@media (max-width: 600px) {
  .mobile-break {
    display: inline;
  }
}

.small-heading {
  font-size: 1.70rem;
  font-weight: 700;
}

.gradientText {
  background: linear-gradient( 90deg, #d6dde7 0%, #a0d9ec 25%, #b2ebf2 50%, #d4f0fb 75%, #dae0ec 100% ), radial-gradient( circle at center, rgba(178, 235, 242, 0.8) 0%, rgba(212, 240, 251, 0.6) 60%, rgba(218, 224, 236, 1) 100% );
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  color: transparent;
  text-shadow: 0 0 10px rgba(61,135,255,0.38);
  display: inline-block;
}

