/* home.css - Modernized Design */

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

h2 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--btn-bg);
    display: inline-block;
}

/* Modern Table Design */
.table-wrapper {
    overflow-x: auto;
    margin-top: 10px;
    border-radius: 12px;
    border: 1px solid var(--header-border);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
}

th, td {
    padding: 18px;
    text-align: center;
    border-bottom: 1px solid var(--header-border);
}

th {
    background-color: #f8faff;
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

[data-theme='dark'] th {
    background-color: #252525;
    color: #e0e0e0;
}

td {
    font-size: 15px;
    color: var(--hero-p-color);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: rgba(26, 115, 232, 0.02);
}

/* Partner Info Card */
.partner-info p {
    line-height: 1.8;
    color: var(--hero-p-color);
    font-size: 16px;
}

.partner-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 25px;
}

.partner-item {
    background: #f1f7ff;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--btn-bg);
}

[data-theme='dark'] .partner-item {
    background: #2c2c2c;
}

/* Signup Steps */
.steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-number {
    width: 35px;
    height: 35px;
    background-color: var(--btn-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

/* Quick Links as Buttons */
.quick-links-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.quick-links-container a {
    text-decoration: none;
    flex: 1;
    max-width: 300px;
}

.btn-outline {
    display: block;
    padding: 15px;
    border: 2px solid var(--btn-bg);
    color: var(--btn-bg);
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--btn-bg);
    color: white;
}

@media (max-width: 768px) {
    .partner-list, .steps, .quick-links-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    section {
        padding: 25px;
    }
}
