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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #28a745;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    color: #28a745;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2)),
        url('../images/remoteseningbackground.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(90deg, transparent, transparent 98px, rgba(0, 255, 255, 0.1) 100px),
        repeating-linear-gradient(0deg, transparent, transparent 98px, rgba(0, 255, 255, 0.1) 100px);
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 150, 255, 0.15) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.05) 50%, transparent 70%);
    pointer-events: none;
    animation: scanPulse 6s ease-in-out infinite;
}

/* Remote sensing animations */
@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

@keyframes scanPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes dataFlow {
    0% { transform: translateY(100px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(40, 167, 69, 0.6);
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.9), 0 0 15px rgba(40, 167, 69, 0.8);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8), 0 0 8px rgba(40, 167, 69, 0.6);
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(40, 167, 69, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    color: #ffffff;
    animation: float 4s ease-in-out infinite;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(40, 167, 69, 0.4),
        inset 0 1px 0 rgba(40, 167, 69, 0.2);
    position: relative;
    z-index: 3;
    min-width: 280px;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, rgba(40, 167, 69, 0.4), rgba(32, 201, 151, 0.4), rgba(23, 162, 184, 0.4));
    border-radius: 23px;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
    filter: blur(1px);
}

.floating-card i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #28a745;
    text-shadow: 0 0 15px rgba(40, 167, 69, 0.6);
    animation: iconPulse 2s ease-in-out infinite;
}

.hero-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(40, 167, 69, 0.6));
    animation: iconPulse 2s ease-in-out infinite;
}

.hero-logo-standalone {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8));
    position: relative;
    z-index: 3;
}

.floating-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #28a745;
    text-shadow: 0 0 15px rgba(40, 167, 69, 0.8), 0 0 5px rgba(0, 0, 0, 0.8);
}

.floating-card p {
    color: #ffffff;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8), 0 0 3px rgba(40, 167, 69, 0.4);
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

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

@keyframes dataFlow {
    0% { transform: translateY(100px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}

/* Data Visualization Elements */
.data-visualization {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 1;
}

.data-column {
    width: 6px;
    background: linear-gradient(to top, rgba(0, 255, 255, 0.9), rgba(0, 150, 255, 0.6), rgba(0, 100, 200, 0.3));
    border-radius: 3px;
    animation: dataFlow 4s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
    position: relative;
}

.data-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, transparent, rgba(0, 255, 255, 0.3));
    border-radius: 3px;
    animation: dataGlow 2s ease-in-out infinite;
}

@keyframes dataGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    border: 1px solid rgba(40, 167, 69, 0.3);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.5);
    background: linear-gradient(45deg, #20c997, #17a2b8);
}

.btn-secondary {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 2px solid rgba(40, 167, 69, 0.4);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(40, 167, 69, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    text-shadow: 0 0 8px rgba(40, 167, 69, 0.6);
}

.btn-danger {
    background: #f44336;
    color: white;
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

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

/* Sections */
.section-title {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-shadow: 0 0 20px rgba(40, 167, 69, 0.3);
    font-weight: 800;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #6c757d;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Upload Section */
.upload-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9), rgba(233, 236, 239, 0.8));
    position: relative;
}

.upload-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(90deg, transparent, transparent 98px, rgba(0, 255, 255, 0.05) 100px),
        repeating-linear-gradient(0deg, transparent, transparent 98px, rgba(0, 255, 255, 0.05) 100px);
    pointer-events: none;
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
}

.upload-area {
    border: 3px dashed rgba(40, 167, 69, 0.4);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    box-shadow: 0 0 30px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
}

.upload-content {
    color: #2c3e50;
    text-shadow: 0 0 5px rgba(40, 167, 69, 0.2);
}

.upload-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #28a745;
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.4);
}

.upload-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.upload-content p {
    opacity: 0.8;
}

.image-preview {
    text-align: center;
    margin-bottom: 2rem;
}

