/* =============================================
 * Coded By - DARK LMNx9 (Limon Hossain)
 * GitHub - https://github.com/LMNx9-JOHNY
 * Website - https://dark.lmnx9.workers.dev
 * WhatsApp - https://wa.me/+8801882168975
 * Telegram - https://t.me/x_LMNx9
 * Updated: Taz ICT Dark Crimson + Dark Purple Theme
============================================= */
:root {
    --primary: #dc143c;
    --primary-dark: #b01030;
    --primary-light: #2a1018;
    --accent: #ff6b6b;
    --accent-dark: #e55555;
    --highlight: #7b2d8e;
    --highlight-light: #1a1025;
    --text-dark: #e0e0e0;
    --text-light: #b0b0b0;
    --text-muted: #808080;
    --bg-dark: #0d0d0f;
    --bg-card: #141418;
    --bg-elevated: #1a1a20;
    --border-color: #2a2a35;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(220, 20, 60, 0.06);
    --shadow-lg: 0 8px 30px rgba(220, 20, 60, 0.1);
    --transition: all 0.25s ease;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Mina", sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 55px;
    }
}

.hero-covers {
    margin-bottom: 20px;
    max-height: 800px;
    max-width: 1600px;
}

.carousel-item img {
    max-height: 400px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-item img {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .carousel-item img {
        max-height: 180px;
    }
}

.section-header {
    text-align: center;
    margin: 40px 0 30px;
    position: relative;
}

.section-header h1 {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 700;
    color: var(--accent);
    display: inline-block;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    background: var(--bg-dark);
}

.section-header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary),
        var(--highlight),
        transparent
    );
    z-index: 1;
}

@media (max-width: 768px) {
    .section-header {
        margin: 30px 0 20px;
    }
}

.chooseus-section {
    padding: 30px 0 50px;
    background: var(--bg-dark);
}

#heroIv {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.iv-inner {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.iv-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(220, 20, 60, 0.2) 0%,
        rgba(123, 45, 142, 0.15) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.video-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    background: none;
    border-radius: 40px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0);
    transition: var(--transition);
    margin: 0 auto;
}

.video-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--primary-dark), var(--highlight));
    box-shadow: 0 20px 45px rgba(220, 20, 60, 0.3);
}

.video-btn .btn-bg {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--accent),
        var(--highlight)
    );
    border-radius: 40px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-btn:hover .btn-bg {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.video-btn .btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    border-radius: 40px;
    z-index: -2;
    animation: pulse 2s ease-out infinite;
}

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

.video-btn i {
    font-size: 30px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.video-btn .btn-text {
    color: white;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-iframe[style*="z-index: 99"] {
    z-index: 20 !important;
    opacity: 1;
}

@media (max-width: 768px) {
    .iv-inner {
        height: 300px;
    }
    .video-btn {
        padding: 12px 25px;
    }
    .video-btn i {
        font-size: 24px;
    }
    .video-btn .btn-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .iv-inner {
        height: 250px;
    }
    .video-btn {
        padding: 10px 20px;
    }
    .video-btn i {
        font-size: 20px;
    }
    .video-btn .btn-text {
        display: none;
    }
}

.feature-icons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.feature-icon-item {
    flex: 0 0 calc(33.333% - 8px);
    min-width: 130px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 18px 10px;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-icon-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-light);
    border-color: var(--primary);
}

.feature-icon-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.feature-icon-item p {
    color: var(--accent);
    margin: 0;
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 600;
}

.feature-icon-item:hover p {
    color: var(--highlight);
}

@media (max-width: 768px) {
    .feature-icons-grid {
        padding: 15px;
        gap: 8px;
    }
    .feature-icon-item {
        flex: 0 0 calc(50% - 6px);
        min-width: auto;
        padding: 14px 8px;
    }
    .feature-icon-item img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .feature-icon-item {
        padding: 12px 5px;
    }
    .feature-icon-item img {
        width: 45px;
        height: 45px;
    }
    .feature-icon-item p {
        font-size: 13px;
    }
}

.filter-container {
    margin: 20px 0;
    z-index: 2;
}

.nav-pills {
    gap: 6px;
    flex-wrap: wrap;
}

.nav-pills .nav-link {
    border: 1px solid var(--border-color);
    margin: 0;
    padding: clamp(8px, 2vw, 10px) clamp(12px, 3vw, 18px);
    color: var(--text-light);
    font-weight: 600;
    font-size: clamp(13px, 2.8vw, 14px);
    border-radius: 20px;
    background: var(--bg-card);
    transition: var(--transition);
}

.nav-pills .nav-link:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--accent);
    transform: translateY(-2px);
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary-dark), var(--highlight));
    color: white;
    border-color: transparent;
}

