/* University / units and departments */
.welcome .welcome-image {
    display: none;
}
.welcome .welcome-content {
    display: none;
}
div.welcome {
    padding: 0 !important;
}



/* .graduation-projects-section {
    padding: 2rem 0;
} */

.projects-hero {
    margin-bottom: 3rem;
}

.page-title2 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle2 {
    color: var(--light-text);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Projects Carousel */
.featured-projects {
    margin-bottom: 4rem;
}

#projectsCarousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel-item {
    height: 500px;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    border-radius: 0 0 20px 20px;
    bottom: 0;
    left: 0;
    right: 0;
}

.carousel-caption h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    font-size: 1rem;
    margin: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--white);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Branches Section */
.branches-section {
    margin-top: 3rem;
}

.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 {
    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;
}

.projects-count {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    transition: color 0.3s ease;
}

.branch-card:hover .projects-count {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* .graduation-projects-section {
        padding: 1.5rem 0;
    } */
    
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 1rem;
    }
    
    .carousel-caption h5 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        margin: 0 1rem;
    }
    
    .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) {
    .projects-hero {
        margin-bottom: 2rem;
    }
    
    .page-title2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle2 {
        font-size: 1rem;
    }
    
    .carousel-item {
        height: 250px;
    }
    
    .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;
}