/* header Css*/
.has-submenu .dropdown-menu-sub {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.has-submenu.active .dropdown-menu-sub,
.has-submenu:hover .dropdown-menu-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.has-submenu.active .arrow-icon {
    transform: rotate(180deg);
}

.dropdown-menu-sub a {
    display: block;
    padding: 1rem 0;
    font-size: 18px;
    font-weight: 500;
    color: #1f2937;
    transition: color 0.3s ease;
}
.dropdown-menu-sub a:hover {
    color: #0840A3 !important;
}


.negative-margin-top {
    margin-bottom: -100px !important;
}
.hero-section {
  background-image: url('http://bluecore-solution.local/wp-content/uploads/2025/12/herosection-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: auto;

}


@media (max-width: 768px){
.hero-section {
  height:auto;
}
}

section {
    padding-left: 10px;     /* px-6 */
    padding-right: 10px;    /* px-6 */
}

@media (min-width: 1024px) {
    section {
        padding-left: 20px;   /* lg:px-8 */
        padding-right: 20px;  /* lg:px-8 */
    }
}
.top-section {
  background-image: url('http://jbm.local/wp-content/uploads/2025/11/dentist-s-office-interior-with-modern-chair-special-dentisd-equipment-interior-stomatology-clinic-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: auto;
  margin-top: -100px;
}


.bg-light-blue {
  background-color: #E7EBF6;
}



.choose-us-card {
  background-image: url('http://jbm.local/wp-content/uploads/2025/11/Frame-1000001769.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.color-primary{
    color: #2B4CA1;
}



/* Socail media and marketing- hero section*/
.hero-img-social-and-marketing{
    display:block;
    margin:0 auto;
    width:100%;
    height:750px !important;
    max-height:90vh;
    object-fit:cover;
    object-position:bottom;
}

@media (max-width:768px){
    .hero-img-social-and-marketing{
        height:300px !important;
        object-fit:contain;
    }
}

@media (min-width:1024px){
    .hero-img-social-and-marketing{
        max-height:68vh;
    }
}

@media (min-width:1280px){
    .hero-img-social-and-marketing{
        max-height:72vh;
    }
}


.wpcf7-form label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 1.25rem 1.5rem; 
  font-size: 1rem;
  color: #4b5563;
  background-color: #f9fafb; 
  border: 1px solid #e5e7eb; 
  border-radius: 1rem; 
  transition: all 0.3s ease;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #fb923c; 
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.15);
}

.wpcf7-form textarea {
  min-height: 220px; 
  resize: none;
}

.wpcf7-form .wpcf7-submit {
  display: inline-block;
  padding: 0.875rem 3rem;
  background-color: #FF6B11; 
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  border-radius: 9999px; 
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpcf7-form .wpcf7-submit:hover {
  background-color: #0840A3; 
  transform: translateY(-2px);

}

.wpcf7-form .wpcf7-submit:focus {
  outline: none;
    background-color: #FF6B11; 
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.3);
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output:empty {
  display: none !important;
}

.wpcf7 form .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  font-weight: 500;
  border: none !important; 
}
.wpcf7 form.sent .wpcf7-response-output {
  display: block !important;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  display: block !important;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}
.wpcf7 form.spam .wpcf7-response-output {
  display: block !important;
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
}

.wpcf7-form select.wpcf7-select {
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  color: #4b5563;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  appearance: none; /* Removes default arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 1.5rem center;
  background-repeat: no-repeat;
  background-size: 12px;
  transition: all 0.3s ease;
}

.wpcf7-form select.wpcf7-select:focus {
  outline: none;
  border-color: #fb923c;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.15);
}

.wpcf7-form select.wpcf7-select option:first-child {
  color: #9ca3af;
}

/* Add to your style.css or Additional CSS */
.marquee {
  --gap: 1rem; /* Adjust spacing between logos */
  display: flex;
  gap: 20px;
  user-select: none;
}

.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  gap: 0px;
  animation: scroll 30s linear infinite; /* Adjust duration for speed */
}

.marquee:hover .marquee-group {
  animation-play-state: paused; /* Optional: pause on hover */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

.marquee img:hover {
  filter: grayscale(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .marquee-group img {
    height: 48px !important;
  }
  .marquee {
    --gap: 1rem;
  }
  .marquee-group {
    animation-duration: 20s; /* Faster on mobile */
  }
}


/* Testinomials Css */
.testimonials-swiper,
.testimonials-swiper .swiper-wrapper,
.testimonials-swiper .swiper-slide {
  overflow: visible !important;
}

.testimonial-card {
  overflow: visible;
}
.testimonials-swiper {
  padding-top: 3rem;
}

.testimonials-swiper .swiper-slide {
  opacity: 0.7;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.testimonials-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.05);
  z-index: 10;
}

.testimonials-swiper .swiper-pagination,
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  display: none !important;
}
.testimonials-swiper .swiper-slide {
  height: auto;
  opacity: 0.7;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.testimonials-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.05);
  z-index: 10;
}
.testimonial-card {
  padding-top: 2.5rem;
  min-height: 350px;
}
.avatar-wrapper {
  z-index: 20;
}
.testimonials-swiper {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

@media (min-width: 1024px) {
  .testimonials-swiper {
    padding-left: 4rem;
    padding-right: 4rem;
    margin-left: -4rem;
    margin-right: -4rem;
  }
}


 .mobile-hover:hover{
  border-bottom:2px solid#2B4CA1 !important ;
 }



 
/* Scroll Animation Keyframes */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply to elements in view */
.animate-on-scroll {
    view-timeline-name: --element;
    view-timeline-axis: block;
    animation-timeline: view();
    animation-name: fade-up;
    animation-range: entry 20% cover 40%;
    animation-fill-mode: both;
}

.animate-scale {
    view-timeline-name: --element;
    view-timeline-axis: block;
    animation-timeline: view();
    animation-name: scale-in;
    animation-range: entry 20% cover 50%;
    animation-fill-mode: both;
}

/* Stagger children automatically (magic!) */
.animate-group > * {
    animation-delay: calc(var(--index) * 150ms);
}


/* FAQ Accordion Styles */
  .faq-item {
    background: transparent;
  }

  /* Hover only on desktop (no mobile flicker) */
/* Hover only for desktop visual effect */
@media (hover: hover) and (pointer: fine) {
  .faq-item:hover {
    background: #ffffff;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  }
}

/* Active (open) state — always stronger than hover */
.faq-item.active {
  background: #ffffff;
  box-shadow: 0 25px 30px -10px rgb(0 0 0 / 0.15);
}


  .faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1.25rem;
    transition: max-height 0.45s ease, opacity 0.35s ease, padding 0.35s ease;
  }

  .faq-item.active .faq-answer {
    max-height: 400px;
    opacity: 1;
    padding: 0 1.25rem 1.5rem;
  }

  @media (min-width: 640px) {
    .faq-answer {
      padding-left: 2rem;
      padding-right: 2rem;
    }
    .faq-item.active .faq-answer {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }

  .faq-trigger h3 {
    min-width: 0;
  }

.service-card {
  position: relative;        
  z-index: 0;               
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* ------------------------- */
/* BACKGROUND PSEUDO ELEMENT */
/* ------------------------- */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;                   
  border-radius: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;                
}

.service-card > * {
  position: relative;
  z-index: 1;
}

/* ------------------------- */
/* COLORS FOR EACH CARD       */
/* ------------------------- */
.orange-card::before { background-color: #FF6B11; }
.purple-card::before { background-color: #B700FF; }
.blue-card::before   { background-color: #0840A3; }
.green-card::before  { background-color: #00C853; }

/* ------------------------- */
/* DESKTOP HOVER             */
/* ------------------------- */
@media (hover: hover) {
  .service-card:hover::before {
    opacity: 1;
  }

  .service-card:hover h3 {
    color: white;
  }

  .service-card:hover .icon-border {
    border: 2px solid white;
  }

  .service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
  }
}

/* ------------------------- */
/* MOBILE TAP / FOCUS         */
/* ------------------------- */
@media (hover: none) {
  /* Make tap/focus visible */
  .service-card:focus-visible::before {
    opacity: 1;
  }
  .service-card:focus-visible h3 {
    color: white;
  }

  .service-card:focus-visible .icon-border {
    border: 2px solid white;
  }

  .service-card:focus-visible p {
    color: rgba(255, 255, 255, 0.9);
  }
  .service-card {
    transform: none !important;
  }
}

.service-card.is-active::before {
  opacity: 1;
}
.service-card.is-active h3 {
  color: white;
}
.service-card.is-active .icon-border {
  border: 2px solid white;
}

.service-card.is-active p {
  color: rgba(255, 255, 255, 0.9);
}

  @keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  .animate-spin-slow {
    animation: spin-slow 35s linear infinite;
    transform-origin: center;
  }

.hover-btn {
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .hover-btn:hover {
    background-color: #0840A3;
    color: white;
    transform: translateY(-2px);
  }
}
@media (hover: none) {
  .hover-btn:active {
    background-color: #0840A3;
    color: white;
  }
}
.hover-get-started {
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .hover-get-started:hover {
    background-color: white;
     color:#1f2937;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(18, 119, 212, 0.3);
  }
}
@media (hover: none) {
  .hover-get-started:active {
    background-color: white;
    color:#1f2937;
    box-shadow: 0 4px 12px rgba(18, 119, 212, 0.3);
  }
}



/* ─────────────────────────────────────────────────────────────
   1. General Swiper fixes – apply to ALL swipers on the page
   ───────────────────────────────────────────────────────────── */
.swiper-slide {
    height: auto !important;
}

.swiper-slide > * {                 
    display: flex;
    flex-direction: column;
}

/* ─────────────────────────────────────────────────────────────
   2. Arrow positioning – below card, centered
   ───────────────────────────────────────────────────────────── */
.swiper-button-prev,
.swiper-button-next {
    position: static !important;        /* removes default absolute positioning */
    margin: 0 !important;
    transform: none !important;
    width: 3rem;                        /* 48px – feels natural */
    height: 3rem;
    background: white;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #0840A3;
    transition: all 0.2s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.5rem !important;  
    color: #0840A3 !important; 
    font-weight:800; 
}
/* ─────────────────────────────────────────────────────────────
   3. Pagination – below arrows
   ───────────────────────────────────────────────────────────── */
.swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 1.5rem;
}

.swiper-pagination-bullet {
    background: #cbd5e1;
    opacity: 0.7;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #FF6B11;
    opacity: 1;
    width: 24px;                    
}

.swiper-pagination.swiper-pagination-hidden {
    display: none;
}
.hidden-more {
    display: none !important;
}
@media (max-width: 1023px) {
    .projects-swiper-mobile .swiper-wrapper {
        padding-right: 0 !important;
    }
    
    .swiper-slide {
        width: 100% !important;  
    }
}