/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Bangladesh Flag Colors */
    --primary-green: #006747;
    --primary-red: #E41E26;
    --dark-green: #004d36;
    --light-green: #E8F5E8;
    --light-red: #FFF5F5;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray-100: #F1F3F4;
    --gray-200: #E8EAED;
    --gray-300: #DADCE0;
    --gray-400: #9AA0A6;
    --gray-500: #5F6368;
    --gray-600: #3C4043;
    --gray-700: #202124;
    --black: #000000;
    
    /* Semantic Colors */
    --success: #0F9D58;
    --warning: #F9AB00;
    --error: #D93025;
    --info: #1A73E8;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-bengali: 'Noto Sans Bengali', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --gutter: 24px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

[dir="rtl"] {
    font-family: var(--font-bengali);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background-color: var(--gray-300);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--white) 0%, rgba(232, 245, 232, 0.3) 100%);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--gutter);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-shadow: 0 2px 4px rgba(0, 103, 71, 0.1);
}

/* Enhanced Logo Styles */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 103, 71, 0.3);
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 103, 71, 0.4);
}

.logo-icon {
    color: var(--white);
    font-size: 1.5rem;
    z-index: 2;
    position: relative;
}

.logo-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(228, 30, 38, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-green);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--gray-100);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle:hover {
    background-color: var(--gray-200);
}

.login-btn {
    background-color: var(--primary-green);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.login-btn:hover {
    background-color: var(--dark-green);
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--gray-600);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 50%, rgba(232, 245, 232, 0.3) 100%);
    padding: 5rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 103, 71, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(228, 30, 38, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    position: relative;
}

.hero-img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Hero Overlay Styles */
.hero-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(0, 103, 71, 0.9) 0%, rgba(0, 77, 54, 0.9) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.hero-stat {
    text-align: center;
    color: var(--white);
}

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(232, 245, 232, 0.5);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 103, 71, 0.1), transparent);
    transition: left 0.6s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-icon.success {
    background-color: var(--success);
}

.stat-icon.info {
    background-color: var(--info);
}

.stat-icon.warning {
    background-color: var(--warning);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
    margin: 0;
}

/* Insights Section */
.insights {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
}

.insights-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
}

