/*general*/
/* For Bootstrap 5 ratio wrappers that contain a <p><iframe>…</iframe></p> */
/* Make YouTube iframes inside .ratio work even if WP wraps them with <p> */
.trusted-logo {
    height: 40px;          /* bigger and equal height */
    width: auto;           /* keeps aspect ratio */
    object-fit: contain;   /* avoids distortion */
    display: block;
  }
.ratio.ratio-16x9 > p {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
}
.ratio.ratio-16x9 > p > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: auto;
  z-index: 1;
}
.light-green{
    background-image: linear-gradient(170deg, #f9f9fa 0%, #e3ebed 100%);
}
.price-container span {
    font-size: 24px;
    font-weight: bold;
    color: #9fb80f;
}
.bg-light-primary{
  background-color: #e3f2db;
}
.text-white-all *{color: #fff;}
.border-primary-custom {
   
    border-color: #a8c20f!important;
}
.bg-linen {
    background-color: #f7f6f3;
}
.bg-fade-to-white {
  background: #f5f7fa; /* fallback */
  background: linear-gradient(to bottom, #f5f7fa 0%, #ffffff 100%);
}

.wp-block-embed__wrapper iframe {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;
  max-width: 100%;
  display: block;
}
.project-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 14px;
  background: linear-gradient(270deg, #ff5c35, #ff9324, #1eb977, #ff5c35);
  background-size: 600% 600%;
  z-index: -1;
  animation: glowing-border 8s linear infinite;
  filter: blur(4px); /* soft glow */
}

@keyframes glowing-border {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@media(max-width: 768px) {
    .bfull-width {
        width: 100%!important;
    }
}


@media (min-width: 992px) {
    .border-lg-primary {
        --bs-border-opacity: 1;
        border-color: #0b57d0 !important;
    }
}

@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid !important;
    }
}


.gr23 {
    background: linear-gradient(90deg, rgba(203, 201, 233, .6) 0%, rgba(227, 232, 251, .6) 50%, rgba(255, 224, 244, .6) 100%);
}


.cl-ocations p {
    display: inline-block;
}


@media (max-width: 767.98px) {
    .features-list li:nth-child(n+6) {
        display: none;
    }
    .features-list.show-all li {
        display: list-item !important;
    }
}
.wp-block-heading strong{
    font-weight: normal;
}
.icon-left {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}
.column-2 ul {
  column-count: 2;
  column-gap: 2rem;
  padding-left: 1rem;
}

@media (max-width: 767.98px) {
  .column-2 ul {
    column-count: 1;
  }
}

.card {
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}

.table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.icon-left img,
.icon-left svg {
    flex-shrink: 0;
}

.icon-top {
    display: block;
    text-align: center;
}
.avoid-break {
  word-break: break-word;
  overflow-wrap: break-word;
}
.text-white *, .text-light-all *{
    color: #fff!important;
}
.text-dark-all *{
  color: #000;
}
.text-gray *{
    color: #b6c7d6!important;
}
@media(max-width: 768px){
    .mob-center *, .mob-center {
    text-align: center;
}
}
@media (max-width:600px){
	img.custom-logo {
    max-width: 150px;
}
}
.custom-logo {
  width: 200px; /* adjust as needed */
  height: auto;
  max-height: 80px; /* optional: restricts height */
  display: inline-block;

  /* Smooth scaling */
  image-rendering: -webkit-optimize-contrast; /* Chrome/Safari */
  image-rendering: crisp-edges; /* Firefox */
  image-rendering: pixelated; /* Optional: For blocky pixel-style logos */

  /* Optional enhancement */
  backface-visibility: hidden;
  transform: translateZ(0); /* GPU acceleration for some cases */
}
@media(min-width: 768px){
    .cg-theme-intro{
    padding-top: 6rem!important;
    padding-bottom: 5rem;
}
}

/*general*/
.hero-section {
    padding: 150px 0;
    z-index: 10;
    color: #fff;

}

.review-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.google-logo {
    width: 70px;

}

.review-stars {
    color: #ffc107;
    font-size: 1rem;
    letter-spacing: 1px;
}



.headline h3 {
    font-size: 16px;
    color: #aaa;
    font-weight: normal;
    margin-bottom: 24px;
}

.btn-cta {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

.btn-primary.btn-cta {
    background-color: #10d876;
    border: none;
}

.btn-outline-light.btn-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.video-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}


@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .headline h2 {
        font-size: 2rem;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
    }
}

/* gradiants */
.hero-gradient-1 {

    background-image: radial-gradient(rgb(62,132,102) 0%,rgb(34,53,77) 72%);


}


.gradiant-2{
    background: linear-gradient(118deg, #e9e8e8 0%, #e2ecea 51.13%);
}

/* footer */
footer a, .footer {
    color: #cbd6e2;
}

/* service cards */
/* === Default aspect ratios by block === */
#webdesign,
#business-email {
  --cz-aspect-ratio: calc(398 / 773 * 100%);
  max-width: 773px;
}

#shopify,
#domain-hosting {
  --cz-aspect-ratio: calc(398 / 627 * 100%);
  max-width: 627px;
}

