/*
 Theme Name: Hello Elementor Child
 Theme URI: https://elementor.com/
 Description: Child theme for Hello Elementor
 Author: Riyadh Mobin
 Template: hello-elementor
 Version: 1.0.0
*/

/* Add your custom CSS below */

/*.title-highlighter {*/
/*    color: #F47B47 !important;*/
/*}*/
.page-header, .entry-title {
    display: none !important;
}

/* .elementor-nav-menu--dropdown {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
} */

.text-orange {
    color: #F97346 !important;
}

.btn-primary button, .btn-primary a {
    background: #F97346 !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    box-shadow: 0 10px 30px rgba(249, 115, 70, .3) !important;
    transition: background .25s ease, box-shadow
}


/* Card box widget css */
.card-box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: start;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.card-box .icon {
  width: 48px;
  height: 48px;
  /* margin: 0 auto 16px; */
  border-radius: 10px;
  background: #FFF3E9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF7A45;
}

.card-box h4 {
  font-weight: 600;
  margin-bottom: 8px;
}

.card-box p {
  font-size: 14px;
  color: #666;
}

.process-cards .smk-icon-box {
    flex-direction: column !important;
    box-shadow:
        inset 0 0 0 1px #F3F4F6,       /* Inside stroke */
        0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center !important;
}

/* Icon Box css */
.how-works-container .e-con-inner {
    display: flex !important;
    align-items: stretch !important;
    position: relative;
}

.smk-icon-box {
    display: flex;
    gap: 5px;    
    height: 100% !important;
    position: relative;
}

.smk-icon-box .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.smk-icon-box .icon .icon-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0F172A;
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    box-sizing: border-box;
    
    /* Inside stroke effect */
    border: 4px solid #F3F4F6;
    
    /* Drop shadows */
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 4px 8px rgba(0, 0, 0, 0.04);
}

.smk-icon-box .icon .icon-number:hover,
.smk-icon-box .icon .icon-number.active {
    background: #F25F3A;
    color: #FFFFFF;
    border: 4px solid #FFFFFF;
    
    /* Soft, wide-spread orange glow with very low opacity */
    box-shadow: 
        0 0 20px rgba(242, 95, 58, 0.3),      /* Inner glow */
        0 0 40px rgba(242, 95, 58, 0.2),      /* Middle spread */
        0 0 60px rgba(242, 95, 58, 0.15),     /* Outer glow */
        0 0 80px rgba(242, 95, 58, 0.1);      /* Far outer glow */
}

.how-works-v .smk-icon-box, .pricing-list-container .smk-icon-box {
    gap: 25px !important;
}

.how-works-v .smk-icon-box .icon {
    align-items: start !important;
}

.how-works-v .smk-icon-box .icon .icon-number {
    text-align: center !important;
}

.how-works-v .smk-icon-box .content .title, .supp-list-container .smk-icon-box .content .title {
    margin-block-start: 0 !important;
}

/* Container for positioning */
.how-works-container-v {
    position: relative;
}

/* Line connector - positioned on the icon wrapper */
.how-works-v .smk-icon-box .icon {
    position: relative;
}

.how-works-v .smk-icon-box .icon::after {
    content: '';
    position: absolute;
    top: 50%; /* Start from center of circle */
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: #E5E7EB; /* Gray line */
    transition: all 0.3s ease;
    z-index: 1;
    /* Extend down - adjust height based on spacing */
    height: 150px; /* Adjust this value to reach next circle + overlap */
}

/* Last item - shorter line that just extends slightly below */
.how-works-v:last-child .smk-icon-box .icon::after {
    height: 40px; /* Short line extending below last circle */
}

/* Circle styles */
.how-works-v .smk-icon-box .icon .icon-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0F172A;
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    box-sizing: border-box;
    z-index: 2;
    
    /* Inside stroke effect */
    border: 4px solid #F3F4F6;
    
    /* Drop shadows */
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 4px 8px rgba(0, 0, 0, 0.04);
}

/* Hover state for circle */
.how-works-v .smk-icon-box .icon .icon-number:hover,
.how-works-v .smk-icon-box .icon .icon-number.active {
    background: #F25F3A;
    color: #FFFFFF;
    border: 4px solid #FFFFFF;
    
    /* Soft, wide-spread orange glow */
    box-shadow: 
        0 0 20px rgba(242, 95, 58, 0.3),
        0 0 40px rgba(242, 95, 58, 0.2),
        0 0 60px rgba(242, 95, 58, 0.15),
        0 0 80px rgba(242, 95, 58, 0.1);
}


.supp-list-container .smk-icon-box {
    gap: 20px !important;
}

.supp-list-container .smk-icon-box .icon {
    height: fit-content !important;
}

/* Change line to orange GRADIENT on hover */
.how-works-v:hover .smk-icon-box .icon::after {
    background: linear-gradient(to bottom, #F25F3A 0%, #E5E7EB 100%);
}

.smk-icon-box .content h3.title {
    margin-block-end: .5rem !important;
}

/* Add connecting line between icon boxes */
.process-cards:not(:last-child) .smk-icon-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: calc(100% + 20px); /* Adjust this value based on your spacing */
  height: 4px;
  background-color: #cccccc; /* Grey color */
  transform: translateY(-50%);
  z-index: -1;
}

.elementor-element-4fc9207 {
    display: flex;
    gap: 40px; /* Adjust spacing between items */
    overflow: visible !important;
}

.agent-process-cards {
    position: relative !important;
    flex: 1 !important;
}

