:root {
            --primary: #0A1F44;
            /*--secondary: #D4AF37;*/
            --neutral: #F5F5F5;
            --light-blue: #1A336B;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .categories-section {
            padding: 5rem 2rem;
            background: linear-gradient(135deg, var(--primary) 0%, #152A4E 100%);
            color: var(--secondary);
        }
        
        .section-header {
            text-align: center;
            max-width: 800px;
            margin: 0 auto 4rem;
        }
        
        .section-header h2 {
            font-size: clamp(2rem, 5vw, 2.8rem);
            margin-bottom: 1.5rem;
            color: var(--secondary);
        }
        
        .section-header p {
            font-size: clamp(1rem, 2vw, 1.2rem);
            line-height: 1.6;
            color: var(--neutral);
        }
        
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            max-width: 1300px;
            margin: 0 auto;
        }
        
        .category-card {
            /*background: linear-gradient(145deg, var(--light-blue) 0%, var(--primary) 100%);*/
            border-radius: 16px;
            padding: 2.5rem;
            transition: all 0.3s ease;
            border: 2px solid rgba(212, 175, 55, 0.2);
            display: flex;
            flex-direction: column;
            height: 100%;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
        }
        
        .category-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
            z-index: 1;
        }
        
        .category-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            border-color: var(--secondary);
        }
        
        .category-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
       /* First badge (regular) */
        .badge {
          background: linear-gradient(90deg, #D4AF37, #f5d76e);
          color: #0A1F44;
          font-size: 0.9rem;
          font-weight: bold;
          padding: 6px 14px;
          border-radius: 25px;
          display: inline-block;
          margin-bottom: 12px;
          box-shadow: 0 4px 12px rgba(0,0,0,0.25);
          letter-spacing: 0.5px;
          position: relative;
          overflow: hidden;
        }

        /* Container for top badges */
        .badge-container {
          display: flex;
          flex-wrap: wrap;
          gap: 10px;
          margin-bottom: 12px;
        }

        /* Subtle shine animation */
        .badge::after {
          content: "";
          position: absolute;
          top: 0;
          left: -40%;
          width: 40%;
          height: 100%;
          background: rgba(255, 255, 255, 0.4);
          transform: skewX(-25deg);
          animation: shine 3s infinite;
        }

        @keyframes shine {
          0% { left: -40%; }
          50% { left: 120%; }
          100% { left: 120%; }
        }

        /* Second badge (absolute over image) */
        .badge-absolute {
          position: absolute;
          top: 10px;
          right: 12px;
          background: linear-gradient(135deg, #ff416c, #ff4b2b); /* eye-catching pink-red */
          color: #fff;
          font-size: 0.85rem;
          font-weight: bold;
          padding: 6px 14px;
          border-radius: 20px;
          box-shadow: 0 6px 15px rgba(0,0,0,0.3);
          z-index: 5;
          animation: pulseBadge 2s infinite;
        }

        /* Pulse effect for attraction */
        @keyframes pulseBadge {
          0% { transform: scale(1); }
          50% { transform: scale(1.1); }
          100% { transform: scale(1); }
        }

        /* Make category icon relative so badge-absolute positions correctly */
        .category-icon {
          position: relative;
          width: 100%;
          height: 200px;
          border-radius: 12px;
          overflow: hidden;
          margin-bottom: 1.5rem;
        }

        
        .category-icon {
            width: 100%;
            height: 400px;         /* consistent height for all images */
            border-radius: 12px;   /* rounded edges for cleaner look */
            overflow: hidden;      /* hide overflow so images don’t spill out */
            margin-bottom: 1.5rem;
        }
        
        .category-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;     /* keeps aspect ratio, fills container */
            object-position: 50% 30%;
            display: block;
        }
        
        
        .category-card {
            display: flex;
            flex-direction: column;
            justify-content: space-between; /* balance top & bottom */
            padding: 2rem;
        }
        
        .category-card h3 {
            font-size: 1.6rem;
            margin: 1rem 0;
        }
        
        .category-card h3:after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--secondary);
            border-radius: 3px;
        }
        
        .category-card p {
            flex-grow: 1;         /* description takes remaining space */
            margin-bottom: 1rem;
            color: #fff;
        }
        
        .stats-container {
            display: flex;
            justify-content: space-between;
            margin-top: 1rem; /* Pushes the stats to the bottom */
            padding-top: 1.5rem;
            border-top: 1px solid rgba(212, 175, 55, 0.2);
        }
        
        .stat {
            text-align: center;
        }
        
        .stat-number {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--secondary);
            line-height: 1;
        }
        
        .stat-label {
            font-size: 0.9rem;
            color: var(--neutral);
            margin-top: 5px;
        }
        
        .cta-button {
            display: inline-block;
            background-color: var(--secondary);
            color: var(--primary);
            padding: 1rem 2rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            margin-top: 1.5rem;
            text-align: center;
        }
        
        .cta-button:hover {
            background-color: #c19b2a;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .categories-section {
                padding: 3rem 1rem;
            }

            .section-header h2 {
                font-size: 2.2rem;
            }
            
            .section-header p {
                font-size: 1.1rem;
            }
            
            .categories-grid {
                grid-template-columns: 1fr;
                gap: 1.8rem;
            }
            
            .category-card {
                padding: 2rem;
            }
            
            .category-icon {
                font-size: 2rem;
            }
            
            .stats-container {
                flex-wrap: wrap;
                gap: 1rem;
            }
            
            .stat {
                flex: 1 0 45%;
            }
        }