/* Career Tips Styles */
.tips-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark-blue) 100%);
    padding: 100px 0 80px;
    color: white;
}

.tips-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tips-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.tips-hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.search-box input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-box button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
}

.search-box button:hover {
    background: #e67347;
}

/* Section Titles */
.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

/* Tips Categories */
.tips-categories {
    padding: 60px 0 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--card);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
    border-color: var(--primary);
}

.category-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary);
    font-size: 24px;
}

.category-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Articles Section */
.featured-articles, .latest-articles {
    padding: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all::after {
    content: '→';
    transition: transform 0.2s;
}

.view-all:hover::after {
    transform: translateX(3px);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.article-card {
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.article-card.featured {
    grid-column: span 2;
    display: flex;
}

.article-card.featured .article-image {
    flex: 1;
    min-height: 300px;
}

.article-card.featured .article-content {
    flex: 1;
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
}

.article-category {
    display: inline-block;
    background-color: var(--light-blue);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.article-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-content h3 a {
    color: var(--text);
    text-decoration: none;
}

.article-content h3 a:hover {
    color: var(--primary);
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-secondary);
}

.article-meta i {
    margin-right: 5px;
}

/* Latest Articles List */
.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.article-item {
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.article-item .article-image {
    width: 150px;
    height: auto;
    flex-shrink: 0;
}

.article-item .article-content {
    flex: 1;
}

.filter-options {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: var(--light-blue);
    color: var(--text-secondary);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: var(--primary);
    color: white;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover {
    background-color: var(--light-blue);
    color: var(--primary);
}

.page-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
}

.newsletter-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark-blue) 100%);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    color: white;
}

.newsletter-content {
    flex: 1;
    padding: 40px;
}

.newsletter-image {
    flex: 1;
}

.newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter h2 {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.newsletter p {
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 6px 0 0 6px;
    font-size: 15px;
}

.newsletter-form button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #e67347;
}

/* Expert Advice Section */
.expert-advice {
    padding: 40px 0 60px;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.expert-card {
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.expert-image {
    position: relative;
    height: 200px;
}

.expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--secondary);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.expert-info {
    padding: 20px;
}

.expert-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.expert-title {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.expert-bio {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.expert-articles {
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.expert-articles::after {
    content: '→';
    transition: transform 0.2s;
}

.expert-articles:hover::after {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .article-card.featured {
        grid-column: span 1;
        flex-direction: column;
    }
    
    .article-card.featured .article-image {
        min-height: auto;
    }
}

@media (max-width: 992px) {
    .newsletter-card {
        flex-direction: column;
    }
    
    .newsletter-image {
        order: -1;
        height: 200px;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-item .article-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .tips-hero h1 {
        font-size: 32px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .filter-options {
        width: 100%;
        justify-content: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .tips-hero h1 {
        font-size: 28px;
    }
    
    .tips-hero p {
        font-size: 16px;
    }
    
    .search-box input {
        padding: 12px 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .newsletter-content {
        padding: 25px;
    }
    
    .newsletter h2 {
        font-size: 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 6px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 6px;
        padding: 12px;
    }
}