/* ===============================
Responsive Navbar
=============================== */

/* Tablet & Mobile */
@media (max-width: 991px) {

    .main-content {
        margin-left: 0;
        margin-top: 0;
        box-shadow: none;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar-collapse {
        background: #fff;
        padding: 15px;
        border-top: 1px solid #eee;
    }

    .navbar-nav {
        width: 100%;
        align-items: flex-start !important;
    }

    .nav-link {
        padding: 10px 0 !important;
        font-size: 14px;
    }

    /* Dropdown becomes full width */
    .dropdown-menu-custom {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 10px 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background: #f9f9f9;
    }

    /* Show when active */
    .dropdown-parent.active .dropdown-menu-custom {
        display: block;
    }

    .dropdown-menu-custom li {
        padding-left: 10px;
    }

    /* Utility section */
    .utility-box {
        width: 100%;
        margin-bottom: 10px;
        display: flex;
        justify-content: space-between;
    }
}


/* --- DESKTOP RESPONSIVE (992px and up) --- */
@media (min-width: 992px) {
    .slider-container {
        flex-direction: row; /* Desktop: side by side */
        height: 600px;
        text-align: left;
        padding: 0 8%;
    }

    .slider-container.reverse {
        flex-direction: row-reverse;
    }

    .slider-text-side, .slider-image-side {
        flex: 1;
    }

    .slider-image-side {
        max-width: none;
        height: 100%;
        display: flex;
        align-items: flex-end; /* Sits at bottom */
        margin-bottom: 0;
    }

    .slider-image-side img {
        max-height: 90%;
        width: auto;
    }

    .slider-label { font-size: 3rem; }
    .slider-title { font-size: 3rem; max-width: 500px; }
    .slider-subtitle { font-size: 1.1rem; max-width: 450px; }
}



/* ===============================
   sidebar RESPONSIVE DESIGN
=============================== */

/* ---LARGE (1200px ↓) --- */
@media (max-width: 1200px) {
    .product-item {
        flex: 0 0 300px;
    }

    .product-card {
        width: 280px;
        height: 460px;
    }
}


/* ---------- TABLET (992px ↓) ---------- */
@media (max-width: 992px) {

    /* Stack layout */
    .sidebar-nav-item .row {
        flex-direction: column;
    }

    /* Sidebar menu horizontal */
    .sidebar-nav {
        flex-direction: row !important;
        justify-content: center;
        margin-bottom: 10px;
    }

    .sidebar-link {
        margin-right: 20px;
        font-size: 0.95rem;
    }

    /* Center menu box */
    .sidebarNavbarMenu {
        margin-left: 0;
        width: 100%;
        height: 200px;
    }

    /* Cards */
    .product-item {
        flex: 0 0 260px;
    }

    .product-card {
        width: 240px;
        height: 420px;
    }
}


/* ---------- MOBILE (768px ↓) ---------- */
@media (max-width: 768px) {

    /* Sidebar nav scrollable */
    .sidebar-nav {
        /* overflow-x: auto; */
        white-space: nowrap;
        flex-wrap: nowrap !important;
        /* padding-bottom: 10px; */
    }

    .sidebar-link {
        display: inline-flex;
        padding: 10px;
        font-size: 0.9rem;
    }

    /* Products scroll smoother */
    .product-scroll-area {
        padding: 20px 0;
        cursor: grab;
        -webkit-overflow-scrolling: touch;
    }

    /* Cards smaller */
    .product-item {
        flex: 0 0 220px;
    }

    .product-card {
        width: 200px;
        height: 360px;
    }

    .product-card img {
        max-height: 150px;
    }

    /* Text smaller */
    .brand-name {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .description {
        font-size: 0.8rem;
    }
}


/* ---------- SMALL MOBILE (480px ↓) ---------- */
@media (max-width: 480px) {

    .product-item {
        flex: 0 0 180px;
    }

    .product-card {
        width: 160px;
        height: 320px;
    }

    .product-card img {
        max-height: 120px;
        margin-bottom: 20px;
    }

    .sidebar-link {
        font-size: 0.8rem;
    }

    .section-label-bottom {
        font-size: 0.65rem;
    }
}





/* ==========================================================================
   PREMIUM TESTIMONY CARDS SYSTEM (PRO EXTERNAL LAYER)
   ========================================================================== */
.instructor-testimonial-section {
    background-color: #f1f3f4 !important;
    padding-bottom: 100px;
}

/* Section Header Typography Accentuation */
.instructor-testimonial-section .sub-title {
    font-size: 0.85rem;
    color: #ffffff; 
    letter-spacing: 1.5px;
}

.instructor-testimonial-section .main-title {
    font-size: 2.5rem;
    color: #e52e71; 
    letter-spacing: -0.5px;
}

/* Individual Content Profile Card Box Model */
.instructor-profile-card {
    background-color: #ffffff; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 20px; 
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); 
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Hover Lift Interaction */
.instructor-profile-card:hover {
    transform: translateY(-8px);
    border-color: #e52e71;
    box-shadow: 0 20px 40px rgba(229, 46, 113, 0.15); 
}

/* Profile Avatar Ring Configuration */
.profile-avatar-frame {
    width: 110px; 
    height: 110px;
    border-radius: 50%;
    border: 3px solid #9ea8b4; 
    overflow: hidden;
    padding: 0;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.instructor-profile-card:hover .profile-avatar-frame {
    border-color: #e52e71;
    transform: scale(1.04);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Inner Card Component Typography */
.profile-name {
    color: #0f172a !important; 
}

.profile-role {
    color: #e52e71;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.comment-body-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #64748b !important;
    font-style: italic;
}

/* Rating Stars Positioning Settings */
.comment-rating-stars {
    font-size: 0.78rem;
}

.comment-rating-stars .text-warning {
    color: #ffb100 !important; /* Premium golden yellow star color value */
}

.comment-rating-stars .text-muted {
    color: var(--neutral-300, #cbd5e1) !important;
}

/* System Dark Mode Structural Safety Layer */
@media (prefers-color-scheme: dark) {
    .instructor-testimonial-section {
        background-color: #f1f3f4 !important;
        padding-bottom: 80px !important;
    }
    .instructor-profile-card {
        background-color: #ffffff !important;
    }
}