.image-preview img {
    max-width: 300px;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.upload-actions {
    text-align: center;
}

/* Sleek Modern Results */
.results-container {
    display: none;
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(40, 167, 69, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(40, 167, 69, 0.1);
}

.results-header h3 {
    color: #28a745;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.confidence-badge {
    display: inline-block;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    position: relative;
    z-index: 2;
}

.prediction-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(40, 167, 69, 0.1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.prediction-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    position: relative;
    z-index: 2;
}

.prediction-icon i {
    font-size: 1.5rem;
    color: white;
}

.prediction-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.prediction-info h4 {
    color: #28a745;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.prediction-info p {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.probability-chart {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(40, 167, 69, 0.1);
    position: relative;
    overflow: hidden;
}

.probability-chart h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 2;
}

.probability-bars {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    z-index: 2;
}

.probability-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid rgba(40, 167, 69, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.probability-bar:hover {
    background: rgba(40, 167, 69, 0.05);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.1);
}

.probability-bar-label {
    min-width: 80px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.probability-bar-fill {
    flex: 1;
    height: 20px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.probability-bar-fill::after {
    content: attr(data-percentage);
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Results Responsive */
@media (max-width: 768px) {
    .results-container {
        padding: 1.5rem;
        margin: 1.5rem 0;
        border-radius: 12px;
    }
    
    .results-header h3 {
        font-size: 1.5rem;
    }
    
    .prediction-card {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        gap: 1rem;
    }
    
    .prediction-icon {
        width: 40px;
        height: 40px;
    }
    
    .prediction-icon i {
        font-size: 1.2rem;
    }
    
    .prediction-info h4 {
        font-size: 1.5rem;
    }
    
    .probability-chart {
        padding: 1.2rem;
    }
    
    .probability-bar {
        padding: 0.6rem;
        gap: 0.8rem;
    }
    
    .probability-bar-label {
        min-width: 60px;
        font-size: 0.8rem;
    }
}

/* Samples Section */
.samples-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.samples-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(40, 167, 69, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(32, 201, 151, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.sample-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.1);
    position: relative;
}

.sample-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.02), rgba(32, 201, 151, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.sample-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(40, 167, 69, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
}

.sample-card:hover::before {
    opacity: 1;
}

.sample-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 2;
}

.sample-card:hover img {
    transform: scale(1.05);
}

.sample-card-content {
    padding: 2rem;
    color: #2c3e50;
    text-align: center;
    position: relative;
    z-index: 2;
}

.sample-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #28a745;
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.2);
}

.sample-card p {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.sample-card .test-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sample-card .test-btn:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Professional Loading States */
.samples-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    flex-direction: column;
}

.samples-loading .loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(40, 167, 69, 0.1);
    border-top: 4px solid #28a745;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.samples-loading p {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 500;
}

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

/* Professional Card Badges */
.sample-card .crop-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    z-index: 3;
}

/* Enhanced Grid Responsiveness */
@media (max-width: 768px) {
    .samples-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .sample-card {
        border-radius: 15px;
    }
    
    .sample-card-content {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
}

/* About Section Responsive */
@media (max-width: 768px) {
    .model-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .info-icon {
        font-size: 3rem;
    }
    
    .info-card h3 {
        font-size: 1.4rem;
    }
    
    .visualization-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .performance-visualizations h3 {
        font-size: 1.8rem;
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(40, 167, 69, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(32, 201, 151, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.model-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.info-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.02), rgba(32, 201, 151, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(40, 167, 69, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(40, 167, 69, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
    color: #20c997;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.info-card p {
    color: #6c757d;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.performance-visualizations {
    margin-top: 5rem;
    position: relative;
    z-index: 2;
}

.performance-visualizations h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
}

.performance-visualizations h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 2px;
}

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

.viz-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.1);
    position: relative;
}

.viz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.02), rgba(32, 201, 151, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.viz-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(40, 167, 69, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
}

.viz-card:hover::before {
    opacity: 1;
}

.viz-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 2;
}

.viz-card:hover img {
    transform: scale(1.05);
}

.viz-card h4 {
    color: #2c3e50;
    text-align: center;
    padding: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Loading States */
.loading-spinner {
    text-align: center;
    color: white;
    padding: 2rem;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner-large i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.loading-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.loading-content p {
    opacity: 0.8;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: 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 {
    margin-bottom: 1rem;
    color: #4CAF50;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4CAF50;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .upload-area {
        padding: 2rem 1rem;
    }

    .prediction-card {
        flex-direction: column;
        text-align: center;
    }

    .results-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .upload-area {
        padding: 1.5rem 1rem;
    }

    .results-container {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Professional Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(40, 167, 69, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(32, 201, 151, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #28a745;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-section ul li a:hover {
    color: #28a745;
    text-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
    transform: translateX(5px);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
}

.footer-bottom .powered-by {
    color: #28a745;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.4);
}

.footer-bottom .copyright {
    margin-bottom: 0.5rem;
}

.footer-bottom .powered-by {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
}


/* Scroll behavior */
html {
    scroll-behavior: smooth;
}
