* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 12px;
}

a {
    text-decoration: none;
}

body,
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.main_wrapper {
    min-height: 100vh;
    display: block;
}

/* loader */

/* Loader Wrapper */
/*#loader {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100vh;*/
/*    background: #fff;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    z-index: 9999;*/
/*    transition: opacity 0.5s ease, visibility 0.5s ease;*/
/*}*/

/* Spinner Animation */
.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ddd;
    border-top-color: #15367D;
    /* your theme color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hide loader when done */
#loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* ---------- Top Header ---------- */
/* ===== Top Header ===== */
.top-header {
    /* background: linear-gradient(90deg, #286400, #095f51); */
    background: #000;
    color: #fff;
    font-size: 15px;
    padding: 0;
    margin: 0;
    position: relative;

}

.top-header a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.top-header a:hover {
    text-decoration: underline;
}

.top-header i {
    margin-right: 6px;
    color: #fff;
}

.social-icons {
    position: absolute;
    right: 0;
    top: 10px;
}

.social-icons a {
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #e0f7fa;
    transform: scale(1.1);
}

/* Separator only on medium screens and up */
.separator {
    margin: 0 10px;
}

/* Responsive behavior */
@media (max-width:768px) {
    .contact-info {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        margin-top: 5px;
    }

    .social-icons {
        display: none;
    }
}


@media (max-width: 480px) {
    .top-header {
        font-size: 13px;
        padding: -3px;
    }

    .social-icons a {
        font-size: 16px;
        margin-right: 4px;
    }
}

.product-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute !important;
    z-index: 9999 !important;
}

.dropdown-menu h6 {
    font-size: 20px;
    font-weight: 600;
    text-align: left;
}

.product-dropdown:hover .dropdown-menu {
    display: block !important;
}

/* navabar_php */
/* Sticky Navbar */
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
}

/* Active Category */
.active-category {
    background-color: #02688e;
    color: #fff !important;
    font-weight: 600;
    border-radius: 6px;
}

/* Nav active */
.nav-link.active {
    color: #02688e !important;
    font-weight: 600;
}



/* ---------- Navbar ---------- */
.navbar_wrapper {
    width: 100%;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.150);
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    /* or your site color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
}

/* shadow when scrolled */
.navbar_wrapper.scrolled {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Fallback: fixed header (if you prefer always-fixed) */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 40px;
    width: 100%;
    margin-left: 30px;
}

@media (max-width:765px) {
    .navbar-brand img {
        height: 40px;
        margin-left: 0;
    }
}

.navbar-toggler {
    background: transparent;
    color: #000000;
    border: 1px solid #000;
    padding: 2px 8px;
    border-radius: 5px;
}

.navbar-nav .nav-link {
    color: #000000;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s ease;
    font-size: 17px;
    margin: 10px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #312c1f !important;
    font-size: 18px;
    font-weight: 500;
    /* green accent */
}


.offcanvas-header {
    border-bottom: 1px solid #000;
}

.offcanvas-header img {
    max-height: 70px;
}

.offcanvas-title {
    display: flex;
}

.offcanvas-body {
    background-color: #ffffff;
}

.Consult_btn {
    background-color: #020020;
    padding: 10px 35px;
    margin-right: 20px;
    transition: 0.3s ease-in-out;
    border-radius: 10px;
    color: #ffffff;
}

.Consult_btn a {
    color: #ffffff;
}

.Consult_btn:hover {
    background: #15367D;
}

@media (max-width:765px) {
    .Consult_btn {
        background-color: #15367D;
        padding: 10px;
        width: 50%;
        margin-right: 20px;
        margin-top: 10px;
        transition: 0.3s ease-in-out;
    }
}


@media (max-width: 991px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
    }

    .dropdown-item {
        padding-left: 25px;
    }
}

.Take_delarship a {
    background: #0d6efd;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.logout-btn {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 15px;
}

.logout-btn:hover {
    background-color: #dc3545;
}

/* Mega Menu */
/* Mega menu wrapper */
.mega-dropdown {
    position: static;
}

/* Mega menu container */
.mega-menu {
    width: 60%;
    /* control width */
    left: 50% !important;
    /* move to center */
    transform: translateX(-50%);
    right: auto !important;
    top: 100%;
    margin-top: 10px;
    background: #1f2a44;
    border-radius: 10px;
    padding: 30px;
    border: none;
}


.mega-menu h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.mega-menu .dropdown-item {
    color: #dcdcdc;
    padding: 6px 0;
}

.mega-menu .dropdown-item:hover {
    color: #ffc107;
    background: none;
}

/* Hover for Desktop */
@media (min-width: 992px) {
    .mega-dropdown:hover .mega-menu {
        display: block;
    }
}

/* navbar-exit */

