/* === GENERAL BODY === */
body {
    font-family: 'Roboto', sans-serif;
    background: #f7f8fa;
    color: #333;
    margin: 0;
    padding: 0;
}

/* === HEADER & NAVBAR === */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 50px;
    margin-right: 12px;
}

header .logo h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

/* === NAVBAR === */
.navbar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.navbar a:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.user-info, .balance-info {
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* === HAMBURGER === */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

/* === NOTIFICATIONS === */
.notif-wrapper {
    position: relative;
}

.notif-wrapper .notif-toggle {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    position: relative;
}

.notif-wrapper .notif-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: red;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
}

.notif-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 35px;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1002;
}

.notif-dropdown a {
    display: block;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
}

.notif-dropdown a.unseen {
    font-weight: 600;
    background: #e0f0ff;
}

.notif-dropdown a:hover {
    background: #d0e6ff;
}

/* === HERO BANNER === */
.hero {
    background: url('/investment_site/uploads/your-image.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.4);
    animation: fadeInDown 1s ease forwards;
}

.hero p {
    font-size: 1.2rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease forwards 0.5s;
}

/* === FEATURES / ICON CARDS === */
.features {
    max-width: 1000px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    justify-items: center;
}

.features .card {
    width: 220px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.features .card i {
    font-size: 36px;
    color: #1a73e8;
    margin-bottom: 12px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.features .card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.features .card p {
    font-size: 0.95rem;
    color: #555;
}

.features .card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.features .card:hover i {
    transform: rotate(15deg) scale(1.2);
    color: #155ab6;
}

/* === DASHBOARD CARDS === */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-cards .card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.dashboard-cards .card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.dashboard-cards .card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a73e8;
}

.dashboard-cards .card p {
    font-size: 24px;
    font-weight: 700;
}

/* === TABLES === */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
}

table th {
    background: #1a73e8;
    color: #fff;
    font-weight: 600;
}

table tr:nth-child(even) { background: #f7f9fc; }
table tr:hover { background: #e8f0fe; }

/* Status colors */
.status-pending { color: orange; font-weight: 600; }
.status-approved { color: green; font-weight: 600; }
.status-rejected { color: red; font-weight: 600; }

/* === FORMS === */
form label { font-weight: bold; display: block; margin-bottom: 6px; }
form input, form select, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: 0.3s;
}
form input:focus, form select:focus, form textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 6px rgba(26,115,232,0.5);
}

form button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background: #1a73e8;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: #155ab6;
    transform: scale(1.03);
}

/* === ACTION BUTTONS === */
.action-button {
    display: inline-block;
    background: #1a73e8;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.action-button:hover {
    background: #155ab6;
    transform: scale(1.03);
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 18px;
    background: #222;
    color: #fff;
    margin-top: 30px;
}

/* Footer container & sections */
.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.footer-section {
    flex: 1;
    margin: 0 20px;
}

.footer-section h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #1a73e8;
}

.footer-section.social-media ul li {
    display: inline-block;
    margin-right: 15px;
}

.footer-section.social-media ul li a {
    font-size: 18px;
}

.footer-section.social-media ul li a:hover {
    color: #1a73e8;
}

.footer-bottom {
    margin-top: 10px;
    font-size: 12px;
    color: #888;
}

/* === ANIMATIONS === */
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }

/* === RESPONSIVE === */
@media(max-width: 900px) { .features { grid-template-columns: repeat(2,1fr); } }
@media(max-width: 500px) { .features { grid-template-columns: 1fr; } }

@media(max-width: 768px) {
    header { flex-direction: column; align-items: flex-start; padding: 15px 20px; }
    .menu-toggle { display: block; }
    .navbar {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 60px;
        gap: 10px;
        background: linear-gradient(135deg, #1a73e8, #4285f4);
        padding: 10px 0;
    }
    .navbar.active { display: flex; }
    .navbar a, .user-info, .balance-info { width: 100%; text-align: left; padding: 10px 20px; margin: 5px 0; }
    table th, table td { font-size: 14px; padding: 10px 8px; }
    form input, form select, form textarea, form button { width: 100%; }
    .dashboard-cards { grid-template-columns: 1fr; }
}

@media(max-width: 480px) {
    .container { padding: 25px; }
    .pay-now-card p, .bank-info p { font-size: 16px; }
    .payment-method-card { flex-direction: column; align-items: flex-start; }
    .payment-method-card img { margin-bottom: 10px; }
}
