/* ============================================
   BunioX Tech Solutions - Custom Stylesheet
   Professional SaaS Tech Company Website
   ============================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --accent-light: #60A5FA;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --text-dark: #111827;
    --text-light: #6B7280;
    --border: #E5E7EB;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --font-family: 'Poppins', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
    --hero-bg: linear-gradient(135deg, #f8faff 0%, #e8f0fe 100%);
    --cta-bg: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    --footer-bg: #0F172A;
    --navbar-bg: var(--bg-white);
    --input-bg: var(--bg-white);
    --input-text: var(--text-dark);
}

[data-theme="dark"] {
    --primary: #60A5FA;
    --primary-dark: #3B82F6;
    --primary-light: #93C5FD;
    --accent-light: #60A5FA;
    --bg-white: #0B1120;
    --bg-light: #0F172A;
    --surface: #131C31;
    --surface-hover: #1A273E;
    --text-dark: #F1F5F9;
    --text-light: #94A3B8;
    --text-muted: #64748B;
    --border: #1E293B;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.7);
    --hero-bg: linear-gradient(135deg, #070D1A 0%, #0B1628 50%, #070D1A 100%);
    --cta-bg: linear-gradient(135deg, #060E1A 0%, #0B1628 50%, #060E1A 100%);
    --footer-bg: #060E1A;
    --navbar-bg: rgba(11, 17, 32, 0.92);
    --input-bg: #131C31;
    --input-text: #F1F5F9;
    --badge-bg: rgba(96, 165, 250, 0.12);
    --card-border: #1E293B;
    --hero-shape: rgba(96, 165, 250, 0.04);
}

/* -------- Bootstrap Overrides -------- */
[data-theme="dark"] .bg-light {
    background-color: #0F172A !important;
}

[data-theme="dark"] .text-muted {
    color: #94A3B8 !important;
}