#ecommerce {
  --cz-aspect-ratio: calc(398 / 370 * 100%);
  max-width: 370px;
}

#adobe-commerce {
  --cz-aspect-ratio: calc(398 / 540 * 100%);
  max-width: 540px;
}

#website-redesign {
  --cz-aspect-ratio: calc(398 / 466 * 100%);
  max-width: 466px;
}

/* === Tablet and below: full width, unified aspect ratio === */
@media (max-width: 767px) {
  #webdesign,
  #business-email,
  #shopify,
  #domain-hosting,
  #ecommerce,
  #adobe-commerce,
  #website-redesign {
    --cz-aspect-ratio: calc(400 / 735 * 100%);
    max-width: 100%;
  }
}

/* === Smaller screens: unify aspect ratio to 398/627 === */
@media (max-width: 650px) {
  #webdesign,
  #business-email,
  #shopify,
  #domain-hosting,
  #ecommerce,
  #adobe-commerce,
  #website-redesign {
    --cz-aspect-ratio: calc(398 / 627 * 100%);
  }
}

/* === Mobile fallback for specific blocks === */
@media (max-width: 540px) {
  #fashion-1,
  #business-email {
    --cz-aspect-ratio: calc(398 / 500 * 100%);
  }
}


/* Only show the overlay on small devices */
@media (max-width: 768px) {
  /* Common styles for all target sections */
  #webdesign .hover-effect-target::after,
  #shopify .hover-effect-target::after,
  #ecommerce .hover-effect-target::after,
  #website-redesign .hover-effect-target::after,
  #adobe-commerce .hover-effect-target::after,
  #domain-hosting .hover-effect-target::after,
  #business-email .hover-effect-target::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  /* Unique background gradients */
  #webdesign .hover-effect-target::after {
    background: linear-gradient(145deg, #eef1f6 0%, #eef1f6b5 56%, #eef1f600 100%);
  }

  #shopify .hover-effect-target::after {
            background: linear-gradient(145deg, #0f4939, #0f4939cc 56%, #708b885c 100%);
  }

  #ecommerce .hover-effect-target::after {
    background: linear-gradient(145deg, #333d4c, #333d4c8f 56%, #333d4c00 100%);
  }

  #website-redesign .hover-effect-target::after {
    background: linear-gradient(145deg, #f3eef3, #f3eef370 56%, #f3eef300 100%);
  }

  #adobe-commerce .hover-effect-target::after {
    background: linear-gradient(145deg, #ccdff5, #ccdff57a 56%, #ccdff500 100%);
  }

  #domain-hosting .hover-effect-target::after {
    background: linear-gradient(145deg, #fccac5, #f9ebc859 56%, #f9ebc800 100%);
  }

  #business-email .hover-effect-target::after {
    background: linear-gradient(145deg, #cbc9e999, #cbc9e97a 56%, #ffe0f400 100%);
  }
}


/* service cards */

/* custom-btn */


/* Optional: Outline style */

/* Base button style */

/* custom-btn */


/*contact page*/
.widget--contact {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
  }

  .widget-icon {
    width: 45px;
    height: 45px;
    background-color: #a8c20fa3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    border-radius: 50%;
    flex-shrink: 0;
  }

