/* JC Relationship & Marriage landing (ID 470) – small enhancements only.
   Layout, content, colours, typography and links are native Elementor settings and stay editable in the editor.
   This file only adds: card hover motion, the timeline connector line, and FAQ accordion polish. */

/* ---------- service cards ---------- */
.jc-service-card{text-decoration:none;color:inherit;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;will-change:transform}
.jc-service-card:hover,.jc-service-card:focus-visible{transform:translateY(-6px);border-color:#E63C9C!important;box-shadow:0 24px 48px -16px rgba(139,63,191,.34)!important}
.jc-service-card:focus-visible{outline:3px solid rgba(192,38,145,.35);outline-offset:3px}
.jc-card-img{overflow:hidden;width:100%}
.jc-card-img img{transition:transform .6s ease}
.jc-service-card:hover .jc-card-img img{transform:scale(1.05)}
.jc-card-link .elementor-heading-title{display:inline-block;transition:transform .25s ease,letter-spacing .25s}
.jc-service-card:hover .jc-card-link .elementor-heading-title{transform:translateX(5px)}
@media (min-width:1025px){.jc-card-title .elementor-heading-title{min-height:2.5em}}
.jc-card-num .elementor-heading-title{line-height:1;letter-spacing:.5px}

/* ---------- why-choose cards ---------- */
.jc-why-card{transition:transform .3s ease,box-shadow .3s ease}
.jc-why-card:hover{transform:translateY(-4px)}

/* ---------- approach timeline ---------- */
.jc-step-dot{flex:none}
.jc-step-dot .elementor-heading-title{line-height:1}
@media (min-width:1025px){
	.jc-step{position:relative}
	.jc-step:not(:last-child)::after{content:"";position:absolute;top:27px;left:calc(50% + 34px);width:calc(100% - 68px + 12px);height:2px;background:repeating-linear-gradient(90deg,#E63C9C 0 6px,transparent 6px 12px);opacity:.55}
	.jc-step-dot{position:relative;z-index:1}
}
@media (max-width:1024px){
	.jc-step{display:grid!important;grid-template-columns:56px 1fr;column-gap:20px;row-gap:4px;align-items:start;position:relative;text-align:left;padding:0 0 4px!important}
	.jc-step>.jc-step-dot{grid-row:1 / span 2;grid-column:1}
	.jc-step>.elementor-widget-heading{grid-column:2;grid-row:1;align-self:end}
	.jc-step>.elementor-widget-text-editor{grid-column:2;grid-row:2}
	.jc-step:not(:last-child)::after{content:"";position:absolute;left:27px;top:60px;bottom:-24px;width:2px;background:repeating-linear-gradient(180deg,#E63C9C 0 6px,transparent 6px 12px);opacity:.55}
}

/* ---------- FAQ accordion ---------- */
.jc-rel-faq .e-n-accordion{display:flex;flex-direction:column;gap:14px}
.jc-rel-faq .e-n-accordion-item{background:#fff;border:1px solid #F4C7E1;border-radius:16px;overflow:hidden;box-shadow:0 10px 24px -16px rgba(139,63,191,.3);transition:border-color .25s,box-shadow .25s,background .25s}
.jc-rel-faq .e-n-accordion-item[open]{border-color:#E63C9C;background:#FFF5FA;box-shadow:0 14px 30px -16px rgba(192,38,145,.35)}
.jc-rel-faq .e-n-accordion-item-title{padding:20px 24px;gap:16px;align-items:center;cursor:pointer}
.jc-rel-faq .e-n-accordion-item-title-text{margin:0;font-family:"El Messiri",sans-serif;font-size:20px;font-weight:700;line-height:1.35;color:#292333}
.jc-rel-faq .e-n-accordion-item[open] .e-n-accordion-item-title-text{color:#C02691}
.jc-rel-faq .e-n-accordion-item-title-icon{color:#C02691;flex:none}
.jc-rel-faq .e-n-accordion-item-title-icon svg{width:16px;height:16px;fill:currentColor}
@media (max-width:767px){.jc-rel-faq .e-n-accordion-item-title{padding:16px 18px}.jc-rel-faq .e-n-accordion-item-title-text{font-size:17px}}

/* ---------- hero / CTA small touches ---------- */
.jc-rel-hero .elementor-button,.jc-rel-cta .elementor-button{transition:transform .25s ease,box-shadow .25s ease,background-color .25s}
.jc-rel-hero .elementor-button:hover,.jc-rel-cta .elementor-button:hover{transform:translateY(-2px)}
.jc-rel-cta .elementor-icon-list-item a{transition:opacity .2s}
.jc-rel-cta .elementor-icon-list-item a:hover{opacity:.8}
@media (max-width:767px){.jc-rel-hero .elementor-button,.jc-rel-cta .elementor-button{width:100%;justify-content:center}}
html{scroll-behavior:smooth}
#jc-services,#jc-consult{scroll-margin-top:90px}
@media (prefers-reduced-motion:reduce){.jc-service-card,.jc-card-img img,.jc-why-card{transition:none}.jc-service-card:hover{transform:none}html{scroll-behavior:auto}}
.jc-rel-faq .e-n-accordion-item-title{justify-content:space-between}
.jc-rel-faq .e-n-accordion-item-title-icon{order:2}
.jc-rel-faq .e-n-accordion-item>.e-con{border-top:0}
