/* Blad IT Solutions - Main Stylesheet */

/* ============================================
   404 Error Page - Modern Mockup Design
   ============================================ */

/* Hero Section - Blue Gradient Background */
.error-404-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 70vh;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.error-404-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.error-404-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Column - Text Content */
.error-404-hero-left {
    color: white;
}

.error-404-number {
    font-size: 9rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -4px;
}

.error-404-heading {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.error-404-description-main {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.error-404-description-funny {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-style: italic;
}

/* Buttons */
.error-404-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-404-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 32px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.btn-404-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.btn-404-primary:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.btn-404-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-404-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-404-secondary:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Right Column - Illustration */
.error-404-hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.error-404-image-wrapper {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.error-404-illustration-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: gentleFloat 3s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Popular Pages Section */
.error-404-popular-pages {
    background: #1a1a2e;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.error-404-popular-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.error-404-popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.error-404-popular-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.error-404-popular-link i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.error-404-popular-link span {
    font-weight: 500;
    font-size: 1rem;
}

.error-404-popular-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.error-404-popular-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .error-404-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .error-404-hero-right {
        order: -1;
    }
    
    .error-404-number {
        font-size: 7rem;
    }
    
    .error-404-heading {
        font-size: 2.5rem;
    }
    
    .error-404-popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .error-404-hero {
        padding: 60px 0;
        min-height: auto;
    }
    
    .error-404-number {
        font-size: 5.5rem;
    }
    
    .error-404-heading {
        font-size: 2rem;
    }
    
    .error-404-description-main {
        font-size: 1.1rem;
    }
    
    .error-404-description-funny {
        font-size: 1rem;
    }
    
    .error-404-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-404-primary,
    .btn-404-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .error-404-image-wrapper {
        max-width: 400px;
    }
    
    .error-404-popular-pages {
        padding: 40px 0;
    }
    
    .error-404-popular-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .error-404-popular-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Old 404 styles kept for backward compatibility */
.error-404-page {
    padding: 80px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.error-404-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.error-404-icon-wrapper {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.error-404-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: gentleFloat 3s ease-in-out infinite;
}

.error-404-icon::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.2;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

.error-404-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(37, 99, 235, 0.4);
}

.error-404-number {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -2px;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}


.error-404-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-weight: 400;
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.error-404-actions .btn {
    min-width: 200px;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.error-404-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.error-404-links-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin-top: 2rem;
    transition: box-shadow 0.3s ease;
}

.error-404-links-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.error-404-links-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.error-404-links-title i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.error-404-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
}

.error-404-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.error-404-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.error-404-link-item i,
.error-404-link-item span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.error-404-link-item i {
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.error-404-link-item span {
    font-weight: 600;
    font-size: 1rem;
}

.error-404-link-item:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.2);
}

.error-404-link-item:hover::before {
    opacity: 0.05;
}

.error-404-link-item:hover i {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary-color);
}