@media (max-width: 768px) {
    .nav-pills {
        gap: 5px;
        justify-content: center;
    }
    .nav-pills .nav-link {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .nav-pills .nav-link {
        padding: 5px 10px;
        font-size: 11px;
    }
}

.tab-pane .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 0;
}

@media (max-width: 992px) {
    .tab-pane .row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .tab-pane .row {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 400px;
        margin: 0 auto;
    }
}

.course-card {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.course-image {
    height: 180px;
    position: relative;
    overflow: hidden;
border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-dark), var(--bg-elevated));
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--highlight);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.course-content {
    padding: 16px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.course-meta span {
    background: var(--bg-dark);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.course-meta i {
    color: var(--highlight);
    font-size: 11px;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.original-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.course-stats {
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.course-stats i {
    color: var(--primary);
    margin-right: 5px;
}

.btn-details-small {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--accent);
    padding: 8px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: auto;
    transition: var(--transition);
}

.btn-details-small:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--highlight));
    color: white;
    border-color: transparent;
}

@media (max-width: 768px) {
    .course-image {
        height: 160px;
    }
    .course-title {
        font-size: 16px;
    }
    .course-meta span {
        font-size: 11px;
    }
    .current-price {
        font-size: 18px;
    }
}

.no-courses-message {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    width: 100%;
    grid-column: span 2;
}

@media (max-width: 576px) {
    .no-courses-message {
        grid-column: span 1;
    }
}

.no-courses-message i {
    font-size: 48px;
    color: #404040;
    margin-bottom: 15px;
}

