/* Team Page Styles */
.team-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

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

.team-card .card-body {
    position: relative;
}

.team-img-wrapper {
    width: 150px;
    height: 150px;
    position: relative;
}

.team-card img {
    transition: all 0.3s ease;
}

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

.team-card .list-inline-item a {
    transition: all 0.3s ease;
}

.team-card .list-inline-item a:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

/* Department Page Styles - Premium Cards */
.dept-card-premium {
    position: relative;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.dept-card-premium:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

/* Animated Background */
.dept-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0%;
    opacity: 0.05;
    transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.dept-card-premium:hover .dept-card-bg {
    height: 100%;
    opacity: 0.08;
}

/* Glowing Border Effect */
.dept-card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 24px;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.5s ease;
    z-index: 0;
}

.dept-card-premium:hover .dept-card-glow {
    opacity: 0.3;
}

/* Card Inner Content */
.dept-card-inner {
    position: relative;
    padding: 1.75rem 1.5rem;
    z-index: 2;
    background: white;
    border-radius: 24px;
}

/* Icon Wrapper with Orbiting Ring */
.dept-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.dept-icon-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 2px dashed rgba(167, 243, 208, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: orbit 20s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dept-card-premium:hover .dept-icon-orbit {
    opacity: 1;
}

@keyframes orbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Icon Circle with Gradient */
.dept-icon-circle-premium {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.dept-card-premium:hover .dept-icon-circle-premium {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.dept-icon-circle-premium i {
    font-size: 2.2rem;
    color: white;
    transition: all 0.4s ease;
}

.dept-card-premium:hover .dept-icon-circle-premium i {
    transform: scale(1.1);
}

.dept-card-premium:hover .dept-icon-circle-premium i {
    transform: scale(1.1);
}

/* Pulsing Effect */
.dept-icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.dept-card-premium:hover .dept-icon-pulse {
    animation-play-state: running;
}

/* Department Title */
.dept-title-premium {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    text-align: center;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dept-card-premium:hover .dept-title-premium {
    letter-spacing: 0.3px;
}

/* Scholarship Badge */
.dept-badge-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto;
    display: flex;
}

.dept-card-premium:hover .dept-badge-premium {
    transform: scale(1.05);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
}

/* Stats Grid */
.dept-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.875rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 14px;
    border: 2px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
}

.dept-card-premium:hover .dept-stats-grid {
    background: rgba(241, 245, 249, 1);
    border-color: rgba(203, 213, 225, 0.8);
    transform: translateY(-2px);
}

.dept-stat-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.dept-stat-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    font-size: 1.1rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dept-card-premium:hover .dept-stat-icon {
    transform: rotate(360deg) scale(1.1);
}

.dept-stat-info {
    flex: 1;
    text-align: left;
}

.dept-stat-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.dept-stat-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Premium Button */
.dept-btn-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.825rem 1.25rem;
    background: var(--btn-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.dept-btn-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.dept-btn-premium:hover::before {
    left: 100%;
}

.dept-btn-premium:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    color: white;
}

.dept-btn-premium:active {
    transform: translateY(-1px) scale(0.98);
}

.dept-btn-text {
    position: relative;
    z-index: 1;
}

.dept-btn-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.dept-btn-premium:hover .dept-btn-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.dept-btn-disabled {
    background: linear-gradient(135deg, #94a3b8, #64748b) !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.dept-btn-disabled:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.dept-btn-disabled .dept-btn-icon {
    background: rgba(255, 255, 255, 0.15);
}

/* Decorative Elements */
.dept-card-dots {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(
        circle,
        rgba(167, 243, 208, 0.2) 2px,
        transparent 2px
    );
    background-size: 12px 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.dept-card-premium:hover .dept-card-dots {
    opacity: 1;
}

.dept-card-pattern {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(
        135deg,
        rgba(167, 243, 208, 0.1),
        rgba(2, 132, 199, 0.1)
    );
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 1;
}

.dept-card-premium:hover .dept-card-pattern {
    opacity: 1;
    transform: scale(1.5);
}

/* Old Department Card Styles (Legacy) */
.department-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

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

.department-card .department-icon {
    transition: all 0.3s ease;
}

.department-card:hover .department-icon {
    transform: rotate(360deg) scale(1.1);
}

.department-card .btn {
    transition: all 0.3s ease;
    border: none;
}

.department-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Banner Inner Section */
.banner-inner {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.banner-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(167, 243, 208, 0.1) 0%,
        rgba(2, 132, 199, 0.05) 100%
    );
    z-index: 0;
}

.banner-inner .container {
    position: relative;
    z-index: 1;
}

/* Stats Section */
.stats-item h2 {
    font-size: 3rem;
    font-weight: 700;
}

.stats-item p {
    font-size: 1rem;
    font-weight: 500;
}

/* Gradient Heading */
.gradientHeading2 {
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Section Padding */
.sectionPadding {
    /* padding: 80px 0; */
}

/* Section Head */
.sectionHead {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Section Description */
.sectionDes {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .sectionHead {
        font-size: 2rem;
    }

    .stats-item h2 {
        font-size: 2rem;
    }

    .sectionPadding {
        padding: 50px 0;
    }

    .banner-inner {
        padding: 50px 0;
    }
}

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

[data-aos="fade-up"] {
    animation: fadeInUp 0.6s ease forwards;
}

/* Badge Styles */
.badge {
    font-weight: 500;
    font-size: 0.875rem;
}

/* Card Shadow */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* News Page Styles */
.news-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

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

.news-card .news-image {
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

.news-image-wrapper {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.news-card .btn {
    transition: all 0.3s ease;
}

.news-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* News Detail Page Styles */
.article-header h1 {
    font-weight: 700;
}

.article-content {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--grn);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content blockquote {
    border-left: 4px solid var(--grn);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text);
    background-color: rgba(167, 243, 208, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 4px;
}

/* Gallery Item */
.gallery-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Popular News Item */
.popular-news-item {
    transition: background-color 0.3s ease;
}

.popular-news-item:hover {
    background-color: rgba(167, 243, 208, 0.1);
}

.popular-news-item img {
    transition: transform 0.3s ease;
}

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

/* Share Buttons */
.share-section .btn {
    transition: all 0.3s ease;
}

.share-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--grn);
    font-size: 1.2rem;
}

.breadcrumb-item a:hover {
    text-decoration: underline !important;
}

/* Featured Image */
.featured-image img {
    transition: transform 0.3s ease;
}

.featured-image:hover img {
    transform: scale(1.02);
}

/* Responsive News Page */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.75rem !important;
    }

    .news-card .card-img-top {
        height: 200px !important;
    }

    .article-content {
        font-size: 1rem !important;
    }

    .featured-image img {
        max-height: 300px !important;
    }
}

/* FAQ Page Styles - Modern Help Cards */
.help-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    position: relative;
}

.help-card-modern:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.help-card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    transition: height 0.4s ease;
}

.help-card-modern:hover .help-card-gradient {
    height: 100%;
    opacity: 0.05;
}

.help-card-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.help-card-blue {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.help-card-purple {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.help-card-orange {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.help-card-content {
    padding: 2.5rem 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.help-icon-modern {
    position: relative;
    display: inline-block;
}

.icon-circle-outer {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.icon-green {
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.1),
        rgba(5, 150, 105, 0.2)
    );
}

.icon-blue {
    background: linear-gradient(
        135deg,
        rgba(14, 165, 233, 0.1),
        rgba(2, 132, 199, 0.2)
    );
}

.icon-purple {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.1),
        rgba(109, 40, 217, 0.2)
    );
}

.icon-orange {
    background: linear-gradient(
        135deg,
        rgba(245, 158, 11, 0.1),
        rgba(234, 88, 12, 0.2)
    );
}

.icon-circle-inner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.4s ease;
}

.icon-green .icon-circle-inner {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.icon-blue .icon-circle-inner {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.icon-purple .icon-circle-inner {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.icon-orange .icon-circle-inner {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: white;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.help-card-modern:hover .icon-circle-outer {
    transform: scale(1.15) rotate(10deg);
}

.help-card-modern:hover .icon-circle-inner {
    transform: rotate(-10deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.help-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    transition: all 0.3s ease;
}

.help-card-modern:hover .help-card-title {
    color: var(--grn);
}

.help-card-text {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    min-height: 60px;
}

.help-card-footer {
    position: relative;
    padding-top: 1rem;
}

.help-card-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--grn);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.help-card-link i {
    transition: transform 0.3s ease;
}

.help-card-modern:hover .help-card-link {
    color: var(--blue);
}

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

.help-card-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.05),
        rgba(14, 165, 233, 0.05)
    );
    transition: all 0.4s ease;
}

.help-card-modern:hover .help-card-decoration {
    transform: scale(1.5);
    opacity: 0.3;
}

/* Animation for icons */
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.help-card-modern:hover .icon-circle-inner i {
    animation: float 2s ease-in-out infinite;
}

/* FAQ Accordion Styles */
.faq-accordion .accordion-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

.faq-accordion .accordion-button {
    background-color: white;
    color: var(--grn);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(
        135deg,
        rgba(14, 165, 233, 0.1),
        rgba(16, 185, 129, 0.1)
    );
    color: var(--grn);
    box-shadow: none;
}

.faq-accordion .accordion-button:hover {
    background: linear-gradient(
        135deg,
        rgba(14, 165, 233, 0.05),
        rgba(16, 185, 129, 0.05)
    );
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.faq-accordion .accordion-button::after {
    display: none;
}

.faq-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--grn-grd);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--grn);
    font-size: 0.9rem;
}

.faq-accordion .accordion-button:not(.collapsed) .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.8;
    background-color: rgba(167, 243, 208, 0.02);
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer strong {
    color: var(--grn);
}

.faq-answer a {
    color: var(--blue);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--grn);
}

/* Help Resources Cards */
.help-resources-section .card {
    transition: all 0.3s ease;
}

.help-resources-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-accordion .accordion-button {
        font-size: 0.95rem;
        padding: 1.25rem;
    }

    .faq-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .faq-answer {
        padding: 1.25rem;
        font-size: 0.95rem;
    }

    /* Modern Help Cards - Mobile */
    .help-card-content {
        padding: 2rem 1.5rem;
    }

    .icon-circle-outer {
        width: 80px;
        height: 80px;
    }

    .icon-circle-inner {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .help-card-title {
        font-size: 1.1rem;
    }

    .help-card-text {
        font-size: 0.9rem;
        min-height: auto;
    }

    .help-card-modern:hover {
        transform: translateY(-10px) scale(1.01);
    }
}

@media (max-width: 576px) {
    .help-card-content {
        padding: 1.5rem 1rem;
    }

    .icon-circle-outer {
        width: 70px;
        height: 70px;
    }

    .icon-circle-inner {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}
