* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f4f7f9;
    color: #333;
}

/* Header */
header {
    background: linear-gradient(90deg, #1a3a5f 0%, #2a5298 100%);
    color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

nav ul li a:hover {
    border-bottom: 2px solid white;
}

/* Search Area */
.search-container {
    text-align: center;
    padding: 40px 20px;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.search-box button {
    padding: 0 25px;
    background: #2a5298;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* Category Cards */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 5%;
}

.card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-bottom: 5px solid transparent;
    cursor: pointer;
}

.card:hover { transform: translateY(-10px); }
.card.blue { border-bottom-color: #2a5298; }
.card.orange { border-bottom-color: #ff9800; }
.card.green { border-bottom-color: #4caf50; }
.card.red { border-bottom-color: #f44336; }

.card i { font-size: 40px; margin-bottom: 15px; }
.blue i { color: #2a5298; }
.orange i { color: #ff9800; }
.green i { color: #4caf50; }
.red i { color: #f44336; }

/* Lists Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 20px 5%;
}

.list-box {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.list-header {
    background: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-all { color: #f44336; text-decoration: none; font-size: 13px; font-weight: bold; }

.list-items li {
    padding: 12px 20px;
    border-bottom: 1px solid #f9f9f9;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.list-items li a { color: #007bff; text-decoration: none; font-weight: 500; }

/* Footer */
.subscribe-section {
    background: white;
    margin: 40px 5%;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
}

.social-icons { margin: 20px 0; display: flex; justify-content: center; gap: 15px; }
.social-icons i { font-size: 24px; color: #555; cursor: pointer; transition: 0.3s; }
.social-icons i:hover { color: #f44336; }

.sub-btn {
    background: #f44336;
    color: white;
    padding: 12px 35px;
    border-radius: 25px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-content { grid-template-columns: 1fr; }
    header { flex-direction: column; gap: 15px; }
}