/* Site name styling */
.site-name {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #00c853;
    text-shadow: 0 0 10px rgba(0, 200, 83, 0.3);
    margin-left: 15px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.navbar.scrolled .site-name {
    opacity: 1;
    transform: translateX(0);
}

.site-name:hover {
    text-shadow: 0 0 15px rgba(0, 200, 83, 0.5);
    color: #00e676;
}

/* Logo container styling */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container:hover .site-name {
    color: #00e676;
}

/* Navbar brand padding */
.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    /* Reduce section padding */
    section {
        padding: padding: 28px 0 15px 0px;
    }

    /* Adjust hero section spacing */
    .hero-section {
        min-height: 80vh;
    }

    /* Reduce margins between sections */
    .framework-section,
    .research-section,
    .publications-section {
        margin-top: 20px;
    }

    /* Adjust spacing in math content */
    .math-content {
        margin: 15px 0;
    }

    /* Reduce spacing in formula blocks */
    .formula-block {
        margin: 15px 0;
        padding: 15px;
    }

    /* Adjust section titles */
    .section-title {
        margin-bottom: 20px;
    }

    /* Reduce spacing in research cards */
    .col-lg-6 {
        margin-bottom: 20px;
    }

    /* Adjust footer padding */
    .footer {
        padding: 15px 0;
    }
}
