/* ==========================================================================
   DESIGN SYSTEM & CORE STYLES
   ========================================================================== */
:root {
    --primary-color: #4f46e5;      /* Indigo */
    --primary-hover: #4338ca;
    --primary-light: #e0e7ff;
    --secondary-color: #06b6d4;    /* Cyan */
    --text-dark: #1e293b;          /* Slate 800 */
    --text-muted: #64748b;         /* Slate 500 */
    --bg-light: #f8fafc;           /* Slate 50 */
    --bg-glass: rgba(255, 255, 255, 0.75);
    --border-glass: rgba(255, 255, 255, 0.3);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
    --shadow-premium: 0 10px 30px -5px rgba(79, 70, 229, 0.1), 0 4px 6px -2px rgba(79, 70, 229, 0.05);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   GLASSMORPHISM UTILITIES
   ========================================================================== */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.icon-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.icon-logo span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.image-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.image-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.image-logo span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.btn-nav-login {
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.btn-nav-login:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-nav-admin {
    background-color: var(--primary-color);
    color: #fff !important;
}

.btn-nav-admin:hover {
    background-color: var(--primary-hover) !important;
}

.btn-nav-logout {
    border: 1px solid #ef4444;
    color: #ef4444 !important;
}

.btn-nav-logout:hover {
    background-color: #ef4444 !important;
    color: #fff !important;
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-slider-section {
    width: 100%;
    margin-bottom: 40px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background-color: #0f172a;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.slide-caption {
    position: absolute;
    bottom: 50px;
    left: 8%;
    right: 8%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    padding: 24px 36px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary-color);
    max-width: 650px;
    animation: fadeInUp 1s ease-out;
}

.slide-caption h2 {
    color: #fff;
    font-size: 2.2rem;
    margin: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(5px);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.25);
    width: 25px;
    border-radius: 10px;
}

/* ==========================================================================
   PUBLIC LAYOUT GRID
   ========================================================================== */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding-bottom: 60px;
    align-items: start;
}

.content-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.welcome-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.welcome-section h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.welcome-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.section-title i {
    color: var(--primary-color);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.course-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-light);
}

.course-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.course-card h4 {
    font-size: 1.15rem;
}

.course-code {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

/* ==========================================================================
   QUICK INQUIRY FORM PANEL
   ========================================================================== */
.inquiry-column {
    position: sticky;
    top: 90px;
}

.inquiry-card {
    padding: 30px;
}

.inquiry-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
}

.inquiry-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

textarea.form-control {
    resize: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #0891b2;
}

.btn-dark {
    background-color: var(--text-dark);
    color: #fff;
}

.btn-dark:hover {
    background-color: #0f172a;
}

.btn-danger {
    background-color: #ef4444;
    color: #fff;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-block {
    display: flex;
    width: 100%;
}

.msg-container {
    margin-top: 10px;
}

