/* University / units and departments */
.welcome .welcome-image {
    display: none;
}
.welcome .welcome-content {
    display: none;
}
div.welcome {
    padding: 0 !important;
}

/* Branches Section */
/* .branches-section {
    margin-top: 2rem;
} */

/* .section-header h3 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--light-text);
    font-size: 1.1rem;
} */

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    /* margin-top: 2rem; */
}

.branch-card {
    /* justify-content: center; */
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.branch-link {
    display: block;
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: all 0.3s ease;
}

.branch-link:hover {
    text-decoration: none;
    color: inherit;
}

.branch-flag {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.branch-card:hover .branch-flag {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.branch-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branch-info h5 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.branch-card:hover .projects-count {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* .graduation-projects-section {
        padding: 1.5rem 0;
    } */
    
    .branches-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .branch-link {
        padding: 1.5rem 1rem;
    }
    
    .branch-flag {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h3 {
        font-size: 1.3rem;
    }
    .section-subtitle{
        font-size: 0.9rem;
    }
}
.flag-icon{
    width:102% !important;
    height:102%;
    top: -0.3rem;
    display:inline-block;
    background-size:cover;
}