/* ============================= */
/* Homepage Specific Styles */
/* ============================= */


/* ===== HERO SECTION ===== */

.hero-section {
    display: flex;
    align-items: flex-start;      /* lift content upward */
    justify-content: space-between;
    gap: 50px;
    margin-top: 10px;            /* pulls hero closer to navbar */
}

.hero-text {
    flex: 1;
    padding-right: 20px;
}

.hero-title {
    font-family: 'Source Serif Pro', serif;
    font-size: 3rem;
    margin-top: 75px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-institution {
    line-height: 1.7;
    color: var(--dark-gray);
}

.hero-image {
    flex-shrink: 0;
    max-width: 280px;
    box-shadow: 8px 8px 18px rgba(0,0,0,0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}


/* ===== NEWS SECTION ===== */

.news-section {
    font-size: 0.95em;
    line-height: 1.6em;
    margin: -30px 0 0px 0;   /* reduced from 60px */
}

.news-item {
    display: flex;
    padding: 0px 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    min-width: 130px;
    margin-right: 40px;
    color: var(--dark-gray);
    font-weight: 500;
}

.news-description {
    margin: 0;
}


/* ===== EDUCATION ===== */

.education-timeline {
    margin-top: 30px;
    padding-left: 20px;
    position: relative;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-color);
}

.education-item {
    margin-bottom: 25px;
    padding-left: 25px;
    position: relative;
}

.edu-icon {
    position: absolute;
    left: -14px;
    top: 3px;
    width: 28px;
    height: 28px;
    background: white;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
}


/* ===== INTERESTS ===== */

.interests-section {
    margin-top: 50px;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.interest-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.interest-card:hover {
    transform: translateY(-6px);
}


/* ===== QUICK LINKS ===== */

.quick-links-section {
    margin-top: 50px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.quick-link {
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

.quick-link:hover {
    transform: translateY(-6px);
}


/* ============================= */
/* Responsive */
/* ============================= */

@media (max-width: 992px) {

    .hero-section {
        flex-direction: column;
        gap: 30px;
        margin-top: 0;
    }

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

    .hero-image {
        max-width: 240px;
    }
}

@media (max-width: 768px) {

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

    .news-item {
        flex-direction: column;
    }

    .news-date {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {

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