/* Reset và Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    color: #212529;
    overflow-x: hidden;
    position: relative;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

/* Matrix Canvas */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #007bff;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #28a745);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 1919px) {
    .container {
        padding: 0 10px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-name {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    min-height: 80px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #00ff88;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

/* Text Effects */
.glitch {
    position: relative;
    color: #00ff88;
    font-weight: 700;
    text-shadow: 0.05em 0 0 #00d4ff, -0.05em -0.025em 0 #ff0040,
        0.025em 0.05em 0 #ffff00;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0040;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00d4ff;
    z-index: -2;
}

@keyframes glitch {
    0%,
    100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-1 {
    0%,
    100% {
        transform: translate(0);
    }
    10% {
        transform: translate(-2px, -2px);
    }
    20% {
        transform: translate(2px, 2px);
    }
    30% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-2 {
    0%,
    100% {
        transform: translate(0);
    }
    10% {
        transform: translate(2px, 2px);
    }
    20% {
        transform: translate(-2px, -2px);
    }
    30% {
        transform: translate(2px, -2px);
    }
    40% {
        transform: translate(-2px, 2px);
    }
}

/* Rainbow Text */
.rainbow-text {
    background: linear-gradient(
        45deg,
        #ff0000,
        #ff7f00,
        #ffff00,
        #00ff00,
        #0000ff,
        #4b0082,
        #9400d3
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 3s ease-in-out infinite;
}

@keyframes rainbow {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Neon Text */
.neon-text {
    color: #00ff88;
    text-shadow: 0 0 5px #00ff88, 0 0 10px #00ff88, 0 0 15px #00ff88,
        0 0 20px #00ff88;
    animation: neonFlicker 2s infinite alternate;
}

@keyframes neonFlicker {
    0%,
    100% {
        text-shadow: 0 0 5px #00ff88, 0 0 10px #00ff88, 0 0 15px #00ff88,
            0 0 20px #00ff88;
    }
    50% {
        text-shadow: 0 0 2px #00ff88, 0 0 5px #00ff88, 0 0 8px #00ff88,
            0 0 12px #00ff88;
    }
}

/* Wave Text */
.wave-text {
    display: inline-block;
}

.wave-text span {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

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

/* Typing Effect */
.typing-effect {
    border-right: 2px solid #00ff88;
    /* white-space: nowrap; */
    overflow: hidden;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Cursor Blink */
.cursor {
    display: inline-block;
    background-color: #00ff88;
    margin-left: 3px;
    width: 3px;
    animation: blink 1s infinite;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%,
    50% {
        opacity: 1;
    }
    51%,
    100% {
        opacity: 0;
    }
}

/* Flicker Text */
.flicker-text {
    animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Pulse Button */
.pulse-btn {
    animation: pulse 2s infinite;
}

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

/* Glow Button */
.glow-btn {
    position: relative;
    overflow: hidden;
}

.glow-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.glow-btn:hover::before {
    left: 100%;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.float-element {
    position: absolute;
    font-size: 3rem;
    color: rgba(0, 255, 136, 0.3);
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.float-element:nth-child(1) {
    top: 20%;
    left: 10%;
}
.float-element:nth-child(2) {
    top: 60%;
    left: 80%;
}
.float-element:nth-child(3) {
    top: 80%;
    left: 20%;
}
.float-element:nth-child(4) {
    top: 30%;
    left: 70%;
}
.float-element:nth-child(5) {
    top: 70%;
    left: 50%;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Sections */
.about,
.skills,
.contact,
.products,
.blog-header,
.filter-section,
.products-section,
.product-detail,
.product-tabs,
.related-products,
.blog {
    padding: 100px 0;
    position: relative;
    width: 100%;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00d4ff);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInLeft 1s ease forwards;
}

.about-text p:nth-child(2) {
    animation: slideInRight 1s ease 0.3s forwards;
}

.highlight-text {
    color: #00ff88;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    opacity: 0;
    animation: bounceIn 1s ease forwards;
    animation-delay: var(--delay);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.stat-label {
    font-size: 1rem;
    color: #ccc;
    margin-top: 0.5rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    position: relative;
    overflow: hidden;
    animation: rotate 10s linear infinite;
}

.profile-image::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    background: #1a1a2e;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.1);
    animation: pulse 2s infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Skills Section */
.skills {
    background: rgba(0, 0, 0, 0.5);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.product-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.25);
  }

  .product-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--delay, 0) * 0.1s);
  }

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

  .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .product-card:hover .product-image {
    transform: scale(1.1);
  }

  .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

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

  .product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
  }

  .product-badges .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  /* ===== PRODUCT CONTENT STYLES ===== */
  .product-content {
    padding: 1.5rem;
  }

  .product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
  }

  .product-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }

  .product-price {
    margin-bottom: 1.5rem;
  }

  .price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: #007bff;
  }

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

  .add-to-cart-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 25px;
    border: none;
    background: linear-gradient(45deg, #007bff, #28a745);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
  }

  .products-load-more {
    text-align: center;
    margin-top: 3rem;
  }

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
}

.skill-icon {
    font-size: 3rem;
    color: #00ff88;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.skill-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-top: 1rem;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00d4ff);
    border-radius: 5px;
    width: 0;
    animation: fillBar 2s ease forwards;
    position: relative;
}

.skill-progress::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes fillBar {
    to {
        width: var(--width);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

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

/* Contact Section */
.contact-content {
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    opacity: 0;
    animation: zoomIn 1s ease forwards;
    animation-delay: var(--delay);
}

.contact-icon {
    font-size: 2rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.contact-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.typing-contact {
    color: #ccc;
    font-size: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff88;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: #00ff88;
    color: #000;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Glitch Text */
.glitch-text {
    position: relative;
    color: #00ff88;
    font-weight: 700;
    text-shadow: 0.05em 0 0 #00d4ff, -0.05em -0.025em 0 #ff0040,
        0.025em 0.05em 0 #ffff00;
    animation: glitch 3s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 2s infinite;
    color: #ff0040;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 2s infinite;
    color: #00d4ff;
    z-index: -2;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #495057;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

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

    .hero-name {
        font-size: 3rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 850px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        margin-bottom: 1rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        display: block;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .hero-name {
        font-size: 2.5rem;
        min-height: 60px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

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

    .stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .floating-elements {
        display: none;
    }

    .float-element {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

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

    .hero-name {
        font-size: 2rem;
        min-height: 50px;
    }

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

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

    .about-text p {
        font-size: 1rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .skill-icon {
        font-size: 2.5rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    .blog-card {
        margin: 0 0.5rem;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

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

    .hero-name {
        font-size: 1.8rem;
    }

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

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

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .skill-card {
        padding: 1rem;
    }

    .contact-item {
        padding: 1rem;
    }

    /* Text effects adjustments for mobile */
    .rainbow-text,
    .neon-text,
    .wave-text,
    .glitch,
    .glitch-text {
        font-size: inherit;
        line-height: inherit;
    }

    .cursor {
        width: 2px;
    }

    /* Reduce animation intensity on mobile */
    .float-element {
        animation-duration: 8s;
    }

    .glitch,
    .glitch-text {
        animation-duration: 3s;
    }

    .neon-text {
        text-shadow: 0 0 3px rgba(0, 123, 255, 0.5),
            0 0 6px rgba(0, 123, 255, 0.5);
    }
}

/* Additional Blinking Effects */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 1s ease forwards;
}

.bounce-in {
    opacity: 0;
    animation: bounceIn 1s ease forwards;
}

.zoom-in {
    opacity: 0;
    animation: zoomIn 1s ease forwards;
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.blog-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 100%;
}

.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: var(--delay);
    position: relative;
    width: 100%;
    max-width: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.2);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 123, 255, 0.8),
        rgba(40, 167, 69, 0.8)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.blog-category {
    background: rgba(255, 255, 255, 0.9);
    color: #007bff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 2rem;
}

.blog-title {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.blog-date {
    color: #007bff;
    font-weight: 500;
    font-size: 0.9rem;
}

.blog-read-time {
    color: #6c757d;
    font-size: 0.85rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.blog-read-more:hover {
    color: #0056b3;
    transform: translateX(5px);
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

.blog-load-more {
    text-align: center;
    margin-top: 3rem;
}

.blog-load-more a {
    text-decoration: none;
}

/* Blog Animations */
.blog-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.7s ease;
    z-index: 1;
}

.blog-card:hover::before {
    left: 100%;
}

/* Update other colors for light theme */
.btn-primary {
    background: linear-gradient(45deg, #007bff, #28a745);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

/* Update text effects for light theme */
.glitch {
    position: relative;
    color: #007bff;
    font-weight: 700;
    text-shadow: 0.05em 0 0 #28a745, -0.05em -0.025em 0 #dc3545,
        0.025em 0.05em 0 #ffc107;
    animation: glitch 2s infinite;
}

.neon-text {
    color: #007bff;
    text-shadow: 0 0 5px rgba(0, 123, 255, 0.5), 0 0 10px rgba(0, 123, 255, 0.5),
        0 0 15px rgba(0, 123, 255, 0.5), 0 0 20px rgba(0, 123, 255, 0.5);
    animation: neonFlicker 2s infinite alternate;
}

@keyframes neonFlicker {
    0%,
    100% {
        text-shadow: 0 0 5px rgba(0, 123, 255, 0.5),
            0 0 10px rgba(0, 123, 255, 0.5), 0 0 15px rgba(0, 123, 255, 0.5),
            0 0 20px rgba(0, 123, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 2px rgba(0, 123, 255, 0.3),
            0 0 5px rgba(0, 123, 255, 0.3), 0 0 8px rgba(0, 123, 255, 0.3),
            0 0 12px rgba(0, 123, 255, 0.3);
    }
}

.highlight-text {
    color: #007bff;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

/* Update other sections for light theme */
.about {
    background: #ffffff;
}

.skills {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact {
    background: #ffffff;
}

.skill-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.skill-card:hover {
    border-color: #007bff;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.2);
}

.skill-icon {
    color: #007bff;
}

.skill-name {
    color: #212529;
}

.contact-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.contact-icon {
    color: #007bff;
}

.contact-text h4 {
    color: #212529;
}

.social-link {
    background: rgba(255, 255, 255, 0.9);
    color: #007bff;
}

.social-link:hover {
    background: #007bff;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

/* Extra Glowing Effects */
.glow-element {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(0, 123, 255, 0.5),
            0 0 40px rgba(0, 123, 255, 0.2);
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    /* Reduce particle count on mobile */
    #particles-js {
        opacity: 0.7;
    }

    /* Optimize animations for mobile */
    * {
        animation-duration: 0.8s !important;
    }

    .pulse-btn,
    .glow-btn {
        animation-duration: 1.5s !important;
    }

    /* Disable complex animations on very small screens */
    @media (max-width: 320px) {
        .glitch,
        .glitch-text {
            animation: none !important;
            text-shadow: none !important;
            color: #007bff !important;
        }

        .rainbow-text {
            background: #007bff !important;
            -webkit-background-clip: text !important;
            background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            animation: none !important;
        }

        .float-element {
            display: none;
        }

        #matrix-canvas {
            display: none;
        }
    }
}

/* Touch device optimizations */
@media (pointer: coarse) {
    .btn-primary,
    .btn-secondary,
    .filter-btn,
    .action-btn {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-link {
        padding: 1rem 0.5rem;
    }

    .social-link {
        min-width: 44px;
        min-height: 44px;
    }

    .copy-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Prevent horizontal scroll */
html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* .container {
    max-width: 100%;
    overflow-x: hidden;
  } */

/* Global overflow fix */
* {
    box-sizing: border-box;
}

*:before,
*:after {
    box-sizing: border-box;
}

/* Ensure all sections don't overflow */
section {
    width: 100%;
    overflow-x: hidden;
}

/* Ensure all grids don't overflow */
.skills-grid,
.blog-grid,
.products-grid,
.contact-info {
    width: 100%;
    max-width: 100%;
}

/* Ensure all cards don't overflow */
.skill-card,
.blog-card,
.product-card,
.contact-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

/* Ensure text doesn't overflow */
h1,
h2,
h3,
h4,
h5,
h6,
p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.blog-card .blog-image img {
    opacity: 1 !important;
    transform: none !important;
}

.blog-card.fade-in-up {
    animation-play-state: running !important;
}


.bg-primary {
    background-color: #007bff !important;
}

.bg-secondary {
    background-color: #6c757d !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: #000;
}

.bg-info {
    background-color: #007bff !important;
}

.bg-light {
    background-color: #f8f9fa !important;
    color: #000;
}

.bg-dark {
    background-color: #343a40 !important;
}

.badge{
    color: #fff;
    text-shadow: 0.05em 0 0 #00d4ff, -0.05em -0.025em 0 #ff0040,
        0.025em 0.05em 0 #ffff00;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    -webkit-border-radius: 5px;
    -webkit-text-shadow: 0.05em 0 0 #00d4ff, -0.05em -0.025em 0 #ff0040,
        0.025em 0.05em 0 #ffff00;
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.product-category {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-price {
    display: flex;
    gap: 5px;
}

.product-price-sale {
    color: #007bff;
}

.product-price-original {
    color: #6c757d;
    text-decoration: line-through;
}

.product-price-sale {
    font-weight: 700;
    color: #007bff;
}

.current-price {
    color: #007bff;
    font-weight: 700;
}

.text-decoration-line-through {
    text-decoration: line-through !important;
}

.mt-3{
    margin-top: 1rem !important;
}

.mb-2{
    margin-bottom: 0.5rem !important;
}

a{
    text-decoration: none;
}


.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  .category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .filter-btn:hover,
  .filter-btn.active {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.2);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
  }
  .search-container {
    margin-bottom: 2rem;
  }

  .search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
  }

  .search-box input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #000000;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
  }

  .search-box input::placeholder {
    color: rgba(0, 0, 0, 0.7);
  }

  .search-box input:focus {
    border-color: #007bff;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
  }

  .search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #007bff, #28a745);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .search-btn:hover {
    transform: translateY(-50%) scale(1.1);
  }


  .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .post-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 123, 255, 0.2);
  }

  .post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.2);
    border-color: #007bff;
  }

  .post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
  }

  .featured-post .post-image {
    height: 400px;
  }

  .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

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

  .post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      45deg,
      rgba(0, 123, 255, 0.8),
      rgba(40, 167, 69, 0.8)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
    gap: 1rem;
  }

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

  .post-category {
    background: rgba(255, 255, 255, 0.9);
    color: #007bff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
  }

  .featured-badge {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .post-content {
    padding: 1.5rem;
  }

  .featured-post .post-content {
    padding: 2rem;
  }

  .post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
    flex-wrap: wrap;
  }

  .featured-post {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;        /* tối đa 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .featured-post .post-title {
    font-size: 1.8rem;
  }

  .post-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .tag {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
  }

  .post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .post-read-more:hover {
    color: #28a745;
    transform: translateX(5px);
  }

  .article-content {
    padding: 80px 0;
    background: #ffffff;
  }

  .content-wrapper {
    display: flex;
    gap: 2rem;
    position: relative;
  }

  .main-content {
    max-width: 100%;
    min-width: 75%;
  }

  .toc-container {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border-left: 4px solid #007bff;
  }

  .toc-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .toc-list {
    list-style: none;
    padding: 0;
  }

  .toc-list li {
    margin-bottom: 0.8rem;
  }

  .toc-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
  }

  .toc-link:hover {
    color: #0056b3;
    transform: translateX(5px);
    border-bottom-color: #007bff;
  }

  /* Article Body */
  .article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
  }

  .content-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
  }

  .section-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
  }

  .sub-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #495057;
  }

  .lead-paragraph {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 2rem;
    font-weight: 300;
  }

  .info-box,
.warning-box,
.success-box {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 15px;
  margin: 2rem 0;
  border-left: 4px solid;
}

.info-box {
  background: linear-gradient(135deg, #e3f2fd, #f1f8e9);
  border-left-color: #2196f3;
}

.warning-box {
  background: linear-gradient(135deg, #fff3e0, #ffeaa7);
  border-left-color: #ff9800;
}

.success-box {
  background: linear-gradient(135deg, #e8f5e8, #f1f8e9);
  border-left-color: #4caf50;
}

.info-icon,
.warning-icon,
.success-icon {
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.info-icon {
  color: #2196f3;
}

.warning-icon {
  color: #ff9800;
}

.success-icon {
  color: #4caf50;
}

.info-content h4 {
  margin-bottom: 0.8rem;
  color: #333;
}

.info-content ul {
  margin: 0;
  padding-left: 1.5rem;
}

.info-content li {
  margin-bottom: 0.5rem;
}

/* Code Blocks */
.code-block {
  background: #2d3748;
  border-radius: 15px;
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.code-header {
  background: #1a202c;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #4a5568;
}

.code-language {
  color: #a0aec0;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.copy-btn {
  background: #4a5568;
  border: none;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: #007bff;
  transform: translateY(-2px);
}

.code-block pre {
  margin: 0;
  padding: 1.5rem;
  background: transparent;
  color: #e2e8f0;
  font-family: "Fira Code", "Courier New", monospace;
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-x: auto;
}

.code-block code {
  color: inherit;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* Folder Structure */
.folder-structure {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid #e9ecef;
  font-family: "Courier New", monospace;
}

.folder-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.3rem 0;
  color: #495057;
}

.folder-item.level-1 {
  padding-left: 2rem;
}

.folder-item.level-2 {
  padding-left: 4rem;
}

.folder-item i {
  color: #007bff;
}

.folder-item i.fa-folder {
  color: #ffc107;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.stat-content h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #495057;
}

.stat-content p {
  color: #6c757d;
  margin: 0;
}

.deployment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
  }

  .option-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
  }

  .option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
  }

  .option-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #007bff;
  }

  .option-card h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
  }

  .option-card p {
    color: #6c757d;
    margin: 0;
  }

  .next-steps {
    background: linear-gradient(135deg, #e3f2fd, #f1f8e9);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #007bff;
  }

  .next-steps h3 {
    color: #495057;
    margin-bottom: 1rem;
  }

  .next-steps ul {
    list-style: none;
    padding: 0;
  }

  .next-steps li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    color: #495057;
  }

  .next-steps i {
    color: #007bff;
  }

  .conclusion-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border-left: 4px solid #28a745;
  }

  .article-footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 2px solid #e9ecef;
  }

  .article-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .action-btn {
    background: #ffffff;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
  }

  .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .like-btn:hover {
    border-color: #dc3545;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
  }

  .share-btn:hover {
    border-color: #007bff;
    color: #007bff;
    background: rgba(0, 123, 255, 0.05);
  }

  .bookmark-btn:hover {
    border-color: #ffc107;
    color: #ffc107;
    background: rgba(255, 193, 7, 0.05);
  }

  .like-count {
    font-weight: 700;
  }


  .author-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #e9ecef;
  }

  .author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
  }

  .author-details {
    flex: 1;
  }

  .author-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
  }

  .author-bio {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .author-social {
    display: flex;
    gap: 0.8rem;
  }

  .author-social .social-link {
    width: 35px;
    height: 35px;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .author-social .social-link:hover {
    background: #007bff;
    color: #ffffff;
    transform: translateY(-2px);
  }

  /* Sidebar */
  .sidebar {
    position: sticky;
    top: 100px;
    min-width: 25%;
    height: fit-content;
  }

  /* Reading Progress */
  .reading-progress {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
  }

  .progress-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #495057;
    font-weight: 600;
  }

  .progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
  }

  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #28a745);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
  }

  .progress-percentage {
    text-align: center;
    font-weight: 600;
    color: #007bff;
  }

  /* Related Articles */
  .related-articles {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
  }

  .sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .related-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
  }

  .related-image img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
  }

  .related-content {
    flex: 1;
  }

  .related-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }

  .related-content a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .related-content a:hover {
    color: #007bff;
  }

  .related-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
  }

  .related-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  @media (max-width: 1200px) {
    .content-wrapper {
      flex-direction: column;
    }

    .sidebar {
      position: relative;
      top: 0;
    }
  }

  @media (max-width: 992px) {

    /* Blog Detail */
    .article-title {
      font-size: 2.5rem;
    }

    .meta-item {
      gap: 0.3rem;
    }

    .author-info {
      flex-direction: column;
      text-align: center;
    }

  }

  .hero-products {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
  }

  .hero-products::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      135deg,
      rgba(0, 123, 255, 0.1) 0%,
      rgba(40, 167, 69, 0.1) 100%
    );
    z-index: 1;
  }

  .hero-products .container-fluid {
    position: relative;
    z-index: 2;
  }

  .hero-stats{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .hero-stats .col-4{
    width: 100%;
  }

  .hero-stats .stat-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .hero-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
  }

  .hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
    display: block;
  }

  .hero-stats .stat-label {
    color: #6c757d;
    font-weight: 500;
    margin-top: 0.5rem;
  }

  #productsGrid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .text-dark{
    color: #000000 !important;
  }

  .breadcrumb-section {
    padding: 120px 0 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  }

  .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: 0.5rem;
    color: rgba(33, 37, 41, 0.75);
    content: "/";
}

  .breadcrumb-item {
    color: #6c757d;
  }

  .breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .breadcrumb-item a:hover {
    color: #0056b3;
    transform: translateX(2px);
  }

  .breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
  }

  .breadcrumb-item+.breadcrumb-item {
    padding-left: 0.5rem;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s
ease;
}

