/* General Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header & Navigation */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #007bff;
}

.nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover, .nav a.active {
    color: #007bff;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.8)), url('https://placehold.co/1200x400/cccccc/ffffff?text=Financial+Background') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    width: 70%;
    padding: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1em;
}

.search-box button {
    padding: 15px 30px;
    border: none;
    background-color: #28a745;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s;
}

.search-box button:hover {
    background-color: #218838;
}

/* Product Categories Section */
.product-categories, .featured-products {
    padding: 60px 0;
}

.product-categories h2, .featured-products h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #333;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.category-card img {
    margin-bottom: 20px;
}

.category-card h3 {
    margin-bottom: 10px;
    font-size: 1.4em;
}

/* Featured Products */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.provider-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
}
.product-card h3 {
    font-size: 1.3em;
    margin: 0 0 10px 0;
}
.product-card p {
    margin: 5px 0;
    font-size: 0.9em;
}
.features {
    list-style-type: '✓ ';
    padding-left: 20px;
    margin: 15px 0;
    font-size: 0.9em;
    flex-grow: 1;
}
.features li {
    margin-bottom: 5px;
}
.btn-apply {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}
.btn-apply:hover {
    background-color: #0056b3;
}
.view-all {
    text-align: center;
    margin-top: 40px;
}
.view-all a {
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    font-size: 1.1em;
}

/* Products Page */
.page-content {
    padding-top: 40px;
    padding-bottom: 60px;
}
.page-content h1 {
    margin-bottom: 10px;
}
.product-listing-page {
    margin-top: 30px;
}
.product-list-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.item-logo img {
    max-width: 120px;
}
.item-details {
    flex: 1;
    min-width: 250px;
}
.item-details h3 {
    margin: 0 0 10px;
    font-size: 1.4em;
}
.item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    justify-content: flex-end;
}
.item-actions span {
    font-size: 0.9em;
    white-space: nowrap;
}
.btn-details {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    background-color: #6c757d;
    color: #fff;
    transition: background-color 0.3s;
}
.btn-details:hover {
    background-color: #5a6268;
}

/* Footer */
.footer {
    background-color: #343a40;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}
