.elementor-1815 .elementor-element.elementor-element-25c0b0d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for shortcode, class: .elementor-element-9e14b7e *//* =========================
CTA BOX (باکس اصلی تماس)
========================= */
.cta-box {
background: rgba(255, 255, 255, .62);
backdrop-filter: blur(16px);
border: 1.5px solid rgba(250, 178, 7, .3);
border-radius: 24px;
padding: 50px 30px;
margin: 60px auto 30px;
text-align: center;
position: relative;
overflow: hidden;
width: 100%;
max-width: 900px;
box-sizing: border-box;
font-family: Tahoma, Arial, sans-serif;
}
.cta-box h3 {
color: #1a1a1a;
font-size: clamp(22px, 3.5vw, 30px);
margin: 0 0 15px;
font-weight: 900;
position: relative;
z-index: 2;
}
.cta-box p {
color: #555;
line-height: 2.2;
margin: auto;
position: relative;
z-index: 2;
font-size: 15.5px;
direction: rtl;
}
/* =========================
CONTACT BUTTONS & ANIMATION
========================= */
.contact-numbers-wrapper {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
margin-top: 30px;
position: relative;
z-index: 2;
}
/* ساختار دکمه با مرز پنهان برای اجرای انیمیشن */
.contact-number-card {
position: relative;
padding: 3px; /* ضخامت خط چرخان */
border-radius: 50px;
display: inline-flex;
text-decoration: none;
overflow: hidden;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
transition: transform 0.4s ease, box-shadow 0.4s ease;
background: #e8e8e8;
}
/* ایجاد گرادیان چرخان در پس‌زمینه دکمه */
.contact-number-card::before {
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: conic-gradient(from 0deg, transparent 0%, transparent 70%, #ff8f00 85%, #fab207 100%);
animation: spinBorder 3.5s linear infinite;
z-index: 1;
}
/* لایه رویی دکمه که محتوا را نمایش می‌دهد و پس‌زمینه سفید دارد */
.contact-content {
position: relative;
z-index: 2;
background: #fff;
border-radius: 47px;
padding: 12px 25px;
display: flex;
align-items: center;
gap: 10px;
color: #222;
font-weight: 900;
font-size: 18px;
width: 100%;
transition: background 0.3s ease;
}
/* تنظیمات آیکون‌ها */
.contact-content svg {
width: 20px;
height: 20px;
stroke: #ff8f00;
transition: transform 0.3s ease;
}
/* تنظیمات متن شماره */
.contact-content span {
direction: ltr;
display: inline-block;
font-family: Tahoma, sans-serif;
letter-spacing: 1px;
}
/* =========================
HOVER EFFECTS
========================= */
.contact-number-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 30px rgba(250, 178, 7, 0.25);
}
.contact-number-card:hover .contact-content {
background: #fffef9; /* تغییر جزئی رنگ پس‌زمینه دکمه در حالت هاور */
}
.contact-number-card:hover .contact-content svg {
transform: scale(1.15) rotate(-10deg); /* چرخش و بزرگ‌نمایی آیکون در حالت هاور */
}
/* =========================
KEYFRAMES (تعریف انیمیشن چرخش)
========================= */
@keyframes spinBorder {
100% {
transform: rotate(360deg);
}
}
/* =========================
MOBILE RESPONSIVENESS
========================= */
@media (max-width: 768px) {
.contact-numbers-wrapper {
flex-direction: column;
gap: 12px;
}
.contact-number-card {
width: 100%;
display: flex;
}
.contact-content {
justify-content: center;
font-size: 16px;
padding: 10px 15px;
}
}/* End custom CSS */