 /*
Theme Name: TajaResults
Description: A professional and elegant WordPress theme for government job updates.
Version: 1.0
Author: Your Name
*/

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}
header .logo h1 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
header .tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
}
header .search {
    display: flex;
    align-items: center;
}
header .search input {
    padding: 0.7rem;
    border: none;
    border-radius: 25px 0 0 25px;
    width: 250px;
    font-size: 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}
header .search input:focus {
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
    outline: none;
}
header .search button {
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}
header .search button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
nav {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 0.8rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin: 0 1.5rem;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    transition: background-color 0.3s, transform 0.3s;
    position: relative;
}
nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    transform: scale(0);
    transition: transform 0.3s;
}
nav ul li a:hover::before {
    transform: scale(1);
}
nav ul li a:hover {
    transform: translateY(-2px);
}
main {
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.sidebar {
    flex: 1;
    min-width: 280px;
}
.sidebar .categories {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}
.sidebar .categories h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.5rem;
    color: #667eea;
    font-weight: 600;
    text-align: center;
    position: relative;
}
.sidebar .categories h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}
.sidebar .categories ul {
    list-style: none;
    padding: 0;
}
.sidebar .categories ul li {
    margin-bottom: 0.8rem;
}
.sidebar .categories ul li a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    font-weight: 500;
}
.sidebar .categories ul li a i {
    margin-right: 0.8rem;
    color: #667eea;
    font-size: 1.2rem;
}
.sidebar .categories ul li a:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.content {
    flex: 3;
}
.hero {
    background: linear-gradient(135deg, #fff 0%, #e8f5e8 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.hero h2 {
    font-family: 'Montserrat', sans-serif;
    color: #667eea;
    font-weight: 700;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 1;
}
.hero p {
    margin: 0;
    font-size: 1.1rem;
    color: #555;
    position: relative;
    z-index: 1;
}
.updates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.update {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.update::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.update:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.update h4 {
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 0.8rem 0;
    color: #333;
    font-weight: 600;
}
.update h4 a {
    color: inherit;
    text-decoration: none;
}
.update p {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    color: #666;
}
.update .date {
    color: #999;
    font-size: 0.85rem;
    font-weight: 500;
}
.update .icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #667eea;
    font-size: 1.5rem;
    opacity: 0.7;
}
footer {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}
footer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    justify-content: center;
}
footer ul li {
    margin: 0 1.5rem;
}
footer ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
footer ul li a:hover {
    color: #667eea;
}
footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
    }
    nav ul li {
        margin: 0.5rem 0;
    }
    main {
        flex-direction: column;
    }
    .updates {
        grid-template-columns: 1fr;
    }
}