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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Electric Circuit Background */
.electric-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 144, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.circuit-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ffd700 20%, 
        #1e90ff 40%, 
        #ff6347 60%, 
        #32cd32 80%, 
        transparent 100%);
    height: 1px;
    animation: circuitFlow 4s infinite ease-in-out;
    box-shadow: 0 0 8px currentColor;
}

.circuit-line:nth-child(1) {
    top: 10%;
    left: -100%;
    width: 120%;
    animation-delay: 0s;
}

.circuit-line:nth-child(2) {
    top: 30%;
    left: -100%;
    width: 120%;
    animation-delay: 1s;
}

.circuit-line:nth-child(3) {
    top: 50%;
    left: -100%;
    width: 120%;
    animation-delay: 2s;
}

.circuit-line:nth-child(4) {
    top: 70%;
    left: -100%;
    width: 120%;
    animation-delay: 3s;
}

@keyframes circuitFlow {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

/* Electric Node Effects */
.electric-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffd700;
    border-radius: 50%;
    animation: nodeGlow 2s infinite alternate;
    box-shadow: 0 0 15px #ffd700;
}

@keyframes nodeGlow {
    0% { 
        opacity: 0.5; 
        transform: scale(1);
        box-shadow: 0 0 10px #ffd700;
    }
    100% { 
        opacity: 1; 
        transform: scale(1.2);
        box-shadow: 0 0 25px #ffd700, 0 0 35px #ffd700;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid #ffd700;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(255, 215, 0, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3c72;
    text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
    position: relative;
}

.logo::before {
    margin-right: 12px;
    color: #ffd700;
    animation: logoGlow 2s infinite ease-in-out;
    font-size: 2.8rem;
}

@keyframes logoGlow {
    0%, 100% { 
        text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
    }
    50% { 
        text-shadow: 0 0 20px #ffd700, 0 0 30px #ffd700, 0 0 40px #ffd700;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #1e3c72;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 10px 18px;
    border-radius: 30px;
    border: 2px solid transparent;
}

.nav-links a:hover {
    color: #fff;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border-color: #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.cart-icon {
    position: relative;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1e3c72;
    padding: 14px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: none !important; /* Ensure no transitions */
    box-shadow: none !important; /* Ensure no box-shadow */
    border: 2px solid transparent;
}

.cart-icon:hover {
    transform: none !important; /* Ensure no transforms on hover */
    box-shadow: none !important; /* Ensure no box-shadow on hover */
    border-color: transparent !important; /* Ensure no border-color on hover */
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6347;
    color: white;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(255, 99, 71, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, 
        rgba(30, 60, 114, 0.9) 0%, 
        rgba(42, 82, 152, 0.9) 50%, 
        rgba(255, 215, 0, 0.1) 100%);
    padding: 200px 0 140px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="hexagons" width="50" height="43.4" patternUnits="userSpaceOnUse"><polygon points="25,0 50,14.4 50,28.9 25,43.4 0,28.9 0,14.4" fill="none" stroke="%23ffd700" stroke-width="0.5" opacity="0.2"/></pattern></defs><rect width="1000" height="1000" fill="url(%23hexagons)"/></svg>');
    opacity: 0.4;
}

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

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    color: #fff;
    animation: heroTitle 3s ease-in-out infinite alternate;
    line-height: 1.2;
}

@keyframes heroTitle {
    0% { 
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    }
    100% { 
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

.hero .subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1e3c72;
    padding: 20px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    border: 3px solid transparent;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
    border-color: #fff;
}

/* Company Info */
.company-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 3px solid #ffd700;
    padding: 60px 40px;
    margin: 60px 0;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.3);
    position: relative;
}

.company-info::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ffd700, #1e90ff, #ff6347, #32cd32);
    border-radius: 30px;
    z-index: -1;
    animation: borderRotate 4s linear infinite; /* This animation will be disabled on mobile */
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.company-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.detail-card {
    padding: 40px 25px;
    border-radius: 25px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
    border: 2px solid #1e90ff;
    transition: all 0.4s ease; /* This transition will be disabled on mobile */
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 144, 255, 0.2), transparent);
    transition: left 0.6s; /* This transition will be disabled on mobile */
}

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

