/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f0f2f5;
    padding-top: 66px;
}



/* ======================================================= HERO SECTION ============================================== */



.hero-section {
    height: 550px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -25px;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.279);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #ffffff;
    width: 80%;
    max-width: 900px;
    font-family: 'Arial', sans-serif;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.03);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-content h1.animate-text {
    animation: fadeInUp 1.5s ease-out forwards, pulse 3s ease-in-out infinite;
    animation-delay: 0.3s;
}

.hero-content p.animate-text {
    animation: fadeInUp 1.5s ease-out forwards, pulse 3s ease-in-out infinite;
    animation-delay: 0.6s;
}

.hero-content {
    z-index: 10;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}





/* ========================================== SECTION HEADINGS ======================================= */





.head-tittled {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

.animated-heading h4 {
    color: #623939;
    font-weight: 800;
    font-size: 2.2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.272);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    letter-spacing: 3px;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.animated-heading h4::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    width: 70%;
    height: 5px;
    background: linear-gradient(90deg, #ff416c, #ff6ec4);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(255, 65, 108, 0.8);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.animated-heading.scrolled h4 {
    animation: slideFadeIn 1s ease-out forwards;
    animation-delay: 0.2s;
}

.animated-heading.scrolled h4::after {
    animation: pulseLine 3s infinite ease-in-out forwards;
    animation-delay: 1s;
    opacity: 1;
}

/* Section Headings Animation */


.animated-heading.is-visible h4 {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseLine {
    0% {
        width: 30%;
        box-shadow: 0 0 5px rgba(255, 65, 108, 0.3);
    }

    50% {
        width: 80%;
        box-shadow: 0 0 20px rgba(255, 65, 108, 0.9);
    }

    100% {
        width: 30%;
        box-shadow: 0 0 5px rgba(255, 65, 108, 0.3);
    }
}

/* =============================================== BUTTON STYLES ========================================== */




.common-btn {
    background: linear-gradient(45deg, #18230f, #27391c, #255f38, #1f7d53fc) !important;
    border: none;
    border-radius: 25px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 10px rgba(17, 214, 254, 0.461);
    z-index: 500;
}

.common-btn:hover {
    background: linear-gradient(45deg, #764ba2, #667eea) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.655);
}



@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



.btn-primary::before,
.show-event-btn::before,
.show-notice-btn::before,
.admin-card .btn-color::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: 0;
}

.btn-primary span,
.show-event-btn span,
.show-notice-btn span,
.admin-card .btn-color span {
    position: relative;
    z-index: 1;
}


.show-more-btn {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

.show-more-btn:active {
    transform: translateY(0);
}

.text-centers {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    text-align: center !important;
}

/* ================================================ EVENT SECTION ========================================= */




.event-section {
    max-width: 1400px;
    margin: 0 auto 80px auto;
    padding: 0 15px;
}

.event-item {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card.event {
    max-width: 400px;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(50px);
}

.card.event.scrolled {
    opacity: 1;
    transform: translateY(0);
}

.card.event:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card.event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #18230F, #27391C, #255F38, #1F7D53) !important;
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-out;
}

.card.event:hover::before {
    transform: scaleX(1);
}

.card.event img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card.event:hover img {
    transform: scale(1.05);
}

.event-body {
    background: linear-gradient(145deg, #fdfdfc, #faf4f4, #fce9ec);
    padding: 25px;
    border-radius: 0 0 20px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.event-title {
    font-size: 1.3rem;
    color: #003808;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    text-align: center;
}

.event-date {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.event-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    max-width: 90%;
}

.event-text.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================= ABOUT SECTION ================================================= */




.about-section-container {
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 15px;
    text-align: center;
    justify-content: center;
}

.card.about-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #fdfdfc, #faf4f4, #fce9ec);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-out;
    opacity: 0;
    transform: translateY(50px);

}

.card.about-card.scrolled {
    opacity: 1;
    transform: translateY(0);
}

.card.about-card .card-body {
    padding: 40px;
}

.about-card h2 {
    color: #1F7D53;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-card p {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ================================================= NOTICE SECTION ============================================= */



/* Notice Grid */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Notice Cards */
.notice-card {
    background: linear-gradient(145deg, #fdfdfc, #faf4f4, #fce9ec);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
    justify-content: center;
    align-self: center;
}

.notice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 20px 20px 0 0;
}

.notice-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Priority Badges */
.priority-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.priority-badge::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;
}

.priority-badge:hover::before {
    left: 100%;
}

.priority-badge.high {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.priority-badge.medium {
    background: linear-gradient(135deg, #ffa726, #fb8c00);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 167, 38, 0.3);
}

.priority-badge.low {
    background: linear-gradient(135deg, #66bb6a, #43a047);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.3);
}

.priority-badge.urgent {
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    animation: pulse 2s infinite;
}


/* Notice Date */
.notice-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.notice-date i {
    color: #3255ef;
    font-size: 1rem;
}

/* Notice Description */
.notice-description {
    color: #0b0303;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}




/* No Notices Message */
.notice-grid p.text-muted {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}


/* Responsive Design */
@media (max-width: 768px) {
    .notice-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .notice-card {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .notice-title {
        font-size: 1.25rem;
    }

    .notice-section-container {
        padding: 1.5rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .notice-card {
        padding: 1rem;
    }

    .show-notice-btn {
        width: 100%;
        padding: 1rem;
    }
}



/*---============================================= Courses Section Styles ==================================--- */




/* Modern Course Section Styling */
.course-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.course-card {
    background: linear-gradient(145deg, #fdfdfc, #faf4f4, #fce9ec);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 2;
}

.course-image {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.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: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.course-content {
    padding: 25px;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.3;
}

.course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #4a5568;
}

.meta-item i {
    margin-right: 8px;
    color: #667eea;
}

.course-description {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.course-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
}

.course-price.free {
    color: #38a169;
}

.course-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.course-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.course-btn:hover i {
    transform: translateX(3px);
}

.no-courses {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px dashed rgba(102, 126, 234, 0.5);
}

.no-courses i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-courses h4 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.no-courses p {
    color: #718096;
    max-width: 500px;
    margin: 0 auto 20px;
}

.no-courses .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
}


/* Responsive */
@media (max-width: 768px) {
    .course-section {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .head-tittled h4 {
        font-size: 1.7rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.course-card:nth-child(1) {
    animation-delay: 0.1s;
}

.course-card:nth-child(2) {
    animation-delay: 0.2s;
}

.course-card:nth-child(3) {
    animation-delay: 0.3s;
}

.course-card:nth-child(4) {
    animation-delay: 0.4s;
}

.course-card:nth-child(5) {
    animation-delay: 0.5s;
}

.course-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Modal Container */
.course-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show Modal */
.course-modal.active {
    display: flex;
    opacity: 1;
}

/* Modal Content */
.c-modal-content {
    background: #ffffff;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Header */
.c-modal-header {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #004030, #4A9782, #DCD0A8, #FFF9E5);
    color: white;
}

.c-modal-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.c-modal-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
    color: #c3dafe;
}

/* Close Button */
.c-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    transition: background 0.3s ease;
}

.c-close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Modal Body */
.c-modal-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    overflow-y: auto;
}

/* Image Section */
.c-modal-image {
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Detail Section */
.c-modal-details {
    display: flex;
    flex-direction: column;
}

.c-detail-item {
    margin-bottom: 15px;
}

.c-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.c-detail-value {
    font-size: 0.95rem;
    color: #4a5568;
    word-break: break-word;
}

/* Description */
.c-modal-description {
    grid-column: 1 / -1;
    margin-top: 15px;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    color: #4a5568;
    font-size: 0.95rem;
}

/* Footer */
.c-modal-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: #fafafa;
}

.c-modal-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
}

.c-modal-price.free {
    color: #38a169;
}

/* Enroll Button */
.c-modal-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.c-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .c-modal-body {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .c-modal-image {
        height: 200px;
    }

    .c-modal-title {
        font-size: 1.4rem;
    }

    .c-modal-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .c-modal-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .course-modal {
        padding: 10px;
    }

    .c-modal-image {
        height: 180px;
    }

    .c-modal-title {
        font-size: 1.2rem;
    }

    .c-modal-subtitle {
        font-size: 0.85rem;
    }

    .c-detail-label {
        font-size: 0.7rem;
    }

    .c-detail-value {
        font-size: 0.9rem;
    }

    .c-modal-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .c-modal-price {
        font-size: 1.1rem;
    }
}



/* ===== ADMIN PANEL ===== */
.admin-panel-section {
    max-width: 1400px;
    margin: 0 auto 80px auto;
    padding: 0 15px;
    justify-content: center;
    text-align: center;
}

.admin-panel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: center;
}

.card.admin-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #fdfdfc, #faf4f4, #fce9ec);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-out;
    opacity: 0;
    transform: translateY(50px);
}

.card.admin-card.scrolled {
    opacity: 1;
    transform: translateY(0);
}

.card.admin-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card.admin-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.card.admin-card .card-body {
    padding: 20px;
}

.card.admin-card .card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1F7D53;
    margin-bottom: 15px;
}



/* ===== MODAL ===== */
.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    background: white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideInUp 0.4s ease;
}

.modal-header {
    background: linear-gradient(135deg, #004030, #4A9782, #DCD0A8, #FFF9E5, #004030);
    color: white;
    border-bottom: none;
    padding: 20px 30px;
}

.modal-title {
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
}

.btn-close {
    filter: invert(1);
    font-size: 1.2rem;
}

.modal-body {
    padding: 30px;
    background: linear-gradient(145deg, #ffffff, #f8f9ff);
}

.modal-body img {
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modal-body .modal-date {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
}

.modal-body .modal-description {
    line-height: 1.8;
    color: #444;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .admin-panel-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .animated-heading h4 {
        font-size: 2rem;
    }

    .event-item,
    .notice-grid,
    .course-section-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .admin-panel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        margin-top: 56px;
    }

    .hero-section {
        height: 450px;
    }

    .carousel-item img {
        height: 450px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .head-tittled {
        margin-top: 50px;
        margin-bottom: 40px;
    }

    .animated-heading h4 {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
    }

    .event-item,
    .notice-grid,
    .course-section-container,
    .admin-panel-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card.event,
    .notice-card,
    .card.course-card,
    .card.admin-card {
        padding: 1.5rem;
    }

    .event-title,
    .notice-title,
    .course-card .card-title,
    .card.admin-card .card-title {
        font-size: 1.25rem;
    }

    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-body img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 40px;
    }

    .hero-section {
        height: 350px;
    }

    .carousel-item img {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .animated-heading h4 {
        font-size: 1.5rem;
    }

    .modal-body img {
        height: 150px;
    }
}












/* =================================================== SCROLL ANIMATIONS ======================================== */
/* Base Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s ease-out;
}

/* Hero Section - Fade In */
.hero-content.animate-on-scroll {
    transform: translateY(30px);
}

/* Events Section - Slide Up */
.event-section .animate-on-scroll {
    transform: translateY(50px);
}

/* About Section - Slide From Left */
.about-section-container .animate-on-scroll {
    transform: translateX(-50px);
}

/* Notice Section - Slide From Right */
.notice-section-container .animate-on-scroll {
    transform: translateX(50px);
}

/* Courses Section - Slide Up */
.course-section-container .animate-on-scroll {
    transform: translateY(50px);
}

/* Admin Section - Zoom In */
.admin-panel-section .animate-on-scroll {
    transform: scale(0.9);
}

/* Active Animation States */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0) scale(1) !important;
}

/* Button Animation */
#showMoreBtn.animate-on-scroll,
#showMoreEventsBtn.animate-on-scroll,
#showMoreNoticesBtn.animate-on-scroll {
    transition-delay: 0.3s;
}

/* Animation Timing */
.card.event.animate-on-scroll {
    transition-delay: calc(0.1s * var(--item-index));
}

.notice-card.animate-on-scroll {
    transition-delay: calc(0.1s * var(--item-index));
}

.course-card.animate-on-scroll {
    transition-delay: calc(0.1s * var(--item-index));
}

.admin-card.animate-on-scroll {
    transition-delay: calc(0.1s * var(--item-index));
}

/* Keyframes for special animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}









.empty-notice-state {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border: 1px solid #e9ecef;
    max-width: 1200px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.empty-notice-state:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}