/* banner */
.banner_wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    background: #212529;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

/* Canvas for animated particles */
#bannerParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Content above particles */
.banner_content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.banner_content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

@media (max-width:678px) {
    .banner_content h1 {
        font-size: 36px;
        font-weight: 800;
        margin-bottom: 15px;
    }

}

.breadcrumb {
    display: inline-block;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    font-size: 16px;
    color: #000000;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.breadcrumb a {
    color: #000000;
    /* warm golden yellow accent */
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: #494949;
    text-decoration: underline;
}

.breadcrumb span {
    color: #000000;
    opacity: 1;
}

/* banner exit */
/* carousal */
/* Main carousel images */
.carousel-item {
    position: relative;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    /* Desktop height */
    object-fit: cover;
    object-position: center;
}

/* 📱 Mobile Responsive Fix */
@media (max-width: 768px) {
    .carousel-item img {
        height: auto;
        object-fit: contain;
        object-position: center;
        justify-content: center;
        /* margin-top: -66px; */
    }


    .carousel-caption {
        bottom: 40px;
        /* Move captions up for small screens */
        padding: 0 10px;
    }

    .carousel-caption h5 {
        font-size: 1.3rem;
        padding: 6px 12px;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .carousel-caption h5 {
        font-size: 1.4rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
    }

    .carousel-caption {
        bottom: 80px;
    }
}

/* carousal-exit */

.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: .3s;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    margin: auto;
}


/* SAP COURSE */
.sap_course {
    padding: 50px 0;
    background: #f8f9fa;
}

.sap_course h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.sap-course-row>div {
    margin-bottom: 15px;
}

.sap-course-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background: #0d6efd;
    border: 1px solid #dee2e6;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.sap-course-row a:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.section-title {
    font-weight: 700;
    letter-spacing: .5px;
}

.why-sap ul li {
    line-height: 1.8;
}

.sap-career .card img {
    height: 220px;
    object-fit: cover;
}
/* ==============================
   SAP CAREER IMAGE HEIGHT FIX
============================== */

.sap-card .card-img-top {
    height: 230px;        /* same height for all images */
    width: 100%;
    object-fit: cover;    /* keeps image proportional */
    border-radius: 5px;
}


/* SAP COURSE END*/

/* recomended tool */
.sap-tools {
    padding: 60px 0;
    background: #e9f9fe;
}

.section-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
    text-align: left;
    display: flex;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.tool-card {
    background: #ffffff;
    border-radius: 100%;
    padding: 20px 20px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.tool-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 15px;
}

.tool-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 14px;
    color: #555;
}

/* Mobile optimization */
@media (max-width: 576px) {

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-card:nth-child(5) {
        grid-column: 1 / -1;
        justify-self: center;
        width: 160px;
    }

    .tool-card {
        padding: 12px;
    }

    .tool-card p {
        font-size: 12px;
    }

    .tool-card h5 {
        font-size: 16px;
    }
}


/* recomended tool exit */
/* Top tutorials */
.top-tutorials {
    padding: 40px 0;
    background: #f6fbfd;
}

.section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* Desktop: 6 in one row */
    gap: 40px;
    text-align: center;
}

/* Tablet */
@media (max-width: 992px) {
    .tutorial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .tutorial-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Mobile: 2 per row */
    }

    .icon-circle {
        width: 100px;
        height: 100px;
        font-size: 22px;
    }
}


.icon-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.tutorial-item h5 {
    margin-top: 15px;
    font-weight: 600;
}

/* Colors */
.yellow {
    background: #ffe45c;
}

.orange {
    background: #ff8a5b;
}

.green {
    background: #b7e4a5;
}

.dark-green {
    background: #7cb518;
}

.blue {
    background: #74c0fc;
}

.light-yellow {
    background: #ffeb99;
}

/* Mobile */
@media (max-width: 576px) {
    .icon-circle {
        width: 110px;
        height: 110px;
        font-size: 24px;
    }
}

/*Top SAP Tutorials */

/* Recent update */
.recent-updates {
  padding: 60px 20px;
  background: #f9fafe;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f1a2b;
  margin-bottom: 40px;
}