.detail-card:hover {
    transform: translateY(-15px) scale(1.02); /* This transform will be disabled on mobile */
    box-shadow: 0 20px 40px rgba(30, 144, 255, 0.3);
    border-color: #ffd700;
}

.detail-card h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(255, 215, 0, 0.3);
}

.detail-card p {
    color: #2a5298;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Product Categories */
.categories {
    padding: 100px 0;
}

.categories h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 3px solid #1e90ff;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 144, 255, 0.1), 
        rgba(255, 215, 0, 0.1), 
        rgba(255, 99, 71, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-20px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(30, 144, 255, 0.4);
    border-color: #ffd700;
}

.category-icon {
    font-size: 4.5rem;
    margin-bottom: 25px;
    display: block;
}

.category-card:nth-child(1) .category-icon { 
    color: #1e90ff; 
    text-shadow: 0 0 20px rgba(30, 144, 255, 0.5);
}
.category-card:nth-child(2) .category-icon { 
    color: #32cd32; 
    text-shadow: 0 0 20px rgba(50, 205, 50, 0.5);
}
.category-card:nth-child(3) .category-icon { 
    color: #ff6347; 
    text-shadow: 0 0 20px rgba(255, 99, 71, 0.5);
}
.category-card:nth-child(4) .category-icon { 
    color: #ffd700; 
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}
.category-card:nth-child(5) .category-icon { 
    color: #da70d6; 
    text-shadow: 0 0 20px rgba(218, 112, 214, 0.5);
}
.category-card:nth-child(6) .category-icon { 
    color: #ff4500; 
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

.category-card h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 1.6rem;
    text-shadow: 1px 1px 2px rgba(255, 215, 0, 0.3);
}

.category-card p {
    color: #2a5298;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Services Section Specific Styles */
.services {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 60px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.services h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border: 2px solid #ffd700;
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4);
    border-color: #1e90ff;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Section Specific Styles */
.contact {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 60px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 60px;
}

.contact-card {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border: 2px solid #1e90ff;
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 144, 255, 0.1);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 50px rgba(30, 144, 255, 0.4);
    border-color: #ffd700;
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 3px solid #ffd700;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container h3 {
    color: #1e3c72;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2a5298;
    font-size: 1.1rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #1e90ff;
    border-radius: 10px;
    background-color: rgba(30, 144, 255, 0.05);
    color: #1e3c72;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 8px rgba(30, 144, 255, 0.1);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #ffd700;
    outline: none;
    background-color: rgba(255, 215, 0, 0.05);
    box-shadow: inset 0 2px 10px rgba(255, 215, 0, 0.2), 0 0 15px rgba(255, 215, 0, 0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.send-message-btn {
    background: linear-gradient(45deg, #32cd32, #228b22);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(50, 205, 50, 0.3);
    border: 2px solid transparent;
}

.send-message-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(50, 205, 50, 0.5);
    background: linear-gradient(45deg, #228b22, #32cd32);
    border-color: #fff;
}

/* Product Showcase */
.products {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 3px solid #1e90ff;
    padding: 100px 0;
    margin: 60px 0;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(30, 144, 255, 0.3);
}

.products h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    color: #1e3c72;
    text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
    border: 2px solid #1e90ff;
    border-radius: 25px;
    padding: 30px;
    transition: none !important; /* Disable transitions */
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #1e90ff, #ffd700, #ff6347, #32cd32);
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: none !important; /* Disable transitions */
}

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

.product-card:hover {
    transform: none !important; /* Disable transform on hover */
    box-shadow: none !important; /* Disable box-shadow on hover */
}

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, 
        rgba(30, 144, 255, 0.1), 
        rgba(255, 215, 0, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    margin-bottom: 25px;
    border: 2px solid #1e90ff;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: none !important; /* Disable transitions */
}

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

.product-info h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px rgba(255, 215, 0, 0.3);
}

.product-specs {
    color: #2a5298;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.product-price {
    font-size: 1.6rem;
    font-weight: bold;
    color: #ff6347;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(255, 99, 71, 0.3);
}

.add-to-cart {
    background: linear-gradient(45deg, #1e90ff, #4169e1);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(30, 144, 255, 0.3);
}

.add-to-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.5);
    background: linear-gradient(45deg, #4169e1, #1e90ff);
}

/* Product Actions (for multiple buttons) */
.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.product-actions .add-to-cart,
.product-actions .view-details-btn {
    flex: 1;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: none !important; /* Disable transitions */
}

.view-details-btn {
    background: linear-gradient(45deg, #ffd700, #ffae00);
    color: #1e3c72;
    border: 2px solid #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.view-details-btn:hover {
    transform: none !important; /* Disable transform on hover */
    box-shadow: none !important; /* Disable box-shadow on hover */
    background: linear-gradient(45deg, #ffae00, #ffd700);
    border-color: #1e3c72;
}

/* Product Details Page Styles */
.product-details-section {
    padding: 120px 0;
    margin-top: 0;
}

.product-details-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 3px solid #1e90ff;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 15px 50px rgba(30, 144, 255, 0.3);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    transition: none !important; /* Disable transitions */
}

.product-details-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid #ffd700;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

.product-details-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-details-info {
    flex: 2;
    min-width: 350px;
}

.product-details-info h1 {
    font-size: 3.2rem;
    color: #1e3c72;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}

.category-tag {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1e3c72;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.product-description {
    font-size: 1.15rem;
    color: #2a5298;
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-price-details {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ff6347;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(255, 99, 71, 0.3);
}

.product-actions-details {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.add-to-cart-details,
.back-to-products-btn {
    flex: 1;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    text-align: center;
    display: block;
}

.add-to-cart-details {
    background: linear-gradient(45deg, #32cd32, #228b22);
    color: white;
    border: none;
    box-shadow: 0 8px 30px rgba(50, 205, 50, 0.3);
    border: 2px solid transparent;
}

.add-to-cart-details:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(50, 205, 50, 0.5);
    background: linear-gradient(45deg, #228b22, #32cd32);
    border-color: #fff;
}

.back-to-products-btn {
    background: linear-gradient(45deg, #1e90ff, #4169e1);
    color: white;
    border: none;
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.3);
    border: 2px solid transparent;
}

.back-to-products-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(30, 144, 255, 0.5);
    background: linear-gradient(45deg, #4169e1, #1e90ff);
    border-color: #fff;
}

@media (max-width: 992px) {
    .product-details-card {
        flex-direction: column;
        align-items: center;
        padding: 40px;
    }

    .product-details-image {
        min-width: unset;
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }

    .product-details-info {
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    .product-actions-details {
        flex-direction: column;
        gap: 15px;
    }
}

/* Checkout Page Styles */
.checkout-section {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 60px auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 900px;
}

.checkout-section h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.checkout-summary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #1e90ff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(30, 144, 255, 0.2);
    color: #eee;
}

.checkout-summary h3 {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cart-items-summary .summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
}

.checkout-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 3px solid #ffd700;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.checkout-form-container h3 {
    color: #1e3c72;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}

.checkout-form .form-group {
    margin-bottom: 25px;
}

.checkout-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2a5298;
    font-size: 1.1rem;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form textarea,
.checkout-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid #1e90ff;
    border-radius: 10px;
    background-color: rgba(30, 144, 255, 0.05);
    color: #1e3c72;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 8px rgba(30, 144, 255, 0.1);
}

.checkout-form input[type="text"]:focus,
.checkout-form input[type="email"]:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
    border-color: #ffd700;
    outline: none;
    background-color: rgba(255, 215, 0, 0.05);
    box-shadow: inset 0 2px 10px rgba(255, 215, 0, 0.2), 0 0 15px rgba(255, 215, 0, 0.3);
}

.checkout-form textarea {
    resize: vertical;
    min-height: 100px;
}

.place-order-btn {
    background: linear-gradient(45deg, #32cd32, #228b22);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(50, 205, 50, 0.3);
    border: 2px solid transparent;
}

.place-order-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(50, 205, 50, 0.5);
    background: linear-gradient(45deg, #228b22, #32cd32);
    border-color: #fff;
}

.back-to-products-btn,
.back-to-home-btn {
    display: inline-block;
    background: linear-gradient(45deg, #1e90ff, #4169e1);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(30, 144, 255, 0.3);
    border: 2px solid transparent;
}

.back-to-products-btn:hover,
.back-to-home-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(30, 144, 255, 0.5);
    background: linear-gradient(45deg, #4169e1, #1e90ff);
    border-color: #fff;
}

.success-message {
    color: #32cd32;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.error-message {
    color: #ff6347;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 80px 20px;
        margin: 40px auto;
    }

    .checkout-summary, .checkout-form-container {
        padding: 25px;
    }

    .checkout-section h2 {
        font-size: 2.8rem;
    }

    .checkout-summary h3, .checkout-form-container h3 {
        font-size: 1.8rem;
    }

    .summary-total {
        font-size: 1.3rem;
    }

    .place-order-btn, .back-to-products-btn, .back-to-home-btn {
        font-size: 1.1rem;
        padding: 15px 25px;
    }

    /* Disable animations for mobile on company info cards */
    .company-info::before {
        animation: none !important;
    }

    .detail-card {
        transition: none !important;
        transform: none !important;
    }

    .detail-card:hover {
        transform: none !important;
        box-shadow: none !important;
        border-color: transparent !important;
    }

    .detail-card::before {
        transition: none !important;
    }

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

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
}

.cart-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 3px solid #ffd700;
    width: 90%;
    max-width: 700px;
    margin: 50px auto;
    border-radius: 30px;
    padding: 50px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 3px solid #1e90ff;
    padding-bottom: 25px;
}

.cart-header h2 {
    color: #1e3c72;
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}

.close-cart {
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #ff6347;
    transition: all 0.3s ease;
    padding: 5px;
}

.close-cart:hover {
    color: #ff4500;
    text-shadow: 0 0 15px #ff4500;
    transform: scale(1.2);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 2px solid rgba(30, 144, 255, 0.2);
    margin-bottom: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.05), rgba(255, 215, 0, 0.05));
}

.cart-total {
    text-align: right;
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e3c72;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 3px solid #ffd700;
    text-shadow: 1px 1px 2px rgba(255, 215, 0, 0.3);
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1e3c72;
    border: none;
    padding: 20px;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    border: 3px solid transparent;
}

.checkout-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.6);
    border-color: #1e3c72;
}

/* Footer */
.footer {
    background: rgba(30, 60, 114, 0.98);
    backdrop-filter: blur(20px);
    border-top: 3px solid #ffd700;
    color: white;
    padding: 80px 0 40px;
    text-align: center;
    box-shadow: 0 -15px 40px rgba(255, 215, 0, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 50px;
}

.footer-section h3 {
    margin-bottom: 25px;
    color: #ffd700;
    font-size: 1.6rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    line-height: 1.8;
    font-size: 1.1rem;
}

.footer-section a:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.4rem;
    }

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

    .categories h2, .products h2 {
        font-size: 2.8rem;
    }

    .logo {
        font-size: 2rem;
    }

    .logo::before {
        animation: none !important; /* Disable logo glow animation on mobile */
    }

    .category-grid, .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Navigation Styles */
.mobile-nav-toggle {
    display: none; /* Hidden by default on large screens */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1e3c72;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide regular nav links */
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 80px); /* Restrict height to viewport minus header */
        overflow-y: auto; /* Enable scrolling for long menus */
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        justify-content: center;
        align-items: center;
        padding-top: 0; /* Remove top padding as 'top' property handles position */
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
        display: flex; /* Make it visible when active */
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.8rem;
        color: #fff;
        padding: 15px 30px;
        border-color: #ffd700;
    }

    .nav-links a:hover {
        background: rgba(255, 215, 0, 0.2);
        color: #ffd700;
    }

    .mobile-nav-toggle {
        display: flex; /* Show hamburger icon */
    }

    .cart-icon {
        margin-left: auto; /* Push cart icon to the right when nav links are hidden */
        transition: none !important; /* Remove transition */
        box-shadow: none !important; /* Remove box-shadow */
        transform: none !important; /* Remove transform */
    }

    .cart-icon:hover {
        transform: none !important; /* Remove transform on hover */
        box-shadow: none !important; /* Remove box-shadow on hover */
        border-color: transparent !important; /* Remove border-color on hover */
    }

    .nav {
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: center; /* Center items on small screens */
    }

    .nav .logo {
        width: 100%; /* Make logo take full width */
        text-align: center; /* Center the logo */
        margin: 0 auto 15px auto;
        padding-left: 40px; /* Add padding to move it away from the hamburger icon */
    }

    .nav .logo img {
        height: 60px; /* Smaller logo on mobile */
    }

    .mobile-nav-toggle {
        order: -1; /* Place hamburger before logo/cart */
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .cart-icon {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0; /* Remove auto-margin */
    }
}

@media (max-width: 480px) {
    .header .logo img {
        height: 50px; /* Even smaller logo on very small screens */
    }

    .cart-icon {
        padding: 8px 15px;
        font-size: 0.8rem;
        transition: none !important; /* Remove transition */
        box-shadow: none !important; /* Remove box-shadow */
        transform: none !important; /* Remove transform */
    }

    .cart-icon:hover {
        transform: none !important; /* Remove transform on hover */
        box-shadow: none !important; /* Remove box-shadow on hover */
        border-color: transparent !important; /* Remove border-color on hover */
    }

    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }

    /* Disable animations for mobile to improve performance */
    .circuit-line,
    .electric-node {
        animation: none !important;
    }
}

