/* Faculties and Schools Page Styles */

/* Hero Section */
.faculty-hero {
    position: relative;
    background-image: url('../images/faculties-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 0;
}

.faculty-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 128, 0, 0.7) 100%);
    z-index: 1;
}

.faculty-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.faculty-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.faculty-divider {
    width: 80px;
    height: 4px;
    background-color: #ffaa00;
    margin: 1.5rem auto;
}

.faculty-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Faculty Navigation */
.faculty-nav {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.faculty-nav-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.faculty-nav-item {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    margin: 0 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faculty-nav-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #003366;
    transition: width 0.3s ease;
}

.faculty-nav-item:hover {
    color: #003366;
}

.faculty-nav-item.active {
    color: #003366;
    font-weight: 600;
}

.faculty-nav-item.active:after {
    width: 80%;
}

/* Mobile Navigation */
.faculty-nav-wrapper.mobile {
    flex-direction: column;
    align-items: center;
}

.faculty-nav-wrapper.mobile .faculty-nav-item {
    width: 100%;
    text-align: center;
    margin: 0.25rem 0;
}

/* Faculties Section */
.faculties-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.faculty-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    overflow: hidden;
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.faculty-card.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.faculty-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(to right, #f8f9fa, white);
    border-bottom: 1px solid #eee;
}

.faculty-icon {
    width: 70px;
    height: 70px;
    background-color: #003366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.faculty-icon i {
    font-size: 2rem;
    color: white;
}

.faculty-title {
    flex-grow: 1;
}

.faculty-title h2 {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 0.5rem;
}

.faculty-dean {
    font-size: 1rem;
    color: #008000;
    font-weight: 500;
    margin: 0;
}

.faculty-content {
    padding: 2rem;
}

.faculty-content > p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
}

/* Programs */
.programs-container {
    margin-top: 1.5rem;
}

.programs-container h3 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.programs-container h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #008000;
}

.program-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.program-header {
    padding: 1.2rem 1.5rem;
    background-color: #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.program-header:hover {
    background-color: #e8e8e8;
}

.program-header h4 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.program-toggle {
    color: #003366;
}

.program-details {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.program-details ul {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0;
}

.program-details ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.program-details ul li:before {
    content: '•';
    color: #008000;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.program-details p {
    margin: 1rem 0;
}

.program-link {
    display: inline-block;
    color: #003366;
    text-decoration: none;
    font-weight: 500;
    margin: 0.5rem 0 1rem;
    transition: color 0.3s ease;
}

.program-link:hover {
    color: #008000;
}

.program-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.program-link:hover i {
    transform: translateX(5px);
}

/* CTA Section */
.faculty-cta {
    background: linear-gradient(135deg, #003366 0%, #005580 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background-color: #ffaa00;
    color: #333;
}

.cta-button.primary:hover {
    background-color: #ffc040;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 170, 0, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .faculty-hero h1 {
        font-size: 2.8rem;
    }
    
    .faculty-header {
        padding: 1.5rem;
    }
    
    .faculty-icon {
        width: 60px;
        height: 60px;
    }
    
    .faculty-icon i {
        font-size: 1.5rem;
    }
    
    .faculty-title h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .faculty-hero {
        padding: 70px 0;
    }
    
    .faculty-hero h1 {
        font-size: 2.2rem;
    }
    
    .faculty-hero p {
        font-size: 1rem;
    }
    
    .faculty-nav-item {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .faculty-header {
        flex-direction: column;
        text-align: center;
    }
    
    .faculty-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .faculty-hero h1 {
        font-size: 1.8rem;
    }
    
    .faculty-content {
        padding: 1.5rem;
    }
    
    .faculty-title h2 {
        font-size: 1.3rem;
    }
    
    .program-header h4 {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}