[data-theme="dark"] .text-dark {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .card,
[data-theme="dark"] .list-group-item {
    background: #131C31;
    color: #F1F5F9;
    border-color: #1E293B;
}

[data-theme="dark"] .modal-content {
    background: #131C31;
    color: #F1F5F9;
    border-color: #1E293B;
}

[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
    border-color: #1E293B;
}

/* -------- Surface / Component Overrides -------- */
[data-theme="dark"] .stat-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .project-card,
[data-theme="dark"] .course-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-form-card,
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .mv-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .process-card,
[data-theme="dark"] .course-detail-card,
[data-theme="dark"] .benefit-card,
[data-theme="dark"] .shop-feature,
[data-theme="dark"] .service-card-modern {
    background: #131C31;
    border-color: #1E293B;
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .project-card:hover,
[data-theme="dark"] .course-card:hover,
[data-theme="dark"] .product-card:hover,
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .value-card:hover,
[data-theme="dark"] .team-card:hover,
[data-theme="dark"] .process-card:hover,
[data-theme="dark"] .course-detail-card:hover,
[data-theme="dark"] .benefit-card:hover,
[data-theme="dark"] .stat-card:hover,
[data-theme="dark"] .shop-feature:hover {
    border-color: rgba(96, 165, 250, 0.3);
}

[data-theme="dark"] .illustration-card {
    background: #131C31;
    border: 1px solid #1E293B;
}

[data-theme="dark"] .service-image-decoration {
    background: #131C31;
    border: 1px solid #1E293B;
}

/* -------- Sections BG -------- */
[data-theme="dark"] .services-section,
[data-theme="dark"] .training-section,
[data-theme="dark"] .why-choose-section,
[data-theme="dark"] .contact-section {
    background: #0F172A !important;
}

/* -------- Hero Section -------- */
[data-theme="dark"] .hero-section {
    background: var(--hero-bg);
}

[data-theme="dark"] .shape-1,
[data-theme="dark"] .shape-2,
[data-theme="dark"] .shape-3 {
    opacity: 0.15;
}

[data-theme="dark"] .badge-hero {
    background: rgba(96, 165, 250, 0.12);
    color: #93C5FD;
}

[data-theme="dark"] .section-badge {
    background: rgba(96, 165, 250, 0.12);
    color: #93C5FD;
}

[data-theme="dark"] .hero-stats {
    border-color: #1E293B;
}

[data-theme="dark"] .stat-icon {
    background: rgba(96, 165, 250, 0.12);
}

/* -------- Typography -------- */
[data-theme="dark"] .section-title,
[data-theme="dark"] .hero-title,
[data-theme="dark"] .service-title,
[data-theme="dark"] .feature-title,
[data-theme="dark"] .project-title,
[data-theme="dark"] .course-title,
[data-theme="dark"] .product-name,
[data-theme="dark"] .stat-number,
[data-theme="dark"] .testimonial-text,
[data-theme="dark"] .author-name,
[data-theme="dark"] .cta-title,
[data-theme="dark"] .footer-title,
[data-theme="dark"] h1, [data-theme="dark"] h2,
[data-theme="dark"] h3, [data-theme="dark"] h4,
[data-theme="dark"] h5, [data-theme="dark"] h6 {
    color: #F1F5F9;
}

[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .service-text,
[data-theme="dark"] .feature-text,
[data-theme="dark"] .project-result,
[data-theme="dark"] .course-desc,
[data-theme="dark"] .course-meta li,
[data-theme="dark"] .section-text,
[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .stat-label,
[data-theme="dark"] .author-role,
[data-theme="dark"] .cta-subtitle,
[data-theme="dark"] .footer-text,
[data-theme="dark"] .footer-copyright,
[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-contact li,
[data-theme="dark"] .contact-item p,
[data-theme="dark"] .old-price,
[data-theme="dark"] .breadcrumb-nav {
    color: #94A3B8;
}

[data-theme="dark"] .section-subtitle {
    color: #64748B;
}

/* -------- Link / Icon Overrides -------- */
[data-theme="dark"] .social-link {
    background: transparent;
    border-color: #1E293B;
    color: #94A3B8;
}

[data-theme="dark"] .social-link:hover {
    background: #60A5FA;
    border-color: #60A5FA;
    color: #fff;
}

[data-theme="dark"] .project-category {
    background: rgba(96, 165, 250, 0.12);
    color: #93C5FD;
}

[data-theme="dark"] .course-badge-detail {
    background: rgba(96, 165, 250, 0.12);
    color: #93C5FD;
}

[data-theme="dark"] .product-badge {
    background: #60A5FA;
}

[data-theme="dark"] .product-badge.sale {
    background: #EF4444;
}

[data-theme="dark"] .product-placeholder {
    background: #0F172A;
    color: #60A5FA;
}

[data-theme="dark"] .service-icon {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
}

[data-theme="dark"] .feature-icon {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.1));
    color: #93C5FD;
}

[data-theme="dark"] .feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
    color: #fff;
}

[data-theme="dark"] .course-icon {
    color: #60A5FA;
}

[data-theme="dark"] .service-link {
    color: #60A5FA;
}

[data-theme="dark"] .service-link:hover {
    color: #93C5FD;
}

[data-theme="dark"] .contact-icon {
    background: rgba(96, 165, 250, 0.12);
    color: #60A5FA;
}

[data-theme="dark"] .team-social a {
    background: rgba(255, 255, 255, 0.06);
    color: #94A3B8;
}

[data-theme="dark"] .team-social a:hover {
    background: #60A5FA;
    color: #fff;
}

[data-theme="dark"] .team-avatar {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(59, 130, 246, 0.08));
}

[data-theme="dark"] .about-placeholder {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(59, 130, 246, 0.05));
    color: #60A5FA;
}

[data-theme="dark"] .map-placeholder {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.06), rgba(59, 130, 246, 0.03));
    color: #60A5FA;
}

[data-theme="dark"] .service-image-placeholder {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(59, 130, 246, 0.05));
}

[data-theme="dark"] .benefit-icon {
    background: rgba(96, 165, 250, 0.12);
    color: #60A5FA;
}

[data-theme="dark"] .mv-icon {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
}

[data-theme="dark"] .value-icon {
    background: rgba(96, 165, 250, 0.12);
    color: #60A5FA;
}