.agent-process-cards .smk-icon-box {
    text-align: center !important;
    align-items: center !important;
    box-shadow: none !important;
    position: relative !important;
    flex-direction: column !important;
}

.agent-process-cards .smk-icon-box .icon {
    width: fit-content !important;
    position: relative;
    margin: 0 auto; /* Center the icon */
}

.agent-process-cards .smk-icon-box .icon .icon-number {
    /* background: transparent !important; */
    border: 4px solid #F38A20;
    color: #F38A20 !important;
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Make parent container and cards relative */
.elementor-element-4fc9207 {
    position: relative;
}

.agent-process-cards {
    position: relative;
}

/* Line connecting circles - responsive to card center */
.agent-process-cards::after {
    content: '';
    position: absolute;
    top: 23%; /* Vertical center of 64px circle */
    left: calc(50% + 32px); /* Start from right edge of centered circle */
    width: calc(100% + 90px); /* Half card width + half gap (150px/2) */
    height: 4px;
    background-color: #cccccc;
    z-index: 1;
}

/* Hide line on last item */
.agent-process-cards:last-child::after {
    display: none;
}

.provider-container .smk-icon-box .icon {
    align-items: start !important;
}

.join-list .elementor-icon-box-wrapper {
    align-items: center !important;
}

.join-list .elementor-icon-box-icon {
    border-radius: 50px !important;
    padding: 15px !important;
    font-size: 18px !important;
}

.join-list .elementor-icon-box-icon svg {
    width: 18px !important;
    height: 18px !important;
}

.join-list-container .join-list:nth-of-type(3) .elementor-icon-box-icon {
    background: #DCFCE7 !important;
}

.join-list-container .join-list:nth-of-type(4) .elementor-icon-box-icon {
    background: #DCFCE7 !important;
}

.join-list-container .join-list:nth-of-type(5) .elementor-icon-box-icon {
    background: #F3E8FF !important;
}


@media (max-width: 767px) {
	.join-list-container .join-list .elementor-icon-box-icon {
		width: fit-content !important;
		align-self: center !important;
	}
	
	.process-cards .smk-icon-box::after {
		content: none !important;
	}
	
	.smk-icon-box .icon .icon-number {
		font-size: 1.8rem !important;
		width: 44px !important;
		height: 44px !important;
	}
	
	.how-works-container-v {
		height: auto !important;
	}
	
	.elementor-swiper-button-prev {
		left: 20px !important;
	}
	
	.elementor-swiper-button-next {
		right: 20px !important;
	}
	
	.card-box .icon {
		width: 34px !important;
		height: 34px !important;
	}
	
	.card-box h4 {
		font-size: 18px !important;
	}
	
	.card-box p {
		font-size: 12px !important;
	}
	
	.agent-process-cards .smk-icon-box {
		flex-direction: row !important;	
	}
	
	.agent-process-cards::after {  
  		top: 45% !important;
  		left: 8% !important;
  		height: calc(100% + 30px) !important;
  		width: 4px !important;
	}
	
	.elementor-2689 .elementor-element.elementor-element-c68c92e {
		padding-left: 5% !important;
		padding-right: 5% !important;
	}
	
	.elementor-2689 .elementor-element.elementor-element-03d7c0b .elementor-heading-title, .elementor-2689 .elementor-element.elementor-element-93096ec .elementor-heading-title, .elementor-2689 .elementor-element.elementor-element-20a3405 .elementor-heading-title {
		font-size: 24px !important;
	}
	
	.elementor-element .elementor-element-9973b31 {
		width: 100% !important;
	}
	
	.smk-filters-style-sidebar {
		max-width: 100% !important;
		padding: 0 !important;
	}
	
}


/* Alternative: If the boxes are in a row layout */
@media (min-width: 768px) {
  .process-cards:not(:last-child) .smk-icon-box::after {
    width: 100%; /* This will extend to the next box */
  }
}

.elementor-widget-smk_icon_box,
.elementor-widget-smk_icon_box .elementor-widget-container,
.smk-icon-box {
    width: 100% !important;
}



/* Glossy box back css */
.glossy-box {
    position: relative;
    overflow: hidden;
}

/* Top-right circle */
.glossy-box::before {
    content: "" !important;
    position: absolute !important;
    width: 300px !important;
    height: 300px !important;
    top: -100px !important;
    left: auto !important;
    right: -100px !important;
    background: radial-gradient(circle,
        #F9734630 0%,
        #F9734615 40%,
        rgba(255,255,255,0) 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

/* Bottom-left circle */
.glossy-box::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle,
        #F9734630 0%,
        #F9734615 40%,
        rgba(255,255,255,0) 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

.glossy-box-v {
    position: relative !important;
    overflow: hidden !important;
}

.glossy-box-v::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -100px;
    left: auto;
    right: -10px;
    background: radial-gradient(circle,
        #FFEDD5 0%,
        #FFEDD5 40%,
        rgba(255,255,255,0) 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

/* Make parent container relative for positioning */
.elementor-element-2246e1f {
    position: relative !important;
    min-height: 100% !important; /* Ensure parent has height */
}

/* Position the last container (hr + link) at the bottom */
.elementor-element-8d32202 {
    margin-top: auto !important; /* Push to bottom with flexbox */
}

/* Alternative: If the parent needs to fill available space */
.elementor-element-2246e1f {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
}

.elementor-element-8d32202 {
    margin-top: auto !important;
}

.elementor-element-8d32202 a {
    color: #F25F3A !important;
}