/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffcc00; /* Vibrant yellow to match existing hero designs */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.2rem;
    color: #fcd9b0; /* Soft peach for the hero description text */
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

/* Research Section */
.research-section {
    padding: 50px 20px;
    text-align: center;
    background: #f7f7f7;
}

.research-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #9e3b1f; /* Primary color for headings */
}

.search-form {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.search-form input[type="text"] {
    padding: 10px;
    width: 60%;
    max-width: 400px;
    border: 2px solid #9e3b1f; /* Primary color */
    border-radius: 8px;
    font-size: 1rem;
}

.search-form button {
    padding: 10px 20px;
    background: #c65a3d; /* Secondary color */
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #ffcc00; /* Vibrant yellow for hover */
    color: #000;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.research-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.research-card h3 {
    font-size: 1.5rem;
    color: #004d40;
    margin-bottom: 10px;
}

.research-card .author, .research-card .date {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.research-card .description, .research-card .full-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

.research-card .full-description {
    display: none;
}

.research-card .toggle-btn {
    background-color: #004d40;
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.research-card .toggle-btn:hover {
    background-color: #00796b;
}

.research-card .btn-view {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #00796b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.research-card .btn-view:hover {
    background-color: #004d40;
    transform: scale(1.05);
}


.research-card .short-description {
    display: block;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.research-card .full-description {
    display: none;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.research-card .toggle-btn {
    background-color: #00796b;
    color: #fff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-bottom: 10px;
}

.research-card .toggle-btn:hover {
    background-color: #004d40;
    transform: scale(1.05);
}


/* No Results Message */
.no-results {
    font-size: 1.2rem;
    color: #888;
    margin-top: 30px;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .search-form input[type="text"] {
        width: 80%;
    }
}
