:root {
    --primary-color: #4e73df;
    --secondary-color: #1cc88a;
    --accent-color: #f6c23e;
    --dark-color: #5a5c69;
    --light-color: #f8f9fc;
    --danger-color: #e74a3b;
    --info-color: #36b9cc;
}

body {
    font-family: 'Nunito', 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #f8f9fc;
    color: #5a5c69;
    padding-top: 70px;
}

/* Navbar Styles */
.navbar {
    background-color: white;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand i {
    margin-right: 0.5rem;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 600;
}

.nav-link i {
    margin-right: 0.25rem;
}

/* Section Styles */
.section-title {
    position: relative;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 0;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Calculator Styles */
.calculator-section {
    border-bottom: 1px solid #e3e6f0;
    padding-bottom: 1.5rem;
}

.calculator-section:last-child {
    border-bottom: none;
}

.calculator-input-group {
    background-color: #f8f9fc;
    padding: 1rem;
    border-radius: 0.5rem;
}

.input-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.input-row .form-control {
    max-width: 120px;
}

.result-input {
    background-color: #fff;
    font-weight: 700;
    color: var(--primary-color);
}

.quick-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Formula Styles */
.formula-card {
    height: 100%;
    transition: background-color 0.3s ease;
}

.formula-card:hover {
    background-color: #eaecf4 !important;
}

.formula-box {
    background-color: white;
    border-radius: 0.25rem;
    border: 1px solid #e3e6f0;
}

.formula {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--primary-color);
}

/* Feature Icon */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(78, 115, 223, 0.1);
}

.feature-icon i {
    color: var(--primary-color);
}

/* Footer Styles */
footer {
    border-top: 1px solid #e3e6f0;
}

footer h5 {
    color: var(--primary-color);
    font-weight: 700;
}

footer a {
    color: var(--dark-color);
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .input-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .input-row .form-control {
        max-width: 100%;
        width: 100%;
    }
    
    .input-row span {
        margin: 0.25rem 0;
    }
} 