/*contact page*/

/*youtube testimonial*/


.youtube-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 20px;
}

.youtube-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.youtube-player .play {
    height: 50px;
    width: 50px;
    left: 50%;
    top: 50%;
    margin-left: -36px;
    margin-top: -36px;
    position: absolute;
    background: url(https://cdn-daoob.nitrocdn.com/LCiYkAjyMYQllcWpSRewurPZnOGNoosN/assets/images/source/rev-5e03d09/arulmjoseph.com/wp-content/themes/arulmj/img/youtube.svg);
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .7;
}
.youtube-player {
    position: relative;
    padding-bottom: 55%;
    height: 0;
    overflow: hidden;
    max-width: 100%;


    border-radius: 20px;
}


.youtube-player:hover {
    transform: scale(1.02);
    box-shadow: 5px 5px  25px rgba(0, 0, 0, 0.15);
}
/* .hero-section .youtube-player {overflow: visible;} */
.youtube-player img {
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: auto;
    cursor: pointer;
    -webkit-transition: .4s all;
    -moz-transition: .4s all;
    transition: .4s all;
}
.youtube-player {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    
}
.flex-direction-row{
  flex-direction: row;
  gap: 0;
}
/*other*/
.classi_bg_arulmjoseph {
    background-color: #fbf7f0;
    background-image: url(../../images/ashbg.svg);
    background-position: center 12rem;
    background-repeat: repeat-y;
    background-size: 200% 100rem;
}
/*footer*/

.footer-contact{
    max-width: 250px;
}


.footer-contact-item .icon-circle {
  background-color: #9aa2aa3d;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.contact-text {
  font-size: 15px;
  color: #beb3b3;
  line-height: 1.5;
}

.contact-text:hover {
  color: #007bff;
}
/*footer*/




.related li {
    position: relative;
}
.related li a {
    color: #0b57d0;
    display: block;
    
    padding: 8px 0;
    position: relative;
   
}
.custom-menu ul li.active a {
  font-weight: 600;
  color: #0b5c9d;
   text-decoration: underline!important;
}
@media (min-width:768px) {
    .hlpcontent {
        border: thin solid #ffffff;
        border-radius: 28px;
        box-sizing: border-box;
        background: #fff;
    }
}

/* help -page */

/*testimonial*/
.testimonial-bubble {
  background-color: #5c6bc0; /* Match your purple bubble color */
  color: #fff;
  padding: 1rem 1.25rem;
border-radius: 20px 0;
  position: relative;
  display: inline-block;
  max-width: 100%;
   
}


.testimonial-bubble::before {
content: '';
  position: absolute;
  left: -20px;
  bottom: 0px;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-right: 20px solid #a8c240 /* match bubble color */
  border-bottom: 0 solid transparent;
}

/*testimonial*/

/* pricing*/

.plan-popular {
  border: 1px solid #0d6efd !important;
  border-top: none;
  position: relative;
  z-index: 1;

}

.plan-popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #d6e4ff;
  color: #0d6efd;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
}
/* pricing*/
/*home pricing*/
.home-pricing table {
  background-color: transparent !important;
}

.home-pricing table thead {
  background-color: rgba(255, 255, 255, 0.05) !important; /* optional soft header tint */
}

.home-pricing table td, .home-pricing table th {
  background-color: transparent !important;
}

/*home pricing*/
/*shopify page*/
.shopify-partner-section {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    padding: 20px 40px;
    background-color: #0f2235;
    /* Inner background */
    color: #fff;
    overflow: hidden;
}
@media(max-width: 768px) {
    .shopify-partner-section {
        padding: 50px 50px;
        text-align: center
    }
    .shopify-partner-section img {
        margin-bottom: 20px;
        max-width: 300px
    }
}

