/* Hero Branding Styles */
.hero-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.institute-logo {
    width: 120px;
    height: 120px;
    position: relative;
    animation: floatLogo 6s ease-in-out infinite;
}

.institute-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.institute-logo img:hover {
    transform: scale(1.05);
}

.founder-image {
    width: 120px;
    position: relative;
    text-align: center;
    animation: floatFounder 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

.founder-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.founder-caption {
    margin-top: 0.5rem;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.8), rgba(8, 145, 178, 0.8));
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.founder-caption span {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Floating animations */
@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-branding {
        flex-direction: column;
        gap: 2rem;
    }
    
    .institute-logo, .founder-image {
        width: 120px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .institute-logo, .founder-image {
        width: 100px;
    }
    
    .founder-caption {
        font-size: 0.8rem;
    }
}
