/*
Theme Name: Edunexion
Author: Maurice Portilla
Version: 1.1
*/

/* -----------------------------------------
   GLOBAL SECTION SPACING
------------------------------------------ */
section {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    margin-bottom: 60px !important;
}

/* -----------------------------------------
   FIX OVERLAPPING BETWEEN ROWS
------------------------------------------ */
.row {
    margin-bottom: 40px;
}

/* -----------------------------------------
   CARD / BOX SPACING (Edu7, Flow, etc.)
------------------------------------------ */
.meeting-item,
.owl-service-item .item,
.owl-courses-item .item {
    margin-bottom: 40px !important;
    padding-bottom: 20px;
}

/* Prevent cards from touching sidebar */
.upcoming-meetings .col-lg-8 .row {
    margin-bottom: 60px !important;
}

/* -----------------------------------------
   SIDEBAR SPACING (Our Applications)
------------------------------------------ */
.categories {
    margin-top: 20px;
    margin-bottom: 40px;
}

.categories ul li {
    margin-bottom: 12px;
}

/* -----------------------------------------
   VIDEO SPACING
------------------------------------------ */
#Edu7-video {
    margin-bottom: 20px;
    border-radius: 6px;
}

/* -----------------------------------------
   MOBILE RESPONSIVE FIXES
------------------------------------------ */
@media (max-width: 991px) {

    /* Add space between stacked sections */
    section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        margin-bottom: 40px !important;
    }

    /* Cards stack cleaner */
    .meeting-item {
        margin-bottom: 50px !important;
    }

    /* Sidebar moves below content */
    .categories {
        margin-top: 40px;
    }

    /* Prevent video overflow */
    video {
        width: 100% !important;
        height: auto !important;
    }
}

/* -----------------------------------------
   EXTRA POLISH — CLEAN VISUAL BALANCE
------------------------------------------ */
.section-heading {
    margin-bottom: 50px !important;
}

.down-content {
    padding-top: 20px;
}

.owl-carousel .item {
    padding: 10px;
}

/* -----------------------------------------
   FIX COLLAPSING ROW IN DEMOS SECTION
------------------------------------------ */
.demos .col-lg-8 .row::after {
    content: "";
    display: block;
    clear: both;
}

/* Add spacing below the card row */
.demos .col-lg-8 .row {
    margin-bottom: 60px !important;
}

.demos {
    margin-bottom: 80px !important;
}

/* -----------------------------------------
   FOOTER STYLING
------------------------------------------ */
section.footer {
    background-color: #1e1e1e !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 30px 20px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 60px !important;
    display: block !important;
}

section.footer p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #ffffff !important;
}
