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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow: hidden;
}

/* Toolbar Styles */
.toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 999999 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.toolbar-left,
.toolbar-right {
    display: flex;
    gap: 10px;
}

.toolbar-center {
    flex: 1;
    text-align: center;
}

.app-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.toolbar-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.toolbar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.toolbar-btn i {
    font-size: 16px;
}

/* Main Container */
.main-container {
    margin-top: 60px;
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
}

/* Map Container */
.map-container {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Map Controls */
.map-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.map-control-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-control-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Upload Overlay */
.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.3s ease;
}

.upload-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.upload-content {
    text-align: center;
    color: white;
    padding: 40px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-content:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.upload-content i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.upload-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.upload-content p {
    font-size: 16px;
    opacity: 0.8;
}

/* Statistics Panel */
.stats-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    margin: 0 20px 20px 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2px;
}

.stat-unit {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Elevation Panel */
.elevation-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    margin: 0 20px 20px 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 300px;
}

.elevation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.elevation-header h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.elevation-controls {
    display: flex;
    gap: 10px;
}

.elevation-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elevation-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.elevation-chart-container {
    height: calc(100% - 60px);
    position: relative;
}

#elevationChart {
    width: 100% !important;
    height: 100% !important;
}

/* Edit Mode Styles */
.edit-toolbar {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 8px;
    z-index: 1000;
    flex-wrap: wrap;
    max-width: 90vw;
}

/* Improved Edit Tool Styles */
.edit-tools {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.edit-tool-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.7; /* Default "off" state */
}

.edit-tool-group:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.edit-tool-group.active {
    opacity: 1; /* Full opacity when active */
}

.edit-tool-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.7; /* Default "off" state */
}

.edit-tool-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
}

.edit-tool-btn.active {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    opacity: 1; /* Full opacity when active */
    transform: scale(1.05); /* Slightly larger when active */
}

.tool-label {
    font-size: 11px;
    color: #666;
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
    max-width: 80px;
    word-wrap: break-word;
    opacity: 0.7; /* Default "off" state */
}

.edit-tool-group:hover .tool-label {
    color: #4CAF50;
    opacity: 0.9;
}

.edit-tool-group.active .tool-label {
    color: #4CAF50;
    font-weight: 600;
    opacity: 1; /* Full opacity when active */
}