.form-msg {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.form-msg.success {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.form-msg.error {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   ADMIN LOGIN CARD
   ========================================================================== */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 280px);
    padding: 40px 0;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .logo-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.login-header h2 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   SUPER ADMIN DASHBOARD PANELS
   ========================================================================== */
.dashboard-container {
    padding: 40px 0 60px 0;
}

.dashboard-header-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.welcome-text h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.welcome-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 4px;
}

.stats-grid {
    display: flex;
    gap: 20px;
}

.stat-card {
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 180px;
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.bg-primary { background-color: var(--primary-color); }
.bg-success { background-color: #10b981; }

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.dashboard-sidebar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.dashboard-tabs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tab-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-link:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.tab-link.active {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.dashboard-main-content {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    min-height: 500px;
}

.tab-content-panel {
    display: none;
}

.tab-content-panel.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.panel-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.panel-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.panel-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   SITE CONFIGURATION FORM
   ========================================================================== */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.col-6 { width: calc(50% - 10px); }
.col-7 { width: calc(58% - 10px); }
.col-5 { width: calc(42% - 10px); }
.col-12 { width: 100%; }

.logo-upload-group {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px dashed #cbd5e1;
}

.logo-config-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 10px;
}

.logo-preview-box {
    width: 120px;
    height: 70px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
}

.current-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-placeholder {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.logo-upload-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: fit-content;
}

.file-upload-label:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.file-name-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.panel-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   SLIDER & COURSE MANAGER
   ========================================================================== */
.slider-add-form, .course-add-form {
    padding: 24px;
    margin-bottom: 35px;
}

.slider-add-form h4, .course-add-form h4 {
    font-size: 1.15rem;
    margin-bottom: 18px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

.form-action-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.sub-section-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 8px;
}

.admin-sliders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.admin-slider-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}

.admin-slider-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}

.admin-slider-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.admin-slider-card .card-details {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    justify-content: space-between;
}

.admin-slider-card .caption {
    font-size: 0.8rem;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 38px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* ==========================================================================
   INQUIRIES TABLE & FILTER BAR
   ========================================================================== */
.filter-bar {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
    flex-wrap: wrap;
    border: 1px solid #e2e8f0;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
    min-width: 150px;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.data-table th {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 700;
    padding: 14px 18px;
    border-bottom: 2px solid #e2e8f0;
}

.data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-dark);
    vertical-align: middle;
}

.data-table tr:hover td {
    background-color: #fafaf9;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.badge-course {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.badge-success {
    background-color: #dcfce7;
    color: #15803d;
}

.message-text {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-action-delete {
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
}

.btn-action-delete:hover {
    color: #b91c1c;
}

.no-data {
    color: var(--text-muted);
    padding: 40px !important;
    font-style: italic;
    font-size: 1rem;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   PREMIUM FOOTER
   ========================================================================== */
.main-footer {
    background-color: #0f172a; /* Dark background */
    color: #94a3b8; /* Muted slate text */
    padding: 60px 0 0 0;
    border-top: 1px solid #1e293b;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: #f1f5f9;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: var(--primary-light);
}

.contact-col p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-col i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-slide-up {
    animation: fadeInUp 0.5s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.85;
    }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar {
        position: sticky;
        top: 80px;
        z-index: 100;
    }
    .dashboard-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    .tab-link {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    .inquiry-column {
        position: static;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .slider-container {
        height: 320px;
    }
    .slide-caption h2 {
        font-size: 1.5rem;
    }
    .dashboard-header-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .stats-grid {
        width: 100%;
    }
    .stat-card {
        flex-grow: 1;
    }
}

/* ==========================================================================
   ABOUT US & CONTACT US PAGE STYLES
   ========================================================================== */
.page-content-wrapper {
    padding: 60px 0 80px 0;
}

.about-hero {
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(6, 182, 212, 0.1) 100%);
    padding: 50px 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.about-hero h1 {
    font-size: 2.6rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.about-hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-card {
    padding: 35px;
}

.about-card h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.about-card hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.vision-mission-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vm-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vm-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feat-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feat-desc h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feat-desc p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-widget {
    padding: 24px;
}

.info-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 8px;
}

.stat-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 15px;
}

.stat-row:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.accredit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accredit-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.accredit-list i {
    color: #10b981;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-card-details, .contact-card-form {
    padding: 35px;
}

.contact-card-details h3, .contact-card-form h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-card-details .desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.info-link-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-link-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 42px;
    height: 42px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.info-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-feedback-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ANIMATED ROBOT GUIDE STYLES
   ========================================================================== */
.robot-guide-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    pointer-events: none; /* Let clicks pass through if overlapping slightly */
}

.robot-speech-bubble {
    background: var(--primary-light);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.08);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    max-width: 250px;
    text-align: center;
    animation: bubble-float 2.5s ease-in-out infinite;
}

/* Small Speech Bubble Triangle pointer */
.robot-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary-light);
}

