
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Custom Navigation Bar */
.custom-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.6rem 1rem;
    transition: var(--transition);
}

.custom-navbar.scrolled {
    padding: 0.4rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar-brand img {
    transition: var(--transition);
    margin-right: 10px;
}

.custom-navbar.scrolled .navbar-brand {
    font-size: 1.4rem;
}

.custom-navbar.scrolled .navbar-brand img {
    height: 35px;
}

.nav-item {
    margin: 0 0.2rem;
    position: relative;
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 0.8rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link i {
    margin-right: 8px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(67, 97, 238, 0.08);
    transform: translateY(-2px);
}

.nav-link:hover i, .nav-link.active i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 10px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 70%;
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem !important;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.nav-btn i {
    margin-right: 6px;
    font-size: 1.2rem;
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(67, 97, 238, 0.35);
    color: white !important;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    outline: none !important;
    box-shadow: none !important;
}

 

/* Custom Drawer */
#drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 1050;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    overflow-y: auto;
}

#drawer.open {
    right: 0;
}

.drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    color: white;
}

.drawer-body {
    padding: 1.5rem;
}

.drawer-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    color: var(--dark-color);
    transition: var(--transition);
    font-weight: 500;
}

.drawer-link i {
    margin-right: 12px;
    font-size: 1.3rem;
}

.drawer-link:hover, .drawer-link.active {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.close-drawer {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.close-drawer:hover {
    transform: rotate(90deg);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }
    
    .nav-item {
        margin: 0.3rem 0;
    }
    
    .nav-btn {
        margin: 0.5rem 0 0 0;
        width: 100%;
        justify-content: center;
    }
}

/* department */
.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

.department-card:hover .hover-bg {
    opacity: 1;
}
 

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .department-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0 !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
}
/* end department */












/*-------------------*/
/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    margin-top: 60px;
}

.footer-wave {
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.footer-wave .shape-fill {
    fill: #667eea;
}

.footer-content {
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-section {
    height: 100%;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    margin-right: 15px;
  /*  filter: brightness(0) invert(1);*/
    border-radius: 50%;
}

.brand-name {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #f72585, #4361ee);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.8rem;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    color: #f72585;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: #f72585;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 1.3rem;
    color: #f72585;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-item > div {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.contact-value {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        padding: 60px 0 30px;
    }
    
    .footer-wave {
        top: -60px;
    }
    
    .footer-wave svg {
        height: 60px;
    }
    
    .footer-brand {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
    
    .footer-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
        text-align: center;
    }
    
    .copyright-text {
        text-align: center;
    }
    
    .contact-item {
        text-align: left;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .separator {
        display: none;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}