/* Prediction Page Styles */

/* Banner Section */
.prediction-banner {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.prediction-banner .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content */
.prediction-main {
    padding: 40px 0;
    background-color: #f8f9fa;
    min-height: 70vh;
}

/* Main Title */
.main-title {
    text-align: center;
    color: #2c5530;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 700;
    padding: 0 20px;
}

/* Functional Analysis Section */
.functional-analysis {
    background: white;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.analysis-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}


/* Animals Grid */
.animals-grid h3,
.species-analysis h3,
.prediction-analysis h3 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-weight: 500;
}

.animals-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.animal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration:none; 
}

.animal-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    border: 2px solid #4CAF50;
    transition: all 0.3s ease;
    cursor: pointer;
}

.animal-icon:hover {
    transform: scale(1.1);
    border-color: #2c5530;
}

.animal-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.animal-item span {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
}

/* Individual Sections */
.species-analysis,
.prediction-analysis {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


/* Responsive Design */
@media (max-width: 768px) {
    .prediction-banner {
        height: 150px;
    }
    
    .prediction-main {
        padding: 20px 0;
    }
    
    .main-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .functional-analysis,
    .species-analysis,
    .prediction-analysis {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .animals-row {
        gap: 20px;
    }
    
    .animal-icon {
        width: 80px;
        height: 80px;
    }
    
}

@media (max-width: 480px) {
    .animals-row {
        gap: 15px;
    }
    
    .animal-icon {
        width: 70px;
        height: 70px;
    }
    
    .animal-item span {
        font-size: 0.8rem;
    }
    
    .main-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .animals-grid h3,
    .species-analysis h3,
    .prediction-analysis h3 {
        font-size: 1rem;
    }
}