.bounce-arrow {
    animation: arrow-bounce 1s ease-in-out infinite;
}

.robot-character {
    width: 75px;
    height: 75px;
    animation: robot-float 3s ease-in-out infinite;
}

.robot-svg {
    width: 100%;
    height: 100%;
}

.robot-waving-arm {
    transform-origin: 32px 60px;
    animation: robot-wave 1.2s ease-in-out infinite;
}

.robot-heart {
    animation: heart-beat 1s ease-in-out infinite;
    transform-origin: 50px 65px;
}

/* Animations for Robot Guide */
@keyframes robot-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes bubble-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes robot-wave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-35deg); }
}

@keyframes heart-beat {
    0%, 100%, 70% { transform: scale(1); }
    20%, 40% { transform: scale(1.3); }
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON STYLES
   ========================================================================== */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float-btn:hover {
    transform: scale(1.15) rotate(15deg);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   3D COURSE SPINNER WIDGET
   ========================================================================== */
.explorer-section {
    margin-top: 40px;
    padding: 35px 30px;
    text-align: center;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.explorer-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.explorer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .explorer-wrapper {
        flex-direction: row;
        gap: 50px;
    }
}

.sphere-3d-container {
    width: 140px;
    height: 140px;
    position: relative;
    cursor: pointer;
    perspective: 800px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.sphere-3d-container:hover {
    transform: scale(1.08);
}

.sphere-3d-container:active {
    transform: scale(0.95);
}

.sphere-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    transform-style: preserve-3d;
}

.ring-1 {
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.15);
    animation: spin-ring-1 6s linear infinite;
}

.ring-2 {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
    animation: spin-ring-2 6s linear infinite;
}

.ring-3 {
    border-color: rgba(79, 70, 229, 0.2);
    border-style: dashed;
    animation: spin-ring-3 10s linear infinite;
}

.sphere-core {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #a5b4fc, #4f46e5 60%, #312e81);
    box-shadow: inset -5px -5px 15px rgba(0,0,0,0.6), 
                5px 5px 20px rgba(0,0,0,0.3), 
                0 0 30px rgba(79, 70, 229, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 10;
}

.sphere-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Sphere Click Animation (Spin effect) */
.sphere-spin-active {
    animation: sphere-click-spin 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Animations for Sphere Rings */
@keyframes spin-ring-1 {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(0deg); }
}

@keyframes spin-ring-2 {
    0% { transform: rotateX(45deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(45deg) rotateY(360deg) rotateZ(360deg); }
}

@keyframes spin-ring-3 {
    0% { transform: rotateX(0deg) rotateY(45deg) rotateZ(360deg); }
    100% { transform: rotateX(360deg) rotateY(45deg) rotateZ(0deg); }
}

@keyframes sphere-click-spin {
    0% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(0.85) rotate(-30deg); }
    100% { transform: scale(1.08) rotate(720deg); }
}

/* Course Display Box styling */
.course-display-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    padding: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.4), var(--shadow-glass);
}

.display-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.course-text-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.course-text-display {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
}

/* Animation class for scrolling/transitioning course text */
.course-text-exit {
    transform: translateY(-40px) scale(0.8);
    opacity: 0;
}

.course-text-enter {
    transform: translateY(40px) scale(0.8);
    opacity: 0;
}

.click-hint {
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse-hint 1.5s infinite;
}

@keyframes pulse-hint {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ==========================================================================
   GLOBAL DROPDOWN INQUIRY PANEL
   ========================================================================== */
.btn-nav-inquiry {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(79, 70, 229, 0.2);
    font-weight: 600 !important;
}

.btn-nav-inquiry:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color);
}

.nav-inquiry-panel {
    position: absolute;
    top: 100%; /* Right below header bottom edge */
    left: 0;
    right: 0;
    z-index: 999;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    visibility: hidden;
}

.nav-inquiry-panel.panel-open {
    transform: translateY(0);
    visibility: visible;
}