/* Enhanced Animations */
.pulse-animation {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    }
}

.slide-in-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.slide-in-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Admin Order Management Styles */
.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.orders-table th,
.orders-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    color: #333;
}

.orders-table th {
    background-color: #1e3c72;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.orders-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.orders-table tr:hover {
    background-color: #e9e9e9;
}

.status-pending {
    color: #ffc107;
    font-weight: bold;
}

.status-processing {
    color: #17a2b8;
    font-weight: bold;
}

.status-completed {
    color: #28a745;
    font-weight: bold;
}

.status-cancelled {
    color: #dc3545;
    font-weight: bold;
}

.order-details-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.order-details-btn:hover {
    background-color: #0056b3;
}

.admin-sidebar ul li a {
    display: block;
    padding: 12px 20px;
    color: #ecf0f1;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-left: 5px solid transparent;
}

.admin-sidebar ul li a:hover,
.admin-sidebar ul li a.active {
    background-color: #2c3e50;
    border-left-color: #ffd700;
    color: #ffd700;
}

.admin-sidebar {
    width: 250px;
    background-color: #34495e;
    color: white;
    padding-top: 30px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    display: flex; /* Make sidebar a flex container */
    flex-direction: column; /* Stack children vertically */
}

.admin-sidebar h2 {
    text-align: center;
    color: #ffd700;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.admin-sidebar ul {
    list-style: none;
    padding: 0;
    flex-grow: 1; /* Allow the list to grow and push logout to bottom */
}

