/* ========================================
   Modern CTA Section
   ======================================== */

.cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    background: #154D71;
}

.cta-section .container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Layers */
.cta-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(51, 161, 224, 0.15) 0%,
        rgba(28, 110, 164, 0.15) 50%,
        rgba(21, 77, 113, 0.15) 100%);
}

/* Animated Shapes */
.cta-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(51, 161, 224, 0.15), rgba(28, 110, 164, 0.15));
    animation: float 20s infinite ease-in-out;
    filter: blur(60px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -250px;
    right: -150px;
    animation-delay: 5s;
    background: linear-gradient(135deg, rgba(28, 110, 164, 0.15), rgba(21, 77, 113, 0.15));
}

.shape-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(40px, 20px) scale(1.05); }
}

/* Content */
.cta-content {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

/* Badge */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.cta-badge svg {
    width: 20px;
    height: 20px;
    color: #33A1E0;
    fill: #33A1E0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(51, 161, 224, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(51, 161, 224, 0); }
}

/* Title */
.cta-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #c7e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.cta-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Grid */
.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card.whatsapp:hover {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: #25d366;
}

.contact-card.whatsapp:hover .contact-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* Contact Icon */
.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.contact-icon.phone {
    background: linear-gradient(135deg, #33A1E0, #1C6EA4);
}

.contact-icon.email {
    background: linear-gradient(135deg, #1C6EA4, #154D71);
}

.contact-icon.whatsapp-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1;
    text-align: left;
}

.cta-section[dir="rtl"] .contact-info,
[dir="rtl"] .cta-section .contact-info {
    text-align: right;
}

.contact-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
	direction: ltr;
}

/* CTA Actions */
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

/* Primary Button */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #33A1E0, #1C6EA4);
    color: white;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(51, 161, 224, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1C6EA4, #154D71);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-cta-primary:hover::before {
    opacity: 1;
}

.btn-cta-primary span,
.btn-cta-primary svg {
    position: relative;
    z-index: 1;
}

.btn-cta-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 50px rgba(51, 161, 224, 0.6);
}

.btn-cta-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-cta-primary:hover svg {
    transform: translateX(4px);
}

.cta-section[dir="rtl"] .btn-cta-primary:hover svg,
[dir="rtl"] .cta-section .btn-cta-primary:hover svg {
    transform: translateX(-4px);
}

/* Secondary Button */
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.2);
}

.btn-cta-secondary svg {
    width: 20px;
    height: 20px;
}

/* RTL Support */
.cta-section[dir="rtl"] .quick-contact-grid,
[dir="rtl"] .cta-section .quick-contact-grid {
    direction: rtl;
}

.cta-section[dir="rtl"] .contact-card,
[dir="rtl"] .cta-section .contact-card {
    flex-direction: row-reverse;
}

.cta-section[dir="rtl"] .cta-actions,
[dir="rtl"] .cta-section .cta-actions {
    flex-direction: row-reverse;
}

/* ======================================
   Responsive Design
   ====================================== */

@media (max-width: 991px) {
    .cta-section {
        padding: 4rem 0;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-subtitle {
        font-size: 1.125rem;
    }

    .quick-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .shape-1 {
        width: 300px;
        height: 300px;
    }

    .shape-2 {
        width: 350px;
        height: 350px;
    }

    .shape-3 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 3.5rem 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .cta-badge {
        font-size: 0.813rem;
        padding: 0.625rem 1.25rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-icon svg {
        width: 24px;
        height: 24px;
    }

    .contact-label {
        font-size: 0.813rem;
    }

    .contact-value {
        font-size: 1rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
        padding: 1.125rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .cta-section {
        padding: 3rem 0;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 0.938rem;
    }

    .quick-contact-grid {
        gap: 1rem;
    }

    .contact-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .contact-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-label {
        font-size: 0.75rem;
    }

    .contact-value {
        font-size: 0.938rem;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 1rem 1.75rem;
        font-size: 0.938rem;
    }

    .shape-1 {
        width: 250px;
        height: 250px;
    }

    .shape-2 {
        width: 300px;
        height: 300px;
    }

    .shape-3 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 2.5rem 0;
    }

    .cta-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .cta-badge svg {
        width: 16px;
        height: 16px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.875rem;
    }
}