[data-theme="dark"] .service-number-badge {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .process-number {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
}

[data-theme="dark"] .contact-info-icon {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
}

/* -------- Form Overrides -------- */
[data-theme="dark"] .form-control {
    background: #131C31;
    border-color: #1E293B;
    color: #F1F5F9;
}

[data-theme="dark"] .form-control:focus {
    border-color: #60A5FA;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

[data-theme="dark"] select.form-control option,
[data-theme="dark"] option {
    background: #131C31;
    color: #F1F5F9;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #64748B;
}

[data-theme="dark"] .form-label {
    color: #E2E8F0;
}

/* -------- Navbar Overrides -------- */
[data-theme="dark"] .navbar {
    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.6);
}

[data-theme="dark"] .navbar-brand,
[data-theme="dark"] .navbar-nav .nav-link {
    color: #E2E8F0 !important;
}

[data-theme="dark"] .navbar-nav .nav-link:hover,
[data-theme="dark"] .navbar-nav .nav-link.active {
    color: #60A5FA !important;
}

[data-theme="dark"] .navbar-nav .nav-link.active::after {
    background: #60A5FA;
}

[data-theme="dark"] .navbar-collapse {
    background: rgba(11, 17, 32, 0.98) !important;
    border-color: #1E293B !important;
}

[data-theme="dark"] .navbar-toggler-icon {
    filter: invert(1) brightness(2);
}

/* -------- Carousel Overrides -------- */
[data-theme="dark"] .carousel-control-prev,
[data-theme="dark"] .carousel-control-next {
    background: rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .carousel-control-prev-icon,
[data-theme="dark"] .carousel-control-next-icon {
    filter: none;
}

[data-theme="dark"] .carousel-indicators [data-bs-target] {
    background: #60A5FA;
}

/* -------- Footer Overrides -------- */
[data-theme="dark"] .footer-section {
    background: #060E1A;
}

[data-theme="dark"] .footer-divider {
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .footer-bottom-links a {
    color: #64748B;
}

[data-theme="dark"] .footer-bottom-links a:hover {
    color: #60A5FA;
}

[data-theme="dark"] .footer-social-link {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .footer-social-link:hover {
    background: #60A5FA;
}

/* -------- CTA Section -------- */
[data-theme="dark"] .cta-section {
    background: var(--cta-bg);
}

[data-theme="dark"] .cta-section::before {
    background:
        radial-gradient(circle at 20% 50%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

/* -------- Buttons -------- */
[data-theme="dark"] .btn-primary-custom {
    background: #60A5FA;
    border-color: #60A5FA;
    color: #0B1120;
}

[data-theme="dark"] .btn-primary-custom:hover {
    background: #93C5FD;
    border-color: #93C5FD;
    color: #0B1120;
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.3);
}

[data-theme="dark"] .btn-outline-custom {
    border-color: #60A5FA;
    color: #60A5FA;
}

[data-theme="dark"] .btn-outline-custom:hover {
    background: #60A5FA;
    color: #0B1120;
}

/* -------- Back to Top -------- */
[data-theme="dark"] .back-to-top {
    background: #60A5FA;
    color: #0B1120;
}

[data-theme="dark"] .back-to-top:hover {
    background: #93C5FD;
}

/* -------- Misc -------- */
[data-theme="dark"] .about-snapshot {
    background: var(--bg-white);
}

[data-theme="dark"] .business-hours strong {
    color: #E2E8F0;
}

[data-theme="dark"] .page-hero {
    background: linear-gradient(135deg, #060E1A 0%, #0B1628 50%, #060E1A 100%);
}

[data-theme="dark"] .page-hero .floating-shape {
    opacity: 0.12;
}

[data-theme="dark"] .service-section:nth-child(even) {
    background: #0F172A !important;
}

[data-theme="dark"] .filter-btn {
    background: #131C31;
    border-color: #1E293B;
    color: #94A3B8;
}

[data-theme="dark"] .filter-btn:hover {
    border-color: #60A5FA;
    color: #60A5FA;
}

[data-theme="dark"] .filter-btn.active {
    background: #60A5FA;
    border-color: #60A5FA;
    color: #0B1120;
}

[data-theme="dark"] .night-mode-toggle {
    background: transparent;
    border-color: #1E293B;
    color: #94A3B8;
}

[data-theme="dark"] .night-mode-toggle:hover {
    background: #60A5FA;
    border-color: #60A5FA;
    color: #0B1120;
}

[data-theme="dark"] .training-benefits i.text-primary {
    color: #60A5FA !important;
}

[data-theme="dark"] .service-features li i {
    color: #60A5FA !important;
}

[data-theme="dark"] .contact-item h5 {
    color: #E2E8F0;
}

[data-theme="dark"] .team-name {
    color: #F1F5F9;
}

[data-theme="dark"] .team-role {
    color: #93C5FD;
}

[data-theme="dark"] .course-price {
    color: #60A5FA;
}

/* ==================== GLOBAL STYLES ==================== */
html {
    overflow-x: hidden;
    width: 100%;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 80px 0;
}

/* ==================== SECTION HEADERS ==================== */
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto;
}

.section-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==================== BUTTONS ==================== */
.btn-primary-custom {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: var(--navbar-bg);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 1030;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-dark) !important;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.brand-text .text-accent {
    color: var(--primary);
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 14px !important;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.navbar-toggler {
    border: none;
    padding: 8px;
    z-index: 1035;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
}

[data-theme="dark"] .navbar-toggler-icon {
    filter: invert(1) brightness(2);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    background: var(--hero-bg);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100vw;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -100px;
    right: -150px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-light);
    bottom: -80px;
    left: -120px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.badge-hero {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 24px;
    max-width: 500px;
}

.hero-stats {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px;
}

.stat-item .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-center-circle {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.4);
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
    overflow: hidden;
}

.hero-center-circle img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.illustration-card {
    position: absolute;
    background: var(--bg-white);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
}

.illustration-card img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

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

.card-1 { top: 20%; left: 5%; animation-delay: 0s; }
.card-2 { top: 15%; right: 5%; animation-delay: 0.5s; }
.card-3 { bottom: 25%; left: 10%; animation-delay: 1s; }
.card-4 { bottom: 20%; right: 10%; animation-delay: 1.5s; }

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

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

/* ==================== STAT CARDS ==================== */
.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary);
    font-size: 1.3rem;
}

/* ==================== SERVICE CARDS ==================== */
.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.service-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==================== PROJECT CARDS ==================== */
.project-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.bg-primary-soft { background: rgba(37, 99, 235, 0.1); }
.bg-accent-soft { background: rgba(59, 130, 246, 0.1); }
.bg-success-soft { background: rgba(16, 185, 129, 0.1); }

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-content {
    padding: 18px;
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.project-result {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ==================== COURSE CARDS ==================== */
.course-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.course-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

/* ==================== PRODUCT CARDS ==================== */
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 170px;
    overflow: hidden;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-badge.sale {
    background: var(--danger);
}

.product-info {
    padding: 16px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 400;
    margin-right: 8px;
}

/* ==================== FEATURE CARDS ==================== */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.testimonial-stars {
    color: var(--warning);
}

.testimonial-stars i {
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.7;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 3px solid var(--primary);
}
.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev { left: -25px; }
.carousel-control-next { right: -25px; }

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.3;
    border: none;
    margin: 0 5px;
}

.carousel-indicators .active {
    opacity: 1;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: var(--cta-bg);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.05));
    border-radius: 50%;
    animation: ctaFloat 8s ease-in-out infinite;
}

@keyframes ctaFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.05); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.cta-title span {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.cta-buttons .btn-light {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-outline-light {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border-width: 2px;
    transition: var(--transition);
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* ==================== CONTACT SECTION ==================== */
.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 0.95rem;
}

.contact-item p {
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.form-control {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.875rem;
    background: var(--input-bg);
    color: var(--input-text);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 0.85rem;
}

select.form-control option {
    background: var(--input-bg);
    color: var(--input-text);
}

/* ==================== FOOTER ==================== */
.footer-section {
    background: var(--footer-bg);
    color: #fff;
    padding: 60px 0 25px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
}

.footer-brand .brand-icon {
    background: var(--primary);
}

.footer-brand .text-accent {
    color: var(--accent-light);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 350px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--accent-light);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 25px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links {
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-light);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ==================== NIGHT MODE TOGGLE ==================== */
.night-mode-toggle {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 8px;
}

.night-mode-toggle:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(20deg);
}

.navbar .night-mode-toggle {
    background: transparent;
    border: 1px solid var(--border);
}

.navbar .night-mode-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
}

html {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ==================== SCROLL ANIMATIONS ==================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .carousel-control-prev { left: 0; }
    .carousel-control-next { right: 0; }
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-illustration {
        height: 300px;
    }

    .navbar {
        padding: 12px 0;
    }

    .navbar-collapse {
        background: var(--navbar-bg);
        padding: 16px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        margin-top: 12px;
        max-height: 80vh;
        overflow-y: auto;
        border: 1px solid var(--border);
    }

    .navbar-nav {
        align-items: center;
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        color: var(--text-dark) !important;
        border-radius: var(--radius-sm);
        transition: var(--transition);
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: rgba(37, 99, 235, 0.08);
        color: var(--primary) !important;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .navbar .btn-primary-custom {
        margin-top: 12px;
        width: 100%;
        text-align: center;
    }

    .cta-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-illustration {
        height: 260px;
    }

    .illustration-card {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .illustration-card i {
        font-size: 1rem;
    }

    .hero-center-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 12px;
    }

    .stat-item .stat-number {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
