
    :root {
      --primary: #1e293b;
      --accent: #3b82f6;
      --text: #f8fafc;
      --subtext: #94a3b8;
      --bg: #0f172a;
      --card-bg: #1e293b;
    }

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

    body {
      font-family: 'Roboto', sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
    }

    header {
      background: var(--primary);
      padding: 1rem 2rem;
      display: flex;
      width: 100%;
      position:fixed;
      justify-content: space-between;
      align-items: center;
      z-index: 999;
    }

    .logo {
      display: flex;
      align-items: center;
    }

    .logo img {
      height: 40px;
      margin-right: 10px;
    }

    nav a {
      color: var(--text);
      margin-left: 1.5rem;
      text-decoration: none;
      font-weight: 500;
    }
    nav a:hover {
      color: var(--accent);
    }
    .header{
        padding-top: 5rem;
    }
    .header h1, p{
        
        text-align: center;
    }
    /* hero starts  */
    .category-section {
            margin: 30px;
        }

        .category-header {
            background: var(--primary);
            color: white;
            padding: 15px 25px;
            margin-bottom: 25px;
            font-size: 1.3rem;
            font-weight: bold;
            letter-spacing: 1px;
            text-transform: uppercase;
            box-shadow: 0 5px 15px rgba(33, 30, 196, 0.3);
        }

        .equipment-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2px;
            margin-bottom: 40px;
        }

        .equipment-item {
            /* background: white; */
            width: auto;
            border-radius: 12px;
            padding: 10px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .equipment-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .equipment-item:hover::before {
            transform: scaleX(1);
        }

        .equipment-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
            border-color: #667eea;
        }

        .equipment-image {
            width: 120px;
            height: 80px;
            /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
            border-radius: 8px;
            margin: 0 auto 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        .equipment-image img{
            width: 20rem;
            height: 10rem;
            padding: 2rem 0 2rem 0;

        }

        .equipment-item:hover .equipment-image {
            /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
            border-color: #667eea;
        }

        .equipment-image::after {
            content: '';
            font-size: 2rem;
            opacity: 0.6;
            transition: all 0.3s ease;
        }

        .equipment-item:hover .equipment-image::after {
            color: white;
            opacity: 1;
            transform: scale(1.1);
        }

        .equipment-name {
            font-weight: bold;
            font-size: 1.1rem;
            color: #f8f8f8;
            margin-bottom: 8px;
            transition: color 0.3s ease;
        }

        .equipment-item:hover .equipment-name {
            color: #667eea;
        }

        .equipment-model {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 12px;
        }

        .equipment-status {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .status-available {
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            color: white;
        }

        .status-rented {
            background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
            color: #212529;
        }

        .status-maintenance {
            background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
            color: white;
        }

        .divider {
            height: 3px;
            background: linear-gradient(135deg, #8e95d6 0%, transparent 50%, #040fb191 100%);
            margin: 0 20px;
            border-radius: 2px;
        }


    @media (max-width: 768px) {
         .equipment-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2px;
            margin-bottom: 40px;
        }

    
        }
        @media (max-width: 600px){
            .equipment-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2px;
            margin-bottom: 40px;
        }
        }
        @media (max-width: 425px){
            .equipment-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2px;
            margin-bottom: 40px;
        }
        }
         @media (max-width: 425px){
            header{
                display: flex;
                flex-wrap: wrap;
                flex-direction: row;
            }
            header img{
                width: 11rem;
            }
         }