/* ===================================
   HOVER EFFECTS & INTERACTIONS
   =================================== */

/* System Cards - Hover Effects */
.system-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.system-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.system-card h3 {
    transition: all 0.3s ease;
}

.system-card:hover h3 {
    color: var(--primary-color);
    transform: scale(1.05);
}

.system-card .card-bar {
    transition: width 0.4s ease;
}

.system-card:hover .card-bar {
    width: 95%;
}

/* News Cards - Hover Effects */
.news-card {
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.news-img {
    overflow: hidden !important;
}

.news-img img {
    transition: transform 0.5s ease !important;
}

.news-card:hover .news-img img {
    transform: scale(1.05) !important;
}

.news-content h3 a {
    transition: color 0.3s ease !important;
    display: inline-block !important;
}

.news-content h3 a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: var(--secondary-color) !important;
    transition: width 0.3s ease !important;
}

.news-card:hover .news-content h3 a::after {
    width: 100% !important;
}

/* Video Cards - Hover Effects */
.video-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-thumb {
    position: relative;
    overflow: hidden;
}

.video-thumb::after {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    color: white;
    background: rgba(15, 111, 50, 0.8);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.video-card:hover .video-thumb::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Leadership Cards - Hover Effects */
.leadership-card {
    transition: all 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-10px);
}

.leader-img {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.leader-img img {
    transition: all 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leadership-card:hover .leader-img img {
    transform: scale(1.05);
}

.leader-name,
.leader-role {
    transition: all 0.3s ease;
}

.leadership-card:hover .leader-name {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.leadership-card:hover .leader-role {
    color: var(--primary-color);
}

/* Button Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Navigation Menu - Hover Effects */
.nav-links>li>a {
    position: relative;
}

.nav-links>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #fff;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links>li>a:hover::after,
.nav-links>li>a.active::after {
    width: 80%;
}

/* Form Input Hover Effects */
.search-box input:focus,
.consult-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 111, 50, 0.1);
    transition: all 0.3s ease;
}

.consult-form button {
    position: relative;
    overflow: hidden;
}

.consult-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.consult-form button:hover::before {
    left: 100%;
}

/* Social Icons - Hover Effects */
.social-btn,
.footer-social .social-icon {
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateX(-5px) scale(1.1);
}

.footer-social .social-icon:hover {
    transform: translateY(-3px) rotate(360deg);
}

/* Floating Widgets - Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.consult-btn:hover {
    animation: pulse 1s infinite;
}

/* Image Zoom on Hover - General */
img {
    transition: transform 0.3s ease;
}

a:hover img {
    transform: scale(1.05);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Link Underline Effect */
a {
    position: relative;
}

.footer-info a:hover,
.contact-list a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}