.insight-card {
    background: linear-gradient(135deg, var(--white) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    transition: var(--transition);
    border-top: 4px solid var(--primary-green);
    position: relative;
    overflow: hidden;
}

.insight-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 103, 71, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(40px, -40px);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.insight-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.insight-title {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.insight-text {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.insight-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.insight-badge.urgent {
    background-color: var(--light-red);
    color: var(--error);
}

.insight-badge.positive {
    background-color: #E8F5E9;
    color: var(--success);
}

.insight-badge.attention {
    background-color: #FFF8E1;
    color: var(--warning);
}

/* Forms */
.feedback-form-section {
    padding: 3rem 0;
    background-color: var(--light-gray);
    min-height: calc(100vh - 80px);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-title {
    font-size: 2.5rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.form-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
}

.feedback-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.form-column {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 103, 71, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-help {
    display: block;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-section {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

/* File Upload */
.file-upload-container {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.file-upload-label:hover {
    border-color: var(--primary-green);
    background-color: var(--light-green);
}

.file-upload-label i {
    font-size: 2rem;
    color: var(--primary-green);
}

/* Checkboxes */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-checkmark {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    color: var(--gray-700);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

/* Info Column */
.info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.info-title {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.info-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

.tips-card {
    background-color: var(--light-green);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
}

.tips-title {
    color: var(--primary-green);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.tips-list {
    list-style: none;
    margin-left: 0;
}

.tips-list li {
    color: var(--gray-700);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.tips-list li::before {
    content: '•';
    color: var(--primary-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Tracking Page */
.track-section {
    padding: 3rem 0;
    min-height: calc(100vh - 80px);
    background-color: var(--light-gray);
}

.track-header {
    text-align: center;
    margin-bottom: 3rem;
}

.track-title {
    font-size: 2.5rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.track-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
}

.search-container {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-input-group {
    display: flex;
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1.125rem;
}

.search-input:focus {
    outline: none;
}

.search-btn {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: var(--dark-green);
}

.search-help {
    text-align: center;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

/* Track Results */
.track-results {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feedback-details-card,
.status-timeline-card,
.response-card,
.rating-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    background-color: var(--light-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
}

.feedback-title,
.timeline-title,
.response-title,
.rating-title {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin: 0;
}

.feedback-id,
.current-status,
.response-date {
    background-color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--primary-green);
}

.card-body {
    padding: 1.5rem;
}

.feedback-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.info-item span {
    color: var(--gray-600);
    font-size: 1rem;
}

.feedback-description h4 {
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.timeline-item.completed .timeline-marker {
    background-color: var(--success);
    color: var(--white);
}

.timeline-item.active .timeline-marker {
    background-color: var(--warning);
    color: var(--white);
}

.timeline-item.pending .timeline-marker {
    background-color: var(--gray-300);
    color: var(--gray-500);
}

.timeline-content {
    flex: 1;
    padding-top: 0.25rem;
}

.timeline-title {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.timeline-date {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Rating Stars */
.rating-stars {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    justify-content: center;
}

.star {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.star:hover,
.star.active {
    color: var(--warning);
    transform: scale(1.1);
}

.rating-comment {
    margin-top: 1rem;
}

.comment-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    resize: vertical;
    min-height: 100px;
    margin-bottom: 1rem;
}

/* Sample IDs */
.sample-ids {
    margin-top: 3rem;
    text-align: center;
}

.sample-title {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.sample-card {
    background-color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.sample-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: var(--light-green);
}

.sample-card strong {
    display: block;
    color: var(--primary-green);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.sample-card span {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Dashboard Styles */
.dashboard-body {
    background-color: var(--light-gray);
    font-family: var(--font-primary);
}

.dashboard-topbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0.5rem;
}

.topbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0.5rem;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--error);
    color: var(--white);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.user-menu:hover {
    background-color: var(--gray-100);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name {
    font-weight: 600;
    color: var(--gray-700);
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 80px);
}

.sidebar {
    width: 280px;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sidebar-content {
    padding: 1.5rem 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-menu {
    flex: 1;
    list-style: none;
}

.menu-item {
    margin-bottom: 0.5rem;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.menu-link:hover,
.menu-item.active .menu-link {
    background-color: var(--light-green);
    color: var(--primary-green);
}

.menu-item.active .menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-green);
}

.menu-badge {
    margin-left: auto;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    padding: 0.75rem;
    color: var(--gray-600);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.logout-btn:hover {
    background-color: var(--light-red);
    color: var(--error);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    color: var(--gray-700);
    margin: 0;
}

.section-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.time-filter,
.filter-select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    background-color: var(--white);
}

.refresh-btn {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
}

/* Widgets */
.widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.widget {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.widget-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.widget-icon.new {
    background-color: var(--info);
}

.widget-icon.progress {
    background-color: var(--warning);
}

.widget-icon.resolved {
    background-color: var(--success);
}

.widget-icon.time {
    background-color: var(--primary-green);
}

.widget-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-700);
    margin: 0;
}

.widget-label {
    color: var(--gray-600);
    font-weight: 500;
    margin: 0;
}

.widget-change {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.widget-change.positive {
    color: var(--success);
}

.widget-change.negative {
    color: var(--error);
}

.widget-change.neutral {
    color: var(--gray-500);
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-card {
    background-color: var(--white);
    border: none;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-card i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

/* Recent Activity */
.recent-activity {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--border-radius);
    background-color: var(--light-gray);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.activity-icon.new {
    background-color: var(--info);
}

.activity-icon.resolved {
    background-color: var(--success);
}

.activity-icon.progress {
    background-color: var(--warning);
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: var(--gray-700);
    margin: 0 0 0.25rem 0;
}

.activity-time {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Feedback Table */
.filters-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.table-container {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.feedback-table {
    width: 100%;
    border-collapse: collapse;
}

.feedback-table th,
.feedback-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.feedback-table th {
    background-color: var(--light-gray);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedback-table tbody tr {
    cursor: pointer;
    transition: var(--transition);
}

.feedback-table tbody tr:hover {
    background-color: var(--light-green);
}

.category-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.category-tag.roads {
    background-color: #E3F2FD;
    color: #1976D2;
}

.category-tag.water {
    background-color: #E0F2F1;
    color: #00796B;
}

.category-tag.electricity {
    background-color: #FFF3E0;
    color: #F57C00;
}

.urgency-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.urgency-badge.high {
    background-color: var(--light-red);
    color: var(--error);
}

.urgency-badge.medium {
    background-color: #FFF8E1;
    color: var(--warning);
}

.urgency-badge.low {
    background-color: #E8F5E9;
    color: var(--success);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.new {
    background-color: #E3F2FD;
    color: #1976D2;
}

.status-badge.review {
    background-color: #FFF8E1;
    color: var(--warning);
}

.status-badge.action {
    background-color: #F3E5F5;
    color: #7B1FA2;
}

.status-badge.resolved {
    background-color: #E8F5E9;
    color: var(--success);
}

.action-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
    margin-right: 0.25rem;
}

.action-btn.view {
    color: var(--info);
}

.action-btn.edit {
    color: var(--warning);
}

.action-btn:hover {
    background-color: var(--gray-100);
    transform: scale(1.1);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.pagination-btn {
    background: none;
    border: 2px solid var(--gray-300);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--gray-600);
    font-weight: 500;
}

/* Login Page */
.login-body {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 70%, #003a2a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.login-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(228, 30, 38, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.pattern-overlay {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    height: 100%;
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
}

.login-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
    position: relative;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    margin-bottom: 1rem;
}

.login-logo-img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
}

.login-title {
    font-size: 1.75rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--gray-600);
    font-size: 1rem;
}

.login-lang-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.input-group .form-input {
    padding-left: 3rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -0.5rem 0 0.5rem 0;
}

.forgot-link {
    color: var(--primary-green);
    font-size: 0.875rem;
}

.login-btn {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-btn:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-loader {
    position: absolute;
}

.demo-credentials {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.demo-title {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
    text-align: center;
}

.demo-accounts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.demo-account {
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.demo-account:hover {
    background-color: var(--light-green);
}

.demo-role {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.demo-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.demo-details small {
    color: var(--gray-600);
    font-size: 0.8rem;
}

.login-footer {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.footer-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.support-link {
    color: var(--primary-green);
    font-weight: 500;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.divider {
    color: var(--gray-400);
}

.security-notice {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
}

.notice-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.notice-icon {
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.notice-text h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.notice-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content.small {
    max-width: 400px;
}

.modal-content.large {
    max-width: 900px;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}

.modal-header.success {
    background-color: var(--light-green);
}

.modal-header.error {
    background-color: var(--light-red);
}

.modal-title {
    font-size: 1.5rem;
    color: var(--gray-700);
    margin: 0;
}

.success-icon,
.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-icon {
    color: var(--success);
}

.error-icon {
    color: var(--error);
}

.modal-body {
    padding: 1.5rem;
}

.modal-actions {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
}

.tracking-id {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    font-family: monospace;
    font-size: 1.125rem;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary-green);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.copy-btn:hover {
    background-color: var(--light-green);
}

.loading-bar {
    width: 100%;
    height: 4px;
    background-color: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background-color: var(--primary-green);
    animation: loading 3s ease-in-out forwards;
}

@keyframes loading {
    to {
        width: 100%;
    }
}

/* Error Messages */
.error-message {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    font-size: 3rem;
    color: var(--warning);
    margin-bottom: 1rem;
}

.error-content h3 {
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.error-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.error-tips {
    text-align: left;
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.error-tips h4 {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.error-tips ul {
    margin: 0;
    padding-left: 1.5rem;
}

.error-tips li {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-title {
    font-size: 2.5rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
}

.feature i {
    color: var(--success);
    font-size: 1.125rem;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--success) 0%, #0F7F45 100%);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(15, 157, 88, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-badge i {
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: var(--gray-700);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
    }
    
    .main-content {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --gutter: 16px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .feedback-form-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .widgets-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filters-bar {
        flex-direction: column;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .feedback-table {
        min-width: 700px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .insights-carousel {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .login-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .modal {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero,
    .footer,
    .btn,
    .modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .track-results {
        max-width: none;
    }
    
    .card-header {
        background-color: transparent !important;
        border-bottom: 2pt solid #000;
    }
    
    .timeline-marker {
        border: 2pt solid #000 !important;
        background-color: #fff !important;
        color: #000 !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --gray-300: #666;
        --gray-400: #555;
        --gray-500: #444;
    }
    
    .btn-outline {
        border-width: 3px;
    }
    
    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        border-width: 3px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.btn:focus,
.nav-link:focus,
.menu-link:focus {
    outline: 3px solid var(--primary-green);
    outline-offset: 2px;
}

/* Enhanced Visual Elements */
.login-logo-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo-icon {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0, 103, 71, 0.3);
    position: relative;
    z-index: 2;
}

.login-logo-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 10px;
    border: 3px solid var(--white);
    box-shadow: 0 4px 15px rgba(228, 30, 38, 0.4);
    z-index: 3;
}

.login-logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary-green), var(--primary-red), var(--primary-green));
    border-radius: 25px;
    opacity: 0.3;
    animation: rotate 3s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Info Visual Styles */
.info-visual {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.info-visual-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 1.5rem;
    color: var(--white);
    text-align: center;
}

.visual-icon {
    background: var(--primary-green);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 103, 71, 0.4);
}

.visual-overlay p {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Track Visual Styles */
.track-visual {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.track-visual-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-green);
    box-shadow: 0 10px 30px rgba(0, 103, 71, 0.3);
}

.track-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 103, 71, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

/* Dashboard Logo Styles */
.dashboard-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 103, 71, 0.2);
}

.dashboard-logo-icon {
    color: var(--white);
    font-size: 1.25rem;
}

.dashboard-logo-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 0.5rem;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 6px;
    border: 2px solid var(--white);
}

/* Footer Logo Styles */
.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 10px;
    position: relative;
    margin-right: 0.75rem;
}

.footer-logo-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.footer-logo-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 0.5rem;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 6px;
    border: 2px solid var(--white);
}

/* AMAZING LOADING ANIMATION */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green), #001f1a);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
    color: var(--white);
}

.loader-inner {
    width: 100px;
    height: 100px;
    position: relative;
    margin: 0 auto 2rem;
}

.loader-line-wrap {
    animation: spin 2s cubic-bezier(.175, .885, .32, 1.275) infinite;
    box-sizing: border-box;
    height: 50px;
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform-origin: 50% 100%;
    width: 100px;
}

.loader-line {
    border: 4px solid transparent;
    border-radius: 100%;
    box-sizing: border-box;
    height: 100px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
}

.loader-line-wrap:nth-child(1) { animation-delay: -50ms; }
.loader-line-wrap:nth-child(2) { animation-delay: -100ms; }
.loader-line-wrap:nth-child(3) { animation-delay: -150ms; }
.loader-line-wrap:nth-child(4) { animation-delay: -200ms; }
.loader-line-wrap:nth-child(5) { animation-delay: -250ms; }

.loader-line-wrap:nth-child(1) .loader-line { border-color: hsl(0, 80%, 60%); }
.loader-line-wrap:nth-child(2) .loader-line { border-color: hsl(60, 80%, 60%); }
.loader-line-wrap:nth-child(3) .loader-line { border-color: hsl(120, 80%, 60%); }
.loader-line-wrap:nth-child(4) .loader-line { border-color: hsl(180, 80%, 60%); }
.loader-line-wrap:nth-child(5) .loader-line { border-color: hsl(240, 80%, 60%); }

@keyframes spin {
    0%, 15% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 600;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 40px var(--primary-green); }
}

/* PARTICLES BACKGROUND */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* ANIMATED TITLE */
.animated-title .word {
    display: inline-block;
    margin-right: 0.3em;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    background: linear-gradient(45deg, var(--primary-green), var(--primary-red), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: fadeInUp 0.8s ease forwards, gradientShift 3s ease-in-out infinite;
}

.animated-title .word:nth-child(1) { animation-delay: 0.1s; }
.animated-title .word:nth-child(2) { animation-delay: 0.2s; }
.animated-title .word:nth-child(3) { animation-delay: 0.3s; }
.animated-title .word:nth-child(4) { animation-delay: 0.4s; }
.animated-title .word:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 3D BUTTONS WITH AMAZING EFFECTS */
.btn-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-3d:hover {
    transform: translateY(-5px) rotateX(10deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.btn-glow {
    position: relative;
    background: linear-gradient(45deg, transparent, rgba(0, 103, 71, 0.1), transparent);
    background-size: 200% 200%;
    animation: glowMove 3s ease-in-out infinite;
}

@keyframes glowMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-3d:active .btn-ripple {
    width: 300px;
    height: 300px;
}

/* INTERACTIVE STAT CARDS */
.stat-card-interactive {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                linear-gradient(45deg, var(--primary-green), var(--primary-red), var(--primary-green)) border-box;
    background-size: 200% 200%;
    animation: borderGlow 4s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.stat-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 103, 71, 0.03) 0%, 
        rgba(228, 30, 38, 0.03) 50%, 
        rgba(0, 103, 71, 0.03) 100%);
    background-size: 200% 200%;
    animation: bgShift 6s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card-interactive:hover .stat-card-bg {
    opacity: 1;
}

@keyframes bgShift {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-green);
    animation: iconPulse 2s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes iconPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
}

.success-pulse { background: var(--success); }
.info-pulse { background: var(--info); }
.warning-pulse { background: var(--warning); }

.counter {
    transition: all 0.5s ease;
    position: relative;
}

.stat-sparkle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--primary-green), transparent);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

.success-sparkle { background: radial-gradient(circle, var(--success), transparent); }
.info-sparkle { background: radial-gradient(circle, var(--info), transparent); }
.warning-sparkle { background: radial-gradient(circle, var(--warning), transparent); }

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.stat-card-interactive:hover .card-shine {
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) rotate(45deg); opacity: 0; }
}

/* ENHANCED NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 103, 71, 0.1);
}

/* ENHANCED HERO */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23006747" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-10px, -10px); }
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