.nav-inquiry-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-inquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding-bottom: 10px;
}

.nav-inquiry-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-inquiry-helpline {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.nav-inquiry-helpline a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.nav-inquiry-helpline a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.close-panel-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    transition: var(--transition-smooth);
}

.close-panel-btn:hover {
    color: var(--text-dark);
    transform: scale(1.1);
}

.nav-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row-three {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 768px) {
    .form-row-three {
        grid-template-columns: repeat(3, 1fr);
    }
}

.form-group-inq {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group-inq label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control-inq {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition-smooth);
    background: #fff;
}

.form-control-inq:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-row-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.btn-inq {
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary-inq {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary-inq:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.lbl-inq-msg {
    font-size: 0.9rem;
    font-weight: 600;
}

.lbl-inq-msg.success, .success {
    color: #10b981 !important;
}

.lbl-inq-msg.error, .error {
    color: #ef4444 !important;
}

/* ==========================================================================
   ADDITIONAL MOBILE RESPONSIVENESS OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 5px;
    }

    .main-nav a {
        padding: 5px 10px;
        font-size: 0.82rem;
    }

    .nav-inquiry-panel {
        padding: 15px 10px;
        max-height: 85vh;
        overflow-y: auto;
    }

    .nav-inquiry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        position: relative;
        padding-right: 40px;
    }

    .nav-inquiry-helpline {
        font-size: 0.88rem;
        padding: 4px 10px;
        width: 100%;
        justify-content: center;
    }

    .close-panel-btn {
        position: absolute;
        top: 0;
        right: 0;
    }

    /* 3D Course Explorer Mobile Tweaks */
    .explorer-section {
        padding: 25px 15px;
        margin-top: 30px;
    }

    .sphere-3d-container {
        width: 110px;
        height: 110px;
    }

    .sphere-core {
        font-size: 1.8rem;
    }

    .course-text-display {
        font-size: 1.1rem;
    }

    .course-display-card {
        padding: 15px;
    }
}

/* ==========================================================================
   MINI ROBOT FOOTER & HIDDEN LINK
   ========================================================================== */
.footer-robot-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    vertical-align: middle;
}

.mini-footer-robot {
    width: 32px;
    height: 32px;
    overflow: visible;
}

@keyframes robot-wave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-35deg); }
}

.footer-robot-wave {
    animation: robot-wave 1.5s ease-in-out infinite;
    transform-origin: 30px 60px;
}

.hidden-seo-link {
    color: #0f172a; /* matches footer bg */
    opacity: 0.05;
    font-size: 0.65rem;
    text-decoration: none;
    cursor: default;
    transition: opacity 0.3s ease;
    user-select: none;
}

.hidden-seo-link:hover {
    opacity: 0.15; /* slightly visible on hover if someone hovers right over it */
}

/* ==========================================================================
   BEST COMPUTER INSTITUTE LANDING PAGE
   ========================================================================== */
.inst-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    border-bottom: 4px solid var(--primary-light);
    position: relative;
    overflow: hidden;
}

.inst-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.inst-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff 30%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.inst-hero .tagline {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.inst-hero .wcs-tag {
    display: inline-block;
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(6, 182, 212, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.inst-cta-banner {
    background: linear-gradient(to right, #4f46e5, #06b6d4);
    color: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    margin: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.inst-cta-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.inst-cta-content p {
    color: #e0e7ff;
}

.inst-cta-btn {
    background: #fff;
    color: #4f46e5;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.inst-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    background: #f8fafc;
}

.inst-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.inst-card {
    padding: 30px;
    transition: var(--transition-smooth);
}

.inst-card:hover {
    transform: translateY(-5px);
}

.inst-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inst-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inst-card li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.inst-card li i {
    color: var(--primary-color);
}

.inst-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.inst-badge {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .inst-hero h1 { font-size: 2.2rem; }
    .inst-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}