.rounded {
    border-radius: 0.375rem !important;
}

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

.image-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex
;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s
ease;
    border-radius: 20px;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0.8rem 1.2rem !important;
    color: #333 !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.thumbnail-gallery {
    margin-top: 1rem;
}

.g-2, .gy-2 {
    --bs-gutter-y: 0.5rem;
}

.col-3 {
    flex: 0 0 auto;
    width: 25%;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #007bff;
    transform: scale(1.05);
}

.thumbnail {
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.product-info {
    padding-left: 2rem;
}
.product-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1.5rem;
}
.me-2 {
    margin-right: .5rem !important;
}

.product-category-detail .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-right: 0.5rem;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars {
    font-size: 1.2rem;
}

.product-rating .text-warning {
    color: #ffc107 !important;
}
.rating-score {
    font-size: 1.1rem;
    color: #007bff;
}
.fw-bold {
    font-weight: 700 !important;
}
.text-muted {
    --bs-text-opacity: 1;
    color: rgba(33, 37, 41, 0.75) !important;
}
.ms-2 {
    margin-left: .5rem !important;
}
.product-pricing {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}
.price-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.mt-2 {
    margin-top: .5rem !important;
}
.variant-selection {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.variant-options {
    display: grid;
    gap: 12px;
}

.variant-option {
    position: relative;
}

.variant-radio {
    display: none;
}

.variant-label {
    display: block;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.variant-label:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.15);
}