/* Enhanced action buttons */
.edit-actions {
    display: flex;
    gap: 8px;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.edit-action-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.edit-action-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.edit-action-btn.primary {
    background: #2196F3;
    color: white;
    border-color: #2196F3;
}

.edit-action-btn.primary:hover {
    background: #1976D2;
    border-color: #1976D2;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* Tool instructions */
.edit-instructions {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

.edit-instructions strong {
    color: #4CAF50;
}

/* Edit mode indicators */
.edit-mode .map-container {
    border: 2px solid #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.edit-mode .toolbar {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    border-bottom: 2px solid #4CAF50;
}

/* Edit marker styles */
.edit-marker-icon {
    background: transparent !important;
}

.edit-marker-icon.selected {
    z-index: 1000 !important;
}

.vertex-marker-icon {
    background: transparent !important;
    z-index: 999 !important;
}

/* Edit mode cursor styles */
.edit-mode .map-container[style*="cursor: crosshair"] {
    cursor: crosshair !important;
}

.edit-mode .map-container[style*="cursor: move"] {
    cursor: move !important;
}

.edit-mode .map-container[style*="cursor: not-allowed"] {
    cursor: not-allowed !important;
}

/* Waypoint popup styles */
.waypoint-popup {
    padding: 8px;
    min-width: 200px;
}

.waypoint-popup h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.waypoint-popup p {
    margin: 4px 0;
    font-size: 12px;
    color: #666;
}

.waypoint-popup strong {
    color: #333;
}

/* Edit mode overlay */
.edit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 999;
}

/* Edit Modal Styles */
.edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.edit-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.edit-modal-container {
    position: relative;
    width: 90vw;
    height: 90vh;
    max-width: 1400px;
    max-height: 900px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 38px auto auto auto;
}

.edit-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.edit-modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.edit-modal-close {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.edit-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
    color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.edit-modal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    gap: 16px;
}

.edit-modal-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.edit-modal-map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#editModalMap {
    width: 100%;
    height: 100%;
}

/* Modal responsive design */
@media (max-width: 768px) {
    .edit-modal {
        padding: 0;
    }
    
    .edit-modal-container {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        max-width: none;
        max-height: none;
    }
    
    .edit-modal-header {
        padding: 16px 20px;
    }
    
    .edit-modal-header h2 {
        font-size: 20px;
    }
    
    .edit-modal-toolbar {
        padding: 12px 20px;
        flex-direction: column;
        gap: 12px;
    }
    
    .edit-tools {
        justify-content: center;
    }
    
    .edit-actions {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .toolbar {
        padding: 0 10px;
    }
    
    .toolbar-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .app-title {
        font-size: 1.2rem;
    }
    
    .main-container {
        margin-top: 60px;
    }
    
    .map-container,
    .stats-panel,
    .elevation-panel {
        margin: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .elevation-panel {
        height: 250px;
    }
}

/* Responsive edit toolbar */
@media (max-width: 768px) {
    .edit-toolbar {
        top: 70px;
        left: 10px;
        right: 10px;
        transform: none;
        max-width: none;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .edit-actions {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 12px;
        margin-top: 12px;
        width: 100%;
        justify-content: center;
    }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .edit-tools {
        gap: 12px;
        justify-content: center;
    }
    
    .edit-tool-group {
        min-width: 60px;
    }
    
    .tool-label {
        font-size: 10px;
        max-width: 60px;
    }
    
    .edit-actions {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 12px;
        margin-top: 12px;
        width: 100%;
        justify-content: center;
    }
}

/* Custom Leaflet Styles */
.leaflet-container {
    background: transparent;
}

.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading States */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Help Dropdown Styles */
.help-dropdown {
    position: relative;
    display: inline-block;
}

.help-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 160px;
    z-index: 2147483647 !important;
    margin-top: 0;
    position: fixed !important;
    padding-top: 5px;
    padding-bottom: 5px;
}

.help-dropdown.active .help-dropdown-content {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.dropdown-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Information Modal Styles */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.info-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.info-modal-container {
    position: relative;
    width: 90vw;
    height: 90vh;
    max-width: 800px;
    max-height: 700px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: auto;
}

.info-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.info-modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.info-modal-close {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.info-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
    color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-modal-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    line-height: 1.6;
}

.info-section {
    margin-bottom: 30px;
}

.info-section h3 {
    color: #4CAF50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 8px;
}

.info-section h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.info-section p {
    color: #666;
    margin-bottom: 12px;
}

.info-section ul {
    margin: 10px 0;
    padding-left: 20px;
}

.info-section li {
    color: #666;
    margin-bottom: 8px;
}

.info-section code {
    background: rgba(76, 175, 80, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #4CAF50;
}

.info-section .highlight {
    background: rgba(255, 193, 7, 0.1);
    padding: 10px;
    border-radius: 8px;
    border-left: 4px solid #FFC107;
    margin: 15px 0;
}

.info-section .warning {
    background: rgba(244, 67, 54, 0.1);
    padding: 10px;
    border-radius: 8px;
    border-left: 4px solid #F44336;
    margin: 15px 0;
}

/* Responsive design for info modal */
@media (max-width: 768px) {
    .info-modal {
        padding: 0;
    }
    
    .info-modal-container {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        max-width: none;
        max-height: none;
    }
    
    .info-modal-header {
        padding: 16px 20px;
    }
    
    .info-modal-header h2 {
        font-size: 20px;
    }
    
    .info-modal-content {
        padding: 20px;
    }
} 

/* Flash animation for selection feedback */
@keyframes flash {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.edit-marker-icon.flash {
    animation: flash 0.2s ease-in-out;
}

/* Enhanced selection styling */
.edit-marker-icon.selected {
    z-index: 1000 !important;
}

/* Selection glow effect */
.edit-marker-icon.selected div {
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.8) !important;
} 

/* Screen Reader Utilities */
.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;
}

/* Footer Styles */
footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    color: #666;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.footer-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    footer {
        padding: 30px 15px 15px;
    }
} 