

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap');

*:not([class^="ti-"], [class*=" ti-"], .fas, .fab, .fa) {
  font-family: 'Rubik' !important;
}

@media (max-width: 768px) {
  .footer-section h4 {
    margin-top: 30px;
    margin-bottom: 12px;
  }

  .btn.primary-solid-btn.animated-btn {
    margin-top: 12px;
  }

  .single-pricing-pack,
  .single-service-plane {
    margin-bottom: 15px !important;
  }

  .contact-us-promo .card {
    margin-bottom: 15px !important;
  }

  .single-promo-2.card {
    margin-bottom: 15px !important;
  }
}

.hero-equal-height.gradient-overlay:before {
  background-image: -webkit-gradient(linear, left top, right top, from(#8cd5ee), to(#367dd1));
  background-image: linear-gradient(90deg, #8cd5ee, #367dd1);
}

.green-overlay.gradient-overlay:before {
  background: #119084;
}

.light-blue-overlay.gradient-overlay:before {
  background-image: -webkit-gradient(linear, left top, right top, from(#8cd5ee), to(#367dd1));
  background-image: linear-gradient(90deg, #8cd5ee, #367dd1);
}

#pagesSubMenu {
  height: auto;
}

.outline-btn,
.secondary-solid-btn,
.primary-solid-btn,
.solid-white-btn,
.outline-white-btn,
.secondary-outline-btn {
  -webkit-transition: none;
  transition: none;
}

.menu-item-icon i {
  color: #2862b7;
}

.login-signup-form .form-group .input-group.input-group-merge>.form-control {
  text-indent: 0;
}

.speaker-inner-border{
  background: linear-gradient(180deg, #54bced,  #052da0);
  padding: 7px;
  border: 5px solid white;

}
.speaker-outer-border{
  background: linear-gradient(180deg, #052da0, #54bced);
  padding: 7px;
}

.banner-h1{
  font-size: 60px;
}

.webinar-speaker{ 
  width: 50%;
}

.gap-between-speakers{
  gap: 3rem;
}

.list-item-webinar{
  font-size: 1.4rem;
}
 
  
.missing-field-input  {
  border-color : #f80630;
}


@media (min-width: 768px) and (max-width: 992px) {
  .container {
    max-width: 95%;
  }

  .navbar-expand-md .main-navbar-nav .custom-nav-link {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    padding-right: 0.400rem;
    padding-left: 0.400rem;
  }
  .speaker-name{
    font-size: 20px;
    }
}

.pricing-feature-list li {
  display: block;
  width: 100%;
}

@media  (max-width: 768px) {
  .banner-h1{
    font-size: 2.5rem;
  }
  .webinar-speaker{ 
    width: 50%;
  }
  .gap-between-speakers{
    gap: 10px;
  }
  .speaker-name{
  font-size: 20px;
  }
  .list-item-webinar{
    font-size: 1.2em;
  }
}


/* radios + panes: keep yours unchanged */
input[name="vtab"] { display: none; } 

.pane { display: none; }
.container:has(#t1:checked) .panes #p1 { display: block; }
.container:has(#t2:checked) .panes #p2 { display: block; }
.container:has(#t3:checked) .panes #p3 { display: block; }
.container:has(#t4:checked) .panes #p4 { display: block; }

.tabs{
  display:flex;
  justify-content:center;   
  width: 100%;
  align-items:center;
  gap:clamp(12px, 3.5vw, 64px);                  /* slightly tighter responsive spacing */
  background:transparent;                        /* no pill */
  padding:0 40px;
  border-radius:0;
  white-space:nowrap;
  max-width:100%;
  overflow-x:auto;                               /* mobile: swipe if needed */
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;

}
.tabs::-webkit-scrollbar{ display:none; }


.tabs > * {
  flex: 1 1 auto;
  text-align: center;
  max-width: 180px;  /* prevents super-wide stretching */
  padding: 0 12px;
}

/* labels = plain text */
.tabs label{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 4px;                               /* tight around text */
  height:auto;                                   /* remove fixed 44px */
  border:0;                                      /* no borders */
  border-radius:0;
  background:transparent;
  color:#2b2b2b;
  font-weight:400;
  font-size:clamp(16px, 2vw, 22px);
  cursor:pointer;
  transition:color .15s ease;
}

/* the underline (hidden by default) */
.tabs label::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:-4px;                                   /* space under text */
  width:10%;
  height:2px;
  background:currentColor;
  opacity:0;
  border-radius:1px;
  transition:opacity .3s ease, width .3s ease;
}

/* active state: just color + show underline */
#t1:checked ~ .tabs label[for="t1"],
#t2:checked ~ .tabs label[for="t2"],
#t3:checked ~ .tabs label[for="t3"],
#t4:checked ~ .tabs label[for="t4"]{
  color:#111;    
}
#t1:checked ~ .tabs label[for="t1"]::after,
#t2:checked ~ .tabs label[for="t2"]::after,
#t3:checked ~ .tabs label[for="t3"]::after,
#t4:checked ~ .tabs label[for="t4"]::after,
#c1:checked ~ .tabs label[for="c1"]::after,
#c2:checked ~ .tabs label[for="c2"]::after,
#c3:checked ~ .tabs label[for="c3"]::after,
#c4:checked ~ .tabs label[for="c4"]::after,
#c5:checked ~ .tabs label[for="c5"]::after,
#c6:checked ~ .tabs label[for="c6"]::after,
#c7:checked ~ .tabs label[for="c7"]::after{
  opacity:1;
  width:100%;
}

/* keyboard focus */
.tabs label:focus-visible{
  outline:2px solid #93c5fd;
  outline-offset:2px;
}

/* optional: larger tap targets on very small screens */
@media (max-width:520px){
  .tabs label{ 
    font-size: 15px; 
    padding: 12px 6px; /* Increased for easier tapping */
  }
}

/* base underline (hidden) */
.tabs label::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 0;                  /* hidden by default */
  height: 1px;               /* delicate line */
  opacity: 0;
  border-radius: 1px;
  transition: width .6s ease, opacity .3s ease;
}

/* hover: small, subtle underline */
.tabs label:hover::after{
  width: 60%;                /* shorter than active */
  opacity: .6;
}

/* active: full, bolder underline */
#t1:checked ~ .tabs label[for="t1"]::after,
#t2:checked ~ .tabs label[for="t2"]::after,
#t3:checked ~ .tabs label[for="t3"]::after,
#t4:checked ~ .tabs label[for="t4"]::after{
  width: 100%;
  height: 2px;               /* a touch thicker */
  opacity: 1;
  background: currentColor;  /* solid for active */
}

/* --- Review Marquee Overhaul (Stable Dual-Row) --- */
.review-marquee-section {
    background-color: #fff;
    padding: 80px 0;
    overflow: hidden;
    direction: ltr;
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Reduced from 30px */
}

.marquee-row {
    display: flex;
    gap: 30px;
    width: max-content;
}

/* Animations */
@keyframes marquee-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-ltr {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-rtl {
    animation: marquee-rtl 120s linear infinite;
}

.marquee-ltr {
    animation: marquee-rtl 140s linear infinite; /* Slightly slower for parallax depth */
}

.marquee-row:hover {
    animation-play-state: paused;
}

/* Review Card Styling */
.single-testimonial.marquee-card {
    background-color: #f8f9fa !important;
    border-radius: 12px !important;
    padding: 24px 30px !important;
    width: 380px;
    min-width: 380px;
    min-height: 250px;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.marquee-card .testimonial-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 8px;
}

.marquee-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.marquee-card small {
    color: #367dd1;
    font-weight: 500;
}

.marquee-card .ratting-list {
    margin-bottom: 15px;
    color: #ffb119;
}

.marquee-card .testimonial-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-top: 0;
    margin-bottom: 15px;
}

.marquee-card .read-more-btn {
    background: transparent;
    border: none;
    color: #367dd1;
    font-weight: 600; /* Back to bold */
    padding: 0;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.marquee-card .read-more-btn:hover {
    color: #2b61a3;
    text-decoration: none; /* No underscore */
}

@media (max-width: 768px) {
    .review-marquee-section {
        padding: 40px 0;
    }
    
    .single-testimonial.marquee-card {
        width: 320px;
        min-width: 320px;
    }
}

/* --- Per-Row Navigation Overlays (Static Fix) --- */
.marquee-row-outer {
    position: relative;
    width: 100%;
}

.review-marquee-section .section-heading {
    direction: rtl !important;
    text-align: center;
}

.marquee-row-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.marquee-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; /* Increased size for easier clicking */
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    z-index: 100;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
    color: #333;
}

.marquee-row-outer:hover .marquee-nav-btn {
    opacity: 1;
}

.marquee-nav-btn:hover {
    background: #367dd1 !important;
    transform: translateY(-50%) scale(1.15);
    color: #fff;
    border-color: #367dd1 !important;
}

/* RTL Buttons Positioning - Static to the outer container */
.marquee-nav-btn.next { left: 30px; } /* Forward = Left in RTL */
.marquee-nav-btn.prev { right: 30px; } /* Backward = Right in RTL */

@media (max-width: 768px) {
    .marquee-nav-btn {
        display: none !important; /* Perfect for mobile - swiping is king */
    }
    
    .marquee-row-viewport {
        -webkit-overflow-scrolling: touch; /* Momentum scroll for iOS */
        padding-bottom: 10px;
        overscroll-behavior-x: contain; /* Prevent browser back/forward on swipe */
    }
    
    .marquee-card {
        width: 85vw !important; /* Show a hint of the next card */
        flex-shrink: 0;
        margin-left: 15px !important;
    }
    
    .marquee-row {
        gap: 15px !important;
        padding: 0 15px !important;
    }
}

/* Interactive Capabilities Custom Tabs */
.tabs.cap-tabs {
  gap: clamp(4px, 1vw, 16px);
  padding: 0;
  width: 100%;
}
.tabs.cap-tabs label {
  color: #6c757d;
  font-weight: 500;
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  padding: 8px 10px;
  max-width: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
.tabs.cap-tabs label:hover {
  color: #1a1a2e;
}
#c1:checked ~ .tabs.cap-tabs label[for="c1"],
#c2:checked ~ .tabs.cap-tabs label[for="c2"],
#c3:checked ~ .tabs.cap-tabs label[for="c3"],
#c4:checked ~ .tabs.cap-tabs label[for="c4"],
#c5:checked ~ .tabs.cap-tabs label[for="c5"],
#c6:checked ~ .tabs.cap-tabs label[for="c6"],
#c7:checked ~ .tabs.cap-tabs label[for="c7"],
#t1:checked ~ .tabs.cap-tabs label[for="t1"],
#t2:checked ~ .tabs.cap-tabs label[for="t2"],
#t3:checked ~ .tabs.cap-tabs label[for="t3"],
#t4:checked ~ .tabs.cap-tabs label[for="t4"] {
  color: #1a1a2e;
  font-weight: 700;
}
.custom-tabs {
  margin-bottom: 40px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  direction: rtl;
}
/* Hide scrollbar for tabs on mobile */
.custom-tabs::-webkit-scrollbar {
  display: none;
}
.custom-tabs .nav-item {
  margin-bottom: -2px;
  white-space: nowrap;
}
.custom-tabs .nav-link {
  color: #6c757d;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 10px 24px;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.custom-tabs .nav-link:hover {
  color: #1a1a2e;
}
.custom-tabs .nav-link.active {
  color: #1a1a2e;
  font-weight: 700;
  border-bottom: 2px solid #1a1a2e;
  background: transparent;
}

#capability-text-area {
  transition: opacity 0.3s ease;
}
#cap-iframe {
  transition: opacity 0.3s ease;
}
.capability-iframe-wrapper {
  background: #f8f9fa;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .capability-iframe-wrapper iframe {
    height: 400px !important;
  }
}
@media (max-width: 500px) {
  .custom-tabs {
    justify-content: flex-start !important;
  }
  .custom-tabs .nav-link {
    font-size: 0.95rem;
    padding: 10px 15px;
  }
  .capability-iframe-wrapper iframe {
    height: 350px !important;
  }
}

/* --- Cap Tabs Responsive Optimizations (Desktop/Tablet) --- */
.cap-tabs-responsive {
  justify-content: safe center; /* prevents clipping when tabs overflow */
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 12px !important;
  margin: 0;
}
.cap-text-responsive {
  padding-left: 4rem;
}
.cap-title-responsive {
  font-weight: 700;
  color: #1a1a2e;
  font-size: 2.2rem;
}

@media (max-width: 991px) {
  .cap-text-responsive {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ===== Mobile Capabilities: Meta-Style Card Carousel ===== */
@media (max-width: 991px) {
  .mobile-cap-carousel-wrapper {
    margin-right: -15px; /* Offset container padding to allow cards to reach edge */
    margin-left: -15px;
    padding: 10px 0 40px;
    overflow: hidden;
  }

  .mobile-cap-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px; /* Side padding so cards don't stick to edge */
    gap: 16px;
  }

  /* Hide scrollbar */
  .mobile-cap-carousel::-webkit-scrollbar {
    display: none;
  }
  .mobile-cap-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .cap-card {
    flex: 0 0 82%; /* Peeking: shows 82% of current, part of next */
    scroll-snap-align: center;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    box-shadow: 0 8px 24px rgba(149, 157, 165, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
  }

  .cap-card-demo {
    position: relative;
    width: 100%;
    height: 240px;
    background: #f8f9fa;
    border-bottom: 1px solid #f1f3f5;
  }

  .cap-card-demo iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
  }

  /* Overlay to prevent iframe from hijacking scroll/swipes */
  .iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: transparent;
  }

  .cap-card-content {
    padding: 20px 16px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
  }

  .cap-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
  }

  .cap-card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5f6c80;
    margin: 0;
  }
}
/* Performance Optimizations */
.marquee-row {
  will-change: transform; /* Hint to GPU for smoother animation */
}

.footer-section, 
.cta-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px; /* Placeholder size for better scrollbar behavior */
}
