/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden; /* Kuzuia horizontal scrolling */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 2rem;
}

.nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: #3498db;
}

.btn-login {
    background: #3498db;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

/* Hero Section - IMEBADILISHWA */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    min-height: auto; /* Kubadilisha kutoka 100vh ili kuzuia scrolling */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-logo {
    max-width: 150px; /* Picha ndogo sana */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #e74c3c;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #c0392b;
}

/* Dashboard */
.dashboard-header {
    margin: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.data-table th {
    background: #f8f9fa;
    font-weight: bold;
}

.status-active {
    background: #d4edda;
    color: #155724;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.status-delivered {
    background: #f8d7da;
    color: #721c24;
    padding: 0.25rem 0.5;
    border-radius: 3px;
}

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chatbot-container.active {
    display: flex;
}

.chatbot-header {
    background: #3498db;
    color: white;
    padding: 1rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.message {
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    max-width: 80%;
}

.bot-message {
    background: #f1f1f1;
    align-self: flex-start;
}

.user-message {
    background: #3498db;
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.chatbot-input {
    padding: 1rem;
    border-top: 1px solid #ddd;
    display: flex;
}

.chatbot-input input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 0.5rem;
}

.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Login Page */
.login-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    
    .nav ul {
        margin-top: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .chatbot-container {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
    
    .hero-text h2 {
        font-size: 1.6rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .company-logo {
        max-width: 120px;
    }
}
/* Additional CSS for new features */

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 2rem;
}

.tab {
    padding: 1rem 2rem;
    text-decoration: none;
    color: #666;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

.badge {
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Forms */
.form-section {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-section h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #f8f9fa;
}

/* File Upload */
.upload-section {
    background: white;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.file-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-icon {
    font-size: 2rem;
}

.file-info h4 {
    margin-bottom: 0.5rem;
}

.file-meta {
    color: #666;
    font-size: 0.9rem;
}

.file-actions {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
}

/* Statistics */
.leaderboard {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.leaderboard-item.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
}

.leaderboard-item.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #e0e0e0);
}

.leaderboard-item.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #e29d50);
}

.rank {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1rem;
    min-width: 30px;
}

.client-info {
    flex: 1;
}

.client-stats {
    text-align: right;
}

.progress-bar {
    width: 150px;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress {
    height: 100%;
    background: #27ae60;
    transition: width 0.3s ease;
}

.performance-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.performance-badge.excellent { background: #d4edda; color: #155724; }
.performance-badge.good { background: #fff3cd; color: #856404; }
.performance-badge.average { background: #f8d7da; color: #721c24; }
.performance-badge.poor { background: #e2e3e5; color: #383d41; }

/* Search */
.search-form-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.search-input-group {
    display: flex;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1.1rem;
}

.results-section {
    margin-bottom: 2rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.client-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

mark {
    background: #fff3cd;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
}

/* Recent updates highlighting */
.recent-update {
    background: #d4edda !important;
    border-left: 4px solid #28a745;
}

.activity-item.recent {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

/* Buttons */
.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-edit { background: #17a2b8; }
.btn-files { background: #6f42c1; }
.btn-status { background: #fd7e14; }
.btn-view { background: #20c997; }
.btn-download { background: #6610f2; }
.btn-delete { background: #dc3545; }

/* Small button styles */
.btn-edit, .btn-files, .btn-status, .btn-view, .btn-download, .btn-delete {
    color: white;
    padding: 0.25rem 0.5rem;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-block;
    margin: 0.1rem;
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state p {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        justify-content: center;
    }
}
/* User Management Styles */
.login-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.login-link {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.login-link a {
    color: #3498db;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Role and Status Badges */
.role-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.role-admin { background: #dc3545; color: white; }
.role-staff { background: #fd7e14; color: white; }
.role-client { background: #6f42c1; color: white; }

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-active { background: #d4edda; color: #155724; }
.status-inactive { background: #f8d7da; color: #721c24; }

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: #6c757d;
    color: white;
    padding: 0.25rem 0.5rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    min-width: 160px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    z-index: 1000;
    right: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f8f9fa;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.text-danger {
    color: #dc3545 !important;
}

/* User Form */
.user-form .form-section {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.info-item label {
    font-weight: bold;
    min-width: 120px;
}

/* Password Strength */
#password-strength {
    font-weight: bold;
    margin-top: 5px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .dropdown-menu {
        right: auto;
        left: 0;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-item label {
        min-width: auto;
        margin-bottom: 0.25rem;
    }
}
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.about-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-text h3 {
    color: #3498db;
    margin: 2rem 0 1rem 0;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
}

.about-stats {
    display: grid;
    gap: 1.5rem;
}

.about-stats .stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.about-stats .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.about-stats .stat-label {
    color: #666;
    font-weight: 500;
}

.team-section {
    padding: 4rem 0;
    background: white;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: #666;
    line-height: 1.6;
}

.values-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* Services Page Styles */
.services-main {
    padding: 4rem 0;
    background: #f8f9fa;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.services-intro h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.services-intro p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #3498db;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.service-features li:before {
    content: "✓ ";
    color: #27ae60;
    font-weight: bold;
    margin-right: 0.5rem;
}

.service-features li:last-child {
    border-bottom: none;
}

.process-section {
    padding: 4rem 0;
    background: white;
}

.process-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem auto;
}

.process-step h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

.industries-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.industries-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.industry-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #e74c3c;
}

.industry-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.industry-item p {
    color: #666;
    line-height: 1.6;
}

.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Page Styles */
.contact-main {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.method-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    min-width: 50px;
}

.method-details h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.method-details p {
    color: #666;
    line-height: 1.6;
}

.social-links {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.social-links h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #e9ecef;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

.map-section {
    padding: 4rem 0;
    background: white;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.map-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 10px;
    text-align: center;
}

.map-content .map-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.map-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.map-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.map-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.faq-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Active navigation link */
.nav ul li a.active {
    color: #3498db;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .method-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .map-actions {
        flex-direction: column;
    }
    
    .social-icons {
        justify-content: center;
    }
}
/* Shipments Page Styles */
.shipments-container {
    margin-top: 2rem;
}

.shipment-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shipment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.shipment-card.recent-update {
    border-left-color: #27ae60;
    background: linear-gradient(90deg, #d4edda 0%, white 2%);
}

.shipment-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.shipment-basic-info h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.shipment-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.client-name {
    color: #666;
    font-weight: 500;
}

.update-time {
    color: #999;
    font-size: 0.9rem;
}

.shipment-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.shipment-details {
    padding: 1.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #555;
    font-size: 1rem;
}

.update-info {
    text-align: right;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    color: #666;
}

/* Status Badges */
.status-badge {
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-delivered {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
}

/* Action Buttons */
.btn-edit, .btn-files, .btn-status {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-edit {
    background: #17a2b8;
    color: white;
}

.btn-edit:hover {
    background: #138496;
    transform: translateY(-1px);
}

.btn-files {
    background: #6f42c1;
    color: white;
}

.btn-files:hover {
    background: #5a32a3;
    transform: translateY(-1px);
}

.btn-status {
    background: #fd7e14;
    color: white;
}

.btn-status:hover {
    background: #e56a0c;
    transform: translateY(-1px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.empty-state h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
    background: white;
    border-radius: 10px 10px 0 0;
    padding: 0 1rem;
}

.tab {
    padding: 1rem 2rem;
    text-decoration: none;
    color: #6c757d;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.tab:hover {
    color: #495057;
    background: #f8f9fa;
}

.tab.active {
    color: #3498db;
    border-bottom-color: #3498db;
    background: #f8f9fa;
}

.badge {
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 25px;
    text-align: center;
}

/* Animation for recent updates */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

.recent-update {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .shipment-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .shipment-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-direction: column;
        padding: 0;
    }
    
    .tab {
        padding: 1rem;
        justify-content: center;
        border-bottom: 1px solid #e9ecef;
    }
    
    .tab.active {
        border-bottom: 3px solid #3498db;
    }
}

@media (max-width: 480px) {
    .shipment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .shipment-actions {
        flex-direction: column;
    }
    
    .btn-edit, .btn-files, .btn-status {
        width: 100%;
    }
}
/* Shipments Table Styles */
.table-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.data-table th {
    background: #2c3e50;
    color: white;
    padding: 1rem 0.5rem;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
    border-right: 1px solid #34495e;
}

.data-table th:last-child {
    border-right: none;
}

.data-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
    border-right: 1px solid #f0f0f0;
}

.data-table td:last-child {
    border-right: none;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.data-table tr.recent-update {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

/* Column Widths */
.compact-cell {
    max-width: 120px;
    min-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.date-cell {
    min-width: 110px;
    max-width: 120px;
    white-space: nowrap;
}

.status-cell {
    min-width: 90px;
    max-width: 100px;
}

.action-cell {
    min-width: 180px;
    max-width: 200px;
    white-space: nowrap;
}

/* Table Scroll for Responsive */
.table-scroll {
    overflow-x: auto;
    max-width: 100%;
}

/* Status Badges */
.status-badge {
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-align: center;
    min-width: 70px;
}

.status-active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-delivered {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.btn-edit, .btn-files, .btn-status {
    padding: 0.4rem 0.6rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    width: 100%;
}

.btn-edit {
    background: #17a2b8;
    color: white;
}

.btn-edit:hover {
    background: #138496;
}

.btn-files {
    background: #6f42c1;
    color: white;
}

.btn-files:hover {
    background: #5a32a3;
}

.btn-status {
    background: #fd7e14;
    color: white;
}

.btn-status:hover {
    background: #e56a0c;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
    background: white;
    border-radius: 10px 10px 0 0;
    padding: 0 1rem;
}

.tab {
    padding: 1rem 2rem;
    text-decoration: none;
    color: #6c757d;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab:hover {
    color: #495057;
    background: #f8f9fa;
}

.tab.active {
    color: #3498db;
    border-bottom-color: #3498db;
    background: #f8f9fa;
}

.badge {
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 25px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .data-table {
        font-size: 0.8rem;
    }
    
    .compact-cell {
        max-width: 100px;
        min-width: 70px;
    }
    
    .date-cell {
        min-width: 100px;
        max-width: 110px;
    }
}

@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        padding: 0;
    }
    
    .tab {
        padding: 1rem;
        justify-content: center;
        border-bottom: 1px solid #e9ecef;
    }
    
    .tab.active {
        border-bottom: 3px solid #3498db;
    }
    
    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .btn-edit, .btn-files, .btn-status {
        width: auto;
        min-width: 70px;
    }
}

/* Print Styles */
@media print {
    .tabs, .page-header, .header, .footer {
        display: none;
    }
    
    .table-container {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .data-table {
        font-size: 10px;
    }
}