/* WhatsApp Floating Button Styles */
.floating-whatsapp {
    position: fixed;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50px;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

[dir="rtl"] .floating-whatsapp {
    left: auto;
    right: 20px;
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #1EA952, #0E7060);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[dir="rtl"] .whatsapp-icon {
    margin-right: 0;
    margin-left: 10px;
}

.floating-whatsapp:hover .whatsapp-icon {
    transform: rotate(10deg) scale(1.1);
}

.whatsapp-icon svg {
    width: 20px;
    height: 20px;
    fill: #25D366;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover .whatsapp-icon svg {
    fill: #1EA952;
}

.whatsapp-text {
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp:hover .whatsapp-text {
    transform: scale(1.05);
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .calculator-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    
    .calculator-card {
        padding: 1.5rem;
    }
    
    .form-group {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .input-animated, .select-wrapper select {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .calculate-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .result-features {
        padding: 1.5rem;
    }
    
    .cost-display {
        font-size: 2rem;
    }
    
    .info-card {
        position: static;
        margin-top: 2rem;
    }
    
    .floating-whatsapp {
        padding: 10px 18px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .whatsapp-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .floating-whatsapp {
        padding: 10px 15px;
        border-radius: 50px;
        left: 15px;
        bottom: 15px;
        background: linear-gradient(135deg, #25D366, #128C7E);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.1);
    }
    
    [dir="rtl"] .floating-whatsapp {
        left: auto;
        right: 15px;
    }
    
    .whatsapp-text {
        font-size: 12px;
        font-weight: 700;
    }
    
    .whatsapp-icon {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
    
    [dir="rtl"] .whatsapp-icon {
        margin-right: 0;
        margin-left: 8px;
    }
    
    .whatsapp-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .calculator-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .form-group {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        top: -10px;
        padding: 3px 10px;
    }
    
    .input-animated, .select-wrapper select {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .calculate-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Make result section more compact */
    .result-features {
        padding: 1rem;
        margin-top: 1.5rem;
        border-radius: 12px;
    }
    
    .result-features > * + * {
        margin-top: 1.2rem;
        padding-top: 1.2rem;
    }
    
    .cost-display {
        font-size: 1.8rem;
        margin: 0.8rem 0;
    }
    
    /* Adjust guarantee seal size */
    .premium-guarantee-seal {
        transform: scale(0.8);
        margin: -1rem 0;
    }
    
    /* Make special offers more compact */
    .special-offers {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .offers-header {
        margin-bottom: 1rem;
        gap: 0.8rem;
    }
    
    .offers-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .offer-card {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .offer-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }
    
    .offer-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .offer-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .offer-features li {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        padding-right: 1.5rem;
    }
    
    /* Improve requirements section */
    .requirements-section {
        padding: 1rem;
    }
    
    .requirements-grid {
        gap: 0.8rem;
        display: grid;
        grid-template-columns: 1fr;
    }
    
    .requirement-item {
        padding: 0.8rem;
    }
    
    .requirement-icon {
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }
    
    .requirement-text {
        font-size: 0.85rem;
    }
    
    /* Fix overall page layout */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Reduce white space */
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* Adjust selections summary */
    .selections-summary {
        padding: 1rem;
    }
    
    .summary-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .summary-grid {
        gap: 0.8rem;
    }
    
    .summary-item {
        padding: 0.7rem;
    }
    
    .summary-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .summary-label {
        font-size: 0.8rem;
    }
    
    .summary-value {
        font-size: 0.95rem;
    }
} 