﻿.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--edxl-blue-color);
    margin-bottom: 3rem;
}

@media(max-width: 992px){
    .section-title{
        font-size: 2rem;
    }
}
.success {
    color: white;
}

.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.popup-box {
    width: 330px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    animation: zoomIn 0.4s ease;
}

.popup-header {
    background: #7AC943;
    color: #fff;
    text-align: center;
    padding: 25px 15px;
    border-radius: 16px 16px 0 0;
}

.success-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 26px;
    border: 3px solid #fff;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 10px;
}

.popup-body {
    padding: 25px 20px;
    text-align: center;
}

    .popup-body p {
        color: #555;
        font-size: 14px;
        margin-bottom: 20px;
    }

.continue-btn {
    background: #7AC943;
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: 25px;
    cursor: pointer;
    transition: .2s;
    font-size: 15px;
}

    .continue-btn:hover {
        background: #6ab03d;
    }

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.course-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease-in-out;
    margin-bottom: 30px;
}

    .course-card:hover {
        transform: translateY(-6px);
    }

.course-title a {
    position: relative;
    text-decoration: none;
    /* color: #000; */
    transition: all 0.3s ease-in-out;
}

    .course-title a::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -3px;
        left: 0;
        background: #eb3e31; /* red underline */
        transition: width 0.3s ease-in-out;
    }

    .course-title a:hover::after {
        width: 100%;
    }


.course-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.course-content {
    padding: 20px;
    text-align: left;
}

.course-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.course-duration {
    font-size: 14px;
    color: #007bff;
    font-weight: 500;
}

/*.training-section {
    padding: 60px 0;*/
    /* background: #f5f7fb; */
/*}*/

.training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}



/* ------------------------------
       Responsive Upcoming Events
    ------------------------------ */

/* Title Arrow SVG */
.section-title__tagline svg {
    height: 15px;
    width: auto;
    fill: #F57005;
}

/* Grid Responsive */
#eventList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
#pastEventList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    /*padding:10px;*/
}

/* Tablet */
@media (max-width: 992px) {
    #eventList {
        grid-template-columns: repeat(2, 1fr);
    }
    #pastEventList {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    #eventList {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #pastEventList {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Event Card */
.event-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    padding:10px;
}

    .event-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }
.event-card past{
    padding:10px;

}


   
    /* Image */
    /*.event-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}*/
    /* Body */
    .event-body {
        padding: 20px 22px;
    }

.event-title {
    font-size: 20px;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 12px;
}

/* Info Icons */
.event-info {
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

    .event-info i {
        color: #F57005;
        font-size: 16px;
    }

.event-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

    /* Buttons take equal width */
    .event-buttons a {
        flex: 1;
        text-align: center;
    }


/* Book Button */
.event-card .eduact-btn {
    /* margin-top: 15px; */
}

/* -------- Modal Styling -------- */
#regModal .modal-body {
    padding: 20px 25px;
}

#regModal h5 {
    font-weight: 600;
    color: #2d2d2d;
}

#regModal .form-control {
    border-radius: 8px;
    height: 42px;
    border: 1px solid #d1d1d1;
}

    #regModal .form-control:focus {
        box-shadow: none;
        border-color: #0d6efd;
    }

/* Table Styling */
#teacherTable {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

    #teacherTable thead th {
        background: #f3f6f9;
        color: #333;
        font-weight: 600;
        padding: 10px;
        border-bottom: 2px solid #dee2e6 !important;
    }

    #teacherTable tbody td {
        padding: 10px 12px;
        vertical-align: middle;
    }

    #teacherTable tbody tr:hover {
        background: #f8fafc;
    }

    /* Remove Button */
    #teacherTable .btn-danger {
        padding: 5px 10px;
        border-radius: 6px;
    }

        #teacherTable .btn-danger i {
            font-size: 14px;
        }

/* Add More */
#addTeacherBtn {
    border-radius: 6px;
    padding: 6px 12px;
}

    #addTeacherBtn i {
        margin-right: 4px;
    }


/* Modal Header */
#regModal .modal-header {
    background: #f6f8fa;
    border-bottom: 1px solid #e1e4e8;
}

/* Modal Footer */
#regModal .modal-footer {
    background: #f6f8fa;
    border-top: 1px solid #e1e4e8;
    padding: 12px 20px;
}

/* Submit Button Enhancement */
#regModal .btn-primary {
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
}


/* Responsive */
@media (max-width: 768px) {
    

    .event-title {
        font-size: 18px;
    }
}

