/* General Styles */
body {
    font-family: 'Arial', sans-serif;
}

/* Hero Section */
.hero {
    background-color: #198754;  /* Bootstrap's default green color */
    padding: 100px 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Features Section */
.features .card {
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.features .card:hover {
    transform: translateY(-5px);
}

/* How It Works Section */
.step-number {
    width: 40px;
    height: 40px;
    background-color: #198754;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

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

.social-icons a {
    color: #198754;
    text-decoration: none;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    color: #198754;
}

/* Buttons */
.btn-primary {
    background-color: #198754;
    border-color: #198754;
}

.btn-outline-primary {
    border-color: #198754;
    color: #198754;
}

.btn-outline-primary:hover {
    background-color: #198754;
    color: white;
}

/* Privacy Policy Styles */
.privacy-policy {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.privacy-policy h1 {
    color: #198754;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.privacy-policy h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #198754;
}

.policy-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.policy-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.policy-section h2 {
    color: #198754;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-number {
    background: #198754;
    color: white;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

.subsection {
    padding-left: 1rem;
    border-left: 3px solid #e9ecef;
}

.subsection p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.subsection ol {
    padding-left: 1.5rem;
}

.subsection li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Make the page more readable on mobile */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 1rem;
    }

    .policy-section {
        padding: 1rem;
    }

    .policy-section h2 {
        font-size: 1.25rem;
    }
}

/* Dashboard Styles */
.list-group-item.active {
    background-color: #198754;
    border-color: #198754;
}

/* Loan Details Styles */
.progress {
    height: 1.5rem;
}

.progress-bar {
    font-size: 0.9rem;
    line-height: 1.5rem;
}

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

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.badge {
    padding: 0.5em 0.8em;
}

.table > :not(caption) > * > * {
    padding: 1rem;
}

/* Scoring Display Styles */
.score-display {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.score-display .display-6 {
    font-weight: 600;
    color: #198754;
}

.score-badge {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
}

.scoring-alert {
    border-left: 4px solid #17a2b8;
}

.scoring-alert .alert-heading {
    color: #17a2b8;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Payment History Styles */
.payment-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.payment-progress {
    height: 8px;
    border-radius: 4px;
    margin-top: 1rem;
}

.payment-history-table th {
    font-weight: 600;
    color: #495057;
}

.payment-history-table td {
    vertical-align: middle;
}

.payment-badge {
    font-size: 0.85rem;
    padding: 0.4em 0.8em;
}

.payment-amount {
    font-family: monospace;
    font-weight: 600;
}

/* Registration Form Styles */
.nav-pills .nav-link {
    color: #198754;
    background-color: transparent;
    border: 1px solid #198754;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.nav-pills .nav-link.active {
    background-color: #198754;
    color: white;
}

.tab-content {
    padding: 1rem 0;
}

.form-label {
    font-weight: 500;
    color: #495057;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.was-validated .form-control:valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

/* Terms of Service Styles */
.terms-policy {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.terms-policy h1 {
    color: #198754;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.terms-policy h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #198754;
}

.terms-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.terms-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.terms-section h2 {
    color: #198754;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terms-section h3 {
    color: #495057;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}

.terms-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Hero Dropdowns */
.hero .dropdown-menu {
    padding: 0.5rem;
    min-width: 250px;
}

.hero .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.hero .dropdown-item:hover {
    background-color: #f8f9fa;
}

.hero .dropdown-item small {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.hero .dropdown-divider {
    margin: 0.5rem 0;
}

/* Investment Dashboard Styles */
.card .progress {
    border-radius: 3px;
    height: 6px;
}

.statistics-card {
    transition: transform 0.2s ease;
}

.statistics-card:hover {
    transform: translateY(-5px);
}

.statistics-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

.statistics-card small {
    opacity: 0.8;
}

.table td {
    vertical-align: middle;
}

.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
} 