.no-courses-message h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.btn-view-all {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-dark), var(--highlight));
    color: white;
    padding: 10px 28px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-view-all:hover {
    background: linear-gradient(135deg, var(--highlight), var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.about-section {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    margin: 10px 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.founder-image {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

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

.about-content {
    padding: 20px;
}

.slogan {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.brand-name {
    color: var(--accent);
    font-weight: 800;
}

.about-text {
    color: var(--text-light);
    font-size: clamp(14px, 3vw, 16px);
    line-height: 1.8;
    margin-bottom: 30px;
}

.counter-box {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
}

.fact-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.count-area-content {
    background: var(--bg-elevated);
    padding: 18px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.count-area-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--primary-light);
}

.count-area-content .icon {
    margin-bottom: 10px;
}

.count-area-content .icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.count-digit {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    color: var(--accent);
    margin: 10px 0;
}

.count-title {
    font-size: clamp(12px, 2.5vw, 14px);
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .about-section {
        padding: 25px 15px;
    }
    .counter-box {
        gap: 10px;
    }
    .fact-item {
        min-width: 100px;
    }
    .count-area-content {
        padding: 14px;
    }
    .count-digit {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .counter-box {
        flex-direction: column;
    }
    .fact-item {
        width: 100%;
    }
}

.background-image-1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.background-image-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.position-relative {
    position: relative;
}

.text-center {
    text-align: center;
}

.my-4 {
    margin: 20px 0;
}

.p-4 {
    padding: 20px;
}

.w-100 {
    width: 100%;
}

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

.theme-text {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--primary) 5%,
        var(--accent) 20%,
        var(--highlight) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textFloat 3s ease-in-out infinite;
    text-shadow: 0 5px 15px rgba(220, 20, 60, 0.2);
    margin: 20px 0;
    letter-spacing: 1px;
}

@keyframes textFloat {
    0%,
    100% {
        transform: translateY(0);
        text-shadow: 0 5px 15px rgba(220, 20, 60, 0.2);
    }
    50% {
        transform: translateY(-5px);
        text-shadow: 0 15px 25px rgba(123, 45, 142, 0.3);
    }
}

.success-section {
    padding: 10px 0;
    background: var(--bg-dark);
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 10px;
}

.scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #dc143c #1a1a20;
}

.scroll-container::-webkit-scrollbar {
    height: 4px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #1a1a20;
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #dc143c, #7b2d8e);
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #b01030, #662278);
}

.scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 0 10px;
    min-width: min-content;
}

.student-card {
    flex: 0 0 150px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.student-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.15);
    border-color: var(--primary);
}

.student-image {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #b01030, #1a1a20);
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

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

.student-info {
    padding: 15px;
}

.student-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.student-details {
    font-size: 13px;
}

.student-details p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #2a2a35;
    color: var(--text-light);
}

.student-details p:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.student-details p span {
    color: var(--highlight);
    font-weight: 600;
}

@media (max-width: 768px) {
    .student-card {
        flex: 0 0 250px;
    }
    .student-name {
        font-size: 16px;
    }
    .student-details {
        font-size: 12px;
    }
    .btn-view-all {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .student-card {
        flex: 0 0 220px;
    }
    .student-image {
        height: 200px;
    }
    .student-info {
        padding: 20px;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gallery-section {
    padding: 50px 0;
    background: var(--bg-card);
    align-content: center;
    align-items: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-title span {
    color: var(--accent);
    position: relative;
}

.section-title span::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 16px;
}

.gallery-empty {
    text-align: center;
    padding: 20px 10px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.gallery-empty-icon {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 15px;
}

.gallery-empty h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.gallery-empty p {
    color: var(--text-muted);
}

.gallery-container {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: var(--bg-card);
    position: relative;
}

.gallery-track {
    display: flex;
    transition: transform 0.3s ease;
    cursor: grab;
}

.gallery-track:active {
    cursor: grabbing;
}

.gallery-slide {
    flex: 0 0 100%;
    height: 500px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #404040;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--highlight);
}

.notice-board-section {
    padding: 80px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.notice-board-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc143c, #7b2d8e, #ff6b6b);
    animation: gradientFlow 3s ease infinite;
    background-size: 200% 100%;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.notice-card {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    transform: rotate(0deg);
    overflow: hidden;
    animation: floatCard 3s ease-in-out infinite;
}

.notice-card:hover {
    transform: translateY(-5px) rotate(0.5deg);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.2);
    border-color: var(--primary);
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.notice-pin {
    position: absolute;
    top: 15px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    transform: rotate(-15deg);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    z-index: 3;
    animation: pinGlint 2s ease-in-out infinite;
}

@keyframes pinGlint {
    0%,
    100% {
        opacity: 1;
        transform: rotate(-15deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: rotate(-10deg) scale(1.1);
    }
}

.notice-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    box-shadow: 0 3px 10px rgba(123, 45, 142, 0.3);
}

.notice-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    padding-right: 30px;
}

.notice-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notice-date i {
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.notice-text {
    max-height: 150px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    padding-right: 10px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #dc143c #1a1a20;
}

.notice-text::-webkit-scrollbar {
    width: 4px;
}

.notice-text::-webkit-scrollbar-track {
    background: #1a1a20;
    border-radius: 10px;
}

.notice-text::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #dc143c, #7b2d8e);
    border-radius: 10px;
}

.notice-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    z-index: 3;
}

.notice-link:hover {
    gap: 12px;
    filter: drop-shadow(0 2px 5px rgba(123, 45, 142, 0.3));
}

.notice-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

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

@media (max-width: 992px) {
    .gallery-slide {
        height: 450px;
    }
    .notice-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 10px 0;
    }
    .gallery-slide {
        height: 350px;
    }
    .gallery-nav {
        opacity: 1;
        width: 40px;
        height: 40px;
    }
    .gallery-prev {
        left: 15px;
    }
    .gallery-next {
        right: 15px;
    }
    .gallery-counter {
        bottom: 20px;
        right: 20px;
        padding: 8px 15px;
        font-size: 14px;
    }
    .notice-board-section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .section-subtitle {
        font-size: 16px;
    }
    .notice-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-slide {
        height: 250px;
    }
    .dot {
        width: 8px;
        height: 8px;
    }
    .gallery-counter {
        padding: 6px 12px;
        font-size: 12px;
    }
    .notice-card {
        padding: 20px;
    }
    .notice-title {
        font-size: 18px;
    }
}

.our-note-section {
    padding: 10px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 100%);
    position: relative;
    overflow: hidden;
}

.our-note-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(220, 20, 60, 0.02) 0%,
        rgba(123, 45, 142, 0.02) 50%,
        transparent 70%
    );
    z-index: 1;
}

.note-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.note-line {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    margin-bottom: 2px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    display: inline-block;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 600;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--accent) 25%,
        var(--highlight) 50%,
        var(--accent) 75%,
        var(--primary) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s linear infinite;
    line-height: 1.6;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.note-author {
    margin-top: 0px;
    margin-bottom: 20px;
}

.author-sign {
    display: inline-block;
    font-size: clamp(20px, 5vw, 32px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding: 0 10px;
    margin-left: 190px;
}

.author-sign::before,
.author-sign::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 1px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), var(--highlight));
    animation: linePulse 2s ease-in-out infinite;
}

.author-sign::before {
    right: 100%;
    margin-right: 15px;
}

.author-sign::after {
    left: 100%;
    margin-left: 15px;
}

