/* Import Bootstrap */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Custom Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Custom Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Calculator Card */
.calculator-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.calculator-card h2 {
    color: #2575fc;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.8rem;
}

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    border: none;
    color: white;
    margin-left: 10px;
}

/* Results Section */
.result-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(37, 117, 252, 0.2);
}

.result-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #2575fc;
}

.result-item strong {
    color: #1a56db;
}

/* FAQ Section */
.faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    color: #2575fc;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: #495057;
    line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calculator-card {
        padding: 1.5rem;
    }
    
    .result-section {
        padding: 1.5rem;
    }
    
    .faq-item {
        padding: 1.2rem;
    }
}

@media (max-width: 576px) {
    .calculator-card {
        padding: 1rem;
    }
    
    .result-item {
        padding: 0.8rem;
    }
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calculator-card, .faq-item, .related-tools .tool-link {
    animation: fadeInUp 0.6s ease-out;
}

/* Additional utility classes */
.text-gradient {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}