.error-404-link-item:hover span {
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsive 404 Page */
@media (max-width: 768px) {
    .error-404-page {
        padding: 60px 0;
        min-height: 70vh;
    }
    
    .error-404-content {
        padding: 2rem 0;
    }
    
    .error-404-icon-wrapper {
        margin-bottom: 2rem;
    }
    
    .error-404-icon {
        width: 160px;
        height: 160px;
    }
    
    .error-404-icon::before {
        width: 180px;
        height: 180px;
    }
    
    .error-404-number {
        font-size: 4rem;
    }
    
    .error-404-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .error-404-actions {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    .error-404-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .error-404-links-card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
    
    .error-404-links-title {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    
    .error-404-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .error-404-link-item {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .error-404-link-item i {
        font-size: 1.8rem;
    }
    
    .error-404-link-item span {
        font-size: 0.9rem;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-brand i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Services Grid */
.services-preview,
.services-page {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card-detailed {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon-large {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-details {
    margin: 1.5rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.detail-item i {
    color: var(--primary-color);
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* About Page */
.about-page {
    padding: 60px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-box h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Booking Page */
.booking-page {
    padding: 60px 0;
}

.booking-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.selected-service {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.selected-service h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-summary i {
    font-size: 3rem;
    color: var(--primary-color);
}

.service-summary h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.service-summary p {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Forms */
.booking-form,
.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.required {
    color: var(--error-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Contact Page */
.contact-page {
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h2,
.contact-form-container h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.info-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form-container {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid var(--success-color);
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid var(--error-color);
}

.alert i {
    font-size: 1.25rem;
}

.no-services {
    text-align: center;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.no-services i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-services p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.text-center {
    text-align: center;
}

/* Tips & Tricks Page */
.tips-page {
    padding: 60px 0;
}

.tips-filters {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.search-box {
    margin-bottom: 1.5rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-form button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form button:hover {
    background: var(--secondary-color);
}

.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 100px;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tip-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.tip-icon-small {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.tip-badges-small {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-category-small,
.badge-difficulty-small {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-category-small {
    background: #dbeafe;
    color: #1e40af;
}

.badge-difficulty-small.badge-easy {
    background: #d1fae5;
    color: #065f46;
}

.badge-difficulty-small.badge-medium {
    background: #fef3c7;
    color: #92400e;
}

.badge-difficulty-small.badge-hard {
    background: #fee2e2;
    color: #991b1b;
}

.tip-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.tip-problem-preview {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.tip-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.tip-views-small {
    color: var(--text-light);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Single Tip View */
.single-tip-view {
    max-width: 900px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--secondary-color);
}

.tip-article {
    background: white;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.tip-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.tip-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.tip-meta {
    flex: 1;
}

.tip-meta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tip-badges {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.badge-category {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: #dbeafe;
    color: #1e40af;
    font-weight: 500;
}

.badge-difficulty {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
}

.badge-difficulty.badge-easy {
    background: #d1fae5;
    color: #065f46;
}

.badge-difficulty.badge-medium {
    background: #fef3c7;
    color: #92400e;
}

.badge-difficulty.badge-hard {
    background: #fee2e2;
    color: #991b1b;
}

.tip-views {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 0;
}

.problem-section,
.solution-section,
.tip-cta-section {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.problem-section h3,
.solution-section h3,
.tip-cta-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.problem-section h3 i {
    color: var(--warning-color);
}

.solution-section h3 i {
    color: var(--success-color);
}

.tip-cta-section h3 i {
    color: var(--primary-color);
}

.problem-section p,
.tip-cta-text {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.tip-cta-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0 1.5rem 0;
}

.solution-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solution-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border-left: 4px solid var(--success-color);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    color: var(--text-dark);
    line-height: 1.6;
}

.no-tips {
    text-align: center;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.no-tips i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-tips p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Tip CTA Section - styling is already in .problem-section, .solution-section, .tip-cta-section group above */

.tip-cta-services {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.tip-cta-services-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.tip-cta-service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tip-cta-service-chip {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.tip-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.tip-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .tip-cta-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .tip-cta-primary-btn {
        flex: 1;
        min-width: 280px;
    }
    
    .tip-cta-secondary-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

.tip-cta-primary-btn {
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
}

.tip-cta-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    background-color: var(--secondary-color);
}

.tip-cta-secondary-btn {
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
}

.tip-cta-secondary-btn i {
    font-size: 0.8rem;
}

.tip-cta-microcopy {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .tips-filters {
        padding: 1.5rem;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group label {
        min-width: auto;
    }

    .tip-header {
        flex-direction: column;
        gap: 1rem;
    }

    .tip-article {
        padding: 1.5rem;
    }

    .tip-cta-section h3 {
        font-size: 1.25rem;
        flex-wrap: wrap;
    }

    .tip-cta-text {
        font-size: 0.95rem;
    }

    .tip-cta-buttons {
        flex-direction: column;
    }

    .tip-cta-primary-btn,
    .tip-cta-secondary-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .tip-cta-services {
        padding: 0.6rem 0.8rem;
    }

    .tip-cta-services-label {
        display: block;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }

    .tip-cta-service-chips {
        justify-content: center;
    }

    .tip-cta-service-chip {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }

    .tip-cta-microcopy {
        font-size: 0.75rem;
    }
}

/* Customer Dashboard */
.login-page-section {
    padding: 60px 0;
}

.login-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.customer-dashboard {
    padding: 60px 0;
}

.dashboard-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}

.card-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-weight: 600;
}

.card-header h2 i {
    color: var(--primary-color);
}

.card-content {
    padding: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.875rem;
}

.info-item p {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item p {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.filter-tabs {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.filter-tab {
    padding: 0.625rem 1.25rem;
    text-decoration: none;
    color: var(--text-light);
    background: transparent;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-tab:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.filter-tab.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Data Tables */
.table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.data-table thead {
    background: var(--bg-light);
}

.data-table thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.data-table tbody tr:hover {
    background: var(--bg-light);
}

.data-table tbody td {
    padding: 1rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.data-table tbody td strong {
    color: var(--text-dark);
    font-weight: 600;
}

.data-table tbody td small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.data-table tbody .text-center {
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-icon.btn-view {
    background: #d1fae5;
    color: #065f46;
}

.btn-icon.btn-view:hover {
    background: #a7f3d0;
    color: #064e3b;
}

.btn-icon.btn-edit {
    background: #dbeafe;
    color: #1e40af;
}

.btn-icon.btn-edit:hover {
    background: #bfdbfe;
    color: #1e3a8a;
}

.btn-icon.btn-delete {
    background: #fee2e2;
    color: #991b1b;
}

.btn-icon.btn-delete:hover {
    background: #fecaca;
    color: #7f1d1d;
}

.no-data {
    text-align: center;
    color: var(--text-light);
    padding: 3rem 2rem;
    font-size: 1.1rem;
}

.no-data a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.no-data a:hover {
    text-decoration: underline;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-error {
    background: #fee2e2;
    color: #991b1b;
}

.badge-primary {
    background: #dbeafe;
    color: #1e40af;
}

.badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.badge-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.badge-completed {
    background: #dbeafe;
    color: #1e40af;
}

.badge-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.badge-draft {
    background: #e5e7eb;
    color: #374151;
}

.badge-paid {
    background: #d1fae5;
    color: #065f46;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-light);
}

.nav-dropdown-menu a i {
    width: 20px;
    text-align: center;
}

/* Table Styles for Dashboard */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--bg-light);
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover {
    background: var(--bg-light);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-view {
    background: #d1fae5;
    color: #065f46;
}

.btn-view:hover {
    background: #a7f3d0;
}

/* News Page Styles - Visual Proof CSS is Loading */
section.news-page,
.news-page {
    padding: 60px 0 !important;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%) !important;
    min-height: 100vh !important;
}

/* Force grid display - ensure it's not overridden */
.news-grid-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-bottom: 3rem !important;
}

/* Force card styling - ensure it's not overridden */
.news-card-item {
    background: white !important;
    border-radius: 16px !important;
    padding: 1.75rem !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #e5e7eb !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Modern Search Section */
.news-search-section {
    margin-bottom: 3rem;
}

.news-search-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-search-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    max-width: 100%;
    margin-bottom: 1rem;
}

.news-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.news-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.news-search-btn-text {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
}

.news-search-btn-text:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.news-search-btn-text:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.news-filter-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.news-filter-link {
    font-size: 0.9rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-filter-link:hover {
    color: var(--primary-color);
}

.news-filter-link.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* News Grid Container - Responsive Grid Layout (already defined above with !important) */
/* Additional card styling without !important for normal state */
.news-card-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.news-card-date {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
}

.news-card-title {
    margin: 0 0 1rem 0;
    font-size: 1.375rem;
    line-height: 1.4;
    font-weight: 700;
}

.news-card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.news-card-title a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.news-card-title a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.news-card-excerpt {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.news-card-source {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.news-card-read-more {
    padding: 0.625rem 1.25rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.news-card-read-more:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.news-card-read-more:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Legacy styles kept for single news view */
.news-category {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    background: #dbeafe;
    color: #1e40af;
    font-weight: 500;
}

.news-date,
.news-source,
.news-author {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Single News View */
.news-single {
    max-width: 900px;
    margin: 0 auto;
}

.news-article {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.news-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.news-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.news-excerpt {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.news-content {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.news-stats {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-link:hover,
.pagination-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.no-results i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Responsive News Grid */
@media (min-width: 768px) {
    .news-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

@media (min-width: 1024px) {
    .news-grid-container {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
    }
}

@media (max-width: 768px) {
    .news-search-wrapper {
        flex-direction: column;
    }
    
    .news-search-input {
        width: 100%;
    }
    
    .news-search-btn-text {
        width: 100%;
    }
    
    .news-card-item {
        padding: 1.5rem;
    }
    
    .news-card-title {
        font-size: 1.25rem;
    }
    
    .news-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-card-read-more {
        width: 100%;
        text-align: center;
    }
    
    .news-title {
        font-size: 1.5rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .news-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
}