.admin-logo {
    text-align: center;
    margin-bottom: 30px;
}

.admin-logo img {
    max-height: 80px;
    width: auto;
}

.admin-main-content {
    margin-left: 250px; /* Adjust for fixed sidebar width */
    padding: 40px;
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.9);
    min-height: 100vh; /* Ensure content area takes full height */
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    position: relative; /* For the yellow line fix */
}

.admin-header {
    border-bottom: 3px solid #ffd700; /* Add bottom border to header */
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.admin-header h1 {
    color: #1e3c72;
    font-size: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Admin Order Details Styles */
.order-details-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.order-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to start for multi-line address */
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #eee;
}

.order-detail-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.order-detail-item p {
    margin: 0; /* Remove default paragraph margins */
    font-size: 1.1rem;
    color: #555;
}

.order-detail-item p:first-child {
    font-weight: bold;
    color: #333;
    min-width: 150px; /* Ensure labels have enough space */
}

.order-detail-item p:last-child {
    text-align: right; /* Align values to the right */
    flex-grow: 1;
}

.order-details-card h3 {
    color: #1e3c72;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 10px;
}

.order-details-card p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
}

.order-details-card p strong {
    color: #333;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #f9f9f9; /* Consistent with orders-table */
    border-radius: 8px; /* Consistent with orders-table */
    overflow: hidden; /* Ensure rounded corners */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Subtle shadow */
}

