/* Global Styles */
:root {
    --primary-color: #1a3c8b;
    --secondary-color: #f8b400;
    --dark-color: #1e2022;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #6c757d;
    --white: #fff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #142f6e;
    border-color: #142f6e;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 60px;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 15px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 30px);
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    padding: 10px 0;
    border-top: 3px solid var(--secondary-color);
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 400;
    color: var(--dark-color);
    transition: var(--transition);
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgba(248, 180, 0, 0.1);
    color: var(--primary-color);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -10px;
    margin-left: 0;
    border-radius: 0;
    display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
	height: 600px;
    }

.slider-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.slider-content {
    color: var(--white);
    max-width: 700px;
    height: 600px;
}

.slider-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.slider-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Quick Links */
.quick-links {
    position: relative;
    z-index: 2;
    margin-top: -50px;
}

.quick-link-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 5px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: block;
    color: var(--text-color);
}

.quick-link-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.quick-link-item .icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    transition: var(--transition);
}

.quick-link-item:hover .icon {
    background: var(--secondary-color);
    transform: rotateY(180deg);
}

.quick-link-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.quick-link-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 5px;
    height: 100%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border-top: 3px solid var(--primary-color);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-card .icon {
    width: 80px;
    height: 80px;
    background: rgba(26, 60, 139, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    transition: var(--transition);
}

.about-card:hover .icon {
    background: var(--primary-color);
    color: var(--white);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.core-values {
    text-align: left;
    padding-left: 20px;
}

.core-values li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.core-values li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* VC Welcome */
.vc-welcome {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.vc-image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vc-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.vc-image:hover img {
    transform: scale(1.03);
}

.vc-name {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    text-align: center;
}

.vc-name h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.vc-name p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.welcome-content {
    padding-left: 30px;
}

.welcome-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.welcome-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.welcome-content p {
    margin-bottom: 15px;
    color: var(--text-color);
}

/* News & Events */
.news-events {
    padding: 80px 0;
    background-color: var(--white);
}

.news-card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-img {
    position: relative;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-card .card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.news-card .card-text {
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.news-card .btn-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.news-card .btn-link i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.news-card .btn-link:hover i {
    transform: translateX(5px);
}

/* Faculties & Programs Section */
.faculties-section {
    background-color: #f9f9f9;
}

.faculty-tabs .list-group-item {
    border: none;
    border-radius: 4px !important;
    padding: 15px 20px;
    margin-bottom: 8px;
    background-color: #f1f1f1;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    text-align: left;
}

.faculty-tabs .list-group-item.active {
    background-color: var(--primary-color);
    color: white;
    border-left: 3px solid var(--secondary-color);
}

.faculty-tabs .list-group-item:not(.active):hover {
    background-color: #e9ecef;
    border-left: 3px solid #ccc;
}

.faculty-tabs .list-group-item i {
    width: 20px;
    text-align: center;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(26, 60, 139, 0.05);
    color: var(--primary-color);
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a3c8b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.25rem 1.25rem 0.5rem;
}

.accordion-body ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s ease;
}

.accordion-body ul li:hover {
    padding-left: 5px;
}

.accordion-body ul li:last-child {
    border-bottom: none;
}

.accordion-body ul li i {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.accordion-body ul li:hover i {
    transform: scale(1.2);
}

/* Statistics Counter */
.counter-section {
    position: relative;
    background: linear-gradient(rgba(26, 60, 139, 0.9), rgba(26, 60, 139, 0.9)), url('../images/counter-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    overflow: hidden;
}

.counter-item {
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    height: 100%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.counter-item i {
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

.counter-item:hover i {
    transform: scale(1.1);
}

.counter-item h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
    transition: all 0.3s ease;
}

.counter-item p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .faculty-tabs {
        margin-bottom: 30px;
    }
    
    .counter-item {
        margin-bottom: 30px;
    }
    
    .counter-item h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .counter-item {
        padding: 20px 10px;
    }
    
    .counter-item h2 {
        font-size: 1.8rem;
    }
    
    .counter-item p {
        font-size: 0.9rem;
    }
    
    .faculty-tabs .list-group-item {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.partner-slider {
    margin: 0 -15px;
}

.partner-item {
    padding: 0 15px;
    text-align: center;
    margin: 15px 0;
}

.partner-item img {
    max-width: 150px;
    height: auto;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(rgba(26, 60, 139, 0.9), rgba(26, 60, 139, 0.9)), url('../images/newsletter-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.newsletter h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form .form-control {
    height: 50px;
    border: none;
    border-radius: 0;
    padding: 10px 20px;
    font-size: 1rem;
}

.newsletter-form .btn {
    height: 50px;
    padding: 0 30px;
    background-color: var(--secondary-color);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

.newsletter-form .btn:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

/* Quick Links Section */
.quick-links-section {
    padding: 60px 0 30px;
}

.quick-links-section h5 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.quick-links-section h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.quick-links-section ul li {
    margin-bottom: 10px;
}

.quick-links-section ul li a {
    color: #b3b3b3;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

.quick-links-section ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.quick-links-section address {
    color: #b3b3b3;
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.8;
}

.quick-links-section address i {
    color: var(--secondary-color);
    width: 20px;
    margin-right: 8px;
}

.quick-links-section .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: var(--transition);
}

.quick-links-section .social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.app-download img {
    max-width: 120px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.app-download img:hover {
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: #111;
    color: #999;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer a {
    color: #b3b3b3;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.list-inline-item:not(:last-child) {
    margin-right: 1rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .slider-content h1 {
        font-size: 3rem;
    }
    
    .vc-welcome {
        padding: 60px 0;
    }
}

@media (max-width: 991.98px) {
    .slider-content h1 {
        font-size: 2.5rem;
    }
    
    .slider-content p {
        font-size: 1.1rem;
    }
    
    .welcome-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .news-card {
        margin-bottom: 30px;
    }
    
    .quick-links {
        margin-top: 0;
    }
    
    .quick-link-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        text-align: center;
    }
    
    .top-bar .col-md-6:first-child {
        margin-bottom: 10px;
    }
    
    .slider-content h1 {
        font-size: 2.2rem;
    }
    
    .slider-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .newsletter h3 {
        font-size: 1.8rem;
    }
    
    .newsletter p {
        font-size: 1rem;
    }
    
    .quick-links-section [class*="col-"] {
        margin-bottom: 30px;
    }
    
    .footer .text-center {
        text-align: center !important;
        margin-bottom: 15px;
    }
    
    .footer .text-end {
        text-align: center !important;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 575.98px) {
    .slider-content h1 {
        font-size: 1.8rem;
    }
    
    .slider-content .btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .about-card {
        padding: 30px 20px;
    }
    
    .about-card .icon {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }
    
    .newsletter h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        height: 45px;
    }
    
    .newsletter-form .btn {
        padding: 0 20px;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-right {
    transform: translateX(50px);
}

.slide-in-up {
    transform: translateY(50px);
}

.animate-on-scroll.visible.slide-in-left,
.animate-on-scroll.visible.slide-in-right,
.animate-on-scroll.visible.slide-in-up {
    transform: translate(0, 0);
}

/* Delay classes for staggered animations */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

.fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
}

/* Slider Navigation Arrows */
.slick-prev,
.slick-next {
    width: 50px;
    height: 50px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

.slick-prev:before,
.slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: white;
    opacity: 1;
}

.slick-prev:before {
    content: '\f053';
}

.slick-next:before {
    content: '\f054';
}

.slick-prev:hover,
.slick-next:hover {
    background-color: var(--primary-color);
}

/* Slider Dots */
.slick-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    text-indent: -9999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slick-dots li.slick-active button {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Portal Links Section */
.portal-links {
    background-color: #f8f9fa;
}

.portal-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    text-decoration: none;
}

.portal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.portal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(26, 60, 139, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.portal-card:hover .portal-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.portal-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.portal-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.portal-card:hover p {
    color: var(--text-color);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .portal-card {
        padding: 25px 20px;
    }
    
    .portal-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}

@media (max-width: 575.98px) {
    .portal-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Management Team Section */
.management-team {
    background-color: #f8f9fa;
}

.team-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-img {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-img .social-links {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    background: rgba(26, 60, 139, 0.9);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.team-card:hover .team-img .social-links {
    bottom: 0;
}

.team-img .social-links a {
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-img .social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.team-info {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.team-info .position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.team-info .department {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-info .btn-outline-primary {
    margin-top: auto;
    align-self: flex-start;
    padding: 5px 15px;
    font-size: 0.85rem;
}

.team-info .btn-outline-primary:hover {
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .team-img {
        height: 260px;
    }
}

@media (max-width: 991.98px) {
    .team-img {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .team-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .team-img {
        height: 280px;
    }
}

@media (max-width: 575.98px) {
    .team-img {
        height: 240px;
    }
    
    .team-info {
        padding: 20px 15px;
    }
    
    .team-info h4 {
        font-size: 1.1rem;
    }
}