/* Grid Layout */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Card Styling */
.update-card {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Tags */
.update-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

/* Tag Colors */
.new-course { background: #007bff; }
.batch { background: #17a2b8; }
.certification { background: #6f42c1; }
.workshop { background: #28a745; }
.hr { background: #fd7e14; }
.placement { background: #e83e8c; }

/* Card Text */
.update-card h3 {
  font-size: 1.2rem;
  color: #0f1a2b;
  margin-bottom: 8px;
}

.update-card p {
  color: #495057;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.update-date {
  font-size: 0.8rem;
  color: #868e96;
  display: block;
}

/* Recent update Exit */

/* About  */
.about-page {
    background-color: #f9fafb;
}

.about-page h2 {
    font-size: 22px;
    color: #15367D;
    font-weight: 600;
    text-align: center;
}

.section-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.about-page p {
    color: #000000;
    line-height: 1.8;
    font-size: 16px;
}

.about-list {
    padding-left: 18px;
}

.about-list li {
    margin-bottom: 8px;
    color: #4b5563;
}

/* About exit */
/* Course */
.category-section {
    background: #f9fafb;
}

.category-list .list-group-item {
    border: none;
    padding: 15px 20px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.category-list .list-group-item.active {
    background: #0d6efd;
    color: #fff;
}

.category-list a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-content {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.category-box {
    display: none;
}

.category-box.active {
    display: block;
}

.category-box h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.category-box ul {
    padding-left: 18px;
    margin-bottom: 15px;
}

.category-box ul li {
    margin-bottom: 8px;
    color: #4b5563;
}

.category-box p {
    color: #6b7280;
    line-height: 1.7;
}

/* Course_exit */
/* /* contact */
.contact-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.contact-header h1 {
    font-weight: 700;
}

.contact-header p {
    color: #6b7280;
}

.contact-info-card,
.contact-action-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.contact-info-card h4,
.contact-action-card h4 {
    font-weight: 600;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.info-item i {
    font-size: 20px;
    color: #0d6efd;
    margin-top: 5px;
}

.info-item p {
    margin: 0;
    color: #4b5563;
}

.info-item a {
    color: #0d6efd;
    text-decoration: none;
}

.contact-action-card p {
    color: #6b7280;
    margin-bottom: 25px;
}

.contact-action-card .btn {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 10px;
    font-weight: 500;
}

.btn-call {
    background: #0d6efd;
    color: #fff;
}

.btn-email {
    background: #6366f1;
    color: #fff;
}

.btn-whatsapp {
    background: #22c55e;
    color: #fff;
}

.btn:hover {
    opacity: 0.9;
}

.contact-map iframe {
    width: 100%;
    height: 420px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* contact Exit */
/* footer_start */
.footer {
    background-color: #215a77;
    color: #fff;
    padding: 50px 20px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
    max-width: 1200px;
}

.footer-column {
    flex: 1 1 220px;

}

.footer-column img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-column h4 {
    position: relative;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 5px;
}

.footer-column ul,
.footer-column a {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

.footer-column p {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    width: 250px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-column a:hover {
    color: #000000;
    font-weight: 600;
}


.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons img {
    width: 18px;
    height: 18px;
    filter: brightness(1) invert(1);
    /* makes icons white */
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        /* margin: 20px 0; */
        margin: 0;
    }
}

/* footer_End */
/* copyright */
.copyright-section {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #fff;
    font-size: 12px;
    background-color: #000000;
}

.copyright-section a {
    color: red;
    font-weight: 500;
    text-decoration: none;
    color: #fff;

}

.copyright-section p {
    font-size: 15px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    margin-bottom: 0;
}

/* logo_mobile */

/* Fixed_whatsapp */

.Whatsapp_fixed_icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25D366;
    padding: 10px;
    border-radius: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.Whatsapp_fixed_icon:hover {
    transform: scale(1.1);
}

.Whatsapp_fixed_icon a {
    color: white;
    font-size: 24px;
}

/* Tap_aarrow */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 80px;
    background-color: #00a51c;
    color: rgb(0, 0, 0);
    padding: 5px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top:hover {
    transform: scale(1.1);
}

.scroll-to-top i {
    font-size: 18px;
}

/* Tap_aarrow */

/* Admin login */
.admin-profile {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.admin-profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.admin-info h4 {
    font-size: 15px;
    margin: 0;
}

.admin-info small {
    color: #777;
    font-size: 12px;
}

.admin-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

/* Desktop Login Background */
.login-wrapper {
    height: 100vh;
    background: url("./images/Banner/admin-bg.jpg") no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;

}

.LOGIN {
    background-color: #000;
    margin: auto !important;
    width: 100%;
    /* background: url("./images/Banner/admin-bg.jpg") no-repeat center center/cover; */
}

/* Login Card */
.login-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    width: 380px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

/* Input Fields */
.input-group {
    margin-bottom: 18px;
}

.input-group label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
}

.input-group input:focus {
    border-color: #0d6efd;
}

/* Button */
.login-btn {
    width: 100%;
    padding: 12px;
    background: #0d6efd;
    border: none;
    color: #fff;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
}

.login-btn:hover {
    background: #0b5ed7;
}

.sidebar ul li a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
}

.sidebar ul li.logout a {
    color: #dc3545;
}

.sidebar ul li.logout:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 12px 15px;
    cursor: pointer;
}

.sidebar ul li a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.dropdown-menu {
    display: none;
    padding-left: 20px;
}

.dropdown-menu li {
    padding: 8px 0;
    font-size: 14px;
}

.dropdown.active .dropdown-menu {
    display: block;
}


/* Mobile Warning */
.mobile-warning {
    display: none;
    height: 100vh;
    background: #0f172a;
    color: #fff;
    text-align: center;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mobile-warning h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.mobile-warning p {
    font-size: 16px;
    color: #cbd5f5;
}

/* Responsive Rule */
@media (max-width: 991px) {
    .login-wrapper {
        display: none;
    }

    .mobile-warning {
        display: flex;
    }
}

form a {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Admin login exit  */
/* dashboard */


body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f9;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background: #1f2937;
    color: #fff;
    padding: 20px;
}

.sidebar .logo {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 12px;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 8px;
}

.sidebar ul li:hover,
.sidebar ul li.active {
    background: #2563eb;
}

.sidebar i {
    margin-right: 10px;
}

/* Content */
.content {
    flex: 1;
    padding: 25px;
}

/* Topbar */
.topbar {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Sections */
.section {
    display: none;
}

.active-section {
    display: block;
}

/* Cards */
.stat-card {
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: none;
}

.stat-card h2 {
    color: #2563eb;
}

/* Course Card */
.course-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media(max-width: 768px) {
    .sidebar {
        display: none;
    }

    .content {
        padding: 15px;
    }
}

/* dashboard exit */

/* catagory */
/* Main content beside sidebar */
.category-section_inner {
    /* background: #f9fafb; */
    width: 100%;
    padding: 46px;
}

/* Header layout */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.category-header h3 {
    margin: 0;
    font-weight: 600;
}

/* Search + Button */
.category-actions {
    display: flex;
    gap: 12px;
}

.category-actions input {
    width: 260px;
}


.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.sap_cata {

    padding: 10px 26px !important;
    font-size: 16px;
    font-weight: 500;
}

/* Card */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

/* Table header */
.table thead {
    background: #0f172a;
    color: #fff;
}

.table th {
    font-weight: 500;
    border: none;
}

/* Action buttons */
.btn-light {
    background: #f8f9fa;
    border: none;
}

.btn-light:hover {
    background: #e9ecef;
}

/* Mobile */
@media (max-width: 768px) {
    .category-actions {
        width: 100%;
        flex-direction: column;
    }

    .category-actions input {
        width: 100%;
    }
}


.post-content p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 18px;
    color: #333;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 25px 0;
    border-radius: 10px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.post-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #333;
}

.post-content img {
    display: block;
    max-width: 100%;
    margin: 30px auto;
    border-radius: 12px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

.blog-content h2,
.blog-content h3 {
    margin-top: 30px;
    font-weight: 600;
}


/* FIX ADMIN CONTENT WIDTH */
/* ===============================
   ADMIN LAYOUT FIX
================================ */
.content-wrapper {
    padding: 40px 122px;
}

/* ===============================
   BLOG CONTAINER
================================ */
.blog-container {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
}

/* ===============================
   HEADER
================================ */
.blog-header {
    margin-bottom: 25px;
}

.blog-header h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
}

.blog-meta {
    font-size: 14px;
    color: #777;
    margin-top: 8px;
}

/* ===============================
   FEATURE IMAGE
================================ */
.blog-feature-image {
    margin: 25px 0 35px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-feature-image img {
    width: 100%;
    height: 230px;
    /* CONTROL IMAGE SIZE */
    object-fit: cover;
    display: block;
}

/* ===============================
   BLOG CONTENT
================================ */
.blog-content {
    font-size: 17px;
    line-height: 1.85;
    color: #333;
}

.blog-content p {
    margin-bottom: 18px;
}

.blog-content h2,
.blog-content h3 {
    margin-top: 35px;
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 22px 0;
}

/* ===============================
   GALLERY
================================ */
.blog-gallery-section {
    margin-top: 45px;
}

.blog-gallery-section h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}

.blog-gallery img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 25px 15px;
    }

    .blog-header h1 {
        font-size: 26px;
    }

    .blog-feature-image img {
        height: 190px;
    }
}
.blog-wrapper {
    padding: 50px !important;
}

/* catagory_post.php  */
/* ===============================
   POST CARD STYLE
================================ */
.post-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
}

.read-btn:hover {
    text-decoration: underline;
}

/* ===============================
   SIDEBAR CATEGORY
================================ */
.category-list a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #f8f9fa;
    color: #000;
    text-decoration: none;
    transition: 0.3s;
}

.category-list a:hover,
.category-list a.active {
    background: #0d6efd;
    color: #fff;
}