/* Gradient Border using ::before */
.shopify-partner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(270deg, #1eb977, #ff5b35, #fad504);
    background-size: 600% 600%;
    animation: rotateGradient 10s linear infinite;
    border-radius: 18px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
}
@keyframes rotateGradient {
    0% {
        background-position: 0% 50%;
    }
    20% {
        background-position: 50% 70%;
    }
    50% {
        background-position: 70% 100%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Force all inside text to white */
.shopify-partner-section * {
    color: #ffffff !important;
}
.shopify-partner-section h2 {
    font-weight: 400;
}
/* Optional: style link color slightly different */
.shopify-partner-section a {
    color: #1eb977 !important;
    text-decoration: underline;
}
.conteiner-color {
    padding: 3rem;
    border-radius: 1rem
}
.gradinat-light1 {
    background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

.gradinat-light2 {
    background-image: linear-gradient(120deg, #fdfbfb 0%, #e3f2db 100%);
}
/*shopify page*/
/*googel workspace */
/* Applies to any column inside the .card-m1 section */
.card-m1 [class*="col-md-"] {
    margin-bottom: 30px;
    display: flex;
}

/* Card styling */
.card-m1 .card-wrapper {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.card-m1 .card-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Image block */
.card-m1 .col-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Content block */
.card-m1 .col-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}



.card-m1 .col-content .p3,
.card-m1 .col-content .p4,
.card-m1 .col-content .p1 {
    font-size: 0.95rem;

    margin-bottom: 8px;
}




/* Section Padding and Typography */
.sec-content h2 {
    font-weight: 700;
    font-size: 2rem;
  
}

.sec-content {
    font-size: 0.95rem;
  
}

.sec-content img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Table Styling */
.sec-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #e3e3e3;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}

.sec-content thead {
    background-color: #f5f7fa;
}

.sec-content th,
.sec-content td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e6e6e6;
}

.sec-content th p,
.sec-content td p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
}

.sec-content th p b,
.sec-content td p b {
    font-weight: 600;
    color: #000;
}


.feature-m1 .col-sm-6 div.position-relative {
  background-color: #fff;
  padding: 20px 20px 20px 16px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-m1 .col-sm-6 div.position-relative:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


.list-check ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

.list-check li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 16px;
  color: #1cc48f; /* Or use your brand's green */
}


/*googel workspace*/

/*floating icon footer*/
.floating-icons {
  
  bottom: 100px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-icons .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-icons svg{
    color: #fff;
}


.floating-icons .icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.icon.bing {
  background-color: #0085FF;
}

.icon.phone {
  background-color: #1A73E8;
}

.icon.whatsapp {
  background-color: #25D366;
}

/*case study*/
.archive .case-item-wrap {
    background-image: linear-gradient(#75cb78, #c1edce 50%, #c0e32f);
    padding: 5px;
    position: relative;
    z-index: 1;
}
.archive .case-item {
    background-image: linear-gradient(#f1f1f1, #ffffff 48%, #f9f9f9);
}
.case-item {

    background-image: linear-gradient(#13171f, #0e121a 48%, #050912);
}
.case-item-wrap {

    background-image: linear-gradient(#2c3038, #1d2129 50%, #0c1118);
    padding: 5px;
    position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
    .case-image {
        position: relative;
        right: -40px;
        /* pushes image out of container */
    }
}

::selection {
    background-color: #00d1b2;
    /* or any bright contrast color */
    color: #ffffff;
    /* text color while selected */
}

::-moz-selection {
    background-color: #00d1b2;
    color: #ffffff;
}

/* Target the form wrapper or embed container */
.hs-form-embed,
#hubspot-form-wrapper {
  
    height: 500px;/* adjust as needed based on expected form height */
  transition: min-height 0.3s ease-in-out;
    overflow: hidden;
}
.hs-form-embed {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hs-form-embed.hs-form-loaded {
  opacity: 1;
}

.logo-image {
  width: 220px;
  height: auto;
}

/*ecommerce page*/
/* Equal height columns */
.ecom-full .row.align-items-stretch > div {
  display: flex;
    margin-bottom: 15px;
}

/* Card link wrapper */
.card-link-wrapper {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
    
}

/* Card base layout */
.ecom-full .card-wrapper {
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 100%;

  transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    
}

/* Hover effect on entire card */
.card-link-wrapper:hover .card-wrapper {
  background-color: #253c54;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
    
}

/* Change text color on hover */
.card-link-wrapper:hover h3,
.card-link-wrapper:hover p,
.card-link-wrapper:hover .read-more-link {
  color: #fff !important;
}

/* Image */
.ecom-full .card-wrapper .col-img img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #eee;
}

/* Content area */
.ecom-full .card-wrapper .col-content {
  flex-grow: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Title */
.ecom-full .card-wrapper h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1c1c1c;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

/* Paragraph */
.ecom-full .card-wrapper p {


  flex-grow: 1;
 
 
  transition: color 0.3s ease;
}

/* Read more link */
.ecom-full .card-wrapper .read-more-link {
  align-self: flex-start;
  color: #0066cc;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.ecom-full .card-wrapper .read-more-link i {
  transition: transform 0.3s ease;
}

.ecom-full .card-wrapper .read-more-link:hover i {
  transform: translateX(3px) translateY(-3px);
}

.card-link-wrapper:hover .read-more-link {
  color: #fff;
  text-decoration: underline;
}

/*custom list style*/
.custom-list ul {
  list-style: none;
  padding-left: 0;
}

.custom-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.custom-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: var(--cz-primary); /* Bootstrap green */
  border-radius: 50%;
}

/*youtubesection*/

.video-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 10px;
  transition: background 0.2s ease;
}


@media(max-width: 768px){
   .mt-top-amj{
    margin-top: -150px
} 
    .height150{
        height: 80px;
    }
}
@media(min-width: 768px){
   .mt-top-amj{
    margin-top: -250px
} 
    .height150{
        height: 180px;
    }
}

.video-item.active {
  background-color: #f0f2f5;
  border-left: 4px solid #007bff;
  transition: all 0.2s ease-in-out;
}
/* Maintain aspect ratio */
.aspect-ratio {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  width: 100%;
}

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

/* Sticky video on mobile */
@media (max-width: 767.98px) {
  .sticky-player-wrapper {
    position: sticky;
    top: 70px; /* adjust based on header height */
    z-index: 999;
    background: #000;
  }

  .sticky-player-inner {
    border-radius: 8px;
    overflow: hidden;
  }
}
.video-item {
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 8px;
  transition: background 0.3s;
}
.video-item:hover {
  background-color: #f8f9fa;
}
.video-item.active {
  background-color: #e9f5ff;
  border-left: 3px solid #0d6efd;
}
.video-item img {
  width: 120px;
  height: 67.5px; /* Maintain 16:9 ratio */
  object-fit: cover;
  border-radius: 6px;
}
.video-item h6 {
  margin-bottom: 0.25rem;
}
:root{
  --step-primary:#5b6cff;   /* hover color */
  --step-dot-bg:#f5f6fa;     /* default bg */
  --step-line:#e5e7eb;       /* connector */
}

/* Base (mobile): vertical list */
.steps{position:relative}
.steps .step{
  position:relative;
  display:flex; align-items:center; gap:14px;
}
.steps .step-circle{
  width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-weight:600; background:var(--step-dot-bg); color:#111;
  flex-shrink:0; transition:all .25s ease;
}
.steps .step:hover .step-circle{ background:var(--step-primary); color:#fff; }
.steps .step:not(:last-child)::after{
  content:""; position:absolute; left:20px; top:44px; bottom:-10px;
  width:2px; background:var(--step-line);
}
.steps p{ margin:0; }

/* Desktop (md+): horizontal timeline */
@media (min-width:768px){
  .steps{
    display:flex; justify-content:space-between; gap:24px;    flex-direction: row;
  }
  .steps .step{
    flex:0 0 220px;            /* fixed width per column */
    flex-direction:column;
    align-items:center; text-align:center;
    gap:12px; padding:0 12px;
  }
  /* horizontal connectors centered on circle */
  .steps .step:not(:last-child)::after{
    content:""; position:absolute; height:2px; background:var(--step-line);
    top:20px;                         /* center line on circle */
    left:calc(50% + 24px);            /* circle radius (20) + 4px spacing */
    width:calc(100% - 48px);          /* stretch to next step start */
    bottom:auto;
  }
  /* remove the vertical connector offsets set for mobile */
  .steps .step{ min-height:auto; }
}