/* =====================================================
   CTA CONTACT SECTION - IMPROVED
   File : assets/css/cta-contact.css
===================================================== */

/*=====================================================
  SECTION BASE
===================================================== */

.CTA-Contact {
    position: relative;
    padding: 80px 0 90px;
    overflow: hidden;
}

.CTA-Contact .Container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.CTA-Contact-Wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 20px 0;
}

/*=====================================================
  LEFT CONTENT
===================================================== */

.CTA-Contact-Content {
    flex: 1;
    max-width: 700px;
    padding: 10px 0;
}

.CTA-Contact-SubTitle {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.CTA-Contact-Title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #ffffff;
}

.CTA-Contact-Description {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.92;
    max-width: 600px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.92);
}

/*=====================================================
  CONTACT INFO - GRID WITH PROPER SPACING
===================================================== */

.CTA-Contact-Info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 30px;
    margin-bottom: 32px;
    padding: 0;
}

.CTA-Contact-Info-Item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
}

.CTA-Contact-Info-Icon {
    font-size: 18px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.9;
    color: #ffffff;
}

.CTA-Contact-Info-Text {
    font-size: 14px;
    opacity: 0.92;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    word-break: break-word;
}

/*=====================================================
  BUTTONS - PROPER SPACING
===================================================== */

.CTA-Contact-Buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding: 5px 0;
}

.CTA-Contact-Buttons .Btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 190px;
    height: 56px;
    padding: 0 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.CTA-Contact-Btn-Primary {
    background: #ffffff;
    color: #54B448;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.CTA-Contact-Btn-Primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.25);
    background: #f8f8f8;
}

.CTA-Contact-Btn-Primary i {
    transition: transform 0.3s ease;
}

.CTA-Contact-Btn-Primary:hover i {
    transform: translateX(5px);
}

.CTA-Contact-Btn-Secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.30);
}

.CTA-Contact-Btn-Secondary:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: #ffffff;
    transform: translateY(-3px);
}

/*=====================================================
  RIGHT VISUAL - IMPROVED
===================================================== */

.CTA-Contact-Visual {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.CTA-Contact-Circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: pulseCircle 3s ease-in-out infinite;
    padding: 25px;
}

.CTA-Contact-Circle-Inner {
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.5;
    padding: 10px;
}

.CTA-Contact-Circle-Inner span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 5px;
}

@keyframes pulseCircle {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 50px rgba(255, 255, 255, 0.10);
    }
}

/*=====================================================
  RESPONSIVE
===================================================== */

/* Large Tablets */
@media (max-width: 1024px) {
    .CTA-Contact-Wrapper {
        gap: 40px;
    }
    
    .CTA-Contact-Title {
        font-size: 32px;
    }
    
    .CTA-Contact-Visual {
        width: 170px;
        height: 170px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .CTA-Contact {
        padding: 55px 0 60px;
    }
    
    .CTA-Contact .Container {
        width: 92%;
        padding: 0 10px;
    }
    
    .CTA-Contact-Wrapper {
        flex-direction: column;
        text-align: center;
        gap: 35px;
        padding: 10px 0;
    }
    
    .CTA-Contact-Content {
        max-width: 100%;
        padding: 5px 0;
    }
    
    .CTA-Contact-SubTitle {
        font-size: 12px;
        padding: 6px 18px;
        margin-bottom: 14px;
    }
    
    .CTA-Contact-Title {
        font-size: 28px;
        margin-bottom: 14px;
    }
    
    .CTA-Contact-Description {
        font-size: 16px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 22px;
        padding: 0 5px;
    }
    
    .CTA-Contact-Info {
        grid-template-columns: 1fr 1fr;
        gap: 10px 20px;
        justify-items: center;
        margin-bottom: 25px;
        padding: 0 5px;
    }
    
    .CTA-Contact-Info-Item {
        justify-content: center;
        padding: 5px 0;
        width: 100%;
    }
    
    .CTA-Contact-Info-Text {
        font-size: 13px;
        text-align: left;
    }
    
    .CTA-Contact-Buttons {
        justify-content: center;
        gap: 14px;
        padding: 0;
    }
    
    .CTA-Contact-Buttons .Btn {
        min-width: 170px;
        height: 50px;
        font-size: 15px;
        padding: 0 30px;
    }
    
    .CTA-Contact-Visual {
        width: 150px;
        height: 150px;
    }
    
    .CTA-Contact-Circle-Inner {
        font-size: 15px;
        padding: 15px;
    }
    
    .CTA-Contact-Circle-Inner span {
        font-size: 12px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .CTA-Contact {
        padding: 40px 0 45px;
    }
    
    .CTA-Contact .Container {
        width: 95%;
        padding: 0 8px;
    }
    
    .CTA-Contact-Wrapper {
        gap: 28px;
        padding: 5px 0;
    }
    
    .CTA-Contact-SubTitle {
        font-size: 11px;
        padding: 5px 14px;
        margin-bottom: 12px;
    }
    
    .CTA-Contact-Title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .CTA-Contact-Description {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 18px;
        padding: 0;
    }
    
    .CTA-Contact-Info {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 20px;
        padding: 0;
    }
    
    .CTA-Contact-Info-Item {
        justify-content: center;
        padding: 4px 0;
        gap: 12px;
    }
    
    .CTA-Contact-Info-Icon {
        font-size: 16px;
        width: 20px;
        height: 20px;
    }
    
    .CTA-Contact-Info-Text {
        font-size: 13px;
        text-align: center;
    }
    
    .CTA-Contact-Buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 0;
    }
    
    .CTA-Contact-Buttons .Btn {
        width: 100%;
        max-width: 300px;
        min-width: unset;
        height: 48px;
        font-size: 14px;
        padding: 0 25px;
        justify-content: center;
    }
    
    .CTA-Contact-Visual {
        width: 120px;
        height: 120px;
    }
    
    .CTA-Contact-Circle {
        padding: 15px;
    }
    
    .CTA-Contact-Circle-Inner {
        font-size: 13px;
        padding: 10px;
    }
    
    .CTA-Contact-Circle-Inner span {
        font-size: 11px;
    }
}

/*=====================================================
  RTL SUPPORT
===================================================== */

[dir="rtl"] .CTA-Contact-Content {
    text-align: right;
}

[dir="rtl"] .CTA-Contact-Info-Item {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

[dir="rtl"] .CTA-Contact-Buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .CTA-Contact-Btn-Primary i {
    transform: rotate(180deg);
}

[dir="rtl"] .CTA-Contact-Btn-Primary:hover i {
    transform: rotate(180deg) translateX(5px);
}

@media (max-width: 768px) {
    [dir="rtl"] .CTA-Contact-Content {
        text-align: center;
    }
    
    [dir="rtl"] .CTA-Contact-Info-Item {
        justify-content: center;
    }
    
    [dir="rtl"] .CTA-Contact-Buttons {
        flex-direction: column-reverse;
    }
}

/*=====================================================
  ADDITIONAL IMPROVEMENTS
===================================================== */

/* Smooth scroll behavior */
.CTA-Contact a {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.CTA-Contact .Btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

/* Print styles */
@media print {
    .CTA-Contact {
        padding: 30px 0;
        background: #54B448 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .CTA-Contact-Visual {
        display: none;
    }
}