@keyframes linePulse {
    0%,
    100% {
        width: 30px;
        opacity: 0.5;
    }
    50% {
        width: 50px;
        opacity: 1;
    }
}

.note-line-1 {
    animation-delay: 0.2s;
}
.note-line-2 {
    animation-delay: 0.4s;
}
.note-line-3 {
    animation-delay: 0.6s;
}
.note-line-4 {
    animation-delay: 0.8s;
}
.note-line-5 {
    animation-delay: 1s;
}

.note-line:hover .gradient-text {
    animation: gradientFlow 2s linear infinite;
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .our-note-section {
        padding: 5px 0;
    }
    .gradient-text {
        font-size: 18px;
    }
    .author-sign {
        font-size: 24px;
    }
    .author-sign::before,
    .author-sign::after {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .gradient-text {
        font-size: 16px;
    }
    .author-sign {
        font-size: 20px;
    }
    .author-sign::before,
    .author-sign::after {
        display: none;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* =============================================
 * No Courses / No Books Message - Dark Crimson+Purple Theme
============================================= */
.no-courses-message {
    text-align: center;
    padding: 50px 30px;
    background: #141418;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    width: 100%;
    grid-column: span 2;
    border: 1px solid #2a2a35;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Subtle top glow line */
.no-courses-message::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc143c, #ff6b6b, #7b2d8e);
    opacity: 0.6;
}

/* Background glow effect */
.no-courses-message::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.04) 0%, rgba(123, 45, 142, 0.03) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.no-courses-message > * {
    position: relative;
    z-index: 1;
}

/* Icon */
.no-courses-message i.fa-3x {
    font-size: 56px !important;
    color: #7b2d8e;
    margin-bottom: 18px;
    display: block;
    opacity: 0.8;
    transition: all 0.3s ease;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1);
        text-shadow: 0 0 20px rgba(123, 45, 142, 0.3);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05);
        text-shadow: 0 0 35px rgba(220, 20, 60, 0.4);
    }
}

.no-courses-message:hover i.fa-3x {
    color: #ff6b6b;
    opacity: 1;
}

/* Heading */
.no-courses-message h4 {
    font-size: 22px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Sub text */
.no-courses-message p.text-muted,
.no-courses-message .text-muted {
    color: #808080 !important;
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Button */
.no-courses-message .btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #dc143c, #7b2d8e);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.2);
    position: relative;
    overflow: hidden;
}

.no-courses-message .btn-view-all::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.no-courses-message .btn-view-all:hover {
    background: linear-gradient(135deg, #ff6b6b, #9b4dca);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.35);
    color: #ffffff;
}

.no-courses-message .btn-view-all:hover::before {
    left: 100%;
}

.no-courses-message .btn-view-all i {
    font-size: 16px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.no-courses-message .btn-view-all:hover i {
    transform: translateX(3px);
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .no-courses-message {
        grid-column: span 1;
        padding: 40px 20px;
    }
    
    .no-courses-message i.fa-3x {
        font-size: 44px !important;
        margin-bottom: 14px;
    }
    
    .no-courses-message h4 {
        font-size: 19px;
    }
    
    .no-courses-message p.text-muted {
        font-size: 14px;
    }
    
    .no-courses-message .btn-view-all {
        padding: 10px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .no-courses-message {
        padding: 35px 16px;
    }
    
    .no-courses-message i.fa-3x {
        font-size: 38px !important;
    }
    
    .no-courses-message h4 {
        font-size: 17px;
    }
    
    .no-courses-message p.text-muted {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .no-courses-message .btn-view-all {
        padding: 8px 20px;
        font-size: 13px;
        border-radius: 20px;
    }
}

/* =============================================
 * No Courses / No Books - Centered Button Fix
============================================= */
.no-courses-message .btn-view-all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    background: linear-gradient(135deg, #dc143c, #7b2d8e);
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
}

/* Icon inside button - perfectly aligned */
.no-courses-message .btn-view-all i {
    font-size: 16px;
    color: #ffffff !important;
    transition: transform 0.3s ease;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle;
    line-height: 1;
    flex-shrink: 0;
}

/* Text inside button */
.no-courses-message .btn-view-all span,
.no-courses-message .btn-view-all .btn-text {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
}

.no-courses-message .btn-view-all:hover {
    background: linear-gradient(135deg, #ff6b6b, #9b4dca);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.35);
}

.no-courses-message .btn-view-all:hover i {
    transform: translateX(3px);
}

/* Shine effect */
.no-courses-message .btn-view-all::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.no-courses-message .btn-view-all:hover::before {
    left: 100%;
}