.variant-radio:checked + .variant-label {
    border-color: #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
    box-shadow: 0 4px 12px rgba(220,53,69,0.2);
}

.variant-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-name {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.variant-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.variant-price-sale {
    font-size: 1.2rem;
    color: #dc3545 !important;
}

.variant-price {
    font-size: 1.2rem;
    color: #007bff !important;
}

.variant-price-original {
    font-size: 1rem;
}

.variant-discount {
    font-size: 0.8rem;
    padding: 4px 8px;
}

.selected-price-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.price-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.current-price {
    color: #dc3545 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-size: 2.2rem;
    line-height: 1.2;
}

.original-price {
    color: #6c757d !important;
    font-size: 1.4rem;
    opacity: 0.8;
}

.discount-badge {
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

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

.price-note {
    background: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    border-left: 4px solid #dc3545;
}

@media (max-width: 768px) {
    .variant-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .variant-pricing {
        width: 100%;
        justify-content: space-between;
    }

    .current-price {
        font-size: 1.8rem;
    }

    .price-container {
        flex-direction: column;
        align-items: flex-start;
    }
}
.g-3, .gx-3 {
    --bs-gutter-x: 1rem;
}
@media (min-width: 768px) {
    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
}
@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}
.input-group {
    position: relative;
    display: flex
;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.quantity-selector .input-group {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}
.quantity-selector .btn {
    border: none;
    background: #f8f9fa;
    border-radius: 0;
}
.input-group .btn {
    position: relative;
    z-index: 2;
}
@media (pointer: coarse) {
    .btn, .filter-btn, .add-to-cart-btn, .contact-btn, .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
}
.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: var(--bs-border-width) solid #dee2e6;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.input-group>.form-control, .input-group>.form-floating, .input-group>.form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
.quantity-selector .form-control {
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}
.add-to-cart-main {
    font-size: 1.2rem !important;
    padding: 1rem 2rem !important;
    border-radius: 15px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.btn {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: var(--bs-btn-bg);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.preview-btn, .wishlist-btn {
    border-radius: 15px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}
.quick-add-btn, .preview-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
}
.preview-btn {
    color: #0d6efd;
    border: 1px solid #0d6efd;
    background: transparent;
}
.preview-btn:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

@media (max-width: 1000px) {
    .product-info {
        padding-left: 0;
    }
}
.g-3, .gy-3 {
    --bs-gutter-y: 1rem;
}
.product-meta {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}
.col-6 {
    flex: 0 0 auto;
    width: 50%;
}
.meta-item:last-child {
    margin-bottom: 0;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}
.meta-item i {
    font-size: 1.1rem;
}
.meta-content {
    display: flex;
    flex-direction: column;
}
.meta-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.2rem;
}
.meta-value {
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}
.text-success {
    --bs-text-opacity: 1;
    --bs-success-rgb: 25,135,84;
    color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}
.text-primary {
    --bs-text-opacity: 1;
    --bs-primary-rgb: 13,110,253;
    color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}
.text-info {
    --bs-text-opacity: 1;
    --bs-info-rgb: 13,202,240;
    color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important;
}
.text-warning {
    --bs-text-opacity: 1;
    --bs-warning-rgb: 255,193,7;
    color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;
}
.product-tabs {
    background: #f8f9fa;
}
.col-12 {
    flex: 0 0 auto;
    width: 100%;
}
.nav-pills {
    --bs-border-radius: 0.375rem;
    --bs-nav-pills-border-radius: var(--bs-border-radius);
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: #0d6efd;
}
.nav {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: var(--bs-link-color);
    --bs-nav-link-hover-color: var(--bs-link-hover-color);
    --bs-nav-link-disabled-color: var(--bs-secondary-color);
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.nav-justified .nav-item, .nav-justified>.nav-link {
    flex-basis: 0;
    flex-grow: 1;
    text-align: center;
}
.nav-pills .nav-link {
    border-radius: 15px !important;
    padding: 1rem 1.5rem !important;
    margin: 0 0.5rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}
.nav-pills .nav-link.active {
    background: #007bff !important;
    border-color: #007bff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3) !important;
}
.nav-pills .nav-link:hover {
    background: rgba(0, 123, 255, 0.1) !important;
    border-color: #007bff !important;
}
.nav-fill .nav-item .nav-link, .nav-justified .nav-item .nav-link {
    width: 100%;
}
.nav-link:hover, .nav-link.active, .navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #ffd700 !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}
.tab-content {
    padding: 2rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.tab-content>.tab-pane {
    display: none;
}
.fade {
    transition: opacity .15s linear;
}
.tab-content>.active {
    display: block;
}
.related-products {
    background: #f8f9fa;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-numbers li {
    padding: 10px 20px;
    margin: 0;
    border: 1px solid #0d6efd;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    &:hover {
        background-color: #0d6efd !important;
        color: #fff !important;
    }
    &.current {
        background-color: #0d6efd !important;
        color: #fff !important;
    }
}