.order-items-table th,
.order-items-table td {
    padding: 12px 15px; /* Increase padding for readability */
    border: 1px solid #ddd;
    text-align: left;
    color: #333;
}

.order-items-table th {
    background-color: #e0e0e0; /* Lighter header for items table */
    color: #1e3c72; /* Darker text for headers */
    font-weight: bold;
    text-transform: uppercase;
}

.order-items-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.order-items-table tr:hover {
    background-color: #e6f3ff; /* Light blue hover for clarity */
}

.back-to-orders-btn {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.back-to-orders-btn:hover {
    background-color: #5a6268;
}

/* Admin Panel General Layout Adjustments */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72, #2a5298); /* Ensure consistent background */
}

/* Responsive adjustments for admin panel */
@media (max-width: 992px) {
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        padding-top: 20px;
        border-bottom: 3px solid #ffd700;
        flex-direction: row; /* Make sidebar horizontal */
        justify-content: center; /* Center items in horizontal layout */
        align-items: center;
        flex-wrap: wrap; /* Allow items to wrap */
    }

    .admin-logo {
        margin-bottom: 20px; /* Adjust margin for horizontal layout */
    }

    .admin-sidebar h2 {
        display: none; /* Hide H2 when logo is present */
    }

    .admin-sidebar ul {
        flex-direction: row; /* Keep list horizontal for small screens */
        justify-content: center; /* Center nav items */
        flex-wrap: wrap;
        flex-grow: unset; /* Remove flex-grow in horizontal mode */
    }

    .admin-sidebar ul li {
        margin-bottom: 10px;
        margin-right: 10px; /* Add some spacing between horizontal items */
    }

    .admin-sidebar ul li:last-child {
        margin-right: 0;
    }

    .admin-sidebar ul li a {
        border-left: none;
        border-bottom: 3px solid transparent; /* Highlight active with bottom border */
    }

    .admin-sidebar ul li a:hover, .admin-sidebar ul li a.active {
        border-left-color: transparent;
        border-bottom-color: #ffd700;
    }

    .logout-btn {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .admin-main-content {
        margin-left: 0; /* No margin when sidebar is at the top */
        padding: 30px 20px;
    }

    .main-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .admin-sidebar ul {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .admin-sidebar ul li {
        flex: 0 0 auto;
    }

    .admin-sidebar ul::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
    .admin-sidebar {
        padding-top: 15px;
    }

    .admin-logo {
        margin-bottom: 15px;
    }

    .admin-logo img {
        height: 60px; /* Smaller logo on very small screens */
    }

    .admin-sidebar ul {
        gap: 5px;
        padding: 0 5px;
    }

    .admin-sidebar ul li a {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .logout-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .admin-main-content h1 {
        font-size: 1.8rem;
        padding-bottom: 15px;
        margin-bottom: 20px;
    }

    .admin-card {
        padding: 15px;
    }

    .admin-card h2 {
        font-size: 1.3rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input[type="text"], .form-group input[type="number"], .form-group textarea, .form-group select, .form-group input[type="file"] {
        padding: 10px;
        font-size: 0.9rem;
    }

    .form-group input[type="submit"] {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .product-table, .category-table, .orders-table, .order-items-table {
        min-width: 500px;
    }

    .product-table th, .product-table td, .category-table th, .category-table td, .orders-table th, .orders-table td, .order-items-table th, .order-items-table td {
        padding: 8px;
        font-size: 0.8rem;
    }

    .order-details-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .order-details-card h3 {
        font-size: 1.3rem;
    }

    .order-details-card p {
        font-size: 0.85rem;
    }

    .back-to-orders-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}
